:root {
  /* Novas cores em tons de verde musgo */
  --primary: #52744B;
  --primary-600: #45633F;
  --primary-700: #395234;
  --accent: #B8860B; /* Tom dourado que combina com verde musgo */
  
  /* Cores de texto e fundo mantidas para contraste */
  --text: #1e293b;
  --muted: #64748b;
  --light: #f8fafc;
  --bg: #ffffff;
  --card: #ffffff;
  
  /* Anel e sombra atualizados com a nova cor primária */
  --ring: rgba(82, 116, 75, 0.15);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --radius: 12px;
}

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body { 
  height: 100%;
  scroll-behavior: smooth;
}

body { 
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { 
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img { 
  max-width: 100%;
  height: auto;
  display: block;
}

.container { 
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn { 
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn-primary { 
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { 
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline { 
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover { 
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.badge { 
  font-size: 0.8rem;
  background: rgba(82, 116, 75, 0.1); /* Atualizado com a nova cor primária */
  color: var(--primary);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
}

.card { 
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.grid { 
  display: grid;
  gap: 1.5rem;
}

.section { 
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { 
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  font-size: 1.4rem;
}

.logo svg { 
  width: 32px;
  height: 32px;
}

nav { 
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a { 
  font-weight: 500;
  color: var(--text);
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

nav a:hover:after {
  width: 100%;
}

.mobile-toggle { 
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  /* Gradiente atualizado com as novas cores */
  background: linear-gradient(135deg, rgba(82, 116, 75, 0.03) 0%, rgba(255,255,255,1) 100%);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(82, 116, 75, 0.05); /* Atualizado com a nova cor primária */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-image:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.1;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  background: var(--light);
}

/* Services */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.features-list li:before {
  content: '✓';
  color: var(--accent); /* Mantido com a cor de destaque */
  font-weight: bold;
}

/* CTA Banner */
.cta-banner {
  /* Gradiente atualizado com as novas cores */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-banner h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: var(--light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 300px;
}

/* Blog */
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

/* Contact */
.contact-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-heading {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  animation: pulse 2s infinite;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #25D366; /* Mantido o verde oficial do WhatsApp */
  color: white;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 1.5rem;
  }

  nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .hero-cta,
  .cta-banner-buttons {
    flex-direction: column;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
