/* ===================================
   THEME.CSS - Paleta e Tema Visual
   =================================== */

:root {
  /* Paleta de Cores Harmônica */
  --primary-color: #2c5aa0;
  --primary-rgb: 44, 90, 160;
  --secondary-color: #e8a537;
  --accent-color: #d63031;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  
  /* Cores de Fundo */
  --bg-color: #ffffff;
  --bg-alt-color: #f8f9fa;
  --bg-dark: #1a1a1a;
  
  /* Cores de Texto */
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --text-lighter: #95a5a6;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  --gradient-secondary: linear-gradient(135deg, #e8a537 0%, #d68a2a 100%);
  --gradient-accent: linear-gradient(135deg, #d63031 0%, #a02020 100%);
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

nav a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.25rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  margin: 0 0.5rem;
}

/* Services Section */
.services {
  background-color: var(--bg-alt-color);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.service-card {
  background-color: white;
  border-left: 4px solid var(--secondary-color);
}

.service-card:hover {
  border-left-color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.testimonial {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: var(--gradient-secondary);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #bdc3c7;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.8;
}

.about-sidebar {
  background-color: var(--bg-alt-color);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.about-sidebar h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}

.about-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-value {
  color: var(--text-color);
  margin-top: 0.25rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  border-color: #ddd;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Success Message */
.success-message {
  background-color: var(--success-color);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.error-message {
  background-color: var(--danger-color);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav a {
    padding: 0.75rem 0;
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta {
    padding: 40px 0;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}
