.agro-case {
  color-scheme: only light;
  --black: #11100f;
  --black-soft: #1b1917;
  --red: #d60b17;
  --red-dark: #b40712;
  --cream: #e9ded0;
  --paper: #f7f5f1;
  --white: #fff;
  --muted: #817b73;
  --line: rgba(17, 16, 15, .15);
  --pad: clamp(22px, 4.2vw, 76px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  color: var(--black);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow: clip;
}

@scope (.agro-case) {
:root {
  color-scheme: only light;
  --black: #11100f;
  --black-soft: #1b1917;
  --red: #d60b17;
  --red-dark: #b40712;
  --cream: #e9ded0;
  --paper: #f7f5f1;
  --white: #fff;
  --muted: #817b73;
  --line: rgba(17, 16, 15, .15);
  --pad: clamp(22px, 4.2vw, 76px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: var(--black); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { color: var(--white); background: var(--red); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 15px; color: #fff; background: #111; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 1000; height: 3px; background: transparent; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

.site-header { position: fixed; top: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; min-height: 82px; padding: 0 var(--pad); color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: min-height .35s, color .35s, background .35s, border .35s; }
.site-header.is-scrolled { min-height: 68px; color: var(--black); background: rgba(247,245,241,.92); border-bottom-color: rgba(17,16,15,.12); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--display); font-size: 18px; font-weight: 850; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--red); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: var(--red); border-radius: 50%; font-size: 16px; font-weight: 900; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-header nav a { position: relative; padding: 12px 0; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 13px; padding: 11px 17px; color: var(--black); background: #fff; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .03em; transition: transform .25s, color .35s, background .35s; }
.site-header.is-scrolled .header-cta { color: #fff; background: var(--black); }
.header-cta:hover { transform: translateY(-2px); }

.hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; padding: 140px var(--pad) 62px; overflow: hidden; color: #fff; background: #171411; }
.hero-video, .hero-shade, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; opacity: .82; }
.hero-shade { background: linear-gradient(90deg, rgba(10,8,6,.86) 0%, rgba(10,8,6,.45) 48%, rgba(10,8,6,.12) 74%), linear-gradient(0deg, rgba(10,8,6,.72), transparent 56%); }
.grid-lines { pointer-events: none; background-image: linear-gradient(90deg, transparent calc(25% - .5px), rgba(255,255,255,.12) 25%, transparent calc(25% + .5px), transparent calc(50% - .5px), rgba(255,255,255,.12) 50%, transparent calc(50% + .5px), transparent calc(75% - .5px), rgba(255,255,255,.12) 75%, transparent calc(75% + .5px)); }
.hero-content { position: relative; z-index: 2; width: min(100%, 1400px); margin: 0 auto; }
.hero-kicker { display: flex; gap: 28px; margin: 0 0 clamp(20px, 4vh, 42px); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-kicker span:first-child { color: #ff515b; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.065em; line-height: .9; }
h1 { max-width: 1150px; margin-bottom: clamp(34px, 7vh, 76px); font-size: clamp(58px, 9.1vw, 154px); font-stretch: 90%; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero h1 em { color: #fff; font-weight: 360; }
.hero-bottom { display: grid; grid-template-columns: minmax(280px, 520px) auto; justify-content: space-between; align-items: end; gap: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-bottom p { margin: 0; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.25vw, 19px); }
.circle-link { display: flex; align-items: center; justify-content: space-between; width: 122px; height: 56px; padding: 0 15px 0 20px; color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; transition: color .25s, background .25s; }
.circle-link b { font-size: 18px; font-weight: 400; }
.circle-link:hover { color: var(--black); background: #fff; }
.concept-note { position: absolute; z-index: 2; top: 104px; right: var(--pad); margin: 0; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; writing-mode: vertical-rl; }

.section-dark, .section-black { color: #f5f2ed; background: var(--black); }
.section-black { background: #080808; }
.section-light { color: var(--black); background: var(--paper); }
.section-cream { color: var(--black); background: var(--cream); }
.section-red { color: #fff; background: var(--red); }
.section-index { display: flex; gap: 15px; align-items: center; font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.section-index span { color: var(--red); }
.intro { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: clamp(38px, 6vw, 110px); padding: clamp(100px, 14vw, 220px) var(--pad) 100px; }
.intro .section-index { grid-column: 1 / -1; margin-bottom: clamp(40px, 6vw, 95px); }
.intro-heading { grid-column: 1 / 3; }
.eyebrow { margin-bottom: 24px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.intro h2, .strategy h2, .comparison h2, .system h2, .motion h2 { margin: 0; font-size: clamp(48px, 6.7vw, 112px); }

/* "em ordem." não se separa. O <em> carrega a locução inteira, então prendê-lo
   mantém a preposição colada ao substantivo em qualquer largura — no ultra
   wide a linha terminava em "em" e jogava "ordem." para baixo. */
.intro h2 em { white-space: nowrap; }
.intro-copy { align-self: end; max-width: 540px; color: rgba(255,255,255,.62); }
.intro-copy .lead { color: #fff; font-size: clamp(19px, 1.65vw, 26px); line-height: 1.42; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 76px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.facts div { min-height: 180px; padding: 28px; background: var(--black); }
.facts strong { display: block; margin-bottom: 36px; font-family: var(--display); font-size: clamp(36px, 4vw, 62px); letter-spacing: -.06em; line-height: 1; }
.facts span { display: block; max-width: 160px; color: rgba(255,255,255,.5); font-size: 12px; }

.cover-stage { padding: clamp(28px, 5vw, 82px) var(--pad) clamp(90px, 11vw, 170px); }
.image-shell { max-width: 1600px; margin: 0 auto; overflow: hidden; background: #cfc2b4; }
/* `height: auto` é o que faz o `aspect-ratio` valer. Os atributos width/height
   do HTML (1536x1024) fixam AS DUAS dimensões e o aspect-ratio é ignorado —
   a caixa saía 1466x1024 (1.43) para um mockup 3:2 e o `cover` cortava. */
.image-shell img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.75,.2,1); }
.image-shell:hover img { transform: scale(1.015); }
.cover-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1600px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(17,16,15,.25); }
.cover-caption span { font-family: var(--display); font-size: clamp(24px, 2.5vw, 42px); font-weight: 700; letter-spacing: -.045em; }
.cover-caption p { justify-self: end; max-width: 570px; margin: 0; color: #615b54; }

.strategy { padding: clamp(110px, 14vw, 220px) var(--pad); }
.strategy .section-index { margin-bottom: clamp(55px, 8vw, 120px); }
.strategy-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(50px, 9vw, 170px); }
.strategy h2 { position: sticky; top: 110px; align-self: start; }
.decision { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 36px 0 46px; border-top: 1px solid var(--line); }
.decision > span { padding-top: 5px; color: var(--red); font-family: var(--display); font-size: 13px; font-weight: 800; }
.decision h3 { margin-bottom: 12px; font-family: var(--display); font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.045em; }
.decision p { max-width: 600px; margin: 0; color: #6c665f; }

.chapter { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.45fr); min-height: 100svh; }
.chapter-red { color: #fff; background: var(--red); }
.chapter-white { color: var(--black); background: #fff; }
.chapter-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 150px) var(--pad); }
.chapter-copy h2 { margin-bottom: 34px; font-size: clamp(44px, 5.5vw, 90px); }
.chapter-red .chapter-copy h2 em { color: var(--black); }
.chapter-copy > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.7); font-size: clamp(15px, 1.2vw, 18px); }
.chapter-white .chapter-copy > p:not(.eyebrow) { color: #6c665f; }
.chapter-red .eyebrow { color: var(--black); }
/* A caixa passa a ter a proporção do próprio mockup (3:2), em vez de uma
   altura fixa de 720px dentro de uma coluna estreita — era isso que fazia o
   `cover` comer 44% e 60% da largura das duas imagens de capítulo.
   `align-self: center` impede que o grid a estique de volta. */
.chapter-visual { position: relative; aspect-ratio: 3 / 2; align-self: center; margin: 0; overflow: hidden; }
.chapter-visual img { width: 100%; height: 100%; object-fit: cover; }
.chapter-visual figcaption { position: absolute; right: 24px; bottom: 24px; padding: 10px 14px; color: var(--black); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Trocar só a ORDEM deixava a imagem na coluna estreita e o texto na larga:
   por isso o capítulo invertido cortava 60% contra 44% do outro. As colunas
   trocam junto. */
.chapter-flip { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); }
.chapter-flip .chapter-copy { order: 2; }
.chapter-flip .chapter-visual { order: 1; }
.micro-list { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.micro-list li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.28); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.micro-list li::before { content: "+"; display: inline-block; width: 30px; color: var(--black); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.feature-tags span { padding: 8px 13px; border: 1px solid rgba(17,16,15,.2); border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.mobile-story { display: grid; grid-template-columns: 1fr 1.45fr; padding: clamp(100px, 12vw, 190px) var(--pad); }
.mobile-copy { align-self: center; padding-right: clamp(20px, 5vw, 80px); }
.mobile-copy h2 { margin-bottom: 34px; font-size: clamp(48px, 6.4vw, 104px); }
.mobile-copy p:last-child { max-width: 520px; color: rgba(255,255,255,.58); }
.mobile-visual { overflow: hidden; }
.mobile-visual img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.mobile-numbers { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; background: rgba(255,255,255,.15); }
.mobile-numbers div { padding: 28px; background: var(--black); }
.mobile-numbers strong { display: block; margin-bottom: 8px; color: var(--red); font-family: var(--display); font-size: 32px; letter-spacing: -.04em; }
.mobile-numbers span { color: rgba(255,255,255,.53); font-size: 11px; text-transform: uppercase; }

.space-story { padding: clamp(100px, 12vw, 190px) var(--pad); }
.space-head { display: grid; grid-template-columns: 1.5fr .7fr; gap: 60px; align-items: end; max-width: 1600px; margin: 0 auto clamp(50px, 7vw, 100px); }
.space-head h2 { margin: 0; max-width: 1000px; font-size: clamp(52px, 7.2vw, 120px); }
.space-head > p { max-width: 490px; margin: 0 0 8px; color: #6c665f; }
.wide-visual { max-width: 1600px; margin: 0 auto; overflow: hidden; }
.wide-visual img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }

.contact-story { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 100svh; }
.contact-visual { aspect-ratio: 3 / 2; align-self: center; overflow: hidden; }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; }
.contact-copy { align-self: center; padding: clamp(70px, 8vw, 140px) var(--pad); }
.contact-copy .eyebrow { color: var(--black); }
.contact-copy h2 { margin-bottom: 32px; font-size: clamp(45px, 5.5vw, 86px); }
.contact-copy h2 em { color: var(--black); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.flow { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 40px; font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.flow span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.flow i { font-style: normal; }

.comparison { padding: clamp(110px, 14vw, 220px) var(--pad); }
.comparison-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; max-width: 1600px; margin: 0 auto clamp(55px, 8vw, 110px); }
.comparison-head .section-index { margin-bottom: 38px; }
.comparison-head > p { max-width: 480px; margin-bottom: 10px; color: #6c665f; }
/* A moldura tinha 16/9 e as duas capturas são 1400x700, ou seja 2:1 — o
   comparador cortava 11% do "antes" e 3% do "depois". */
.compare { --position: 50%; position: relative; max-width: 1600px; aspect-ratio: 2 / 1; margin: 0 auto; overflow: hidden; background: #ddd; container-type: inline-size; }
.compare-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; width: var(--position); overflow: hidden; }
/* `100cqw` é a largura da PRÓPRIA moldura. Com `100vw` a metade "depois" era
   dimensionada pela viewport (1600) enquanto a moldura media 1448, e a imagem
   saía 8% mais alta que a de trás — além de desalinhar as duas metades. */
.compare-after img { width: 100cqw; max-width: none; }
.compare input { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare-line span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: var(--red); border: 5px solid #fff; border-radius: 50%; font-size: 18px; transform: translate(-50%, -50%); }
.compare-label { position: absolute; z-index: 2; top: 18px; padding: 8px 12px; color: #fff; background: rgba(17,16,15,.75); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.label-before { right: 18px; }
.label-after { left: 18px; }

.system { padding: clamp(110px, 14vw, 220px) var(--pad); }
.system-head { max-width: 1400px; margin-bottom: clamp(70px, 10vw, 150px); }
.system-head .section-index { margin-bottom: 38px; }
.system-head h2 { max-width: 1320px; }
.palette { display: grid; grid-template-columns: 1.25fr 1fr .85fr .75fr; min-height: 340px; }
.swatch { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.swatch b { font-weight: 600; }
.swatch-black { color: #fff; background: #11100f; border: 1px solid rgba(255,255,255,.18); }
.swatch-red { background: var(--red); }
.swatch-cream { color: var(--black); background: var(--cream); }
.swatch-white { color: var(--black); background: var(--paper); }
.type-specimen { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px; margin-top: 1px; background: rgba(255,255,255,.14); }
.type-specimen > div { min-height: 390px; padding: clamp(28px, 4vw, 70px); background: var(--black); }
.type-specimen p { color: rgba(255,255,255,.42); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.type-specimen strong { display: block; margin-top: 65px; font-family: var(--display); font-size: clamp(52px, 7vw, 114px); letter-spacing: -.075em; line-height: .82; }
.type-specimen strong em { color: var(--red); font-style: normal; }
.type-specimen > div:last-child { display: flex; flex-direction: column; justify-content: space-between; }
.type-specimen > div:last-child span { max-width: 620px; color: rgba(255,255,255,.82); font-size: clamp(20px, 2vw, 32px); line-height: 1.45; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 1px; background: rgba(255,255,255,.14); }
.principles article { min-height: 240px; padding: 28px; background: var(--black); }
.principles article > span { color: var(--red); font-size: 10px; font-weight: 700; }
.principles h3 { margin: 55px 0 9px; font-family: var(--display); font-size: 24px; letter-spacing: -.04em; }
.principles p { color: rgba(255,255,255,.45); font-size: 13px; }

.motion { padding: clamp(100px, 12vw, 190px) var(--pad); }
.motion-head { display: grid; grid-template-columns: .4fr 1.6fr; gap: 50px; align-items: start; max-width: 1600px; margin: 0 auto clamp(55px, 8vw, 110px); }
.motion-head h2 { margin: 0; }
.video-frame { position: relative; max-width: 1600px; margin: auto; border: 1px solid rgba(255,255,255,.12); background: #111; }
.video-frame::before { content: "PROTOTYPE / 01"; display: block; padding: 13px 18px; color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.12); font-size: 9px; letter-spacing: .12em; }
/* Sem proporção forçada: o arquivo é 1102x552 (2:1) e o 16/9 da moldura
   cortava 11% da largura. Com `height: auto` o vídeo usa a própria. */
.video-frame video { width: 100%; height: auto; object-fit: contain; }

.final-cta { position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: var(--black); }
.final-cta > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.final-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,7,.15) 0 43%, rgba(10,8,7,.82) 70%, rgba(10,8,7,.92)); }
.final-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: 48%; min-height: 100svh; margin-left: auto; padding: 100px var(--pad) 100px 4vw; }
.final-content h2 { margin-bottom: 50px; font-size: clamp(48px, 6vw, 102px); }
.big-link { display: flex; justify-content: space-between; align-items: center; width: min(100%, 620px); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); font-family: var(--display); font-size: clamp(19px, 2vw, 30px); font-weight: 650; transition: color .25s; }
.big-link b { color: var(--red); font-size: 38px; font-weight: 400; }
.big-link:hover { color: #ff5d66; }

footer { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 40px; align-items: center; padding: 50px var(--pad); color: rgba(255,255,255,.58); background: var(--black); font-size: 11px; }
.footer-brand { color: #fff; }
footer p { margin: 0; }
footer > a:not(.brand) { color: #fff; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.72,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-media { overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1); }
.reveal-media.is-visible { clip-path: inset(0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .intro { grid-template-columns: 1fr 1fr; }
  .intro-heading { grid-column: 1 / -1; }
  .intro-copy { grid-column: 2; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .strategy-grid { grid-template-columns: 1fr; }
  .strategy h2 { position: static; }
  .chapter { grid-template-columns: 1fr; min-height: auto; }
  .chapter-copy { min-height: auto; }
  /* uma coluna só: a proporção do mockup já define a altura, e um min-height
     aqui voltaria a esticar a caixa e a cortar a imagem */
  .chapter-flip { grid-template-columns: 1fr; }
  .chapter-flip .chapter-copy, .chapter-flip .chapter-visual { order: initial; }
  .mobile-story { grid-template-columns: 1fr; }
  .mobile-copy { padding: 0 0 65px; }
  .space-head, .comparison-head { grid-template-columns: 1fr; }
  .contact-story { grid-template-columns: 1fr; }
  .palette { grid-template-columns: repeat(2, 1fr); }
  .type-specimen { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .motion-head { grid-template-columns: 1fr; }
  .final-content { width: 58%; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .site-header { min-height: 66px; }
  .header-cta { padding: 10px 13px; }
  .header-cta span { display: none; }
  .hero { min-height: 760px; padding-top: 110px; padding-bottom: 34px; }
  .hero-video { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,8,6,.9), rgba(10,8,6,.3) 72%); }
  .hero-kicker { margin-bottom: 180px; }
  .hero h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-bottom { grid-template-columns: 1fr; }
  .circle-link { display: none; }
  .concept-note { top: 80px; font-size: 7px; }
  .grid-lines { background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.1) 50%, transparent calc(50% + .5px)); }
  .intro { grid-template-columns: 1fr; padding-bottom: 70px; }
  .intro-heading, .intro-copy { grid-column: 1; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 45px; }
  .facts div { min-height: 145px; padding: 20px; }
  .cover-caption { grid-template-columns: 1fr; }
  .cover-caption p { justify-self: start; }
  .image-shell img, .wide-visual img, .mobile-visual img { aspect-ratio: 1 / 1; }
  .chapter-copy { padding: 85px var(--pad); }
  .chapter-visual img { object-position: 58% center; }
  .mobile-numbers { grid-template-columns: 1fr; }
  .space-head { gap: 25px; }
  .contact-visual img { object-position: 60% center; }
  /* a moldura mantém a proporção das capturas também aqui: com 4/3 o celular
     cortava 33% da largura das duas metades */
  .compare { aspect-ratio: 2 / 1; }
  .palette { grid-template-columns: 1fr 1fr; min-height: 460px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 190px; }
  .type-specimen > div { min-height: 320px; }
  .final-cta { min-height: 860px; }
  .final-cta > img { object-position: 34% center; }
  .final-shade { background: linear-gradient(0deg, rgba(10,8,7,.95), rgba(10,8,7,.1) 76%); }
  .final-content { justify-content: flex-end; width: 100%; min-height: 860px; padding: 100px var(--pad) 65px; }
  footer { grid-template-columns: 1fr auto; gap: 24px; }
  footer p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-media { clip-path: none; }
}

.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.live-cta,
.secondary-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.live-cta:hover,
.secondary-live:hover { color: var(--white); background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.live-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 64px 0 0;
  padding: 26px 30px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
}
.live-strip strong { display: block; color: var(--white); font-family: var(--display); font-size: clamp(22px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.045em; }
.live-strip span { display: block; margin-top: 8px; color: rgba(255,255,255,.58); font-size: 12px; }
.live-strip a,
.text-live-link,
.comparison-live,
.motion-live {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s, gap .25s;
}
.live-strip a { color: var(--white); }
.live-strip a:hover,
.text-live-link:hover,
.comparison-live:hover,
.motion-live:hover { color: var(--red); gap: 18px; }
.chapter-copy .text-live-link { margin-top: 30px; }
.comparison-live { margin: 38px auto 0; }
.motion-live { margin-top: 30px; color: var(--white); }
.final-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.final-links .secondary-live { color: var(--white); background: transparent; }
.final-links .secondary-live:hover { background: var(--red); }
.agro-case-ending { background: var(--black); }
.agro-case-ending .case-fim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px var(--pad);
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.16);
}
.agro-case-ending .case-fim a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.agro-case-ending .case-fim a:last-child { color: #ff6a73; }

@media (max-width: 720px) {
  .hero-actions { justify-content: flex-start; }
  .hero-actions .live-cta { min-height: 48px; padding: 0 17px; font-size: 9px; }
  .live-strip { grid-template-columns: 1fr; width: auto; margin: 42px var(--pad) 0; padding: 22px; }
  .image-shell img,
  .wide-visual img,
  .mobile-visual img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }
  .chapter-visual,
  .contact-visual { min-height: 0; }
  .chapter-visual img,
  .contact-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
  }
  .final-cta {
    display: grid;
    min-height: 0;
  }
  .final-cta > img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: center;
  }
  .final-shade { display: none; }
  .final-content {
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 62px var(--pad) 72px;
    background: var(--black);
  }
  .final-links { align-items: stretch; flex-direction: column; }
  .final-links a { width: 100%; }
  .agro-case-ending .case-fim { align-items: flex-start; flex-direction: column; }
}
}

@media (max-width: 720px) {
  .agro-case { --pad: 20px; }
}

/* ============================================================
   Camada de fundo — transição de cor entre seções

   As seções declaram a cor em `data-bg` e o JS as deixa transparentes; é a
   camada fixa atrás de tudo que anima. Aqui saem de cena as CAIXAS que
   envolvem as seções e continuariam pintando por cima da camada.

   `.final-cta` entra na lista porque a fronteira da última virada começa
   quando o topo dele ainda está a 75% da tela — opaco, ele apareceria como um
   corte seco de preto entrando enquanto a camada ainda estava clara.
   ============================================================ */

.has-bg-layer .agro-case,
.has-bg-layer .final-cta { background: transparent; }
