/* ==========================================================
   Agroteste — Ciência que transforma o campo
   ========================================================== */
:root {
  --ink: #00221A;
  --forest: #002E23;
  --pine: #085E4C;
  --leaf: #00BF63;
  --lime: #28CD7D;
  --paper: #F3F6F1;
  --paper-2: #E6EEE7;
  --text-dark: #0B2A21;
  --muted-dark: #4E6B61;
  --text-light: #EAF5EF;
  --muted-light: #9FBFB2;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text-light);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 18ch; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
p { margin: 0; }

.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 18px;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 52ch; margin-top: 22px; color: var(--muted-light); }
.light { background: var(--paper); color: var(--text-dark); }
.light .lead { color: var(--muted-dark); }
.light .eyebrow { color: var(--pine); }
section { position: relative; }
.muted { color: var(--muted-light); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--leaf); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { background: var(--lime); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--text-light); box-shadow: inset 0 0 0 1.5px rgba(234,245,239,.35); }
.btn-ghost:hover { background: rgba(234,245,239,.08); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.site-header.is-solid { background: rgba(0,34,26,.82); backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 600; }

/* ---------- seletor de idioma (bandeirinhas) ---------- */
.lang { display: flex; align-items: center; gap: 8px; margin-left: 22px; }
.lang button {
  all: unset; cursor: pointer; display: block; width: 28px; height: 20px; border-radius: 4px; overflow: hidden;
  opacity: .45; box-shadow: 0 0 0 1.5px rgba(234,245,239,.25); transition: opacity .25s, box-shadow .25s, transform .25s;
}
.lang button:hover { opacity: .85; transform: translateY(-1px); }
.lang button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--lime); }
.lang button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.lang svg { display: block; width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav a:not(.btn) { text-decoration: none; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--lime); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text-light); margin: 7px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- sticky base ---------- */
[data-sticky] .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ==========================================================
   1. INTRO
   ========================================================== */
.intro { height: 720vh; background: var(--ink); }
.intro-bg {
  position: absolute; inset: -2%;
  background-size: cover; background-position: 30% 60%;
  transform: scale(calc(1.02 + var(--p, 0) * .35));
  filter: brightness(calc(1 - var(--p, 0) * 1.4)) saturate(1.1);
  will-change: transform, filter;
}
.intro-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 60%, transparent 0%, rgba(0,34,26,.35) 55%, rgba(0,34,26,.9) 100%),
    linear-gradient(180deg, rgba(0,34,26,.55) 0%, transparent 30%, transparent 70%, rgba(0,34,26,.8) 100%);
}
.net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-steps { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; }
.step {
  grid-area: 1 / 1; text-align: center; max-width: 1000px;
  opacity: 0; transform: translateY(30px); will-change: opacity, transform;
}
.step-hero { text-align: left; justify-self: start; max-width: none; padding-top: 6vh; }
.step-hero h1 { font-size: clamp(2.5rem, 5.4vw, 6.4rem); line-height: 1.04; letter-spacing: -0.035em; text-shadow: 0 2px 6px rgba(0,34,26,.65), 0 6px 40px rgba(0,34,26,.75); }
.step-hero h1 em { font-style: normal; color: var(--lime); }
.kicker { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--text-light); opacity: .85; margin-bottom: 26px; }
.scroll-hint { margin-top: 48px; display: flex; align-items: center; gap: 14px; font-size: .85rem; font-weight: 600; opacity: .8; }
.scroll-hint span { width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px; position: relative; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--lime); border-radius: 2px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.statement { font-size: clamp(1.8rem, 4.4vw, 3.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.statement.small { font-size: clamp(1.3rem, 2.8vw, 2.4rem); font-weight: 600; }
.statement mark { background: none; color: var(--lime); }
.trio { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .35em; }
.trio li {
  font-size: clamp(2.6rem, 7.5vw, 6.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1.5px rgba(234,245,239,.5);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.trio li.is-on { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.final-logo { width: min(560px, 80vw); margin: 18px auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.4)); }

.intro-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 2px; background: rgba(234,245,239,.15); }
.intro-progress span { display: block; height: 100%; width: 100%; background: var(--leaf); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================
   2. SOBRE
   ========================================================== */
.sobre { padding: clamp(90px, 14vw, 180px) 0; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.years { display: flex; flex-direction: column; }
.years-pre { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--pine); letter-spacing: -0.01em; margin-bottom: 6px; }
.years-num {
  font-size: clamp(9rem, 22vw, 19rem); font-weight: 800; line-height: .8; letter-spacing: -0.06em;
  background: linear-gradient(160deg, var(--leaf), var(--pine)); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.years-label { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-top: 18px; color: var(--pine); }
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillars li { border-top: 2px solid var(--leaf); padding-top: 14px; }
.pillars b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.pillars span { font-size: .9rem; color: var(--muted-dark); }

/* ==========================================================
   3. HISTÓRIA
   ========================================================== */
.historia { padding: clamp(90px, 12vw, 150px) 0; background: var(--forest); }
.hist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hist-visual { position: relative; height: min(70vh, 600px); }
.hist-years { position: absolute; left: 24px; bottom: 18px; z-index: 2; pointer-events: none; }
.hist-years span {
  position: absolute; left: 0; bottom: 0; white-space: nowrap;
  font-size: clamp(4.5rem, 10vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  color: var(--lime); opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease);
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hist-years span.is-on { opacity: 1; transform: none; }
.hist-photos { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.hist-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.hist-photos img.is-on { opacity: 1; transform: scale(1); }
.hist-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,34,26,.85) 0%, transparent 40%); }
.hist-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 28px; }
.hist-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hist-steps li { border-left: 2px solid rgba(234,245,239,.15); transition: border-color .4s; }
.hist-steps li.is-on { border-color: var(--leaf); }
.hs-btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 16px;
  padding: 14px 18px 14px 22px; border-radius: 0 14px 14px 0;
  opacity: .5; transition: opacity .3s, background .3s;
}
.hs-btn::after { content: "+"; font-size: 1.5rem; font-weight: 500; color: var(--leaf); transition: transform .4s var(--ease); }
.hs-btn:hover { opacity: .85; background: rgba(234,245,239,.04); }
.hs-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.is-on > .hs-btn { opacity: 1; }
.is-on > .hs-btn::after { transform: rotate(45deg); }
.hs-year { font-weight: 800; color: var(--leaf); font-size: .85rem; letter-spacing: .14em; min-width: 3.6em; }
.hs-title { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; }
.hist-steps p {
  color: var(--muted-light); font-size: .98rem; max-width: 52ch;
  padding: 0 22px; max-height: 12em; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s, padding .6s var(--ease);
  padding-bottom: 16px;
}
.hist-steps li:not(.is-on) p { max-height: 0; opacity: 0; padding-bottom: 0; }

/* ==========================================================
   4. ESTRUTURA
   ========================================================== */
.estrutura { height: 300vh; background: var(--ink); }
.est-head {
  position: absolute; top: 14vh; left: 0; right: 0; text-align: center; padding: 0 var(--gutter); z-index: 2;
  opacity: calc(1 - var(--p, 0) * 3);
  transform: translateY(calc(var(--p, 0) * -60px));
}
.est-head h2 { margin: 0 auto; font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.est-frame {
  position: absolute; inset: 0;
  --e: min(1, calc(var(--p, 0) * 2.2));
  clip-path: inset(calc(48% - var(--e) * 48%) calc(16% - var(--e) * 16%) calc(6% - var(--e) * 6%) round calc(28px - var(--e) * 28px));
}
.est-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--e) * .25)); }
.est-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,34,26,.92) 0%, rgba(0,34,26,.35) 45%, rgba(0,34,26,.15) 100%);
  opacity: calc(var(--p, 0) * 2 - .5);
}
.est-stats {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh;
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.est-stats li { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); border-top: 2px solid var(--leaf); padding-top: 16px; }
.est-stats li.is-on { opacity: 1; transform: none; }
.est-stats b { display: block; font-size: clamp(1.15rem, 2.2vw, 2.2rem); font-weight: 800; line-height: 1.1; }
.est-stats li:first-child b, .est-stats li:nth-child(2) b { font-size: clamp(2.2rem, 4.5vw, 4.4rem); color: var(--lime); }
.est-stats span { font-size: .88rem; color: var(--muted-light); }
.est-pin {
  position: absolute; top: 96px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(0,34,26,.6); backdrop-filter: blur(8px); font-weight: 700; font-size: .88rem;
  opacity: calc(var(--p, 0) * 3 - 1);
}
.est-pin svg { width: 18px; height: 18px; fill: var(--lime); }

/* ==========================================================
   5. LABORATÓRIOS (horizontal)
   ========================================================== */
.labs { height: 420vh; background: var(--forest); }
.labs .pin { display: flex; flex-direction: column; }
.labs-head {
  display: flex; align-items: flex-end; gap: 30px; flex-wrap: wrap;
  padding: 92px var(--gutter) 20px;
}
.labs-head .eyebrow { width: 100%; margin: 0; }
.labs-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.labs-count { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted-light); }
.labs-cur { color: var(--lime); font-size: 1.6rem; }
.labs-track { flex: 1; display: flex; gap: 0; will-change: transform; min-height: 0; }
.lab {
  flex: 0 0 100vw; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 64px);
  padding: 0 var(--gutter) 32px; align-items: center; min-height: 0;
}
.lab-n { font-size: .9rem; font-weight: 800; color: var(--leaf); letter-spacing: .14em; }
.lab h3 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 6px 0 18px; }
.lab-sub { color: var(--lime); font-weight: 600; margin-bottom: 14px; max-width: 40ch; }
.lab ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lab li { padding-left: 26px; position: relative; color: var(--text-light); font-size: clamp(.95rem, 1.2vw, 1.08rem); }
.lab li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50% 0 50% 0; background: var(--leaf); }
.lab-mosaic {
  /* cabe na tela abaixo do título; minmax(0, …) impede a foto de esticar a linha */
  height: min(calc(100vh - 270px), 560px); height: min(calc(100svh - 270px), 560px);
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr));
}
.lab-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 16px; }
.lab-mosaic img:first-child { grid-row: 1 / 4; }

/* ==========================================================
   6. ATUAÇÃO
   ========================================================== */
.atuacao { padding: clamp(90px, 12vw, 160px) 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 0 rgba(0,46,35,.06), 0 20px 50px -30px rgba(0,46,35,.35); transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card-badge { width: 84px; height: 84px; margin-bottom: 26px; }
.card h3 { margin-bottom: 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .84rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--paper-2); color: var(--pine); }
/* foto de fundo dos cards: <img class="bg-img"> atrás do conteúdo (caminho relativo, funciona em qualquer pasta) */
.bg-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-photo {
  position: relative; overflow: hidden; color: var(--text-light); display: flex; align-items: flex-end; min-height: 420px;
  background: var(--ink); isolation: isolate;
}
.card-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,34,26,.95) 10%, rgba(0,34,26,.2) 70%); }
.card-photo .chips li { background: rgba(234,245,239,.14); color: var(--text-light); }
.card-tag { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }

/* ==========================================================
   7. CULTURAS
   ========================================================== */
.culturas { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink); }
.crops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.crop {
  position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  isolation: isolate;
}

.crop::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,34,26,.95) 0%, rgba(0,34,26,.1) 65%); }
.crop:hover .bg-img { transform: scale(1.08); }
.crop h3 { margin-bottom: 8px; }
.crop p { font-size: .92rem; color: var(--muted-light); }

/* ==========================================================
   8. EQUIPE
   ========================================================== */
.equipe { padding: clamp(90px, 12vw, 160px) 0 0; }
.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.person { margin: 0; }
.person img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; object-position: top; border-radius: 18px; background: var(--paper-2); }
.person figcaption { margin-top: 14px; }
.person b { display: block; font-size: 1rem; }
.person span { font-size: .84rem; color: var(--muted-dark); }
.tecnica { padding: 100px 0 110px; }
.tecnica h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 32px; }
.tecnica h3 small { display: block; font-size: .9rem; font-weight: 600; color: var(--pine); letter-spacing: .06em; margin-top: 8px; }
/* carrossel: rolagem horizontal com encaixe; setas passam as fotos, no celular também arrasta */
.tec-carousel { position: relative; --edge: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.tec-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--edge); scroll-padding: 0 var(--edge); scrollbar-width: none;
}
.tec-track::-webkit-scrollbar { display: none; }
.tec-track img {
  flex: none; height: 300px; width: auto; max-width: 85vw; object-fit: cover; object-position: center 25%;
  border-radius: 16px; scroll-snap-align: start; background: var(--paper-2);
}
.tec-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--leaf); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0,46,35,.5); transition: background .25s, opacity .25s, transform .25s;
}
.tec-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tec-arrow:hover { background: var(--lime); }
.tec-arrow:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.tec-prev { left: calc(var(--edge) - 26px); }
.tec-next { right: calc(var(--edge) - 26px); }

/* ==========================================================
   9. CONSULTORIA
   ========================================================== */
.consultoria { padding: clamp(90px, 12vw, 160px) 0; background: var(--forest); }
.consult-services { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.consult-services li { border-top: 2px solid var(--leaf); padding-top: 14px; font-weight: 600; }
.consultants { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.consultant {
  display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center;
  padding: 22px; border-radius: var(--radius); background: rgba(234,245,239,.05); box-shadow: inset 0 0 0 1px rgba(234,245,239,.08);
}
.consultant img { width: 180px; height: 220px; object-fit: cover; object-position: top; border-radius: 14px; }
.consultant h3 { margin-bottom: 8px; }
.consultant p { font-size: .95rem; }

/* ==========================================================
   10. CONTATO
   ========================================================== */
.contato { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: radial-gradient(80% 70% at 50% 50%, var(--forest), var(--ink)); }
.contato-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 80px; padding-bottom: 80px; pointer-events: none; }
.contato-inner > * { pointer-events: auto; }
.contato-logo { width: min(340px, 70vw); margin-bottom: 36px; }
.contato h2 { max-width: 26ch; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.contato .lead { margin-left: auto; margin-right: auto; }
.contato-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

.footer { background: var(--ink); border-top: 1px solid rgba(234,245,239,.08); padding: 26px 0; font-size: .85rem; color: var(--muted-light); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1080px) {
  .crops { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .consult-services { grid-template-columns: repeat(2, 1fr); }
  .est-stats { grid-template-columns: repeat(3, 1fr); }
  .est-stats li:nth-child(n+4) { display: none; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem;
    background: rgba(0,34,26,.97); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .lang { position: relative; z-index: 2; margin-left: auto; margin-right: 6px; }
  .brand img { width: 124px; }

  .intro { height: 620vh; }
  .step-hero { padding-top: 0; }

  .sobre-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }

  /* História: sem pin no mobile, vira lista com fotos */
  .hist-grid { grid-template-columns: 1fr; }
  .hist-visual { height: 320px; }

  .est-stats { grid-template-columns: 1fr 1fr; gap: 16px; bottom: 6vh; }
  .est-stats li:nth-child(n+3) { display: none; }
  .est-head { top: 12vh; }

  /* Labs: vira pilha vertical */
  .labs { height: auto; padding-bottom: 60px; }
  .labs .pin { position: static; height: auto; overflow: visible; }
  .labs-head { padding-top: 100px; }
  .labs-count { display: none; }
  .labs-track { flex-direction: column; transform: none !important; gap: 64px; }
  .lab { flex: none; grid-template-columns: 1fr; padding-bottom: 0; }
  .lab-mosaic { height: 360px; }

  .cards3 { grid-template-columns: 1fr; }
  .consultants { grid-template-columns: 1fr; }
  .consultant { grid-template-columns: 110px 1fr; gap: 18px; padding: 16px; }
  .consultant img { width: 110px; height: 140px; }
  .tec-track { gap: 10px; }
  .tec-track img { height: 220px; }
  .tec-arrow { width: 44px; height: 44px; }
  .tec-prev { left: 8px; }
  .tec-next { right: 8px; }
}

@media (max-width: 560px) {
  .crops { grid-template-columns: 1fr; }
  .crop { min-height: 300px; }
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .consult-services { grid-template-columns: 1fr; }
  .lab-mosaic { height: 280px; }
  .contato-links { flex-direction: column; align-items: stretch; width: 100%; }
  .contato-links .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span::after { animation: none; }
}
