/* =========================================================
   MARMITA BRAVA — loja de exemplo do portfólio
   Identidade: vermelho, preto, mostarda e creme
   ========================================================= */
:root {
  --vermelho: #d7261e;
  --vermelho-2: #a8150f;
  --preto: #14100d;
  --branco: #fffdf9;
  --papel: #faf6ee;
  --cinza: #5d544c;
  --verde: #14713a;
  --amarelo: #ffc23c;

  --texto: "Archivo", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --larg: 1180px;
  --respiro: clamp(4rem, 8vw, 7rem);
  --mola: cubic-bezier(.3, 1.5, .5, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
body { font: 400 1.0625rem/1.55 var(--texto); color: var(--preto); background: var(--papel); overflow-x: clip; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--preto); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
h1, h2, h3 { line-height: .98; text-wrap: balance; font-weight: 900; font-stretch: 75%; letter-spacing: -.005em; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pular { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: #fff; padding: .8rem 1.2rem; }
.pular:focus { top: 1rem; }
.larg { width: min(100% - 2.5rem, var(--larg)); margin-inline: auto; }
.estreita { max-width: 780px; }

/* ===== Botões ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .55rem 1.25rem; border: 0; border-radius: 8px; background: var(--preto); color: #fff; font-weight: 800; font-stretch: 90%; text-decoration: none; text-align: center; line-height: 1.15; transition: translate .2s, background .2s; }
.btn:hover { translate: 0 -2px; background: #33281f; }
.btn:active { translate: 0 1px; }
.btn:disabled { background: #6e5b4d; color: #f3e8dd; pointer-events: none; }
.btn--claro { background: #fff; color: var(--preto); }
.btn--claro:hover { background: #ffe1de; }
.btn--zap { background: var(--verde); }
.btn--zap:hover { background: #0e5a2d; }
.link { min-height: 44px; padding: 0 .4rem; border: 0; background: none; text-decoration: underline; text-underline-offset: .25em; font-weight: 600; }


/* ===== Topo ===== */
.topo { position: absolute; z-index: 20; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: .7rem clamp(1rem, 2.2vw, 2rem); pointer-events: none; }
.topo > * { pointer-events: auto; }
.marca svg { width: clamp(64px, 7.5vw, 96px); height: auto; aspect-ratio: 1; rotate: -8deg; transition: rotate .5s var(--mola); }
.marca:hover svg { rotate: 8deg; }
.menu { display: flex; gap: .2rem; background: var(--preto); border-radius: 10px; padding: .15rem .5rem; }
.menu a { display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; font-stretch: 92%; }
.menu a:hover { color: var(--amarelo); }
.topo__menu { display: none; width: 50px; height: 50px; border: 0; border-radius: 10px; background: var(--preto); }
.topo__menu i, .topo__menu i::before { display: block; width: 22px; height: 3px; margin: auto; border-radius: 2px; background: #fff; transition: rotate .25s, translate .25s; }
.topo__menu i { translate: 0 -4px; }
.topo__menu i::before { content: ""; translate: 0 8px; }
.topo__menu[aria-expanded="true"] i { rotate: 45deg; translate: 0 0; }
.topo__menu[aria-expanded="true"] i::before { rotate: -90deg; translate: 0 0; }

/* =========================================================
   1. MONTADOR
   ========================================================= */
.montador { position: relative; isolation: isolate; overflow: clip; height: 100svh; min-height: 590px; max-height: 900px; display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 40fr) minmax(0, 24fr); grid-template-rows: minmax(0, 1fr) auto; background: radial-gradient(90% 120% at 55% 40%, #ec4a3f, var(--vermelho) 55%, #b3150e); }

/* Cenário */
.cenario { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.cenario__letra { position: absolute; left: 34%; top: -5.5vh; font-weight: 900; font-stretch: 62%; font-size: min(48vh, 25vw); line-height: 1; letter-spacing: -.02em; color: var(--preto); opacity: .1; rotate: -4deg; white-space: nowrap; }
.cenario__letra--2 { left: auto; right: -2%; top: auto; bottom: -9vh; rotate: -4deg; color: #fff; opacity: .16; }
.fita { position: absolute; left: 25%; width: 90%; padding: .4rem 0; background: var(--preto); color: #fff; font-weight: 900; font-stretch: 75%; font-size: clamp(1rem, 1.5vw, 1.4rem); white-space: nowrap; overflow: hidden; box-shadow: 0 6px 18px rgba(60, 15, 0, .25); }
.fita span { display: inline-block; animation: correr 60s linear infinite; }
.fita--1 { bottom: 17%; rotate: 4deg; }
.fita--2 { bottom: 7%; rotate: -3deg; background: #fff; color: var(--preto); }
.fita--2 span { animation-direction: reverse; }
@keyframes correr { to { transform: translateX(-33.33%); } }
.mesa { position: absolute; right: 63%; top: 50%; width: max(62vw, 118vh); aspect-ratio: 1; border-radius: 50%; translate: 0 -50%; background: url("../img/madeira.webp") right center / 520px; box-shadow: inset 0 0 0 10px rgba(255, 226, 180, .35), inset -18px 0 50px rgba(80, 35, 0, .35), 14px 0 40px rgba(80, 25, 0, .4); }

/* Título */
.chamadinha { grid-column: 3; grid-row: 1; align-self: start; padding: 6.3rem clamp(1rem, 2.2vw, 2rem) 0 0; z-index: 2; }
h1 { font-size: clamp(1.5rem, 2.35vw, 2.3rem); text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(60, 0, 0, .35); }
h1 span { display: block; font-size: .62em; font-weight: 800; margin-top: .3em; text-transform: none; font-stretch: 88%; }
.chamadinha p { margin-top: .45rem; font-size: 1rem; line-height: 1.35; font-weight: 500; }

/* Palco e bandeja */
.palco { grid-column: 2; grid-row: 1; display: grid; place-items: center; padding: 4.6rem 1rem 1rem; min-height: 0; container-type: size; }
.bandeja { position: relative; aspect-ratio: 1468 / 1100; transition: scale .5s var(--mola); }
/* sombra barata (sem filter), para não pesar em computador simples */
.bandeja::before { content: ""; position: absolute; inset: 3% 2%; border-radius: 9% / 12%; box-shadow: 0 22px 30px 4px rgba(70, 20, 0, .5); }
.palco .bandeja { width: min(100cqw, 133.4cqh); }
.bandeja[data-tam="P"] { scale: .91; }
.bandeja[data-tam="G"] { scale: 1.04; }
.bandeja__base { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.bandeja__base.preta { opacity: 0; }
.bandeja--mini .bandeja__base.preta, .bandeja--preta .bandeja__base.preta { opacity: 1; }
.bandeja--preta .bandeja__base.branca { opacity: 0; }
.bandeja__comida { position: absolute; inset: 0; }
/* Onde cada comida cai (em % da bandeja) */
.camada, .alvo { position: absolute; }
.alvo { pointer-events: none; }
[data-slot="arroz"]   { left: 5.2%;  top: 7%;    width: 42.8%; height: 55%; }
[data-slot="feijao"]  { left: 5.2%;  top: 54%;   width: 42.8%; height: 39.5%; }
[data-slot="acomp"]   { left: 53.6%; top: 6.4%;  width: 41.6%; height: 34%; }
[data-slot="mistura"] { left: 53.6%; top: 46.6%; width: 41.6%; height: 47.2%; }
[data-slot="salsinha"] { left: 18%; top: 22%; width: 15%; height: 20%; rotate: -14deg; filter: drop-shadow(1px 3px 2px rgba(60, 40, 0, .4)); }
[data-slot="palha"]   { left: 8%;  top: 38%;  width: 25%; height: 28%; rotate: -9deg; }
[data-slot="selo"]    { left: -4%; top: -6%; width: 16%; height: 20%; }
[data-slot="extra"]   { left: 88%; top: 84%; width: 16%; height: 20%; }
.camada { max-width: none; object-fit: contain; animation: cair .55s cubic-bezier(.2, 1.2, .4, 1) both; }
.camada.sai { animation: sumir .25s both; }
.bandeja--mini .camada { animation: none; }
@keyframes cair { from { opacity: 0; clip-path: circle(8% at 50% 50%); transform: scale(1.18) translateY(-4%); } 40% { opacity: 1; } to { clip-path: circle(100% at 50% 50%); transform: none; } }
@keyframes sumir { to { opacity: 0; transform: scale(.8); } }
.selo { position: absolute; left: -4%; top: -7%; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--amarelo); border: 4px solid var(--preto); font-weight: 900; font-stretch: 75%; font-size: 2rem; line-height: 1; rotate: -10deg; scale: 0; transition: scale .45s var(--mola); }
.selo.on { scale: 1; }
.selo--texto { font-size: 1.15rem; }

/* Tigelas */
.opcoes { grid-column: 1; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; justify-items: center; gap: clamp(.3rem, 1.4vh, 1rem) .4rem; padding: 4.6rem 9% 1.2rem clamp(.8rem, 2vw, 2rem); min-height: 0; }
.opcoes[data-n="2"], .opcoes[data-n="3"], .opcoes[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); --tam: min(19vh, 11vw); }
.opcoes .tigela:nth-child(3n + 2) { translate: 0 8%; }
.opcoes[data-n="2"] .tigela:nth-child(2), .opcoes[data-n="4"] .tigela:nth-child(even) { translate: 0 22%; }
.opcoes[data-n="3"] .tigela:nth-child(2) { translate: 0 30%; }
.tigela { position: relative; display: grid; justify-items: center; gap: .2rem; border: 0; background: none; padding: 0; min-width: 0; width: 100%; animation: brotar .5s calc(var(--i) * 45ms) var(--mola) both; }
@keyframes brotar { from { opacity: 0; transform: scale(.4) rotate(-25deg); } }
.tigela__prato { position: relative; display: grid; place-items: center; width: var(--tam, min(15.2vh, 8.4vw)); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #e9e4dc 0 58%, #d9d3ca 59% 62%, #f6f2ec 63% 70%); box-shadow: inset 0 3px 5px #fff, inset 0 -4px 8px rgba(90, 60, 30, .3), 0 8px 12px rgba(70, 30, 0, .38); transition: transform .35s var(--mola); }
.tigela--gourmet .tigela__prato { background: radial-gradient(circle at 50% 50%, #26221f 0 58%, #15120f 59% 62%, #322d29 63% 70%); box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3), inset 0 -4px 8px #000, 0 8px 12px rgba(70, 30, 0, .4); }
.opcoes[data-etapa="bebidas"] .tigela__prato, .opcoes[data-etapa="extras"] .tigela__prato { background: radial-gradient(circle, #2b2622 0 60%, #1a1613 61%); box-shadow: 0 8px 12px rgba(70, 30, 0, .4); }
.tigela:hover .tigela__prato { transform: translateY(-5px) rotate(5deg) scale(1.05); }
.tigela__prato > img { width: 80%; height: 80%; object-fit: contain; border-radius: 50%; }
.tigela__prato > b { font-weight: 900; font-stretch: 70%; font-size: calc(var(--tam, 6rem) * .55); line-height: 1; color: var(--vermelho-2); }
.tigela__prato > .lata { height: 84%; }
.tigela__prato > .talheres { width: 64%; }
.tigela__n { position: absolute; left: 2%; top: 2%; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--preto); color: #fff; font: 800 .85rem/1 var(--texto); z-index: 1; }
.tigela__ok { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--verde); color: #fff; font: 800 1.05rem/1 var(--texto); scale: 0; transition: scale .3s var(--mola); z-index: 1; }
.tigela[aria-pressed="true"] .tigela__ok { scale: 1; }
.tigela[aria-pressed="true"] .tigela__prato { outline: 4px solid var(--verde); outline-offset: 2px; }
.tigela__nome { display: inline-flex; max-width: 100%; margin-top: -.5rem; z-index: 1; background: #fff; border-radius: 5px; overflow: hidden; font-weight: 800; font-stretch: 78%; font-size: clamp(.86rem, .98vw, 1rem); line-height: 1.05; text-align: left; box-shadow: 0 3px 8px rgba(70, 30, 0, .28); }
.tigela__nome > span { padding: .28rem .45rem; align-self: center; }
.tigela__nome em { display: grid; place-items: center; flex: none; padding: .28rem .35rem; background: var(--preto); color: #fff; font-style: normal; white-space: nowrap; }
.tigela__nome .gratis { background: var(--verde); }

/* Voo da comida */
.voo { position: fixed; z-index: 80; pointer-events: none; margin: 0; object-fit: contain; filter: drop-shadow(0 16px 12px rgba(50, 15, 0, .4)); }
b.voo { display: grid; place-items: center; font-size: 4rem; font-weight: 900; color: var(--vermelho-2); }
.migalha { position: fixed; z-index: 79; width: 8px; height: 6px; border-radius: 40%; pointer-events: none; }

/* Cartaz do passo */
.passo { grid-column: 2; grid-row: 2; justify-self: center; position: relative; z-index: 3; width: min(100%, 440px); margin: 0 0 1.4rem; padding: .8rem 1.3rem .85rem; background: var(--amarelo); rotate: -1.2deg; clip-path: polygon(0 2%, 12% 0, 34% 1.5%, 58% 0, 81% 2%, 100% .5%, 99.2% 34%, 100% 66%, 99% 99%, 78% 98%, 52% 100%, 27% 98.500%, 1% 100%, .4% 60%, 1% 30%); }
.passo__n { display: inline-block; background: var(--preto); color: #fff; padding: .1rem .5rem; font: 500 .85rem/1.4 var(--mono); }
.passo__t { font-size: clamp(1.7rem, 2.7vw, 2.4rem); text-transform: uppercase; margin: .25rem 0 .2rem; }
.passo__d { line-height: 1.3; font-weight: 500; }
.passo__bts { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; min-height: 46px; }
.passo__bts button:not(.btn) { min-height: 44px; padding: 0 .9rem; border: 2px solid var(--preto); border-radius: 8px; background: none; font-weight: 700; }
.passo__bts button:not(.btn):hover { background: rgba(20, 16, 13, .1); }
.passo__bts:not(:has(button:not([hidden]))) { display: none; }
.passo__bts .btn { margin-left: auto; }
.passo.troca { animation: cartaz .55s var(--mola); }
@keyframes cartaz { 0% { transform: translateY(40%) rotate(5deg) scale(.86); } }
.btn--forte { background: var(--preto); }

/* Notinha */
.nota { grid-column: 3; grid-row: 1 / 3; align-self: end; justify-self: center; z-index: 2; width: min(100% - 1.4rem, 290px); padding-bottom: 1.1rem; max-height: calc(100% - 11.8rem); display: flex; flex-direction: column; min-height: 0; }
.nota__x { display: none; }
.nota .papel { rotate: 1.6deg; min-height: 0; display: flex; flex-direction: column; }
.nota .papel__linhas { overflow-y: auto; min-height: 3.4rem; scrollbar-width: thin; padding-right: .5rem; }
.nota__bts { display: grid; gap: 0; padding-top: .7rem; }
.papel { background: #fff; padding: 1rem 1.1rem 1.5rem; font-family: var(--mono); font-size: .9rem; line-height: 1.35; filter: drop-shadow(0 12px 16px rgba(60, 20, 0, .32)); --d: 12px; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / var(--d) 51% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--d) / 2) no-repeat; }
.papel__marca { font: 900 1.6rem/1 var(--texto); font-stretch: 72%; text-transform: uppercase; text-align: center; color: var(--vermelho-2); }
.papel__sub { text-align: center; padding-bottom: .5rem; border-bottom: 2px dashed #c9bfb3; }
.papel__linhas { padding: .5rem 0; }
.papel__linhas li { display: flex; justify-content: space-between; gap: .8rem; padding: .08rem 0; }
.papel__linhas li b { font-weight: 500; white-space: nowrap; }
.papel__linhas .cab { font-weight: 500; text-transform: uppercase; margin-top: .25rem; }
.papel__linhas .peq { color: var(--cinza); }
.papel__linhas .vazia { color: var(--cinza); display: block; text-align: center; padding: .4rem 0; }
.papel__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .45rem; border-top: 2px dashed #c9bfb3; text-transform: uppercase; }
.papel__total b { font-size: 1.35rem; font-weight: 500; }
.papel__obs { text-align: center; color: var(--cinza); font-size: .82rem; }
.papel__barras { height: 30px; margin-top: .45rem; background: repeating-linear-gradient(90deg, #14100d 0 2px, #0000 2px 5px, #14100d 5px 9px, #0000 9px 11px, #14100d 11px 12px, #0000 12px 17px); }

.barra { display: none; }

/* ===== Telas baixas (notebook) ===== */
@media (min-width: 1024px) and (max-height: 720px) {
  .palco { padding: 5.2rem 1rem .5rem; }
  .chamadinha p { display: none; }
  .passo { padding-block: .6rem .65rem; }
  .passo__n { float: right; margin-top: .3rem; }
  .passo__t { font-size: 1.75rem; margin-top: 0; }
  .papel__barras, .papel__obs { display: none; }
  .chamadinha { padding-top: 5.9rem; }
  h1 { font-size: 1.5rem; }
  .nota { max-height: calc(100% - 10.4rem); padding-bottom: .4rem; }
  .papel { padding-block: .8rem 1.2rem; }
  .papel__marca { font-size: 1.3rem; }
  .passo { margin-bottom: .8rem; }
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.secao { padding: var(--respiro) 0; }
.secao--vermelha { background: var(--vermelho); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
.cab-secao { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.cab-secao p, .lead { margin-top: .7rem; max-width: 56ch; font-size: 1.125rem; }

.cartoes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.cartao { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.cartao__foto, .combo__foto { display: grid; place-items: center; padding: 1.5rem 1.3rem; border-radius: 14px; background: url("../img/madeira.webp") center / 460px; overflow: clip; }
.cartao__foto .bandeja, .combo__foto .bandeja { width: 100%; transition: rotate .5s var(--mola), scale .5s var(--mola); }
.cartao:hover .bandeja, .combo:hover .bandeja { rotate: -2.500deg; scale: 1.04; }
.cartao__selo { position: absolute; z-index: 2; left: .8rem; top: .8rem; padding: .3rem .7rem; border-radius: 6px; background: var(--preto); color: #fff; font-weight: 800; font-stretch: 85%; font-size: .95rem; rotate: -3deg; }
.cartao h3 { margin-top: .5rem; }
.cartao__pe { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: auto; padding-top: .4rem; }
.cartao__pe b { display: block; font-size: 1.4rem; line-height: 1.1; font-weight: 900; font-stretch: 80%; }

.gourmet { padding: var(--respiro) 0; background: var(--preto); color: #fff; }
.gourmet__lista { display: grid; gap: clamp(2rem, 4vw, 3.4rem); }
.gourmet__item { display: grid; gap: 1.2rem; align-items: center; }
.gourmet__foto { border-radius: 16px; padding: clamp(1.3rem, 4vw, 3rem); background: radial-gradient(circle at 40% 30%, #ec4a3f, var(--vermelho) 60%, #a8150f); }
.gourmet__foto .bandeja { width: 100%; }
.gourmet__item h3 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-transform: uppercase; }
.gourmet__item p { margin: .7rem 0; max-width: 48ch; color: #e9e1d8; }
.preco { font-size: 1.1rem; }
.preco b { font-size: 1.9rem; font-weight: 900; font-stretch: 78%; }
.gourmet .preco b { color: var(--amarelo); }
@media (min-width: 860px) {
  .gourmet__item { grid-template-columns: 1.05fr 1fr; gap: 3.500rem; }
  .gourmet__item:nth-child(even) .gourmet__foto { order: 2; }
}

.combos { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.combo { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.1rem 1.3rem; background: var(--papel); border-radius: 14px; }
.combo__foto { background: var(--vermelho-2); padding: 1.2rem; border-radius: 8px; }
.combo h3 { margin-top: .4rem; }
.combo .preco { margin-top: auto; }

.duas { display: grid; gap: clamp(2rem, 5vw, 4.500rem); }
@media (min-width: 820px) { .duas { grid-template-columns: 1fr 1fr; } }
.duas h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.tabela { margin-top: 1rem; }
.tabela li { display: flex; align-items: baseline; gap: .5rem; padding: .6rem 0; }
.tabela i { flex: 1; border-bottom: 2px dotted #b9ab9c; }
.tabela b { font: 500 1.05rem var(--mono); }

.entrega { padding: var(--respiro) 0; background: #fbe2df; }
.passos { counter-reset: p; display: grid; gap: .9rem; margin: 1.5rem 0 1.8rem; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 3rem 1fr; align-items: center; column-gap: .9rem; }
.passos li::before { content: counter(p); grid-row: 1; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%; background: var(--preto); color: #fff; font-weight: 900; font-stretch: 75%; font-size: 1.3rem; }
.passos li { grid-template-columns: 3rem max-content 1fr; column-gap: .9rem; }
.passos li b { margin-right: -.55rem; }
address { font-style: normal; }
address p { margin-top: .7rem; }
.mapa { margin-top: 1.2rem; min-height: 260px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; background: repeating-linear-gradient(32deg, #0000 0 46px, #fff6ec 46px 54px), repeating-linear-gradient(118deg, #f2cda9 0 70px, #fff6ec 70px 78px); }
.mapa iframe { width: 100%; height: 320px; border: 0; }

details { border-bottom: 2px solid var(--preto); }
#duvidas h2 { margin-bottom: 1.4rem; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: .7rem 0; font-weight: 800; font-stretch: 88%; font-size: 1.2rem; line-height: 1.2; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.9rem; line-height: 1; transition: rotate .25s; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 2rem 1.2rem 0; max-width: 62ch; }

.chamada { padding: clamp(3.500rem, 7vw, 6rem) 0; background: var(--vermelho); text-align: center; }
.chamada h2 { font-size: clamp(2.500rem, 7.500vw, 6rem); margin-bottom: 1.6rem; }
.rodape { padding: 2.6rem 0 6rem; background: var(--preto); color: #fff; }
.rodape .larg { display: grid; gap: .8rem; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; align-items: center; }
.rodape a { display: inline-flex; align-items: center; min-height: 44px; }
.rodape .peq { font-size: .95rem; color: #cfc5ba; }

/* ===== Tela final ===== */
.final { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: var(--preto); color: #fff; overflow: auto; }
.final::backdrop { background: none; }
.final.abre { animation: abrir .7s cubic-bezier(.7, 0, .2, 1); }
@keyframes abrir { from { clip-path: circle(0 at 55% 50%); } to { clip-path: circle(130% at 55% 50%); } }
#confete { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.final__grade { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; align-content: center; padding: 2rem clamp(1.2rem, 5vw, 4rem); max-width: 1240px; margin: auto; }
.cartaz { width: fit-content; max-width: 100%; padding: 1rem 1.4rem 1.1rem; background: var(--amarelo); color: var(--preto); rotate: -2deg; }
.cartaz h2:focus { outline: none; box-shadow: none; }
.cartaz h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cartaz p { margin-top: .4rem; font-weight: 600; }
.final__bandeja { margin-top: 1.4rem; max-width: 560px; }
@media (min-width: 900px) { .final__bandeja { max-width: min(560px, calc((100svh - 230px) * 1.33)); } .cartaz { max-width: none; } .cartaz h2 { white-space: nowrap; font-size: clamp(2rem, 3.6vw, 3rem); } }
.final__bandeja .bandeja::before { box-shadow: 0 10px 70px 6px rgba(215, 38, 30, .55); }
.final__dir { display: grid; justify-items: center; gap: 1.3rem; }
.final .papel { width: min(100%, 330px); color: var(--preto); rotate: 1.5deg; }
.final.abre .papel--imprime { animation: imprimir 1.1s .45s steps(14) both; }
@keyframes imprimir { from { clip-path: inset(0 0 100% 0); transform: translateY(-14%); } to { clip-path: inset(0); transform: none; } }
.final.abre .final__bandeja { animation: pousar .7s .3s var(--mola) both; }
@keyframes pousar { from { opacity: 0; transform: translateY(60px) rotate(-7deg) scale(.85); } }
.final__bts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.final .link { color: #fff; }
@media (min-width: 900px) { .final__grade { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* ===== Avisos, WhatsApp, animações ===== */
.aviso { position: fixed; z-index: 60; left: 50%; bottom: 5.500rem; display: flex; align-items: center; gap: .8rem; width: max-content; max-width: calc(100% - 2rem); padding: .5rem 1.1rem; min-height: 52px; border-radius: 10px; background: var(--preto); color: #fff; translate: -50% 1rem; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.aviso.on { opacity: 1; visibility: visible; translate: -50% 0; }
.aviso button { min-height: 44px; border: 0; background: none; color: var(--amarelo); font-weight: 800; text-decoration: underline; white-space: nowrap; }
.zap { position: fixed; z-index: 40; right: 1.1rem; bottom: 1.1rem; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--verde); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: scale .3s var(--mola); }
.zap:hover { scale: 1.08; }
.zap svg { width: 34px; }
.no-montador .zap { scale: 0; visibility: hidden; }
.mov { display: none; }
.pergunta-mov .mov { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; position: fixed; z-index: 70; left: 50%; bottom: 1rem; translate: -50% 0; width: max-content; max-width: calc(100% - 2rem); padding: .8rem 1rem .8rem 1.3rem; border-radius: 12px; background: #fff; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .45); }
.mov button { min-height: 44px; padding: 0 1rem; border: 2px solid var(--preto); border-radius: 8px; background: none; font-weight: 700; }
.mov button:first-of-type { background: var(--preto); color: #fff; }

/* ===== Aparição ao rolar ===== */
.sobe { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.sobe.visto { opacity: 1; transform: none; }

/* =========================================================
   TABLET E CELULAR
   ========================================================= */
@media (max-width: 1023px) {
  .topo__menu { display: grid; align-content: center; }
  .menu { position: absolute; top: calc(100% - .3rem); right: 1rem; flex-direction: column; padding: .4rem; min-width: 200px; opacity: 0; visibility: hidden; translate: 0 -8px; transition: .25s; }
  .menu.aberto { opacity: 1; visibility: visible; translate: 0 0; }
  .menu a { min-height: 48px; }

  .montador { height: auto; min-height: 0; max-height: none; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-bottom: 5.6rem; }
  .chamadinha { grid-column: 1; grid-row: 1; padding: .9rem 5rem 0 6.2rem; min-height: 96px; align-self: center; }
  h1 { font-size: clamp(1.3rem, 5.6vw, 2.2rem); }
  .chamadinha p { display: none; }
  .palco { grid-column: 1; grid-row: 2; container-type: inline-size; padding: .7rem 1rem .2rem; }
  .palco .bandeja { width: min(84cqw, 470px, 50svh); }
  .selo { width: 3.4rem; height: 3.4rem; font-size: 1.5rem; }
  .selo--texto { font-size: .95rem; }
  .passo { grid-column: 1; grid-row: 3; width: min(100% - 2rem, 470px); margin: -.6rem 0 0; padding: .65rem 1.1rem .75rem; }
  .passo__t { font-size: 1.7rem; display: inline-block; margin: 0 0 0 .5rem; vertical-align: middle; }
  .passo__n { vertical-align: middle; }
  .passo__bts { min-height: 0; }
  .opcoes, .opcoes[data-n] { grid-column: 1; grid-row: 4; display: flex; gap: .7rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 1rem 1rem 1.2rem; --tam: 104px; scrollbar-width: none; min-height: 190px; align-items: flex-start; }
  .opcoes::-webkit-scrollbar { display: none; }
  .em-fim .opcoes { display: none; }
  .opcoes .tigela, .opcoes[data-n] .tigela:nth-child(n) { translate: none; flex: 0 0 132px; scroll-snap-align: center; }
  .opcoes[data-n="2"], .opcoes[data-n="3"] { justify-content: center; }
  .opcoes[data-n="3"] .tigela, .opcoes[data-n="3"] .tigela:nth-child(n) { flex: 1 1 0; max-width: 132px; --tam: min(104px, 27vw); }
  .tigela__nome { flex-direction: column; text-align: center; font-size: .95rem; }
  .mesa { right: auto; left: 50%; top: auto; bottom: -2rem; width: 100%; min-width: 620px; height: 300px; aspect-ratio: auto; border-radius: 50% 50% 0 0 / 70px 70px 0 0; translate: -50% 0; background-size: 420px; box-shadow: inset 0 8px 0 rgba(255, 226, 180, .35), 0 -10px 26px rgba(80, 25, 0, .3); }
  .cenario__letra { left: -4%; top: 4rem; font-size: 46vw; }
  .cenario__letra--2 { display: none; }
  .fita { left: -10%; width: 120%; }
  .fita--1 { bottom: auto; top: 46%; }
  .fita--2 { bottom: auto; top: 34%; }

  .barra { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: .7rem; align-items: center; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--preto); color: #fff; translate: 0 110%; visibility: hidden; transition: translate .3s, visibility .3s; }
  .no-montador .barra { translate: 0 0; visibility: visible; }
  #ver-nota { flex: 1; min-height: 48px; border: 0; background: none; text-align: left; line-height: 1.2; }
  #ver-nota span { display: block; text-decoration: underline; text-underline-offset: .2em; }
  #ver-nota b { font: 500 1.25rem/1.2 var(--mono); }
  .barra .btn { background: var(--vermelho); color: var(--preto); min-height: 50px; }
  .barra .btn:disabled { background: #4a3f37; color: #d9cec3; }

  .nota { position: fixed; z-index: 50; inset: auto 0 0 0; width: 100%; max-height: 88svh; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); background: var(--vermelho); border-radius: 18px 18px 0 0; translate: 0 105%; visibility: hidden; transition: translate .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); }
  .nota.aberta { translate: 0 0; visibility: visible; }
  .nota .papel { rotate: none; width: min(100%, 360px); margin-inline: auto; }
  .nota__x { display: block; align-self: flex-end; min-height: 44px; border: 0; background: none; font-weight: 800; text-decoration: underline; }
  .nota__bts { width: min(100%, 360px); margin-inline: auto; }
  .aviso { bottom: auto; top: .8rem; }
}
@media (max-width: 599px) {
}
@media (min-width: 600px) and (max-width: 1023px) {
  .opcoes[data-n] { justify-content: safe center; }
  .chamadinha { text-align: center; padding-inline: 8rem; }
}

/* ===== 404 e política ===== */
.texto { padding: 3rem 0 5rem; }
.texto h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.texto h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; text-transform: none; }
.texto p { max-width: 68ch; margin-bottom: .8rem; }
.erro { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--vermelho); padding: 2rem; }
.erro h1 { font-size: clamp(2.2rem, 7vw, 4.500rem); margin-bottom: 1rem; }
.erro p { margin-bottom: 1.4rem; }
.erro .bandeja { width: min(80vw, 420px); margin: 0 auto 1.8rem; rotate: -5deg; }

/* ===== Sem movimento (classe posta no <head>) ===== */
.sem-mov, .sem-mov * { scroll-behavior: auto; }
.sem-mov *, .sem-mov *::before, .sem-mov *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
.sem-mov .fita span { animation: none; }
.sem-mov .sobe { opacity: 1; transform: none; }

/* ===== Texto claro sobre o vermelho (contraste AA) ===== */
.chamadinha p, .secao--vermelha .cab-secao, .chamada h2, .erro { color: #fff; }
.nota__x, .nota > .nota__bts .link { color: #fff; }
.barra .btn { color: #fff; }
.cenario__letra--2 { color: #ffc23c; opacity: .22; }
