/* Eventos MadGod · página pública. Escuro, Anton nos títulos, DM Sans no texto, magenta MadGod nas ações. */
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('/static/fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/static/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/static/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('/static/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #0A0608; --bg2: #120B10; --card: #18101A; --card2: #221725; --line: #33243A; --line2: #4A3554;
  --bone: #F5EDF1; --soft: #CFC0CB; --muted: #9A8896; --accent: #C653D3; --accent-hi: #DA7AE4; --accent-soft: #EBBDF2; --on-accent: #17071B;
  --blood: #E3324A; --ok: #45E09A; --amber: #F2A33A;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif; --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--bone); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.hint.bad { color: var(--blood); font-weight: 500; }
.testbar { background: var(--amber); color: #1a0f00; font: 700 12px/1 var(--body); letter-spacing: .08em; text-align: center; padding: 7px 10px; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 6, 8, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 10px; }
.brand img { height: 40px; width: auto; }
.langs { display: flex; gap: 2px; }
.langs a { font: 700 12px/1 var(--body); letter-spacing: .12em; text-decoration: none; color: var(--muted); padding: 9px 8px; border-radius: 8px; }
.langs a.on { color: var(--bone); background: var(--card2); }

/* títulos */
.display { font: 400 clamp(40px, 7vw, 72px)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; margin: 0 0 16px; text-wrap: balance; }
.display--xl { font-size: clamp(56px, 12vw, 132px); }
.kicker { font: 700 13px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--soft); max-width: 40em; margin: 0 0 20px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--body); letter-spacing: .02em; text-decoration: none; transition: background-color .25s, transform .15s; }
.btn:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--big { min-height: 56px; padding-inline: 30px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bone); }
.btn.small { min-height: 38px; padding: 9px 16px; font-size: 14px; }
.btn.danger { color: var(--blood); box-shadow: inset 0 0 0 1.5px rgba(227, 50, 74, .5); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* capa */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: flex-end; padding-block: 120px 56px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); animation: drift 24s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,6,8,.35) 0%, rgba(10,6,8,.2) 35%, rgba(10,6,8,.92) 82%, var(--bg) 100%),
              radial-gradient(ellipse 60% 50% at 80% 20%, rgba(198,83,211,.35), transparent 70%); }
.hero__in { width: 100%; }
.hero__price { font-size: 18px; color: var(--soft); margin: 0 0 22px; }
.hero__price b { color: var(--bone); font: 400 28px/1 var(--display); letter-spacing: .02em; }
.hero--list { min-height: 0; padding-block: 72px 32px; background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(198,83,211,.28), transparent 70%); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } html { scroll-behavior: auto; } }

/* texto do evento */
.about { display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr; padding-block: 24px 40px; }
.about__t p { font-size: 18px; color: var(--soft); margin: 0 0 14px; }
.about__info { background: var(--card); border-radius: 18px; padding: 18px 20px; font-size: 15px; color: var(--soft); }
.about__info p { margin: 0 0 6px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* lista de eventos */
.evlist { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); padding-bottom: 64px; }
.evcard { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, var(--card2), var(--card)); text-decoration: none; color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s; }
.evcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--accent); }
.evcard__date { font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.evcard__t { font: 400 34px/1 var(--display); text-transform: uppercase; }
.evcard__s { color: var(--soft); }
.evcard__m { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.evcard .btn { align-self: flex-start; margin-top: auto; }

/* reserva */
.book { padding-block: 16px 48px; }
.alert { background: rgba(227, 50, 74, .14); color: #FFC2CB; border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; font-weight: 500; }
.alert--ok { background: rgba(69, 224, 154, .13); color: #BDF5D9; }
.bookform { display: flex; flex-direction: column; gap: 14px; }
.step { border: 0; margin: 0; padding: 22px; border-radius: 22px; background: var(--card); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 16px; padding: 0; }
.step legend + * { clear: both; }
.step__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--body); flex: none; }

.sessions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sess { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--card2); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; }
.sess input { position: absolute; opacity: 0; pointer-events: none; }
.sess:hover { box-shadow: inset 0 0 0 1.5px var(--line2); }
.sess:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: rgba(198, 83, 211, .12); }
.sess:has(input:focus-visible) { outline: 2px solid var(--bone); outline-offset: 2px; }
.sess__day { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.sess__time { font: 400 30px/1.05 var(--display); letter-spacing: .02em; }
.sess__label { font-size: 14px; color: var(--soft); }
.sess__state { font-size: 13px; font-weight: 700; color: var(--ok); margin-top: 4px; }
.sess__state.few { color: var(--amber); }
.sess__state.out { color: var(--blood); }
.sess__price { position: absolute; top: 12px; right: 14px; font-weight: 700; font-size: 14px; }
.sess.is-out { opacity: .7; }

.pax { display: inline-flex; align-items: center; gap: 6px; background: var(--card2); border-radius: 999px; padding: 6px; }
.pax__b { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--line); color: var(--bone); font: 700 22px/1 var(--body); cursor: pointer; }
.pax__b:hover { background: var(--line2); }
.pax input { width: 70px; text-align: center; background: transparent; border: 0; color: var(--bone); font: 400 34px/1 var(--display); -moz-appearance: textfield; }
.pax input::-webkit-outer-spin-button, .pax input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* mapa de mesas */
.map { margin-top: 14px; border-radius: 18px; overflow-x: auto; overscroll-behavior-x: contain; background: var(--bg2); }
@media (max-width: 640px) { .map svg { min-width: 600px; } }
.map svg { display: block; width: 100%; height: auto; max-height: 70vh; }
.map .room { fill: #0F090D; stroke: var(--line); stroke-width: 2; }
.tb rect, .tb ellipse { stroke-width: 3; transition: fill .2s, stroke .2s; }
.tb text { text-anchor: middle; dominant-baseline: middle; pointer-events: none; font-family: var(--body); }
.tb__l { font-weight: 700; }
.tb.is-ok { cursor: pointer; }
.tb.is-ok rect, .tb.is-ok ellipse { fill: rgba(69, 224, 154, .14); stroke: var(--ok); }
.tb.is-ok text { fill: var(--bone); }
.tb.is-ok:hover rect, .tb.is-ok:hover ellipse, .tb.is-ok:focus rect, .tb.is-ok:focus ellipse { fill: rgba(69, 224, 154, .32); }
.tb.is-mine { cursor: pointer; }
.tb.is-mine rect, .tb.is-mine ellipse { fill: var(--accent); stroke: var(--accent-soft); }
.tb.is-mine text { fill: var(--on-accent); }
.tb.is-taken rect, .tb.is-taken ellipse { fill: #1E1520; stroke: #2B1F2E; }
.tb.is-taken text { fill: #5C4C5A; }
.tb.is-no rect, .tb.is-no ellipse { fill: transparent; stroke: var(--line2); stroke-dasharray: 6 5; }
.tb.is-no text { fill: var(--muted); }
.tb:focus { outline: none; }
.map__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.lg--free { background: rgba(69, 224, 154, .3); box-shadow: inset 0 0 0 2px var(--ok); }
.lg--mine { background: var(--accent); }
.lg--taken { background: #2B1F2E; }
.map__pick { font: 400 22px/1.2 var(--display); letter-spacing: .02em; margin: 12px 0 8px; min-height: 1.2em; }

/* menu e extras */
.course { padding: 4px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.course:last-child { border-bottom: 0; margin-bottom: 0; }
.course h3 { font: 700 13px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 10px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.opt--fixed { display: block; margin: 0; }
.opt__t { display: grid; gap: 2px; }
.opt__t span, .opt--fixed span { color: var(--muted); font-size: 14px; display: block; }
.bookform .opt input.opt__n { width: 84px; flex: none; text-align: center; }
.opt input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--accent); }

/* campos */
.grid2 { display: grid; gap: 12px 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--soft); }
.f--end { align-content: end; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #0E080C; color: var(--bone); font: 16px/1.3 var(--body); }
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin-top: 1px; }

.policy { padding: 20px 22px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.policy h3 { font: 400 22px/1 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.policy p { margin: 0 0 8px; color: var(--soft); font-size: 15px; }

.paybar { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px max(14px, env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0; background: rgba(24, 16, 26, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(0,0,0,.4); }
.paybar__total span { display: block; font-size: 13px; color: var(--muted); }
.paybar__total b { font: 400 34px/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.paybar .btn { white-space: nowrap; }
@media (min-width: 760px) { .paybar { border-radius: 22px; position: static; } }

.waitlist { margin-top: 22px; padding: 18px 22px; border-radius: 22px; background: var(--card); }
.waitlist summary { cursor: pointer; font: 400 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.waitlist p { color: var(--soft); }

.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 24px; }
.strip img { width: 100%; height: clamp(200px, 36vw, 420px); object-fit: cover; filter: grayscale(.2) contrast(1.05); }

/* páginas simples e bilhete */
.page { padding-block: 56px 72px; }
.ticket { background: var(--card); border-radius: 26px; padding: 26px 22px; }
.ticket.is-dead { opacity: .75; }
.state { display: inline-block; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(69,224,154,.14); color: var(--ok); margin: 0 0 16px; }
.state--awaiting_payment, .state--pending { background: rgba(242,163,58,.15); color: var(--amber); }
.state--cancelled, .state--refunded, .state--expired { background: rgba(227,50,74,.15); color: #FF9AA8; }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; }
.info dt { color: var(--muted); }
.info dd { margin: 0; }
.info dd.big { font: 400 28px/1 var(--display); letter-spacing: .02em; }
.pass { display: grid; justify-items: center; gap: 10px; padding: 20px 0; border-top: 1px dashed var(--line2); }
.pass__n { font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); margin: 0; }
.qr { width: min(260px, 72vw); background: #fff; border-radius: 16px; padding: 10px; }
.qr svg { display: block; width: 100%; height: auto; }
.manage { margin-top: 22px; padding: 22px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.manage h2 { font: 400 26px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.transfer { margin-top: 18px; }
.transfer summary { cursor: pointer; font-weight: 700; }

.foot { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--soft); }

/* ───────── capa com lanterna ───────── */
.brand img { height: 42px; width: auto; filter: drop-shadow(0 0 10px rgba(182, 64, 194, .55)); transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 16px rgba(214, 110, 230, .9)) brightness(1.15); }
.stage { position: relative; isolation: isolate; overflow: hidden; min-height: min(92svh, 860px); display: flex; align-items: flex-end; padding-block: 120px 64px; background: #050206; --x: 62%; --y: 42%; }
.stage--compact { min-height: min(70svh, 640px); }
.stage__img { position: absolute; inset: 0; z-index: -3; }
.stage__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; transform: scale(1.08); filter: saturate(1.15) contrast(1.08);
  animation: stageIn 2.4s cubic-bezier(.2, .7, .1, 1) .2s both; }
.stage__vid { z-index: -3; opacity: 0; transition: opacity 1.6s ease; }
.stage__vid video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.1); }
.stage.has-video .stage__vid { opacity: 1; }
.stage.has-video .stage__img:not(.stage__vid) img { animation: none; opacity: 0; transition: opacity 1.6s; }
.stage__dark { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle min(34vmax, 420px) at var(--x) var(--y), rgba(5, 2, 6, 0) 0%, rgba(5, 2, 6, .35) 38%, rgba(5, 2, 6, .86) 72%, rgba(5, 2, 6, .95) 100%),
    linear-gradient(180deg, rgba(5, 2, 6, .5) 0%, transparent 30%, transparent 55%, var(--bg) 100%); }
.stage__dark::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle min(30vmax, 380px) at var(--x) var(--y), rgba(198, 83, 211, .18), transparent 60%); mix-blend-mode: screen; }
.stage__embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage__in { width: 100%; position: relative; }
.stage__t { text-shadow: 0 4px 40px rgba(0, 0, 0, .7); max-width: 12ch; }
.stage__t .w { display: inline-block; white-space: nowrap; }
.stage__t .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); filter: blur(6px);
  animation: chIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.9s + var(--i) * 38ms); }
.stage__k, .stage__l, .stage__cta { animation: fadeUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.stage__k { animation-delay: .7s; } .stage__l { animation-delay: 1.5s; } .stage__cta { animation-delay: 1.75s; }
.stage__cta { box-shadow: 0 0 0 0 rgba(198, 83, 211, .6); animation: fadeUp .9s cubic-bezier(.2, .8, .2, 1) 1.75s both, pulse 2.6s ease-out 3s infinite; }
.stage__hint { position: absolute; right: 20px; bottom: 22px; margin: 0; display: flex; align-items: center; gap: 8px; font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 237, 241, .55); animation: fadeUp 1s ease 2.6s both; }
.stage__hint span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: flick 1.8s steps(1) infinite; }
.stage.is-lit .stage__hint { opacity: 0; transition: opacity .6s; }
@media (hover: none) { .stage__hint { display: none; } }
@keyframes stageIn { from { transform: scale(1.25); filter: brightness(0) saturate(0); } 40% { filter: brightness(.6) saturate(.6); } to { transform: scale(1.08); filter: saturate(1.15) contrast(1.08); } }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 83, 211, .55); } 70% { box-shadow: 0 0 0 18px rgba(198, 83, 211, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 83, 211, 0); } }
@keyframes flick { 0%, 100% { opacity: 1; } 47% { opacity: .2; } 50% { opacity: 1; } 72% { opacity: .5; } }

/* letreiro a acender (primeira visita) */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #050206; cursor: pointer; transition: opacity .8s ease, visibility .8s; }
.intro img { width: min(62vw, 420px); height: auto; opacity: 0; animation: neonOn 1.4s linear forwards; }
.intro.out { opacity: 0; visibility: hidden; }
@keyframes neonOn {
  0% { opacity: 0; filter: none; } 10% { opacity: .9; filter: drop-shadow(0 0 22px #C653D3); } 13% { opacity: .1; filter: none; }
  22% { opacity: .95; filter: drop-shadow(0 0 30px #C653D3); } 25% { opacity: .2; } 31% { opacity: 1; filter: drop-shadow(0 0 26px #C653D3) drop-shadow(0 0 60px rgba(198, 83, 211, .6)); }
  100% { opacity: 1; filter: drop-shadow(0 0 30px #C653D3) drop-shadow(0 0 80px rgba(198, 83, 211, .7)); } }
html.is-intro .stage__img img, html.is-intro .stage__t .ch, html.is-intro .stage__k, html.is-intro .stage__l, html.is-intro .stage__cta, html.is-intro .stage__hint { animation-play-state: paused; }

/* secções */
.sec-h { font: 400 clamp(36px, 6vw, 64px)/1 var(--display); text-transform: uppercase; margin: 0 0 18px; }
.nights { padding-block: 40px 56px; }
.empty { padding: 34px 26px; border-radius: 26px; background: linear-gradient(160deg, var(--card2), var(--card)); box-shadow: inset 0 0 0 1px var(--line); max-width: 640px; }
.empty__h { font: 400 30px/1.05 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.evcard { position: relative; overflow: hidden; }
.evcard::before { content: ''; position: absolute; inset: -1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(198, 83, 211, .25), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.evcard:hover::before { opacity: 1; }

/* os vilões */
.cast { padding-block: 32px 72px; overflow: hidden; }
.cast .lead { margin-bottom: 26px; }
.cast__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(18px, calc((100vw - 1080px) / 2 + 18px)) 26px; scrollbar-width: none; perspective: 900px; }
.cast__track::-webkit-scrollbar { display: none; }
.cast__card { flex: 0 0 auto; width: clamp(180px, 24vw, 260px); aspect-ratio: 2 / 3; margin: 0; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--card);
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.cast__card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.55) contrast(1.1); transform: scale(1.06); transition: filter .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.cast__card:hover, .cast__card:focus-within { box-shadow: 0 24px 60px rgba(198, 83, 211, .35); }
.cast__card:hover img { filter: none; transform: scale(1); }
@media (hover: none) { .cast__card img { filter: saturate(1.05) brightness(.9); } }

/* aparecer com o scroll (só com JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cast__card.reveal { transform: translateY(40px) rotate(2deg); }
.js .cast__card.reveal.in { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }

@media (prefers-reduced-motion: reduce) {
  .stage__img img, .stage__t .ch, .stage__k, .stage__l, .stage__cta, .stage__hint { animation: none !important; opacity: 1; transform: none; filter: none; }
  .stage__dark { background: linear-gradient(180deg, rgba(5, 2, 6, .55), rgba(5, 2, 6, .35) 40%, var(--bg)); }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-aspect-ratio: 4/5) {
  .stage__img { bottom: 32%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .stage__img img { object-position: 64% 50%; }
  .stage { --y: 30%; }
  .stage__dark { background:
    radial-gradient(circle 46vmax at var(--x) var(--y), rgba(5, 2, 6, 0) 0%, rgba(5, 2, 6, .3) 40%, rgba(5, 2, 6, .85) 75%),
    linear-gradient(180deg, rgba(5, 2, 6, .4) 0%, transparent 18%, transparent 40%, rgba(5, 2, 6, .7) 62%, var(--bg) 78%); }
}
