/* SpeedRun 3ª Night Edition · cartaz de corrida em movimento.
   Noite (seções escuras com foto) alternada com papel amassado (colagem: fita, adesivo, recorte, borda rasgada).
   Display em Archivo extracondensada 900, maiúscula; destaque com pincelada no gradiente da marca.
   Âmbar é ação (botões, adesivos); roxo da largada é etiqueta; nunca texto branco sobre âmbar, laranja ou magenta. */

:root {
  /* marca, medida no logo */
  --c-noite: #0B0414; --c-largada: #52036E; --c-magenta: #E9287C; --c-ambar: #FAA21A;
  --c-lilas: #B4A3C4; --c-linhas: #F45622; --c-branco: #FFFFFF; --c-ph: #22D3EE;
  --g-1: #7D217A; --g-2: #BA247C; --g-3: #E9287C; --g-4: #F14A44; --g-5: #F57424; --g-6: #FAA21A;
  --luz: linear-gradient(90deg, var(--g-1), var(--g-2) 19%, var(--g-3) 34%, var(--g-4) 60%, var(--g-5) 82%, var(--g-6));

  --noite: #0B0414; --noite-2: #150C20; --claro: #F5F2F7; --cinza: #A99FB3;
  --papel-cor: #ECE7EB; --tinta: #150C1B; --tinta-2: #4A3D52; --branco-papel: #FBF9FA;
  --acao: var(--c-ambar); --acao-2: #FFB443;

  --f: 'Archivo', system-ui, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--noite); color: var(--claro); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-ambar); outline-offset: 3px; }
::selection { background: var(--c-magenta); color: var(--c-branco); }
.wrap { width: min(100% - 2 * clamp(20px, 5vw, 64px), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 980px; background: var(--acao); color: var(--c-noite); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.ph { display: inline; padding: 1px 6px; border: 1px dashed var(--c-ph); border-radius: 4px; color: #0E7490; background: rgba(34, 211, 238, .12); font: 600 .78em/1.5 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; text-transform: none; white-space: normal; }
.escuro .ph, .km-faixa .ph, .final .ph, .rodape .ph { color: var(--c-ph); }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia de cartaz ---------- */
.tit { font-size: clamp(52px, 8.4vw, 132px); line-height: .86; font-weight: 900; font-stretch: 62%; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
.tit--md { font-size: clamp(44px, 5.6vw, 88px); }
.tit--xl { font-size: clamp(64px, 11.5vw, 190px); }
.marca { padding: .18em .16em 0; margin: 0 -.08em; background: url(../img/marca.svg) 0 60% / 100% 92% no-repeat; color: var(--tinta); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.colchete { margin-bottom: 18px; font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c-largada); }
.escuro .colchete, .km-faixa .colchete, .hero .colchete, .doc-capa .colchete { color: var(--c-magenta); }
.lead { max-width: 52ch; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.sub-tit { font-size: clamp(30px, 3vw, 44px); line-height: .92; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.nota { max-width: 860px; margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--tinta-2); }
.nota--clara { color: var(--cinza); }
.nota a, .lead a, .faq a, .resultado a:not(.btn):not(.link) { color: inherit; text-underline-offset: 3px; }
.cab { max-width: 980px; margin-bottom: clamp(48px, 6vw, 88px); }
.cab--claro .lead { color: var(--cinza); }
.split-line { padding-bottom: .04em; }
[data-split] > div { padding-top: .32em; margin-top: -.32em; } /* a máscara de linha dá folga em cima: acento de maiúscula (Ã, Ê) não é cortado */
[data-split] > div:nth-child(1) { z-index: 4; } [data-split] > div:nth-child(2) { z-index: 3; } [data-split] > div:nth-child(3) { z-index: 2; } /* a linha de cima passa por cima da pincelada da de baixo */

/* ---------- Botões em pílula com seta ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: var(--h); padding: 0 26px; border: 2px solid transparent; border-radius: 980px; background: none; font: 800 15px/1 var(--f); font-stretch: 92%; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.btn:has(.btn__seta) { padding-right: 7px; }
.btn:active { transform: scale(.97); }
.btn__seta { display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; background: var(--c-noite); transition: transform .35s var(--ease); }
.btn__seta::before { content: ''; width: 9px; height: 9px; border-top: 2.5px solid var(--acao); border-right: 2.5px solid var(--acao); transform: translateX(-2px) rotate(45deg); }
.btn:hover .btn__seta { transform: rotate(-45deg); }
.btn--acao { background: var(--acao); color: var(--c-noite); }
.btn--acao:hover { background: var(--acao-2); }
.btn--tinta { background: var(--tinta); color: var(--branco-papel); }
.btn--tinta .btn__seta { background: var(--acao); }
.btn--tinta .btn__seta::before { border-color: var(--c-noite); }
.btn--tinta:hover { background: var(--c-largada); }
.btn--contorno { border-color: var(--tinta); color: var(--tinta); }
.btn--contorno:hover { background: var(--tinta); color: var(--branco-papel); }
.btn--vidro { border-color: rgba(245, 242, 247, .32); background: rgba(245, 242, 247, .08); color: var(--claro); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--vidro:hover { border-color: var(--claro); background: rgba(245, 242, 247, .14); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 13px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 16px; }
.btn--bloco { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; border-bottom: 2px solid var(--acao); background: none; font: 800 14px/1.2 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--claro); text-decoration: none; cursor: pointer; }
.link::after { content: '→'; transition: transform .25s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.link--tinta { color: var(--tinta); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.acoes--centro { justify-content: center; }
.live { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-magenta); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(233, 40, 124, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(233, 40, 124, 0); } }

/* ---------- Peças de colagem ---------- */
.recorte { position: relative; filter: drop-shadow(0 18px 28px rgba(11, 4, 20, .35)); }
.recorte img { width: 100%; height: auto; -webkit-mask: url(../img/rasgo-foto.svg) 0 0 / 100% 100%; mask: url(../img/rasgo-foto.svg) 0 0 / 100% 100%; }
.recorte--esq { transform: rotate(-2.4deg); }
.recorte--dir { transform: rotate(2deg); }
.fita { position: absolute; z-index: 2; width: 132px; height: 34px; background: rgba(246, 236, 206, .78); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); clip-path: polygon(3% 0, 97% 4%, 100% 22%, 96% 46%, 100% 70%, 97% 100%, 2% 96%, 0 74%, 4% 50%, 0 26%); }
.fita--a { left: -26px; top: 18px; transform: rotate(-34deg); }
.fita--b { right: -24px; bottom: 22px; transform: rotate(-28deg); }
.fita--topo { left: 50%; top: -16px; margin-left: -66px; transform: rotate(-3deg); }
.adesivo { position: absolute; z-index: 3; display: grid; place-content: center; justify-items: center; width: 156px; height: 156px; border-radius: 50%; background: var(--acao); color: var(--c-noite); text-align: center; transform: rotate(-10deg); box-shadow: 0 10px 24px rgba(11, 4, 20, .28), inset 0 0 0 6px rgba(255, 255, 255, .22); font-weight: 800; text-transform: uppercase; }
.adesivo b { font-size: 46px; line-height: .86; font-weight: 900; font-stretch: 62%; }
.adesivo span { font-size: 13px; line-height: 1.1; letter-spacing: .08em; }
.adesivo--roxo { background: var(--c-largada); color: var(--c-branco); }
.adesivo--mini { width: auto; height: auto; padding: 8px 14px; border-radius: 980px; font-size: 12px; letter-spacing: .08em; transform: rotate(-6deg); }
.tira { position: relative; background: var(--tinta); color: var(--branco-papel); -webkit-mask: url(../img/rasgo-topo.svg) top / 900px 18px repeat-x, linear-gradient(#000 0 0) 0 17px / 100% calc(100% - 34px) no-repeat, url(../img/rasgo-base.svg) bottom / 900px 18px repeat-x; mask: url(../img/rasgo-topo.svg) top / 900px 18px repeat-x, linear-gradient(#000 0 0) 0 17px / 100% calc(100% - 34px) no-repeat, url(../img/rasgo-base.svg) bottom / 900px 18px repeat-x; }
.pontos { position: absolute; width: 112px; height: 84px; background: radial-gradient(var(--c-largada) 2.2px, transparent 2.6px) 0 0 / 16px 16px; opacity: .8; }
.xis { display: block; margin-top: 14px; font-size: 18px; letter-spacing: .3em; color: var(--tinta); }

/* ---------- Navegação em pílula ---------- */
/* Como na SpeedTravel: transparente sobre a capa, vira pílula de vidro depois da primeira tela; ao descer, sobe e some com fade */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); opacity: 0; }
.nav:focus-within { transform: none; opacity: 1; }
.nav__pilula { pointer-events: auto; display: flex; align-items: center; gap: 18px; width: min(100% - 24px, 1240px); padding: 6px 6px 6px 8px; border: 1px solid transparent; border-radius: 980px; transition: background-color .35s, border-color .35s, box-shadow .35s, padding .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.nav.is-glass .nav__pilula { padding-left: 22px; border-color: rgba(245, 242, 247, .12); background: rgba(11, 4, 20, .62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 44px -24px rgba(0, 0, 0, .7); }
.nav__logo img { width: 200px; height: auto; } /* largura mínima do logo completo */
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 10px 16px; border-radius: 980px; font-size: 15px; white-space: nowrap; font-weight: 600; color: rgba(245, 242, 247, .8); text-decoration: none; transition: background-color .25s, color .25s; }
.nav__links a:hover { background: rgba(233, 40, 124, .16); color: var(--claro); }
.nav__links a[aria-current="page"] { background: rgba(245, 242, 247, .1); color: var(--claro); }
.progresso { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.progresso span { display: block; height: 100%; background: var(--luz); transform: scaleX(0); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(245, 242, 247, .1); cursor: pointer; place-content: center; gap: 5px; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--claro); transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1040px) { .nav__links a { padding-inline: 10px; font-size: 14px; } } /* cinco links: cabem em uma linha até o menu virar o de celular */
@media (max-width: 900px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } .nav__burger { display: grid; } }
@media (max-width: 560px) { .nav__pilula { gap: 10px; padding-left: 16px; } .nav__logo img { width: 140px; } /* abaixo de 200 px pede a versão reduzida do logo (README) */ }
/* "Inscreva-se" é mais largo: logo e botão encolhem para o menu caber até em 320 px */
@media (max-width: 420px) { .nav__pilula { gap: 8px; } .nav__logo img { width: 124px; } .nav .btn { padding-inline: 10px; font-size: 12px; } }
@media (max-width: 340px) { .nav__logo img { width: 104px; } .nav .btn { padding-inline: 8px; font-size: 11px; } }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; gap: 34px; padding: 112px 24px calc(28px + env(safe-area-inset-bottom)); background: var(--noite); overflow-y: auto; animation: menu-entra .45s var(--ease); }
@keyframes menu-entra { from { opacity: 0; transform: translateY(-14px); } }
.menu__paginas a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(245, 242, 247, .12); font-size: clamp(38px, 10vw, 56px); line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; text-decoration: none; }
.menu__paginas a[aria-current="page"] { color: var(--acao); }
.menu__secoes > p { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); }
.menu__secoes nav { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__secoes a { padding: 9px 14px; border: 1px solid rgba(245, 242, 247, .18); border-radius: 980px; font-size: 14px; font-weight: 600; color: rgba(245, 242, 247, .86); text-decoration: none; }
.menu__pe { display: grid; gap: 18px; margin-top: auto; }
.menu__pe p { display: flex; gap: 24px; font-size: 13px; }
.menu__pe p a { color: var(--cinza); text-decoration: none; }

/* ---------- 1. Capa ---------- */
.hero { position: relative; z-index: 1; background: var(--noite); }
.hero__cena { position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; }
.hero__camera { position: absolute; inset: 0; transform-origin: 50% 100%; } /* o zoom cresce para cima: a frase no chão não sai da tela */
.hero__foto { position: absolute; inset: 0; display: block; }
.hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__corte { z-index: 2; pointer-events: none; }
.hero__sombra { position: absolute; z-index: 3; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(11, 4, 20, .62) 0, rgba(11, 4, 20, 0) 22%),
  linear-gradient(0deg, rgba(11, 4, 20, .55) 0, rgba(11, 4, 20, 0) 20%),
  radial-gradient(130% 90% at 50% 45%, transparent 60%, rgba(11, 4, 20, .5)); }
/* O título deitado na pista: cada etapa é uma frase pintada no chão; o tênis recortado fica por cima dela */
.hero__chao { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 36%; margin: 0; perspective: 600px; perspective-origin: 50% 0; pointer-events: none; font-weight: 900; }
.hero__etapa { position: absolute; left: -16%; right: -16%; bottom: 5%; white-space: nowrap; display: block; transform-origin: 50% 100%; transform: rotateX(60deg); font-size: min(240px, calc(178vw / var(--n, 17))); line-height: .8; font-weight: 900; font-stretch: 62%; letter-spacing: -.005em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, .9); mix-blend-mode: overlay; }
/* desktop: uma linha só, no trecho de pista à frente do tênis, com o tamanho medido pelo número de letras (--n) */
.js:not(.rm) .hero__etapa + .hero__etapa { opacity: 0; }
.rm .hero__etapa + .hero__etapa, html:not(.js) .hero__etapa + .hero__etapa { width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__lado { position: absolute; z-index: 4; left: clamp(14px, 1.6vw, 26px); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: clamp(40px, 4.2vw, 64px); line-height: .9; font-weight: 900; font-stretch: 62%; letter-spacing: .01em; text-transform: uppercase; color: rgba(245, 242, 247, .92); white-space: nowrap; }
.hero__lado b { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 242, 247, .85); }
.hero__data { position: absolute; z-index: 4; right: clamp(18px, 3vw, 48px); top: 16%; display: grid; justify-items: end; font-weight: 900; font-stretch: 62%; line-height: .82; text-transform: uppercase; color: rgba(245, 242, 247, .94); }
.hero__data b { font-size: clamp(72px, 8vw, 132px); }
.hero__passo { position: absolute; z-index: 4; left: max(clamp(20px, 5vw, 64px), calc((100% - var(--wrap)) / 2)); top: 118px; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 242, 247, .78); }
.hero__passo b { font-size: 16px; color: var(--claro); }
.hero__trilho { position: relative; width: 120px; height: 2px; overflow: hidden; background: rgba(245, 242, 247, .25); }
.hero__trilho i { position: absolute; inset: 0; background: var(--luz); transform: scaleX(.2); transform-origin: left; }
.hero__rolar { display: inline-flex; align-items: center; gap: 8px; }
.hero__rolar::after { content: '↓'; animation: rolar 1.6s var(--ease) infinite; }
@keyframes rolar { 0%, 100% { transform: translateY(-2px); opacity: .5; } 50% { transform: translateY(3px); opacity: 1; } }
.rm .hero__passo, html:not(.js) .hero__passo { display: none; }
.hero__barra { position: absolute; z-index: 4; right: clamp(18px, 3vw, 48px); top: calc(16% + clamp(150px, 15vw, 250px)); display: flex; align-items: center; gap: 16px; padding: 6px 6px 6px 20px; border: 1px solid rgba(245, 242, 247, .16); border-radius: 980px; background: rgba(11, 4, 20, .58); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.hero__barra > p:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 3px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); }
.hero__barra b { grid-column: 2; font-size: 26px; line-height: 1; font-weight: 900; font-stretch: 62%; letter-spacing: .02em; color: var(--claro); font-variant-numeric: tabular-nums; }
.js:not(.rm) [data-hero-in] { opacity: 0; }

@media (max-width: 1200px) { .hero__lado { display: none; } }
@media (max-width: 760px) {
  .hero__foto img { object-position: 50% 50%; }
  .hero__chao { height: 38%; }
  .hero__etapa { left: -24%; right: -24%; bottom: 8%; font-size: min(27vw, calc(216vw / var(--m, 8))); white-space: normal; } /* --m: letras da linha de perto */
  .hero__etapa > span { display: block; }
  .hero__etapa > span:first-child { font-size: .62em; line-height: .86; } /* no celular, duas linhas: a de longe menor */
  .hero__rolar { display: none; }
  .hero__data { display: none; }
  .hero__barra { left: 12px; right: 12px; top: 84px; justify-content: space-between; }
  .hero__barra > p:first-child { font-size: 10px; }
  .hero__barra b { font-size: 22px; }
  .hero__passo { left: 18px; top: 150px; }
}

/* ---------- Fitas cruzadas ---------- */
.fitas { position: relative; z-index: 4; height: 0; overflow-x: clip; }
.fita-faixa { position: absolute; left: -4%; width: 108%; overflow: hidden; padding: 13px 0 11px; box-shadow: 0 10px 24px rgba(11, 4, 20, .35); }
.fita-faixa--ambar { top: -46px; background: var(--acao); color: var(--c-noite); transform: rotate(-2.6deg); }
.fita-faixa--roxa { top: 4px; background: var(--c-largada); color: var(--c-branco); transform: rotate(1.8deg); }
.fita-faixa__trilho { display: flex; width: max-content; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; font-weight: 900; font-stretch: 62%; text-transform: uppercase; white-space: nowrap; will-change: transform; }
.fita-faixa__trilho span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; }
.fita-faixa__trilho span::after { content: ''; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* ---------- Seções de papel e de noite ---------- */
.papel { position: relative; z-index: 2; overflow-x: clip; margin-block: -26px; padding: clamp(130px, 15vw, 210px) 0 clamp(110px, 13vw, 190px); background: var(--papel-cor) url(../img/papel.webp) center / 880px repeat; color: var(--tinta);
  -webkit-mask: url(../img/rasgo-topo.svg) top / 1200px 28px repeat-x, linear-gradient(#000 0 0) 0 27px / 100% calc(100% - 54px) no-repeat, url(../img/rasgo-base.svg) bottom / 1200px 28px repeat-x;
  mask: url(../img/rasgo-topo.svg) top / 1200px 28px repeat-x, linear-gradient(#000 0 0) 0 27px / 100% calc(100% - 54px) no-repeat, url(../img/rasgo-base.svg) bottom / 1200px 28px repeat-x; }
.escuro { position: relative; z-index: 1; overflow-x: clip; padding: clamp(150px, 16vw, 230px) 0 clamp(140px, 15vw, 220px); background: var(--noite); }
.escuro--roxo { background: radial-gradient(80% 60% at 85% 10%, rgba(82, 3, 110, .55), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(233, 40, 124, .14), transparent 70%), var(--noite); }
.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(30px); }

/* ---------- 2. A prova (comunidade) + pôster ---------- */
.comunidade { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.comunidade__midia { position: relative; }
.comunidade__adesivo { right: -18px; top: -36px; }
.comunidade__adesivo b { font-size: 50px; }
.destaque-txt { padding-left: 22px; border-left: 4px solid var(--c-largada); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; font-weight: 700; }
.comunidade__txt > p + p { margin-top: 18px; color: var(--tinta-2); }
.comunidade__txt b { color: var(--tinta); }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 2px dashed rgba(21, 12, 27, .22); }
.numeros li { display: grid; gap: 6px; }
.numeros b { font-size: clamp(44px, 4.4vw, 64px); line-height: .85; font-weight: 900; font-stretch: 62%; color: var(--c-largada); }
.numeros li > span { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta-2); }

.poster { position: relative; height: clamp(640px, 64vw, 920px); margin-top: clamp(110px, 12vw, 180px); }
.poster__night { position: absolute; left: 1%; top: 0; font-size: clamp(48px, 7vw, 108px); line-height: .8; font-weight: 900; font-stretch: 62%; text-transform: uppercase; color: var(--c-largada); }
.poster__run { position: absolute; left: -1%; top: 7%; font-size: clamp(260px, 38vw, 560px); line-height: .78; font-weight: 900; font-stretch: 62%; letter-spacing: -.02em; text-transform: uppercase; color: var(--tinta); mix-blend-mode: multiply; }
.poster__pincel { position: absolute; z-index: 1; left: 36%; top: 50%; width: 58%; transform: rotate(-9deg); }
.poster__corredora { position: absolute; z-index: 2; left: 47%; top: 4%; height: 94%; width: auto; filter: drop-shadow(0 22px 26px rgba(11, 4, 20, .3)); }
.poster__slogan { position: absolute; z-index: 3; left: 0; bottom: 4%; font-size: clamp(30px, 3vw, 46px); line-height: .9; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.poster__slogan em { display: block; margin-top: 8px; font-style: normal; color: var(--c-largada); }
.poster__data { position: absolute; z-index: 3; right: 0; top: 2%; display: grid; justify-items: end; font-weight: 900; font-stretch: 62%; line-height: .8; text-transform: uppercase; }
.poster__data b:first-child { font-size: clamp(90px, 10vw, 150px); color: var(--c-largada); }
.poster__data b:nth-child(2) { font-size: clamp(56px, 6vw, 92px); }
.poster__data span { margin-top: 8px; padding: 6px 12px; background: var(--c-largada); color: var(--c-branco); font-size: 18px; letter-spacing: .06em; }
.poster__adesivo { right: 2%; top: 46%; width: 170px; height: 170px; transform: rotate(8deg); }
.poster__adesivo b { font-size: 34px; }
.poster__local { position: absolute; z-index: 3; right: 0; bottom: 6%; display: flex; align-items: center; gap: 14px; padding: 28px 30px; transform: rotate(-2deg); }
.poster__local .i { width: 34px; height: 34px; color: var(--acao); }
.poster__local > span { font-size: 26px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.poster__local em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; color: var(--acao); }
.poster__abertas { position: absolute; z-index: 3; left: 0; bottom: calc(4% + 190px); display: grid; gap: 4px; }
.poster__abertas b { justify-self: start; padding-bottom: 4px; border-bottom: 3px solid var(--acao); font-size: 20px; font-weight: 900; font-stretch: 62%; letter-spacing: .02em; text-transform: uppercase; }
.poster__abertas span { font-size: 13px; color: var(--tinta-2); }
.pontos--a { left: 22%; bottom: 0; }
.pontos--b { right: 18%; top: 4%; }
.tira--icones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -10px; padding: 40px clamp(20px, 3vw, 44px); transform: rotate(-1deg); }
.tira--icones li { display: flex; align-items: flex-start; gap: 14px; padding: 0 18px; }
.tira--icones li + li { border-left: 2px solid rgba(251, 249, 250, .18); }
.tira--icones .i { flex: none; width: 40px; height: 40px; color: var(--acao); }
.tira--icones b { display: block; font-size: 24px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.tira--icones p > span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: rgba(251, 249, 250, .72); }
.etiqueta-roxa { position: relative; z-index: 4; display: block; width: max-content; max-width: 90%; margin: -18px auto 0; padding: 14px 34px; background: var(--c-largada); color: var(--c-branco); font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; font-stretch: 62%; text-transform: uppercase; text-decoration: none; transform: rotate(-2.5deg); clip-path: polygon(0 6%, 3% 0, 97% 4%, 100% 0, 99% 50%, 100% 96%, 96% 100%, 4% 96%, 0 100%, 1% 50%); transition: background-color .2s; }
.etiqueta-roxa:hover { background: var(--c-magenta); color: var(--c-noite); }

@media (max-width: 999px) {
  .comunidade { grid-template-columns: 1fr; }
  .poster { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 12px; padding-top: 8px; }
  .poster > * { position: relative; inset: auto; }
  .poster__night { grid-column: 1; grid-row: 1; font-size: 15vw; }
  .poster__data { grid-column: 2; grid-row: 1; }
  .poster__data b:first-child { font-size: 17vw; }
  .poster__data b:nth-child(2) { font-size: 10vw; }
  .poster__data span { padding: 4px 8px; font-size: 12px; }
  .poster__run { grid-column: 1 / -1; grid-row: 2; margin-top: -1vw; font-size: 50vw; }
  .poster__corredora { position: absolute; left: 38%; top: 30vw; width: 58%; height: auto; }
  .poster__pincel { position: absolute; left: 2%; top: 64vw; width: 96%; }
  .poster__adesivo { position: absolute; left: 0; right: auto; top: 74vw; width: 108px; height: 108px; }
  .poster__adesivo b { font-size: 24px; }
  .poster__slogan, .poster__abertas, .poster__local { grid-column: 1 / -1; }
  .poster__slogan { margin-top: 34vw; }
  .poster__local { justify-self: start; }
  .pontos { display: none; }
  .tira--icones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 30px; }
  .tira--icones li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) { .tira--icones { grid-template-columns: 1fr; } .tira--icones li + li { border-left: 0; padding-top: 22px; border-top: 2px solid rgba(251, 249, 250, .14); } .numeros { gap: 10px; } }

/* ---------- 3. Prêmios: a folha de resultados ---------- */
.premios { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(36px, 5vw, 80px); align-items: start; }
.premios__foto { transform: rotate(2.4deg); margin-top: 40px; }
.folha { position: relative; padding: clamp(28px, 3.6vw, 52px); background: var(--branco-papel) url(../img/papel.webp) center / 700px; color: var(--tinta); transform: rotate(-1.2deg); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .6); }
.folha__cab { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--tinta); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.linha { position: relative; display: grid; grid-template-columns: 46px fit-content(58%) minmax(20px, 1fr) auto; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px dashed rgba(21, 12, 27, .3); }
.linha__pos { font-size: 30px; line-height: 1; font-weight: 900; font-stretch: 62%; color: rgba(21, 12, 27, .4); font-variant-numeric: tabular-nums; }
.linha__cat b { display: block; font-size: 26px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.linha__cat small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--tinta-2); }
.linha__pontos { height: 0; border-bottom: 2px dotted rgba(21, 12, 27, .35); transform-origin: left; }
.linha__valor { text-align: right; }
.linha__valor b { display: block; font-size: clamp(36px, 3.4vw, 50px); line-height: .9; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linha__valor small { display: block; margin-top: 6px; font-size: 12px; color: var(--tinta-2); white-space: nowrap; }
.linha--voce .linha__pos { color: var(--c-largada); }
.linha--voce .linha__cat b { display: inline; background: url(../img/marca.svg) 0 60% / 100% 92% no-repeat; padding: 0 .12em; }
.linha__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-largada); }
.folha__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 22px; }
.folha__total > span { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.folha__total p { text-align: right; }
.folha__total b { display: block; font-size: clamp(70px, 7vw, 116px); line-height: .82; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.folha__total small { display: block; margin-top: 8px; font-size: 13px; color: var(--tinta-2); }
.carimbo { position: absolute; left: 36px; bottom: 150px; padding: 10px 16px; border: 4px double var(--c-magenta); border-radius: 8px; color: var(--c-magenta); font-size: 24px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; transform: rotate(-13deg); opacity: .9; mix-blend-mode: multiply; }
.hist__tit { margin-top: 34px; padding-bottom: 10px; border-bottom: 1px dashed rgba(21, 12, 27, .3); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hist li { display: grid; gap: 4px; padding: 14px 12px 0 0; }
.hist li + li { padding-left: 14px; border-left: 1px dashed rgba(21, 12, 27, .3); }
.hist .rotulo { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); }
.hist b { font-size: clamp(26px, 2.4vw, 34px); line-height: .9; font-weight: 900; font-stretch: 62%; color: rgba(21, 12, 27, .55); white-space: nowrap; }
.hist .agora b { color: var(--tinta); }
.hist small { font-size: 12px; color: var(--tinta-2); }
@media (max-width: 999px) { .premios { grid-template-columns: 1fr; } .premios__foto { max-width: 520px; margin: 0 auto; } }
@media (max-width: 620px) {
  .linha { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "pos cat" ". valor"; gap: 10px; }
  .linha__pos { grid-area: pos; font-size: 24px; }
  .linha__cat { grid-area: cat; }
  .linha__pontos { display: none; }
  .linha__valor { grid-area: valor; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; text-align: left; }
  .linha__valor small { margin: 0; white-space: normal; }
  .folha__total p { text-align: left; }
  .carimbo { left: auto; right: 10px; bottom: 120px; font-size: 18px; }
  .hist b { font-size: 22px; }
}

/* ---------- 4. Percurso: faixa escura com o selo de km ---------- */
.km-faixa { position: relative; z-index: 1; background: var(--noite); overflow: hidden; }
.km-faixa__pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(140px, 14vw, 200px) 0 clamp(120px, 12vw, 180px); }
.km-faixa__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.km-faixa__pin::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 4, 20, .92) 0, rgba(11, 4, 20, .55) 50%, rgba(11, 4, 20, .25) 100%); pointer-events: none; }
.km-faixa__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 100px); align-items: center; }
.selo-km { position: relative; width: min(460px, 100%); aspect-ratio: 1; }
.selo-km__svg { width: 100%; height: 100%; overflow: visible; }
.selo-km__pontos { fill: none; stroke: rgba(245, 242, 247, .38); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 10.2; }
.selo-km__arco { fill: none; stroke: url(#gKm); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 10px rgba(233, 40, 124, .6)); }
.selo-km__rota { fill: none; stroke: var(--c-ambar); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: .5; }
.selo-km__centro { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.selo-km__num { display: flex; align-items: baseline; gap: 8px; }
.selo-km__num b { min-width: 3.4ch; font-size: clamp(96px, 10vw, 150px); line-height: .8; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; }
.selo-km__num span { font-size: 30px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; color: var(--c-magenta); }
.selo-km__rot { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza); }
.selo-km__icones li { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; background: var(--noite-2); border: 2px solid rgba(245, 242, 247, .3); font-size: 13px; font-weight: 900; font-stretch: 70%; transform: rotate(var(--a)) translateY(calc(-1 * min(230px, 25vw))) rotate(calc(-1 * var(--a))); transition: background-color .3s, border-color .3s, color .3s; }
.selo-km__icones li:nth-child(1) { --a: 72deg; } .selo-km__icones li:nth-child(2) { --a: 144deg; } .selo-km__icones li:nth-child(3) { --a: 180deg; }
.selo-km__icones li:nth-child(4) { --a: 216deg; } .selo-km__icones li:nth-child(5) { --a: 288deg; } .selo-km__icones li:nth-child(6) { --a: 360deg; }
.selo-km__icones li.is-on { background: var(--acao); border-color: var(--acao); color: var(--c-noite); }
.rm .selo-km__icones li, html:not(.js) .selo-km__icones li { background: var(--acao); border-color: var(--acao); color: var(--c-noite); }
.km-faixa__txt > p { margin-top: 22px; color: rgba(245, 242, 247, .82); }
.regras { margin-top: 22px; display: grid; gap: 12px; }
.regras li { position: relative; padding-left: 30px; color: rgba(245, 242, 247, .82); }
.regras li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--acao) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%230B0414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.regras b { color: var(--claro); }
@media (max-width: 999px) { .km-faixa__in { grid-template-columns: 1fr; justify-items: center; } .km-faixa__txt { justify-self: stretch; } .km-faixa__pin::after { background: linear-gradient(180deg, rgba(11, 4, 20, .7), rgba(11, 4, 20, .9)); } }
@media (max-width: 560px) { .selo-km__icones li { transform: rotate(var(--a)) translateY(-41vw) rotate(calc(-1 * var(--a))); width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 11px; } }

/* ---------- 5. Lotes: ingressos e etiquetas ---------- */
.ingressos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ingresso { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 290px; border-radius: 14px; background: var(--branco-papel); color: var(--tinta); box-shadow: 0 16px 30px -12px rgba(11, 4, 20, .35);
  -webkit-mask: radial-gradient(circle at 0 74%, transparent 11px, #000 11.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 74%, transparent 11px, #000 11.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 74%, transparent 11px, #000 11.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 74%, transparent 11px, #000 11.5px) right / 51% 100% no-repeat; }
.ingresso__corpo { padding: 22px 20px 14px; }
.ingresso__n { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ingresso__n b { display: block; margin-top: 2px; font-size: 54px; line-height: .82; font-weight: 900; font-stretch: 62%; letter-spacing: 0; }
.ingresso__per { margin-top: 8px; font-size: 13px; color: var(--tinta-2); }
.ingresso__preco { display: flex; align-items: flex-start; gap: 4px; margin-top: 16px; font-size: 52px; line-height: .82; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; }
.ingresso__preco small { margin-top: 4px; font-size: 18px; }
.ingresso__tipo { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-2); }
.ingresso__canhoto { display: grid; gap: 10px; padding: 14px 20px 18px; border-top: 2px dashed rgba(21, 12, 27, .25); font-size: 12px; color: var(--tinta-2); }
.ingresso__canhoto i { display: block; height: 18px; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 8px); opacity: .7; }
.ingresso.is-agora { background: var(--acao); transform: rotate(-2deg) translateY(-8px); }
.ingresso.is-agora .ingresso__per, .ingresso.is-agora .ingresso__tipo, .ingresso.is-agora .ingresso__canhoto { color: var(--tinta); }
.ingresso .adesivo--mini { position: absolute; top: 12px; right: 10px; background: var(--c-largada); color: var(--c-branco); }
.ingresso.passou { opacity: .5; }
.ingresso.passou .ingresso__preco { text-decoration: line-through; text-decoration-thickness: 3px; }
.ingresso__carimbo { position: absolute; top: 40%; left: 50%; padding: 4px 10px; border: 3px solid var(--c-magenta); border-radius: 6px; color: var(--c-magenta); font-size: 20px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; transform: translate(-50%, -50%) rotate(-16deg); }
.papel .sub-tit { margin-top: clamp(72px, 8vw, 110px); }
.etiquetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; align-items: start; }
.etiqueta-kit { position: relative; padding-top: 46px; transform-origin: 50% 0; }
.etiqueta-kit__cordao { position: absolute; left: 50%; top: 0; width: 2px; height: 70px; background: var(--tinta); transform: translateX(-50%) rotate(8deg); transform-origin: 50% 0; }
.etiqueta-kit__corpo { position: relative; padding: 52px 28px 28px; background: var(--branco-papel); color: var(--tinta); border-radius: 0 0 18px 18px; clip-path: polygon(16% 0, 84% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); }
.etiqueta-kit__furo { position: absolute; left: 50%; top: 18px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--papel-cor); box-shadow: inset 0 2px 3px rgba(11, 4, 20, .35); }
.etiqueta-kit__tipo { font-size: 36px; line-height: .9; font-weight: 900; font-stretch: 62%; text-transform: uppercase; text-align: center; }
.etiqueta-kit__preco { display: flex; justify-content: center; align-items: flex-start; gap: 4px; margin-top: 10px; font-size: 76px; line-height: .82; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; }
.etiqueta-kit__preco small { margin-top: 6px; font-size: 22px; }
.etiqueta-kit__lote { margin-top: 8px; font-size: 13px; text-align: center; color: var(--tinta-2); }
.etiqueta-kit__nota { margin-top: 10px; font-size: 14px; font-weight: 700; text-align: center; }
.etiqueta-kit__itens { margin: 22px 0 24px; border-top: 2px dashed rgba(21, 12, 27, .2); }
.etiqueta-kit__itens li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px dashed rgba(21, 12, 27, .16); font-size: 15px; }
.etiqueta-kit__itens li::before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23FAA21A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.etiqueta-kit__itens li.nao { color: rgba(21, 12, 27, .4); text-decoration: line-through; }
.etiqueta-kit__itens li.nao::before { background: transparent; border: 2px solid rgba(21, 12, 27, .2); }
.etiqueta-kit.is-rec .etiqueta-kit__corpo { background: var(--acao); }
.etiqueta-kit.is-rec .etiqueta-kit__lote, .etiqueta-kit.is-rec .etiqueta-kit__itens li.nao { color: rgba(21, 12, 27, .62); }
.etiqueta-kit__selo { position: absolute; z-index: 2; top: 60px; right: -6px; transform: rotate(8deg); }
@media (max-width: 1100px) {
  .ingressos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 40%); overflow-x: auto; padding: 14px 4px 22px; margin-inline: -4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ingressos::-webkit-scrollbar { display: none; }
  .ingresso { scroll-snap-align: center; }
}
@media (max-width: 860px) { .etiquetas { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
@media (max-width: 560px) { .ingressos { grid-auto-columns: 66%; } }

/* ---------- 6. Sua prova ---------- */
.prova { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.seletor fieldset { min-width: 0; margin: 0; padding: 0 0 28px; border: 0; }
.seletor fieldset + fieldset { padding-top: 28px; border-top: 1px dashed rgba(245, 242, 247, .2); }
.seletor legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 0; font-size: 30px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; } /* float tira a legenda de cima da borda */
.seletor legend span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--acao); color: var(--c-noite); font-size: 18px; }
.opcoes { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid rgba(245, 242, 247, .28); border-radius: 980px; font-size: 15px; font-weight: 700; transition: border-color .2s, background-color .2s, color .2s; }
.opt:hover span { border-color: var(--claro); }
.opt input:checked + span { background: var(--claro); border-color: var(--claro); color: var(--c-noite); }
.opt input:focus-visible + span { outline: 3px solid var(--c-ambar); outline-offset: 2px; }
.resultado { position: sticky; top: 120px; }
.peito { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 28px 22px; background: var(--branco-papel) url(../img/papel.webp) center / 600px; color: var(--tinta); transform: rotate(-3deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.peito::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--luz); }
.peito__alfinete { position: absolute; top: -12px; width: 74px; height: 22px; color: #C9C2CE; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.peito__alfinete:nth-of-type(1) { left: 14px; transform: rotate(-12deg); }
.peito__alfinete:nth-of-type(2) { right: 14px; transform: rotate(10deg) scaleX(-1); }
.peito__topo, .peito__pe { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); }
.peito__num { text-align: center; font-size: clamp(120px, 12vw, 190px); line-height: .78; font-weight: 900; font-stretch: 62%; padding-top: 6px; }
.peito__chip { display: block; width: 150px; height: 20px; margin: 0 auto; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 8px); opacity: .8; }
.peito--vazio .peito__num { color: rgba(21, 12, 27, .14); }
.resultado__falta { margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--cinza); }
.resultado__por { margin-top: 32px; font-size: 18px; font-weight: 700; }
.resultado__fatos { margin-top: 14px; }
.resultado__fatos li { padding: 13px 0; border-top: 1px dashed rgba(245, 242, 247, .2); font-size: 15px; color: rgba(245, 242, 247, .82); }
.resultado__fatos b { color: var(--claro); }
.resultado__preco { padding-top: 13px; border-top: 1px dashed rgba(245, 242, 247, .2); font-size: 15px; color: rgba(245, 242, 247, .82); }
.resultado__preco b { font-size: 26px; font-weight: 900; font-stretch: 62%; color: var(--acao); }
.resultado .acoes { display: grid; gap: 10px; margin-top: 22px; }
.resultado__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
@media (max-width: 999px) { .prova { grid-template-columns: 1fr; } .resultado { position: static; max-width: 460px; } }

/* ---------- 7. A noite ---------- */
.horarios { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.horarios::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; border-top: 3px dashed rgba(21, 12, 27, .3); transform-origin: left; }
.js:not(.rm) .horarios::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js:not(.rm) .horarios.is-in::before { transform: none; }
.horarios li { position: relative; padding-top: 58px; }
.horarios li::before { content: ''; position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: var(--papel-cor); border: 3px solid var(--tinta); }
.horarios b { display: block; font-size: clamp(72px, 8vw, 128px); line-height: .82; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; color: rgba(21, 12, 27, .45); }
.horarios span { display: block; max-width: 24ch; margin-top: 12px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); }
.horarios .destaque b { color: var(--c-largada); }
.horarios .destaque span { color: var(--tinta); }
.horarios .destaque::before { background: var(--acao); border-color: var(--acao); box-shadow: 0 0 0 6px rgba(250, 162, 26, .3); }
.noite { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); margin-top: clamp(80px, 9vw, 130px); align-items: center; }
.noite__txt > p { margin-top: 16px; color: var(--tinta-2); }
.noite__txt > p b { color: var(--tinta); }
.noite__txt .sub-tit:not(:first-child) { margin-top: 40px; }
.kids { margin-top: 18px; border-top: 2px dashed rgba(21, 12, 27, .22); }
.kids li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(21, 12, 27, .18); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kids b { font-size: 36px; line-height: 1; font-weight: 900; font-stretch: 62%; letter-spacing: 0; color: var(--c-largada); }
@media (max-width: 999px) { .noite { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .horarios::before { transform-origin: top; } .js:not(.rm) .horarios::before { transform: scaleY(0); } .js:not(.rm) .horarios.is-in::before { transform: none; } .horarios { grid-template-columns: 1fr; gap: 26px; } .horarios::before { left: 10px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dashed rgba(21, 12, 27, .3); } .horarios li { padding: 0 0 0 46px; } .horarios li::before { top: 8px; } }

/* Agenda */
.agenda { position: relative; }
.agenda summary { list-style: none; }
.agenda summary::-webkit-details-marker { display: none; }
.agenda__menu { position: absolute; z-index: 5; top: calc(100% + 10px); left: 0; display: grid; min-width: 290px; padding: 8px; border-radius: 18px; background: var(--tinta); color: var(--branco-papel); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); }
.agenda__menu a, .agenda__menu button { display: block; padding: 12px 14px; border: 0; border-radius: 10px; background: none; font-size: 15px; text-align: left; color: inherit; text-decoration: none; cursor: pointer; }
.agenda__menu a:hover, .agenda__menu button:hover { background: rgba(251, 249, 250, .1); }

/* ---------- 8. Dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.duvidas .cab { margin-bottom: 0; }
.faq { border-top: 1px solid rgba(245, 242, 247, .2); }
.faq details { border-bottom: 1px solid rgba(245, 242, 247, .14); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--acao) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230B0414' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 64ch; padding-bottom: 24px; overflow: hidden; color: rgba(245, 242, 247, .82); }
@media (max-width: 999px) { .duvidas { grid-template-columns: 1fr; } }

/* ---------- 9. Largada (fecho) ---------- */
.final { position: relative; z-index: 1; padding: clamp(170px, 18vw, 260px) 0 clamp(150px, 16vw, 230px); overflow: hidden; isolation: isolate; text-align: center; }
.final__foto { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.final::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--noite) 0, rgba(11, 4, 20, .72) 30%, rgba(11, 4, 20, .5) 70%, rgba(11, 4, 20, .4)); }
.chao { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 44%; perspective: 520px; perspective-origin: 50% 0; pointer-events: none; }
.chao p { position: absolute; left: -20%; right: -20%; bottom: -8%; transform-origin: 50% 100%; transform: rotateX(64deg); font-size: clamp(120px, 17vw, 290px); line-height: .8; text-align: center; font-weight: 900; font-stretch: 62%; text-transform: uppercase; white-space: nowrap; color: rgba(245, 242, 247, .8); mix-blend-mode: overlay; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__logo { width: 240px; height: auto; margin-bottom: 30px; }
.final__info { margin-top: 22px; font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; color: rgba(245, 242, 247, .86); }

/* ---------- Páginas internas: regulamento, resultados, termos, privacidade ---------- */
/* Cabeçalho: foto da largada escurecida, título à esquerda e a palavra da página deitada no chão, só no contorno */
.doc-capa { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(560px, 82svh, 820px); padding: 150px 0 clamp(190px, 20vw, 260px); overflow: hidden; isolation: isolate; background: var(--noite); }
.doc-capa--curta { min-height: clamp(500px, 68svh, 700px); }
.doc-capa__foto { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.doc-capa::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(11, 4, 20, .95) 0, rgba(11, 4, 20, .74) 48%, rgba(11, 4, 20, .3)), linear-gradient(0deg, var(--noite) 0, rgba(11, 4, 20, 0) 40%); }
.doc-capa__in { max-width: 940px; }
.doc-capa .lead { color: rgba(245, 242, 247, .84); }
.doc-capa__data { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cinza); }
.doc-capa .chao p { font-size: min(250px, calc(150vw / var(--n, 10))); color: transparent; -webkit-text-stroke: 2px rgba(245, 242, 247, .36); mix-blend-mode: normal; }
.js:not(.rm) [data-doc-chao] { opacity: 0; }

/* Ficha da prova: a folha presa com fita no topo do regulamento */
.ficha-prova { margin-bottom: clamp(80px, 9vw, 130px); transform: rotate(-.6deg); }
.ficha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; margin-top: 20px; }
.ficha div { display: grid; align-content: start; gap: 8px; padding-top: 12px; border-top: 1px dashed rgba(21, 12, 27, .3); }
.ficha dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); }
.ficha dd { margin: 0; font-size: 28px; line-height: .95; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.ficha dd small { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--tinta-2); }

/* Sumário fixo ao lado e seções numeradas como no PDF */
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
.doc__indice { position: sticky; top: 110px; }
.doc__indice > p { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-largada); }
.doc__indice ol { border-top: 2px dashed rgba(21, 12, 27, .22); }
.doc__indice li { break-inside: avoid; }
.doc__indice ol a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(21, 12, 27, .16); font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--tinta-2); text-decoration: none; transition: color .2s, padding .35s var(--ease); }
.doc__indice ol a span { flex: none; min-width: 22px; font-size: 19px; line-height: 1; font-weight: 900; font-stretch: 62%; color: rgba(21, 12, 27, .35); transition: color .2s; }
.doc__indice ol a:hover, .doc__indice ol a.is-ativo { color: var(--tinta); }
.doc__indice ol a.is-ativo { padding-left: 8px; }
.doc__indice ol a.is-ativo span { color: var(--c-largada); }
.doc__indice .acoes { margin-top: 26px; }
.doc__sec { scroll-margin-top: 110px; }
.doc__sec + .doc__sec { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 56px); border-top: 2px dashed rgba(21, 12, 27, .2); }
.doc__cab { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 24px; }
.doc__n { flex: none; font-size: clamp(64px, 6vw, 96px); line-height: .78; font-weight: 900; font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px var(--c-largada); }
.doc__sec h2 { font-size: clamp(32px, 3.2vw, 48px); line-height: .9; font-weight: 900; font-stretch: 62%; text-transform: uppercase; text-wrap: balance; }
.doc__sec h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1; font-weight: 900; font-stretch: 62%; letter-spacing: .01em; text-transform: uppercase; }
.doc__sec p, .doc__sec li { max-width: 70ch; color: var(--tinta-2); }
.doc__sec p + p, .doc__sec p + .doc__lista, .doc__lista + p { margin-top: 12px; }
.doc__sec b { color: var(--tinta); }
.doc__sec a:not(.btn):not(.link) { color: var(--tinta); text-underline-offset: 3px; }
.doc__itens { border-top: 1px dashed rgba(21, 12, 27, .2); }
.doc__itens > li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(21, 12, 27, .16); scroll-margin-top: 110px; }
.doc__itens > li > b:first-child { font-size: 20px; line-height: 1.2; font-weight: 900; font-stretch: 62%; color: var(--c-largada); font-variant-numeric: tabular-nums; }
.doc__lista { display: grid; gap: 8px; }
.doc__lista li { position: relative; padding-left: 30px; }
.doc__lista li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23FAA21A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.doc__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.doc__cartao { padding: 22px 22px 24px; background: var(--branco-papel); box-shadow: 0 16px 30px -18px rgba(11, 4, 20, .4); }
.doc__cartao h3 { margin: 0 0 12px; }
.doc__cartao .doc__lista li { font-size: 15px; }
.doc__rolar { margin-top: 18px; overflow-x: auto; }
.doc__tabela { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.doc__tabela th { padding: 10px 12px; border-bottom: 3px solid var(--tinta); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--tinta); }
.doc__tabela td { padding: 12px; border-bottom: 1px dashed rgba(21, 12, 27, .22); color: var(--tinta-2); }
.doc__tabela td:first-child { font-weight: 800; color: var(--tinta); }
.doc__tabela td small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--tinta-2); }
.doc__tabela .num { text-align: right; }
.doc__tabela td.num { white-space: nowrap; }
.doc__tabela tfoot td { border-bottom: 0; font-weight: 800; color: var(--tinta); }
.doc__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 34px; padding-top: 20px; border-top: 3px solid var(--tinta); }
.doc__total > span { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); }
.doc__total p { text-align: right; }
.doc__total b { display: block; font-size: clamp(60px, 6vw, 100px); line-height: .82; font-weight: 900; font-stretch: 62%; white-space: nowrap; }
.doc__total small { display: block; margin-top: 8px; font-size: 13px; color: var(--tinta-2); }
@media (max-width: 999px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__indice { position: static; }
  .doc__indice ol { columns: 2; column-gap: 28px; }
  .ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .doc__indice ol { columns: 1; }
  .doc__itens > li { grid-template-columns: 44px minmax(0, 1fr); }
  .doc__total p { text-align: left; }
  .doc-capa .chao p { -webkit-text-stroke-width: 1.5px; }
  .doc__tabela { font-size: 13px; }
  .doc__tabela th { padding: 8px 6px; font-size: 10px; letter-spacing: .06em; }
  .doc__tabela td { padding: 10px 6px; }
}

/* Resultados: uma folha por edição, a próxima em âmbar */
.edicoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.edicao { display: grid; gap: 20px; }
.edicao:nth-child(2) { margin-top: 34px; transform: rotate(1.4deg); }
.edicao.is-agora { background: var(--acao); transform: rotate(-2deg); }
.edicao__data { display: flex; align-items: baseline; gap: 12px; font-weight: 900; font-stretch: 62%; line-height: .8; text-transform: uppercase; }
.edicao__data b { font-size: clamp(84px, 8vw, 130px); }
.edicao__data span { font-size: 34px; color: var(--tinta-2); }
.edicao__fatos { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed rgba(21, 12, 27, .3); font-size: 15px; color: var(--tinta-2); }
.edicao__fatos b { font-size: 24px; font-weight: 900; font-stretch: 62%; color: var(--tinta); }
.edicao.is-agora .edicao__data span, .edicao.is-agora .edicao__fatos { color: var(--tinta); }
.edicao__quando { font-size: 14px; font-weight: 700; color: var(--tinta); }
@media (max-width: 999px) { .edicoes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .edicao:nth-child(2) { margin-top: 0; } }

/* ---------- Rodapé ---------- */
.rodape { position: relative; z-index: 2; padding: 64px 0 40px; background: #07020D; font-size: 14px; color: var(--cinza); }
.rodape__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.rodape__marca img { width: 210px; height: auto; }
.rodape__marca p { max-width: 32ch; margin-top: 16px; }
.rodape__tit { margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--claro); }
.rodape nav a, .rodape nav > span { display: block; padding: 5px 0; color: var(--cinza); text-decoration: none; }
.rodape nav a:hover { color: var(--acao); }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 18px; border-top: 1px solid rgba(245, 242, 247, .12); font-size: 12px; }
.rodape__base a { color: var(--cinza); text-decoration: none; }
.rodape__base a:hover { color: var(--acao); }
.rodape__credito { display: inline-flex; align-items: center; gap: 10px; }
.rodape__credito img { width: auto; height: 28px; opacity: .85; transition: opacity .2s; }
.rodape__credito:hover img { opacity: 1; }
@media (max-width: 999px) { .rodape__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape__marca { grid-column: 1 / -1; } }
@media (max-width: 899px) { .rodape { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ---------- Barra fixa, WhatsApp, cartão, consentimento ---------- */
.sticky { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid rgba(245, 242, 247, .14); border-radius: 980px; background: rgba(11, 4, 20, .86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); transform: translateY(calc(100% + 40px)); transition: transform .5s var(--ease); }
.sticky.is-on { transform: none; }
.sticky p { display: grid; gap: 2px; min-width: 0; }
.sticky p > span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cinza); }
.sticky b { font-size: 24px; line-height: 1; font-weight: 900; font-stretch: 62%; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .sticky { display: none; } }
.fab { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--acao); color: var(--c-noite); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.fab .fab__in { fill: currentColor; stroke: none; }
@media (max-width: 899px) { .fab { display: none; } }
/* ---------- Galeria de Fotos: colunas do próprio CSS, cada foto no formato original; foto nova nunca deixa buraco ---------- */
.doc-capa__foto--lado { left: auto; right: 0; width: 56%; object-position: 100% 6%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); } /* a foto fica à direita: o título e o texto ficam na noite, nunca sobre um rosto */
@media (max-width: 760px) {
  .doc-capa--lado { align-items: flex-start; padding-top: 330px; } /* celular: a foto abaixo do menu e o texto logo depois dela */
  .doc-capa__foto--lado { top: 64px; bottom: auto; width: 100%; height: 300px; object-position: 88% 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 62%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 62%, transparent); }
}
.galeria-sec { padding-top: clamp(20px, 4vw, 56px); }
.galeria { columns: 2; column-gap: 10px; }
.galeria__foto { display: block; width: 100%; margin: 0 0 10px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: var(--noite-2); break-inside: avoid; cursor: zoom-in; }
.galeria__foto img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.galeria__foto:hover img { transform: scale(1.04); }
.galeria__foto:focus-visible { outline-offset: -3px; }
@media (min-width: 760px) { .galeria { columns: 3; column-gap: 14px; } .galeria__foto { margin-bottom: 14px; border-radius: 18px; } }
@media (min-width: 1100px) { .galeria { columns: 4; } }
.galeria__fim { margin-top: clamp(64px, 8vw, 110px); text-align: center; }
.galeria__fim .acoes { justify-content: center; }
.foto-dialogo { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 2, 10, .95); color: var(--claro); }
.foto-dialogo[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; }
.foto-dialogo::backdrop { background: transparent; }
.foto-dialogo img { grid-row: 1; width: auto; max-width: calc(100vw - 24px); height: auto; max-height: calc(100svh - 96px); border-radius: 10px; }
.foto-dialogo__bt { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(245, 242, 247, .28); border-radius: 50%; background: rgba(11, 4, 20, .7); color: var(--claro); cursor: pointer; transition: background-color .2s, color .2s; }
.foto-dialogo__bt:hover { background: var(--acao); color: var(--c-noite); }
.foto-dialogo form { position: fixed; z-index: 1; top: 12px; right: 12px; }
.foto-dialogo__barra { grid-row: 2; display: flex; align-items: center; gap: 18px; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); }
.foto-dialogo__barra p { min-width: 72px; font-size: 14px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.cartao-dialogo { width: min(420px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 18px; border: 0; border-radius: 24px; background: var(--noite-2); color: var(--cinza); }
.cartao-dialogo::backdrop { background: rgba(5, 2, 10, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cartao-dialogo__fechar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.cartao-dialogo canvas { width: auto; height: auto; max-width: 100%; max-height: 58svh; margin: 0 auto; border-radius: 12px; }
.cartao-dialogo__acoes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 14px; }
.cartao-dialogo p { margin-top: 12px; font-size: 13px; }
.consentimento { position: fixed; z-index: 60; left: 16px; bottom: 16px; max-width: 420px; padding: 20px; border-radius: 20px; background: var(--noite-2); font-size: 14px; color: var(--cinza); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.consentimento .acoes { margin-top: 14px; }
.consentimento a { color: var(--claro); text-underline-offset: 3px; }

/* ---------- Movimento reduzido ---------- */
.rm *, .rm *::before, .rm *::after { animation: none !important; transition-duration: .01ms !important; }
