/* Bar do Zeca — cardápio online. Celular primeiro; computador a partir de 960px. */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 94% 112%;
  font-display: swap;
}

:root {
  /* lousa verde de boteco, giz, luz de lâmpada e o verde do sapo */
  --lousa: #173A2E;
  --lousa-funda: #10291F;
  --folha: #1D4436;
  --folha-clara: #245040;
  --linha: rgba(239, 241, 230, 0.13);
  --linha-forte: rgba(239, 241, 230, 0.3);
  --giz: #EFF1E6;
  --giz-2: #B9CABE;
  --giz-3: #8DA496;
  --lampada: #F0B547;
  --lampada-viva: #FFC95E;
  --tinta: #251904; /* texto em cima da lâmpada */
  --sapo: #A9D25B;
  --erro: #FFB3A3;

  --g: 20px; /* calha das laterais */
  --f-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-texto: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --saida: cubic-bezier(.2, .8, .2, 1);
  --mola: cubic-bezier(.3, 1.35, .5, 1);
  --zeca: clamp(118px, 37vw, 168px); /* tamanho do "Zeca" no topo */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.barra-sacola) { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(90% 46% at 82% 0%, rgba(240, 181, 71, .13), transparent 70%),
    radial-gradient(70% 40% at 0% 8%, rgba(169, 210, 91, .07), transparent 70%),
    var(--lousa);
  background-repeat: no-repeat;
  color: var(--giz);
  font: 400 16px/1.45 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 96px; /* espaço da barra da sacola */
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--lampada); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol, .ico { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 22px; height: 22px; flex: none; }
.ico .cheio, .sprite .cheio { fill: currentColor; stroke: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pular {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--lampada); color: var(--tinta); font-weight: 700; text-decoration: none; transform: translateY(-160%);
}
.pular:focus { transform: none; }

/* ------------------------------------------------------------------ abertura: o Zeca sentado no nome */
.abertura { padding: max(env(safe-area-inset-top), 14px) var(--g) 6px; }
.marca-bloco { position: relative; }
.marca {
  margin: 0;
  display: grid;
  justify-items: start;
  font-family: var(--f-titulo);
  font-weight: 600;
  line-height: 1;
  padding-top: calc(var(--zeca) * .78);
}
.marca-bar {
  font-size: calc(var(--zeca) * .235);
  font-weight: 500;
  letter-spacing: -.005em;
  margin: 0 0 calc(var(--zeca) * -.05) calc(var(--zeca) * .035);
}
.marca-zeca {
  position: relative;
  display: block;
  font-size: var(--zeca);
  font-weight: 640;
  letter-spacing: -.035em;
  font-variation-settings: 'SOFT' 50, 'WONK' 0;
}
.marca-vila {
  font-family: var(--f-texto);
  font-size: 13px;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sapo);
  margin: calc(var(--zeca) * .04) 0 0 calc(var(--zeca) * .04);
}
/* palco do mascote: medido em "em" do Zeca para o sapo sentar em cima do "ca" em qualquer tela.
   O quadro 3D põe os pés do sapo a 96% da altura; essa linha cai na altura-x (topo do "c" e do "a"). */
.palco {
  position: absolute;
  left: .75em;
  top: -1.17em;
  width: 1.4em;
  height: 1.62em;
  pointer-events: none;
}
.palco canvas, .palco .sapo-foto {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.palco canvas { pointer-events: auto; touch-action: pan-y; opacity: 0; transition: opacity .5s var(--saida); cursor: grab; }
/* folga em volta do palco: girando, o pé e a coxinha não cortam (a câmera continua enquadrando o palco) */
.palco canvas { inset: auto; left: -35%; top: -30%; width: 170%; height: 145%; }
.palco canvas:active { cursor: grabbing; }
.palco.vivo canvas { opacity: 1; }
.palco.vivo .sapo-foto { opacity: 0; transition: opacity .5s .1s; }

.abertura-texto { max-width: 34ch; margin: 18px 0 0; font-size: 17px; line-height: 1.45; color: var(--giz-2); text-wrap: pretty; }
.fatos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; color: var(--giz); font-size: 15px; }
.fatos li { display: flex; align-items: center; gap: 8px; }
.fatos .ico { color: var(--sapo); width: 22px; height: 22px; }
.fatos strong { font-weight: 700; color: var(--lampada); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ navegação das seções (gruda no topo) */
.secoes {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center;
  margin-top: 18px;
  background: var(--lousa);
  border-bottom: 1px solid var(--linha);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .6);
}
.secoes-trilho {
  flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 10px var(--g); scroll-padding-inline: var(--g);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.secoes-trilho::-webkit-scrollbar { display: none; }
.secao-link {
  flex: none; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  color: var(--giz-2); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.secao-link[aria-current='true'] { background: var(--giz); color: var(--lousa-funda); }
.secoes-busca {
  flex: none; width: 48px; height: 48px; margin-right: 6px; border: 0; border-radius: 14px;
  background: transparent; color: var(--giz); display: grid; place-items: center;
}

/* ------------------------------------------------------------------ busca */
.busca { padding: 18px var(--g) 0; }
.busca-campo {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 4px 0 14px;
  border-radius: 14px; background: var(--folha); border: 1px solid var(--linha);
  color: var(--giz-3);
}
.busca-campo:focus-within { border-color: var(--lampada); color: var(--giz); }
.busca-campo input {
  flex: 1; min-width: 0; height: 48px; background: none; border: 0; outline: none; color: var(--giz); font-size: 16px;
}
.busca-campo input::placeholder { color: var(--giz-3); }
.busca-campo input::-webkit-search-cancel-button { display: none; }
.busca-limpar { width: 44px; height: 44px; border: 0; background: none; color: var(--giz-2); display: grid; place-items: center; border-radius: 12px; }
.busca-vazio { margin: 18px 0 0; color: var(--giz-2); }
.busca-vazio button { border: 0; background: none; color: var(--lampada); font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ seções e itens */
.secao { padding: 38px var(--g) 4px; scroll-margin-top: 66px; }
.secao[hidden] { display: none; }
.secao-topo { display: flex; align-items: center; gap: 12px; }
.secao-ico { width: 36px; height: 36px; flex: none; color: var(--sapo); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.secao-titulo { margin: 0; font: 600 31px/1.05 var(--f-titulo); letter-spacing: -.012em; font-variation-settings: 'SOFT' 50, 'WONK' 0; text-wrap: balance; }
.secao-nota { margin: 8px 0 0; color: var(--giz-2); font-size: 15px; max-width: 46ch; }
.itens { list-style: none; margin: 10px 0 0; padding: 0; }
.item { display: flex; align-items: center; gap: 6px; }
.item[hidden] { display: none; }
.item-abrir {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border: 0; background: none; text-align: left; border-radius: 12px;
}
.item-mini { width: 88px; height: 66px; flex: none; border-radius: 10px; object-fit: cover; background: var(--folha); }
.item-texto { flex: 1; min-width: 0; display: grid; gap: 3px; }
.item-linha { display: flex; align-items: baseline; gap: 8px; }
.item-nome { font-weight: 600; font-size: 17px; line-height: 1.25; font-stretch: 96%; }
.item-pontos { flex: 1 1 12px; min-width: 12px; align-self: baseline; height: 1px; border-bottom: 2px dotted rgba(239, 241, 230, .24); transform: translateY(-3px); }
.item-valor { flex: none; font-weight: 600; font-size: 16px; color: var(--lampada); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-valor-consultar { color: var(--giz-2); font-weight: 500; font-style: normal; }
.item-desc { font-size: 14px; line-height: 1.4; color: var(--giz-2); }
/* com foto (salgados): nome em cima, preço embaixo — sobra lugar para o contador */
.item-com-foto .item-linha { display: grid; gap: 2px; }
.item-com-foto .item-pontos { display: none; }
.item-acao { flex: none; display: flex; align-items: center; min-height: 48px; }

.mais {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--linha-forte); background: transparent; color: var(--giz);
  display: grid; place-items: center; transition: transform .16s var(--saida), background-color .2s, border-color .2s;
}
.mais:active { transform: scale(.92); }
.mais .ico { width: 20px; height: 20px; stroke-width: 2; }
.item.na-sacola .mais { background: var(--lampada); border-color: var(--lampada); color: var(--tinta); }
.selo-qtd {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--giz); color: var(--lousa-funda);
  font: 700 12px/22px var(--f-texto); text-align: center; font-variant-numeric: tabular-nums;
}

/* contador ( − 2 + ) */
.contador {
  display: inline-flex; align-items: center; height: 48px; border-radius: 999px;
  border: 1.5px solid var(--linha-forte); padding: 0 2px;
}
.contador button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--giz); display: grid; place-items: center; }
.contador button:active { transform: scale(.9); }
.contador .ico { width: 18px; height: 18px; stroke-width: 2.1; }
.contador output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.item-acao .contador { height: 44px; background: var(--lampada); border-color: var(--lampada); color: var(--tinta); }
.item-acao .contador button { width: 38px; height: 40px; color: var(--tinta); }
.item-acao .contador output { min-width: 20px; }
.contador-pequeno { height: 40px; }
.contador-pequeno button { width: 38px; height: 38px; }

/* ------------------------------------------------------------------ rodapé */
.rodape { padding: 54px var(--g) 30px; display: grid; justify-items: start; gap: 16px; }
.rodape-frase { margin: 0; font: 500 24px/1.2 var(--f-titulo); max-width: 22ch; text-wrap: balance; }
.rodape-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.rodape-miudo { margin: 6px 0 0; font-size: 13px; color: var(--giz-3); max-width: 52ch; }
/* quem fez o site (Golem): pequeno, na cor do rodapé, o א na cor da lâmpada; sem link até o domínio do Golem existir */
.assinatura-golem { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6em; margin: 14px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--giz-3); }
.assinatura-golem .golem-marca { display: inline-flex; align-items: center; gap: .6em; white-space: nowrap; }
.assinatura-golem svg { display: block; height: 16px; width: auto; fill: currentColor; }
.assinatura-golem .golem-simbolo { fill: var(--lampada); }

/* ------------------------------------------------------------------ botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 16px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  transition: transform .16s var(--saida), background-color .2s;
}
.botao:active { transform: scale(.97); }
.botao-principal { background: var(--lampada); color: var(--tinta); }
.botao-principal:hover { background: var(--lampada-viva); }
.botao-contorno { border: 1.5px solid var(--linha-forte); background: transparent; color: var(--giz); }
.botao-texto { background: none; color: var(--giz-2); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.botao[aria-disabled='true'] { opacity: .55; }
.link-pequeno { border: 0; background: none; padding: 10px 0; color: var(--lampada); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ barra da sacola (o sapo espia por cima) */
.barra-sacola {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 616px; margin-inline: auto;
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px 0 18px;
  border: 0; border-radius: 18px; background: var(--lampada); color: var(--tinta); text-align: left;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55);
  transition: transform .45s var(--mola), opacity .3s;
}
.barra-sacola[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
.barra-sacola:active { transform: scale(.98); }
.barra-olhos { position: absolute; left: 18px; top: -19px; width: 52px; height: 24px; }
.barra-olhos svg { width: 100%; height: 100%; overflow: visible; }
.olhos-sapo .domo { fill: #6DAA36; }
.olhos-sapo .iris { fill: #F5C24C; }
.olhos-sapo .pupila { fill: #111C15; }
.olhos-sapo .tampa { fill: #6DAA36; transform-box: fill-box; transform-origin: 50% 0; transition: transform .12s; }
.barra-sacola.piscando .tampa { transform: scaleY(2.1); }
.barra-texto { flex: 1; min-width: 0; display: grid; line-height: 1.2; margin-left: 62px; }
.barra-texto strong { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-texto span { font-size: 14px; opacity: .8; }
.barra-total { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.barra-sacola.pulo { animation: pulo .5s var(--mola); }
@keyframes pulo { 0% { transform: translateY(0); } 35% { transform: translateY(-6px) scale(1.02); } 100% { transform: none; } }

/* ------------------------------------------------------------------ folhas (janelas que sobem de baixo) */
.folha {
  margin: auto auto 0; padding: 0; border: 0;
  width: min(100%, 640px); max-width: 100%; max-height: min(90dvh, 900px);
  border-radius: 24px 24px 0 0; background: var(--lousa-funda); color: var(--giz);
  box-shadow: 0 -14px 44px rgba(2, 10, 6, .5);
  overflow: hidden;
}
.folha-alta { height: min(92dvh, 900px); }
.folha::backdrop { background: rgba(3, 12, 8, .62); }
.folha[open] { animation: folha-sobe .42s var(--saida); }
.folha[open]::backdrop { animation: some-aparece .3s ease-out; }
.folha.fechando { animation: folha-desce .24s cubic-bezier(.4, 0, 1, 1) forwards; }
.folha.fechando::backdrop { animation: some-aparece .24s reverse forwards; }
@keyframes folha-sobe { from { transform: translateY(100%); } to { transform: none; } }
@keyframes folha-desce { to { transform: translateY(100%); } }
@keyframes some-aparece { from { opacity: 0; } to { opacity: 1; } }

.folha-corpo { position: relative; display: flex; flex-direction: column; height: 100%; max-height: inherit; margin: 0; }
.folha-alca { height: 26px; flex: none; display: grid; place-items: center; touch-action: none; cursor: grab; }
.folha-alca::after { content: ''; width: 42px; height: 5px; border-radius: 99px; background: var(--linha-forte); }
.folha-fechar {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--folha); color: var(--giz); display: grid; place-items: center;
}
.folha-rolagem { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--g) 20px; }
.folha-pe {
  flex: none; display: flex; align-items: center; gap: 12px;
  padding: 12px var(--g) max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha); background: var(--lousa-funda);
}
.folha-pe .botao-principal { flex: 1; padding: 0 16px; white-space: nowrap; }
.botao-valor { margin-left: .6em; font-variant-numeric: tabular-nums; }
.folha-titulo { margin: 6px 52px 0 0; font: 600 28px/1.08 var(--f-titulo); letter-spacing: -.01em; font-variation-settings: 'SOFT' 50, 'WONK' 0; text-wrap: balance; }

.item-foto { width: 100%; aspect-ratio: 4 / 3; max-height: 260px; object-fit: cover; border-radius: 16px; margin: 4px 0 16px; }
.item-preco { margin: 6px 0 0; color: var(--lampada); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.item-descricao { margin: 8px 0 0; color: var(--giz-2); }
.item-descricao:empty { display: none; }

.grupo { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.grupo legend { padding: 0; margin-bottom: 10px; font: 600 20px/1.2 var(--f-titulo); }
.acrescimos { list-style: none; margin: 0; padding: 0; }
.acrescimos li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--linha); }
.acrescimos li:first-child { border-top: 0; }
.acrescimo-nome { flex: 1; }
.acrescimo-preco { color: var(--lampada); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

.campo { display: grid; gap: 6px; margin-top: 16px; }
.campo-rotulo { font-weight: 600; font-size: 15px; color: var(--giz); }
.opcional { font-weight: 400; color: var(--giz-3); }
.campo input, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--linha-forte); background: var(--folha); color: var(--giz); font-size: 16px; resize: vertical;
}
.campo textarea { min-height: 76px; line-height: 1.4; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--giz-3); }
.campo input:focus, .campo textarea:focus { outline: 2px solid var(--lampada); outline-offset: 0; border-color: transparent; }
.campo-erro { color: var(--erro); font-size: 14px; font-weight: 600; }
.campo.com-erro input, .campo.com-erro textarea { border-color: var(--erro); }

.escolha { display: grid; gap: 8px; }
.escolha-2 { grid-template-columns: 1fr 1fr; }
.escolha-3 { grid-template-columns: repeat(3, 1fr); }
.escolha label { position: relative; display: block; }
.escolha input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.escolha span {
  display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 76px; padding: 10px 6px;
  border-radius: 14px; border: 1.5px solid var(--linha-forte); font-weight: 700; font-size: 15px; text-align: center;
  transition: border-color .15s, background-color .15s;
}
.escolha span small { font-weight: 500; font-size: 13px; color: var(--giz-2); }
.escolha .ico { color: var(--sapo); }
.escolha input:checked + span { border-color: var(--lampada); background: rgba(240, 181, 71, .1); }
.escolha input:focus-visible + span { outline: 2.5px solid var(--lampada); outline-offset: 2px; }

.sacola-itens { list-style: none; margin: 14px 0 0; padding: 0; }
.sacola-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linha); }
.sacola-item:first-child { border-top: 0; }
.si-texto { min-width: 0; }
.si-nome { font-weight: 700; }
.si-extra, .si-obs { display: block; font-size: 14px; color: var(--giz-2); }
.si-valor { font-weight: 700; color: var(--lampada); font-variant-numeric: tabular-nums; white-space: nowrap; }
.si-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.si-remover { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--giz-3); display: grid; place-items: center; }
.sacola-vazia { padding: 26px 0 8px; color: var(--giz-2); }

.contas { margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--linha-forte); }
.contas div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.contas dt { color: var(--giz-2); }
.contas dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.contas-total { margin-top: 6px; }
.contas-total dt { color: var(--giz); font: 600 22px/1.2 var(--f-titulo); }
.contas-total dd { font-size: 22px; font-weight: 800; color: var(--lampada); }
.nota-suco { margin: 8px 0 0; font-size: 14px; color: var(--giz-2); }

.botao-whats { gap: 10px; }
.botao-whats .ico { width: 22px; height: 22px; }

.enviado { display: grid; justify-items: start; gap: 14px; padding: 30px 0 10px; }
.enviado:focus { outline: none; }
.enviado p { margin: 0; color: var(--giz-2); max-width: 40ch; }
.enviado-ico { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--sapo); color: var(--lousa-funda); stroke-width: 2.4; }

/* ------------------------------------------------------------------ tablet: a coluna do celular, centrada */
@media (min-width: 720px) and (max-width: 959px) {
  .pagina { max-width: 680px; margin-inline: auto; }
}

/* ------------------------------------------------------------------ computador: o Zeca à esquerda (fixo), o cardápio à direita */
@media (min-width: 960px) {
  :root { --zeca: clamp(172px, 13vw, 214px); }
  body {
    padding-bottom: 0;
    background:
      radial-gradient(48% 60% at 24% 40%, rgba(240, 181, 71, .13), transparent 70%),
      radial-gradient(40% 40% at 90% 100%, rgba(169, 210, 91, .06), transparent 70%),
      var(--lousa);
    background-attachment: fixed;
  }
  .pagina {
    display: grid; grid-template-columns: minmax(380px, 470px) minmax(0, 640px);
    column-gap: clamp(56px, 7vw, 128px); justify-content: center;
    max-width: 1300px; margin: 0 auto; padding: 0 48px;
  }
  .abertura {
    position: sticky; top: 0; align-self: start; height: 100dvh; min-height: 620px;
    display: flex; flex-direction: column; justify-content: center; padding: 48px 0 56px;
  }
  .coluna { min-width: 0; padding-bottom: 40px; }
  .secoes { margin-top: 0; padding-top: 14px; box-shadow: 0 16px 24px -22px rgba(0, 0, 0, .7); }
  .secoes-trilho { flex-wrap: wrap; padding: 10px 0; mask-image: none; gap: 6px; }
  .secoes-busca { margin-right: 0; }
  .busca, .secao, .rodape { padding-left: 0; padding-right: 0; }
  .secao { padding-top: 46px; }
  .rodape { padding-bottom: 140px; }
  /* com espaço sobrando, a foto volta a ter preço na mesma linha, com os pontinhos */
  .item-com-foto .item-linha { display: flex; }
  .item-com-foto .item-pontos { display: block; }
  .item-abrir { padding: 12px 0; }
  .barra-sacola { left: auto; right: max(32px, calc((100vw - 1300px) / 2 + 48px)); width: 400px; margin: 0; }
  .folha { --g: 28px; margin: 0 0 0 auto; height: 100dvh; max-height: none; width: 460px; border-radius: 24px 0 0 24px; }
  .folha[open] { animation-name: folha-entra; }
  .folha.fechando { animation-name: folha-sai; }
  .folha-alca { visibility: hidden; height: 14px; }
  @keyframes folha-entra { from { transform: translateX(100%); } to { transform: none; } }
  @keyframes folha-sai { to { transform: translateX(100%); } }
}

@media (hover: hover) {
  .item-abrir:hover .item-nome { text-decoration: underline; text-decoration-color: var(--linha-forte); text-underline-offset: 4px; }
  .mais:hover { border-color: var(--giz); }
  .secao-link:hover { color: var(--giz); }
}

/* o cardápio vai surgindo na primeira vez que aparece na tela (uma vez só; leve no celular) */
.surge { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .6s var(--saida); }
.surge.surgiu { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------------ porteira da entrada (uma vez por visita) */
.porteira, .sprite-porteira { display: none; }
.sprite-porteira { position: absolute; width: 0; height: 0; overflow: hidden; }
html.com-porteira { overflow: hidden; }
html.com-porteira .sprite-porteira { display: block; }
html.com-porteira .porteira {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.5dvh;
  padding: max(env(safe-area-inset-top), 24px) 20px max(env(safe-area-inset-bottom), 32px);
  cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none;
}
.porteira::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 42% at 50% 36%, rgba(240, 181, 71, .17), transparent 70%),
    radial-gradient(120% 60% at 50% 105%, rgba(3, 12, 8, .8), transparent 65%),
    #0F2A20;
  transition: opacity .6s ease .45s;
}
.porteira-cena {
  position: relative; width: min(94vw, 600px, calc(68dvh * 400 / 360)); aspect-ratio: 400 / 360;
  perspective: 1100px;
  transition: transform 1.15s cubic-bezier(.55, 0, .2, 1) .15s, opacity .5s ease .55s;
}
.porteira-quadro { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.placa-texto, .placa-sombra { font-family: var(--f-titulo); font-weight: 600; font-size: 27px; letter-spacing: -.01em; }
.placa-texto { fill: #F4E3C2; }
.placa-sombra { fill: #2E1C0E; }
/* o Seu Zeca espiando por cima da porteira */
.porteira-olhos { position: absolute; left: 41.5%; top: 43.3%; width: 17%; height: auto; overflow: visible; transition: opacity .15s; }
.porteira-olhos .tampa { animation: pisca-olho 3.6s ease-in-out 1s infinite; }
.porteira-olhos g { animation: espia 5s ease-in-out infinite; }
@keyframes pisca-olho { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(2.25); } }
@keyframes espia { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
.folha-porteira { position: absolute; top: 50.556%; width: 36.5%; height: 45.556%; transition: transform 1s cubic-bezier(.6, .04, .25, 1); will-change: transform; }
.folha-porteira svg { width: 100%; height: 100%; overflow: visible; display: block; }
.folha-esq { left: 13.5%; transform-origin: 0 50%; animation: chama-esq 4.2s ease-in-out 1.6s infinite; }
.folha-dir { left: 50%; transform-origin: 100% 50%; animation: chama-dir 4.2s ease-in-out 1.6s infinite; }
.folha-dir svg { transform: scaleX(-1); }
/* a porteira dá uma balançadinha de vez em quando, chamando para abrir */
@keyframes chama-esq { 0%, 82%, 100% { transform: rotateY(0); } 87% { transform: rotateY(11deg); } 93% { transform: rotateY(-2deg); } }
@keyframes chama-dir { 0%, 82%, 100% { transform: rotateY(0); } 87% { transform: rotateY(-11deg); } 93% { transform: rotateY(2deg); } }
.luz-pisca { animation: pisca-luz 2.8s ease-in-out infinite; }
.luz-pisca:nth-child(2n) { animation-delay: 1.1s; }
@keyframes pisca-luz { 50% { opacity: .55; } }
/* o Seu Zeca sentado no banquinho, do lado da porteira, recebendo quem chega */
.porteira-zeca {
  position: absolute; z-index: 3; left: 64%; bottom: -2.4%; height: 54%; aspect-ratio: 443 / 840; pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(2, 10, 6, .35));
  transform-origin: 50% 100%; animation: zeca-respira 3.4s ease-in-out infinite;
}
/* sombra no chão embaixo do banquinho e dos pés (senão o banco parece flutuar) */
.porteira-zeca::before {
  content: ''; position: absolute; left: -4%; width: 76%; top: 86.5%; height: 16%;
  background: radial-gradient(closest-side, rgba(3, 12, 8, .62), rgba(3, 12, 8, .3) 55%, transparent);
}
/* 3 camadas da mesma foto (corpo, cabeça, antebraço): a cabeça gira no pescoço e o braço no cotovelo.
   Imagem e pivôs (em %) saem de: node tools/estudio.mjs _fonte/x.png 900 1100 '{"personagem":"seu-zeca","camadas":"1"}' */
.porteira-zeca span { position: absolute; inset: 0; background: url(img/seu-zeca-camadas.webp?v=1) 0 0 / 300% 100% no-repeat; }
.porteira-zeca .zeca-cabeca { background-position-x: 50%; transform-origin: 43.17% 31.55%; animation: zeca-cabeca 3.6s ease-in-out .5s infinite; }
.porteira-zeca .zeca-braco { background-position-x: 100%; transform-origin: 85.97% 44.06%; animation: zeca-aceno 3.6s ease-in-out .5s infinite; }
@keyframes zeca-respira { 50% { transform: scale(1.006, 1.014); } }
@keyframes zeca-aceno {
  0%, 54%, 100% { transform: rotate(0); }
  8% { transform: rotate(17deg); } 17% { transform: rotate(-7deg); } 26% { transform: rotate(17deg); }
  35% { transform: rotate(-7deg); } 45% { transform: rotate(10deg); }
}
@keyframes zeca-cabeca { 0%, 62%, 100% { transform: rotate(0); } 12% { transform: rotate(3.5deg); } 40% { transform: rotate(2deg) translateY(-.6%); } 80% { transform: rotate(-1deg); } }
.porteira-entrar {
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid rgba(240, 181, 71, .6); background: rgba(16, 41, 31, .55); color: var(--giz);
  font-weight: 700; font-size: 16px; letter-spacing: .01em; transition: opacity .2s, transform .16s var(--saida);
}
.porteira-entrar:active { transform: scale(.97); }

/* abrindo: as folhas giram para dentro, a gente "passa" pela porteira e ela some */
.porteira.abrindo { pointer-events: none; }
.porteira.abrindo::before { opacity: 0; }
.porteira.abrindo .folha-esq { animation: none; transform: rotateY(104deg); }
.porteira.abrindo .folha-dir { animation: none; transform: rotateY(-104deg); }
.porteira.abrindo .porteira-cena { transform: scale(1.45) translateY(4%); opacity: 0; }
.porteira.abrindo .porteira-olhos, .porteira.abrindo .porteira-entrar { opacity: 0; }

/* enquanto a porteira está fechada, o sapo ainda não chegou e o cardápio espera */
html.com-porteira .palco { opacity: 0; }
html.com-porteira.saltando .palco { opacity: 1; }
html.com-porteira :is(.abertura-texto, .fatos, .secoes, main, .rodape) { opacity: 0; transform: translateY(18px); }
html.com-porteira:not(.revelando) .barra-sacola { visibility: hidden; }
html.com-porteira.revelando :is(.abertura-texto, .fatos, .secoes, main, .rodape) {
  opacity: 1; transform: none;
  transition: opacity .5s ease var(--atraso, 0s), transform .7s var(--saida) var(--atraso, 0s);
}
html.com-porteira.revelando .fatos { --atraso: .07s; }
html.com-porteira.revelando .secoes { --atraso: .14s; }
html.com-porteira.revelando main { --atraso: .2s; }
html.com-porteira.revelando .rodape { --atraso: .26s; }

/* ------------------------------------------------------------------ pedido enviado: o Fusca-sapo chega */
.chegada {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--giz);
  background: radial-gradient(80% 45% at 50% 38%, rgba(240, 181, 71, .16), transparent 70%), var(--lousa-funda);
}
.chegada[open] {
  display: grid; grid-template-rows: min(56dvh, 560px) auto; align-content: center;
  animation: some-aparece .3s ease-out;
}
.chegada::backdrop { background: var(--lousa-funda); }
.chegada-palco { position: relative; min-height: 0; }
.chegada-palco canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chegada-texto {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 0 24px max(24px, env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .6s var(--saida);
}
.chegada.pronta .chegada-texto { opacity: 1; transform: none; }
.chegada-titulo { margin: 0; font: 600 40px/1.05 var(--f-titulo); letter-spacing: -.015em; }
.chegada-texto p { margin: 0 0 8px; color: var(--giz-2); max-width: 30ch; }
.chegada-texto .botao-principal { min-width: min(320px, 100%); }
@media (min-width: 960px) { .chegada-texto { padding-bottom: 56px; } }

/* ------------------------------------------------------------------ privacidade e página de erro */
.nota-dados { margin: -2px 0 6px; font-size: 13px; color: var(--giz-3); max-width: 46ch; }
.link-discreto { color: var(--giz-3); font-weight: 600; font-size: 13px; text-decoration-color: rgba(239, 241, 230, .3); }
.pagina-erro { display: grid; place-items: center; min-height: 100dvh; padding: 24px; padding-bottom: 24px; }
.erro { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 420px; }
.erro-marca { margin: 0; font: 600 22px/1 var(--f-titulo); color: var(--sapo); }
.erro-titulo { margin: 0; font: 600 40px/1.05 var(--f-titulo); letter-spacing: -.015em; }
.erro-texto { margin: 0 0 10px; color: var(--giz-2); }
