/* AIRTO — site de vendas. Cores e fonte do Manual da Marca AIRTO v1.0.
   Cada seção é um capítulo de uma cor só; o cabeçalho pega a cor do capítulo embaixo dele. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* paleta da marca */
  --safra: #0F3B2B;
  --folha: #2A744A;
  --palha: #E8C25E;
  --palha-clara: #F7EBC8;
  --areia: #F4F1EA;
  --tinta: #13221A;
  --terra: #8E3A20;
  --branco: #FFFFFF;
  --balao: #D9F2C7;
  --chat-fundo: #EFEAE2;

  /* tipo: cinco degraus */
  --t-poster: clamp(44px, 8.4vw, 132px);
  --t-display: clamp(30px, 4.7vw, 76px);
  --t-statement: clamp(22px, 2vw, 30px);
  --t-lead: clamp(18px, 1.35vw, 21px);
  --t-small: 15px;

  /* espaço */
  --m: clamp(20px, 3.4vw, 56px);
  --gap: clamp(12px, 1.6vw, 24px);
  --block: clamp(72px, 9vw, 136px);
  --radius: 6px;
  --top-h: 80px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top-h); scrollbar-color: var(--folha) var(--areia); }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--areia);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--palha); outline-offset: 3px; }
[data-field="palha"] :focus-visible, [data-field="areia"] :focus-visible, [data-field="palha-clara"] :focus-visible { outline-color: var(--safra); }
::selection { background: var(--palha); color: var(--safra); }

.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; padding: 12px 18px; background: var(--safra); color: var(--areia); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap {
  padding-inline: var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* marcação visível do que ainda falta */
.pendente {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--terra);
  color: var(--branco);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.4;
}

/* botões: um formato só, cantos de 6 px, altura mínima 48 px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius);
  font: 600 18px/1.2 "Poppins", "Segoe UI", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--palha { background: var(--palha); color: var(--safra); }
.btn--palha:hover { background: #F0D27E; }
.btn--safra { background: var(--safra); color: var(--areia); }
.btn--safra:hover { background: #1A5640; }
.btn--clara { background: var(--palha-clara); color: var(--safra); }
.btn--clara:hover { background: #EFDDAA; }
.btn--small { min-height: 48px; padding: 10px 18px; font-size: 15px; }
.btn--big { min-height: 60px; padding: 16px 32px; }

.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- entrada das partes de cada seção ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* ---------- cabeçalho: pega a cor do capítulo embaixo dele ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--m);
  background: var(--areia);
  color: var(--tinta);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.top[data-field="safra"] { background: var(--safra); color: var(--areia); }
.top[data-field="tinta"] { background: var(--tinta); color: var(--areia); }
.top[data-field="palha"] { background: var(--palha); color: var(--tinta); }
.top[data-field="palha-clara"] { background: var(--palha-clara); color: var(--tinta); }
.top__logo { display: block; width: 132px; }
.top__logo img { width: 100%; height: auto; }
.top__logo .logo-escuro { display: none; }
.top:is([data-field="safra"], [data-field="tinta"]) .logo-claro { display: none; }
.top:is([data-field="safra"], [data-field="tinta"]) .logo-escuro { display: block; }
.top__nav { display: flex; align-items: center; gap: 30px; }
.top__nav a:not(.btn) { font-size: 15px; font-weight: 600; text-decoration: none; padding-block: 12px; }
.top__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn--top { min-height: 48px; padding: 10px 20px; font-size: 15px; background: var(--safra); color: var(--areia); }
.btn--top:hover { background: #1A5640; }
.top:is([data-field="safra"], [data-field="tinta"]) .btn--top { background: var(--palha); color: var(--safra); }
.top:is([data-field="safra"], [data-field="tinta"]) .btn--top:hover { background: #F0D27E; }
.top__cta-curto { display: none; }

/* ---------- 1 · topo: dois campos que se encontram numa linha ---------- */
.hero {
  position: relative;
  min-height: calc(100svh + 10svh);
  display: grid;
  grid-template-rows: 54svh 1fr;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  background: var(--safra);
  isolation: isolate;
}
.hero__top {
  background: var(--areia);
  align-content: end;
  padding-bottom: clamp(28px, 4.2svh, 48px);
}
.hero__title {
  grid-column: 1 / 8;
  font-size: var(--t-display);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tinta);
  text-wrap: balance;
}
.hero__bottom { align-self: start; align-content: start; padding-top: clamp(28px, 4.2svh, 48px); padding-bottom: 96px; color: var(--areia); }
.hero__copy { grid-column: 1 / 7; display: grid; gap: 28px; justify-items: start; align-content: start; }
.hero__lead { font-size: var(--t-lead); line-height: 1.55; max-width: 34em; }
.hero__micro { font-size: var(--t-small); color: var(--palha-clara); margin-top: -14px; }

.hero__stage {
  position: absolute;
  top: calc(var(--top-h) + 8px + 2svh);
  right: var(--m);
  width: min(41vw, 600px);
  height: calc(100svh - 88px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
}
.hero__airto {
  position: absolute;
  right: calc(min(380px, 27vw) - 26px);
  bottom: 0;
  width: auto;
  height: min(46svh, 430px);
  z-index: 1;
}
.chat-fig { position: relative; z-index: 2; margin: 0; pointer-events: auto; width: min(380px, 27vw); }
.chat-fig figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--palha-clara); }

/* a conversa (fragmento de interface) */
.chat {
  display: flex;
  flex-direction: column;
  height: min(640px, calc(100svh - 150px));
  background: var(--chat-fundo);
  border-radius: 18px;
  overflow: hidden;
  color: #111B21;
  font-size: 14px;
  line-height: 1.42;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--branco); }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--palha-clara); flex: none; }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transform: scale(1.5); transform-origin: 50% 10%; }
.chat__who { min-width: 0; }
.chat__name { font-weight: 600; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__status { font-size: 13px; color: #4F5F68; }
.chat__body { flex: 1; overflow-y: auto; padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; }
.chat__body::-webkit-scrollbar { display: none; }
.chat__day { align-self: center; background: var(--branco); color: #4F5F68; font-size: 13px; padding: 3px 10px; border-radius: 7px; margin-bottom: 4px; }

.msg { position: relative; max-width: 86%; padding: 7px 10px 20px; border-radius: 8px; background: var(--branco); white-space: pre-line; overflow-wrap: anywhere; }
.msg--out { align-self: flex-end; background: var(--balao); }
.msg--in { align-self: flex-start; }
.msg__time { position: absolute; right: 9px; bottom: 3px; font-size: 13px; color: #4F5F68; }
.msg--doc { display: flex; align-items: center; gap: 10px; padding-bottom: 22px; min-width: 230px; white-space: normal; }
.msg__pdf { flex: none; width: 34px; height: 40px; border-radius: 4px; background: var(--terra); color: var(--branco); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.msg__file { display: grid; }
.msg__file b { font-weight: 600; }
.msg__file span { font-size: 13px; color: #4F5F68; }
.msg--audio { display: flex; align-items: center; gap: 10px; min-width: 210px; padding-bottom: 20px; white-space: normal; }
.msg__play { width: 0; height: 0; border-left: 12px solid #4F5F68; border-top: 8px solid transparent; border-bottom: 8px solid transparent; flex: none; }
.msg__wave { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; }
.msg__wave i { display: block; width: 3px; border-radius: 2px; background: #6F8A7F; }
.msg__dur { font-size: 13px; color: #4F5F68; }
.msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: dot 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat__foot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--chat-fundo); }
.chat__reply {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 24px;
  background: var(--safra);
  color: var(--palha);
  font: 600 16px/1.2 "Poppins", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.chat__reply:hover { background: #1A5640; }
.chat__reply:active { transform: scale(.98); }
.chat__reply[hidden] { display: none; }

/* com JavaScript, a conversa se monta aos poucos e o SIM fica para o visitante */
.js .msg[data-step] { display: none; }
.js .msg[data-step].is-on { display: flex; }
.js .msg[data-step]:not(.msg--doc):not(.msg--audio).is-on { display: block; }
.msg.is-new { animation: rise .32s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.no-js .chat__foot { display: none; }

/* ---------- 2 · a dor: quadro de peças ---------- */
.dor { background: var(--areia); padding: 8px 8px 0; }
.dor__board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 38svh 38svh auto;
  gap: 8px;
}
.dor__tile { position: relative; overflow: hidden; border-radius: var(--radius); }
.dor__tile--a {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  background: var(--tinta);
  color: var(--areia);
  display: grid;
  align-content: end;
  padding: 28px calc(var(--m) - 8px) clamp(28px, 4svh, 48px);
}
.dor__title { font-size: var(--t-display); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; max-width: 11em; text-wrap: balance; }
.dor__tile--b { grid-column: 9 / 13; grid-row: 1; }
.dor__tile--c { grid-column: 9 / 13; grid-row: 2; }
.dor__tile--b img, .dor__tile--c img { width: 100%; height: 100%; object-fit: cover; }
.js .dor__tile--b img, .js .dor__tile--c img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js .dor__tile--b.is-in img, .js .dor__tile--c.is-in img { transform: none; }
.dor__tile--text { grid-column: 1 / 13; grid-row: 3; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(40px, 6svh, 72px) calc(var(--m) - 8px) var(--block); }
.dor__text { grid-column: 7 / 13; display: grid; gap: 1em; font-size: var(--t-statement); line-height: 1.38; }

/* ---------- 3 · como funciona: as etapas são uma barra ---------- */
.passos { background: var(--palha); color: var(--tinta); padding-block: var(--block); }
.passos__title { grid-column: 1 / -1; font-size: var(--t-poster); line-height: .98; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 64px; }
.passos__bar { grid-column: 1 / -1; display: flex; gap: 6px; }
.passos__seg { flex: 1 1 0; min-width: 12%; display: grid; grid-template-rows: auto 1fr; gap: 22px; }
.passos__seg--3 { flex-grow: 1.7; }
.passos__block { height: 22vh; min-height: 150px; padding: 20px 22px; border-radius: var(--radius); color: var(--areia); transform-origin: left center; }
.passos__seg--1 .passos__block { background: var(--safra); }
.passos__seg--2 .passos__block { background: var(--folha); }
.passos__seg--3 .passos__block { background: var(--tinta); }
.passos__block h3 { font-size: var(--t-statement); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; max-width: 14ch; }
.passos__seg p { font-size: var(--t-lead); line-height: 1.5; max-width: 30ch; padding-right: 12px; }
.js .passos__block { transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .passos__block h3 { opacity: 0; transition: opacity .5s var(--ease); transition-delay: calc(var(--d, 0ms) + 500ms); }
.js .passos__seg p { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0ms) + 600ms); }
.js .passos__bar.is-in .passos__block { transform: none; }
.js .passos__bar.is-in .passos__block h3, .js .passos__bar.is-in .passos__seg p { opacity: 1; transform: none; }

/* ---------- 4 · na conversa: índice à esquerda, print à direita ---------- */
.conversa { background: var(--safra); color: var(--areia); }
.conversa > .wrap {
  display: grid;
  grid-template-columns: calc((100% - 2 * var(--m)) * 6 / 12 + var(--m) - var(--gap) / 2) 1fr;
  column-gap: 0;
  padding: 0;
  min-height: 100svh;
}
.conversa__index { padding: var(--block) calc(var(--gap) * 2) var(--block) var(--m); display: grid; align-content: start; gap: 22px; }
.conversa__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.conversa__note { font-size: var(--t-lead); color: var(--palha-clara); max-width: 30em; }
.conversa__list { display: grid; gap: 8px; margin-top: 28px; justify-items: start; }
.conversa__pick {
  min-height: 56px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--areia);
  font: 600 var(--t-statement)/1.2 "Poppins", "Segoe UI", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.conversa__pick:hover { background: #1A5640; }
.conversa__pick[aria-selected="true"] { background: var(--palha); color: var(--safra); }
.no-js .conversa__list { display: none; }
.conversa__sheet {
  background: var(--palha-clara);
  color: var(--tinta);
  padding: var(--block) var(--m) var(--block) calc(var(--gap) * 2);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 48px;
}
.conversa__print { width: min(380px, 100%); }
.conversa__print figure { display: grid; gap: 16px; }
.conversa__print img { width: 100%; height: auto; border-radius: 16px; }
.conversa__print figcaption { font-size: var(--t-small); line-height: 1.5; color: var(--tinta); }
.js .conversa__print { grid-area: 1 / 1; }
.js .conversa__print[hidden] { display: none; }
.conversa__print.is-new { animation: rise .45s var(--ease) both; }

/* ---------- 5 · o que muda: palavras grandes à esquerda, o fato à direita ---------- */
.muda { background: var(--areia); color: var(--tinta); padding-block: var(--block); }
.muda__head { grid-column: 1 / 10; margin-bottom: clamp(48px, 7svh, 88px); }
.muda__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.muda__rows { grid-column: 1 / -1; display: grid; gap: clamp(36px, 5svh, 56px); }
.muda__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; }
.muda__row h3 { grid-column: 1 / 7; font-size: var(--t-statement); line-height: 1.2; font-weight: 700; color: var(--safra); letter-spacing: -0.01em; }
.muda__row p { grid-column: 7 / 12; font-size: var(--t-lead); line-height: 1.5; }

/* ---------- 6 · para quem é ---------- */
.quem { background: var(--palha); color: var(--tinta); padding-block: var(--block); }
.quem__title { grid-column: 1 / 11; font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; margin-bottom: clamp(40px, 6svh, 72px); }
.quem__photo { grid-column: 1 / 6; grid-row: 2; align-self: start; position: sticky; top: calc(var(--top-h) + 24px); }
.quem__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.quem__lists { grid-column: 7 / 13; grid-row: 2; display: grid; gap: 28px; align-content: start; }
.quem__list { display: grid; gap: 22px; }
.quem__list li { position: relative; padding-left: 34px; }
.quem__list li::before { content: ""; position: absolute; left: 0; width: 14px; height: 14px; border-radius: 3px; }
.quem__list--sim li { font-size: var(--t-statement); line-height: 1.3; }
.quem__list--sim li::before { top: .5em; background: var(--safra); }
.quem__subtitle { font-size: var(--t-statement); line-height: 1.2; font-weight: 700; margin-top: 36px; }
.quem__list--nao li { font-size: var(--t-lead); line-height: 1.5; }
.quem__list--nao li::before { top: .45em; background: var(--terra); }

/* ---------- 7 · feito por produtores ---------- */
.produtores { background: var(--tinta); color: var(--areia); padding-bottom: var(--block); }
.produtores__photo { height: 72svh; min-height: 360px; overflow: hidden; }
.produtores__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.produtores__body { padding-top: clamp(56px, 8svh, 104px); row-gap: 40px; }
.produtores__title { grid-column: 1 / 11; font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.produtores__quote { grid-column: 1 / 8; display: grid; gap: 18px; align-content: start; }
.produtores__quote p { font-size: var(--t-statement); line-height: 1.38; }
.produtores__quote footer { font-size: var(--t-small); font-weight: 600; color: var(--palha); }
.produtores__facts { grid-column: 8 / 13; display: grid; gap: 20px; align-content: start; justify-items: start; padding-left: var(--gap); }
.produtores__facts p { font-size: var(--t-lead); line-height: 1.5; }
.produtores__facts .produtores__testado { font-weight: 600; color: var(--palha); }
.produtores__facts .produtores__empresa { font-size: var(--t-small); color: var(--palha-clara); }
.produtores__facts .pendente { font-size: var(--t-small); }
@supports (animation-timeline: view()) {
  .produtores__photo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1) translateY(3%); } }
}

/* ---------- 8 · a oferta: dois campos ---------- */
.oferta { display: grid; grid-template-columns: calc((100% - 2 * var(--m)) * 7 / 12 + var(--m) - var(--gap) / 2) 1fr; }
.oferta__teste {
  background: var(--palha);
  color: var(--tinta);
  min-height: 92svh;
  padding: var(--block) calc(var(--gap) * 2) clamp(40px, 6svh, 64px) var(--m);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
}
.oferta__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; max-width: 12em; }
.oferta__destaque { font-size: var(--t-statement); line-height: 1.25; font-weight: 700; color: var(--safra); }
.oferta__inclui { display: grid; gap: 14px; align-content: start; margin-top: 16px; }
.oferta__inclui h3 { font-size: var(--t-lead); font-weight: 600; }
.oferta__inclui li { position: relative; padding-left: 28px; font-size: var(--t-lead); line-height: 1.45; }
.oferta__inclui li + li { margin-top: 8px; }
.oferta__inclui li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--safra); }
.oferta__base { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); }
.oferta__grande { font-size: var(--t-poster); line-height: .82; font-weight: 700; letter-spacing: -0.04em; color: var(--safra); }
.oferta__depois {
  background: var(--safra);
  color: var(--areia);
  padding: var(--block) var(--m) clamp(40px, 6svh, 64px) calc(var(--gap) * 2);
  display: grid;
  gap: 24px;
  align-content: start;
}
.oferta__subtitle { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.oferta__depois p { font-size: var(--t-lead); line-height: 1.55; max-width: 32em; }
.oferta__depois .oferta__garantia { font-size: var(--t-statement); line-height: 1.3; font-weight: 700; color: var(--palha); margin-top: 12px; }
.oferta__depois .oferta__nota { font-size: var(--t-small); color: var(--palha-clara); }

/* ---------- 9 · perguntas: peças cheias ---------- */
.faq { background: var(--areia); color: var(--tinta); padding-block: var(--block); }
.faq__title { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--top-h) + 24px); font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; padding-right: var(--gap); }
.faq__list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq details { border-radius: var(--radius); background: var(--palha-clara); transition: background-color .25s var(--ease); }
.faq details[open] { background: var(--palha); }
.faq summary {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px 72px 18px 24px;
  font-size: var(--t-lead);
  line-height: 1.35;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--safra); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.faq details p { padding: 0 24px 24px; max-width: 52ch; font-size: 18px; line-height: 1.6; }
.faq details:not([open]) p { display: none; }
.faq details[open] p { animation: rise .35s var(--ease) both; }
.faq details a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- 10 · fechamento: uma palavra é o botão ---------- */
.fecho { background: var(--palha); }
.fecho__link {
  min-height: 64svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 6svh, 64px) var(--m) 24px;
  color: var(--tinta);
  text-decoration: none;
  overflow: hidden;
}
.fecho__link:hover, .fecho__link:focus-visible { background: var(--safra); color: var(--palha); outline: none; }
.fecho__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.fecho__copy { display: grid; gap: 12px; max-width: 34em; }
.fecho__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.fecho__texto { font-size: var(--t-lead); }
.fecho__micro { font-size: var(--t-small); font-weight: 600; }
.fecho__arrow { flex: none; width: 48px; height: 48px; transition: transform .3s var(--ease); }
.fecho__link:hover .fecho__arrow { transform: translate(4px, -4px); }
.fecho__link { container-type: inline-size; }
.fecho__word { display: block; font-size: 20vw; font-size: calc(100cqw / 4.5); line-height: .92; padding-bottom: .12em; font-weight: 700; letter-spacing: -0.05em; white-space: nowrap; margin-left: -.04em; }

/* ---------- rodapé ---------- */
.rodape { background: var(--safra); color: var(--areia); padding: clamp(56px, 8svh, 96px) 0 40px; }
.rodape__logo { grid-column: 1 / -1; width: 100%; height: auto; margin-bottom: 72px; }
.rodape__contatos { grid-column: 1 / 6; display: grid; gap: 14px; align-content: start; justify-items: start; }
.rodape__contatos a { font-size: var(--t-statement); line-height: 1.25; font-weight: 600; color: var(--palha); text-decoration: none; }
.rodape__contatos a:hover { text-decoration: underline; text-underline-offset: 5px; }
.rodape__links { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-content: start; }
.rodape__links ul { display: grid; gap: 4px; align-content: start; }
.rodape__links a, .rodape__links .linklike { display: inline-flex; align-items: center; min-height: 48px; font-size: var(--t-small); text-decoration: none; }
.rodape__links a:hover, .rodape__links .linklike:hover { text-decoration: underline; text-underline-offset: 4px; }
.rodape__links .linklike { text-decoration: none; text-align: left; }
.rodape__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 96px; font-size: 15px; color: var(--palha-clara); }
.rodape__legal a { display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- botão fixo do celular ---------- */
.fixo {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
  display: none;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--palha);
  color: var(--safra);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transform: translateY(140%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.fixo.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }

/* ---------- aviso de cookies ---------- */
.cookies {
  position: fixed;
  right: var(--m);
  bottom: 16px;
  z-index: 30;
  width: min(560px, calc(100% - 2 * var(--m)));
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--tinta);
  color: var(--areia);
}
.cookies[hidden] { display: none; }
.cookies__text { font-size: 15px; line-height: 1.5; }
.cookies__text a { color: var(--palha); font-weight: 600; text-underline-offset: 3px; }
.cookies__acoes { display: flex; gap: 10px; }
.cookies__acoes .btn { flex: 1; }
.cookies .btn--safra { background: var(--palha); color: var(--safra); }
.cookies .btn--safra:hover { background: #F0D27E; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .top__nav a:not(.btn) { display: none; }
  .hero { grid-template-rows: auto auto auto; min-height: 0; }
  .hero__top { padding-top: 112px; padding-bottom: 36px; }
  .hero__title { grid-column: 1 / -1; font-size: clamp(28px, 7.1vw, 60px); }
  .hero__copy { grid-column: 1 / -1; }
  .hero__lead { max-width: none; }
  .hero__bottom { padding-top: 36px; padding-bottom: 48px; }
  .hero__stage { position: relative; inset: auto; width: auto; height: auto; padding: 150px var(--m) 72px; display: grid; justify-items: stretch; }
  .hero__stage .chat-fig { justify-self: center; width: 100%; max-width: 560px; }
  .chat { height: 560px; }
  .hero__airto { right: auto; left: calc(50% + min(220px, 50vw - var(--m)) - 150px); top: 0; bottom: auto; height: 190px; z-index: 1; }

  .dor__tile--text { grid-template-columns: 1fr; }
  .dor__text { grid-column: 1 / -1; max-width: 36em; margin-left: auto; }

  .conversa > .wrap { grid-template-columns: 1fr; min-height: 0; }
  .conversa__index { padding: var(--block) var(--m) 48px; }
  .conversa__list { grid-template-columns: repeat(3, auto); justify-content: start; }
  .conversa__pick { font-size: 18px; min-height: 52px; }
  .conversa__sheet { padding: 56px var(--m) 64px; }

  .muda__row h3 { grid-column: 1 / 6; }
  .muda__row p { grid-column: 6 / 13; }

  .quem__photo { grid-column: 1 / 13; position: static; margin-bottom: 40px; }
  .quem__photo img { aspect-ratio: 16 / 9; }
  .quem__lists { grid-column: 1 / 13; grid-row: 3; }

  .muda__head, .quem__title, .produtores__title { grid-column: 1 / -1; }
  .produtores__quote { grid-column: 1 / -1; }
  .produtores__facts { grid-column: 1 / -1; padding-left: 0; max-width: 40em; }

  .oferta { grid-template-columns: 1fr; }
  .oferta__teste { min-height: 0; padding: var(--block) var(--m) 56px; }
  .oferta__depois { padding: 64px var(--m) var(--block); }

  .faq__title { grid-column: 1 / -1; position: static; margin-bottom: 36px; }
  .faq__list { grid-column: 1 / -1; }

  .rodape__contatos { grid-column: 1 / -1; margin-bottom: 40px; }
  .rodape__links { grid-column: 1 / -1; }
}

/* ---------- celular ---------- */
@media (max-width: 720px) {
  :root { --top-h: 68px; }
  .top { padding: 0 var(--m); }
  .top__logo { width: 104px; }
  .top__cta-longo { display: none; }
  .top__cta-curto { display: inline; }
  .hero__top { padding-top: 96px; padding-bottom: 28px; }
  .hero__copy .btn { width: 100%; }
  .hero__airto { left: auto; right: var(--m); }

  .dor { padding: 6px 6px 0; }
  .dor__board { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 6px; }
  .dor__tile--a { grid-column: 1 / 3; grid-row: 1; min-height: 30svh; padding: 24px calc(var(--m) - 6px) 28px; }
  .dor__title { font-size: 8.6vw; }
  .dor__tile--b { grid-column: 1; grid-row: 2; aspect-ratio: 1; }
  .dor__tile--c { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .dor__tile--text { grid-column: 1 / 3; grid-row: 3; padding: 40px calc(var(--m) - 6px) 72px; }
  .dor__text { font-size: 20px; line-height: 1.5; margin-left: 0; }

  .passos__title { margin-bottom: 40px; }
  .passos__bar { flex-direction: column; gap: 6px; }
  .passos__seg { gap: 14px; padding-bottom: 22px; }
  .passos__block { height: auto; min-height: 96px; padding: 18px 20px; transform-origin: top center; }
  .passos__seg--3 .passos__block { min-height: 150px; }
  .passos__block h3 { max-width: none; font-size: 22px; }
  .passos__seg p { font-size: 18px; max-width: none; }
  .js .passos__block { transform: scaleY(0); }

  .conversa__list { grid-template-columns: 1fr; justify-items: stretch; }
  .conversa__pick { width: 100%; }

  .muda__row h3, .muda__row p { grid-column: 1 / -1; }
  .muda__row p { margin-top: 8px; font-size: 18px; }

  .quem__photo img { aspect-ratio: 4 / 3; }
  .quem__list li { padding-left: 28px; }
  .quem__list--sim li { font-size: 20px; }

  .produtores__photo { height: 52svh; min-height: 280px; }

  .oferta__base { flex-direction: column; align-items: stretch; margin-top: 80px; }
  .oferta__base .btn { width: 100%; }
  .oferta__grande { font-size: 24vw; }

  .faq summary { font-size: 18px; min-height: 64px; padding: 16px 60px 16px 20px; }
  .faq summary::before, .faq summary::after { right: 22px; }
  .faq details p { padding: 0 20px 20px; font-size: 18px; }

  .fecho__link { min-height: 48svh; padding-bottom: 18px; }
  .fecho__texto { font-size: 18px; }
  .fecho__arrow { width: 36px; height: 36px; }

  .rodape__logo { margin-bottom: 48px; }
  .rodape__contatos a { font-size: 22px; }
  .rodape__links { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .rodape__legal { margin-top: 56px; padding-bottom: 72px; }

  .fixo { display: flex; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .cookies { left: 12px; right: 12px; width: auto; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .produtores__photo img { animation: none !important; transform: none !important; }
}

/* com o aviso de cookies aberto, o botão fixo espera */
.tem-aviso .fixo.is-on { transform: translateY(140%); visibility: hidden; }

/* =========================================================
   Páginas de apoio: obrigado, 404 e páginas legais
   ========================================================= */
.pagina { min-height: 100svh; padding-top: calc(var(--top-h) + clamp(32px, 6svh, 72px)); padding-bottom: var(--block); }

/* obrigado */
.pagina--obrigado { background: var(--safra); color: var(--areia); display: grid; align-content: center; }
.obrigado__texto { grid-column: 1 / 8; display: grid; gap: 24px; justify-items: start; align-content: start; }
.obrigado__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.obrigado__lead { font-size: var(--t-statement); line-height: 1.38; max-width: 26em; }
.obrigado__sub { margin-top: 32px; font-size: var(--t-lead); font-weight: 700; color: var(--palha); }
.obrigado__passos { counter-reset: passo; display: grid; gap: 14px; }
.obrigado__passos li { counter-increment: passo; position: relative; padding-left: 48px; font-size: var(--t-lead); line-height: 1.5; max-width: 34em; }
.obrigado__passos li::before { content: counter(passo); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: var(--radius); background: var(--palha); color: var(--safra); font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.obrigado__dica { margin-top: 8px; font-size: 18px; color: var(--palha-clara); }
.obrigado__dica b { color: var(--palha); }
.obrigado__airto { grid-column: 9 / 13; align-self: end; width: 100%; max-width: 380px; height: auto; justify-self: end; }
.js .obrigado__airto { animation: rise .8s var(--ease) both .2s; }

/* 404 */
.pagina--404 { background: var(--tinta); color: var(--areia); display: grid; align-content: center; }
.erro__texto { grid-column: 1 / 8; display: grid; gap: 24px; justify-items: start; }
.erro__codigo { font-size: var(--t-poster); line-height: .9; font-weight: 700; letter-spacing: -0.04em; color: var(--palha); }
.erro__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.erro__lead { font-size: var(--t-lead); max-width: 30em; }
.erro__airto { grid-column: 9 / 13; align-self: end; width: 100%; max-width: 340px; height: auto; justify-self: end; }

/* páginas legais */
.pagina--legal { background: var(--areia); }
.legal { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 760px; }
.legal__aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 18px; margin-bottom: 40px; border-radius: var(--radius); background: var(--palha-clara); font-size: var(--t-small); font-weight: 600; }
.legal__title { font-size: var(--t-display); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 40px; }
.legal h2 { font-size: var(--t-statement); line-height: 1.25; font-weight: 700; margin: 48px 0 16px; scroll-margin-top: calc(var(--top-h) + 16px); }
.legal p, .legal li { font-size: 18px; line-height: 1.65; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal ul { display: grid; gap: 10px; margin-top: 12px; }
.legal li { position: relative; padding-left: 26px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 2px; background: var(--folha); }
.legal a { font-weight: 600; color: var(--safra); text-underline-offset: 3px; }
.legal strong { font-weight: 600; }
.legal .pendente { font-size: 15px; }
.legal__tabela { overflow-x: auto; margin: 16px 0 8px; border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; }
.legal th { background: var(--safra); color: var(--areia); font-weight: 600; }
.legal tbody tr:nth-child(odd) { background: var(--palha-clara); }
.legal tbody tr:nth-child(even) { background: #FBF5E3; }
.legal__versao { margin-top: 48px !important; font-size: var(--t-small) !important; }

/* rodapé curto das páginas de apoio */
.rodape--curto { padding-top: clamp(48px, 7svh, 80px); }
.rodape--curto .rodape__links { grid-template-columns: 1fr; }
.rodape--curto .rodape__legal { margin-top: 56px; }
.rodape[data-field="tinta"] { background: var(--tinta); }

@media (max-width: 1023px) {
  .obrigado__texto, .erro__texto { grid-column: 1 / -1; }
  .obrigado__airto, .erro__airto { grid-column: 1 / -1; justify-self: start; max-width: 200px; margin-top: 48px; }
  .legal { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .obrigado__texto .btn, .erro__texto .btn { width: 100%; }
  .obrigado__airto, .erro__airto { max-width: 150px; }
  .legal p, .legal li { font-size: 18px; }
  .legal table { font-size: 15px; }
  .legal th, .legal td { padding: 10px; }
}
