/* Café D'oro — o que é só deste site. Tokens, botão 3D e gatilho de animação vêm do ui.css. */

html { scrollbar-color: #4a3935 var(--bg); color-scheme: dark; }
html, body { overflow-x: clip; }
/* celular: sem o flash cinza do toque, sem inflar a letra no modo paisagem */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* toque responde na hora (sem a espera do toque duplo) e o texto dos controles não é selecionado ao segurar */
a, button, summary, .tab { touch-action: manipulation; }
.btn3d, .tab, summary { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* com a gaveta do pedido aberta, a página de trás não rola junto */
html:has(dialog[open]) { overflow: hidden; }   /* hidden (do ui.css) quebra o position: sticky das abas */
body { font-size: 17px; line-height: 1.6; caret-color: var(--accent); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 82%; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; font-weight: 800; }
.section h2, .final h2 { font-optical-sizing: none; font-variation-settings: "opsz" 96; }   /* condensado também no celular */
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* botões da casa nas cores do D'oro */
.btn3d { --on: var(--ink); --edge: #6b4f1c; --face: #e6c67c; --face-2: #c9a24a; --glow: rgba(212, 174, 90, 0.45); }
.btn3d--whatsapp { --face: #34e27b; --face-2: #16b855; --edge: #0b6f33; --glow: rgba(37, 211, 102, 0.5); --on: #04210f; }
.btn3d--ghost { --face: #2f2324; --face-2: #2a1f20; --edge: rgba(239, 230, 214, 0.16); --on: var(--text); }
.btn3d--ghost .btn3d__face { background: rgba(239, 230, 214, 0.06); box-shadow: inset 0 0 0 1px rgba(239, 230, 214, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16); backdrop-filter: none; }
.btn3d .ico { width: 20px; height: 20px; }
.btn3d--wa-ico .btn3d__face svg { width: 20px; height: 20px; fill: currentColor; }
/* botão "+" das linhas do cardápio: tessela dourada que afunda */
.btn3d--add { --depth: 4px; flex: none; padding: 2px 2px calc(var(--depth) + 2px); margin: -2px; }
.btn3d--add .btn3d__edge { top: calc(var(--depth) + 2px); bottom: 2px; left: 2px; right: 2px; }
.btn3d--add::after { display: none; }
.btn3d--add .btn3d__face { width: 40px; height: 40px; padding: 0; will-change: auto; }
.btn3d--add:not(.btn3d--ghost) { --face: #fffaf1; --face-2: #efe3cf; --edge: rgba(26, 18, 20, 0.42); --on: var(--ink); }
.btn3d--add:not(.btn3d--ghost) .btn3d__face { box-shadow: inset 0 0 0 1px rgba(26, 18, 20, 0.2), inset 0 1px 0 #fff; }
.pick .btn3d--add { --face: #3a2b2b; --face-2: #2f2324; --edge: #0d0809; --on: var(--text); }
.pick .btn3d--add .btn3d__face { box-shadow: inset 0 0 0 1px rgba(239, 230, 214, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
[data-qty] > .btn3d--add, [data-qty] .pick__row .btn3d--add { --face: #e6c67c; --face-2: #c9a24a; --edge: #6b4f1c; --on: var(--ink); }
[data-qty] > .btn3d--add .btn3d__face, [data-qty] .pick__row .btn3d--add .btn3d__face { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pick__qty { display: none; font-size: 13px; font-weight: 700; color: var(--accent); }
.pick[data-qty] .pick__qty { display: inline; }
.btn3d--add svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.btn3d--mini { --depth: 3px; }
.btn3d--mini .btn3d__face { width: 34px; height: 34px; }
.btn3d--ghost.btn3d--add { --edge: rgba(26, 18, 20, 0.28); --on: var(--ink); }
.btn3d--ghost.btn3d--add .btn3d__face { background: #fbf7ef; box-shadow: inset 0 0 0 1px rgba(26, 18, 20, 0.22); }

/* ---------------------------------------------------------------- menu fixo */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; height: calc(72px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.nav__bg { position: absolute; inset: 0; background: #140d0f; border-bottom: 1px solid var(--border); }
.nav .container { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 21px; font-stretch: 85%; letter-spacing: -0.01em; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
@media (hover: hover) { .nav__links a:hover { color: var(--text); background: rgba(239, 230, 214, 0.07); } }
@media (max-width: 760px) { .nav__links { display: none; } .nav .btn3d { margin-left: auto; } }

/* ---------------------------------------------------------------- estilo cinema (trycol-design-gpt) */
html.lenis, html.lenis body { height: auto; }                  /* Lenis (só no computador) cuida da rolagem */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
[data-anim="words"] { perspective: 700px; }                    /* títulos palavra por palavra */
.w { display: inline-block; transform-origin: 50% 100%; }
.salto-veu { position: fixed; inset: 0; z-index: 38; background: var(--bg); opacity: 0; pointer-events: none; }   /* salto entre âncoras distantes */
.calcada { background: var(--bg) url("../img/calcada-escura.svg") 0 0 / 280px; }
.status__dot { flex: none; width: 10px; height: 10px; border-radius: 2px; transform: rotate(8deg); background: #7d6e66; }
[data-open="true"] .status__dot { background: var(--stone); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) {
  .cta-row .btn3d { flex: 1 1 100%; } .cta-row .btn3d__face { width: 100%; }
  .cta-row .btn3d::after { left: 2%; right: 2%; }   /* brilho não passa da borda quando o botão ocupa a linha */
}

/* ---------------------------------------------------------------- cena "xícara": o cappuccino na calçada; a câmera mergulha na espuma
   Sem animação (sem JS, "reduzir movimento"): herói comum — a fachada ao fundo com véu, o texto e os fatos; sem a xícara. */
.scene--xicara { position: relative; background: var(--bg); }
.scene--xicara .scene__stage { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; gap: 40px; padding: 120px 0 64px; }
.scene--xicara .scene__bg, .scene--xicara .scene__shade { position: absolute; inset: 0; }
.scene--xicara .scene__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.scene--xicara .scene__shade { z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(26, 18, 20, 0.95) 0%, rgba(26, 18, 20, 0.82) 45%, rgba(26, 18, 20, 0.35) 80%, rgba(26, 18, 20, 0.2) 100%); }
.xic__palavras, .xic__plate, .scene--xicara .scene__hint { display: none; }
.xic__intro, .xic__late { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.xic__h1 { font-size: clamp(44px, 6vw, 86px); line-height: 0.96; font-weight: 800; font-stretch: 80%; letter-spacing: -0.012em; max-width: 12.5ch;
  font-optical-sizing: none; font-variation-settings: "opsz" 96; }
.xic__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 44ch; }
.xic__status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
[data-open="true"] .xic__status, .xic__status[data-open="true"] { color: var(--text); }
.xic__late-h { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.012em;
  font-optical-sizing: none; font-variation-settings: "opsz" 96; max-width: 20ch; }
.xic__late .facts { margin-top: 0; width: 100%; }
html:not([data-motion="on"]) .xic__late .cta-row { display: none; }   /* sem animação os botões já estão no texto de cima */

html[data-motion="on"] .scene--xicara { height: 440vh; height: 440svh; }
/* primeira tela pintada pelo CSS antes do GSAP (LCP): a cena não espera o script; o que só aparece depois começa escondido,
   e a xícara já está no lugar de onde a timeline parte (o GSAP assume sem salto) */
html[data-motion="on"] .scene--xicara[data-anim] { visibility: visible; }
html[data-motion="on"] .scene--xicara [data-scene-bg], html[data-motion="on"] .scene--xicara [data-xic-mundo] { visibility: hidden; }
html[data-motion="on"] .xic__late > *, html[data-motion="on"] .xic__palavras span { visibility: hidden; opacity: 0; }
html[data-motion="on"] .xic__liso { opacity: 0; }
html[data-motion="on"] .xic__plate { transform: translate(22vw, 0); }
@media (max-width: 899px) { html[data-motion="on"] .xic__plate { transform: translate(0, 20svh) scale(0.86); } }
@media (max-width: 899px) { html[data-motion="on"] .scene--xicara { height: 380vh; height: 380svh; } }
html[data-motion="on"] .scene--xicara .scene__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding: 0; display: block; }
html[data-motion="on"] .scene--xicara .scene__stage { background: var(--bg) url("../img/calcada-escura.svg") 0 0 / 280px; }   /* a mesa: calçada (o mundo e a foto entram só no mergulho) */
.xic__liso { display: none; }
html[data-motion="on"] .xic__liso { display: block; position: absolute; inset: 0; z-index: 3; background: #1c1315; pointer-events: none; }
html[data-motion="on"] .scene--xicara .scene__bg { will-change: transform; }
html[data-motion="on"] .scene--xicara .scene__shade { background: rgba(26, 18, 20, 0.9); }
html[data-motion="on"] .xic__palavras { display: grid; place-items: center; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.xic__palavras span { grid-area: 1 / 1; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: clamp(96px, 20vw, 340px); line-height: 0.9;
  text-transform: uppercase; color: rgba(26, 18, 20, 0.45); -webkit-text-stroke: 3px #d4ae5a; paint-order: stroke fill; white-space: nowrap; will-change: transform;
  font-optical-sizing: none; font-variation-settings: "opsz" 96; }
/* a xícara: largura --pw, centro no meio do palco (o GSAP a desloca para a direita no começo) */
html[data-motion="on"] .xic__plate { --pw: min(76vh, 44vw); display: block; position: absolute; left: 50%; top: 50%; z-index: 4;
  width: var(--pw); height: var(--pw); margin: calc(var(--pw) / -2) 0 0 calc(var(--pw) / -2); pointer-events: none; }
.xic__mundo, .xic__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.xic__entra, .xic__disco { position: absolute; inset: 0; }
.xic__gravado { fill: #6b4a33; font-family: var(--font-display); font-weight: 700; font-stretch: 85%; }
/* a coluna começa na grade do site (1200px centrados) e tem largura própria: o recuo não pode sair da largura do texto (em tela larga o título ficava espremido e subia por baixo do menu) */
html[data-motion="on"] .xic__intro, html[data-motion="on"] .xic__late { position: absolute; top: 72px; bottom: 0; left: max(24px, calc((100vw - 1200px) / 2 + 24px)); right: auto;
  justify-content: center; width: min(620px, 46vw); max-width: none; margin: 0; padding: 0; }
html[data-motion="on"] .xic__intro { z-index: 5; }
html[data-motion="on"] .xic__intro .xic__h1 { font-size: clamp(40px, min(5.4vw, 9.5vh), 86px); }   /* cabe também em tela baixa */
/* o fim da cena fica invisível por cima da primeira tela: não pode engolir os cliques dos botões de baixo */
html[data-motion="on"] .xic__late { z-index: 6; left: 0; right: 0; width: auto; align-items: center; text-align: center; padding: 0 24px; gap: 28px; pointer-events: none; }
html[data-motion="on"] .xic__late > * { pointer-events: auto; }
html[data-motion="on"] .xic__late .facts { max-width: 1100px; text-align: left; }
html[data-motion="on"] .xic__late .cta-row { justify-content: center; }
html[data-motion="on"] .scene--xicara .scene__hint { display: flex; position: absolute; left: 0; right: 0; bottom: 26px; z-index: 7; flex-direction: column;
  align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none; }
.scene__hint i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); }

@media (max-width: 899px) {
  .scene--xicara .scene__shade { background: linear-gradient(180deg, rgba(26, 18, 20, 0.94) 0%, rgba(26, 18, 20, 0.8) 60%, rgba(26, 18, 20, 0.5) 100%); }
  html[data-motion="on"] .scene--xicara .scene__shade { background: rgba(26, 18, 20, 0.9); }
  html[data-motion="on"] .xic__intro, html[data-motion="on"] .xic__late { left: 0; width: auto; right: 0; top: 0; bottom: auto; padding: 92px 20px 0; justify-content: flex-start; gap: 16px; }
  html[data-motion="on"] .xic__intro .xic__h1 { font-size: clamp(38px, 10.4vw, 56px); }
  html[data-motion="on"] .xic__late { padding-top: 86px; gap: 18px; }
  html[data-motion="on"] .xic__plate { --pw: min(80vw, 42svh); }
  html[data-motion="on"] .xic__intro .xic__ghost, html[data-motion="on"] .xic__intro .xic__status { display: none; }
  .xic__h1 { font-size: clamp(38px, 10.4vw, 56px); }
  .xic__sub { font-size: 16px; }
  .xic__late-h { font-size: clamp(28px, 8vw, 40px); }
  .xic__palavras span { font-size: clamp(64px, 22vw, 160px); }
}
@media (max-width: 899px) and (max-height: 760px) { html[data-motion="on"] .xic__late .facts li:nth-child(2) { display: none; } }

/* faixa em duas linhas opostas, logo depois da cena */
.faixa { position: relative; z-index: 1; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee { overflow: hidden; padding: 12px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-stretch: 78%; font-size: clamp(34px, 5.6vw, 80px); line-height: 1.05; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 235, 223, 0.45); font-optical-sizing: none; font-variation-settings: "opsz" 96; }
.marquee__item::after { content: ""; width: 14px; height: 14px; border-radius: 3px; transform: rotate(10deg); background: var(--accent); }   /* a tessela de ouro */
.marquee--cheia .marquee__item { color: var(--text); -webkit-text-stroke: 0; }
.marquee--cheia .marquee__item:nth-child(4n + 2) { color: var(--accent); }
/* linha de cima: cada produto na cor dele (crema, goma, casca, queijo, espuma, calda, alface, chocolate) — tons claros para ler no fundo escuro */
.marquee--produtos .marquee__item { color: var(--c, var(--text)); -webkit-text-stroke: 0; }

/* foto com profundidade: a imagem (data-anim="parallax") anda dentro da moldura */
.frame-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.frame-img img, .pick__img img[data-anim="parallax"] { display: block; width: 100%; height: 118%; object-fit: cover; }

/* grãos de café (SVG) que flutuam por cima das seções */
.decor-flutua { position: absolute; pointer-events: none; width: clamp(84px, 9vw, 140px); z-index: 2; }
.decor-flutua svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55)); }
.section-head { position: relative; }
.decor-flutua--vitrine { right: clamp(150px, 16vw, 240px); top: -24px; }
.decor-flutua--final { left: 8%; top: 18%; }
@media (max-width: 860px) { .decor-flutua--vitrine { right: 0; top: -54px; width: 76px; } .decor-flutua--final { left: auto; right: 6%; top: 6%; width: 80px; } }

/* "Como pedir": trilha que enche e passos que acendem */
.como { background: var(--surface); }
.trilha { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.trilha__linha { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(239, 230, 214, 0.1); }
.trilha__linha span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.trilha__dot { position: relative; width: 24px; height: 24px; border-radius: 6px; transform: rotate(8deg); border: 2px solid var(--accent); background: var(--surface); margin-bottom: 22px; }
.trilha__dot span { position: absolute; inset: 4px; border-radius: 2px; background: var(--accent); }
.passo__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 18px; color: var(--ink);
  background: linear-gradient(145deg, #ecd08a, #c9a24a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 14px 26px -12px rgba(0, 0, 0, 0.7); }
.passo__ico .ico { width: 30px; height: 30px; stroke-width: 1.9; }
.passo__ico--wa { background: linear-gradient(145deg, #4be68b, #16b855); color: #04210f; }
.ico--fill { fill: currentColor; stroke: none; }
.passo h3 { font-size: 24px; font-weight: 800; font-stretch: 85%; line-height: 1.1; margin-bottom: 8px; }
.passo p { color: var(--muted); max-width: 34ch; }
@media (max-width: 779px) { .trilha__linha { display: none; } }

/* menu fixo: o fundo aparece depois da cena (o motion.js põe .nav--solid) */
html[data-motion="on"] .nav__bg { opacity: 0; transition: opacity 0.35s ease; }
html[data-motion="on"] .nav--solid .nav__bg { opacity: 1; }

/* fatos: cada placa guarda uma verdade */
.facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); list-style: none; padding: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; }
.facts li + li { border-left: 1px solid var(--border); }
.facts .ico { margin-top: 3px; color: var(--muted); }
.facts b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.facts span, .facts a.sub { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.facts a.sub { text-decoration: underline; }
.facts span span { display: inline; margin: 0; font-size: inherit; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 480px) { .facts li { padding: 16px; gap: 10px; } .facts b { font-size: 16px; } }

/* meio-fio: faixa de pedra portuguesa com o mapa de SP */
.meio-fio { height: 112px; background: #b3a48c url("../img/meio-fio-1.svg") 0 0 / auto 112px repeat-x; }
.meio-fio--2 { background-image: url("../img/meio-fio-2.svg"); background-position: -70px 0; }
.meio-fio--3 { background-image: url("../img/meio-fio-3.svg"); background-position: -140px 0; }
@media (max-width: 600px) { .meio-fio { height: 84px; background-size: auto 84px; } }

/* ---------------------------------------------------------------- vitrine (destaques) */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); max-width: 44ch; margin-top: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pick { display: flex; flex-direction: column; }
.pick__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 0 0 0 5px #120b0d; }   /* rejunte: a foto assentada na calçada */
.pick__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick__body { padding: 14px 0 0; display: grid; gap: 8px; }
.pick h3 { font-size: 22px; font-weight: 700; line-height: 1.15; font-stretch: 96%; letter-spacing: 0.01em; }
.pick p { color: var(--muted); font-size: 15.5px; }
.pick__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pick__price, .item__price { font-variant-numeric: tabular-nums lining-nums; font-weight: 700; white-space: nowrap; }
.pick__price { font-size: 20px; color: var(--accent); }
.pick__price small, .item__price small { font-size: max(12px, 0.74em); font-weight: 600; margin-right: 1px; }
.pick--big { grid-column: span 2; grid-row: span 2; }
.pick--big .pick__img { flex: 1; aspect-ratio: auto; min-height: 320px; }
.pick--big h3 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 860px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pick--big { grid-row: auto; } .pick--big .pick__img { aspect-ratio: 4 / 3; min-height: 0; }
  .pick__body { padding: 10px 0 0; } .pick h3 { font-size: 18px; } .pick__price { font-size: 17px; } .pick--extra { display: none; } }

/* ---------------------------------------------------------------- cardápio no calcário */
.menu { background: var(--stone) url("../img/calcada-clara.svg") 0 0 / 280px; color: var(--ink); }
.menu ::selection { background: var(--ink); color: var(--stone); }
.menu h2 { color: var(--ink); }
.menu .section-head p { color: var(--ink-muted); }
.tabs-wrap { position: sticky; top: 72px; z-index: 20; margin: 0 0 20px; padding: 8px; background: #efe6d6; border-radius: 0 0 14px 14px; box-shadow: 0 10px 20px -16px rgba(40, 24, 20, 0.5); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; scroll-snap-align: start; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-muted); transition: color 0.2s, background-color 0.2s; }
@media (hover: hover) { .tab:hover { color: var(--ink); background: rgba(26, 18, 20, 0.07); } }
.tab[aria-selected="true"] { background: var(--ink); color: var(--stone); }
/* com JS: uma categoria por vez, a lista dela dividida em duas colunas */
.board.is-tabbed { columns: auto; }
.board.is-tabbed .cat { margin-bottom: 0; }
.board.is-tabbed .cat[hidden] { display: none; }
.board.is-tabbed .cat__list { columns: 2 360px; column-gap: clamp(32px, 5vw, 72px); }
.board.is-tabbed .item { break-inside: avoid; }
.board { background: #f7f1e6; border-radius: var(--radius); padding: clamp(20px, 3.4vw, 44px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 50px -30px rgba(40, 24, 20, 0.45); columns: 2 400px; column-gap: clamp(32px, 5vw, 72px); }
.cat { break-inside: avoid; margin-bottom: 36px; scroll-margin-top: 150px; }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cat h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.05; }
.cat__count { font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }
.cat__note { font-size: 15px; color: var(--ink-muted); margin-top: 10px; }
.cat__list { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid rgba(26, 18, 20, 0.1); }
.item--thumb { grid-template-columns: 20px minmax(0, 1fr) 56px auto auto; }
.item__mark { position: relative; width: 20px; height: 20px; display: grid; place-items: center; }
.item__mark::before { content: ""; width: 9px; height: 9px; border-radius: 2px; transform: rotate(8deg); background: rgba(26, 18, 20, 0.22); }
.item__gold { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 4px; transform: rotate(-6deg); background: var(--accent); color: var(--ink);
  font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.item__thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #e5d9c5; }
.item__txt { min-width: 0; }
.item__name { display: block; font-weight: 650; font-size: 16.5px; line-height: 1.3; }
.item__desc { display: block; font-size: 14.5px; line-height: 1.45; color: var(--ink-muted); margin-top: 2px; }
.item__price { font-size: 16.5px; }
.item[data-qty] .item__name { color: #000; }
@media (max-width: 600px) {
  .menu .container { padding: 0 12px; }
  .board { padding: 8px 16px 4px; border-radius: 14px; }
  .item, .item--thumb { grid-template-columns: 16px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 12px; }
  .item--thumb { grid-template-columns: 16px minmax(0, 1fr) 52px auto; }
  .item__mark { grid-row: 1 / span 2; width: 16px; }
  .item__thumb { grid-column: 3; grid-row: 1 / span 2; width: 52px; height: 52px; }
  .item__txt { grid-column: 2; grid-row: 1; }
  .item__price { grid-column: 2; grid-row: 2; justify-self: start; font-size: 15.5px; margin-top: 2px; }
  .item .btn3d--add { grid-column: -2 / -1; grid-row: 1 / span 2; }
  .cat h3 { font-size: 28px; }
}
.menu__foot { margin-top: 8px; font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------------------------------------- onde fica */
.onde__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.onde .addr { font-size: clamp(18px, 1.8vw, 21px); color: var(--text); margin: 22px 0 8px; }
.onde .addr + p { color: var(--muted); }
.hours { margin: 28px 0 32px; padding: 0; list-style: none; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; color: var(--muted); }
.hours li[aria-current="date"] { color: var(--text); font-weight: 700; }
.hours li[aria-current="date"] span:first-child::after { content: " · hoje"; color: var(--accent); font-weight: 600; }
.photos { position: relative; padding-bottom: 12%; }
.photos img { display: block; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.photos .p1 { width: 100%; height: auto; }
.photos .p2 { position: absolute; left: -8%; bottom: 0; width: 42%; border: 6px solid var(--bg); }
@media (max-width: 860px) { .onde__grid { grid-template-columns: 1fr; } .photos .p2 { left: auto; right: 0; } }

/* perguntas */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; line-height: 0.9; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

/* ---------------------------------------------------------------- fechamento */
.final { position: relative; text-align: center; overflow-x: clip;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(212, 174, 90, 0.18), transparent 70%), radial-gradient(ellipse 40% 35% at 70% 75%, rgba(176, 122, 68, 0.14), transparent 70%), var(--bg) url("../img/calcada-escura.svg") 0 0 / 280px; }
.final .container { display: grid; justify-items: center; gap: 22px; }
.final img { width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.7); }
.final h2 { font-size: clamp(38px, 6vw, 76px); font-stretch: 78%; max-width: 14ch; }
.final p { color: var(--muted); max-width: 48ch; font-size: 18px; }
.final .cta-row { justify-content: center; margin-top: 8px; }

footer { background: #140d0f; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 28px; }
.foot b { display: block; color: var(--text); margin-bottom: 8px; font-size: 15px; }
.foot a { color: var(--text); display: inline-block; padding: 8px 0; margin: -8px 0; }
.foot p { line-height: 2; }
.foot .brand { margin-bottom: 14px; color: var(--text); }
.foot__base { padding-top: 20px; padding-bottom: 120px; font-size: 13.5px; }
.foot__base::before { content: ""; display: block; height: 1px; background: var(--border); margin: -20px 0 20px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- pedido */
.order { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 45; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 22px;
  background: #120c0d; box-shadow: inset 0 1px 0 rgba(239, 230, 214, 0.12), 0 18px 40px -16px rgba(0, 0, 0, 0.95); visibility: hidden; }
.order.is-on { visibility: visible; }
.order__info { display: grid; line-height: 1.25; min-width: 0; }
.order__info b { font-size: 15px; }
.order__count { display: inline-block; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; font-size: 16px; }
.has-order .fab-wa { visibility: hidden; }
.fly { position: fixed; left: 0; top: 0; z-index: 60; width: 14px; height: 14px; border-radius: 3px; background: var(--accent); pointer-events: none; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2); }

.sheet { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--text); }
.sheet::backdrop { background: rgba(10, 6, 7, 0.62); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(600px, 100%); max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 24px 24px 0 0; box-shadow: inset 0 1px 0 rgba(239, 230, 214, 0.12); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.sheet__head h2 { font-size: 30px; }
.sheet__list { list-style: none; margin: 0; padding: 0 22px; overflow-y: auto; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.line__name { font-weight: 600; line-height: 1.3; }
.line__unit { display: block; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.line__total { min-width: 76px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sheet__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; border-top: 1px solid var(--border); }
.sheet__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 700; }
.sheet__total data { font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.field input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(239, 230, 214, 0.05); color: var(--text); font: inherit; font-size: 16px; font-weight: 500; }
.field input::placeholder { color: #9d8e7d; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } }
.sheet__send { justify-self: stretch; } .sheet__send .btn3d__face { width: 100%; }
.sheet__note { font-size: 13.5px; color: var(--muted); text-align: center; }
.sheet .btn3d--ghost.btn3d--add { --edge: rgba(239, 230, 214, 0.16); --on: var(--text); }
.sheet .btn3d--ghost.btn3d--add .btn3d__face { background: rgba(239, 230, 214, 0.07); box-shadow: inset 0 0 0 1px rgba(239, 230, 214, 0.24); }
.fab-wa { right: 24px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
.fab-off .fab-wa { visibility: hidden !important; }   /* !important: o pulso do GSAP põe visibility inline */   /* só aparece depois que o botão do topo sai da tela */   /* o anel do pulso cresce 1,7x: não pode passar da borda */

/* ---------------------------------------------------------------- avaliações do Google (reais): cartões passando da direita para a esquerda */
.avaliacoes { overflow-x: clip; }
.aval { overflow: hidden; padding: 6px 0 10px; }
.aval__trilho { list-style: none; margin: 0; padding: 0 0 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); display: flex; width: max-content; }
.aval__card { flex: none; width: min(380px, 82vw); margin-right: 20px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.8); }
.aval__estrelas { display: flex; gap: 3px; color: var(--accent); }
.aval__estrelas .ico { width: 18px; height: 18px; }
.aval__card blockquote { margin: 0; flex: 1; }
.aval__card blockquote p { font-size: 16.5px; line-height: 1.55; color: var(--text); }
.aval__quem { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.aval__quem b { color: var(--text); font-size: 15.5px; }
/* sem animação (sem JS, "reduzir movimento"): o visitante arrasta a fila com o dedo */
html:not([data-motion="on"]) .aval { overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
html:not([data-motion="on"]) .aval__card { scroll-snap-align: start; }
