:root {
  --primary: #A0B070;
  --primary-dark: #6B8B3F;
  --primary-light: #C5D197;
  --primary-bg: #f4f7ec;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #ffffff;
  --bg-soft: #f8faf4;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: .78rem;
  margin-bottom: .65rem;
}

section { padding: 5rem 0; scroll-margin-top: 80px; }

.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
  box-shadow: 0 8px 20px rgba(107,139,63,.25);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107,139,63,.35);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  padding: .75rem 1.85rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
}

/* ─────────── NAVBAR ─────────── */
.navbar-custom {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  padding: .85rem 0;
  transition: all .25s ease;
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  z-index: 1000;
}
.navbar-custom.scrolled {
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  padding: .6rem 0;
}
.navbar-custom .navbar-brand img { height: 48px; }
.navbar-custom .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 .5rem;
  position: relative;
}
.navbar-custom .nav-link::after {
  content:''; position: absolute; bottom: -4px; left: 50%;
  width: 0; height: 2px; background: var(--primary); transition: all .25s ease;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
  color: var(--primary-dark);
}
.navbar-custom .nav-link:hover::after, .navbar-custom .nav-link.active::after {
  width: 100%; left: 0;
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ─────────── HERO ─────────── */
.hero {
  padding: 10rem 0 6rem;
  background:
    linear-gradient(120deg, rgba(107,139,63,.88) 0%, rgba(160,176,112,.82) 100%),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.15) 0%, transparent 40%);
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: #f7ffd4; }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 620px;
  opacity: .95;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  padding: .4rem 1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ─────────── SOBRE ─────────── */
.about-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.about-img-wrap img { width: 100%; height: auto; display: block; }
.about-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: #fff; padding: 1rem 1.25rem;
  border-radius: .75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.about-badge .num { font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.about-badge .lbl { font-size: .82rem; color: var(--text-muted); }

.about-features li {
  list-style: none;
  display: flex; align-items: flex-start; gap: .8rem;
  margin-bottom: .85rem;
  color: var(--text-dark);
}
.about-features li i {
  color: var(--primary-dark);
  background: var(--primary-bg);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─────────── SERVIÇOS ─────────── */
.service-section { background: var(--bg-soft); }
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: 0 18px 40px rgba(107,139,63,.14);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 22px rgba(107,139,63,.28);
}
.service-card h4 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p  { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ─────────── PRODUTOS ─────────── */
.product-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover img { transform: scale(1.07); }
.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,50,10,.88) 0%, rgba(27,50,10,.15) 55%, transparent 100%);
  display: flex; align-items: flex-end;
  padding: 1.4rem;
  color: #fff;
}
.product-overlay h5 { color: #fff; margin: 0 0 .25rem; font-size: 1.15rem; }
.product-overlay span { font-size: .85rem; opacity: .85; }

/* ─────────── STATS ─────────── */
.stats-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 4rem 0;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-item .lbl {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .12em;
  opacity: .92;
}

/* ─────────── DEPOIMENTOS ─────────── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -12px; left: 18px;
  font-size: 4.5rem;
  color: var(--primary);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card p { color: var(--text-dark); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-author .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-author .name { font-weight: 600; margin: 0; line-height: 1.1; }
.testimonial-author .role { font-size: .82rem; color: var(--text-muted); }

/* ─────────── CONTATO ─────────── */
.contact-section { background: var(--bg-soft); }
.contact-info-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border);
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-info-item i {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin: 0 0 .25rem; font-weight: 600; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--text-dark); text-decoration: none; }
.contact-info-item a:hover { color: var(--primary-dark); }

.contact-form .form-control {
  border: 1.5px solid var(--border);
  border-radius: .6rem;
  padding: .8rem 1rem;
  font-size: .95rem;
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(160,176,112,.18);
}
.contact-form label { font-weight: 500; margin-bottom: .3rem; font-size: .9rem; }

.map-wrap { border-radius: 1rem; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ─────────── FOOTER ─────────── */
footer {
  background: #1b2506;
  color: #d1d5db;
  padding: 3rem 0 1.2rem;
}
footer h6 {
  color: #fff;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
footer a { color: #d1d5db; text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--primary-light); }
footer .footer-brand img { height: 54px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: .5rem; }
footer .socials { display: flex; gap: .6rem; margin-top: .8rem; }
footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
footer .socials a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.2rem;
  margin-top: 2.5rem;
  font-size: .85rem;
  color: #9ca3af;
  text-align: center;
}

/* ─────────── TOAST ─────────── */
.toast-box {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  box-shadow: 0 14px 38px rgba(0,0,0,.18);
  z-index: 2000;
  min-width: 280px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
}
.toast-box.show { opacity: 1; transform: translateY(0); }
.toast-box.error { border-left-color: #dc2626; }
.toast-box p { margin: 0; font-size: .92rem; color: var(--text-dark); }

/* ─────────── WHATSAPP FAB ─────────── */
.wa-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 1.65rem;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); color: #fff; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 8rem 0 4rem; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .section-title { font-size: 1.8rem; }
  .navbar-custom .nav-link { margin: .3rem 0; }
}
