/* =========================================================================
   Mordida Dourada · estilos
   Direção (desde 26/10/2026): minimalista, preto quase absoluto, branco e um laranja só para ação.
   Inspirada na composição de uma hamburgueria escura (burger grande à direita, título em caixa
   alta à esquerda, miniaturas embaixo) e na disciplina das páginas de produto da Apple: muito
   espaço, uma família (Geist), cantos arredondados, botões em pílula, fotos como protagonistas.
   Ordem: fonte reserva → tokens → base → componentes → seções na ordem da página →
   folhas (item, sacola, checkout) → camada de movimento → reduced motion.
   ========================================================================= */

/* ---------- Fonte reserva ajustada ----------
   Enquanto a Geist chega (display=swap), o texto usa Arial/Helvetica com tamanho aproximado
   (estimado, não medido). */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
  font-weight: 400 900;
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- Tokens ----------
   Os nomes antigos ficaram (carvao, grafite, brasa, ouro, creme…) porque a sacola, o checkout,
   o JS e o /acompanhar usam esses nomes. Os valores agora são uma paleta de três cores:
   preto, cinzas neutros e laranja. Brasa e ouro apontam para o mesmo laranja.
   Contraste: laranja sobre preto 8,9:1 · preto sobre laranja 8,9:1 · laranja sobre #1c1c1e 7,2:1 ·
   #a1a1a6 sobre preto 7,9:1 · #86868b sobre #1c1c1e 4,8:1. Na seção clara, laranja só como fundo
   ou traço (2,2:1 sobre #f5f5f7 reprova texto). */
:root {
  --carvao: #000000;      /* fundo da página */
  --grafite: #1c1c1e;     /* superfícies (cards, folhas) */
  --grafite-2: #2c2c2e;
  --grafite-3: #3a3a3c;
  --ferro: #0d0d0e;       /* campos dentro das folhas */
  --brasa: #ff8a1f;       /* laranja: ação principal, sempre com texto preto */
  --brasa-clara: #ffa043;
  --brasa-escura: #e0700a;
  --ouro: #ff8a1f;        /* mesmo laranja: foco, seleção, ícones de apoio */
  --ouro-claro: #ffa043;
  --ouro-escuro: #e0700a;
  --creme: #f5f5f7;       /* texto principal e seção clara */
  --creme-2: #a1a1a6;     /* texto secundário */
  --creme-3: #86868b;     /* legendas */
  --tinta: #6e6e73;       /* texto secundário na seção clara (5,0:1 sobre #f5f5f7) */
  --escuro: #1d1d1f;      /* texto da seção clara */
  --linha: rgba(255, 255, 255, 0.1);
  --linha-forte: rgba(255, 255, 255, 0.24);
  --linha-clara: rgba(255, 255, 255, 0.06);
  --ok: #30d158;
  --erro: #ff6b5e;
  --erro-fundo: #2a1512;
  --verde: #8fd18a;       /* etiqueta "vegetariano" */
  --sobre-brasa: #000;    /* texto sobre o laranja (botões, selos) */
  --realce: rgba(255, 255, 255, 0.08);  /* hover de ícones */
  --recuo: rgba(0, 0, 0, 0.5);          /* blocos rebaixados dentro das folhas */
  --topo-fundo: rgba(0, 0, 0, 0.9);
  --inverso-fundo: #f5f5f7;  /* seção de contraste (a clara do modelo) */
  --inverso-cartao: #fff;
  --esquema: dark;
  --sombra-cor: rgba(0, 0, 0, 0.9);  /* sombras longas (sacola, folhas) */

  --sans: "Geist", "Geist Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: var(--sans);
  --serif: var(--sans);
  --caixa: var(--sans);
  --sub: var(--display);  /* títulos menores (nome do item, perguntas) */
  /* Tipografia dos títulos: cada tema (lib/temas.js) troca peso, espaçamento e caixa */
  --titulo-peso: 800;
  --titulo-espaco: -0.04em;
  --hero-peso: 900;
  --hero-caixa: uppercase;
  --hero-espaco: -0.04em;
  --hero-altura: 0.9;
  --hero-largura: 0.7;    /* largura média de uma letra do hero, em em (para o título caber) */

  --raio-sm: 10px;
  --raio: 14px;
  --raio-lg: 22px;
  --pilula: 999px;
  --painel-raio: 0px;
  --gutter: 20px;
  --topo-h: 56px;
  --topo-extra: 0px;
  --pesado: cubic-bezier(0.16, 1, 0.3, 1);      /* expo.out */
  --pesado-io: cubic-bezier(0.65, 0, 0.35, 1);  /* power3.inOut */
  --sombra: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: clamp(40px, 5vw, 80px); --topo-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip;
  background: var(--carvao); color-scheme: var(--esquema);
  scrollbar-color: var(--grafite-3) var(--carvao);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--carvao);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
/* Títulos: Geist pesada e apertada, em caixa normal (o hero e a cena do destaque usam caixa alta) */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1, h2 { font-weight: var(--titulo-peso); letter-spacing: var(--titulo-espaco); line-height: 1; }
h3, h4 { font-family: var(--sub); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: inherit; }
s { text-decoration-thickness: 1px; color: var(--creme-3); }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: var(--raio-sm); }
::selection { background: var(--brasa); color: var(--sobre-brasa); }
[hidden] { display: none !important; }
html.folha-aberta { overflow: hidden; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: fixed; top: 10px; left: 10px; z-index: 300; padding: 12px 18px; border-radius: var(--pilula);
  background: var(--brasa); color: var(--sobre-brasa); font-weight: 600; text-decoration: none;
  translate: 0 -200%; transition: translate 0.4s var(--pesado);
}
.pular:focus-visible { translate: 0 0; }

/* Rótulo pequeno (usado no /acompanhar e nas folhas): texto de apoio, nunca acima de título */
.rotulo { font-size: 0.86rem; font-weight: 600; color: var(--creme-2); }

/* Títulos revelados por linha (main.js): cada linha numa máscara. */
.linha-mascara { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.linha-texto { display: block; }
.palavra { display: inline-block; white-space: nowrap; }
.letra { display: inline-block; }

/* ---------- Botões: pílulas ---------- */
.botao {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--pilula);
  background: var(--grafite-2); color: var(--creme);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  translate: var(--mx) var(--my);
  transition: translate 0.6s var(--pesado), background-color 0.3s, box-shadow 0.3s, color 0.3s, scale 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.botao svg { width: 18px; height: 18px; flex: none; transition: translate 0.6s var(--pesado); }
.botao:hover svg { translate: 4px 0; }
.botao:active { scale: 0.98; }
.botao-brasa, .botao-ouro { background: var(--brasa); color: var(--sobre-brasa); }
.botao-brasa:hover, .botao-ouro:hover { background: var(--brasa-clara); }
.botao-escuro { background: var(--creme); color: var(--carvao); }
.botao-escuro:hover { background: color-mix(in srgb, var(--creme) 86%, var(--carvao)); }
.botao-linha { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1px var(--linha-forte); }
.botao-linha:hover { box-shadow: inset 0 0 0 1px var(--creme); }
.botao-largo { width: 100%; }
.botao[disabled], .botao[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; scale: 1; }
/* Link de ação em laranja, como os "Comprar >" da Apple: sem sublinhado até o hover */
.botao-texto {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  font-weight: 600; color: var(--ouro); text-decoration: none;
  transition: color 0.3s;
}
.botao-texto:hover { color: var(--ouro-claro); text-decoration: underline; text-underline-offset: 4px; }
.botao-texto svg { width: 18px; height: 18px; transition: translate 0.6s var(--pesado); }
.botao-texto:hover svg { translate: 3px 0; }
.icone-botao {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pilula); flex: none;
  transition: background-color 0.2s;
}
.icone-botao:hover { background: var(--realce); }
.icone-botao svg { width: 22px; height: 22px; }

/* ---------- Topo fixo: faixa demo, aviso e header ---------- */
.topo-pilha { position: fixed; inset: 0 0 auto; z-index: 100; }
.faixa-demo {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 28px; padding: 4px 12px;
  background: var(--grafite); color: var(--ouro);
  font-size: 0.78rem; font-weight: 600; text-align: center;
}
.faixa-demo svg { width: 14px; height: 14px; flex: none; }
.aviso-topo { padding: 8px var(--gutter); background: var(--brasa); color: var(--sobre-brasa); font-size: 0.88rem; font-weight: 600; text-align: center; }
.topo {
  height: var(--topo-h);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "marca status nav sacola";
  align-items: center; column-gap: 16px;
  padding: 0 var(--gutter);
  background: var(--topo-fundo);
  border-bottom: 1px solid var(--linha);
  color: var(--creme);
  transition: background-color 0.6s, border-color 0.6s;
}
.topo.is-over-hero { background: transparent; border-color: transparent; }
.marca { grid-area: marca; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-icone { width: 30px; height: 30px; flex: none; color: var(--creme); }
/* Loja sem o emblema do modelo: o próprio ícone (img) ou a inicial do nome sobre o laranja */
img.marca-icone, img.rodape-icone { object-fit: contain; border-radius: var(--raio-sm); }
.marca-inicial {
  display: grid; place-items: center; border-radius: var(--raio-sm);
  background: var(--brasa); color: var(--sobre-brasa); font-weight: 800; font-size: 1rem; line-height: 1;
}
.rodape-icone.marca-inicial { font-size: 1.4rem; border-radius: var(--raio); }
.marca-nome { font-weight: 700; font-size: 1.06rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.topo-status { grid-area: status; display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 500; min-width: 0; color: var(--creme-2); }
.status-ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--creme-3); flex: none; }
.topo[data-aberto="true"] .status-ponto { background: var(--ok); }
.topo[data-aberto="false"] .status-ponto { background: var(--creme-3); }
.status-texto { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-tempo { display: none; align-items: center; gap: 6px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--linha); white-space: nowrap; }
.status-tempo svg { width: 17px; height: 17px; color: var(--creme-2); }
.topo-nav { grid-area: nav; display: none; gap: 30px; font-size: 0.88rem; font-weight: 500; }
.topo-nav a { text-decoration: none; padding: 6px 0; color: var(--creme-2); transition: color 0.3s; }
.topo-nav a:hover { color: var(--creme); }
.topo-sacola {
  grid-area: sacola; position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--pilula);
  background: var(--grafite); color: var(--creme);
  transition: background-color 0.3s, box-shadow 0.6s;
}
.topo-sacola:hover { background: var(--grafite-2); }
.topo-sacola svg { width: 21px; height: 21px; }
.sacola-contador {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 6px;
  display: grid; place-items: center; border-radius: var(--pilula);
  background: var(--brasa); color: var(--sobre-brasa); font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--carvao);
}
.is-recebendo { animation: recebe 0.9s var(--pesado); }
@media (max-width: 639px) {
  .topo { grid-template-columns: 1fr auto; grid-template-areas: "marca sacola" "status sacola"; align-content: center; row-gap: 2px; }
  .marca-icone { width: 26px; height: 26px; }
  .marca-nome { font-size: 0.98rem; }
  .topo-status { padding-left: 36px; font-size: 0.74rem; line-height: 1.2; }
}
@media (min-width: 640px) { .topo-status { justify-self: end; } }
@media (min-width: 1024px) {
  .topo { column-gap: 28px; }
  .topo-status { justify-self: stretch; overflow: hidden; }
  .topo-nav { display: flex; gap: 26px; }
}
@media (min-width: 1280px) {
  .topo-nav { gap: 34px; }
  .status-tempo { display: inline-flex; }
}

/* ---------- 1. Hero ----------
   Burger grande sobre o preto (a borda da foto se dissolve no fundo com uma máscara radial),
   título em caixa alta, ações e uma fileira de miniaturas que troca o burger. A primeira foto é
   o LCP; as entradas são CSS puro. */
.hero { position: relative; z-index: 0; background: var(--carvao); color: var(--creme); }
.hero-palco {
  position: relative; overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "vitrine" "texto" "minis" "fatos";
  padding: calc(var(--topo-h) + var(--topo-extra)) var(--gutter) 36px;
}
.hero-vitrine { grid-area: vitrine; position: relative; margin: 0 calc(var(--gutter) * -1); }
.hero-foto { position: relative; margin: 0 auto; width: min(100%, 42svh); aspect-ratio: 1; }
.hero-camada { position: absolute; inset: 0; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* A foto se dissolve no preto: nada de moldura, o burger "flutua" na página */
  -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.9s var(--pesado-io), transform 1.6s var(--pesado);
}
.hero-img.is-ativa { opacity: 1; transform: scale(1); }
/* Selo do burger em cena: nome, preço e o atalho para pedir */
.hero-item {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 4%;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 16px; border-radius: var(--pilula); text-align: left;
  background: color-mix(in srgb, var(--grafite) 92%, transparent); color: var(--creme);
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color 0.3s;
}
.hero-item:hover { background: var(--grafite-2); }
.hero-item-nome { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.hero-item-preco { font-size: 0.88rem; color: var(--creme-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-item-acao {
  display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 12px 0 14px; border-radius: var(--pilula);
  background: var(--brasa); color: var(--sobre-brasa); font-weight: 600; font-size: 0.88rem;
}
.hero-item-acao svg { width: 16px; height: 16px; }
.hero-texto-col { grid-area: texto; position: relative; z-index: 2; display: grid; gap: 14px; margin-top: 4px; }
.hero-titulo {
  /* --letras = linha mais longa do título (render-pagina.js → blocoHero): nome comprido encolhe para caber */
  --cabe: calc((100vw - 2 * var(--gutter)) / (var(--letras, 7) * var(--hero-largura)));
  display: flex; flex-direction: column;
  font-size: min(clamp(3.1rem, 16.5vw, 5.6rem), var(--cabe)); font-weight: var(--hero-peso); line-height: var(--hero-altura); letter-spacing: var(--hero-espaco);
  text-transform: var(--hero-caixa);
}
.hero-linha { display: block; }
.hero-final { font-weight: 600; font-size: 1.24rem; line-height: 1.25; letter-spacing: -0.02em; }
.hero-texto { max-width: 42ch; color: var(--creme-2); }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 6px; }
/* Miniaturas: trocam o burger em cena. A ativa ganha o aro laranja e um traço em cima. */
.hero-miniaturas { grid-area: minis; display: flex; gap: 10px; margin-top: 26px; }
html:not(.js) .hero-miniaturas { display: none; }
.hero-mini {
  position: relative; display: block; width: 64px; height: 64px; border-radius: var(--raio);
  background: var(--grafite); box-shadow: inset 0 0 0 1px var(--linha);
  transition: box-shadow 0.4s, scale 0.2s;
}
.hero-mini img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; opacity: 0.62; transition: opacity 0.4s; }
.hero-mini:hover img, .hero-mini[aria-pressed="true"] img { opacity: 1; }
.hero-mini:hover { box-shadow: inset 0 0 0 1px var(--linha-forte); }
.hero-mini:active { scale: 0.96; }
.hero-mini[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--carvao), 0 0 0 4px var(--brasa); }
.hero-mini::before {
  content: ""; position: absolute; left: 50%; top: -12px; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px;
  background: var(--brasa); scale: 0 1; transition: scale 0.5s var(--pesado);
}
.hero-mini[aria-pressed="true"]::before { scale: 1 1; }
.hero-fatos {
  grid-area: fatos; position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linha);
  font-size: 0.86rem; color: var(--creme-2);
}
.hero-fatos li { display: inline-flex; align-items: center; gap: 8px; }
.hero-fatos svg { width: 17px; height: 17px; color: var(--creme-3); flex: none; }
.hero-fatos strong { color: var(--creme); font-weight: 600; }
.hero-sobre { color: var(--creme-3); }
/* No celular o texto longo só aparece em telas altas: os botões precisam caber na primeira dobra */
@media (max-height: 880px) and (max-width: 639px) { .hero-texto { display: none; } }
@media (max-width: 639px) {
  .hero-sobre { display: none !important; }
  .hero-acoes { gap: 8px 16px; }
  .hero-acoes .botao { padding: 0 22px; }
  .hero-acoes .botao-texto svg { display: none; }
  .hero-miniaturas { margin-top: 22px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-foto { width: min(100%, 56svh); }
  .hero-titulo { font-size: min(clamp(4rem, 12vw, 6rem), var(--cabe)); }
}
@media (min-width: 1024px) {
  .hero-palco {
    min-height: max(100svh, 700px);
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "texto vitrine" "minis vitrine" "fatos fatos";
    column-gap: 2vw;
    padding: calc(var(--topo-h) + var(--topo-extra) + 20px) var(--gutter) 0;
  }
  .hero-texto-col { align-self: center; gap: 18px; margin-top: 0; }
  .hero-titulo { --cabe: calc(42vw / (var(--letras, 7) * var(--hero-largura))); font-size: min(clamp(4.2rem, 6.6vw, 6rem), var(--cabe)); }
  .hero-final { font-size: 1.5rem; }
  .hero-texto { font-size: 1.06rem; }
  .hero-acoes { margin-top: 10px; }
  .hero-vitrine { align-self: center; margin: 0 calc(var(--gutter) * -0.5) 0 0; }
  .hero-foto { width: min(112%, 86svh, 900px); margin-right: -6%; }
  .hero-item { right: 6%; bottom: 10%; }
  .hero-item-nome { font-size: 1rem; }
  .hero-miniaturas { gap: 14px; margin: 18px 0 40px; }
  .hero-mini { width: 84px; height: 84px; border-radius: max(2px, calc(var(--raio-lg) - 4px)); }
  .hero-fatos { margin-top: 0; padding: 20px 0 28px; gap: 10px 32px; }
}
@media (min-width: 1024px) and (max-height: 760px) { .hero-texto { display: none; } }
/* Loja sem nenhuma foto no cardápio: o hero fica só com título, textos e ações, apoiados embaixo */
.hero-palco--texto { grid-template-areas: "texto" "fatos"; min-height: min(80svh, 680px); align-content: end; }
.hero-palco--texto .hero-texto-col { padding-top: 40px; }
@media (max-height: 880px) and (max-width: 639px) { .hero-palco--texto .hero-texto { display: block; } }
@media (min-width: 1024px) {
  .hero-palco--texto { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "texto" "fatos"; min-height: max(82svh, 620px); }
  .hero-palco--texto .hero-texto-col { align-self: end; max-width: 1100px; padding: 0 0 56px; }
  .hero-palco--texto .hero-titulo { --cabe: calc(86vw / (var(--letras, 7) * var(--hero-largura))); font-size: min(clamp(4.6rem, 9vw, 9rem), var(--cabe)); }
}

/* ---------- Seções ---------- */
.painel { position: relative; z-index: 1; }
.secao-titulo, .processo-intro h2, .cardapio-topo h2, .avaliacoes-topo h2, .info-topo h2 { font-size: clamp(2.6rem, 10vw, 5rem); }

/* ---------- 2. Faixa de ingredientes: texto discreto correndo entre duas linhas ---------- */
.faixa { background: var(--carvao); overflow: clip; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.faixa-fita { position: relative; padding: 22px 0; overflow: hidden; color: var(--creme-2); }
.faixa-trilho { display: flex; width: max-content; }
.faixa-lista { display: flex; flex: none; white-space: nowrap; font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.7rem); line-height: 1; letter-spacing: -0.02em; }
.faixa-lista li { display: flex; align-items: center; }
.faixa-lista li::after { content: ""; width: 5px; height: 5px; margin: 0 1.1em; border-radius: 50%; background: var(--brasa); }
.pausa {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 var(--gutter) 14px auto; padding: 7px 14px; border-radius: var(--pilula);
  font-size: 0.8rem; font-weight: 500; color: var(--creme-2); box-shadow: inset 0 0 0 1px var(--linha);
  float: right;
}
.pausa:hover { color: var(--creme); }
.pausa svg { width: 15px; height: 15px; }
.faixa::after, .avaliacoes::after { content: ""; display: block; clear: both; }
html:not(.js) .pausa { display: none; }

/* ---------- 3. Do pão à sua porta (seção clara, como as seções cinza-claro da Apple) ---------- */
.processo { background: var(--inverso-fundo); color: var(--escuro); padding: 88px var(--gutter) 96px; }
.processo :focus-visible { outline-color: var(--escuro); }
.processo-intro { display: grid; gap: 18px; max-width: 36rem; }
.processo-intro > p { color: var(--tinta); max-width: 40ch; font-size: 1.1rem; }
.processo-contador { display: none; font-weight: 600; font-size: 1rem; color: var(--tinta); font-variant-numeric: tabular-nums; }
.processo-contador span { color: var(--escuro); }
.processo-rota {
  position: sticky; top: calc(var(--topo-h) + var(--topo-extra) + 8px); z-index: 6;
  height: 66px; margin: 32px calc(var(--gutter) * -1) 18px;
  background: linear-gradient(var(--inverso-fundo) 68%, transparent);
}
.rota-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rota-asfalto { fill: none; stroke: color-mix(in srgb, var(--escuro) 6%, transparent); stroke-width: 14; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rota-faixa { fill: none; stroke: color-mix(in srgb, var(--escuro) 22%, transparent); stroke-width: 1; stroke-dasharray: 6 9; vector-effect: non-scaling-stroke; }
.rota-linha { fill: none; stroke: var(--brasa); stroke-width: 3; stroke-dasharray: 10 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.motion .rota-linha { stroke-dasharray: none; }
.rota-parada {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  display: grid; place-items: center; border-radius: 50%; background: var(--inverso-cartao); color: var(--escuro);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--escuro) 18%, transparent); transition: background-color 0.6s, color 0.6s, box-shadow 0.6s;
}
.rota-parada svg { width: 15px; height: 15px; }
.rota-parada.is-ativa { background: var(--escuro); color: var(--inverso-fundo); box-shadow: none; }
.rota-moto { position: absolute; left: 0; top: 0; width: 54px; height: 40px; margin: -34px 0 0 -27px; z-index: 2; color: var(--escuro); transform-origin: 50% 85%; will-change: transform; }
.rota-moto svg { width: 100%; height: 100%; }
html:not(.motion) .rota-moto { display: none; }

.etapas { display: grid; gap: 18px; }
.etapa {
  position: sticky; top: calc(var(--topo-h) + var(--topo-extra) + 84px + var(--n) * 14px);
  min-height: min(68svh, 560px);
  display: grid; grid-template-rows: auto auto 1fr; gap: 12px;
  padding: 26px; border-radius: calc(var(--raio-lg) * 1.28); overflow: hidden;
  background: var(--inverso-cartao); color: var(--escuro);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 40px -24px rgba(0, 0, 0, 0.18);
  transform-origin: 50% 0;
}
.etapa-num { font-weight: 600; font-size: 0.95rem; color: var(--tinta); font-variant-numeric: tabular-nums; }
.etapa h3 { font-size: clamp(1.7rem, 6.4vw, 2.4rem); font-family: var(--display); font-weight: var(--titulo-peso); letter-spacing: var(--titulo-espaco); margin-bottom: 8px; }
.etapa p { max-width: 36ch; color: var(--tinta); }
.etapa-foto { margin: 0; align-self: end; aspect-ratio: 4 / 3; border-radius: calc(var(--raio-lg) * 0.82); overflow: hidden; background: color-mix(in srgb, var(--escuro) 8%, var(--inverso-fundo)); }
.etapa-foto img { width: 100%; height: 100%; object-fit: cover; }
.etapa-sombra { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }

@media (min-width: 1024px) {
  .processo { padding-bottom: 120px; }
  .etapas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .etapa { position: relative; top: auto; min-height: 560px; }
  .processo-rota { position: relative; top: auto; }
}

/* ---------- 4. Destaque da semana · mídia que se expande ----------
   Sem a classe .on (sem JS ou com movimento reduzido): título, foto e texto empilhados.
   Com .on: trilho alto, palco sticky, foto em tela cheia recortada por clip-path (main.js abre o
   recorte), título partido em dois que sai pelos lados e o texto que entra no fim. */
.destaque { background: var(--carvao); color: var(--creme); }
.destaque-palco { display: grid; gap: 28px; padding: 96px var(--gutter); text-align: center; justify-items: center; }
.destaque-titulo { font-size: clamp(3rem, 12vw, 6rem); font-weight: var(--hero-peso); line-height: var(--hero-altura); letter-spacing: var(--hero-espaco); text-transform: var(--hero-caixa); }
.destaque-titulo span { display: inline-block; }
.destaque-midia { position: relative; width: 100%; max-width: 1200px; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--raio-lg); overflow: hidden; background: var(--grafite); }
.destaque-midia img { width: 100%; height: 100%; object-fit: cover; }
.destaque-veu { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
/* Sombra de leitura sob o texto final (só com a cena ligada) */
.destaque-midia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0) 66%); opacity: 0; pointer-events: none; }
.destaque-texto { display: grid; gap: 16px; justify-items: center; max-width: 34rem; }
.destaque-desc { color: var(--creme-2); font-size: 1.1rem; }
.destaque-preco { font-weight: 700; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.destaque.on { height: 300vh; }
.destaque.on .destaque-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: block; padding: 0; }
.destaque.on .destaque-midia { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; border-radius: 0; will-change: clip-path; }
.destaque.on .destaque-midia img { will-change: transform; }
.destaque.on .destaque-midia::after { opacity: var(--fim, 0); }
.destaque.on .destaque-titulo {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.02em;
  font-size: clamp(3rem, 10vw, 6rem); pointer-events: none; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.destaque.on .destaque-texto {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: max(7svh, 48px);
  justify-items: start; text-align: left; max-width: 30rem;
  opacity: 0; visibility: hidden;
}
.destaque.on .destaque-texto.is-visivel { visibility: visible; }
.destaque.on .destaque-desc { color: var(--creme); }
@media (max-width: 639px) { .destaque.on { height: 250vh; } }

/* ---------- 5. Cardápio ---------- */
.cardapio { background: var(--carvao); padding: 104px 0 104px; }
.cardapio-topo { display: grid; gap: 18px; padding: 0 var(--gutter); max-width: 50rem; }
.cardapio-topo > p { color: var(--creme-2); max-width: 54ch; font-size: 1.1rem; }
.cardapio-topo > p.cardapio-data { font-size: 0.86rem; color: var(--creme-3); }
.cardapio-topo > p:empty { display: none; }
.categorias {
  position: sticky; top: calc(var(--topo-h) + var(--topo-extra)); z-index: 30; margin-top: 36px;
  background: var(--topo-fundo);
  border-bottom: 1px solid var(--linha);
}
.categorias-trilho {
  position: relative; display: flex; gap: 4px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 10px var(--gutter); scrollbar-width: none;
}
.categorias-trilho::-webkit-scrollbar { display: none; }
.categoria {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border-radius: var(--pilula); font-weight: 500; font-size: 0.92rem;
  color: var(--creme-2); text-decoration: none; white-space: nowrap;
  transition: color 0.4s;
}
.categoria:hover { color: var(--creme); }
.categoria[aria-current="location"] { color: var(--carvao); }
/* Sem JavaScript o cardápio aparece inteiro, mas a sacola não funciona: some o botão "+". */
html:not(.js) .card-mais, html:not(.js) .hero-item, html:not(.js) .destaque-texto .botao { display: none; }
.categorias-indicador {
  position: absolute; z-index: 0; top: 10px; left: 0; height: 38px; width: var(--w, 0px); border-radius: var(--pilula);
  background: var(--creme); transform: translateX(var(--x, 0px));
  transition: transform 0.9s var(--pesado), width 0.9s var(--pesado);
}
.cardapio-lista { padding: 0 var(--gutter); }
.cardapio-aviso { padding: 48px 0; color: var(--creme-2); font-weight: 500; text-align: center; }
.cat-secao { padding-top: 56px; scroll-margin-top: calc(var(--topo-h) + var(--topo-extra) + 70px); }
.cat-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 22px; }
.cat-cabeca h3 { font-family: var(--display); font-weight: var(--titulo-peso); font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: var(--titulo-espaco); }
.cat-cabeca p { color: var(--creme-3); font-size: 0.95rem; max-width: 50ch; }
.cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }

.card { position: relative; }
.card-corpo {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "info foto"; gap: 16px;
  padding: 16px; border-radius: var(--raio-lg);
  background: var(--grafite);
  transition: background-color 0.4s;
}
.card:hover .card-corpo { background: color-mix(in srgb, var(--grafite) 94%, var(--creme)); }
.card-foto {
  grid-area: foto; position: relative; align-self: start; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden;
  background: var(--grafite-2);
}
.card-foto img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--pesado); }
.card:hover .card-foto img { scale: 1.04; }
.card-info { grid-area: info; display: grid; align-content: start; gap: 6px; min-width: 0; }
.card-nome { font-size: 1.14rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.card-abrir { text-align: left; font: inherit; color: inherit; }
.card-abrir::after { content: ""; position: absolute; inset: 0; border-radius: var(--raio-lg); z-index: 1; }
.card-abrir:focus-visible { outline: none; }
.card-abrir:focus-visible::after { outline: 2px solid var(--ouro); outline-offset: 3px; }
.card-abrir[disabled] { cursor: default; }
.card-desc { font-size: 0.9rem; line-height: 1.5; color: var(--creme-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-preco { margin-top: 6px; font-weight: 600; font-size: 1.04rem; color: var(--creme); font-variant-numeric: tabular-nums; }
.card-preco small { font-weight: 500; font-size: 0.78rem; color: var(--creme-3); }
.card-preco s { font-size: 0.85em; margin-right: 4px; }
.card-mais {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pilula);
  background: var(--brasa); color: var(--sobre-brasa);
  transition: background-color 0.3s, scale 0.2s;
}
.card-mais svg { width: 20px; height: 20px; }
.card-mais:hover { background: var(--brasa-clara); }
.card-mais:active { scale: 0.92; }
.card-mais[disabled] { background: var(--grafite-3); color: var(--creme-3); cursor: not-allowed; }
.card.is-esgotado .card-foto img { filter: grayscale(1) brightness(0.6); }
.card.is-esgotado .card-nome, .card.is-esgotado .card-preco { opacity: 0.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* Etiquetas vêm antes do nome no HTML (gerado), mas aparecem logo abaixo dele: nada de texto pequeno acima de título */
.card-nome, .item-nome { order: 1; }
.card-info .tags, .item-cabeca .tags { order: 2; }
.card-desc, .item-desc { order: 3; }
.card-preco, .item-preco { order: 4; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--pilula); font-size: 0.72rem; font-weight: 600; box-shadow: inset 0 0 0 1px currentColor; }
.tag svg { width: 12px; height: 12px; }
.tag-ouro { color: var(--ouro); }
.tag-brasa { color: var(--sobre-brasa); background: var(--brasa); box-shadow: none; }
.tag-oliva { color: var(--verde); }
.tag-neutro { color: var(--creme-2); }
.tag-promo { color: var(--sobre-brasa); background: var(--brasa); box-shadow: none; }
.tag-esgotado { color: var(--creme); background: var(--grafite-3); box-shadow: none; }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cardapio { padding-top: 140px; }
  .cardapio-lista, .cardapio-topo { max-width: 1320px; margin-inline: auto; }
  .cardapio-topo { padding-inline: var(--gutter); }
  .categorias-trilho { justify-content: center; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cat-secao { padding-top: 72px; }
  .card-corpo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "foto" "info"; padding: 12px 12px 24px; }
  .card-foto { aspect-ratio: 4 / 3; border-radius: calc(var(--raio-lg) * 0.73); }
  .card-info { padding: 10px 62px 0 10px; }
  .card-mais { right: 18px; bottom: 20px; width: 44px; height: 44px; }
}

/* ---------- 6. Avaliações ---------- */
.avaliacoes { background: var(--carvao); color: var(--creme); padding: 104px 0 72px; overflow: clip; border-top: 1px solid var(--linha); }
.avaliacoes-topo { display: grid; gap: 18px; padding: 0 var(--gutter); margin-bottom: 40px; }
.avaliacoes-topo > p { color: var(--creme-2); font-size: 1.1rem; max-width: 52ch; }
.avaliacoes-nota { font-weight: 700; color: var(--creme); }
.avaliacoes-fita { overflow: hidden; padding: 6px 0 20px; }
.avaliacoes-lista { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.avaliacao { flex: none; width: min(80vw, 360px); }
.avaliacao figure {
  position: relative; margin: 0; height: 100%; display: grid; align-content: start; gap: 16px; padding: 26px; border-radius: var(--raio-lg);
  background: var(--grafite);
}
.avaliacao blockquote { margin: 0; font-weight: 500; font-size: 1.04rem; line-height: 1.45; }
.avaliacao figcaption { font-size: 0.86rem; color: var(--creme-3); }
.avaliacao figcaption strong { color: var(--creme); font-weight: 600; }
.estrelas { display: flex; gap: 3px; color: var(--ouro); }
.estrelas svg { width: 14px; height: 14px; }
.estrelas .apagada { color: var(--grafite-3); }
html:not(.motion) .avaliacoes-fita { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
html:not(.motion) .avaliacao { scroll-snap-align: start; }
@media (min-width: 1024px) {
  .avaliacoes-topo { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
}

/* ---------- 7. Informações ---------- */
.info { background: var(--carvao); padding: 104px var(--gutter) 104px; display: grid; gap: 48px; border-top: 1px solid var(--linha); }
.info-topo { display: grid; gap: 18px; }
.info-topo > p { color: var(--creme-2); max-width: 62ch; font-size: 1.1rem; }
/* Quatro dados em linha, separados por fios: sem cartões nem números gigantes */
.info-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; }
.info-item { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-top: 1px solid var(--linha); }
.info-item dt { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; color: var(--creme-3); }
.info-item dt svg { width: 17px; height: 17px; color: var(--creme-3); }
.info-item dd { margin: 0; font-size: 0.9rem; color: var(--creme-2); }
.info-num { display: block; margin-bottom: 2px; font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; color: var(--creme); white-space: nowrap; }
.info-extra { padding: 16px 18px; border-radius: var(--raio); background: var(--grafite); color: var(--creme); font-weight: 500; }
/* Onde a chapa fica: endereço, mapa (iframe com loading="lazy") e cidades atendidas */
.info-local { display: grid; gap: 24px; }
.info-local-texto { display: grid; gap: 14px; align-content: start; }
.info-local h3 { font-family: var(--display); font-weight: var(--titulo-peso); font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: var(--titulo-espaco); }
.info-endereco { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.info-endereco svg { width: 20px; height: 20px; color: var(--creme-2); flex: none; margin-top: 3px; }
.info-local-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.cidades { display: grid; gap: 10px; }
.cidades h4 { margin-top: 6px; font-size: 0.86rem; font-weight: 500; letter-spacing: 0; color: var(--creme-3); }
.cidades ul { display: flex; flex-wrap: wrap; gap: 6px; }
.cidades li { padding: 6px 14px; border-radius: var(--pilula); background: var(--grafite); font-size: 0.88rem; font-weight: 500; }
.cidades-nota { font-size: 0.88rem; color: var(--creme-2); }
.info-mapa-real { position: relative; aspect-ratio: 4 / 3; min-height: 260px; border-radius: var(--raio-lg); overflow: hidden; background: var(--grafite); }
.info-mapa-real iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.95); }
@media (min-width: 1024px) {
  .info-local { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6vw; align-items: start; }
}

.faq { display: grid; }
.faq h3 { font-family: var(--display); font-weight: var(--titulo-peso); font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: var(--titulo-espaco); margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-of-type { border-bottom: 1px solid var(--linha); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0;
  font-weight: 600; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.015em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--creme-2); border-bottom: 1.5px solid var(--creme-2); rotate: 45deg; translate: 0 -3px; transition: rotate 0.6s var(--pesado), translate 0.6s var(--pesado); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { padding: 0 0 22px; color: var(--creme-2); max-width: 68ch; }
.faq-data { margin-top: 14px; font-size: 0.82rem; color: var(--creme-3); }
@media (min-width: 1024px) {
  .info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6vw; row-gap: 64px; padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2)); padding-top: 140px; }
  .info > * { min-width: 0; }
  .info-topo { grid-column: 1 / -1; }
  .info-grade { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .info-extra { grid-column: 1 / -1; }
  .faq { grid-column: 1 / -1; max-width: 920px; }
}

/* ---------- Rodapé ---------- */
.rodape {
  position: relative; z-index: 1;
  background: var(--carvao); color: var(--creme-2); border-top: 1px solid var(--linha);
  padding: 72px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  display: grid; gap: 40px;
}
.rodape-marca { display: grid; gap: 16px; }
.rodape-icone { width: 44px; height: 44px; color: var(--creme); }
.rodape-nome { font-family: var(--display); font-weight: var(--titulo-peso); font-size: clamp(3rem, 14vw, 6rem); line-height: 0.92; letter-spacing: var(--titulo-espaco); color: var(--creme); text-wrap: balance; overflow-wrap: anywhere; }
.rodape-slogan { color: var(--creme-2); font-size: 1.02rem; max-width: 46ch; }
.rodape-contato { display: grid; gap: 12px; font-size: 0.94rem; }
.rodape-contato p { display: flex; align-items: center; gap: 12px; }
.rodape-contato svg { width: 19px; height: 19px; color: var(--creme-3); flex: none; }
.rodape-contato a { text-decoration: none; color: var(--creme); }
.rodape-contato a:hover { text-decoration: underline; }
.rodape-legal { display: grid; gap: 12px; font-size: 0.82rem; color: var(--creme-3); border-top: 1px solid var(--linha); padding-top: 22px; }
.rodape-privacidade summary { cursor: pointer; font-weight: 500; color: var(--creme-2); }
.rodape-privacidade p { margin-top: 8px; max-width: 72ch; }
.rodape-credito a { color: var(--creme-2); }
@media (min-width: 1024px) {
  .rodape { grid-template-columns: 1.4fr 1fr; padding-bottom: 56px; align-items: end; padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2)); }
  .rodape-legal { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: start; column-gap: 32px; }
}

/* ---------- Botão flutuante da sacola (celular) ---------- */
.sacola-flutuante {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 20px 0 10px; border-radius: var(--pilula);
  background: var(--brasa); color: var(--sobre-brasa); font-weight: 600;
  box-shadow: 0 22px 44px -16px var(--sombra-cor);
  translate: 0 0; transition: translate 0.9s var(--pesado), opacity 0.4s;
}
.sacola-flutuante.is-escondida { translate: 0 140%; opacity: 0; }
.sf-qtd { padding: 6px 12px; border-radius: var(--pilula); background: color-mix(in srgb, var(--sobre-brasa) 14%, transparent); font-weight: 600; font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.sf-acao { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.98rem; }
.sf-acao svg { width: 20px; height: 20px; }
.sf-total { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .sacola-flutuante { display: none !important; } }


/* ---------- Folhas (dialog): item, sacola, checkout ---------- */
dialog.folha {
  position: fixed; inset: auto 0 0 0; margin: 0; padding: 0; border: 0;
  width: 100%; max-width: none; max-height: 92svh;
  border-radius: var(--raio-lg) var(--raio-lg) 0 0;
  background: var(--grafite); color: var(--creme);
  box-shadow: 0 -1px 0 var(--linha-forte), 0 -30px 60px -20px var(--sombra-cor);
  overflow: hidden;
}
dialog.folha[open] { display: flex; flex-direction: column; animation: folhaSobe 0.8s var(--pesado); }
dialog.folha.is-saindo { animation: folhaDesce 0.45s var(--pesado-io) forwards; }
dialog.folha::backdrop { background: rgba(0, 0, 0, 0.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: aparece 0.5s; }
dialog.folha.is-saindo::backdrop { animation: some 0.45s forwards; }
dialog.folha::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 3px; margin-left: -20px; border-radius: 2px; background: var(--linha-forte); }
.folha-topo { display: flex; align-items: center; gap: 8px; padding: 18px 12px 10px 20px; }
.folha-topo h2 { flex: 1; font-size: 1.5rem; }
.folha-corpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.folha-rodape { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--grafite); }
@media (min-width: 640px) {
  dialog.folha.sacola, dialog.folha.checkout {
    inset: 0 0 0 auto; width: min(500px, 100vw); height: 100%; max-height: none; border-radius: 0;
    box-shadow: -1px 0 0 var(--linha-forte), -30px 0 60px -20px var(--sombra-cor);
  }
  dialog.folha.sacola[open], dialog.folha.checkout[open] { animation-name: folhaEntraLado; }
  dialog.folha.sacola.is-saindo, dialog.folha.checkout.is-saindo { animation-name: folhaSaiLado; }
  dialog.folha.sacola::before, dialog.folha.checkout::before { display: none; }
  dialog.folha.item-folha { inset: 0; margin: auto; width: min(580px, 92vw); max-height: 90vh; border-radius: var(--raio-lg); box-shadow: 0 0 0 1px var(--linha-forte), var(--sombra); }
  dialog.folha.item-folha[open] { animation-name: folhaZoom; }
  dialog.folha.item-folha.is-saindo { animation-name: folhaZoomSai; }
  dialog.folha.item-folha::before { display: none; }
}

/* Item */
.item-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.item-rolagem { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.item-fechar { position: absolute; top: 14px; right: 14px; z-index: 3; background: color-mix(in srgb, var(--carvao) 80%, transparent); box-shadow: inset 0 0 0 1px var(--linha); }
.item-foto { position: relative; margin: 22px 16px 0; aspect-ratio: 16 / 10; border-radius: var(--raio); overflow: hidden; background: var(--grafite-3); }
.item-foto img { width: 100%; height: 100%; object-fit: cover; }
.item-cabeca { display: grid; gap: 8px; padding: 18px 20px 8px; }
.item-nome { font-size: clamp(1.8rem, 7vw, 2.3rem); }
.item-desc { color: var(--creme-2); font-size: 0.95rem; }
.item-preco { font-weight: 600; font-size: 1.24rem; color: var(--creme); font-variant-numeric: tabular-nums; }
.opcoes { border: 0; margin: 0; padding: 18px 20px 8px; border-top: 1px solid var(--linha); min-width: 0; }
.opcoes legend { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 0; margin-bottom: 4px; font-weight: 700; font-size: 1.02rem; }
.opcoes-dica { display: block; font-size: 0.8rem; font-weight: 500; color: var(--creme-3); margin-bottom: 6px; }
.selo-obrigatorio { padding: 2px 9px; border-radius: var(--pilula); box-shadow: inset 0 0 0 1px var(--ouro); color: var(--ouro); font-size: 0.74rem; font-weight: 600; }
.opcoes.is-invalido .selo-obrigatorio { background: var(--erro); color: var(--grafite); box-shadow: none; }
.opcao { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--linha-clara); cursor: pointer; }
.opcao:last-child { border-bottom: 0; }
.opcao input { width: 20px; height: 20px; margin: 0; accent-color: var(--ouro); flex: none; }
.opcao-nome { font-weight: 600; }
.opcao-nome small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--creme-3); }
.opcao-preco { margin-left: auto; font-family: var(--caixa); font-weight: 700; color: var(--ouro); white-space: nowrap; }
.opcao.is-bloqueada { opacity: 0.45; }
.combo-caixa { margin-top: 4px; padding: 14px; border-radius: var(--raio); background: var(--recuo); box-shadow: inset 0 0 0 1px var(--linha); }
.combo-caixa .opcao { border-bottom: 0; }
.combo-bebidas { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: var(--pilula); font-weight: 600; font-size: 0.9rem; box-shadow: inset 0 0 0 1px var(--linha-forte); transition: background-color 0.3s, color 0.3s; }
.chip input:checked + span { background: var(--brasa); color: var(--sobre-brasa); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--ouro); outline-offset: 2px; }
.opcoes-legenda { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 1.02rem; }
.obs textarea { width: 100%; min-height: 84px; padding: 0.95rem 1.2rem; border-radius: var(--raio); border: 1px solid color-mix(in srgb, var(--creme) 16%, transparent); background: var(--ferro); font-size: 16px; resize: vertical; }
.obs textarea:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ouro) 25%, transparent); }
.obs-contador { display: block; text-align: right; font-size: 0.78rem; color: var(--creme-3); margin-top: 4px; }
.item-rodape { display: flex; align-items: center; gap: 12px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--grafite); }
.item-rodape .botao { flex: 1; justify-content: space-between; padding: 0 22px; }
.quantidade { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--pilula); box-shadow: inset 0 0 0 1px var(--linha-forte); flex: none; }
.quantidade button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pilula); transition: background-color 0.2s; }
.quantidade button:hover { background: var(--realce); }
.quantidade button svg { width: 18px; height: 18px; }
.quantidade output { min-width: 26px; text-align: center; font-family: var(--caixa); font-weight: 700; font-variant-numeric: tabular-nums; }
.quantidade-p button { width: 34px; height: 34px; }
.quantidade-p button svg { width: 16px; height: 16px; }

/* Sacola */
.sacola-vazia { display: grid; justify-items: center; gap: 14px; padding: 44px 10px; text-align: center; }
.sacola-vazia svg { width: 72px; height: 72px; color: var(--ouro); }
.sacola-vazia h3 { font-size: 1.6rem; }
.sacola-vazia p { color: var(--creme-2); }
.linhas { display: grid; }
.linha { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--linha-clara); }
.linha-foto { grid-row: span 2; width: 60px; height: 60px; border-radius: var(--raio-sm); object-fit: cover; background: var(--grafite-3); }
.linha-topo { display: flex; justify-content: space-between; gap: 10px; }
.linha-nome { font-weight: 700; line-height: 1.25; }
.linha-preco { font-weight: 600; color: var(--creme); white-space: nowrap; font-variant-numeric: tabular-nums; }
.linha-det { font-size: 0.82rem; color: var(--creme-3); line-height: 1.4; }
.linha-obs { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: var(--pilula); box-shadow: inset 0 0 0 1px var(--linha); font-size: 0.8rem; color: var(--creme-2); }
.linha-acoes { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.linha-remover { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px; font-size: 0.84rem; font-weight: 600; color: var(--erro); border-radius: var(--raio-sm); }
.linha-remover svg { width: 18px; height: 18px; }
.entrega-info { display: grid; gap: 8px; margin: 16px 0 6px; padding: 14px 16px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha); background: var(--recuo); font-size: 0.88rem; }
.entrega-info p { display: flex; gap: 10px; align-items: center; color: var(--creme-2); }
.entrega-info p svg { width: 18px; height: 18px; color: var(--ouro); flex: none; }
.entrega-info strong { color: var(--creme); }
.frete-barra { height: 3px; border-radius: 2px; background: var(--grafite-3); overflow: hidden; }
.frete-barra span { display: block; height: 100%; background: var(--ouro); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1s var(--pesado); }
.totais { display: grid; gap: 6px; margin: 0; }
.totais div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.94rem; }
.totais dt { color: var(--creme-2); }
.totais dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totais .gratis { color: var(--ok); }
.totais .total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--linha); font-size: 1.12rem; }
.totais .total dt { color: var(--creme); font-weight: 700; }
.totais .total dd { font-weight: 700; color: var(--creme); font-size: 1.3rem; }
.sacola-rodape-acoes { display: grid; gap: 10px; margin-top: 14px; }
.aviso-fechado { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha-forte); background: var(--recuo); font-size: 0.88rem; color: var(--creme-2); }
.aviso-fechado svg { width: 20px; height: 20px; color: var(--ouro); flex: none; }


/* Checkout */
.checkout .folha-topo h2 { text-align: center; font-size: 1.3rem; }
.progresso { padding: 0 20px 14px; }
.progresso-passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 10px; font-size: 0.78rem; font-weight: 600; color: var(--creme-3); text-align: center; }
.progresso-passos li { transition: color 0.4s; }
.progresso-passos li.is-atual { color: var(--creme); }
.progresso-passos li.is-feito { color: var(--ouro); }
.progresso-barra { height: 2px; background: var(--grafite-3); overflow: hidden; }
.progresso-barra span { display: block; height: 100%; background: var(--ouro); transform: scaleX(var(--p, 0.25)); transform-origin: left; transition: transform 1.1s var(--pesado); }
.checkout-form { display: block; }
.etapa-checkout { border: 0; margin: 0; padding: 4px 0 0; min-width: 0; }
.etapa-checkout legend { padding: 0; margin-bottom: 18px; font-family: var(--display); font-weight: var(--titulo-peso); font-size: 1.6rem; line-height: 1.1; letter-spacing: var(--titulo-espaco); }
.etapa-checkout.is-entrando { animation: etapaEntra 0.9s var(--pesado); }
.etapa-checkout.is-voltando { animation: etapaVolta 0.9s var(--pesado); }
.campo { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.campo label { font-weight: 600; font-size: 0.9rem; }
.opcional { font-weight: 500; color: var(--creme-3); }
.campo-input {
  width: 100%; min-height: 56px; padding: 1rem 1.35rem;
  border-radius: var(--raio); border: 1px solid color-mix(in srgb, var(--creme) 16%, transparent); background: var(--ferro); color: var(--creme);
  font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s;
}
.campo-input::placeholder { color: color-mix(in srgb, var(--creme-2) 70%, transparent); }
.campo-input:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ouro) 25%, transparent); }
.campo-input[aria-invalid="true"] { border-color: var(--erro); background: var(--erro-fundo); }
.campo-input[readonly], .campo-input:disabled { opacity: 0.6; }
.campo-ajuda { font-size: 0.8rem; color: var(--creme-3); }
.campo-erro { font-size: 0.84rem; font-weight: 700; color: var(--erro); }
.campo-erro:empty { display: none; }
.campo-dupla { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; }
.campo-cep { position: relative; }
.campo-cep.is-carregando::after { content: ""; position: absolute; right: 18px; top: 44px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--grafite-3); border-top-color: var(--ouro); animation: gira 0.9s linear infinite; }
.checagem { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.checagem input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ouro); flex: none; }
.lgpd { display: grid; gap: 12px; margin-top: 6px; padding: 16px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha); background: var(--recuo); font-size: 0.86rem; line-height: 1.55; color: var(--creme-2); }
.lgpd > p { display: flex; gap: 10px; }
.lgpd > p svg { width: 20px; height: 20px; flex: none; color: var(--ouro); margin-top: 1px; }
.lgpd .checagem { color: var(--creme); }
.lgpd a, .rodape-privacidade a { color: var(--creme); text-decoration: underline; text-underline-offset: 3px; }
.tipo-entrega { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.tipo-opcao { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--raio); cursor: pointer; box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow 0.3s, background-color 0.3s; }
.tipo-opcao:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ouro); background: color-mix(in srgb, var(--brasa) 8%, transparent); }
.tipo-opcao input { position: absolute; opacity: 0; }
.tipo-opcao svg { width: 24px; height: 24px; color: var(--ouro); flex: none; }
.tipo-opcao strong { display: block; }
.tipo-opcao small { display: block; font-size: 0.78rem; color: var(--creme-3); }
.tipo-opcao:has(input:focus-visible) { outline: 2px solid var(--ouro); outline-offset: 2px; }
.retirada-info p { display: flex; gap: 12px; padding: 16px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha-forte); color: var(--creme-2); }
.retirada-info svg { width: 22px; height: 22px; color: var(--ouro); flex: none; }
.retirada-info strong { color: var(--creme); }
.entrega-resultado:empty { display: none; }
.entrega-resultado { display: flex; gap: 12px; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: var(--raio); font-size: 0.9rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--linha); color: var(--creme-2); }
.entrega-resultado svg { width: 22px; height: 22px; flex: none; color: var(--ouro); }
.entrega-resultado strong { color: var(--ouro); font-family: var(--caixa); font-weight: 700; }
.pagamentos { display: grid; gap: 10px; }
.pagamentos-grupo { margin-top: 6px; font-size: 0.84rem; font-weight: 600; color: var(--creme-3); }
.pagamento-opcao {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px;
  min-height: 70px; padding: 14px 16px; border-radius: var(--raio); cursor: pointer;
  background: var(--ferro); box-shadow: inset 0 0 0 1px var(--linha);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.pagamento-opcao:has(input:checked) { background: color-mix(in srgb, var(--brasa) 10%, transparent); box-shadow: inset 0 0 0 1px var(--ouro); }
.pagamento-opcao input { width: 18px; height: 18px; margin: 0; accent-color: var(--ouro); }
.pagamento-opcao > svg { width: 24px; height: 24px; color: var(--ouro); }
.pagamento-opcao strong { display: block; }
.pagamento-opcao small { display: block; font-size: 0.8rem; color: var(--creme-3); }
.pagamento-extra { margin-top: 16px; padding: 16px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha); background: var(--recuo); }
.pix-chave-manual { font-size: 0.88rem; color: var(--creme-2); }
.pix-chave-manual strong { color: var(--creme); }
.cartao-gateway { display: grid; gap: 10px; }
.mock-cartao { display: grid; gap: 10px; }
.mock-cartao p { font-size: 0.86rem; color: var(--creme-2); }
.mock-cartao-visual {
  position: relative; aspect-ratio: 1.6; max-width: 300px; padding: 18px; border-radius: var(--raio); overflow: hidden;
  background: linear-gradient(135deg, var(--grafite-2), var(--ferro)); color: var(--creme); box-shadow: inset 0 0 0 1px var(--linha-forte);
  display: grid; align-content: space-between; font-family: var(--caixa);
}
.mock-cartao-visual::after { content: ""; position: absolute; width: 150px; height: 150px; right: -50px; top: -50px; border-radius: 50%; background: color-mix(in srgb, var(--brasa) 14%, transparent); }
.mock-cartao-numero { font-size: 1.1rem; }
.revisao { display: grid; gap: 14px; }
.revisao-bloco { padding: 16px; border-radius: var(--raio); background: var(--recuo); box-shadow: inset 0 0 0 1px var(--linha); }
.revisao-bloco h3 { display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; font-weight: 600; color: var(--creme-3); margin-bottom: 8px; }
.revisao-bloco h3 button { font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0; text-transform: none; color: var(--ouro); text-decoration: underline; font-weight: 600; min-height: 32px; }
.revisao-bloco p { color: var(--creme-2); }
.revisao-bloco p strong { color: var(--creme); }
.revisao-itens { display: grid; gap: 8px; font-size: 0.92rem; }
.revisao-itens li { display: flex; justify-content: space-between; gap: 12px; }
.revisao-itens small { display: block; color: var(--creme-3); }
.revisao-itens strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.aviso-demo { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--ouro); color: var(--ouro-claro); font-size: 0.84rem; font-weight: 600; margin-top: 14px; }
.aviso-demo svg { width: 18px; height: 18px; flex: none; }
.checkout-erro { display: flex; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--raio); background: var(--erro-fundo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--erro) 50%, transparent); color: var(--erro); font-weight: 700; font-size: 0.9rem; }
.checkout-rodape { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.checkout-total { display: grid; line-height: 1.2; }
.checkout-total span { font-size: 0.76rem; color: var(--creme-3); font-weight: 600; }
.checkout-total strong { font-weight: 700; font-size: 1.36rem; color: var(--creme); font-variant-numeric: tabular-nums; }
.checkout-rodape .botao[data-carregando="true"] { pointer-events: none; }
.checkout-rodape .botao[data-carregando="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: currentColor; animation: gira 0.9s linear infinite; }
.checkout-rodape .botao[data-carregando="true"] svg { display: none; }

/* Telas finais: Pix e sucesso */
.checkout-final { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 22px 28px; text-align: center; display: grid; align-content: start; justify-items: center; gap: 14px; }
.checkout-final h2 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
.checkout-final > p { color: var(--creme-2); max-width: 36ch; }
.pix-qr { width: 228px; height: 228px; padding: 14px; border-radius: var(--raio); background: #fff; box-shadow: 0 0 0 1px var(--linha-forte), var(--sombra); display: grid; place-items: center; }
.pix-qr img, .pix-qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.pix-valor { font-weight: 700; font-size: 2.6rem; color: var(--ouro); line-height: 1; }
.pix-codigo { width: 100%; max-width: 380px; display: grid; gap: 8px; }
.pix-codigo code { display: block; max-height: 74px; overflow: auto; padding: 12px; border-radius: var(--raio); background: var(--ferro); border: 1px dashed var(--linha-forte); font-size: 0.7rem; text-align: left; word-break: break-all; color: var(--creme-2); }
.pix-espera { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; }
.pix-espera::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--grafite-3); border-top-color: var(--ouro); animation: gira 0.9s linear infinite; }
.pix-expira { font-size: 0.84rem; color: var(--creme-3); font-variant-numeric: tabular-nums; }
.pix-simulacao { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.sucesso-selo { position: relative; width: 120px; height: 120px; margin-top: 18px; }
.sucesso-selo svg { width: 100%; height: 100%; }
.sucesso-circulo { fill: none; stroke: var(--ouro); stroke-width: 2; stroke-dasharray: 360; stroke-dashoffset: 360; animation: traco 1.4s var(--pesado) forwards; }
.sucesso-check { fill: none; stroke: var(--ouro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: traco 1s 0.6s var(--pesado) forwards; }
.sucesso-numero { font-weight: 700; font-size: clamp(3.2rem, 14vw, 4.6rem); line-height: 1; color: var(--ouro); }
.sucesso-janela { padding: 14px 18px; border-radius: var(--raio); box-shadow: inset 0 0 0 1px var(--linha); font-weight: 600; color: var(--creme-2); }
.sucesso-janela strong { font-family: var(--caixa); font-weight: 700; font-size: 1.2rem; color: var(--creme); }
.sucesso-acoes { display: grid; gap: 10px; width: 100%; max-width: 380px; margin-top: 6px; }
.sucesso-acoes .botao svg { transition: none; }
.sucesso-acoes .botao-texto { justify-content: center; }
.cancelar-aviso { font-size: 0.86rem; color: var(--creme-2); max-width: 40ch; }
.cancelar-aviso a { color: var(--ouro); font-weight: 700; white-space: nowrap; }

/* Toast, cursor e voo para a sacola */
.toast {
  position: fixed; z-index: 250; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom));
  max-width: min(92vw, 420px); padding: 12px 18px; border-radius: var(--raio);
  background: var(--grafite-2); color: var(--creme); font-weight: 600; font-size: 0.9rem; box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra);
  translate: -50% 20px; opacity: 0; pointer-events: none; transition: translate 0.8s var(--pesado), opacity 0.4s;
}
.toast.is-visivel { translate: -50% 0; opacity: 1; }
@media (min-width: 1024px) { .toast { bottom: 32px; } }
.voando { position: fixed; z-index: 260; left: 0; top: 0; border-radius: var(--raio-sm); object-fit: cover; pointer-events: none; box-shadow: 0 0 0 1px var(--linha-forte), 0 16px 30px -10px rgba(0, 0, 0, 0.8); }
/* ---------- Keyframes ---------- */
@keyframes gira { to { rotate: 360deg; } }
@keyframes aparece { from { opacity: 0; } }
@keyframes some { to { opacity: 0; } }
@keyframes folhaSobe { from { transform: translateY(100%); } }
@keyframes folhaDesce { to { transform: translateY(100%); } }
@keyframes folhaEntraLado { from { transform: translateX(100%); } }
@keyframes folhaSaiLado { to { transform: translateX(100%); } }
@keyframes folhaZoom { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes folhaZoomSai { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes etapaEntra { from { opacity: 0; transform: translateX(28px); } }
@keyframes etapaVolta { from { opacity: 0; transform: translateX(-28px); } }
@keyframes recebe { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brasa) 70%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes traco { to { stroke-dashoffset: 0; } }


/* =========================================================================
   Camada de movimento
   ========================================================================= */

/* Hero: entradas em CSS puro (o LCP não espera o JS). Só "backwards": depois de terminar, a
   animação não segura mais o transform. O burger cresce devagar do escuro, o título sobe por
   linha e as miniaturas chegam em sequência. Desaceleração longa, sem quique. */
.motion .hero-foto { animation: heroFoto 1.8s var(--pesado) backwards; }
.motion .hero-linha, .motion .hero-final, .motion .hero-texto, .motion .hero-acoes, .motion .hero-fatos, .motion .hero-item { animation: heroEntra 1.3s var(--pesado) backwards; }
.motion .hero-linha { animation-delay: 0.15s; }
.motion .hero-linha + .hero-linha { animation-delay: 0.25s; }
.motion .hero-final { animation-delay: 0.4s; }
.motion .hero-texto { animation-delay: 0.48s; }
.motion .hero-acoes { animation-delay: 0.56s; }
.motion .hero-fatos { animation-delay: 0.8s; }
.motion .hero-item { animation-delay: 1.1s; }
.motion .hero-miniaturas li { animation: heroEntra 1.2s var(--pesado) backwards; animation-delay: calc(0.65s + var(--i, 0) * 0.07s); }
.motion .hero-miniaturas li:nth-child(2) { --i: 1; }
.motion .hero-miniaturas li:nth-child(3) { --i: 2; }
.motion .hero-miniaturas li:nth-child(4) { --i: 3; }
@keyframes heroFoto { from { opacity: 0; transform: scale(0.92); } }
@keyframes heroEntra { from { opacity: 0; transform: translateY(28px); } }

/* Processo: no desktop vira trilho horizontal fixo (sticky) com a moto no trajeto. */
@media (min-width: 1024px) {
  .motion .processo { height: var(--processo-altura, 360vh); padding: 0; }
  .motion .processo-palco { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .motion .processo-trilho { position: relative; display: flex; align-items: center; gap: 4vw; height: 100%; width: max-content; padding: var(--topo-h) 8vw 0 var(--gutter); will-change: transform; }
  .motion .processo-intro { width: 32vw; flex: none; align-self: center; margin-top: -8vh; }
  .motion .processo-contador { display: block; margin-top: 18px; }
  .motion .etapas { display: flex; gap: 2.4vw; margin-top: -8vh; }
  .motion .etapa { position: relative; top: auto; width: min(46vw, 680px); height: min(64vh, 580px); min-height: 0; flex: none; padding: 32px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: 28px; }
  .motion .etapa-texto { grid-column: 1; grid-row: 2; align-self: end; }
  .motion .etapa-foto { grid-column: 2; grid-row: 1 / -1; align-self: stretch; aspect-ratio: auto; }
  .motion .processo-rota { position: absolute; left: 0; right: 0; bottom: 4vh; top: auto; height: 110px; margin: 0; background: none; }
  .motion .rota-moto { width: 76px; height: 56px; margin: -48px 0 0 -38px; }
  .motion .rota-parada { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .motion .rota-parada svg { width: 19px; height: 19px; }
}

/* =========================================================================
   Reduced motion: só fades simples
   ========================================================================= */
.fade { opacity: 0; transition: opacity 1s ease; }
.fade.is-visivel { opacity: 1; }
/* ---------- Loja em rascunho: "Em breve" (server/lancamento.js) ---------- */
/* Política de privacidade (/privacidade/, lib/privacidade.js): texto longo com o tema da loja */
.politica { max-width: 46rem; margin: 0 auto; padding: 48px var(--gutter) 96px; color: var(--creme-2); font-size: 1rem; line-height: 1.65; }
.politica h1 { margin: 12px 0 4px; color: var(--creme); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.politica h2 { margin: 40px 0 10px; color: var(--creme); font-size: 1.25rem; letter-spacing: -0.01em; }
.politica p, .politica ul { margin: 0 0 12px; }
.politica ul { padding-left: 1.2em; }
.politica li { margin-bottom: 6px; }
.politica strong { color: var(--creme); }
.politica a { color: var(--creme); text-decoration: underline; text-underline-offset: 3px; }
.politica-versao { font-size: 0.86rem; color: var(--creme-3); }
.politica-voltar { font-size: 0.9rem; }
.em-breve { min-height: 100svh; display: grid; place-items: center; padding: 48px var(--gutter); background: var(--carvao); color: var(--creme); text-align: center; }
.em-breve-caixa { display: grid; justify-items: center; gap: 14px; max-width: 34rem; }
.em-breve-icone { width: 64px; height: 64px; font-size: 1.8rem; color: var(--creme); }
.em-breve-icone.marca-inicial { border-radius: var(--raio); color: var(--sobre-brasa); }
.em-breve-nome { font-weight: 600; font-size: 1.05rem; color: var(--creme-2); }
.em-breve-titulo { font-size: clamp(3.4rem, 15vw, 7rem); font-weight: var(--hero-peso); line-height: var(--hero-altura); letter-spacing: var(--hero-espaco); text-transform: var(--hero-caixa); }
.em-breve-texto { color: var(--creme-2); font-size: 1.08rem; max-width: 40ch; }
.em-breve-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* ---------- Temas: estrutura ----------
   lib/temas.js escolhe e grava no <html>: data-hero (recorte | fundo | moldura), data-cards
   (misto | lista | grade) e data-cantos (os raios vêm nas variáveis). Sem atributo, vale o modelo:
   foto recortada e cards em lista no celular, grade no computador. */

/* Hero "recorte" em tema claro: a foto vira um prato redondo (dissolver no claro deixaria a borda suja) */
[data-esquema="claro"][data-hero="recorte"] .hero-img {
  -webkit-mask-image: radial-gradient(closest-side, #000 98.5%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 98.5%, transparent 100%);
}
[data-esquema="claro"][data-hero="recorte"] .hero-foto { width: min(80%, 36svh); margin: 22px auto 12px; }
[data-esquema="claro"][data-hero="recorte"] .hero-foto::before {
  content: ""; position: absolute; inset: -4%; border-radius: 50%; background: var(--grafite); box-shadow: var(--sombra);
}
@media (min-width: 1024px) { [data-esquema="claro"][data-hero="recorte"] .hero-foto { width: min(92%, 72svh, 640px); margin: 0 auto; } }

/* Hero "faixa": título grande em cima, foto panorâmica embaixo (editorial) */
[data-hero="faixa"] .hero-palco { grid-template-areas: "texto" "vitrine" "minis" "fatos"; padding-top: calc(var(--topo-h) + var(--topo-extra) + 20px); }
[data-hero="faixa"] .hero-vitrine { margin: 22px 0 0; }
[data-hero="faixa"] .hero-foto { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--raio-lg); overflow: hidden; background: var(--grafite-2); }
[data-hero="faixa"] .hero-img { -webkit-mask-image: none; mask-image: none; }
[data-hero="faixa"] .hero-item { right: 12px; bottom: 12px; }
@media (min-width: 640px) { [data-hero="faixa"] .hero-foto { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) {
  [data-hero="faixa"] .hero-palco {
    min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto;
    grid-template-areas: "texto" "vitrine" "minis" "fatos"; padding-top: calc(var(--topo-h) + var(--topo-extra) + 48px);
  }
  [data-hero="faixa"] .hero-texto-col { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 5vw; align-items: end; }
  [data-hero="faixa"] .hero-titulo { grid-row: 1 / span 3; --cabe: calc(54vw / (var(--letras, 7) * var(--hero-largura))); font-size: min(clamp(4.6rem, 8.4vw, 8.4rem), var(--cabe)); }
  [data-hero="faixa"] .hero-texto-col > :not(.hero-titulo) { grid-column: 2; }
  [data-hero="faixa"] .hero-vitrine { align-self: auto; margin: 40px 0 0; }
  [data-hero="faixa"] .hero-foto { width: 100%; aspect-ratio: 21 / 8; margin: 0; }
  [data-hero="faixa"] .hero-item { right: 18px; bottom: 18px; }
  [data-hero="faixa"] .hero-miniaturas { margin: 18px 0 0; }
}

/* Hero "moldura": a foto inteira num quadro, sem se dissolver no fundo (bom nos temas claros) */
[data-hero="moldura"] .hero-vitrine { margin: 0; }
[data-hero="moldura"] .hero-foto { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--raio-lg); overflow: hidden; background: var(--grafite-2); box-shadow: var(--sombra); }
[data-hero="moldura"] .hero-img { -webkit-mask-image: none; mask-image: none; }
[data-hero="moldura"] .hero-item { right: 12px; bottom: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { [data-hero="moldura"] .hero-foto { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  [data-hero="moldura"] .hero-palco { column-gap: 5vw; padding-bottom: 0; }
  [data-hero="moldura"] .hero-vitrine { margin: 0; }
  [data-hero="moldura"] .hero-foto { width: min(100%, 62svh); aspect-ratio: 4 / 5; margin: 0 0 0 auto; }
  [data-hero="moldura"] .hero-item { right: 16px; bottom: 16px; }
}

/* Hero "fundo": a foto ocupa o topo inteiro, com véu escuro; o texto fica sempre claro em cima dela */
[data-hero="fundo"] .hero {
  --creme: #fff; --creme-2: rgba(255, 255, 255, 0.86); --creme-3: rgba(255, 255, 255, 0.74);
  --linha: rgba(255, 255, 255, 0.22); --ouro: #fff; --ouro-claro: #fff;
  background: #000;
}
[data-hero="fundo"] .hero-palco { min-height: max(100svh, 620px); grid-template-areas: "texto" "minis" "fatos"; align-content: end; }
[data-hero="fundo"] .hero-palco--texto { min-height: min(80svh, 680px); background: var(--carvao); }
/* grid-area auto e place-self stretch: ocupa o palco inteiro (com align-self: center, a caixa absoluta encolhe) */
[data-hero="fundo"] .hero-vitrine { position: absolute; inset: 0; z-index: 0; grid-area: auto; place-self: stretch; margin: 0; }
[data-hero="fundo"] .hero-foto { width: 100%; height: 100%; aspect-ratio: auto; margin: 0; }
[data-hero="fundo"] .hero-img { -webkit-mask-image: none; mask-image: none; }
[data-hero="fundo"] .hero-vitrine::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6) 48%, rgba(0, 0, 0, 0.28));
}
[data-hero="fundo"] .hero-item { display: none; }
[data-hero="fundo"] .hero-mini[aria-pressed="true"] { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--brasa); }
[data-hero="fundo"] .topo.is-over-hero { --creme: #fff; --creme-2: rgba(255, 255, 255, 0.86); --creme-3: rgba(255, 255, 255, 0.74); color: #fff; }
@media (min-width: 1024px) {
  [data-hero="fundo"] .hero-palco { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "texto ." "minis ." "fatos fatos"; }
  [data-hero="fundo"] .hero-titulo { --cabe: calc(54vw / (var(--letras, 7) * var(--hero-largura))); }
  [data-hero="fundo"] .hero-vitrine::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.18)), linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 30%); }
}

/* Cards "lista": miniatura ao lado também no computador, duas colunas, como um cardápio impresso */
@media (min-width: 1024px) {
  [data-cards="lista"] .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
  [data-cards="lista"] .card-corpo { grid-template-columns: minmax(0, 1fr) 128px; grid-template-areas: "info foto"; gap: 20px; padding: 18px; }
  [data-cards="lista"] .card-foto { aspect-ratio: 1; border-radius: var(--raio); }
  [data-cards="lista"] .card-info { padding: 0 0 6px; }
  [data-cards="lista"] .card-mais { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

/* Cards "grade": foto grande em cima já no celular (duas colunas) */
[data-cards="grade"] .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
[data-cards="grade"] .card-corpo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "foto" "info"; align-content: start; gap: 0; padding: 0; overflow: hidden; }
[data-cards="grade"] .card-foto { aspect-ratio: 4 / 3; border-radius: 0; }
[data-cards="grade"] .card-info { padding: 10px 12px 16px; }
[data-cards="grade"] .card-preco { padding-right: 42px; }
[data-cards="grade"] .card-mais { right: 10px; bottom: 10px; width: 36px; height: 36px; }
@media (max-width: 639px) {
  [data-cards="grade"] .card-nome { font-size: 1rem; }
  [data-cards="grade"] .card-desc { -webkit-line-clamp: 2; font-size: 0.84rem; }
}
@media (min-width: 1024px) {
  [data-cards="grade"] .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  [data-cards="grade"] .card-corpo { padding: 0; }
  [data-cards="grade"] .card-foto { border-radius: 0; }
  [data-cards="grade"] .card-info { padding: 14px 18px 24px; }
  [data-cards="grade"] .card-mais { right: 16px; bottom: 18px; width: 44px; height: 44px; }
}
@media (min-width: 1280px) { [data-cards="grade"] .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .botao, .card-foto img, .categorias-indicador, .sacola-flutuante, .toast, dialog.folha, .hero-img { transition-property: opacity, background-color, color, box-shadow !important; }
  .hero-img { transform: none; }
  .card:hover .card-foto img { scale: none; }
}
