/* Arborização — base compartilhada
   Paleta: papel quente + tinta verde-escura; verdes do Cerrado; amarelo-ipê como acento. */
:root {
  --tinta: #121a14;
  --tinta-2: #2a332c;
  --papel: #f3f0e8;
  --papel-2: #e8e3d6;
  --papel-3: #dcd5c4;
  --musgo: #2f4a2d;
  --folha: #5f7f35;
  --lima: #a7c34a;
  --marinho: #1d3466;
  --ipe: #e0ad2e;
  --mudo: #6c6f66;
  --linha: rgba(18, 26, 20, .14);
  --linha-forte: rgba(18, 26, 20, .28);
  --sombra: 0 1px 0 rgba(18, 26, 20, .04), 0 10px 30px -12px rgba(18, 26, 20, .28);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .18, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 16px/1.5 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lima); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--ipe); outline-offset: 2px; }

.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; letter-spacing: -.01em; }
.serif { font-family: var(--serif); }
.rotulo { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ marca (texto, não é o logo oficial) */
.marca-site { display: inline-flex; align-items: baseline; gap: .55em; text-decoration: none; white-space: nowrap; }
.marca-site b { font: 500 21px/1 var(--serif); letter-spacing: -.015em; font-variation-settings: 'opsz' 36; }
.marca-site span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mudo); }

/* ------------------------------------------------------------------ navegação */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 48px); pointer-events: none; }
.topo > * { pointer-events: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; padding: 9px 13px; font: 450 14px/1 var(--sans); text-decoration: none; color: var(--tinta); border-radius: 999px; transition: background .25s var(--ease); }
.menu a:not(.botao)::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu a:not(.botao):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.botao { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: var(--r); background: var(--tinta); color: var(--papel);
  font: 500 14px/1 var(--sans); text-decoration: none; transition: transform .35s var(--ease), background .25s; white-space: nowrap; }
.botao:hover { background: var(--musgo); }
.botao:active { transform: scale(.98); }
.botao .seta { display: inline-block; transition: transform .4s var(--ease); }
.botao:hover .seta { transform: translateX(3px); }
.botao.claro { background: var(--papel); color: var(--tinta); box-shadow: inset 0 0 0 1px var(--linha-forte); }
.botao.claro:hover { background: #fff; }
.menu .botao { margin-left: 10px; }
.menu a.botao { color: var(--papel); }
.menu a.botao::after { display: none; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px; background: var(--papel); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .menu a { font: 400 34px/1.1 var(--serif); padding: 10px 16px; }
  .menu .botao { font: 500 16px/1 var(--sans); margin: 18px 0 0; }
  body.menu-aberto .menu { opacity: 1; visibility: visible; }
  .menu-btn { display: inline-flex; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--papel); box-shadow: var(--sombra); align-items: center; justify-content: center; }
  .menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--tinta); position: relative; transition: transform .3s var(--ease); }
  .menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--tinta); transition: transform .3s var(--ease); }
  .menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
  body.menu-aberto .menu-btn i { background: transparent; }
  body.menu-aberto .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
  body.menu-aberto .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ------------------------------------------------------------------ transição de copas (entre páginas e cenas) */
.copas-tela { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2000; display: none; pointer-events: none; }
.copas-tela.on { display: block; pointer-events: auto; }
html.chegando body::after { content: ''; position: fixed; inset: 0; z-index: 1999; background: #1d2818; }

/* ------------------------------------------------------------------ botões: fundo que sobe, ímã e onda no clique */
.botao { position: relative; isolation: isolate; overflow: hidden; transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform .5s var(--ease), background .25s, color .35s var(--ease); }
.botao::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--musgo); border-radius: inherit;
  transform: translateY(102%); transition: transform .55s var(--ease); }
.botao:hover::before { transform: translateY(0); }
.botao:hover { background: var(--tinta); }
.botao:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(.97); }
.botao.claro::before { background: var(--tinta); }
.botao.claro:hover { background: var(--papel); color: var(--papel); }
.tem-onda { position: relative; overflow: hidden; }
.onda-clique { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0);
  animation: onda-clique .85s var(--ease) forwards; }
@keyframes onda-clique { to { transform: scale(1); opacity: 0; } }

/* luz que segue o cursor nos cartões */
.met, .cf-grade article, .c-porque-grade > div, .c-ingredientes li { position: relative; }
.met::after, .cf-grade article::after, .c-porque-grade > div::after, .c-ingredientes li::after, [data-luz]::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 50%), rgba(167, 195, 74, .16), transparent 62%); }
.met:hover::after, .cf-grade article:hover::after, .c-porque-grade > div:hover::after, .c-ingredientes li:hover::after, [data-luz]:hover::after { opacity: 1; }

/* links do rodapé: sublinhado que corre */
.rodape nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); width: fit-content; }
.rodape nav a:hover { text-decoration: none; background-size: 100% 1px; }

/* barra de leitura */
.leitura { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.leitura i { display: block; height: 100%; background: var(--lima); transform-origin: left; transform: scaleX(0); }

/* revelações */
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pal > span { display: inline-block; will-change: transform; }
.c-receita, .rodape, .c-porque-grade { position: relative; }
.fio-secao { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: currentColor; opacity: .6; z-index: 1;
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-io); pointer-events: none; }
.fio-secao.desenhado { transform: scaleX(1); }
[data-afasta] { will-change: transform, opacity; }

/* ------------------------------------------------------------------ revelação de texto */
.linha-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.linha-mask > span { display: inline-block; will-change: transform; }

/* ------------------------------------------------------------------ rodapé */
.rodape { padding: 64px clamp(18px, 4vw, 48px) 32px; border-top: 1px solid var(--linha); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; font-size: 14px; }
.rodape p { margin: 8px 0 0; color: var(--mudo); max-width: 34ch; }
.rodape nav { display: grid; gap: 8px; align-content: start; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rodape .fim { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--linha); color: var(--mudo); font: 400 12px/1.5 var(--mono); }
@media (max-width: 760px) { .rodape { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ placa (texto encaixado na foto real) */
/* texto aplicado na placa */
.placa-texto { position: absolute; left: 0; top: 0; width: 1000px; height: 360px; transform-origin: 0 0; pointer-events: none; }
.pt-faixa { position: absolute; left: 150px; top: 52px; width: 730px; height: 64px; display: flex; align-items: center; justify-content: center;
  font: 600 30px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(38, 38, 36, .78);
  text-shadow: 0 1.5px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .28); filter: blur(.35px); mix-blend-mode: multiply; }
.pt-marca { position: absolute; left: 40px; right: 40px; top: 132px; height: 126px; display: flex; align-items: center; justify-content: center; text-align: center;
  mix-blend-mode: multiply; filter: blur(.4px) contrast(.95); opacity: .93; }
.pt-marca .wm { font-size: 84px; line-height: 1; white-space: nowrap; }
.pt-rodape { position: absolute; left: 40px; right: 40px; top: 272px; height: 46px; display: flex; align-items: center; justify-content: center;
  font: 600 27px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(38, 38, 36, .76);
  text-shadow: 0 1.5px 0 rgba(255, 255, 255, .5), 0 -1px 0 rgba(0, 0, 0, .25); filter: blur(.35px); mix-blend-mode: multiply; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
