/* =========================================================
   PRATFLIX · Página de captura v2 — "estreia de streaming"
   Linha escura: grafite domina, champagne em 1–2 palavras,
   dourado só em fios. Sem balanças, martelos, 3D pesado.
   ========================================================= */

:root {
  --grafite: #101111;
  --branco: #f6f5f1;
  --champagne: #ded4b7;
  --dourado: #bcaa7e;
  --grafite-2: #171818;
  --grafite-3: #1d1e1e;
  --fio: #2c2d2c;
  --fio-2: #3a3b3a;
  --pedra: #9d9b94;
  --papel: #ece9e1;
  --grafite-suave: #6b6962;
  --ouro-velho: #7a6a42;
  --erro: #e08a7a;

  --display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --gutter: max(20px, 4vw);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--grafite); color: var(--branco);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--champagne); }
::selection { background: var(--champagne); color: var(--grafite); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- tipografia ---------- */
.h1, .h2, .h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
.h1 { font-weight: 800; font-size: clamp(44px, 6vw, 92px); line-height: .98; letter-spacing: -.045em; }
.h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
.h3 { font-weight: 700; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--pedra); max-width: 50ch; margin: 0; }
.label {
  font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pedra); margin: 0; display: inline-flex; align-items: center; gap: 10px;
}
.label--accent { color: var(--champagne); }

.play { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--champagne); flex: none; }
.play--dark { border-left-color: var(--grafite); }

.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); flex: none; animation: live 2.2s var(--ease) infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(222, 212, 183, .5); }
  70% { box-shadow: 0 0 0 9px rgba(222, 212, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 212, 183, 0); }
}

.scrollbar { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.scrollbar__fill { display: block; height: 100%; background: var(--champagne); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { height: 26px; width: auto; flex: none; }
.logo__p { fill: var(--branco); }
.logo__play { fill: var(--champagne); stroke: var(--grafite); stroke-width: 5; stroke-linejoin: round; }
.logo__word { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.045em; line-height: 1; padding-bottom: 3px; }
.logo--sm .logo__mark { height: 20px; }
.logo--sm .logo__word { font-size: 20px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(16, 17, 17, .78); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--fio); }
.nav__inner { display: flex; align-items: center; justify-content: center; height: 72px; }

/* ---------- botões ---------- */
.btn {
  --h: 58px; position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 10px 0 26px; border: 0; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .5s var(--ease-out), background .3s, color .3s, box-shadow .4s var(--ease-out);
}
.btn--primary { background: var(--champagne); color: var(--grafite); overflow: hidden; isolation: isolate; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--papel); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 18px 44px -18px rgba(222, 212, 183, .5); }
.btn--primary:active { transform: scale(.985); }
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(16, 17, 17, .08); transition: transform .5s var(--ease-out), background .3s, opacity .2s;
}
.btn__icon .play { border-width: 6px 0 6px 10px; margin-left: 3px; transition: border-color .3s; }
.btn--primary:hover .btn__icon { transform: translateX(4px); background: var(--grafite); }
.btn--primary:hover .btn__icon .play { border-left-color: var(--champagne); }
.btn__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--ghost { background: transparent; color: var(--branco); border: 1px solid var(--fio); padding: 0 20px; }
.btn--ghost:hover { border-color: var(--pedra); }
.btn--sm { --h: 40px; font-size: 14px; }
.btn__spinner {
  position: absolute; right: 19px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; border: 2px solid rgba(16,17,17,.25); border-top-color: var(--grafite);
  opacity: 0; animation: spin .8s linear infinite;
}
.is-loading { pointer-events: none; }
.is-loading .btn__spinner { opacity: 1; }
.is-loading .btn__icon { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cantos de enquadramento ---------- */
.frame { position: relative; }
.frame__c { --s: 22px; position: absolute; width: var(--s); height: var(--s); border: 0 solid var(--champagne); pointer-events: none; transition: transform .9s var(--ease-out), opacity .6s; }
.frame__c--tl { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 4px; }
.frame__c--tr { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 4px; }
.frame__c--bl { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 4px; }
.frame__c--br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 4px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border: 1px solid rgba(222, 212, 183, .3); border-radius: 999px; background: rgba(16, 17, 17, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); white-space: nowrap;
}

/* =========================================================
   DOBRA 1 · TELA DE ESTREIA
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  padding-top: calc(72px + env(safe-area-inset-top, 0px) + clamp(28px, 4.5vw, 64px));
  padding-bottom: clamp(72px, 8vw, 112px);
  --mx: 0; --my: 0;
}

/* parede de episódios */
.wall {
  position: absolute; z-index: -2; inset: -18% -12%;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  transform: rotate(-7deg) translate3d(calc(var(--mx) * -26px), calc(var(--my) * -18px), 0);
  transition: transform 1.2s var(--ease-out), opacity 2.4s var(--ease);
  opacity: 0;
}
.is-ready .wall { opacity: .9; }
.wall__row { display: flex; gap: 16px; width: max-content; animation: marquee var(--dur, 80s) linear infinite; will-change: transform; }
.wall__row:nth-child(even) { animation-direction: reverse; }
.wall.is-paused .wall__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wtile {
  position: relative; flex: none; width: 236px; aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 14px 16px 18px; border-radius: 12px;
  background: linear-gradient(160deg, var(--grafite-3), var(--grafite-2));
  border: 1px solid var(--fio); overflow: hidden;
}
.wtile__ep { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--grafite-suave); }
.wtile__t { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: var(--pedra); line-height: 1.1; }
.wtile__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fio); }
.wtile__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); background: var(--grafite-suave); }
.wtile--lit { border-color: #3d3b33; }
.wtile--lit .wtile__ep { color: var(--champagne); }
.wtile--lit .wtile__t { color: var(--branco); }
.wtile--lit .wtile__bar::after { background: var(--champagne); }
.wtile__play { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--fio-2); display: grid; place-items: center; }
.wtile__play .play { border-width: 3.5px 0 3.5px 6px; border-left-color: var(--grafite-suave); margin-left: 2px; }
.wtile--lit .wtile__play .play { border-left-color: var(--champagne); }

.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,17,17,.96) 0%, rgba(16,17,17,.86) 32%, rgba(16,17,17,.38) 58%, rgba(16,17,17,.55) 100%),
    linear-gradient(180deg, var(--grafite) 0%, rgba(16,17,17,0) 18%, rgba(16,17,17,0) 74%, var(--grafite) 100%);
}

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* título palavra por palavra */
.hero__title { font-size: clamp(38px, 4.6vw, 72px); }
.hero__sub { margin: 0; max-width: 36ch; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.4; letter-spacing: -.01em; color: var(--pedra); text-wrap: pretty; }
.hero__sub em { color: var(--branco); font-weight: 800; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em 0; margin-bottom: -.14em; }
.w > span { position: relative; display: inline-block; }
.w__bar { position: absolute; left: .04em; right: .04em; bottom: -.02em; height: .055em; border-radius: 1em; background: var(--fio); }
.w__bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--champagne); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease-io) 1.1s; }
.w__knob { position: absolute; top: 50%; left: 0; width: .15em; height: .15em; margin: -.075em 0 0 -.075em; border-radius: 50%; background: var(--branco); opacity: 0; transition: left 1.4s var(--ease-io) 1.1s, opacity .3s 1.1s; }
.is-ready .w__bar::before { transform: scaleX(.72); }
.is-ready .w__knob { left: 72%; opacity: 1; }
.w--accent:hover .w__bar::before { transform: scaleX(1); transition-delay: 0s; transition-duration: .6s; }
.w--accent:hover .w__knob { left: 100%; transition-delay: 0s; transition-duration: .6s; }

/* form */
.form {
  margin-top: 4px; max-width: 540px; display: grid; gap: 12px; padding: 22px;
  background: linear-gradient(180deg, rgba(23,24,24,.92), rgba(23,24,24,.72));
  border: 1px solid var(--fio); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
/* Vagas preenchidas (valor calculado pela data, ver CONFIG.seats) */
.seats { display: grid; gap: 10px; margin-bottom: 4px; --seats: 0; }
.seats__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.seats__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pedra); }
.seats__pct { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--champagne); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.seats__pct b { font-size: 22px; font-weight: 800; }
.seats__bar { position: relative; height: 6px; border-radius: 6px; background: var(--fio); overflow: hidden; }
.seats__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--seats) * 1%); border-radius: inherit; background: linear-gradient(90deg, #b9ad8c, var(--champagne)); transition: width 1.8s var(--ease-out); overflow: hidden; }
.seats__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: seats-shine 2.8s var(--ease) 2s infinite; }
@keyframes seats-shine { to { transform: translateX(100%); } }
.seats--vault { margin: 4px 0 2px; }
@media (prefers-reduced-motion: reduce) { .seats__fill { transition: none; } .seats__fill::after { animation: none; } }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form__note { margin: 2px 4px 0; font-size: 13px; color: var(--grafite-suave); line-height: 1.5; }
.form__fail { margin: 0 4px; font-size: 14px; color: var(--erro); }

.field { position: relative; }
.field__input {
  width: 100%; height: 60px; padding: 24px 18px 8px;
  background: var(--grafite); border: 1px solid var(--fio); border-radius: var(--r-md);
  color: var(--branco); font-family: var(--body); font-size: 16px;
  transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.field__input:hover { border-color: var(--fio-2); }
.field__input:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(222, 212, 183, .08); }
.field__label { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--grafite-suave); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s, letter-spacing .25s; white-space: nowrap; }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { top: 17px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pedra); }
.field__input:focus + .field__label { color: var(--champagne); }
.field__error { display: none; margin: 6px 4px 0; font-size: 13px; color: var(--erro); }
.field.is-invalid .field__input { border-color: var(--erro); }
.field.is-invalid .field__error { display: block; }

/* player com o Líbero */
.player-card {
  margin: 0; position: relative; padding: 14px;
  background: linear-gradient(180deg, rgba(23,24,24,.9), rgba(16,17,17,.9));
  border: 1px solid var(--fio); border-radius: 28px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 60px 120px -60px rgba(0,0,0,.9);
  max-width: 500px; justify-self: end; width: 100%;
}
.player-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.player-card__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pedra); }
.player-card__brand svg { height: 16px; width: auto; }
.photo {
  position: relative; aspect-ratio: 4 / 3.7; max-width: 100%; border-radius: 18px; overflow: hidden;
  background: radial-gradient(80% 70% at 60% 20%, #232423, var(--grafite-2));
}
.photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) sepia(.18) contrast(1.05) brightness(.92); transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.player-card:hover .photo__img { transform: scale(1.02); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,17,17,0) 55%, rgba(16,17,17,.7) 100%); pointer-events: none; }
.photo__placeholder { position: absolute; inset: 22px 22px auto; height: 34%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--fio-2); border-radius: var(--r-md); text-align: center; padding: 16px; }
.photo__hint { font-size: 12px; color: var(--grafite-suave); max-width: 26ch; }
.photo.is-missing .photo__img { display: none; }
.photo.is-missing .photo__placeholder { display: flex; }
.photo__corners i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--champagne); z-index: 2; opacity: .9; transition: transform .8s var(--ease-out); }
.photo__corners i:nth-child(1) { top: 16px; left: 16px; border-top-width: 1.5px; border-left-width: 1.5px; }
.photo__corners i:nth-child(2) { top: 16px; right: 16px; border-top-width: 1.5px; border-right-width: 1.5px; }
.photo__corners i:nth-child(3) { bottom: 16px; left: 16px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.photo__corners i:nth-child(4) { bottom: 16px; right: 16px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.player-card:hover .photo__corners i:nth-child(1) { transform: translate(6px, 6px); }
.player-card:hover .photo__corners i:nth-child(2) { transform: translate(-6px, 6px); }
.player-card:hover .photo__corners i:nth-child(3) { transform: translate(6px, -6px); }
.player-card:hover .photo__corners i:nth-child(4) { transform: translate(-6px, -6px); }
.bigplay {
  position: absolute; z-index: 2; left: 50%; top: 76%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(16,17,17,.45); border: 1px solid rgba(222,212,183,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .6s var(--ease-out), background .3s;
}
.bigplay::before, .bigplay::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(222,212,183,.4); animation: ring 3s var(--ease) infinite; }
.bigplay::after { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.bigplay .play { border-width: 11px 0 11px 18px; margin-left: 5px; }
.player-card:hover .bigplay { transform: scale(1.08); background: rgba(222,212,183,.14); }
.player-card__info { display: grid; gap: 2px; padding: 16px 6px 0; }
.player-card__title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.player-card__sub { font-size: 14px; color: var(--pedra); }

.scrub { display: grid; gap: 10px; padding: 18px 6px 6px; }
.scrub__track { position: relative; height: 4px; border-radius: 4px; background: var(--fio); }
.scrub__fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--champagne); width: calc(var(--p, 0) * 100%); transition: width 1.8s var(--ease-out); }
.scrub__knob { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 6px rgba(246,245,241,.08); transition: left 1.8s var(--ease-out); pointer-events: none; }
.scrub__chap { position: absolute; top: -4px; left: calc(var(--at) * 100%); width: 2px; height: 12px; margin-left: -1px; background: var(--fio-2); border-radius: 2px; cursor: help; z-index: 1; }
.scrub__chap::before { content: ""; position: absolute; inset: -10px -10px; }
.scrub__tip {
  position: absolute; bottom: 22px; left: 50%; transform: translate(-50%, 6px); white-space: nowrap;
  padding: 7px 10px; border-radius: 8px; background: var(--branco); color: var(--grafite);
  font-size: 12px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out);
}
.scrub__chap:last-of-type .scrub__tip { left: auto; right: -6px; transform: translate(0, 6px); }
.scrub__chap:hover .scrub__tip { opacity: 1; transform: translate(-50%, 0); }
.scrub__chap:last-of-type:hover .scrub__tip { transform: none; }
.scrub__chap:hover { background: var(--champagne); }
.scrub__meta { display: flex; justify-content: space-between; gap: 12px; }
.timecode { font-weight: 500; font-size: 13px; color: var(--pedra); font-variant-numeric: tabular-nums; }

.hero__next { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; text-decoration: none; }
.hero__next .label { font-size: 10px; }
.hero__next-line { width: 1px; height: 38px; background: var(--fio-2); position: relative; overflow: hidden; }
.hero__next-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--champagne); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* =========================================================
   DOBRA 2 · O VAZIO (scroll story)
   ========================================================= */
.story { position: relative; overflow: hidden; padding: clamp(96px, 14vh, 150px) 0 clamp(80px, 12vh, 130px); --fill: 0; }
.story__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at 62% 62%, rgba(222,212,183,.08), transparent 70%);
  opacity: 0; transition: opacity 1s var(--ease);
}
.story[data-phase="3"] .story__glow { opacity: 1; }
.story__inner { display: grid; gap: clamp(36px, 6vh, 64px); }
.story__title { margin: 0; max-width: 17ch; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.story__title em { font-style: normal; color: var(--champagne); }
.story__head { display: grid; gap: 20px; }
.story__lead { max-width: 52ch; }
.story__cta { display: grid; gap: 14px; max-width: 460px; }
.story__cta .seats { margin-bottom: 2px; }
.story__caption { margin: 0; min-height: 1.5em; font-size: clamp(16px, 1.5vw, 19px); color: var(--pedra); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.story__caption.is-swap { opacity: 0; transform: translateY(6px); }

.track { position: relative; height: 150px; margin: 0 clamp(36px, 5vw, 60px); }
.track__rail { position: absolute; left: 0; right: 0; top: 24px; height: 2px; background: var(--fio); border-radius: 2px; }
.track__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill) * 100%); background: var(--champagne); border-radius: inherit; transition: width .9s var(--ease-out); }
.track__gap {
  position: absolute; top: -1px; height: 4px; left: 52%; width: 28%;
  background: repeating-linear-gradient(90deg, var(--grafite-suave) 0 6px, transparent 6px 12px);
  opacity: 0; transition: opacity .5s;
}
.story[data-phase="2"] .track__gap { opacity: 1; }
.track__head {
  position: absolute; top: 50%; left: calc(var(--fill) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 6px rgba(246,245,241,.08);
  transition: left .9s var(--ease-out);
}
.story[data-phase="2"] .track__head { animation: stuck .5s var(--ease) infinite alternate; }
@keyframes stuck { from { transform: translateX(-3px); } to { transform: translateX(3px); } }

.track__node { position: absolute; top: 0; left: calc(var(--x) * 100%); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; text-align: center; width: 160px; }
.track__dot { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grafite); border: 1px solid var(--fio-2); transition: border-color .5s, background .5s, transform .6s var(--ease-out); }
.track__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fio-2); transition: background .5s, transform .5s var(--ease-out); }
.track__name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--grafite-suave); transition: color .5s; position: relative; display: grid; }
.track__meta { font-size: 13px; color: var(--grafite-suave); position: relative; display: grid; transition: color .5s; }
.track__node.is-on .track__dot { border-color: var(--champagne); }
.track__node.is-on .track__dot::after { background: var(--champagne); transform: scale(1.2); }
.track__node.is-on .track__name { color: var(--branco); }
.track__node.is-on .track__meta { color: var(--pedra); }

.track__node--gap .track__dot { width: 64px; height: 64px; margin-top: -7px; border-style: dashed; border-color: var(--grafite-suave); }
.track__node--gap .track__dot::after { display: none; }
.track__q { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--grafite-suave); transition: opacity .4s, transform .5s var(--ease-out), color .4s; }
.track__q .lock { display: block; margin-top: 5px; }
.track__logo { position: absolute; height: 26px; width: auto; opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .5s, transform .8s var(--ease-out); }
.track__swap-a, .track__swap-b { grid-area: 1 / 1; transition: opacity .5s, transform .6s var(--ease-out); }
.track__swap-b { opacity: 0; transform: translateY(8px); }
.story[data-phase="2"] .track__node--gap .track__dot { border-color: var(--pedra); animation: stuck .5s var(--ease) infinite alternate; }
.story[data-phase="2"] .track__node--gap .track__q { color: var(--branco); }
.story[data-phase="2"] .track__node--gap .track__name { color: var(--branco); }
.story[data-phase="3"] .track__node--gap .track__dot { border-style: solid; border-color: var(--champagne); background: var(--grafite-2); transform: scale(1.12); }
.story[data-phase="3"] .track__q { opacity: 0; transform: scale(.4); }
.story[data-phase="3"] .track__logo { opacity: 1; transform: none; }
.story[data-phase="3"] .track__node--gap .track__swap-a { opacity: 0; transform: translateY(-8px); }
.story[data-phase="3"] .track__node--gap .track__swap-b { opacity: 1; transform: none; }
.story[data-phase="3"] .track__node--gap .track__name { color: var(--champagne); }
.story[data-phase="3"] .track__node--gap .track__meta { color: var(--pedra); }

/* =========================================================
   DENTRO DA PRATFLIX · fileira que expande
   ========================================================= */
.row { position: relative; padding-block: clamp(72px, 10vw, 140px) clamp(80px, 11vw, 160px); }
.row__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.row__title { max-width: 24ch; }
.tiles { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; height: 520px; }
.tile {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  background: var(--grafite-2); border: 1px solid var(--fio); border-radius: var(--r-lg); overflow: hidden;
  transition: flex-grow .8s var(--ease-out), border-color .4s, background .4s; cursor: pointer; outline-offset: 4px;
}
.tile.is-open { flex-grow: 2.3; border-color: var(--fio-2); background: var(--grafite-3); }
.tile__art { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--fio); background: radial-gradient(70% 80% at 70% 10%, rgba(222,212,183,.06), transparent 60%), var(--grafite); }
.tile__body { display: grid; gap: 10px; padding: 24px 26px 30px; }
.tile__text { margin: 0; color: var(--pedra); font-size: 16px; max-width: 40ch; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease-out); }
.tile .h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.tile:not(.is-open) .h3 { color: var(--pedra); }
.tile.is-open .h3 { white-space: normal; }
.tile.is-open .tile__text { opacity: 1; transform: none; transition-delay: .25s; }
.tile__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fio); }
.tile__bar span { display: block; height: 100%; width: 100%; background: var(--champagne); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.tile.is-open .tile__bar span { transform: scaleX(1); }

/* arte 1: documento sendo escrito + foco */
.doc { position: relative; width: min(220px, 70%); aspect-ratio: 3 / 3.6; padding: 26px 22px; border-radius: 10px; background: var(--grafite-3); border: 1px solid var(--fio-2); display: grid; align-content: start; gap: 12px; }
.doc i { display: block; height: 7px; border-radius: 4px; background: var(--fio-2); width: 0; animation: write 6s var(--ease-io) infinite; }
.doc i:nth-child(1) { --w: 55%; animation-delay: 0s; height: 10px; background: var(--grafite-suave); }
.doc i:nth-child(2) { --w: 92%; animation-delay: .3s; }
.doc i:nth-child(3) { --w: 80%; animation-delay: .6s; }
.doc i:nth-child(4) { --w: 88%; animation-delay: .9s; }
.doc i:nth-child(5) { --w: 70%; animation-delay: 1.2s; }
.doc i:nth-child(6) { --w: 40%; animation-delay: 1.5s; }
.doc i.hl { background: var(--champagne); }
@keyframes write { 0% { width: 0; } 20%, 85% { width: var(--w); } 100% { width: 0; } }
.doc__focus { position: absolute; inset: 0; pointer-events: none; }
.doc__focus b { position: absolute; width: 12px; height: 12px; border: 0 solid var(--champagne); animation: focus 6s var(--ease-out) infinite; }
.doc__focus b:nth-child(1) { top: calc(50% - 64px); left: calc(50% - min(124px, 40%)); border-top-width: 1.5px; border-left-width: 1.5px; }
.doc__focus b:nth-child(2) { top: calc(50% - 64px); right: calc(50% - min(124px, 40%)); border-top-width: 1.5px; border-right-width: 1.5px; }
.doc__focus b:nth-child(3) { top: calc(50% - 34px); left: calc(50% - min(124px, 40%)); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.doc__focus b:nth-child(4) { top: calc(50% - 34px); right: calc(50% - min(124px, 40%)); border-bottom-width: 1.5px; border-right-width: 1.5px; }
@keyframes focus { 0%, 15% { opacity: 0; transform: scale(1.6); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* arte 2: base em várias frentes */
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(230px, 70%); }
.grid9 i { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--fio-2); background: var(--grafite-3); position: relative; animation: lit 5.4s var(--ease) infinite; }
.grid9 i::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -5px 0 0 -3px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--fio-2); }
.grid9 i:nth-child(1) { animation-delay: 0s; } .grid9 i:nth-child(5) { animation-delay: .6s; } .grid9 i:nth-child(9) { animation-delay: 1.2s; }
.grid9 i:nth-child(3) { animation-delay: 1.8s; } .grid9 i:nth-child(7) { animation-delay: 2.4s; } .grid9 i:nth-child(2) { animation-delay: 3s; }
.grid9 i:nth-child(6) { animation-delay: 3.6s; } .grid9 i:nth-child(8) { animation-delay: 4.2s; } .grid9 i:nth-child(4) { animation-delay: 4.8s; }
@keyframes lit { 0%, 18%, 100% { border-color: var(--fio-2); background: var(--grafite-3); } 6%, 12% { border-color: var(--champagne); background: rgba(222,212,183,.1); } }

/* arte 3: rede */
.net { width: min(300px, 86%); height: auto; overflow: visible; }
.net__lines line { stroke: var(--fio-2); stroke-width: 1.2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 5s var(--ease-io) infinite; }
.net__lines line:nth-child(2) { animation-delay: .2s; } .net__lines line:nth-child(3) { animation-delay: .4s; }
.net__lines line:nth-child(4) { animation-delay: .6s; } .net__lines line:nth-child(5) { animation-delay: .8s; }
.net__lines line:nth-child(6) { animation-delay: 1s; } .net__lines line:nth-child(7) { animation-delay: 1.2s; }
.net__lines line:nth-child(8) { animation-delay: 1.4s; } .net__lines line:nth-child(9) { animation-delay: 1.6s; }
@keyframes draw { 0% { stroke-dashoffset: 160; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
.net__dots circle { fill: var(--grafite-3); stroke: var(--grafite-suave); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pop 5s var(--ease) infinite; }
.net__dots circle:nth-child(2) { animation-delay: .3s; } .net__dots circle:nth-child(3) { animation-delay: .6s; }
.net__dots circle:nth-child(4) { animation-delay: .9s; } .net__dots circle:nth-child(5) { animation-delay: 1.2s; } .net__dots circle:nth-child(6) { animation-delay: 1.5s; }
.net__dots .net__me { fill: var(--champagne); stroke: none; animation: none; }
@keyframes pop { 0%, 30%, 100% { transform: scale(1); } 15% { transform: scale(1.35); stroke: var(--champagne); } }

.tiles:not(.is-in) * { animation-play-state: paused !important; }

/* =========================================================
   DOBRA 3 · INGRESSO + CONTAGEM + COFRE
   ========================================================= */
.premiere { position: relative; padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--fio); }
.premiere__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.premiere__left { display: grid; gap: 34px; min-width: 0; }

.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 118px; max-width: 640px; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
.ticket__main, .ticket__stub { background: var(--grafite-2); border: 1px solid var(--fio); }
.ticket__main {
  padding: 26px 28px; border-radius: 22px 0 0 22px; border-right: 0; display: grid; gap: 18px; min-width: 0;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  position: relative; border-radius: 0 22px 22px 0; border-left: 1.5px dashed var(--fio-2);
  display: grid; justify-items: center; align-content: space-between; padding: 22px 0;
  transform-origin: 0 100%; transition: transform .9s var(--ease-out);
  -webkit-mask: radial-gradient(circle at 0 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 12px, #000 12.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 12px, #000 12.5px) bottom / 100% 51% no-repeat;
}
.ticket:hover .ticket__stub { transform: rotate(-6deg) translate(12px, -4px); }
.ticket__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.04em; }
.ticket__brand svg { height: 16px; width: auto; }
.ticket__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; }
.ticket__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--fio); }
.ticket__fields div { padding: 14px 0 12px 14px; border-left: 1px solid var(--fio); }
.ticket__fields div:first-child { border-left: 0; padding-left: 0; }
.ticket__fields dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--grafite-suave); }
.ticket__fields dd { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.ticket__agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--pedra); }
.ticket__agenda li { display: flex; align-items: center; gap: 12px; }
.ticket__admit { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.ticket__barcode { width: 54px; height: 96px; background: repeating-linear-gradient(0deg, var(--pedra) 0 2px, transparent 2px 4px, var(--pedra) 4px 5px, transparent 5px 9px, var(--pedra) 9px 12px, transparent 12px 14px); opacity: .7; }
.ticket__no { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .12em; color: var(--grafite-suave); font-variant-numeric: tabular-nums; }

/* contagem em rolos */
.odo { display: flex; align-items: flex-start; gap: clamp(6px, 1.2vw, 16px); }
.odo__unit { display: grid; gap: 6px; }
.odo__digits { display: flex; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; letter-spacing: -.04em; }
.odo__d { display: block; height: 1em; overflow: hidden; width: .64em; }
.odo__strip { display: grid; transition: transform 1s var(--ease-out); }
.odo__strip span { height: 1em; display: block; text-align: center; }
.odo__l { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--grafite-suave); }
.odo__sep { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--fio-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* cofre da turma fundadora */
.vault {
  isolation: isolate; overflow: hidden;
  padding: clamp(26px, 3.2vw, 40px); border: 1px solid var(--fio); border-radius: var(--r-lg);
  background: radial-gradient(90% 60% at 100% 0%, rgba(222, 212, 183, .07), transparent 60%), var(--grafite-2);
  display: grid; gap: 22px; position: sticky; top: 110px;
  --mx: 50%; --my: 30%;
}
.vault__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(222, 212, 183, .1), transparent 65%); opacity: 0; transition: opacity .5s; }
.vault:hover .vault__spot { opacity: 1; }
.vault__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vault__status { color: var(--champagne); font-size: 11px; }
.lock { position: relative; width: 10px; height: 8px; border-radius: 2px; background: var(--champagne); margin-top: 4px; flex: none; }
.lock::before { content: ""; position: absolute; left: 1.5px; bottom: 6px; width: 7px; height: 6px; border: 1.5px solid var(--champagne); border-bottom: 0; border-radius: 5px 5px 0 0; }
.lock--lg { transform: scale(2.2); }
.vault__seal { position: relative; width: 132px; height: 132px; justify-self: start; }
.vault__seal svg { width: 100%; height: 100%; animation: rot 28s linear infinite; overflow: visible; }
.vault__seal text { font-family: var(--body); font-size: 12.5px; letter-spacing: .24em; fill: var(--pedra); }
.vault__seal-core { position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(222,212,183,.4); display: grid; place-items: center; background: var(--grafite); }
@keyframes rot { to { transform: rotate(360deg); } }
.vault__title { font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.vault__redacted { display: grid; gap: 10px; padding: 4px 0; }
.vault__redacted span { height: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--fio), #363735, var(--fio)); background-size: 200% 100%; animation: redact 3.6s ease-in-out infinite; }
.vault__redacted span:nth-child(1) { width: 86%; } .vault__redacted span:nth-child(2) { width: 64%; animation-delay: .2s; }
.vault__redacted span:nth-child(3) { width: 74%; animation-delay: .4s; } .vault__redacted span:nth-child(4) { width: 42%; animation-delay: .6s; }
@keyframes redact { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.vault__text { margin: 0; color: var(--pedra); }

/* =========================================================
   FOOTER + STICKY
   ========================================================= */
.footer { border-top: 1px solid var(--fio); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__tag { margin: 0; color: var(--pedra); font-size: 14px; }
.footer__legal { margin: 0 0 0 auto; color: var(--grafite-suave); font-size: 13px; }
.footer__legal a { color: inherit; text-underline-offset: 3px; }
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, rgba(16,17,17,0), rgba(16,17,17,.92) 35%);
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.sticky.is-on { transform: none; }

/* =========================================================
   ENTRADAS (só com JS)
   ========================================================= */
.js [data-hero] { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-hero="player"] { transform: translateY(40px) scale(.96); }
.js .is-ready [data-hero] { opacity: 1; transform: none; filter: none; }
.js .w > span { transform: translateY(115%) rotate(7deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-ready .w > span { transform: none; }
.js .form .frame__c { opacity: 0; }
.js .form .frame__c--tl { transform: translate(10px, 10px); } .js .form .frame__c--tr { transform: translate(-10px, 10px); }
.js .form .frame__c--bl { transform: translate(10px, -10px); } .js .form .frame__c--br { transform: translate(-10px, -10px); }
.js .is-ready .form .frame__c { opacity: 1; transform: none; transition-delay: 1.1s; }

/* tilt do player (só depois da entrada) */
.player-card.is-tilting { transform: perspective(1400px) rotateY(calc(var(--tx, 0) * 2.4deg)) rotateX(calc(var(--ty, 0) * -2deg)) !important; transition: transform .9s var(--ease-out) !important; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="ticket"] { transform: translateX(-60px) rotate(-4deg); }
.js [data-reveal="ticket"].is-in { transform: none; }
.js .frame:not(.form) .frame__c { opacity: 0; }
.js .frame.is-in .frame__c { opacity: 1; transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-hero], .js .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .wall { opacity: .5 !important; }
  .js .frame .frame__c { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .player-card { justify-self: start; max-width: 560px; }
  .hero__next { display: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(16,17,17,.72) 0%, rgba(16,17,17,.84) 40%, rgba(16,17,17,.7) 70%, var(--grafite) 100%); }
  .premiere__grid { grid-template-columns: 1fr; }
  .vault { position: relative; top: 0; max-width: 640px; }
  .tiles { flex-direction: column; height: auto; }
  .tile, .tile.is-open { flex: none; }
  .tile { flex-direction: row; min-height: 220px; cursor: default; }
  .tile__art { flex: 0 0 42%; border-bottom: 0; border-right: 1px solid var(--fio); }
  .tile__body { align-content: center; }
  .tile .h3 { white-space: normal; color: var(--branco) !important; }
  .tile__text { opacity: 1; transform: none; }
  .tile__bar span { transform: scaleX(1); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .hero { min-height: 0; padding-top: calc(64px + env(safe-area-inset-top, 0px) + 22px); }
  .hero__veil { background: linear-gradient(180deg, rgba(16,17,17,.74) 0%, rgba(16,17,17,.88) 45%, rgba(16,17,17,.8) 75%, var(--grafite) 100%); }
  .wall { inset: -10% -60%; }
  .wtile { width: 180px; }
  .form { padding: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .player-card { padding: 10px; border-radius: 22px; }

  .story__title { font-size: clamp(32px, 9vw, 44px); }
  .story__caption { min-height: 3em; }
  .track { margin: 0 42px; height: 130px; }
  .track__node { width: 76px; }
  .track__name { font-size: 15px; }
  .track__meta { font-size: 11px; line-height: 1.35; text-wrap: balance; }
  .track__dot { width: 40px; height: 40px; }
  .track__node--gap .track__dot { width: 50px; height: 50px; margin-top: -5px; }
  .track__logo { height: 20px; }

  .tile { flex-direction: column; min-height: 0; }
  .tile__art { flex: none; height: 200px; border-right: 0; border-bottom: 1px solid var(--fio); }

  .ticket { grid-template-columns: minmax(0, 1fr) 72px; }
  .ticket__main { padding: 20px 18px; }
  .ticket__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket__fields div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--fio); }
  .ticket__fields div:nth-child(4) { border-top: 1px solid var(--fio); }
  .ticket__barcode { width: 34px; height: 70px; }
  .ticket__admit { font-size: 12px; }
  .odo__digits { font-size: clamp(40px, 12vw, 56px); }
  .odo__sep { font-size: clamp(32px, 10vw, 44px); }

  .footer__legal { margin-left: 0; width: 100%; }
  .sticky { display: block; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   PÁGINA DE OBRIGADO
   ========================================================= */
.nav--static { position: absolute; }
.thanks { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(72px + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(72px, 9vw, 128px); }
.thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 45% at 50% 10%, rgba(222, 212, 183, .08), transparent 70%); }
.thanks__inner { max-width: 880px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; justify-items: start; }
.thanks__title { font-size: clamp(40px, 6.4vw, 84px); max-width: 15ch; }
.thanks__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn--whats { padding-left: 10px; }
.btn__wa { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grafite); flex: none; }
.btn__wa svg { width: 20px; height: 20px; fill: var(--champagne); }
.btn--ghost:not(.btn--sm) { height: 58px; padding: 0 24px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.stepper__item { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grafite-suave); padding-right: 18px; margin-right: 18px; position: relative; }
.stepper__item:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 1px; background: var(--fio); }
.stepper__dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--fio); flex: none; }
.stepper__item.is-done { color: var(--pedra); }
.stepper__item.is-done .stepper__dot { background: var(--pedra); border-color: var(--pedra); }
.stepper__item.is-current { color: var(--champagne); }
.stepper__item.is-current .stepper__dot { border-color: var(--champagne); background: var(--champagne); animation: live 2.2s var(--ease) infinite; }
.lnk { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--champagne); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid rgba(222, 212, 183, .3); transition: gap .3s var(--ease-out), border-color .3s; }
.lnk:hover { gap: 14px; border-color: var(--champagne); }
.thanks__clock { display: grid; gap: 14px; margin-top: 10px; }
.clock { display: flex; gap: 10px; flex-wrap: wrap; }
.clock__unit { min-width: 82px; padding: 14px 14px 12px; border: 1px solid var(--fio); border-radius: var(--r-md); background: var(--grafite-2); display: grid; gap: 2px; justify-items: start; }
.clock__n { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.clock__l { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grafite-suave); }
@media (max-width: 720px) {
  .thanks { padding-top: calc(64px + env(safe-area-inset-top, 0px) + 32px); }
  .thanks__cta { width: 100%; }
  .thanks__cta .btn { width: 100%; justify-content: space-between; }
  .thanks__cta .btn--ghost { justify-content: center; }
  .stepper__item { margin-bottom: 8px; }
  .clock__unit { min-width: 0; flex: 1 1 0; }
  .thanks-page .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}

/* sombra do ingresso sobrevive ao reveal */
.js .ticket[data-reveal].is-in { filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }


/* =========================================================
   PESQUISA + GRUPO (página de obrigado)
   ========================================================= */
.survey { width: 100%; display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--fio); border-radius: var(--r-lg); background: var(--grafite-2); }
.survey__head { display: flex; align-items: center; min-height: 22px; }
.survey__back { background: none; border: 0; padding: 4px 0; color: var(--pedra); font: inherit; font-size: 14px; cursor: pointer; }
.survey__back:hover { color: var(--branco); }
.survey__form { position: relative; }
.survey__step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; gap: 16px; }
.survey__step.is-active { display: grid; animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.survey__q { float: left; width: 100%; padding: 0; margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.survey__opts { clear: both; display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 14px 18px; text-align: left; border-radius: var(--r-md); border: 1px solid var(--fio); background: var(--grafite); color: var(--branco); font: inherit; font-size: 16px; line-height: 1.3; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
.opt::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--fio-2); flex: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.opt:hover { border-color: var(--pedra); transform: translateX(3px); }
.opt.is-picked { border-color: var(--champagne); background: var(--grafite-3); }
.opt.is-picked::before { background: var(--champagne); border-color: var(--champagne); box-shadow: inset 0 0 0 3px var(--grafite-3); }
.opt:focus-visible, .survey__text:focus-visible, .survey__back:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.survey__text { clear: both; width: 100%; min-height: 110px; resize: vertical; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--fio); background: var(--grafite); color: var(--branco); font: inherit; font-size: 16px; line-height: 1.5; }
.survey__text::placeholder { color: var(--grafite-suave); }
.survey__text:focus { border-color: var(--champagne); outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.survey__done { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--pedra); }
.survey__done[hidden], .survey__back[hidden] { display: none; }
.survey__done strong { color: var(--branco); }
.survey__check { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--champagne); flex: none; animation: pop .5s var(--ease-out); }
.survey__check::after { content: ""; position: absolute; left: 12px; top: 8px; width: 8px; height: 14px; border: solid var(--grafite); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.survey.is-done { padding-block: 20px; }
.survey.is-done .survey__head, .survey.is-done .survey__form { display: none; }

.group { width: 100%; display: grid; gap: 24px; justify-items: start; padding-top: 12px; scroll-margin-top: 90px; }
.js .group:not(.is-open) { display: none; }
.group.is-open { animation: group-in .9s var(--ease-out); }
@keyframes group-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.group__title { max-width: 20ch; }
.group__lead { max-width: 56ch; }
.group__lead strong { color: var(--branco); font-weight: 700; }
.group__card { width: 100%; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 30px; align-items: center; padding: 22px; border: 1px solid var(--fio); border-radius: var(--r-lg); background: var(--grafite-2); }
.group__card .frame__c { opacity: 1; }
.group__body { display: grid; gap: 12px; }
.group__text { margin: 0; color: var(--pedra); }

.wa { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-md); background: var(--grafite); border: 1px solid var(--fio); }
.wa__top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--fio); }
.wa__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grafite-3); border: 1px solid var(--fio-2); flex: none; }
.wa__avatar svg { height: 18px; width: auto; }
.wa__who { display: grid; gap: 2px; min-width: 0; }
.wa__name { font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa__meta { font-size: 12px; color: var(--grafite-suave); }
.wa__label { font-size: 12px; color: #25d366; letter-spacing: .02em; }
.wa__line { height: 8px; border-radius: 4px; background: var(--fio); width: 92%; }
.wa__line--s { width: 64%; }
.wa__file { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px; border-radius: 12px; background: var(--grafite-3); border: 1px solid var(--champagne); animation: file-glow 2.4s var(--ease) infinite; }
@keyframes file-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(222, 212, 183, .35); } 50% { box-shadow: 0 0 0 8px rgba(222, 212, 183, 0); } }
.wa__doc { position: relative; width: 28px; height: 34px; border-radius: 4px; background: var(--champagne); flex: none; clip-path: polygon(0 0, 70% 0, 100% 26%, 100% 100%, 0 100%); }
.wa__doc::after { content: ""; position: absolute; left: 6px; right: 6px; top: 15px; height: 2px; background: var(--grafite); box-shadow: 0 5px 0 var(--grafite), 0 10px 0 var(--grafite); }
.wa__file-txt { display: grid; gap: 2px; min-width: 0; }
.wa__file-txt b { font-family: var(--display); font-size: 14px; }
.wa__file-txt small { font-size: 12px; color: var(--pedra); }
.wa__dl { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--fio-2); }
.wa__dl .play { transform: rotate(90deg); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0 -1px; } 50% { translate: 0 2px; } }

@media (max-width: 720px) {
  .group__card { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .opt { min-height: 54px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .survey__step.is-active, .group.is-open, .survey__check { animation: none; }
  .wa__file, .wa__dl .play { animation: none; }
}
