/* Revise Cards — página inicial animada (hero 3D + rolagem contínua).
   Só a index.html carrega este arquivo; as outras páginas seguem com estilo.css. */

:root {
  --noite: #030a18;          /* fundo da hero, um azul-marinho quase preto */
  --noite-2: #061733;
  --ouro-vivo: #e3bd62;      /* dourado claro, legível no escuro */
}
body.inicio { background: var(--noite); }
body.inicio a { text-decoration: none; }

/* ================================================================
   HERO — palco fixo dentro de um trilho alto (rolagem conduz a cena)
   ================================================================ */
.trilho { position: relative; height: 140vh; background: var(--noite); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--noite); color: #fff; }
.canvas {
  position: absolute; left: 50%; top: 0; width: 1172px; height: 657px;
  transform: translateX(-50%) scale(var(--k, 1)); transform-origin: 50% 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.canvas > * { position: absolute; }
.stack { position: absolute; inset: 0; z-index: 300; }
.stack > * { position: absolute; }
.navmenu { display: contents; }
.burger { display: none; }

.bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(184, 144, 47, .10), rgba(184, 144, 47, 0) 70%),
    linear-gradient(180deg, rgba(40, 90, 170, 0) 36%, rgba(40, 90, 170, .07) 58%, rgba(40, 90, 170, .05) 100%),
    var(--noite);
}
.stars { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; background: #fff; }

/* ---------- menu em pílula ---------- */
.nav {
  left: 247px; top: 3px; width: 678px; height: 64px; border-radius: 32px; z-index: 400;
  background: rgba(255, 255, 255, .012); border: 1px solid rgba(255, 255, 255, .105);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.nav .mark { position: absolute; left: 19px; top: 16px; width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(227, 189, 98, .55)); }
.wm { position: absolute; left: 56px; top: 0; white-space: nowrap; color: #fff; }
.wm .kick { position: absolute; left: 1px; top: 19px; font-size: 5px; font-weight: 700; letter-spacing: .16em; opacity: .8; line-height: 1; }
.wm .name { position: absolute; left: 0; top: 26px; transform-origin: 0 50%; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.02em; }
.wm .name b { color: var(--ouro-vivo); font-weight: 800; }
.links { position: absolute; left: 178px; top: 0; height: 62px; transform-origin: 0 50%; display: flex; align-items: center; gap: 24px; }
.links a { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .9); white-space: nowrap; transition: opacity .25s; }
.links a:hover { opacity: .65; }

/* ---------- botão com luz dourada no pé (recortada pela própria borda) ---------- */
.btn-luz {
  display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; font-family: inherit;
  background: linear-gradient(to top,
    #f6e3ac 1px, #f1d68c 2px, #ecca72 3px, #e5bc55 4px, #d8a83b 5px,
    #c3912b 6px, #b28326 7px, #a37723 8px, #8e6820 9px, #76561c 10px,
    #5f4618 12px, #553f19 13px, #493717 14px, #392c17 16px,
    #2a2318 18px, #1d1a1c 20px, #121526 24px, #0c1428 30px,
    #0b1428 34px, #0b1428 100%);
  box-shadow:
    inset 0 3px 3px -2px rgba(255, 236, 190, .10),
    inset 1px 0 0 rgba(255, 255, 255, .09), inset -1px 0 0 rgba(255, 255, 255, .09),
    var(--hair, 0 1px 0 rgba(230, 200, 130, .38)),
    1px 0 0 rgba(230, 200, 130, .17), -1px 0 0 rgba(230, 200, 130, .17),
    0 0 8px rgba(227, 189, 98, .10), 0 2px 5px -3px rgba(240, 200, 110, .45);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn-luz::before {
  content: ""; position: absolute; left: 22%; right: 38%; top: .8px; height: 1.9px; z-index: 1; filter: blur(.55px);
  background: linear-gradient(90deg, rgba(240, 205, 120, 0) 0%, rgba(240, 205, 120, .58) 34%, rgba(255, 232, 170, .74) 50%, rgba(240, 205, 120, .58) 66%, rgba(240, 205, 120, 0) 100%);
}
.btn-luz::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(255, 236, 190, .70), rgba(255, 236, 190, 0) 13px),
              linear-gradient(270deg, rgba(255, 236, 190, .70), rgba(255, 236, 190, 0) 13px);
  -webkit-mask: linear-gradient(to top, #000 0, #000 6px, rgba(0, 0, 0, .40) 12px, rgba(0, 0, 0, .15) 18px, rgba(0, 0, 0, .09) 24px, rgba(0, 0, 0, .02) 30px, rgba(0, 0, 0, .02) 100%);
          mask: linear-gradient(to top, #000 0, #000 6px, rgba(0, 0, 0, .40) 12px, rgba(0, 0, 0, .15) 18px, rgba(0, 0, 0, .09) 24px, rgba(0, 0, 0, .02) 30px, rgba(0, 0, 0, .02) 100%);
}
.btn-luz span { position: relative; z-index: 2; display: block; line-height: 1; text-shadow: 0 1px 2px rgba(20, 12, 0, .5); }
.btn-luz:hover {
  transform: translateY(-1px); filter: brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .6), inset 1px 0 0 rgba(240, 215, 160, .35),
              inset -1px 0 0 rgba(240, 215, 160, .35), 0 6px 22px rgba(200, 150, 50, .45);
}
.nav .btn-luz { position: absolute; left: 530.7px; top: 10.5px; width: 125.5px; height: 39.5px; border-radius: 14px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.cta2 { left: 526px; top: 349px; width: 121px; height: 54.5px; --hair: 0 0 0 transparent; border-radius: 13px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; z-index: 300; }
.cta2::before { display: none; }
.nav .btn-luz span, .cta2 span { position: relative; }

/* ---------- selo ---------- */
.badge {
  left: 462px; top: 95px; width: 250px; height: 39px; border-radius: 12px; z-index: 300;
  border: 1px solid rgba(255, 255, 255, .115);
  background: linear-gradient(to top, rgba(255, 228, 170, .16) 0px, rgba(255, 228, 170, .115) 2px, rgba(255, 228, 170, .068) 4px, rgba(255, 228, 170, .024) 6px, rgba(255, 255, 255, .012) 9px, rgba(255, 255, 255, .012) 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.badge i {
  position: absolute; left: 4px; top: 4px; width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(to top, #f0cf7a 0px, #e2b95a 2px, #b8902f 4px, #8c6a1f 6px, #5c4718 8px, #3a3020 10px, #22233a 12px, #121a33 14px, #0b1430 16px, #0a1129 19px, #080e22 23px, #060b1a 29px);
  box-shadow: inset 1px 0 0 rgba(250, 225, 160, .40), inset -1px 0 0 rgba(250, 225, 160, .52), 0 0 6px rgba(227, 189, 98, .20), 0 3px 8px -5px rgba(255, 215, 120, .6);
}
.badge i svg { width: 15px; height: 15px; position: relative; top: -1px; }
.badge b { position: absolute; left: 45px; transform-origin: 0 50%; top: 0; height: 39px; display: flex; align-items: center; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .94); white-space: nowrap; padding-top: 1px; }

/* ---------- título e apoio ---------- */
.h1 {
  left: 586px; transform: translateX(-50%); white-space: nowrap; line-height: 1;
  font-weight: 800; font-size: 44px; letter-spacing: -.01em; word-spacing: .12em; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 34px rgba(130, 170, 255, .2); z-index: 300; margin: 0;
}
#h1b { background: linear-gradient(180deg, #f7dc96, #d9a945 70%, #b8902f); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 22px rgba(227, 189, 98, .22)); }
.sub { left: 586px; transform: translateX(-50%); white-space: nowrap; line-height: 1; font-size: 13.2px; color: #aab3c5; z-index: 300; margin: 0; }
.sub b { font-weight: 700; color: #fff; }

/* ---------- anel 3D de flashcards ---------- */
.showcase { left: 0; top: 0; width: 1172px; height: 0; }
.ring { position: absolute; left: 0; top: 0; width: 1172px; height: 657px; z-index: 5; perspective: 891px; perspective-origin: 586px 918px; transform-style: preserve-3d; pointer-events: none; }
.card {
  position: absolute; left: 586px; top: 616px; width: 130px; height: 300px; margin: -150px 0 0 -65px;
  border-radius: 12px; overflow: hidden; background: #fff; color: #0b2447;
  box-shadow: 0 24px 46px rgba(0, 0, 0, .6), 0 3px 8px rgba(0, 0, 0, .5);
  backface-visibility: hidden; will-change: transform; font-family: "Plus Jakarta Sans", sans-serif;
}
.card .edge { position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), inset 0 16px 30px rgba(255, 255, 255, .05); }
.cv { position: absolute; left: 0; right: 0; padding: 0 11px; }
.fill { position: absolute; inset: 0; }
.c-meta { top: 16px; display: flex; justify-content: space-between; font-size: 4.6px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7a8297; }
.c-meta em { font-style: normal; color: #2a4fa8; }
.c-txt { top: 0; bottom: 0; display: flex; align-items: center; text-align: center; font-size: 10.4px; font-weight: 700; line-height: 1.38; letter-spacing: -.005em; }
.c-pe { bottom: 16px; text-align: center; font-size: 4.6px; font-weight: 600; color: #8a90a0; }
.c-ce { bottom: 16px; display: flex; gap: 5px; }
.c-ce span { flex: 1; text-align: center; padding: 5px 0; border-radius: 5px; font-size: 5px; font-weight: 800; letter-spacing: .06em; }
.c-selo { top: 30px; left: 11px; right: auto; padding: 3px 6px; border-radius: 20px; background: #fff4e5; color: #9a4a00; border: .6px solid #ffd6a8; font-size: 4.4px; font-weight: 800; letter-spacing: .06em; }
.c-big { font-weight: 800; letter-spacing: -.03em; line-height: .95; }
.c-resp { display: grid; gap: 6px; }
.c-resp span { display: flex; justify-content: space-between; align-items: center; padding: 8px 9px; border-radius: 7px; color: #fff; font-size: 6.4px; font-weight: 800; }
.c-resp span small { font-size: 5px; font-weight: 600; opacity: .9; }

/* ---------- janela do navegador com a tela de estudo ---------- */
.browser {
  position: absolute; left: 165px; top: calc(558px - var(--rise, 0px)); width: 842px; height: calc(99px + var(--fill, 0px) + var(--rise, 0px));
  border-radius: 28px 28px 0 0; overflow: hidden; z-index: 100; box-shadow: 0 -14px 44px rgba(0, 0, 0, .55);
}
.browser::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; bottom: 0; background: rgba(20, 24, 40, .82); z-index: 0; }
.bar { position: absolute; left: 0; top: 0; width: 100%; height: 42px; background: linear-gradient(180deg, rgba(20, 30, 60, .5), rgba(12, 20, 42, .6)); -webkit-backdrop-filter: blur(6px) saturate(112%); backdrop-filter: blur(6px) saturate(112%); }
.dots { position: absolute; left: 27px; top: 16px; display: flex; gap: 2.6px; }
.dots i { width: 7.6px; height: 7.6px; border-radius: 50%; }
.omni { position: absolute; left: 246px; top: 7px; width: 350px; height: 26px; border-radius: 5px; background: rgba(6, 12, 28, .93); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045); display: flex; align-items: center; justify-content: center; gap: 6px; }
.omni svg { width: 9px; height: 9px; opacity: .72; }
.omni span { font-size: 9.5px; color: rgba(255, 255, 255, .72); }
.tools { position: absolute; right: 27px; top: 14px; display: flex; align-items: center; gap: 5px; opacity: .9; }
.tools svg { width: 11px; height: 12px; }
.page { position: absolute; left: 7px; right: 6px; top: 42px; bottom: 0; background: #f6f4ef; color: #0b2447; overflow: hidden; border-radius: 10px 10px 0 0; z-index: 1; }
.pg-topo { position: absolute; left: 0; right: 0; top: 0; height: 34px; background: #fff; border-bottom: 1px solid #e3e0d8; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.pg-marca { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: -.02em; }
.pg-marca img { width: 17px; height: 17px; }
.pg-marca b { color: #b8902f; }
.pg-topo nav { display: flex; gap: 6px; font-size: 6.6px; font-weight: 700; }
.pg-topo nav span { padding: 5px 8px; border-radius: 6px; }
.pg-topo nav .on { background: #e6eaf2; }
.pg-corpo { position: absolute; left: 50%; top: 46px; width: 380px; margin-left: -190px; }
.pg-linha { display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 800; }
.pg-linha select, .pg-sel { font-size: 6.4px; padding: 3px 7px; border: 1px solid #d6d2c8; border-radius: 5px; background: #fff; font-weight: 600; }
.pg-cont { display: flex; gap: 9px; font-size: 6px; font-weight: 700; color: #586179; margin: 9px 0 6px; }
.pg-cont .a { color: #0b2447; } .pg-cont .v { color: #1f9d6b; } .pg-cont .e { color: #d6453d; }
.pg-barra { height: 3px; background: #eeebe4; border-radius: 9px; overflow: hidden; margin-bottom: 9px; }
.pg-barra i { display: block; width: 34%; height: 100%; background: #1f9d6b; border-radius: 9px; }
.pg-flash { position: relative; height: 170px; perspective: 900px; }
.pg-face { position: absolute; inset: 0; background: #fff; border: 1px solid #e3e0d8; border-radius: 12px; box-shadow: 0 6px 18px rgba(11, 36, 71, .08); padding: 13px; display: flex; flex-direction: column; backface-visibility: hidden; transition: transform .7s cubic-bezier(.3, .7, .3, 1); }
.pg-face.verso { transform: rotateY(180deg); border-top: 3px solid #0b2447; }
.pg-flash.virado .pg-face.frente { transform: rotateY(-180deg); }
.pg-flash.virado .pg-face.verso { transform: rotateY(0deg); }
.pg-meta { display: flex; justify-content: space-between; font-size: 5.4px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #586179; }
.pg-meta em { font-style: normal; color: #0b2447; }
.pg-txt { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11.6px; font-weight: 700; line-height: 1.4; padding: 0 12px; }
.pg-face.verso .pg-txt { font-size: 9.6px; font-weight: 600; flex-direction: column; gap: 6px; }
.pg-face.verso .pg-txt strong { color: #1f9d6b; font-size: 11px; }
.pg-dica { text-align: center; font-size: 5.6px; color: #586179; }
.pg-resp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.pg-resp span { border-radius: 8px; padding: 6px 0; text-align: center; color: #fff; font-size: 6.6px; font-weight: 800; line-height: 1.25; }
.pg-resp span small { display: block; font-size: 5px; font-weight: 600; opacity: .9; }
.pg-resp .r1 { background: #d6453d; } .pg-resp .r2 { background: #e0a422; } .pg-resp .r3 { background: #1f9d6b; } .pg-resp .r4 { background: #0b2447; }
.pg-resp span.toque { animation: toque 1.1s ease-out; }
@keyframes toque { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 107, .6); transform: scale(.94); } 40% { transform: scale(1); } 100% { box-shadow: 0 0 0 10px rgba(31, 157, 107, 0); } }

/* ================================================================
   RESPONSIVO — tablet e celular
   ================================================================ */
@media (max-width: 1080px) {
  .burger { display: grid; place-content: center; gap: 4px; position: absolute; right: 12px; top: 11px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .burger span { display: block; width: 19px; height: 1.6px; border-radius: 2px; background: rgba(255, 255, 255, .92); transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .18s; }
  .burger:focus-visible { outline: 2px solid rgba(227, 189, 98, .7); outline-offset: 2px; }
  .nav.open .burger span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
  .navmenu {
    display: block; position: absolute; left: 0; right: 0; top: 74px; padding: 12px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(8, 16, 34, .985), rgba(4, 10, 24, .99));
    -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .24s ease, transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
  }
  .nav.open .navmenu { opacity: 1; visibility: visible; transform: none; }
  .links { position: static; display: flex; flex-direction: column; align-items: stretch; height: auto; gap: 2px; transform: none !important; }
  .links a { font-size: 15px !important; padding: 11px 14px; border-radius: 12px; color: rgba(255, 255, 255, .9); transition: background .2s, color .2s; }
  .nav .btn-luz { position: static; width: 100%; height: 46px; margin-top: 10px; font-size: 15px; }
}
@media (hover: hover) and (max-width: 1080px) {
  .burger:hover span { background: #fff; }
  .links a:hover { background: rgba(255, 255, 255, .055); color: #fff; opacity: 1; }
}
@media (min-width: 701px) and (max-width: 1080px) {
  .nav { left: 286px; width: 620px; }
  .badge { left: 448px; width: 277px; }
  .stack { transform: translateY(var(--stshift, 0px)); }
  .showcase { transform: translateY(var(--sshift, 0px)); }
  .ring { transform: scale(var(--rs, 1)); transform-origin: 586px 595px; }
}
@media (max-width: 700px) {
  .trilho { height: auto; }
  .stage { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
  .canvas { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 100vh; min-height: 100svh; transform: none; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
  .canvas > * { position: static; }
  .stack { display: contents; }
  .nav { position: relative; left: auto; top: auto; width: 100%; max-width: 500px; height: 58px; margin-top: clamp(10px, 1.5vh, 15px); flex: 0 0 auto; }
  .nav .mark { left: 14px; top: calc(50% - 15px); width: 30px; height: 30px; }
  .wm { left: 51px; top: 0; height: 100%; }
  .wm .kick { top: calc(50% - 14px); font-size: 5.4px; letter-spacing: .2em; }
  .wm .name { top: calc(50% - 7px); font-size: 18px; }
  .burger { right: 8px; top: 7px; width: 44px; height: 44px; }
  .navmenu { top: 68px; }
  .links a { font-size: 16px !important; padding: 12px 15px; }
  .nav .btn-luz { height: 48px; font-size: 16px; }
  .badge { position: relative; left: auto; top: auto; margin-top: clamp(16px, 2.6vh, 26px); width: auto; max-width: 100%; height: 36px; flex: 0 0 auto; border-radius: 18px; }
  .badge b { position: relative; left: auto; top: auto; height: 36px; padding: 0 15px 0 42px; font-size: 12.5px; }
  .badge i { top: 4px; left: 4px; width: 28px; height: 28px; }
  .h1 { position: relative; left: auto; top: auto; transform: none; white-space: normal; text-align: center; font-size: clamp(28px, 8.2vw, 36px); line-height: 1.06; max-width: 11.5em; }
  #h1a { margin-top: clamp(12px, 2.2vh, 20px); }
  .sub { position: relative; left: auto; top: auto; transform: none; white-space: normal; text-align: center; font-size: clamp(14px, 3.9vw, 15.5px); line-height: 1.5; max-width: 340px; }
  #sub1 { margin-top: clamp(10px, 1.8vh, 16px); }
  .cta2 { position: relative; left: auto; top: auto; margin-top: clamp(16px, 2.6vh, 26px); flex: 0 0 auto; width: auto; min-width: 158px; height: 52px; padding: 0 26px; font-size: 16px; }
  .showcase { position: relative; left: auto; top: auto; flex: 1 1 auto; width: 100%; height: auto; min-height: 350px; }
  .ring { position: absolute; left: 50%; margin-left: -586px; top: -446px; width: 1172px; height: 657px; transform-origin: 586px 466px; transform: scale(1.02); }
  .browser { position: absolute; left: 50%; transform: translateX(-50%); top: 212px; bottom: 0; width: calc(100% + 40px); height: auto; border-radius: 22px 22px 0 0; }
  .browser .bar { height: 36px; }
  .omni { left: 50%; transform: translateX(-50%); width: 58%; height: 24px; top: 6px; }
  .omni span { font-size: 9px; } .dots { top: 14px; } .tools { display: none; }
  .browser::before { top: 36px; }
  .page { top: 36px; }
  .pg-topo { height: 44px; padding: 0 16px; }
  .pg-marca { font-size: 13px; } .pg-marca img { width: 22px; height: 22px; }
  .pg-topo nav { font-size: 10px; }
  .pg-corpo { left: 16px; right: 16px; width: auto; margin-left: 0; top: 58px; }
  .pg-linha { font-size: 12px; } .pg-sel { font-size: 10px; }
  .pg-cont { font-size: 10px; }
  .pg-flash { height: 220px; }
  .pg-meta { font-size: 9px; } .pg-txt { font-size: 16px; } .pg-dica { font-size: 9px; }
  .pg-face.verso .pg-txt { font-size: 13px; } .pg-face.verso .pg-txt strong { font-size: 15px; }
  .pg-resp span { font-size: 11px; } .pg-resp span small { font-size: 8.5px; }
}

/* ================================================================
   ENTRADA — usa translate/scale/clip-path (propriedades individuais),
   porque "transform" já pertence ao ajuste de texto e ao anel
   ================================================================ */
html.intro .nav { opacity: 0; translate: 0 -9px; }
html.intro .nav .mark, html.intro .wm, html.intro .links a, html.intro .nav .btn-luz, html.intro .burger { opacity: 0; translate: 0 6px; }
html.intro .badge { opacity: 0; translate: 0 11px; scale: .985; }
html.intro .h1 { opacity: 0; translate: 0 15px; clip-path: inset(100% 0 -30% 0); }
html.intro .sub { opacity: 0; translate: 0 10px; }
html.intro .cta2 { opacity: 0; translate: 0 13px; scale: .985; }
html.intro .ring { opacity: 0; translate: 0 18px; scale: .99; }
html.intro .browser { opacity: 0; translate: 0 26px; }

/* ================================================================
   MENU FLUTUANTE (aparece quando a hero sai de cena)
   ================================================================ */
body.inicio .topo {
  position: fixed; left: 50%; top: 10px; width: min(760px, calc(100% - 24px)); transform: translate(-50%, -140%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 32px; z-index: 50;
  background: rgba(6, 18, 40, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 14px 40px rgba(3, 10, 24, .35); transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
body.inicio .topo.visivel { transform: translate(-50%, 0); }
body.inicio .topo .conteiner { height: 56px; padding: 0 10px 0 14px; }
body.inicio .topo .marca { color: #fff; font-size: 17px; }
body.inicio .topo .marca b { color: var(--ouro-vivo); }
body.inicio .topo .marca .nome small { color: rgba(255, 255, 255, .6); }
body.inicio .topo .marca .logo-img { width: 32px; height: 32px; }
body.inicio .topo .btn.fantasma { color: #fff; }
body.inicio .topo .btn.fantasma:hover { background: rgba(255, 255, 255, .08); }
body.inicio .topo .btn:not(.fantasma):not(.secundario) { background: var(--dourado); }
body.inicio .topo .btn.secundario { background: rgba(255, 255, 255, .12); color: #fff; }

/* ================================================================
   SEÇÕES QUE CONTINUAM A ROLAGEM
   ================================================================ */
.escuro { background: var(--noite); color: #fff; }
.continua { position: relative; }
.rotulo { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-vivo); margin-bottom: 12px; }
.claro .rotulo { color: var(--dourado); }
.titulo-sec { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 800; }
.titulo-sec em { font-style: normal; color: var(--ouro-vivo); }
.claro .titulo-sec em { color: var(--dourado); }
.texto-sec { font-size: 18px; color: #aab3c5; max-width: 560px; margin: 0; }
.claro .texto-sec { color: var(--suave); }

/* revelar palavras */
.palavras .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.palavras .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 55ms); }
.palavras.vista .w > span { transform: none; }

/* subir ao aparecer */
.sobe { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.sobe.vista { opacity: 1; transform: none; }

/* ---------- 1. Como funciona: cartões que empilham ---------- */
.como { padding: 60px 0 40px; }
.como-cab { max-width: 1080px; margin: 0 auto 36px; padding: 0 20px; }
.pilha-rolagem { max-width: 900px; margin: 0 auto; padding: 0 20px 18vh; }
.pcard {
  position: sticky; top: calc(96px + var(--i) * 16px); height: min(430px, 62vh); margin-bottom: 9vh;
  background: #fff; color: var(--tinta); border-radius: 28px; padding: clamp(22px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform-origin: 50% 0; will-change: transform, filter;
}
.pcard:last-child { margin-bottom: 0; }
.pcard .n { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--dourado); text-transform: uppercase; }
.pcard h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; margin: 10px 0 12px; }
.pcard p { color: var(--suave); font-size: 17px; margin: 0; }
.pcard .demo { height: 100%; min-height: 200px; border-radius: 20px; background: var(--fundo); border: 1px solid var(--linha); position: relative; overflow: hidden; display: grid; place-items: center; padding: 18px; }
.demo-turmas { display: grid; gap: 8px; width: 100%; }
.demo-turmas span { display: flex; justify-content: space-between; background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 11px 14px; font-weight: 700; font-size: 14px; }
.demo-turmas span b { color: var(--dourado); font-size: 13px; }
.demo-turmas span.on { border-color: var(--azul); box-shadow: 0 0 0 2px var(--azul-claro); }
.demo-vira { width: 86%; height: 78%; perspective: 900px; }
.demo-vira .f { position: absolute; inset: 0; border-radius: 16px; background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra); display: grid; place-items: center; text-align: center; padding: 18px; font-weight: 700; font-size: 16px; line-height: 1.35; backface-visibility: hidden; animation: vira 6s infinite cubic-bezier(.3, .7, .3, 1); }
.demo-vira .f.v { transform: rotateY(180deg); animation-name: vira2; border-top: 4px solid var(--azul); font-weight: 600; font-size: 15px; }
.demo-vira .f.v b { color: var(--verde); display: block; font-size: 17px; }
@keyframes vira { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(-180deg); } 100% { transform: rotateY(-360deg); } }
@keyframes vira2 { 0%, 40% { transform: rotateY(180deg); } 50%, 90% { transform: rotateY(0); } 100% { transform: rotateY(-180deg); } }
.demo-resp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.demo-resp span { border-radius: 14px; padding: 16px 8px; text-align: center; color: #fff; font-weight: 800; font-size: 16px; }
.demo-resp span small { display: block; font-weight: 600; font-size: 13px; opacity: .9; }
.demo-resp span:nth-child(3) { animation: pulsa 2.4s infinite; }
@keyframes pulsa { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 107, .5); } 50% { box-shadow: 0 0 0 10px rgba(31, 157, 107, 0); } }
.demo-agenda { width: 100%; display: grid; gap: 10px; }
.demo-agenda div { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.demo-agenda i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 0 4px var(--dourado-claro); }
.demo-agenda small { margin-left: auto; color: var(--suave); font-weight: 600; }

/* ---------- 2. Texto que se preenche ---------- */
.frase { padding: 14vh 20px 16vh; }
.frase p { max-width: 980px; margin: 0 auto; font-size: clamp(30px, 5.2vw, 64px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.frase .pc { color: rgba(255, 255, 255, .14); transition: color .25s; }
.frase .pc.acesa { color: #fff; }
.frase .pc.ouro.acesa { color: var(--ouro-vivo); }

/* ---------- 3. Revisão espaçada: linha do tempo + odômetro ---------- */
.revisao { padding: 40px 0 120px; }
.revisao .conteiner { max-width: 1080px; }
.linha-tempo { position: relative; margin: 56px 0 72px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.linha-tempo .trilha { position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }
.linha-tempo .trilha i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #b8902f, #f1d083); border-radius: 2px; box-shadow: 0 0 14px rgba(227, 189, 98, .5); }
.marco { position: relative; text-align: center; opacity: .35; transition: opacity .5s; }
.marco.on { opacity: 1; }
.marco .bola { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: var(--noite); display: grid; place-items: center; font-weight: 800; font-size: 15px; transition: border-color .5s, background .5s, color .5s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.marco.on .bola { border-color: var(--ouro-vivo); background: var(--ouro-vivo); color: var(--noite); transform: scale(1.08); }
.marco b { display: block; font-size: 20px; letter-spacing: -.02em; }
.marco span { color: #aab3c5; font-size: 14px; }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.numero { border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.numero .odo { display: flex; font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; height: 1em; overflow: hidden; color: #fff; }
.odo .col { display: flex; flex-direction: column; transition: transform 2s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--c) * 90ms); }
.odo .col span { height: 1em; }
.odo .sep { width: .28em; }
.numero p { margin: 10px 0 0; color: #aab3c5; font-size: 15px; }

/* ---------- passagem do escuro para o claro ---------- */
.ponte { height: 260px; background: linear-gradient(180deg, var(--noite) 0%, #0b2447 38%, #8e9ab0 70%, #e7e4dc 90%, var(--fundo) 100%); }
.claro { background: var(--fundo); color: var(--tinta); }
.turmas-sec { padding: 10px 0 40px; }
.turmas-sec .secao-titulo { margin-bottom: 22px; }
body.inicio .rodape-site { background: var(--fundo); }

@media (max-width: 780px) {
  .pcard { grid-template-columns: 1fr; height: auto; min-height: 0; top: calc(80px + var(--i) * 12px); gap: 18px; }
  .pcard .demo { min-height: 170px; }
  .linha-tempo { grid-template-columns: 1fr; gap: 22px; margin: 40px 0 48px; }
  .linha-tempo .trilha { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .linha-tempo .trilha i { width: auto; right: 0; bottom: auto; height: calc(var(--p, 0) * 100%); }
  .marco { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; text-align: left; align-items: center; }
  .marco .bola { margin: 0; grid-row: span 2; }
  .numeros { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html.intro .nav, html.intro .nav .mark, html.intro .wm, html.intro .links a, html.intro .nav .btn-luz, html.intro .burger,
  html.intro .badge, html.intro .h1, html.intro .sub, html.intro .cta2, html.intro .ring, html.intro .browser { opacity: 1; translate: none; scale: none; clip-path: none; }
  .navmenu, .burger span { transition: none; }
  .palavras .w > span, .sobe { transform: none; opacity: 1; transition: none; }
  .demo-vira .f, .demo-resp span:nth-child(3) { animation: none; }
  .demo-vira .f.v { display: none; }
  .frase .pc { color: #fff; }
  .odo .col { transition: none; }
  .pg-face { transition: none; }
}

/* janela sem a barra do navegador: a tela de estudo ocupa a moldura inteira */
.browser .bar, .browser::before { display: none; }
.browser .page { top: 0; left: 0; right: 0; border-radius: inherit; }
@media (max-width: 700px) { .browser .page { top: 0; } }

/* ---------- cards das turmas no anel (mais largos e clicáveis) ---------- */
.stack { pointer-events: none; }
.stack > * { pointer-events: auto; }
.ring .card { width: 196px; height: 286px; margin: -143px 0 0 -98px; pointer-events: auto; cursor: pointer; text-decoration: none; border-radius: 16px; }
.ring .card .edge { border-radius: 16px; transition: box-shadow .25s; }
.ring .card:hover .edge { box-shadow: inset 0 0 0 2px #e3bd62, inset 0 16px 30px rgba(255, 255, 255, .06); }
.ring .card:hover .t-botao span { filter: brightness(1.08); transform: translateY(-1px); }
.ring .card .cv { padding: 0 16px; }
.t-meta { top: 18px; display: flex; justify-content: space-between; font-size: 6.4px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.t-meta em { font-style: normal; }
.t-sigla { top: 58px; font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.t-ano { top: 106px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.t-cargo { top: 146px; font-size: 10.5px; font-weight: 700; line-height: 1.35; }
.t-dados { top: 194px; display: flex; gap: 12px; font-size: 8.4px; font-weight: 600; }
.t-dados b { font-size: 13px; font-weight: 800; display: block; letter-spacing: -.02em; }
.t-botao { bottom: 18px; }
.t-botao span { display: block; text-align: center; padding: 9px 0; border-radius: 9px; font-size: 8.6px; font-weight: 800; letter-spacing: .02em; transition: transform .2s, filter .2s; }

/* ---------- texto da hero mais limpo: uma cor só no título e no apoio ---------- */
.h1 { text-transform: none; letter-spacing: -.025em; word-spacing: 0; }
#h1b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; filter: none; text-shadow: 0 0 34px rgba(130, 170, 255, .2); }
.sub { color: #b9c1d2; }

/* ---------- botões da hero em uma cor só (dourado com texto azul-marinho) ---------- */
.btn-luz { background: #e3bd62; color: #0b2447; box-shadow: 0 6px 18px -8px rgba(227, 189, 98, .6); }
.btn-luz::before, .btn-luz::after { display: none; }
.btn-luz span { text-shadow: none; font-weight: 700; }
.btn-luz:hover { background: #ecc872; filter: none; box-shadow: 0 10px 24px -8px rgba(227, 189, 98, .7); transform: translateY(-1px); }

@media (max-width: 700px) {
  .h1 { font-size: clamp(27px, 7.8vw, 38px); line-height: 1.1; max-width: none; }
  .sub { max-width: 330px; font-size: 15px; text-wrap: balance; }
  #sub2 { margin-top: 2px; }
}

/* ---------- selo só com texto, centralizado ---------- */
.badge, .badge[class] { left: 586px; width: auto; transform: translateX(-50%); padding: 0 18px; }
.badge b { position: static; padding-top: 0; }
@media (min-width: 701px) and (max-width: 1080px) { .badge { left: 586px; width: auto; } }
@media (max-width: 700px) {
  .badge, .badge[class] { left: auto; transform: none; height: auto; padding: 9px 16px; border-radius: 14px; }
  .badge b { height: auto; padding: 0; white-space: normal; text-align: center; font-size: 13px; line-height: 1.35; text-wrap: balance; }
  /* texto de apoio: sempre duas linhas */
  .sub { white-space: nowrap; max-width: none; font-size: clamp(11.5px, 3.55vw, 15px); }
}

/* ---------- logo: símbolo sobre uma placa clara (o contorno azul sumia no fundo escuro) ---------- */
.nav .mark { left: 16px; top: 14px; width: 35px; height: 35px; padding: 3px; border-radius: 11px; background: #f6f4ef; filter: none; box-shadow: 0 0 0 1px rgba(227, 189, 98, .45), 0 4px 14px rgba(0, 0, 0, .35); object-fit: contain; }
body.inicio .topo .marca .logo-img { padding: 3px; border-radius: 10px; background: #f6f4ef; box-shadow: 0 0 0 1px rgba(227, 189, 98, .45); }

/* ---------- "FLASHCARDS" centralizado em cima de "Revise Cards" ---------- */
.wm { left: 61px; }
.wm .name { position: relative; display: block; }
.wm .kick { left: 0; right: 0; text-align: center; padding-left: .16em; }
@media (max-width: 700px) {
  .nav .mark { left: 12px; top: calc(50% - 17px); width: 34px; height: 34px; }
  .wm { left: 55px; }
}

/* ---------- emblema da turma no card da capa ---------- */
.t-sigla { display: flex; align-items: flex-start; gap: 12px; }
.t-sigla.menor { font-size: 34px; top: 68px; }
/* emblema ao lado da sigla: vai do topo das letras de cima até a base do ano */
.t-emblema { flex: none; height: 64px; width: auto; margin-top: 6px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); pointer-events: none; }
.t-sigla.menor .t-emblema { margin-top: -4px; }
.t-sigla .t-emblema.largo { height: 46px; margin-top: 5px; }
.t-sigla .t-emblema.muito-largo { height: 32px; margin-top: 12px; gap: 0; }

/* ---------- passagem escuro → claro: sem degradê; a área clara sobe sobre a escura com cantos arredondados ---------- */
.ponte { display: none; }
.revisao { padding-bottom: 96px; }
main.claro { position: relative; z-index: 1; border-radius: 40px 40px 0 0; margin-top: -1px; box-shadow: 0 -18px 50px rgba(0, 0, 0, .28); }
.turmas-sec { padding-top: 64px; }
@media (max-width: 700px) { main.claro { border-radius: 28px 28px 0 0; } .turmas-sec { padding-top: 44px; } }

/* ---------- verso dos cards da capa: matérias do edital ---------- */
.ring .card .lado { position: absolute; inset: 0; }
.ring .card .verso { display: none; }
.ring .card.virado .frente { display: none; }
.ring .card.virado .verso { display: block; }
.v-lista { position: absolute; left: 16px; right: 16px; top: 40px; margin: 0; padding: 0; list-style: none; }
.v-lista li { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--alt); border-bottom: .6px solid rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .9); font-size: clamp(7.2px, calc(var(--alt) * .5), 9.4px); font-weight: 600; }
.v-lista li:last-child { border-bottom: 0; }
.v-lista li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-lista li b { flex: none; color: #e3bd62; font-weight: 800; }
.v-total { top: 226px; display: flex; justify-content: space-between; font-size: 7.6px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.v-total b { font-size: 9px; letter-spacing: 0; }
.v-breve { top: 96px; font-size: 10px; font-weight: 600; line-height: 1.55; }
