/* L Point · dourado sobre preto, como a fachada e o letreiro (as cores vêm do config.js) */
:root { --ouro: #D8B05A; --ouro2: #F0CF83; --preto: #0B0906; --preto2: #17110A; --creme: #F4EBDD; --cinza: #A99C88; --barra: 0px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--preto); color: var(--creme); font: 400 16px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.02; letter-spacing: -.01em; }
.sobre { font: 700 11.5px/1 Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--ouro); margin-bottom: 12px; }
.slogan { font-family: 'Great Vibes', cursive; color: var(--ouro2); font-size: 30px; line-height: 1; }
[data-modo="delivery"] .so-mesa, [data-modo="mesa"] .so-delivery { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 15px 22px; border-radius: 999px; font: 800 14px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn.ouro { background: linear-gradient(180deg, var(--ouro2), var(--ouro)); color: #1b1307; box-shadow: 0 12px 26px -12px rgba(216,176,90,.8); }
.btn.pedir { background: var(--creme); color: #1b1307; }
.contorno { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 18px; border-radius: 999px; border: 1.5px solid rgba(216,176,90,.45); color: var(--ouro2); font-weight: 700; font-size: 14px; }

.topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); background: rgba(11,9,6,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(216,176,90,.18); }
.marca { margin-right: auto; } .marca img { height: 40px; width: auto; }
.selo-mesa { white-space: nowrap; flex-shrink: 0; font: 800 12px/1 Inter; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(216,176,90,.15); color: var(--ouro2); border: 1px solid rgba(216,176,90,.45); }
.garcom, .yooga-topo { flex-shrink: 0; white-space: nowrap; font: 700 12.5px/1 Inter; padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(244,235,221,.25); }
.garcom .curto { display: none; }

.hero { position: relative; padding: 20px 16px 0; overflow: hidden; }
.fundo-foto { position: absolute; inset: 0 0 auto; height: 70%; background: url(img/foto-queijo.jpg) center 30% / cover; filter: blur(14px) brightness(.32) saturate(1.1); transform: scale(1.15); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,6,.2) 0%, rgba(11,9,6,.65) 45%, var(--preto) 75%); pointer-events: none; }
.hero > *:not(.fundo-foto) { position: relative; z-index: 1; }
.cab { max-width: 1100px; margin: 0 auto; }
.cab h1 { font-size: clamp(34px, 9.5vw, 60px); color: var(--creme); margin-top: 6px; max-width: 14ch; }
.cab .sub { color: var(--cinza); margin-top: 12px; max-width: 46ch; font-size: 15px; }
.palco { position: relative; z-index: 2; height: min(62vh, 520px); min-height: 330px; margin: 10px -16px 0; }
.palco canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.carregando { position: absolute; inset: auto 0 76px; display: none; justify-content: center; align-items: center; gap: 10px; font-size: 13px; color: var(--cinza); pointer-events: none; }
.carregando.on { display: flex; }
.carregando span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(244,235,221,.2); border-top-color: var(--ouro); animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.jogar { white-space: nowrap; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 999px; background: rgba(11,9,6,.72); border: 1.5px solid var(--ouro); color: var(--ouro2); font: 800 13.5px/1 Inter; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.jogar svg { width: 20px; height: 20px; fill: currentColor; }
.arraste { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,235,221,.4); pointer-events: none; }

.info { max-width: 640px; margin: 0 auto; padding: 18px 16px 10px; }
.info h2 { font-size: clamp(28px, 7.5vw, 40px); color: var(--ouro2); }
.serve { margin-top: 8px; color: var(--cinza); } .serve b { color: var(--creme); }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.opcoes button { display: grid; gap: 3px; text-align: left; padding: 13px 15px; min-height: 58px; border-radius: 16px; border: 1.5px solid rgba(244,235,221,.15); background: rgba(244,235,221,.03); }
.opcoes button span { font-weight: 700; } .opcoes button small { color: var(--cinza); font-weight: 600; }
.opcoes button.on { border-color: var(--ouro); background: rgba(216,176,90,.12); } .opcoes button.on small { color: var(--ouro2); }
.desc { color: var(--cinza); font-size: 14.5px; margin-top: 12px; }
.linha-preco { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; }
.qtd { display: flex; align-items: center; gap: 12px; } .qtd button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(244,235,221,.25); font-size: 22px; font-weight: 700; } .qtd b { font-size: 22px; min-width: 18px; text-align: center; }
.preco { text-align: right; display: grid; } .preco b { font: 800 28px/1 Inter; color: var(--ouro2); } .preco small { color: var(--cinza); font-size: 12.5px; margin-bottom: 4px; }
.acoes { display: grid; gap: 10px; margin-top: 18px; }
.nota { font-size: 12px; color: var(--cinza); margin-top: 14px; opacity: .85; }

.fotos, .como { max-width: 1100px; margin: 0 auto; padding: 40px 16px 10px; }
.fotos h2, .como h2 { font-size: clamp(26px, 7vw, 40px); }
.grade-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.grade-fotos figure { border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid rgba(216,176,90,.2); }
.grade-fotos img { width: 100%; height: 100%; object-fit: cover; }
.como ol { list-style: none; counter-reset: p; display: grid; gap: 12px; margin-top: 18px; }
.como li { counter-increment: p; display: block; position: relative; padding: 8px 0 0 54px; min-height: 40px; color: var(--cinza); }
.como li::before { position: absolute; left: 0; top: 0; content: counter(p); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ouro); color: var(--ouro2); font: 700 18px/1 'Playfair Display'; }
.como li b { color: var(--creme); }

.rodape { margin-top: 40px; padding: 34px 16px 40px; text-align: center; display: grid; gap: 8px; justify-items: center; border-top: 1px solid rgba(216,176,90,.18); color: var(--cinza); font-size: 13px; }
.rodape img { height: 60px; width: auto; } .rodape a { color: var(--ouro2); } .rodape .demo { font-size: 12px; opacity: .75; max-width: 46ch; }

dialog.folha { margin: auto auto 0; width: 100%; max-width: 640px; max-height: 94vh; border: 0; border-radius: 22px 22px 0 0; background: var(--preto2); color: var(--creme); padding: 0; }
dialog.folha::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
dialog.folha[open] { animation: sobe .28s ease; } @keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
.folha-in { padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); }
.folha header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .folha header h2 { font-size: 24px; color: var(--ouro2); }
.fechar { width: 44px; height: 44px; border-radius: 50%; font-size: 28px; background: rgba(244,235,221,.07); }
.alterna { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(244,235,221,.06); margin-bottom: 10px; }
.alterna button { min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--cinza); } .alterna button.on { background: var(--ouro); color: #1b1307; }
model-viewer { width: 100%; height: min(50vh, 420px); background: radial-gradient(60% 55% at 50% 60%, #3a2a14, var(--preto2)); border-radius: 16px; }
.btn.botao-ar { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.mv-progresso { display: none; }
.instrucao { margin-top: 12px; font-weight: 600; text-align: center; font-size: 14.5px; }
.sem-ar { margin-top: 8px; font-size: 13.5px; color: var(--ouro2); text-align: center; }

@media (max-width: 430px) { [data-modo="mesa"] .garcom .longo { display: none; } [data-modo="mesa"] .garcom .curto { display: inline; } .marca img { height: 34px; } }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; padding-top: 30px; max-width: 1280px; margin: 0 auto; }
  .palco { height: 620px; margin: 0; grid-column: 2; grid-row: 1; } .hero .cab { grid-column: 1; grid-row: 1; }
  .info { padding-top: 0; }
  .grade-fotos { grid-template-columns: repeat(4, 1fr); }
  .como ol { grid-template-columns: repeat(3, 1fr); }
}

.livre-link { color: var(--ouro2); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }
.recupera { margin-top: 6px; font-size: 13px; color: var(--cinza); text-align: center; }
.lata-btn { position: absolute; right: 12px; top: 8px; z-index: 3; padding: 8px 12px; border-radius: 999px; font: 700 12px/1 Inter; background: rgba(11,9,6,.7); color: var(--cinza); border: 1px solid rgba(244,235,221,.2); }
.lata-btn[aria-pressed="true"] { color: var(--ouro2); border-color: rgba(216,176,90,.6); }
.lata-btn::before { content: "○ "; } .lata-btn[aria-pressed="true"]::before { content: "● "; }

/* v3: abertura com o vídeo de verdade do queijo caindo (quadrado), o 3D giratório desceu pra "Gire o prato" */
.palco-video { height: auto; min-height: 0; aspect-ratio: 1 / 1; max-height: 640px; overflow: hidden; background: #0B0906 url(video/queijo-poster.jpg) center / cover; }
.palco-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.palco-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(11,9,6,.55) 100%), linear-gradient(180deg, transparent 72%, rgba(11,9,6,.7) 100%); }
.palco-video .jogar { z-index: 2; }
.gire { max-width: 1100px; margin: 0 auto; padding: 40px 16px 10px; }
.gire h2 { font-size: clamp(26px, 7vw, 40px); }
.gire-sub { color: var(--cinza); margin-top: 10px; max-width: 52ch; font-size: 15px; }
.palco-3d { position: relative; height: min(70vw, 520px); min-height: 320px; margin: 14px -16px 0; background: radial-gradient(55% 55% at 50% 58%, #2c2010, transparent 75%); }
.palco-3d canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.gire-mesa { width: 100%; margin-top: 12px; }
@media (min-width: 900px) {
  .palco-video { border-radius: 22px; max-height: 620px; justify-self: center; width: min(100%, 620px); }
  .palco-3d { margin: 18px 0 0; border-radius: 22px; height: 560px; }
  .gire-mesa { width: auto; }
}
/* v4: "Gire o prato" fotográfico (sequência de quadros) */
.palco-giro { height: auto; min-height: 0; aspect-ratio: 1 / 1; max-height: 640px; background: radial-gradient(60% 60% at 50% 55%, #2a1c0e, #0B0906 80%); overflow: hidden; }
.palco-giro canvas { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.palco-giro canvas:active { cursor: grabbing; }
.palco-giro::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 50% 45%, transparent 58%, rgba(11,9,6,.6) 100%); }
.palco-giro .arraste { z-index: 2; bottom: 14px; color: rgba(244,235,221,.7); }
.palco-giro .arraste .seta { display: inline-block; color: var(--ouro2); animation: vaivem 1.6s ease-in-out infinite; }
.palco-giro .arraste .seta:last-child { animation-direction: reverse; }
.palco-giro .carregando { z-index: 2; bottom: 44px; }
@keyframes vaivem { 50% { transform: translateX(-4px); } }
@media (min-width: 900px) { .palco-giro { width: min(100%, 640px); margin: 18px auto 0; height: auto; } }
/* v4: AR de mundo (model-viewer): mira no centro até o prato pousar, depois "Recolocar" */
.ar-hud { display: none; position: absolute; inset: 0; pointer-events: none; }
model-viewer[ar-status="session-started"] .ar-hud, model-viewer[ar-status="object-placed"] .ar-hud { display: block; }
.mira { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }
.mira span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ouro); }
model-viewer[ar-status="object-placed"] .mira, model-viewer[ar-status="object-placed"] .ar-procurando { display: none; }
.ar-dica { position: absolute; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); text-align: center; font: 700 15px/1.35 Inter, sans-serif; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); background: rgba(11,9,6,.55); padding: 10px 14px; border-radius: 14px; }
.ar-pousou { display: none; } model-viewer[ar-status="object-placed"] .ar-pousou { display: block; }
.ar-recolocar { display: none; pointer-events: auto; position: absolute; left: 50%; bottom: calc(32px + env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 14px 26px; border-radius: 999px; background: linear-gradient(180deg, var(--ouro2), var(--ouro)); color: #1b1307; font: 800 14px/1 Inter; letter-spacing: .06em; text-transform: uppercase; }
model-viewer[ar-status="object-placed"] .ar-recolocar { display: block; }
.alt-plaquinha { display: block; text-align: center; margin-top: 10px; font-size: 13.5px; }
.alt-plaquinha.destaque { font-size: 15px; }
.passos-ar { margin: 12px 0 0 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--creme); }
.passos-ar li::marker { color: var(--ouro2); font-weight: 800; }
