/* =========================================================
   Revisão de Véspera — Exame CFC 2026.3
   Conceito: a noite de véspera vira amanhecer conforme a
   pessoa desce a página, até o "sol" da chamada final.
   ========================================================= */

@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --orbita { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

:root {
  --azul: #102850;
  --azul-medio: #183c77;
  --noite: #0b1124;
  --noite-funda: #070b18;
  --laranja: #ff9933;
  --laranja-cta: #fe9832;
  --laranja-forte: #ff8000;
  --laranja-borda: #f27900;
  --branco: #f1f1f2;
  --texto: #e9edf5;
  --texto-suave: #b9c4da;
  --texto-fraco: #8696b5;
  --linha: rgba(255, 255, 255, 0.1);
  --vidro: rgba(255, 255, 255, 0.04);
  --gradiente-laranja: linear-gradient(180deg, #ffc072 0%, #ff9933 45%, #ff8000 100%);
  --gradiente-cta: linear-gradient(90deg, #fe9832, #ff8000);
  --fonte-titulo: "Sora", "Montserrat", system-ui, sans-serif;
  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio: 22px;
  --conteiner: 1180px;
  --margem: clamp(16px, 4vw, 32px);
  --secao: clamp(56px, 7vw, 96px);
  --topo-altura: 72px;
  --p: 0;        /* progresso da página, 0 a 1 (JS) */
  --nascer: 0;   /* nascer do sol na chamada final, 0 a 1 (JS) */
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-altura) + 8px);
  -webkit-text-size-adjust: 100%;
  background: var(--noite);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  /* sem fundo próprio: o fundo do body cobriria a camada fixa .ceu */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
html.modal-aberto { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
strong { font-weight: 700; color: #fff; }
::selection { background: var(--laranja); color: var(--azul); }

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 8px;
}

.conteiner {
  width: 100%;
  max-width: calc(var(--conteiner) + var(--margem) * 2);
  margin-inline: auto;
  padding-inline: var(--margem);
}

/* ---------- Céu fixo ---------- */
.ceu {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ceu > div { position: absolute; inset: 0; }

.ceu__noite {
  background:
    radial-gradient(120% 70% at 50% -10%, #1b3466 0%, transparent 60%),
    linear-gradient(180deg, var(--noite-funda) 0%, #0c1530 55%, #112653 100%);
}

.ceu__estrelas {
  opacity: calc(1 - var(--p) * 0.85);
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.8), transparent),
    radial-gradient(1.4px 1.4px at 210px 160px, #fff, transparent),
    radial-gradient(1px 1px at 60px 210px, rgba(255,255,255,.7), transparent),
    radial-gradient(1.2px 1.2px at 260px 40px, rgba(255,224,180,.9), transparent),
    radial-gradient(1px 1px at 160px 250px, rgba(255,255,255,.6), transparent);
  background-size: 300px 300px;
}
.ceu__estrelas--b,
.ceu__aurora { will-change: opacity, transform; }
.ceu__estrelas--b {
  background-size: 470px 470px;
  background-position: 130px 90px;
  animation: cintilar 5s ease-in-out infinite alternate;
}

.ceu__aurora {
  opacity: calc(1 - var(--p));
  background:
    radial-gradient(40% 35% at 15% 20%, rgba(24, 60, 119, 0.75), transparent 70%),
    radial-gradient(35% 30% at 85% 35%, rgba(255, 153, 51, 0.13), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}

.ceu__amanhecer {
  opacity: var(--p);
  background:
    radial-gradient(90% 55% at 50% 115%, rgba(255, 140, 30, 0.6), transparent 70%),
    linear-gradient(0deg, rgba(255, 128, 0, 0.32) 0%, rgba(255, 153, 51, 0.12) 30%, transparent 65%);
}

.ceu__grao {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes cintilar { from { opacity: .25; } to { opacity: 1; } }
@keyframes aurora {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* ---------- Botões ---------- */
.botao {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--fonte);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.botao svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.botao:hover svg { transform: translateX(4px); }
.botao:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); }

.botao--principal {
  color: var(--azul);
  background: var(--gradiente-cta);
  box-shadow:
    inset 0 0 0 2px var(--laranja-borda),
    inset 0 1px 0 2px rgba(255, 255, 255, .35),
    0 12px 32px -10px rgba(254, 152, 50, .75);
  overflow: hidden;
  isolation: isolate;
}
.botao--principal::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -40%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: brilho-botao 4.5s ease-in-out infinite;
  z-index: -1;
}
.botao--principal:hover { box-shadow: inset 0 0 0 2px var(--laranja-borda), inset 0 1px 0 2px rgba(255,255,255,.35), 0 18px 44px -10px rgba(254,152,50,.95); }
@keyframes brilho-botao {
  0%, 62% { left: -40%; }
  100% { left: 130%; }
}

.botao--fantasma {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22);
}
.botao--fantasma:hover { box-shadow: inset 0 0 0 1.5px var(--laranja); color: var(--laranja); }

.botao--contorno {
  color: var(--laranja);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--laranja);
}
.botao--contorno:hover { background: var(--laranja); color: var(--azul); }

.botao--mini { padding: 10px 18px; font-size: 12.5px; }
.botao--grande { padding: 20px 40px; font-size: clamp(15px, 1.6vw, 18px); }

/* ---------- Tipografia comum ---------- */
.destaque-laranja {
  position: relative;
  font-style: normal;
  background: var(--gradiente-laranja);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--laranja);
}
.sobretitulo::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--laranja);
}

.titulo-secao {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: #fff;
  text-wrap: balance;
}

.cabeca-centro {
  max-width: 780px;
  margin: 0 auto clamp(32px, 4.5vw, 52px);
  text-align: center;
}
.cabeca-centro .sobretitulo::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--laranja);
}
.cabeca-centro__texto {
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--texto-suave);
  text-wrap: pretty;
}

/* ---------- Revelação ao rolar ---------- */
html:not(.sem-js) .revelar {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--atraso, 0s);
}
html:not(.sem-js) .revelar.visivel { opacity: 1; transform: none; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.topo__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--topo-altura);
  max-width: calc(var(--conteiner) + var(--margem) * 2);
  margin-inline: auto;
  padding-inline: var(--margem);
}
.topo.rolado {
  background: rgba(9, 14, 30, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--linha);
}
.topo__logo img { width: auto; height: 34px; }
.topo__acoes { display: flex; align-items: center; gap: 18px; }
.topo__link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--texto-suave);
  transition: color .2s;
}
.topo__link:hover { color: var(--laranja); }
.topo__cta {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.topo.mostrar-cta .topo__cta { opacity: 1; transform: none; pointer-events: auto; }
.topo__progresso { height: 2px; }
.topo__progresso span {
  display: block;
  height: 100%;
  background: var(--gradiente-cta);
  transform-origin: left;
  transform: scaleX(var(--p));
}

/* ---------- Abertura ---------- */
.abertura {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--topo-altura) + 28px) 0 44px;
  overflow: clip;
  isolation: isolate;
}
@media (min-width: 960px) {
  .abertura { min-height: min(100svh, 940px); padding-bottom: 64px; }
}

.abertura__holofote {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--hx, 30%) var(--hy, 40%), rgba(255, 153, 51, .11), transparent 60%);
  transition: background-position .2s;
}

/* chão em perspectiva: o horizonte onde o sol vai nascer */
.abertura__horizonte {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -2px;
  height: 46%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 153, 51, .28) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 153, 51, .22) 1.5px, transparent 1.5px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: chao 4s linear infinite;
  opacity: .55;
}
@keyframes chao { to { background-position: 0 64px, 0 0; } }

.abertura__grade {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.selo__pulso {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d3a;
}
.selo__pulso::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ff4d3a;
  animation: pulso 1.8s ease-out infinite;
}
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(3); opacity: 0; } }

.abertura__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(46px, 6.7vw, 100px);
  line-height: .94;
  letter-spacing: -0.045em;
  color: #fff;
}
.linha { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.linha__in { display: inline-block; white-space: nowrap; }
html:not(.sem-js) .linha__in { transform: translate3d(0, 110%, 0); transition: transform 1s cubic-bezier(.16,1,.3,1); }
html:not(.sem-js) .linha:nth-child(2) .linha__in { transition-delay: .12s; }
html.carregado .linha__in { transform: none; }

.rabisco {
  position: absolute;
  left: 0;
  bottom: -.1em;
  width: 100%;
  height: .2em;
  overflow: visible;
}
.rabisco path {
  fill: none;
  stroke: var(--laranja);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1) .75s;
}
html.carregado .rabisco path, html.sem-js .rabisco path { stroke-dashoffset: 0; }

.abertura__apoio {
  max-width: 520px;
  margin-top: 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--texto-suave);
}

.numeros {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.numeros__item {
  display: flex;
  flex-direction: column;
  padding: 2px 22px;
  border-left: 1px solid var(--linha);
}
.numeros__item:first-child { padding-left: 0; border-left: 0; }
.numeros__item strong {
  font-family: var(--fonte-titulo);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--laranja);
  white-space: nowrap;
}
.numeros__item span { max-width: 150px; font-size: 13px; line-height: 1.35; color: var(--texto-fraco); font-weight: 600; }

.abertura__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* visual: professores no portal */
.abertura__visual {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 782 / 800;
}
.portal {
  position: absolute;
  inset: 4% 3% 14%;
  translate: calc(var(--dx, 0) * -18px) calc(var(--dy, 0) * -14px);
  transition: translate .6s cubic-bezier(.2,.8,.2,1);
}
.portal > div { position: absolute; inset: 0; border-radius: 50%; }
.portal__sol {
  background: radial-gradient(circle at 50% 45%, rgba(255, 170, 80, .55), rgba(255, 128, 0, .22) 38%, transparent 68%);
  animation: respirar 6s ease-in-out infinite;
}
.portal__anel {
  --giro: 0deg;
  background: conic-gradient(from var(--giro), transparent 0deg 220deg, rgba(255,153,51,.15) 260deg, #ff9933 330deg, #fff 345deg, transparent 352deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: girar 7s linear infinite;
}
.portal__anel--fino {
  inset: -5% !important;
  background: none;
  -webkit-mask: none;
  mask: none;
  border: 1px dashed rgba(255, 255, 255, .14);
  animation: girar-simples 60s linear infinite reverse;
}
@keyframes girar { to { --giro: 360deg; } }
@keyframes girar-simples { to { transform: rotate(360deg); } }
@keyframes respirar { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }

.abertura__professores {
  position: relative;
  z-index: 2;
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
}
html:not(.sem-js) .abertura__professores { opacity: 0; transform: translate3d(0, 30px, 0) scale(.96); transition: opacity 1.2s ease .2s, transform 1.4s cubic-bezier(.16,1,.3,1) .2s; }
html.carregado .abertura__professores { opacity: 1; transform: none; }

/* assuntos orbitando o grupo, com profundidade */
.orbita {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
  animation: orbitar 28s linear infinite;
}
@keyframes orbitar { to { --orbita: 360deg; } }
.orbita li {
  --a: calc(var(--orbita) + var(--i) * 60deg);
  position: absolute;
  left: 50%;
  top: 62%;
  z-index: calc(1 + round(sin(var(--a)) + 1)); /* atrás da foto quando está no fundo da órbita */
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--azul);
  background: linear-gradient(180deg, #ffd29a, #ff9933);
  box-shadow: 0 8px 20px -8px rgba(255, 128, 0, .8);
  /* a órbita não pode ter transform próprio: criaria um contexto de empilhamento e anularia o z-index */
  translate: calc(-50% + cos(var(--a)) * 45cqw + var(--dx, 0) * 16px) calc(-50% + sin(var(--a)) * 8cqw + var(--dy, 0) * 10px);
  scale: calc(.78 + (sin(var(--a)) + 1) * .14);
  opacity: calc(.35 + (sin(var(--a)) + 1) * .325);
}
.orbita li:nth-child(even) { color: #fff; background: rgba(16, 40, 80, .85); box-shadow: inset 0 0 0 1px rgba(255,153,51,.6), 0 8px 20px -10px #000; }

.relogio-cartao {
  position: absolute;
  z-index: 4;
  left: -6%;
  bottom: 0;
  padding: 12px 16px 12px;
  border-radius: 18px;
  background: rgba(9, 15, 34, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -20px #000;
}
.relogio-cartao__rotulo,
.relogio-cartao__pe {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--laranja);
}
.relogio-cartao__rotulo { margin-bottom: 8px; }
.relogio-cartao__pe { margin-top: 8px; color: var(--texto-fraco); letter-spacing: .08em; }

.rolar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
}
.rolar span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--laranja);
  animation: rolar 1.8s ease-in-out infinite;
}
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

/* ---------- Relógio com placas que viram ---------- */
.relogio {
  --h: 46px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.relogio__grupo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.relogio__digitos { display: flex; gap: 3px; }
.relogio__legenda { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-fraco); }
.relogio__sep {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: calc(var(--h) * .6);
  line-height: var(--h);
  color: var(--laranja);
  animation: piscar 1s steps(1) infinite;
}
@keyframes piscar { 50% { opacity: .3; } }

.flip {
  position: relative;
  width: calc(var(--h) * .7);
  height: var(--h);
  perspective: calc(var(--h) * 5);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: calc(var(--h) * .72);
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.flip__m {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  text-align: center;
  line-height: var(--h);
  backface-visibility: hidden;
}
.flip__m--topo {
  top: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #243a6b, #1a2d57);
  transform-origin: 50% 100%;
}
.flip__m--base {
  bottom: 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #15264b, #11203f);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, .45);
  transform-origin: 50% 0;
}
.flip__m--base > span { display: block; margin-top: calc(var(--h) * -.5); }
.flip__m--folha-topo, .flip__m--folha-base { z-index: 2; }
.flip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 20px -12px #000;
  pointer-events: none;
}

.relogio--grande {
  --h: clamp(58px, 11vw, 118px);
  justify-content: center;
  gap: clamp(6px, 1.4vw, 16px);
  margin: 6px auto 0;
}
.relogio--grande .relogio__digitos { gap: clamp(3px, .5vw, 6px); }
.relogio--grande .relogio__legenda { font-size: clamp(10px, 1.1vw, 13px); }
.relogio--grande .flip__m--topo { border-radius: 14px 14px 0 0; }
.relogio--grande .flip__m--base { border-radius: 0 0 14px 14px; }
.relogio--grande .flip::after { border-radius: 14px; }

/* ---------- Faixas de assuntos ---------- */
.faixas {
  position: relative;
  height: clamp(110px, 12vw, 150px);
  margin-top: -20px;
  overflow: clip;
}
.faixa {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  padding: 14px 0;
  overflow: hidden;
}
.faixa--laranja {
  z-index: 2;
  background: var(--gradiente-cta);
  color: var(--azul);
  transform: translateY(-50%) rotate(-2.2deg);
  box-shadow: 0 18px 40px -18px rgba(255, 128, 0, .7);
}
.faixa--azul {
  background: var(--azul-medio);
  color: #fff;
  transform: translateY(-50%) rotate(1.6deg);
  opacity: .9;
}
.faixa__trilho {
  display: flex;
  width: max-content;
  animation: faixa 46s linear infinite;
}
.faixa__trilho--reverso { animation-direction: reverse; animation-duration: 60s; }
.faixa__trilho span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(15px, 1.7vw, 21px);
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.faixa__trilho span::after { content: "✦"; font-size: .8em; opacity: .7; }
@keyframes faixa { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- É o momento ---------- */
.momento { padding: var(--secao) 0 0; }
.momento__grade {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.momento__cabeca { position: sticky; top: calc(var(--topo-altura) + 32px); }
.momento__texto { margin-top: 18px; font-size: 17px; color: var(--texto-suave); max-width: 460px; }

.placar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: var(--vidro);
  box-shadow: inset 0 0 0 1px var(--linha);
  width: fit-content;
  max-width: 100%;
}
.placar__medidor { position: relative; width: 44px; height: 44px; flex: none; }
.placar__medidor svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.placar__medidor circle { fill: none; stroke-width: 3.5; }
.placar__trilha { stroke: rgba(255, 255, 255, .12); }
.placar__valor {
  stroke: var(--laranja);
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  stroke-dashoffset: calc(119.4 - 119.4 * var(--marcados, 0) / 4);
  transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1);
}
.placar__medidor b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--fonte-titulo);
  font-size: 15px;
  color: #fff;
}
.placar p { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--texto-suave); }
.placar p strong { color: var(--laranja); }

.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.brilho-ponteiro { position: relative; isolation: isolate; }
.brilho-ponteiro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 50%), rgba(255, 153, 51, .14), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.brilho-ponteiro:hover::before { opacity: 1; }

.item-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 22px 22px 24px;
  border: 0;
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--linha);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .3s, box-shadow .3s;
}
.item-check:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px rgba(255, 153, 51, .4); }
.item-check__num {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 153, 51, .75);
  transition: color .3s;
}
.item-check__texto { font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; line-height: 1.4; color: #fff; }
.item-check__caixa {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
  transition: background-color .3s, box-shadow .3s, transform .4s cubic-bezier(.3,1.6,.5,1);
}
.item-check__caixa svg { width: 20px; height: 20px; }
.item-check__caixa path {
  fill: none;
  stroke: var(--azul);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .4s ease .1s;
}
.item-check[aria-pressed="true"] { background: rgba(255, 153, 51, .1); box-shadow: inset 0 0 0 1.5px var(--laranja); }
.item-check[aria-pressed="true"] .item-check__num { color: var(--laranja); }
.item-check[aria-pressed="true"] .item-check__caixa { background: var(--laranja); box-shadow: 0 0 0 6px rgba(255, 153, 51, .18); transform: scale(1.08); }
.item-check[aria-pressed="true"] .item-check__caixa path { stroke-dashoffset: 0; }

/* ---------- Cronograma ---------- */
.cronograma { padding: var(--secao) 0 0; }
.trilha { position: relative; --trilha: 0; }
.trilha__linha {
  position: absolute;
  top: 10px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: rgba(255, 255, 255, .12);
}
.trilha__linha span {
  display: block;
  height: 100%;
  background: var(--gradiente-cta);
  box-shadow: 0 0 14px rgba(255, 153, 51, .8);
  transform-origin: left;
  transform: scaleX(var(--trilha));
}
.trilha__lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trilha__item { display: flex; flex-direction: column; align-items: center; }
.marco {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--noite);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
  transition: box-shadow .5s, background-color .5s;
}
.trilha__item.aceso .marco { background: var(--laranja); box-shadow: 0 0 0 6px rgba(255, 153, 51, .2), 0 0 22px rgba(255, 153, 51, .9); }
.trilha__item.proximo .marco::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--laranja);
  animation: pulso 2s ease-out infinite;
}

.bilhete {
  --corte: 58%;
  --rx: 0deg; --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: var(--raio);
  background: linear-gradient(160deg, rgba(31, 66, 128, .62), rgba(12, 21, 46, .82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  -webkit-mask:
    radial-gradient(circle 13px at 0 var(--corte), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% var(--corte), #0000 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 var(--corte), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% var(--corte), #0000 97%, #000) right / 51% 100% no-repeat;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.bilhete__cima {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: var(--corte);
  padding: 24px 24px 20px;
}
.bilhete__logo { width: auto; height: 62px; object-fit: contain; object-position: left; }
.bilhete__data { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; }
.bilhete__dia {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: .9;
  letter-spacing: -.04em;
  background: var(--gradiente-laranja);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bilhete__dia--breve { font-size: clamp(30px, 3vw, 38px); line-height: 1; color: rgba(255,255,255,.55); background: none; -webkit-text-fill-color: rgba(255,255,255,.55); }
.bilhete__mes { padding-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); line-height: 1.3; }
.bilhete__baixo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 24px 24px;
}
.bilhete__baixo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  border-top: 2px dashed rgba(255, 255, 255, .16);
}
.bilhete__hora {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--laranja);
  background: rgba(255, 153, 51, .1);
}
.bilhete__hora svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.bilhete__hora--breve { color: var(--texto-suave); background: rgba(255, 255, 255, .06); }
.bilhete__desc { font-size: 15.5px; line-height: 1.5; color: var(--texto); }

/* grade da revisão */
.grade {
  margin-top: clamp(18px, 2.4vw, 26px);
  border-radius: var(--raio);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--linha);
  overflow: hidden;
}
.grade__breve {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 28px;
  padding: clamp(22px, 3vw, 32px);
}
.grade__icone {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,51,.22), rgba(255,153,51,.05));
  box-shadow: inset 0 0 0 2px rgba(255, 153, 51, .6);
}
.grade__icone::before,
.grade__icone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--laranja);
  transform-origin: 50% 100%;
}
.grade__icone::before { height: 20px; animation: girar-simples 3s linear infinite; }
.grade__icone::after { height: 13px; animation: girar-simples 36s linear infinite; }
.grade__breve h3 { font-family: var(--fonte-titulo); font-size: clamp(20px, 2vw, 24px); font-weight: 800; color: #fff; letter-spacing: -.015em; line-height: 1.2; }
.grade__breve p { margin-top: 6px; color: var(--texto-suave); font-size: 15.5px; }
.grade__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.grade__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--texto);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  animation: varrer 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * .3s);
}
@keyframes varrer {
  0%, 12%, 100% { background: rgba(255, 255, 255, .05); color: var(--texto); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
  5% { background: rgba(255, 153, 51, .2); color: #fff; box-shadow: inset 0 0 0 1px var(--laranja), 0 0 18px rgba(255,153,51,.35); }
}

.grade__titulo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 22px clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--linha);
}
.grade__titulo h3 { font-family: var(--fonte-titulo); font-size: 20px; font-weight: 800; color: #fff; }
.grade__titulo p { font-size: 14px; color: var(--texto-suave); }
.grade__lista {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: clamp(16px, 2.2vw, 24px);
  list-style: none;
  counter-reset: aula;
}
.grade__aula {
  counter-increment: aula;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background-color .3s, box-shadow .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.grade__aula:hover { background: rgba(255, 153, 51, .07); box-shadow: inset 0 0 0 1px rgba(255, 153, 51, .45); transform: translateY(-3px); }
.grade__aula::after {
  content: counter(aula, decimal-leading-zero);
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  pointer-events: none;
}
.grade__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.grade__hora { font-family: var(--fonte-titulo); font-weight: 700; font-size: 15px; color: var(--laranja); font-variant-numeric: tabular-nums; }
.grade__dur {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, .06);
}
.grade__tema { font-size: 16.5px; font-weight: 700; line-height: 1.3; color: #fff; padding-right: 44px; }
.grade__prof { font-size: 14px; font-weight: 500; color: var(--texto-suave); }
/* barra proporcional à duração da aula (a mais longa enche a barra) */
.grade__barra {
  height: 3px;
  margin-top: 12px;
  margin-right: 48px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.grade__barra span {
  display: block;
  height: 100%;
  width: calc(var(--dur) * 100%);
  border-radius: inherit;
  background: var(--gradiente-cta);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i) * 70ms + .2s);
}
.grade.visivel .grade__barra span, html.sem-js .grade__barra span { transform: none; }
.grade__nota {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 clamp(16px, 2.2vw, 24px) clamp(16px, 2.2vw, 22px);
  font-size: 13.5px;
  color: var(--texto-suave);
}
.grade__nota svg { flex: none; margin-top: 2px; width: 16px; height: 16px; fill: none; stroke: var(--laranja); stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Planos ---------- */
.planos { padding: var(--secao) 0 0; }
.planos__grade {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(16px, 2.4vw, 26px);
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.plano {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 26px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.plano__tipo { font-size: 13.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-suave); }
.plano__de { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--texto-fraco); }
.plano__de s { position: relative; text-decoration: none; }
.plano__de s::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 52%;
  height: 2px;
  border-radius: 2px;
  background: #ff5b45;
  transform: rotate(-8deg) scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.6,0,.2,1) .4s;
}
.plano.visivel .plano__de s::after, html.sem-js .plano__de s::after { transform: rotate(-8deg) scaleX(1); }
.plano__preco {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--fonte-titulo);
  color: #fff;
  line-height: 1;
}
.plano__preco small { font-family: var(--fonte); font-size: 14px; font-weight: 600; color: var(--texto-fraco); }
.plano__moeda { font-size: 22px; font-weight: 700; opacity: .75; }
.plano__preco b { font-size: clamp(46px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.beneficios { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.beneficios li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}
.beneficios svg { width: 24px; height: 24px; }
.beneficios .inativo { color: rgba(255, 255, 255, .35); }
.beneficios .exclusivo span b {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  vertical-align: 2px;
  color: var(--azul);
  background: var(--laranja);
}

.plano__decisivo {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--texto);
  background: rgba(255, 153, 51, .1);
  box-shadow: inset 3px 0 0 var(--laranja);
}
.plano__botao { width: 100%; margin-top: auto; }
.plano__decisivo--neutro {
  margin-top: auto;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .28);
}
.plano__decisivo--neutro + .plano__botao { margin-top: 0; }

.plano--vip {
  background: linear-gradient(165deg, #1d3d78 0%, #122452 55%, #0d1a3c 100%);
  box-shadow: 0 40px 90px -40px rgba(255, 128, 0, .55);
}
.plano--vip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--giro), rgba(255,153,51,.25) 0deg, rgba(255,153,51,.25) 200deg, #ff9933 280deg, #fff 300deg, #ff9933 320deg, rgba(255,153,51,.25) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: girar 5s linear infinite;
}
.plano--vip { isolation: isolate; }
.plano__fita {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul);
  background: var(--gradiente-cta);
  box-shadow: 0 8px 20px -8px rgba(255, 128, 0, .9);
}

.aviso-aluno {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 26px;
  font-size: 14.5px;
  text-align: center;
  color: var(--texto-suave);
}
.aviso-aluno svg { width: 22px; height: 22px; fill: none; stroke: var(--laranja); stroke-width: 2; stroke-linejoin: round; }
.aviso-aluno a { font-weight: 700; color: var(--laranja); text-underline-offset: 3px; }

/* ---------- Recursos ---------- */
.recursos { padding: var(--secao) 0 0; }
.recursos__grade {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.recursos__visual { position: relative; max-width: 470px; justify-self: center; width: 100%; }
.recursos__visual img {
  position: relative;
  width: 100%;
  transform: rotate(var(--giro-lupa, -4deg)) translate3d(0, var(--sobe-lupa, 0px), 0);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  transition: transform .2s linear;
}
.recursos__brilho {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 51, .4), transparent 65%);
  animation: respirar 5s ease-in-out infinite;
}
.recursos__texto > p:not(.sobretitulo):not(.recursos__frase) { margin-top: 18px; font-size: 17px; color: var(--texto-suave); max-width: 560px; }
.recursos__frase {
  margin-top: 18px;
  font-family: var(--fonte-titulo);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--laranja);
}
.atencao {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 28px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 153, 51, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 153, 51, .35);
  max-width: 560px;
}
.atencao p { font-size: 15px; line-height: 1.45; color: var(--texto); }
.atencao__icone {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  color: var(--azul);
  background: var(--laranja);
}
.atencao__icone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--laranja);
  animation: pulso 2.2s ease-out infinite;
}

/* ---------- Chamada final ---------- */
.final {
  position: relative;
  padding-top: var(--secao);
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
.final__sol {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: min(900px, 150vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe2b0 0%, #ffb35c 18%, #ff8a1f 34%, rgba(255, 128, 0, .35) 52%, transparent 70%);
  transform: translate3d(-50%, calc(72% - var(--nascer) * 30%), 0);
  opacity: calc(.35 + var(--nascer) * .65);
}
.final__chao {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: 0;
  height: 230px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 226, 176, .45) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 226, 176, .35) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  transform: perspective(380px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 90%);
  mask-image: linear-gradient(to top, #000, transparent 90%);
  animation: chao 3s linear infinite;
  opacity: .5;
}
.final__conteudo { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__conteudo .sobretitulo::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--laranja); }
.final__rotulo { margin-top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-suave); }
.final .titulo-secao { max-width: 860px; margin-top: clamp(30px, 4vw, 44px); }
.final__texto { margin-top: 16px; font-size: 18px; color: var(--texto); }
.final .botao { margin-top: 28px; }

.rodape {
  position: relative;
  margin-top: clamp(64px, 8vw, 104px);
  padding: 24px var(--margem) calc(24px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: #fff;
  background: rgba(7, 11, 24, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .12);
}
.rodape__hashtag { margin-bottom: 4px; font-family: var(--fonte-titulo); font-weight: 800; font-size: 18px; }

/* ---------- Barra do celular ---------- */
.barra-celular {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  background: rgba(9, 15, 34, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px -12px #000;
  transform: translateY(140%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.barra-celular b { display: block; font-family: var(--fonte-titulo); font-size: 14px; color: #fff; line-height: 1.2; }
.barra-celular span { font-size: 12px; color: var(--texto-suave); }
.barra-celular.mostrar { transform: none; }

/* ---------- Modal de cadastro ---------- */
.modal {
  width: min(460px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--texto);
  background: transparent;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(4, 7, 17, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal[open] .modal__caixa { animation: modal-entrar .45s cubic-bezier(.2,.9,.25,1.1); }
.modal[open]::backdrop { animation: aparecer .3s ease; }
@keyframes modal-entrar { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes aparecer { from { opacity: 0; } }
.modal__caixa {
  position: relative;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 30px clamp(20px, 5vw, 30px) 26px;
  border-radius: 24px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 153, 51, .14), transparent 60%),
    linear-gradient(170deg, #172c5e, #0c1733);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -30px #000;
}
.modal__fechar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
  transition: background-color .2s, transform .3s;
}
.modal__fechar:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }
.modal__fechar svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.modal__logo { width: 140px; margin-bottom: 18px; }
.modal__evento { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--laranja); }
.modal__titulo { margin-top: 6px; font-family: var(--fonte-titulo); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.modal__titulo:focus { outline: none; }
.modal__preco { margin-top: 4px; font-size: 15px; color: var(--texto-suave); }
.modal__preco b { font-family: var(--fonte-titulo); font-size: 20px; color: var(--laranja); }
.modal__apoio { margin-top: 10px; font-size: 15px; color: var(--texto-suave); }

.formulario { display: grid; gap: 12px; margin-top: 20px; }
.campo { position: relative; }
.campo input {
  width: 100%;
  height: 58px;
  padding: 22px 16px 6px;
  border: 0;
  border-radius: 14px;
  font: 600 16px/1.2 var(--fonte);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  outline: none;
  transition: box-shadow .2s, background-color .2s;
}
.campo input:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .26); }
.campo input:focus { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 2px var(--laranja), 0 0 0 4px rgba(255, 153, 51, .16); }
.campo label {
  position: absolute;
  left: 17px;
  top: 19px;
  font-size: 15px;
  font-weight: 600;
  color: var(--texto-fraco);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s, color .2s, top .2s;
}
.campo input:focus + label,
.campo input:not(:placeholder-shown) + label { top: 9px; transform: scale(.76); color: var(--laranja); font-weight: 800; letter-spacing: .04em; }
.campo__erro { display: none; margin: 6px 4px 0; font-size: 12.5px; font-weight: 600; color: #ff8f7f; }
.campo.invalido input { box-shadow: inset 0 0 0 2px #ff6b57; }
.campo.invalido .campo__erro { display: block; }
.campo.invalido { animation: tremer .35s; }
@keyframes tremer { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.campo-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulario__enviar { width: 100%; margin-top: 6px; padding-block: 18px; }
.girador { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(16, 40, 80, .3); border-top-color: var(--azul); animation: girar-simples .7s linear infinite; }
.formulario__enviar.carregando { pointer-events: none; }
.formulario__enviar.carregando .girador { display: inline-block; }
.formulario__falha:empty { display: none; }
.formulario__falha { font-size: 13.5px; font-weight: 600; color: #ff8f7f; text-align: center; }
.formulario__seguro { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--texto-fraco); }
.formulario__seguro svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.sucesso { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
.sucesso .botao { margin-top: 22px; }
.sucesso .botao svg { width: 18px; height: 18px; }
.sucesso .botao:hover svg { transform: none; }
.sucesso__marca { width: 84px; height: 84px; margin-bottom: 16px; }
.sucesso__marca svg { width: 100%; height: 100%; fill: none; stroke: var(--laranja); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sucesso__marca circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: desenhar .7s ease forwards; }
.sucesso__marca path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: desenhar .45s ease .55s forwards; }
@keyframes desenhar { to { stroke-dashoffset: 0; } }

.confete {
  position: fixed;
  z-index: 100;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  padding: 14px 14px 14px 18px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--texto-suave);
  background: rgba(9, 15, 34, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px -16px #000;
  animation: modal-entrar .5s cubic-bezier(.2,.9,.25,1.1);
}
.cookies[hidden] { display: none; }
.cookies .botao { flex: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 959px) {
  :root { --topo-altura: 64px; }
  .abertura__grade { grid-template-columns: 1fr; }
  .abertura__texto { text-align: left; }
  .abertura__visual { max-width: 470px; margin: 8px auto 0; }
  .relogio-cartao { left: 50%; bottom: 0; transform: translateX(-50%); }
  .rolar { display: none; }
  .momento__grade { grid-template-columns: 1fr; }
  .momento__cabeca { position: static; }
  .recursos__grade { grid-template-columns: 1fr; }
  .recursos__visual { max-width: 340px; }
  .planos__grade { grid-template-columns: 1fr; max-width: 560px; }
  .plano--vip { order: -1; }

  /* cronograma vira linha vertical */
  .trilha__linha { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; }
  .trilha__linha span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--trilha)); }
  .trilha__lista { grid-template-columns: 1fr; gap: 16px; }
  .trilha__item { flex-direction: row; align-items: flex-start; gap: 16px; }
  .marco { flex: none; margin: 26px 0 0; }
  .bilhete { --corte: 52%; }
  .grade__lista { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 759px) {
  .topo__link { font-size: 13px; }
  .topo__cta { display: none; }
  .topo__logo img { height: 28px; }
  .numeros { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .numeros__item { padding: 0 12px; }
  .numeros__item span { font-size: 12px; }
  .abertura__ctas .botao { flex: 1 1 100%; }
  .orbita li { font-size: 10.5px; padding: 6px 10px; }
  .relogio { --h: 40px; gap: 4px; }
  .relogio--grande { --h: 50px; gap: 6px; }
  .botao--grande { padding: 18px 22px; font-size: 14.5px; letter-spacing: .02em; }
  .selo { font-size: 10.5px; letter-spacing: .08em; white-space: nowrap; margin-bottom: 18px; }
  .cookies { font-size: 12.5px; padding: 12px 12px 12px 14px; }
  .relogio-cartao { padding: 10px 12px; }
  .faixas { margin-top: 0; }
  .item-check { padding: 18px 16px; gap: 14px; }
  .item-check__num { font-size: 24px; }
  .grade__breve { grid-template-columns: 1fr; }
  .grade__lista { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .grade__aula { padding: 14px 16px 16px; }
  .grade__aula::after { font-size: 28px; }
  .barra-celular { display: flex; }
  .cookies { left: 10px; right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); max-width: none; }
  .bilhete__cima { padding: 20px 20px 18px; gap: 14px; }
  .bilhete__baixo { padding: 18px 20px 20px; }
  .bilhete__logo { height: 52px; }
}

@media (max-width: 380px) {
  .numeros__item strong { font-size: 20px; }
  .relogio { --h: 36px; }
  .relogio--grande { --h: 44px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .orbita { animation: none; }
  html:not(.sem-js) .revelar { opacity: 1; transform: none; }
}

/* animações contínuas param fora da tela (classe colocada pelo JS) */
.pausado, .pausado *, .pausado *::before, .pausado *::after { animation-play-state: paused !important; }
