/* ==========================================================================
   Gramas Verdes Campos — design system
   Conceito: "A Faixa". O corte de terra vermelha no meio do campo verde
   (a foto de produção) atravessa a página como régua de progresso.
   Movimento = narrativa + hierarquia + feedback.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subset latin, eixo de peso variável) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* cor */
  --mata: #0E2114;          /* sombra do campo: seções escuras */
  --mata-2: #16301D;
  --mata-3: #1E3D26;
  --relva: #4E7A2C;         /* listra clara do gramado (amostrada da foto) */
  --relva-2: #446D28;       /* listra escura */
  --relva-esc: #2F5A22;
  --relva-esc-2: #2A5120;
  --broto: #CFE3B0;         /* verde-claro sobre fundo escuro */
  --nuvem: #F2F5EE;
  --nuvem-2: #E5ECDD;
  --ceu: #9DBBD6;
  --ceu-lt: #D3E2EC;
  --terra: #C2502A;         /* solo vermelho: só onde o usuário age */
  --terra-esc: #A5401F;
  --terra-lt: #E2734A;      /* terra sobre fundo escuro */
  --tinta: #10261A;
  --tinta-2: #48594D;
  --on-dark: #EAF1E4;
  --on-dark-2: rgba(234, 241, 228, .68);

  /* tipografia */
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* espaçamento e grid */
  --gut: clamp(20px, 5vw, 72px);
  --edge-l: var(--gut);
  --gap: clamp(16px, 2vw, 32px);
  --r: 3px;

  /* movimento */
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.6, 0, .2, 1);
}
@media (min-width: 1200px) {
  :root { --edge-l: 96px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--mata);
  color: var(--tinta);
  font: 400 1.0625rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--terra); color: #fff; padding: 12px 18px; border-radius: var(--r);
  transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-left: var(--edge-l);
  padding-right: var(--gut);
}

/* títulos de seção usam a mesma família de display */
.d { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .85; }

/* ---------- Links e botões ---------- */
.ulink {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: .12em;
  transition: background-size .45s var(--ease), background-position .45s var(--ease);
}
@media (hover: hover) {
  .ulink:hover { background-size: 0 2px; background-position: 100% 100%; }
}
.ulink--light { color: #fff; }

.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 1.5rem;
  background: var(--terra); color: #fff;
  border: 0; border-radius: var(--r);
  font: 600 1rem/1.1 var(--f-body);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--terra-esc) 0 18px, var(--terra) 18px 36px);
  transform: translateX(-101%);
  transition: transform .65s var(--ease);
}
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover { transform: translateY(-2px); }
}
.btn:active { transform: translateY(0); }
.btn--sm { --h: 42px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--big { --h: 64px; padding: 0 2.25rem; font-size: 1.125rem; }

/* ---------- Cabeçalho ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 72px;
  color: #fff;
  transition: transform .5s var(--ease), background-color .35s;
}
.hd.is-solid { background: var(--mata); }
.hd.is-hidden { transform: translateY(-101%); }
.hd__row {
  height: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
  padding-inline: var(--gut);
}
.logo { display: flex; align-items: center; text-decoration: none; color: inherit; margin-right: auto; }
.logo__img { display: block; width: auto; height: 42px; }
.logo--foot .logo__img { height: 56px; }
@media (min-width: 720px) { .logo__img { height: 48px; } }

.nav { display: none; gap: clamp(18px, 2.2vw, 34px); font-size: .9375rem; font-weight: 500; }
.nav a { position: relative; padding: 8px 0; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--terra-lt);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: none; }
.hd__cta { display: none; }
@media (min-width: 1000px) { .nav { display: flex; } }
@media (min-width: 720px) { .hd__cta { display: inline-flex; } }

.hd__menu {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer;
  padding: 10px 0; font-weight: 600; font-size: .9375rem;
}
.hd__menu i { position: relative; width: 24px; height: 10px; }
.hd__menu i::before, .hd__menu i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.hd__menu i::before { top: 0; }
.hd__menu i::after { top: 8px; }
.hd__menu[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.hd__menu[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }
@media (min-width: 1000px) { .hd__menu { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--mata); color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px;
  padding: 96px var(--gut) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 900 clamp(2.3rem, 10.4vw, 4.5rem)/1 var(--f-display); text-transform: uppercase; text-decoration: none; }
.menu nav a:hover { color: var(--terra-lt); }

/* ---------- 1. Hero: o campo visto de dentro ---------- */
.hero { position: relative; height: 175vh; background: var(--mata); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.hero__media {
  position: absolute; inset: 0;
  transform-origin: 50% 66%;
  transform:
    translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -8px + var(--p, 0) * -3%), 0)
    scale(calc(1.04 + var(--p, 0) * 1.25));
  will-change: transform;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.js .hero__media img { filter: blur(18px); transition: filter 1.9s var(--ease); }          /* desfocado → nítido ao carregar */
.js .hero.is-ready .hero__media img { filter: blur(0); }
.js .hero.is-sharp .hero__media img { filter: none; transition: none; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 33, 20, .62) 0, rgba(14, 33, 20, 0) 22%),
    linear-gradient(0deg, rgba(14, 33, 20, .84) 0, rgba(14, 33, 20, .42) 32%, rgba(14, 33, 20, 0) 62%),
    linear-gradient(90deg, rgba(14, 33, 20, .34) 0, rgba(14, 33, 20, 0) 50%);
}
.hero__veil { position: absolute; inset: 0; background: var(--mata); opacity: clamp(0, calc((var(--p, 0) - .35) * .9), .6); }

.hero__content {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: flex-end; justify-content: safe flex-end;
  padding: 96px var(--gut) clamp(32px, 7vh, 96px) var(--edge-l);   /* 96px: nunca invade o cabeçalho */
  transform: translate3d(0, calc(var(--p, 0) * -24vh), 0);
  opacity: clamp(0, calc(1 - var(--p, 0) * 2.6), 1);
  will-change: transform, opacity;
}
.hero__title {
  font: 900 clamp(2.6rem, min(8.6vw, 14.5vh), 9rem)/.9 var(--f-display);
  text-transform: uppercase; letter-spacing: -.004em;
  text-wrap: balance;
}
.ln { display: block; overflow: hidden; padding: .2em 0 .1em; margin: -.2em 0 -.1em; }   /* folga para til e acentos */
.ln > span { display: block; }
.js .ln > span { transform: translateY(108%); transition: transform 1.15s var(--ease); }
.js .is-ready .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: .09s; }
.ln:nth-child(3) > span { transition-delay: .18s; }
.ln:nth-child(4) > span { transition-delay: .27s; }

.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(28px, 4vw, 64px); margin-top: clamp(22px, 3.4vh, 40px); }
.hero__lead { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.js .hero__foot { opacity: 0; transform: translateY(16px); transition: opacity 1s .7s var(--ease), transform 1s .7s var(--ease); }
.js .is-ready .hero__foot { opacity: 1; transform: none; }

.hero__coords {
  position: absolute; right: var(--gut); top: 100px;
  display: grid; justify-items: end; gap: 2px;
  font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .85);
  opacity: clamp(0, calc(1 - var(--p, 0) * 5), 1);
}
.hero__cue {
  position: absolute; right: var(--gut); bottom: clamp(40px, 8vh, 96px);
  display: none; align-items: center; gap: 14px; writing-mode: vertical-rl;
  font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .85);
  opacity: clamp(0, calc(1 - var(--p, 0) * 8), 1);
}
.hero__cue i { display: block; width: 2px; height: 64px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--terra-lt); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 900px) { .hero__cue { display: flex; } }

.contours {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: var(--broto); stroke-width: 1.2; opacity: .16;
  pointer-events: none;
}
.contours path { vector-effect: non-scaling-stroke; }

/* ---------- 3. Projetos: o que esse chão vai aguentar? ---------- */
.proj { position: relative; background: var(--nuvem); color: var(--tinta); padding: clamp(88px, 12vw, 180px) 0 clamp(72px, 9vw, 130px); }
.proj__head { display: grid; gap: 28px clamp(24px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(48px, 7vw, 104px); }
.proj__title { font: 900 clamp(3.4rem, 10.5vw, 11rem)/.9 var(--f-display); text-transform: uppercase; max-width: 9em; text-wrap: balance; }
.proj__lead { max-width: 40ch; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; color: var(--tinta-2); }
@media (min-width: 1000px) {
  .proj__head { grid-template-columns: minmax(0, 7fr) minmax(0, 3.4fr); align-items: end; }
}

.rows { border-bottom: 2px solid var(--tinta); }
.row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 22px;
  padding: clamp(28px, 3.6vw, 56px) 0 clamp(32px, 4vw, 64px);
  border-top: 2px solid var(--tinta);
  transition: color .5s;
}
.row::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(var(--edge-l) * -1); right: calc(var(--gut) * -1);
  background: repeating-linear-gradient(90deg, var(--relva-esc) 0 96px, var(--relva-esc-2) 96px 192px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.row.is-active, .row:hover, .row:focus-within { color: #fff; }
.row.is-active::before, .row:hover::before, .row:focus-within::before { clip-path: inset(0 0 0 0); }
.row__name {
  grid-column: 1 / -1;
  font: 900 clamp(2.5rem, 11.4vw, 10.5rem)/.9 var(--f-display); text-transform: uppercase;
  text-wrap: balance; overflow-wrap: anywhere;
}
@media (min-width: 900px) { .row__name { font-size: clamp(5rem, 10vw, 10.5rem); } }
.row__text { grid-column: 1 / -1; max-width: 46ch; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.5; }
.row__grass { grid-column: 1 / -1; font-weight: 600; }
@media (min-width: 900px) {
  .row__text { grid-column: 1 / 7; grid-row: 2; }
  .row__grass { grid-column: 8 / -1; grid-row: 2; align-self: end; justify-self: end; text-align: right; }
}

/* ---------- 4. As quatro gramas: rolagem horizontal fixada ---------- */
.gr { position: relative; background: var(--mata); color: var(--on-dark); height: var(--gr-h, auto); }
.gr__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gr__track {
  position: relative; display: flex; height: 100%; align-items: stretch;
  transform: translate3d(calc(var(--gx, 0) * -1px), 0, 0);
  will-change: transform;
}
.gr__panel {
  flex: 0 0 auto; width: min(94vw, 1180px);
  padding: clamp(84px, 12vh, 116px) clamp(24px, 3.4vw, 56px) clamp(28px, 5vh, 52px);
  border-left: 1px solid rgba(207, 227, 176, .16);
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 3.4vw, 56px);
}
.gr__panel--intro {
  width: min(84vw, 760px); border-left: 0; padding-left: var(--edge-l);
  display: flex; align-items: flex-end;
}
.gr__title { font: 900 clamp(2.9rem, 6.4vw, 6.6rem)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.gr__lead { margin-top: 24px; max-width: 34ch; font-size: 1.125rem; color: var(--on-dark-2); }
.gr__index { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-weight: 600; }
.gr__index a { color: var(--broto); }

.grass__art {
  position: relative; overflow: hidden; min-height: 0;
  background: repeating-linear-gradient(180deg, var(--mata-2) 0 72px, var(--mata-3) 72px 144px);
}
.blades { position: absolute; inset: 0; width: 100%; height: 100%; }
.blades path { transition: transform 1.1s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.js .grass:not(.is-on) .blades path { transform: scaleY(.78); }
.grass .blades { transform: translate3d(calc(var(--o, 0) * -.07px), 0, 0) scale(1.12); will-change: transform; }
.swatch { position: absolute; left: 14px; top: 14px; width: min(46%, 168px); margin: 0; }
.swatch img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border: 3px solid var(--on-dark); }
.swatch figcaption { margin-top: 6px; font-size: .75rem; color: var(--on-dark-2); }

.grass__body { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.grass__sci { font-style: italic; color: var(--broto); font-size: 1rem; }
.grass__name {
  font: 900 clamp(3rem, min(8.6vw, 14vh), 8.6rem)/.9 var(--f-display); text-transform: uppercase;
  margin: 14px 0 18px;
}
.grass__intro { max-width: 46ch; color: var(--on-dark); font-size: 1.0625rem; line-height: 1.5; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: clamp(16px, 3vh, 28px) 0; }
.specs > div { border-top: 1px solid rgba(207, 227, 176, .24); padding-top: 9px; }
.specs dt { font-size: .8125rem; color: var(--on-dark-2); }
.specs dd { display: flex; align-items: center; margin-top: 3px; font-weight: 600; line-height: 1.25; }
.ico { flex: none; width: 24px; height: 24px; margin-right: 10px; color: var(--terra-lt); }
.gauge { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; margin-right: 12px; flex: none; }
.gauge i { width: 5px; border-radius: 1px; background: rgba(207, 227, 176, .26); transform-origin: bottom; transition: transform .7s var(--ease), background-color .5s; }
.gauge i:nth-child(1) { height: 8px; }
.gauge i:nth-child(2) { height: 12px; }
.gauge i:nth-child(3) { height: 17px; }
.gauge i:nth-child(4) { height: 22px; }
.gauge[data-level="2"] i:nth-child(-n+2),
.gauge[data-level="3"] i:nth-child(-n+3),
.gauge[data-level="4"] i:nth-child(-n+4) { background: var(--terra-lt); }
.js .grass:not(.is-on) .gauge i { transform: scaleY(.15); }
.gauge i:nth-child(2) { transition-delay: .06s; }
.gauge i:nth-child(3) { transition-delay: .12s; }
.gauge i:nth-child(4) { transition-delay: .18s; }
.grass__uses { max-width: 52ch; margin-bottom: clamp(16px, 3vh, 26px); font-size: .9375rem; line-height: 1.5; color: var(--on-dark-2); }
.grass .btn { align-self: flex-start; }

.gr__bar { position: absolute; left: var(--edge-l); right: var(--gut); bottom: 22px; height: 3px; background: rgba(207, 227, 176, .16); }
.gr__bar i { display: block; height: 100%; background: var(--terra-lt); transform-origin: left; transform: scaleX(var(--gp, 0)); }

.gr__swipe, .gr__dots, .gr__tiles { display: none; }

/* tela baixa: mantém o painel inteiro sem cortar */
@media (min-width: 900px) and (max-height: 820px) {
  .gr__panel { padding-top: 84px; padding-bottom: 36px; }
  .grass__intro { font-size: 1rem; }
  .grass__uses { font-size: .875rem; }
  .specs { gap: 10px 20px; margin: 14px 0; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .grass__uses { display: none; }
}

/* mobile / sem fixação: carrossel nativo com snap */
@media (max-width: 899px) {
  .gr { height: auto; }
  .gr__stage { position: static; height: auto; padding: 72px 0 56px; }
  .gr__track {
    transform: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 0 var(--gut) 8px; gap: 14px; scrollbar-width: none;
  }
  .gr__track::-webkit-scrollbar { display: none; }
  .gr__panel {
    width: 86vw; max-width: 460px; scroll-snap-align: center; padding: 0; border-left: 0;
    grid-template-columns: 1fr; gap: 20px; align-content: start;
  }
  .gr__panel--intro { width: 84vw; padding-left: 0; align-items: center; }
  .grass__art { aspect-ratio: 16 / 9; }
  .gr__index { display: none; }
  .gr__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
  .gr__tiles a { display: grid; gap: 7px; text-decoration: none; font-size: .75rem; font-weight: 600; color: var(--broto); }
  .gr__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: repeating-linear-gradient(180deg, var(--mata-2) 0 22px, var(--mata-3) 22px 44px); }
  .grass__name { margin-top: 6px; }
  .gr__swipe { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-weight: 600; color: var(--terra-lt); }
  .gr__swipe i { position: relative; flex: none; width: 54px; height: 2px; background: currentColor; animation: swipe 1.8s var(--ease-io) infinite; }
  .gr__swipe i::after { content: ""; position: absolute; right: 0; top: -5px; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transform-origin: 70% 30%; }
  .gr__dots { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gut) 0; }
  .gr__dots p { font-size: .875rem; color: var(--on-dark-2); }
  .gr__dots div { display: flex; gap: 8px; }
  .gr__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 6px; background: rgba(207, 227, 176, .3); cursor: pointer; transition: width .35s var(--ease), background-color .3s; position: relative; }
  .gr__dots button::before { content: ""; position: absolute; inset: -14px -4px; }  /* área de toque maior */
  .gr__dots button.is-on { width: 30px; background: var(--terra-lt); }
  .grass__name { font-size: clamp(3.4rem, 17vw, 5.5rem); margin-bottom: 10px; }
  .gr__bar { display: none; }
}
@keyframes swipe { 0% { transform: translateX(-10px); opacity: .3; } 50% { opacity: 1; } 100% { transform: translateX(14px); opacity: .3; } }
.reduced .gr__swipe i { animation: none; }
.reduced .gr { height: auto; }
.reduced .gr__stage { position: static; height: auto; padding: 72px 0; }
.reduced .gr__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.reduced .gauge i { transform: none !important; }

/* ---------- 5. Orientação: qual grama para o seu projeto ---------- */
.find { background: var(--nuvem-2); color: var(--tinta); padding: clamp(80px, 11vw, 160px) 0; }
.find__grid { display: grid; gap: 40px clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.find__title { font: 900 clamp(2.8rem, 6vw, 6.2rem)/.9 var(--f-display); text-transform: uppercase; }
.find__title span { display: block; text-wrap: balance; }
.find__lead { margin-top: 22px; max-width: 42ch; font-size: 1.125rem; color: var(--tinta-2); }
.finder { display: grid; gap: 26px; }
.finder__group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.finder__group legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.finder__group--pair { grid-template-columns: 1fr 1fr; }
.finder__group--pair legend { grid-column: 1 / -1; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border: 1.5px solid rgba(16, 38, 26, .3); border-radius: var(--r);
  font-weight: 600; line-height: 1.2;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.opt span::after {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor;
  transition: background-color .3s, border-color .3s;
}
@media (hover: hover) { .opt:hover span { border-color: var(--tinta); transform: translateX(3px); } }
.opt input:checked + span { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.opt input:checked + span::after { background: var(--terra-lt); border-color: var(--terra-lt); }
.opt input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 2px; }

.area { display: grid; gap: 8px; font-weight: 700; }
.area__box { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--tinta); padding-bottom: 4px; max-width: 320px; }
.area__box input, .quote__box input {
  width: 100%; min-width: 0; background: transparent; border: 0; padding: 0; border-radius: 0;
  font: 800 2.4rem/1.1 var(--f-display); color: inherit; -moz-appearance: textfield; appearance: textfield;
}
.area__box input:focus-visible, .quote__box input:focus-visible { outline: none; }
.area__box:focus-within, .quote__box:focus-within { border-color: var(--terra); }
.area__box input::placeholder { color: rgba(16, 38, 26, .35); }
.area__box b, .quote__box b { font: 800 1.6rem/1 var(--f-display); }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.result {
  position: relative; background: var(--mata); color: var(--on-dark); overflow: hidden;
  display: grid; align-content: space-between; min-height: 480px;
  transition: opacity .25s, transform .35s var(--ease);
}
.result.is-swap { opacity: .0; transform: translateY(10px); }
.result__bar { height: 22px; background: repeating-linear-gradient(90deg, var(--relva) 0 44px, var(--relva-2) 44px 88px); }
.result__main { position: relative; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.result__art { left: auto; right: 0; top: 0; width: 40%; height: 100%; opacity: .95; pointer-events: none; }
.result__text { position: relative; max-width: 60%; }
@media (max-width: 899px) { .result__text { max-width: 100%; } }
.result__pre { font-size: .875rem; color: var(--on-dark-2); }
.result__name { margin: 6px 0 14px; font: 900 clamp(3.2rem, 6.4vw, 6.4rem)/.9 var(--f-display); text-transform: uppercase; }
.result__why { font-size: 1.0625rem; line-height: 1.5; }
.result__also { margin-top: 14px; font-size: .9375rem; color: var(--on-dark-2); }
.result__cta { padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px); display: grid; gap: 12px; justify-items: start; }
.result__cta small { font-size: .8125rem; color: var(--on-dark-2); }

@media (min-width: 1000px) {
  .find__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .find__intro { grid-column: 1; grid-row: 1; }
  .finder { grid-column: 1; grid-row: 2; }
  .result { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 100px; min-height: 560px; }
}

/* ---------- 6. Alcance: de Angatuba para todo o estado ---------- */
.atend { position: relative; background: var(--mata); color: var(--on-dark); padding: clamp(88px, 11vw, 168px) 0; overflow: hidden; }
.atend .contours { opacity: .13; }
.atend__grid { position: relative; display: grid; gap: 40px clamp(24px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.atend__title { font: 900 clamp(2.9rem, 6.2vw, 6.4rem)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.atend__lead { margin-top: 24px; max-width: 38ch; font-size: 1.125rem; }
.atend__read {
  margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--terra-lt); min-height: 3.2em;
  max-width: 34ch; font-weight: 600; color: var(--on-dark);
}
.atend__note { margin-top: 18px; max-width: 38ch; font-size: .9375rem; color: var(--on-dark-2); }
.radar { margin: 0; }
.radar svg { width: 100%; height: auto; overflow: visible; }
@media (min-width: 1000px) { .atend__grid { grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); } .radar { margin-right: calc(var(--gut) * -.6); } }

.rd-ring { fill: none; stroke: rgba(207, 227, 176, .3); stroke-width: 1; stroke-dasharray: 2 7; }
.rd-ring-t { font: 600 12px var(--f-body); fill: rgba(207, 227, 176, .7); }
.rd-line { fill: none; stroke: var(--terra-lt); stroke-width: 1.2; opacity: .7; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.atend.is-in .rd-line { animation: draw 1.7s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rd-city { cursor: pointer; outline: none; }
.rd-city .dot { fill: var(--on-dark); transition: r .25s var(--ease), fill .25s; r: 4.5; }
.rd-city .hit { fill: transparent; }
.rd-city text { font: 500 14px var(--f-body); fill: var(--on-dark); opacity: 0; transition: opacity .6s; }
.atend.is-in .rd-city text { opacity: .82; transition-delay: calc(var(--i) * 80ms + 900ms); }
.rd-city:hover .dot, .rd-city:focus-visible .dot, .rd-city.is-on .dot { r: 8; fill: var(--terra-lt); }
.rd-city:hover text, .rd-city:focus-visible text, .rd-city.is-on text { opacity: 1; font-weight: 700; }
.rd-origin .core { fill: var(--terra-lt); }
.rd-origin .pulse { fill: none; stroke: var(--terra-lt); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
.rd-origin text { font: 900 26px var(--f-display); text-transform: uppercase; fill: #fff; letter-spacing: .04em; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 720px) {
  .rd-city.minor text { display: none; }
  .rd-city text { font-size: 19px; }
}

/* ---------- 7. Produção: mecanismo em sequência ---------- */
.prod { position: relative; background: var(--nuvem); color: var(--tinta); padding: clamp(88px, 11vw, 168px) 0 0; overflow: hidden; }
.prod__grid { display: grid; gap: 56px clamp(24px, 5vw, 88px); grid-template-columns: minmax(0, 1fr); }
.prod__title { font: 900 clamp(2.8rem, 5.8vw, 6rem)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; margin-bottom: clamp(36px, 5vw, 72px); }
.steps { position: relative; padding-left: clamp(56px, 6vw, 84px); display: grid; gap: clamp(28px, 3.6vw, 48px); counter-reset: st; }
.steps::before, .steps::after { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 4px; }
.steps::before { background: rgba(16, 38, 26, .14); }
.steps::after { background: var(--terra); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.steps li { position: relative; counter-increment: st; }
.steps li::before {
  content: counter(st); position: absolute; left: calc(clamp(56px, 6vw, 84px) * -1 + 34px); top: -.08em;
  font: 900 clamp(2.6rem, 4vw, 4rem)/1 var(--f-display); color: rgba(16, 38, 26, .22);
  transition: color .5s;
}
.steps li.is-on::before { color: var(--terra); }
.steps h3 { font: 800 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.steps p { max-width: 40ch; color: var(--tinta-2); }

.prod__media { position: relative; min-height: 0; }
.ph { margin: 0; overflow: hidden; background: var(--nuvem-2); will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--faixa { width: 78%; margin-left: auto; aspect-ratio: 640 / 680; }
.ph--paletes { position: absolute; left: 0; bottom: -4%; width: 62%; aspect-ratio: 670 / 190; border: 6px solid var(--nuvem); }
.prod__pano { position: relative; margin: clamp(64px, 9vw, 130px) 0 0; height: clamp(190px, 30vw, 440px); overflow: hidden; }
.prod__pano img { position: absolute; left: 0; top: -18%; width: 100%; height: 136%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
@media (min-width: 1000px) {
  .prod__grid { grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); align-items: start; }
  .prod__copy { position: sticky; top: 110px; }
}

/* ---------- 8. Empresa: o céu do campo ---------- */
.emp { position: relative; background: var(--ceu-lt); color: var(--tinta); padding: clamp(88px, 11vw, 168px) 0 clamp(96px, 12vw, 190px); overflow: hidden; }
.emp__grid { display: grid; gap: 32px clamp(24px, 5vw, 88px); grid-template-columns: minmax(0, 1fr); align-items: end; }
.emp__title { font: 900 clamp(2.7rem, 5.4vw, 5.6rem)/.9 var(--f-display); text-transform: uppercase; margin-bottom: 26px; text-wrap: balance; }
.emp__copy p + p { margin-top: 14px; }
.emp__copy p { max-width: 46ch; font-size: 1.125rem; }
.emp__assoc { margin-top: 26px !important; padding-top: 16px; border-top: 2px solid var(--tinta); display: flex; gap: 14px; align-items: baseline; }
.emp__assoc b { font: 900 1.9rem/1 var(--f-display); letter-spacing: .06em; }

.odo { display: flex; font: 900 clamp(8.4rem, 31vw, 27rem)/.8 var(--f-display); letter-spacing: -.01em; user-select: none; }
.odo__col { height: .8em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transform: translate3d(0, calc(var(--d, 0) * -.8em), 0); transition: transform 1.9s var(--ease); transition-delay: calc(var(--k, 0) * .14s); }
.odo__strip span {
  display: block; height: .8em; line-height: .8;
  color: transparent;
  background: repeating-linear-gradient(180deg, var(--relva-esc) 0 .1em, var(--relva-2) .1em .2em);
  -webkit-background-clip: text; background-clip: text;
}
.odo.is-still .odo__strip { transition: none; }
.odo:not(.is-built) {
  height: .8em; color: transparent;
  background: repeating-linear-gradient(180deg, var(--relva-esc) 0 .1em, var(--relva-2) .1em .2em);
  -webkit-background-clip: text; background-clip: text;
}
@media (min-width: 1000px) { .emp__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- 9. Ação: o tamanho do seu campo ---------- */
.fin {
  position: relative; overflow: hidden; color: #fff;
  background: repeating-linear-gradient(180deg, var(--relva-esc) 0 112px, var(--relva-esc-2) 112px 224px);
  padding: clamp(96px, 12vw, 180px) 0 clamp(220px, 26vw, 360px);
}
/* a faixa de terra volta em perspectiva, como na foto do hero */
.fin::before {
  content: ""; position: absolute; z-index: 0; top: 34%; bottom: 0;
  right: clamp(16px, 4.5vw, 84px); width: clamp(150px, 19vw, 290px);
  background: linear-gradient(90deg, var(--terra-esc), var(--terra) 42%, var(--terra) 58%, var(--terra-esc));
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0, #000 45%);
}
@media (max-width: 899px) { .fin::before { opacity: .55; right: -30px; } }
.fin__inner { position: relative; z-index: 2; }
.fin__title { font: 900 clamp(3.4rem, 11.4vw, 12rem)/.9 var(--f-display); text-transform: uppercase; max-width: 8.6em; text-wrap: balance; }
.fin__lead { margin-top: 26px; max-width: 40ch; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; }
.quote { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 40px; margin-top: 40px; }
.quote__field { display: grid; gap: 8px; font-weight: 700; }
.quote__box { display: flex; align-items: baseline; gap: 12px; border-bottom: 3px solid #fff; padding-bottom: 4px; width: min(72vw, 340px); }
.quote__box input { font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff; }
.quote__box input::placeholder { color: rgba(255, 255, 255, .45); }
.fin__alt { margin-top: 28px; font-size: 1.0625rem; }
.field { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(200px, 26vw, 340px); z-index: 1; touch-action: pan-y; }

/* ---------- Rodapé ---------- */
.foot { background: var(--mata); color: var(--on-dark); padding: clamp(24px, 3vw, 40px) 0 32px; }
.foot__grid { display: grid; gap: 40px 32px; grid-template-columns: minmax(0, 1fr); padding-top: clamp(40px, 5vw, 72px); }
.foot__brand p { margin-top: 18px; max-width: 30ch; color: var(--on-dark-2); }
.foot__col { display: grid; gap: 8px; align-content: start; }
.foot__col h2 { font: 700 .9375rem/1.2 var(--f-body); color: var(--broto); margin-bottom: 6px; }
.foot__col a { text-decoration: none; width: fit-content; color: var(--on-dark-2); transition: color .2s; }
.foot__col a:hover { color: #fff; }
.foot__col address { color: var(--on-dark-2); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid rgba(207, 227, 176, .18); font-size: .875rem; color: var(--on-dark-2); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Barra de contato (mobile) ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; grid-template-columns: 1fr auto;
  background: var(--mata); border-top: 1px solid rgba(207, 227, 176, .2);
  transform: translateY(100%); transition: transform .5s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar.is-visible { transform: none; }
.mbar a { display: grid; align-content: center; padding: 10px 18px; text-decoration: none; color: #fff; min-height: 60px; }
.mbar__quote { background: var(--terra); }
.mbar__quote span { font-size: .75rem; opacity: .9; }
.mbar__quote strong { font-size: 1rem; font-weight: 700; }
.mbar__call { font-weight: 700; place-items: center; }
@media (max-width: 719px) {
  .mbar { display: grid; }
  body { padding-bottom: 60px; }
}

/* ---------- Mobile: recompor, não apenas reduzir ---------- */
@media (max-width: 899px) {
  .hero { height: 190vh; }
  .hero__title { font-size: clamp(3rem, 15.5vw, 5.4rem); }
  .hero__media { transform-origin: 50% 70%; transform: translate3d(0, calc(var(--p, 0) * -2%), 0) scale(calc(1.06 + var(--p, 0) * .7)); }
  .hero__media img { object-position: 52% 50%; }
  .hero__coords { top: 84px; }
  .row__grass { text-align: left; }
  .ph--paletes { position: relative; left: 0; bottom: 0; width: 76%; margin-top: -18%; }
  .ph--faixa { width: 88%; }
  .prod__media { display: grid; }
  .find__lead { font-size: 1.0625rem; }
  .result { min-height: 0; }
  .result__art { opacity: .5; }
}

/* ---------- Movimento reduzido ---------- */
.reduced .hero { height: 100svh; }
.reduced .hero__media, .reduced .hero__content, .reduced .hero__coords, .reduced .hero__cue { transform: none; opacity: 1; }
.reduced .hero__veil { opacity: 0; }
.reduced .ln > span, .reduced .hero__foot { transform: none !important; opacity: 1 !important; transition: none !important; }
.reduced .row::before { transition: none; }
.reduced .contours, .reduced .ph, .reduced .prod__pano img { transform: none; }
.reduced .rd-line { stroke-dashoffset: 0; animation: none; }
.reduced .rd-city text { opacity: .85; }
.reduced .rd-origin .pulse, .reduced .hero__cue i::after { animation: none; }
.reduced .steps::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Sem JavaScript: tudo visível, sem cenas fixadas ---------- */
.no-js .hero { height: auto; }
.no-js .hero__stage { height: 100vh; height: 100svh; }
.no-js .gr { height: auto; }
.no-js .gr__stage { position: static; height: auto; padding: 72px 0; }
.no-js .gr__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .row::before { clip-path: none; opacity: .0; }
.no-js .hd { background: var(--mata); position: absolute; }

/* janelas baixas: o texto de apoio fica mais compacto para o título caber */
@media (max-height: 640px) and (min-width: 900px) {
  .hero__foot { margin-top: 16px; }
  .hero__lead { font-size: .9375rem; max-width: 52ch; }
  .hero__coords { top: 84px; }
}

/* celulares baixos: título proporcional à altura e sem o texto de apoio, para o botão ficar visível */
@media (max-width: 899px) and (max-height: 700px) {
  .hero__title { font-size: clamp(2.4rem, min(15.5vw, 10.5vh), 5.4rem); }
  .hero__lead { display: none; }
  .hero__foot { margin-top: 18px; }
}
@media (max-height: 700px) { .hero__cue { display: none; } }
