/* ---------- Fontes (hospedadas localmente) ---------- */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("assets/fonts/montserrat-800.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --green-950: #0f1a07;
  --green-900: #1a2e0c;
  --green-800: #2b4a12;
  --green-700: #3f6212;
  --lime-600: #65a30d;
  --lime-500: #84cc16;
  --lime-400: #a3e635;
  --lime-50:  #f5fbe9;
  --ink: #1c1f1a;
  --muted: #5d6458;
  --line: #e4e8df;
  --bg: #fbfcf9;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 8, .06), 0 8px 24px rgba(16, 24, 8, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 8, .06), 0 20px 48px rgba(16, 24, 8, .12);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime-600);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--green-950); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lime-400); outline-offset: 3px; }
.btn-primary { background: var(--lime-500); color: var(--green-950); box-shadow: 0 8px 24px rgba(132, 204, 22, .35); }
.btn-primary:hover { background: var(--lime-400); }
.btn-ghost { background: var(--white); color: var(--green-900); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #cfe6a8; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 54px; width: auto; }

.nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--green-900); opacity: .85; }
.nav a:hover { opacity: 1; }
.nav .btn { padding: 10px 22px; color: var(--green-950) !important; opacity: 1; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-900); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(620px, 92vh, 860px); display: flex; align-items: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(700px 420px at 15% 10%, rgba(163,230,53,.28), transparent 70%),
    radial-gradient(800px 500px at 90% 90%, rgba(101,163,13,.18), transparent 70%),
    linear-gradient(180deg, #f3fae4 0%, #fbfcf9 100%);
}
/* grade sutil de pontos, lembrando o logo */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(63,98,18,.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero .container { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero-content { max-width: 820px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid #d9ebb8; box-shadow: var(--shadow);
  color: var(--green-700); font-size: .85rem; font-weight: 700; margin-bottom: 28px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px rgba(132,204,22,.2); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; color: var(--green-950); margin-bottom: 22px; letter-spacing: -.03em; }
.hero h1 span {
  color: var(--green-700);
  background: linear-gradient(transparent 62%, rgba(163,230,53,.55) 62%, rgba(163,230,53,.55) 92%, transparent 92%);
  padding: 0 .08em;
}
.hero p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; margin: 0 auto 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.stats {
  display: inline-grid; grid-template-columns: repeat(3, auto); gap: 0;
  margin-top: 64px; padding: 20px 8px; border-radius: 20px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.stats > div { padding: 0 36px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--green-800); line-height: 1.2; }
.stats span { font-size: .85rem; color: var(--muted); }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe6a8; }
.icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--lime-50); color: var(--green-700);
}
.icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--green-950); }
.card > p { color: var(--muted); font-size: .96rem; }
.card ul { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.card li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--lime-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6212' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Sobre ---------- */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--green-950); }
.about p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--lime-600); }
.about-img { position: relative; width: 100%; max-width: 420px; justify-self: end; }
.about-img img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow-lg); }
.about-img .float {
  position: absolute; left: -28px; bottom: 32px;
  background: var(--green-900); color: var(--white);
  padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.about-img .float strong { display: block; font-size: 1.8rem; color: var(--lime-400); line-height: 1; }
.about-img .float span { font-size: .85rem; opacity: .85; }

/* ---------- Contato ---------- */
.contact { background: linear-gradient(160deg, var(--green-950), var(--green-800)); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.contact .lead { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a {
  display: flex; gap: 16px; align-items: center; text-decoration: none;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background-color .2s ease;
}
.contact-list a:hover { background: rgba(255,255,255,.12); }
.contact-list .icon { margin: 0; width: 44px; height: 44px; background: rgba(163,230,53,.15); color: var(--lime-400); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .78rem; opacity: .7; }
.contact-list b { font-weight: 600; }

.form {
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 1.3rem; color: var(--green-950); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime-600); background: var(--white); box-shadow: 0 0 0 4px rgba(132,204,22,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 4px 0 22px; }
.consent input { margin-top: 3px; accent-color: var(--lime-600); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--green-700); font-weight: 600; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--lime-600); }
.form-status.err { color: #c62828; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer img { height: 56px; width: auto; margin-bottom: 12px; }
.footer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime-400); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ---------- Página de privacidade ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-950), var(--green-800)); color: var(--white); padding: 150px 0 64px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.75); margin: 0; }
.legal { max-width: 780px; padding: 64px 24px 96px; }
.legal h2 { font-size: 1.3rem; color: var(--green-950); margin-top: 2.2em; }
.legal p, .legal li { color: #3a4036; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--green-700); font-weight: 600; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--lime-400); text-decoration: none; font-weight: 600; margin-bottom: 20px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { max-width: 460px; margin: 0 auto; }
  .about-img .float { left: 16px; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 12px 24px 24px; align-items: stretch; }
  .nav li a { display: block; padding: 14px 0; color: var(--green-900); border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border: 0; margin-top: 16px; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; padding: 16px 0; }
  .stats > div { padding: 0 6px; }
  .stats span { font-size: .74rem; }
  .checks, .row { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
}
