/* ===========================
   THEME STYLES - RODRIGHERO
   =========================== */

/* Header */
header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #34495e 100%);
  color: white;
  padding: var(--spacing-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.logo-text {
  font-size: 1rem;
  line-height: 1.2;
}

/* Navegação */
nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: white;
  font-weight: 500;
  transition: var(--transition-base);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: var(--spacing-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

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

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

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

.services h2 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.service-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
}

.service-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.testimonial-card {
  background: var(--color-lighter);
  padding: var(--spacing-lg);
  border-radius: 0.75rem;
  border-left: 4px solid var(--color-secondary);
  position: relative;
}

.testimonial-quote {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

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

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

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: white;
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

/* Footer */
footer {
  background: var(--color-primary);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

footer h4 {
  color: white;
  margin-bottom: var(--spacing-md);
}

footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-sm);
}

footer a {
  color: var(--color-highlight);
}

footer a:hover {
  color: white;
}

.footer-section {
  margin-bottom: var(--spacing-lg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-md);
    width: 100%;
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: var(--spacing-sm) 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero {
    margin-top: 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  footer .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
}
