/* Big Lanches — vitrine que leva ao Anota AI
   Paleta: carvão, chapa, laranja Big, brasa, papel, fumaça.
   Tipos: Big Shoulders Display (títulos/preços), Big Shoulders Stencil (carimbo), Archivo (texto).
   Movimento: js/main.js põe .anima no <html> (só sem prefers-reduced-motion) e escreve --p (0 a 1) nos [data-p].
   Sem JS ou com movimento reduzido, tudo aparece no estado final. */

:root {
  --carvao: #0e0c0b;
  --chapa: #1a1715;
  --chapa-2: #24201d;
  --laranja: #ff6a13;
  --brasa: #c2410c;
  --papel: #fff8f0;
  --fumaca: #a39a92;
  --linha: #3a332e;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --stencil: "Big Shoulders Stencil Display", var(--display);
  --texto: "Archivo", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;
  --bar: 0px; /* altura da barra fixa do celular, ajustada abaixo */
  --tira: 0px; /* altura da tira de pedido do desktop */
  --mola: cubic-bezier(.2, .9, .25, 1.2);
  --saida: cubic-bezier(.2, .8, .2, 1);
  --rasgo: polygon(0 100%, 0.0% 40%, 0.8% 19%, 2.8% 3%, 4.3% 31%, 6.9% 4%, 7.8% 9%, 9.0% 43%, 9.8% 42%, 11.9% 1%, 13.4% 25%, 14.7% 7%, 16.4% 31%, 17.3% 41%, 19.5% 53%, 21.7% 81%, 24.0% 58%, 26.4% 42%, 28.5% 36%, 29.6% 2%, 31.5% 42%, 33.2% 25%, 34.3% 16%, 36.1% 75%, 37.5% 41%, 39.6% 71%, 40.6% 13%, 43.1% 53%, 44.1% 79%, 45.7% 43%, 46.7% 60%, 47.7% 2%, 49.8% 24%, 51.4% 70%, 53.3% 67%, 54.3% 29%, 55.9% 37%, 57.0% 24%, 59.4% 19%, 61.0% 64%, 63.2% 36%, 64.0% 56%, 65.2% 84%, 67.1% 28%, 68.6% 14%, 69.9% 55%, 71.1% 14%, 72.9% 57%, 75.4% 70%, 77.9% 51%, 79.5% 40%, 80.3% 31%, 82.0% 46%, 83.8% 67%, 84.9% 22%, 86.2% 62%, 87.9% 21%, 89.3% 25%, 91.7% 55%, 93.0% 27%, 93.9% 12%, 96.1% 10%, 98.4% 5%, 100% 100%);
}
@media (min-width: 761px) { :root { --tira: 2.25rem; } }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tira) + 5rem); }

body {
  margin: 0;
  background: var(--carvao);
  color: var(--papel);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--laranja); color: var(--carvao);
  padding: .75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
main { overflow-x: clip; } /* a fita torta e o título gigante passam da borda de propósito */

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem; padding: .8rem 1.5rem;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  border-radius: .5rem; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--pedir { background: var(--laranja); color: var(--carvao); }
.btn--pedir:hover { background: var(--papel); }
.btn--linha { border: 2px solid var(--linha); color: var(--papel); }
.btn--linha:hover { border-color: var(--papel); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
/* Adesivo: o botão de pedir colado torto, com sombra dura (endireita ao passar o mouse) */
.adesivo {
  rotate: -3deg; box-shadow: .3rem .3rem 0 var(--brasa);
  transition: rotate .25s var(--mola), translate .25s var(--mola), box-shadow .25s ease, background .15s ease;
}
.adesivo:hover, .adesivo:focus-visible { rotate: 0deg; translate: -.15rem -.15rem; box-shadow: .5rem .5rem 0 var(--brasa); }

/* ---------- Tira de pedido (desktop) ---------- */
.tira { display: none; }
@media (min-width: 761px) {
  .tira {
    display: flex; align-items: center; justify-content: center;
    position: fixed; inset: 0 0 auto; z-index: 55; height: var(--tira);
    overflow: hidden; white-space: nowrap; text-decoration: none;
    background: var(--laranja); color: var(--carvao);
    font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em;
    text-transform: uppercase; line-height: 1;
  }
  .tira:hover { background: var(--papel); }
  .tira:focus-visible { outline-offset: -3px; outline-color: var(--carvao); }
  .tira__trilho { display: inline-flex; }
  .tira__trilho span { padding-inline: .7rem; }
  .tira.corre { justify-content: flex-start; }
  .tira.corre .tira__trilho { animation: corre 60s linear infinite; }
  .tira:hover .tira__trilho { animation-play-state: paused; }
}

/* ---------- Header ---------- */
.topo {
  position: fixed; inset: var(--tira) 0 auto; z-index: 50;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.topo.is-solido { background: var(--carvao); border-color: var(--linha); } /* opaco: texto branco vazava por trás com .94 */
.topo__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.5rem;
}
.marca {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 900; font-size: 1.6rem;
  text-transform: uppercase; text-decoration: none; line-height: 1;
}
.marca img { height: 3.6rem; width: auto; transition: transform .2s ease; }
.marca:hover img { transform: rotate(-4deg) scale(1.05); }
.marca span { color: var(--laranja); }
.topo nav { margin-left: auto; display: flex; gap: 1.75rem; }
.topo nav a {
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--fumaca);
}
.topo nav a:hover { color: var(--papel); }
.topo .btn { min-height: 2.75rem; padding: .5rem 1.25rem; font-size: 1.1rem; }

/* ---------- Status ao vivo ---------- */
.status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--fumaca);
}
.status::before {
  content: ""; width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--fumaca);
}
.status.is-aberto { color: var(--papel); }
.status.is-aberto::before { background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: pulso 2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 .5rem rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: end;
  padding-block: 7rem 3rem;
  overflow: hidden;
  --h: clamp(0, (var(--p, .5) - .53) * 2.1, 1); /* 0 no topo da página (.53 cobre o hero mais baixo do celular), 1 quando o hero saiu */
}
.hero__foto {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 62rem); z-index: -1; overflow: hidden; /* a foto aproxima sem vazar do degradê */
}
.hero__foto img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05);
  animation: aproxima 24s ease-in-out infinite alternate; /* a foto respira no lugar do vídeo */
  translate: 0 calc(var(--h) * 7%);
}
@keyframes aproxima { from { scale: 1; } to { scale: 1.08; } }
.hero__foto::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--carvao) 0%, rgb(14 12 11 / .85) 22%, rgb(14 12 11 / .2) 55%, rgb(14 12 11 / .35) 100%),
    linear-gradient(0deg, var(--carvao) 0%, rgb(14 12 11 / 0) 45%),
    linear-gradient(180deg, rgb(14 12 11 / .7) 0%, rgb(14 12 11 / 0) 25%);
}
.hero__txt { max-width: 46rem; opacity: calc(1 - var(--h) * 1.3); translate: 0 calc(var(--h) * -3rem); }
.hero__titulo {
  margin: 1.25rem 0 1.5rem;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.6rem, 17vw, 10.5rem); line-height: .86; letter-spacing: -.005em;
}
.hero__titulo .linha { display: block; overflow: clip; padding-top: .1em; margin-top: -.1em; }
.hero__titulo .linha > span { display: block; animation: sobe .8s .05s var(--saida) both; }
.hero .caixa { animation: surge .5s .3s var(--saida) both; }
.hero .status, .hero__lead, .hero__ctas { animation: surge .6s .7s var(--saida) both; }
.hero .status { animation-delay: 0s; }
.hero__ctas .btn--pedir { min-height: 3.75rem; font-size: 1.5rem; padding-inline: 1.75rem; }
.hero__ctas { gap: 1.25rem; align-items: center; }
@keyframes sobe { from { transform: translateY(105%); } }
@keyframes surge { from { opacity: 0; transform: translateY(.6rem); } }
.hero__lead { max-width: 30rem; margin: 0 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e9ddd2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Assinatura: a palavra dentro de uma caixa que abre as abas no carregamento */
.caixa {
  --b: .07em;
  position: relative; display: inline-block;
  margin: .36em 0 0 .34em; /* espaço para as abas abertas não saírem da tela */
  padding: .02em .14em 0;
  border: var(--b) solid currentColor;
  border-top-color: transparent;
  color: var(--laranja);
}
.caixa::before,
.caixa::after {
  content: ""; position: absolute; bottom: 100%; width: .44em; height: var(--b);
  background: currentColor; border-radius: var(--b);
  transition: transform 1s .25s var(--mola);
}
.caixa::before { right: calc(100% - var(--b)); transform-origin: 100% 50%; transform: rotate(40deg); }
.caixa::after { left: calc(100% - var(--b)); transform-origin: 0 50%; transform: rotate(320deg); }
.hero .caixa::before { animation: aba-esq 1s .55s var(--mola) both; }
.hero .caixa::after { animation: aba-dir 1s .65s var(--mola) both; }
/* barra superior da caixa (a "boca"), desenhada para não sumir sob as abas fechadas */
.caixa > i {
  position: absolute; left: calc(-1 * var(--b)); right: calc(-1 * var(--b)); top: calc(-1 * var(--b));
  height: var(--b); background: currentColor;
}
@keyframes aba-esq { from { transform: rotate(180deg); } to { transform: rotate(40deg); } }
@keyframes aba-dir { from { transform: rotate(180deg); } to { transform: rotate(320deg); } }
.anima [data-ver]:not(.is-visto) .caixa::before,
.anima [data-ver]:not(.is-visto) .caixa::after { transform: rotate(180deg); }

/* ---------- Faixa ---------- */
.faixa {
  position: relative; z-index: 2; width: 106%; margin: -1.75rem -3%; rotate: -1.5deg;
  background: var(--papel); color: var(--carvao);
  overflow: hidden; white-space: nowrap;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1;
  padding-block: .8rem;
}
.faixa__trilho { display: inline-flex; animation: corre 32s linear infinite; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa span { padding-inline: .9rem; }
.faixa span:nth-child(even) { -webkit-text-stroke: 1.5px var(--carvao); color: transparent; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.secao { padding-block: clamp(4rem, 10vw, 8rem); }
.secao__topo { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.secao__titulo {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 8vw, 6rem); line-height: .9;
}
.secao__titulo em { font-style: normal; color: var(--laranja); }
.secao__nota { max-width: 26rem; margin: 0; color: var(--fumaca); }
.sobe { display: inline-block; vertical-align: bottom; overflow: clip; padding-top: .12em; margin-top: -.12em; }
.sobe > span { display: block; transition: transform .8s var(--saida); }
.sobe + .sobe > span { transition-delay: .09s; }
.anima [data-ver]:not(.is-visto) .sobe > span { transform: translateY(108%); }
.secao__nota, .caixa { transition: opacity .6s .25s ease; }
.anima [data-ver]:not(.is-visto) :is(.secao__nota, .caixa) { opacity: 0; }

/* Seção de fundo laranja inteiro: texto sempre preto (AA) */
.secao--laranja { position: relative; background: var(--laranja); color: var(--carvao); }
.secao--laranja .secao__nota { color: var(--carvao); font-weight: 500; }
.secao--laranja .caixa { color: var(--carvao); }
.secao--laranja :focus-visible, .rodape :focus-visible { outline-color: var(--carvao); }

/* Papelão rasgado: a borda da seção laranja invade a vizinha; a sombra brasa é a segunda folha */
.rasgo {
  position: absolute; inset: auto 0 calc(100% - 1px); height: 1.4rem; pointer-events: none;
  filter: drop-shadow(0 -.3rem 0 var(--brasa));
}
.rasgo::before { content: ""; position: absolute; inset: 0; background: var(--laranja); clip-path: var(--rasgo); }
.rasgo--baixo { inset: calc(100% - 1px) 0 auto; scale: 1 -1; }

/* ---------- Combos: as caixas passam em fila ---------- */
/* Base (celular, sem JS, movimento reduzido): trilho horizontal nativo com snap.
   Desktop com .anima: a seção prende na tela e a rolagem vertical empurra o trilho (js/main.js). */
#combos { padding-top: clamp(5rem, 11vw, 8rem); }
#combos .secao__titulo { font-size: clamp(3.2rem, 11vw, 7.5rem); }
#combos .secao__topo { margin-bottom: 1rem; }
.combos {
  --borda: max(var(--gutter), (100% - var(--max)) / 2);
  display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--borda);
  padding: 1.5rem var(--borda) 2.25rem;
}
.combos::-webkit-scrollbar { display: none; }
.combo {
  position: relative; flex: none; width: min(76vw, 21rem); scroll-snap-align: start;
  display: flex; flex-direction: column; padding: .6rem;
  background: var(--carvao); color: var(--papel); border-radius: 1.25rem;
  text-decoration: none; rotate: -1.2deg;
  transition: rotate .3s var(--mola), translate .3s var(--mola);
}
.combo:nth-child(even) { rotate: 1.2deg; translate: 0 .75rem; }
.combo:hover, .combo:focus-visible { rotate: 0deg; translate: 0 -.4rem; }
.combo__foto { aspect-ratio: 1; overflow: hidden; border-radius: .8rem; background: var(--chapa-2); }
.combo__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.combo:hover .combo__foto img { transform: scale(1.06) rotate(-1.5deg); }
.combo__corpo { display: flex; flex-direction: column; flex: 1; padding: 1rem .65rem .5rem; }
.combo__nome {
  margin: 0 0 .4rem; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 1.9rem; line-height: .95;
}
.combo__desc { margin: 0 0 1rem; font-size: .92rem; color: var(--fumaca); line-height: 1.4; }
.combo__pe { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.combo__acao {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem;
  background: var(--laranja); color: var(--carvao); padding: .3rem .7rem; border-radius: .4rem;
  display: inline-flex; align-items: center; gap: .35em;
}
.combo__acao::after { content: "→"; transition: transform .2s ease; }
.combo:hover .combo__acao::after { transform: translateX(4px); }
.cena__barra { display: none; }
@media (min-width: 1024px) and (min-height: 640px) {
  .anima .cena { height: calc(100vh + var(--percurso, 0px)); padding-block: 0; }
  .anima .cena__fixo {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: calc(var(--tira) + 5.5rem);
  }
  .anima .cena .secao__titulo { font-size: min(6.5rem, 11vh); flex: none; }
  .anima .cena .secao__topo { flex-wrap: nowrap; margin-bottom: 0; }
  .anima .cena .combos { scroll-snap-type: none; }
  .anima .cena .combo { width: clamp(15rem, 34vh, 21rem); }
  .anima .cena__barra { display: block; height: 4px; background: rgb(14 12 11 / .2); border-radius: 2px; overflow: hidden; }
  .anima .cena__barra::after {
    content: ""; display: block; height: 100%; background: var(--carvao);
    transform-origin: 0 50%; transform: scaleX(var(--cp, 0));
  }
}

/* Preço no estilo das artes da casa: R$ pequeno, reais grandes, centavos em cima */
.preco {
  display: inline-flex; align-items: flex-start; gap: .08em;
  font-family: var(--display); font-weight: 900; line-height: .8; color: var(--papel);
  font-size: 3rem; white-space: nowrap;
}
.preco small { font-size: .34em; font-weight: 800; margin-top: .2em; color: var(--laranja); }
.preco sup { font-size: .42em; margin-top: .06em; }
.preco s { display: block; font-size: .3em; color: var(--fumaca); font-weight: 600; text-decoration-thickness: 1px; }

.selo {
  position: absolute; top: -.6rem; left: -.5rem; z-index: 1; rotate: -7deg;
  background: var(--papel); color: var(--carvao);
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1;
  padding: .4rem .7rem .3rem; border-radius: .3rem; box-shadow: .2rem .2rem 0 var(--brasa);
}

/* ---------- Quadro de cardápio ---------- */
.quadro { background: var(--chapa); border-block: 1px solid var(--linha); }
.cats {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 2.5rem; padding: 0; list-style: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  display: block; white-space: nowrap; text-decoration: none;
  padding: .55rem 1.1rem; border-radius: .5rem; border: 1px solid var(--linha);
  font-weight: 600; font-size: .95rem; color: var(--fumaca);
}
.cats a:hover { color: var(--papel); border-color: var(--papel); }
.menu { columns: 2 26rem; column-gap: clamp(2rem, 6vw, 5rem); }
.cat { break-inside: avoid; margin-bottom: 3rem; }
.cat h3 {
  margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 3px solid var(--laranja);
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1;
}
.cat ul { margin: 0; padding: 0; list-style: none; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem;
  padding: .85rem .5rem; margin-inline: -.5rem; border-radius: .5rem;
  text-decoration: none; border-bottom: 1px dashed var(--linha);
  transition: background .15s ease;
}
.item:hover { background: var(--chapa-2); }
.item__nome { font-weight: 700; font-size: 1.05rem; }
.item:hover .item__nome { color: var(--laranja); }
.item__preco { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; white-space: nowrap; }
.item__desc { grid-column: 1 / -1; font-size: .9rem; color: var(--fumaca); line-height: 1.4; }
.quadro__fim { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.quadro__fim p { margin: 0; color: var(--fumaca); }

/* ---------- Box de petiscos: tamanhos em proporção real ---------- */
.box__grade { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
@media (min-width: 960px) { .box__grade { grid-template-columns: .9fr 1.6fr; } }
.box__figura { position: relative; margin: 0; max-width: 30rem; rotate: -2deg; }
/* a moldura tracejada é a caixa de 40 cm; ao apontar um tamanho, a foto encolhe até ele */
.box__foto { border-radius: 1.25rem; overflow: hidden; aspect-ratio: 1; outline: 2px dashed var(--linha); outline-offset: -2px; }
.box__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.25rem; transform-origin: 0 100%; transition: scale .4s var(--mola); }
.box__grade:has(.tam:nth-child(1):is(:hover, :focus-visible)) .box__foto img { scale: .625; }
.box__grade:has(.tam:nth-child(2):is(:hover, :focus-visible)) .box__foto img { scale: .75; }
.box__grade:has(.tam:nth-child(3):is(:hover, :focus-visible)) .box__foto img { scale: .875; }
.legenda {
  position: absolute; right: -.5rem; bottom: 1.25rem; rotate: 5deg;
  background: var(--papel); color: var(--carvao); padding: .35rem .8rem .3rem; border-radius: .3rem;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1;
}
.tamanhos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 2vw, 1.25rem); align-items: end; }
.tam {
  display: flex; flex-direction: column; gap: .2rem; text-decoration: none;
  padding: .75rem; margin: -.75rem; border-radius: 1rem; transition: background .2s ease;
}
.tam:hover { background: var(--chapa); }
.tam__palco { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1; margin-bottom: .9rem; }
.tam__caixa {
  /* lado da caixa = cm / 40 (a maior) */
  width: calc(var(--cm) / 40 * 100%); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center;
  border: 3px solid var(--laranja); border-radius: .35rem;
  font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: .9;
  color: var(--laranja); background: rgb(255 106 19 / .06);
  transition: background .2s ease, color .2s ease;
  /* cresce da menor para a maior conforme a fileira entra na tela (--p vem do JS; sem JS vale 1) */
  --q: clamp(0, (var(--p, 1) - .1 - var(--i, 0) * .035) * 6, 1);
  scale: calc(.45 + .55 * var(--q)); transform-origin: 50% 100%;
}
.tam:nth-child(2) { --i: 1; } .tam:nth-child(3) { --i: 2; } .tam:nth-child(4) { --i: 3; }
.tam__caixa small { font-size: .45em; font-weight: 800; }
.tam:hover .tam__caixa { background: var(--laranja); color: var(--carvao); }
.tam__nome { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1; }
.tam__serve { font-size: .85rem; color: var(--fumaca); line-height: 1.3; margin-bottom: .5rem; }
.tam .preco { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.box__opcoes { margin: 2.5rem 0 0; max-width: 52rem; color: #e9ddd2; }
.box__opcoes strong { color: var(--papel); }
@media (max-width: 640px) {
  .tamanhos { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
}

/* ---------- Tabela de pizzas ---------- */
.pizzas { margin-top: 1rem; }
.pizzas__topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; border-bottom: 3px solid var(--laranja); padding-bottom: .5rem; }
.pizzas__topo h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; }
.pizzas__topo p { margin: 0; color: var(--fumaca); font-size: .9rem; }
.pizzas__rolagem { overflow-x: auto; }
.pizzas table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.pizzas thead th {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em;
  color: var(--fumaca); text-align: right; padding: .9rem .5rem .6rem;
}
.pizzas thead th:first-child { text-align: left; padding-left: 0; }
.pizzas tbody tr { border-bottom: 1px dashed var(--linha); transition: background .15s ease; }
.pizzas tbody tr:hover { background: var(--chapa-2); }
.pizzas tbody th { text-align: left; font-weight: 700; padding: .8rem .5rem .8rem 0; }
.pizzas tbody th span { display: block; font-weight: 400; font-size: .85rem; color: var(--fumaca); line-height: 1.35; margin-top: .1rem; }
.pizzas td { text-align: right; padding: .35rem .2rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fumaca); }
/* cada preço é o link daquele tamanho: parece etiqueta e acende no hover */
.pizzas td a {
  display: inline-block; min-width: 3.6em; padding: .45rem .55rem; border-radius: .5rem;
  border: 1.5px solid var(--linha); color: var(--papel); text-decoration: none; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pizzas td a:hover, .pizzas td a:focus-visible { background: var(--laranja); border-color: var(--laranja); color: var(--carvao); }
@media (max-width: 640px) {
  .pizzas table { min-width: 0; }
  .pizzas thead th { font-size: .78rem; padding-inline: .15rem; letter-spacing: 0; }
  .pizzas td { font-size: 1rem; padding-inline: .1rem; }
  .pizzas td a { min-width: 0; padding: .5rem .3rem; } /* alvo de toque ≥ 40px de altura */
  .pizzas tbody th span { display: none; }
}

/* ---------- História ---------- */
.historia__topo { position: relative; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.historia__titulo { font-size: clamp(4.4rem, 19vw, 17rem); line-height: .82; }
.historia__titulo .sobe { display: block; width: fit-content; }
/* as duas linhas deslizam em sentidos opostos enquanto a seção atravessa a tela */
.historia__titulo .sobe:first-child { translate: calc((var(--p, .5) - .5) * -9vw) 0; }
.historia__titulo .sobe:last-child { translate: calc((var(--p, .5) - .5) * 9vw) 0; }
.carimbo {
  position: absolute; right: 1%; bottom: -.15em; margin: 0; rotate: -7deg;
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase;
  background: var(--laranja); color: var(--carvao); border-radius: .5rem;
  padding: .35rem 1rem .15rem; font-size: clamp(2rem, 6.5vw, 5.5rem); line-height: 1;
  transition: transform .35s .55s cubic-bezier(.3, 1.6, .5, 1), opacity .15s .55s linear;
}
.carimbo small { display: block; font-size: .3em; letter-spacing: .28em; padding-bottom: .5em; }
.anima [data-ver]:not(.is-visto) .carimbo { opacity: 0; transform: scale(1.9) rotate(-12deg); }
.historia__grade { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 860px) { .historia__grade { grid-template-columns: 1.1fr .9fr; } }
.historia__txt p { max-width: 34rem; margin-top: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: #e9ddd2; }
.historia__grade .a-carregar { width: min(100%, 24rem); justify-self: center; border-radius: 1.75rem; rotate: 2.5deg; }

/* Espaço reservado para foto que a cliente ainda vai mandar */
.a-carregar {
  display: grid; place-content: center; text-align: center; gap: .4rem;
  aspect-ratio: 4 / 5; border-radius: 1.25rem;
  border: 2px dashed var(--linha); background: var(--chapa);
  color: var(--fumaca); padding: 1.5rem;
}
.a-carregar--faixa { aspect-ratio: auto; min-height: 11rem; }
.secao--curta { padding-block: clamp(3rem, 6vw, 5rem); }
.local__info { color: var(--fumaca); margin: 0 0 1.5rem; }
.a-carregar strong { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--papel); }
.a-carregar span { font-size: .9rem; }

/* ---------- Onde estamos ---------- */
.local { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .local { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }
.local address { font-style: normal; font-size: 1.2rem; margin-bottom: 2rem; }
.local address strong { display: block; font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: .4rem; }
.horario { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.horario th, .horario td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--linha); font-weight: 500; }
.horario td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.local .secao__titulo { margin-bottom: 1.5rem; }
.horario tr.is-hoje th, .horario tr.is-hoje td { color: var(--laranja); }
.local__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.mapa {
  min-height: 22rem; border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--linha);
  background: var(--chapa);
}
.mapa iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.15); }

/* ---------- Rodapé ---------- */
.rodape {
  position: relative; margin-top: 2rem; padding-top: clamp(4rem, 8vw, 6rem); overflow-x: clip;
  background: var(--laranja); color: var(--carvao);
}
.rodape__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2rem; }
.rodape__links a { font-weight: 700; font-size: 1.1rem; text-underline-offset: .25em; }
.rodape__links a:hover { text-decoration-thickness: 3px; }
.rodape__nome {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 19.5vw; line-height: .78; letter-spacing: -.01em; text-align: center;
  color: var(--carvao); white-space: nowrap;
  margin-bottom: 0; padding-top: .08em; overflow: clip; /* o nome senta na borda de baixo; sem o clip a caixa da linha estica a página */
}
.rodape__fino { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; font-weight: 500; margin-bottom: 2.5rem; }

/* ---------- Barra fixa do celular ---------- */
.barra { display: none; }
@media (max-width: 760px) {
  :root { --bar: 5.25rem; }
  .topo nav { display: none; }
  .topo .btn, .topo .status { display: none; } /* no celular o status fica no hero e o botão na barra de baixo */
  .topo__in { justify-content: space-between; }
  .barra {
    display: flex; gap: .5rem; position: fixed; inset: auto 0 0; z-index: 60;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgb(14 12 11 / .96); border-top: 1px solid var(--linha);
  }
  .barra .btn--pedir { flex: 1; }
  .barra .btn--linha { width: 3.25rem; padding: 0; }
  .hero { min-height: calc(100svh - var(--bar)); padding-bottom: 2rem; }
  .hero__foto { width: 100%; }
  .hero__foto::after {
    background:
      linear-gradient(0deg, var(--carvao) 8%, rgb(14 12 11 / .75) 45%, rgb(14 12 11 / .15) 75%, rgb(14 12 11 / .6) 100%);
  }
  .hero__ctas .btn--linha { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .faixa__trilho { animation: none; }
  .hero__foto img { animation: none; }
}
