/* TNC Studios · The New Classic — prévia */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --luz { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  --parede: #4a0d1c; --parede-2: #33060f; --ouro: #c9a24e; --ouro-claro: #f0d58c;
  --amarelo: #ffd800; --bege: #ece0c9; --papel: #f6efe1; --tinta: #1a0c11; --sessao: #170a33;
  --mag: #d24bb5; --cia: #2db8cf; --ver: #46c66d;
  --serif: 'Rozha One', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mola: cubic-bezier(.16, 1, .3, 1);
  --faixa: 28px;
}
html { font-size: clamp(15px, .45vw + 9px, 30px); -webkit-text-size-adjust: 100%; background: var(--parede-2); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 1.15rem/1.55 var(--sans); color: var(--bege); background: var(--parede); padding-bottom: var(--faixa); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--amarelo); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 4px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pula { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--amarelo); color: var(--tinta); padding: .7rem 1rem; font-weight: 600; text-decoration: none; }
.pula:focus { top: 1rem; }

/* etiqueta da prévia */
[data-previa] { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: var(--faixa); display: flex; align-items: center; justify-content: center;
  background: var(--parede-2); color: #e8c9cf; font: 500 14px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; border-top: 1px solid #5d1626; }

/* barra do topo */
.barra { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(.7rem, env(safe-area-inset-top)) 1.1rem .4rem; }
.marca img { width: 6.2rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.barra-zap { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .95rem; border-radius: 99px; color: var(--bege); text-decoration: none; font-weight: 500; font-size: 1rem;
  border: 1px solid rgba(236,224,201,.35); transition: background .3s, color .3s; }
.barra-zap svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.barra-zap:hover, .barra-zap:active { background: var(--bege); color: var(--tinta); }

/* botão de WhatsApp */
.zap { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.4rem; padding: 0 1.5rem 0 1.25rem; border-radius: 99px; background: var(--amarelo); color: var(--tinta);
  font: 600 1.15rem/1 var(--sans); text-decoration: none; transition: transform .35s var(--mola), background .3s; -webkit-tap-highlight-color: transparent; }
.zap svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.zap:hover { background: #ffe44d; }
.zap:active { transform: scale(.96); }
.lnk { display: inline-block; padding: .55rem 0; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }

/* ---------- 1. topo: a moldura ---------- */
.topo { position: relative; }
.topo-cola { position: relative; height: 100svh; min-height: 34rem; overflow: hidden; background: var(--parede);
  display: grid; grid-template-rows: auto 1fr auto; }
.luz-parede { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at var(--lx, 58%) var(--ly, 30%), rgba(255,196,140,.22), rgba(255,170,120,.06) 55%, transparent 75%),
              linear-gradient(180deg, transparent 55%, rgba(20,2,6,.45)); opacity: var(--luz); }
.titulo { position: relative; z-index: 2; grid-row: 1; margin-top: 3.9rem; font-family: var(--serif); text-transform: uppercase; color: var(--bege);
  font-size: 23.6vw; line-height: .86; letter-spacing: -.01em; text-align: center; padding: 0 .1em; }
.titulo span { display: block; white-space: nowrap; }
.titulo .t2 { margin-top: -.02em; }
.moldura-css { grid-row: 2; position: relative; z-index: 3; margin: -2.2rem auto 0; width: min(84%, 46svh); align-self: start; aspect-ratio: 1060/1260;
  padding: 8.5%; background:
    linear-gradient(135deg, #f3dc95, #b98a37 22%, #6e4a1a 38%, #e4c372 52%, #8b6326 70%, #f0d58c 86%, #7a5520);
  box-shadow: inset 0 0 0 3px #5a3a12, inset 0 0 0 7px #d8b464, inset 0 0 0 10px #4a2f0c, 0 3rem 4rem -1rem rgba(10,0,2,.65); transform: rotate(-2deg); }
.moldura-css img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 0 0 3px #3a240a; }
.palco-gl { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.palco-gl canvas, .fecho-gl canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.topo-pe { grid-row: 3; position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.2rem calc(1.4rem + var(--faixa)); }
.sub { max-width: 23em; font-size: 1.1rem; line-height: 1.4; color: #f0e3cc; }
.sub strong { font-weight: 600; color: #fff6e5; }
.dica { position: absolute; z-index: 4; right: 1.1rem; bottom: calc(1.6rem + var(--faixa)); font-size: .95rem; color: rgba(236,224,201,.7); display: none; }

.placa { display: none; position: absolute; z-index: 4; right: 3.2rem; bottom: calc(2.6rem + var(--faixa)); width: 15rem; padding: 1.1rem 1.3rem 1.2rem; background: linear-gradient(160deg, #f6efe1, #e4d6bb); color: var(--tinta);
  font-size: 1.02rem; line-height: 1.4; box-shadow: 0 1.2rem 2rem -.6rem rgba(10,0,2,.6), inset 0 0 0 1px rgba(90,58,18,.35); }
.placa b { display: block; font: 400 1.7rem/1 var(--serif); margin-bottom: .45rem; }
html.js:not(.calmo) .placa { animation: sobe .9s 1.15s var(--mola) both; }
html.gl .moldura-css { display: none; }
html.js:not(.semgl):not(.tarde) .moldura-css { visibility: hidden; }
html.gl .topo-cola { grid-template-rows: auto 1fr auto; }
html.gl .palco-gl { pointer-events: auto; }

html.gl .topo { height: 205svh; }
html.gl .topo-cola { position: sticky; top: 0; }
/* as faixas da sessão que viram canais no fim do mergulho */
.faixas { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; display: none; }
html.gl .faixas { display: grid; }
.faixas { display: grid; grid-template-columns: repeat(3, 1fr); }
.faixas i { background: var(--c); }

@media (min-width: 760px) {
  .titulo { font-size: 9.6vw; line-height: .9; margin-top: 5.4rem; white-space: nowrap; }
  .titulo span { display: inline; }
  .moldura-css { width: min(32%, 48svh); margin-top: -1.5rem; }
  .topo-pe { flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 0 3.2rem calc(2.6rem + var(--faixa)); }
  .sub { max-width: 14em; font-size: 1.95rem; line-height: 1.25; }
  .topo-pe .zap { min-height: 4.4rem; font-size: 1.45rem; padding: 0 2.1rem 0 1.7rem; }
  .placa { display: block; }
  .marca img { width: 7.6rem; }
  .barra { padding: 1.4rem 3.2rem .4rem; }
  .barra-zap { min-height: 3.2rem; font-size: 1.15rem; padding: 0 1.3rem; }
  .dica { right: 50%; transform: translateX(50%); }
}
@media (max-height: 700px) and (max-width: 759px) {
  .titulo { font-size: min(23.6vw, 12.4svh); margin-top: 3.6rem; }
  .marca img { width: 4.8rem; }
  .sub { font-size: 1rem; }
  .sub strong { display: none; }
  .topo-pe { gap: .7rem; padding-bottom: calc(1rem + var(--faixa)); }
}

/* entrada do topo */
html.js:not(.calmo) .titulo span { animation: acende 1s var(--mola) both; }
html.js:not(.calmo) .titulo .t2 { animation-delay: .07s; }
html.js:not(.calmo) .luz-parede { animation: lampada 1.2s steps(1, end) both, luz .9s .25s var(--mola) both; }
html.js:not(.calmo) .topo-pe > * { animation: sobe .9s var(--mola) both; animation-delay: calc(.95s + var(--i, 0) * 60ms); }
html.js:not(.calmo) .topo-pe > :nth-child(2) { --i: 1; }
html.js:not(.calmo) .moldura-css { animation: pendura 1.3s .2s var(--mola) both; }
@keyframes acende { from { opacity: .1; filter: brightness(.35); transform: translateY(.06em); } 35% { opacity: 1; } to { opacity: 1; filter: none; transform: none; } }
@keyframes lampada { 0% { opacity: 0; } 18% { opacity: .5; } 24% { opacity: .1; } 34% { opacity: 1; } 100% { opacity: 1; } }
@keyframes luz { from { --luz: 0; } to { --luz: 1; } }
@keyframes sobe { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }
@keyframes pendura { from { opacity: 0; transform: translateY(-2rem) rotate(-7deg); } to { opacity: 1; transform: rotate(-2deg); } }

/* ---------- 3. a mesa ---------- */
.mesa { position: relative; background: linear-gradient(180deg, rgba(23,10,51,.0) 0, rgba(23,10,51,.55) 22svh, var(--sessao) 58svh) top / 100% 100% no-repeat, linear-gradient(90deg, var(--mag) 0 33.34%, var(--cia) 33.34% 66.67%, var(--ver) 66.67%) top / 100% 60svh no-repeat, var(--sessao);
  color: #e9e6ff; padding: 34svh 1.1rem 4rem; overflow: hidden; }
html:not(.gl) .mesa { background: var(--sessao); padding-top: 4.5rem; }
.mesa-cab h2 { font-family: var(--serif); font-size: 2.9rem; line-height: .98; max-width: 11em; color: #fff; text-shadow: 0 .1em .6em rgba(23,10,51,.45); }
.mesa-cab p { margin-top: .9rem; font-size: 1.1rem; color: #b9b4e6; max-width: 28em; }
.canais { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.canal { position: relative; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, #1c1847, #110e36); border-radius: .35rem; padding: 0 0 .9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1.2rem 2rem -1rem rgba(0,0,0,.6); }
.canal-nome { position: relative; z-index: 2; min-height: 3.2rem; border: 0; border-radius: .35rem .35rem 0 0; background: var(--cor); color: #10082a; font: 600 1rem/1.1 var(--sans);
  padding: .5rem .4rem; cursor: pointer; text-align: center; }
.trilho { position: relative; height: min(52svh, 27rem); margin: 1.1rem auto 0; width: 100%; touch-action: none; cursor: grab; --v: .18; }
.trilho::before { content: ''; position: absolute; left: 50%; top: 1.2rem; bottom: 1.2rem; width: .42rem; margin-left: -.21rem; border-radius: 1rem; background: #05031a; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255,255,255,.08); }
.trilho::after { content: ''; position: absolute; left: 50%; bottom: 1.2rem; width: .42rem; margin-left: -.21rem; height: calc((100% - 2.4rem) * var(--v)); border-radius: 1rem; background: var(--cor); opacity: .75; }
.escala { position: absolute; inset: 1.2rem 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.escala b { font: 600 .92rem/1 var(--sans); color: #cdc8f2; display: flex; align-items: center; gap: .3rem; padding-left: .3rem; transform: translateY(-50%); }
.escala b::after { content: ''; width: .5rem; height: 1px; background: #4e4a86; }
.tampa { position: absolute; left: 50%; bottom: calc(1.2rem + (100% - 2.4rem) * var(--v)); width: 3.4rem; height: 2.4rem; margin: 0 0 -1.2rem -1.7rem; border-radius: .3rem;
  background: linear-gradient(180deg, #e9e9ee, #b9b9c4 46%, #8f8f9c 50%, #c9c9d2 54%, #f3f3f7); box-shadow: 0 .5rem .9rem rgba(0,0,0,.55), inset 0 1px 0 #fff;
  transition: transform .25s var(--mola); }
.tampa::after { content: ''; position: absolute; left: .35rem; right: .35rem; top: 50%; height: 2px; margin-top: -1px; background: #1a1a22; }
.trilho:active .tampa, .trilho.pega .tampa { transform: scale(1.06); }
.trilho:active { cursor: grabbing; }
.vu { position: absolute; right: .45rem; top: 4.4rem; bottom: 2.1rem; width: .5rem; display: flex; gap: 2px; pointer-events: none; }
.vu i { flex: 1; border-radius: 1px; background: linear-gradient(0deg, #46c66d 0 60%, #ffd800 60% 85%, #ff3a1a 85%); transform-origin: bottom; transform: scaleY(var(--m, .04)); opacity: .9; }
.servicos { margin-top: 2rem; display: grid; gap: 1.6rem; }
.serv { border-top: 3px solid var(--cor); padding-top: 1rem; max-width: 34rem; }
.serv h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: #fff; }
.serv p { margin-top: .7rem; font-size: 1.1rem; color: #dcd8ff; max-width: 34em; }
.serv .nota { color: #cfcaf3; font-size: 1.02rem; }
.serv a { display: inline-block; margin-top: .6rem; min-height: 44px; padding: .6rem 0; color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--cor); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.pedido { margin-top: 2.2rem; display: grid; gap: 1rem; justify-items: start; }
.msg-rot { font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #b9b4e6; margin-bottom: -.4rem; }
.msg { position: relative; font-size: 1.15rem; line-height: 1.4; color: #10201a; background: #d9fdd3; max-width: 24em; padding: .8rem 1.1rem .9rem; border-radius: 1rem 1rem 1rem .25rem;
  box-shadow: 0 .8rem 1.6rem -.6rem rgba(0,0,0,.55); }
html.js .serv { display: none; }
html.js .serv.on { display: block; animation: abre .6s var(--mola) both; }
@keyframes abre { from { opacity: 0; transform: translateY(.8rem); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) {
  .mesa { padding: 34svh 3.2rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 5rem; align-items: start; }
  .mesa-cab { grid-column: 1 / -1; }
  .mesa-cab h2 { font-size: 5.2rem; max-width: 12em; }
  .canais { grid-column: 2; grid-row: 2 / span 2; gap: 1rem; margin-top: 3rem; }
  .trilho { height: min(56svh, 30rem); }
  .servicos { grid-column: 1; grid-row: 2; margin-top: 3rem; }
  .serv p { font-size: 1.3rem; } .serv .nota { font-size: 1.15rem; } .serv h3 { font-size: 2.6rem; } .mesa-cab p { font-size: 1.3rem; } .msg { font-size: 1.3rem; }
  .escala b { font-size: 1.05rem; }
  .pedido { grid-column: 1; grid-row: 3; align-self: start; }
}

/* ---------- 4. a sala e o Roger ---------- */
.sala { position: relative; background: var(--parede); color: var(--bege); }
.sala-foto { position: relative; height: 62svh; min-height: 20rem; overflow: hidden; background: linear-gradient(180deg, var(--sessao), var(--parede)); }
.sala-foto img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 2 / 1; left: calc((100vw - max(100vw, 124svh)) * .18); min-width: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); }
.peca { --dx: -50%; position: absolute; z-index: 2; transform: translate(var(--dx), -100%); font: 600 .95rem/1 var(--sans); color: var(--tinta); background: var(--papel); padding: .5rem .65rem; border-radius: .2rem;
  box-shadow: 0 .4rem 1rem rgba(40,20,10,.25); white-space: nowrap; margin-top: -1.1rem; }
.peca::after { content: ''; position: absolute; left: calc(var(--dx) * -1); top: 100%; width: 1px; height: 1.1rem; background: var(--papel); }
.peca::before { content: ''; position: absolute; left: calc(var(--dx) * -1); top: calc(100% + 1.1rem); width: .55rem; height: .55rem; margin: -.27rem 0 0 -.27rem; border-radius: 50%; background: var(--papel); box-shadow: 0 0 0 .3rem rgba(246,239,225,.35); }
/* posição das peças sobre a foto (a foto tem 2:1 e começa em --x) */
.sala-foto { --w: max(100vw, 124svh); --x: calc((100vw - var(--w)) * .18); }
.p-caixa { left: calc(var(--x) + var(--w) * .24); top: 40%; } .p-rme { left: calc(var(--x) + var(--w) * .325); top: 80%; } .p-fone { left: calc(var(--x) + var(--w) * .195); top: 72%; }
.p-rme { --dx: -14%; }
.sala-txt { position: relative; z-index: 3; margin-top: -4.4rem; padding: 0 1.1rem 3rem; }
.sala-txt h2 { font-family: var(--serif); font-size: 4.4rem; line-height: .86; letter-spacing: -.01em; text-shadow: 0 .1em .5em rgba(30,0,8,.6); }
.sala-col { max-width: 34rem; }
.cargo { margin-top: .6rem; font-weight: 600; color: var(--ouro-claro); font-size: 1.15rem; }
.sala-col p:not(.cargo) { margin-top: .9rem; font-size: 1.12rem; color: #ecd6d9; }
@media (min-width: 760px) {
  .sala-foto { height: 80svh; --w: max(100vw, 160svh); --x: calc((100vw - var(--w)) * .5); }
  .sala-foto img { left: var(--x); }
  .p-rme { --dx: -50%; }
  .sala-txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 4rem; margin-top: -9rem; padding: 0 3.2rem 4rem; align-items: start; }
  .sala-txt h2 { font-size: 8.5rem; }
  .sala-col { padding-top: 3.4rem; } .sala-col p:not(.cargo) { font-size: 1.25rem; }
}

/* ---------- 7. Page of Fame ---------- */
.fama { position: relative; background: var(--parede); padding: 2.5rem 1.1rem 3rem; overflow: hidden; }
.rodape::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: .7rem;
  background: linear-gradient(180deg, #f3dc95, #b98a37 30%, #5a3a12 55%, #d8b464 75%, #7a5520); box-shadow: 0 .5rem 1rem rgba(20,0,5,.45); }
.fama-cab h2 { font-family: var(--serif); font-size: 3.6rem; line-height: .9; color: var(--bege); }
.fama-cab p { margin-top: .8rem; font-size: 1.1rem; color: #e9cdd2; max-width: 24em; }
.parede { position: relative; margin-top: 2.4rem; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 3.2rem; gap: .9rem .8rem; }
.q { position: relative; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% -1.2rem; -webkit-tap-highlight-color: transparent; transition: transform .5s var(--mola), filter .4s; }
.q img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .9rem 1rem rgba(18,0,5,.6)); }
.q.sel { transform: scale(1.04); z-index: 2; }
.q:not(.sel) { filter: brightness(.82); }
.q1 { grid-column: 1 / 5; grid-row: 1 / 6; } .q2 { grid-column: 5 / 7; grid-row: 2 / 4; } .q3 { grid-column: 5 / 7; grid-row: 4 / 6; margin-top: .4rem; }
.q4 { grid-column: 1 / 3; grid-row: 6 / 8; margin-top: 1rem; } .q5 { grid-column: 3 / 5; grid-row: 6 / 8; margin-top: 1rem; } .q6 { grid-column: 5 / 7; grid-row: 6 / 8; margin-top: 1rem; }
.leg { grid-column: 1 / -1; margin-top: .2rem; display: grid; gap: .1rem; justify-items: start; align-content: start; }
.leg-m { font-family: var(--serif); font-size: 2rem; line-height: 1.05; color: var(--bege); }
.leg-a { font-size: 1.1rem; color: #e9cdd2; }
.leg .lnk { color: var(--ouro-claro); min-height: 44px; }
@media (min-width: 760px) {
  .fama { padding: 4rem 3.2rem 3rem; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); column-gap: 4rem; }
  .fama-cab h2 { font-size: 6.6rem; }
  .parede { grid-column: 2; margin-top: 0; grid-template-columns: repeat(15, 1fr); grid-auto-rows: 2.6rem; gap: 1.2rem 1rem; }
  .q1 { grid-column: 1 / 7; grid-row: 1 / 11; } .q2 { grid-column: 7 / 10; grid-row: 1 / 6; margin-top: 1rem; } .q3 { grid-column: 10 / 13; grid-row: 1 / 6; }
  .q4 { grid-column: 13 / 16; grid-row: 1 / 6; margin-top: 2rem; } .q5 { grid-column: 7 / 10; grid-row: 6 / 11; margin-top: .6rem; } .q6 { grid-column: 10 / 13; grid-row: 6 / 11; margin-top: 1.4rem; }
  .leg { grid-column: 13 / 16; grid-row: 6 / 11; margin: 2rem 0 0; }
}
html.js:not(.calmo) .q[data-rv] { opacity: 0; transform: translateY(-1.4rem) rotate(-6deg); }
html.js:not(.calmo) .q[data-rv].vis { opacity: 1; transform: none; animation: balanca 1.6s var(--atraso, 0s) both; transition: opacity .4s var(--atraso, 0s), transform .5s var(--mola), filter .4s; }
html.js:not(.calmo) .q[data-rv].vis.sel { transform: scale(1.04); }
@keyframes balanca { 0% { rotate: -6deg; } 30% { rotate: 3.5deg; } 52% { rotate: -1.8deg; } 70% { rotate: .9deg; } 85% { rotate: -.35deg; } 100% { rotate: 0deg; } }

/* ---------- 8. fecho ---------- */
.fecho { position: relative; background: var(--parede); }
.fecho-palco { position: relative; height: 100svh; min-height: 36rem; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 22%, rgba(255,196,140,.18), transparent 70%), var(--parede); }
.fecho-gl { position: absolute; inset: 0; }
.fecho-dentro { position: relative; z-index: 2; width: min(78%, 30rem); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; text-align: center; padding: 1.4rem;
  background: #24060e; box-shadow: 0 0 0 1.4rem #b98a37, 0 0 0 1.6rem #5a3a12, 0 3rem 4rem rgba(10,0,2,.6); }
.fecho-dentro h2 { font-family: var(--serif); font-size: 2.6rem; line-height: .98; color: var(--bege); }
html.gl .fecho-dentro h2 { font-size: min(2.6rem, calc(var(--fw, 300px) * .1)); }
html.gl .fecho-dentro .zap { white-space: nowrap; font-size: max(15px, min(1.15rem, calc(var(--fw, 300px) * .056))); padding: 0 1.1rem; }
html.gl .fecho-dentro { position: absolute; left: var(--fx, 11%); top: var(--fy, 20%); width: var(--fw, 78%); height: var(--fh, 60%); aspect-ratio: auto; background: none; box-shadow: none; }
@media (max-width: 759px) { .fecho-palco { height: min(100svh, 150vw); min-height: 0; } }
@media (min-width: 760px) { .fecho-dentro h2 { font-size: 3.6rem; } html.gl .fecho-dentro h2 { font-size: min(3.6rem, calc(var(--fw, 300px) * .1)); } }

/* ---------- rodapé ---------- */
.rodape { position: relative; background: var(--parede-2); color: #e9cdd2; padding: 3rem 1.1rem 2.5rem; display: grid; gap: 2rem; }
.rodape-logo { width: 9rem; }
.rodape-col { display: grid; gap: 1rem; font-size: 1.05rem; }
.rodape-col strong { color: var(--bege); font-weight: 600; }
.rodape-col a { text-decoration-color: rgba(233,205,210,.4); text-underline-offset: .25em; display: inline-block; padding: .35rem 0; }
.rodape-nav { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.rodape-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; color: var(--bege); }
@media (min-width: 760px) { .rodape { grid-template-columns: auto 1fr auto; align-items: start; padding: 4rem 3.2rem 3.5rem; column-gap: 4rem; } }

/* ---------- revelar por rolagem (só com js e sem menos-movimento) ---------- */
html.js:not(.calmo) [data-rv]:not(.q):not(.zap):not(.peca) { opacity: 0; transform: translateY(1.6rem); transition: opacity .9s var(--mola), transform 1.1s var(--mola); transition-delay: var(--atraso, 0s); }
html.js:not(.calmo) [data-rv].vis:not(.q):not(.zap):not(.peca) { opacity: 1; transform: none; }
html.js:not(.calmo) .canal[data-rv] { transform: translateY(5rem); }
html.js:not(.calmo) .peca[data-rv] { opacity: 0; transition: opacity .6s var(--mola), transform .8s var(--mola); transition-delay: var(--atraso, 0s); transform: translate(var(--dx), -60%) scale(.6); transform-origin: 50% 100%; }
html.js:not(.calmo) .peca[data-rv].vis { opacity: 1; transform: translate(var(--dx), -100%); }
html.js:not(.calmo) .zap[data-rv] { opacity: 1; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
