/* Landing page · Cidade do Analista (/cidade/lp/) — Excelência Consultoria & Educação
   Mesmo estilo das LPs da Excelência (navy + teal + laranja, Manrope/DM Sans), com as cores dos bairros. */
:root {
  --navy-950: #050f1d;
  --navy-900: #0b1a2c;
  --navy-800: #0f2236;
  --navy-700: #163252;
  --teal: #20c5a3;
  --teal-600: #129a80;
  --orange: #ff7a1a;
  --orange-600: #e8650a;
  --pbi: #f2c811;
  --excel: #2bd47d;
  --ink: #10233a;
  --text: #34475c;
  --muted: #5d6e80;
  --bg: #f4f7fb;
  --card: #fff;
  --line: #e1e8f0;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 35, 58, .06), 0 12px 32px -12px rgba(16, 35, 58, .22);
  --shadow-lg: 0 30px 80px -24px rgba(5, 15, 29, .6);
  --max: 1200px;
  --head: "Manrope", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
section { padding: clamp(60px, 9vw, 116px) 0; position: relative; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.03rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 720px; }
.center .lead { margin-inline: auto; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.muted-s { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

/* seções escuras */
.dark { background: radial-gradient(1100px 500px at 50% -10%, rgba(32, 197, 163, .14), transparent 60%), var(--navy-900); color: rgba(255, 255, 255, .78); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: rgba(255, 255, 255, .72); }
.dark .eyebrow { color: var(--teal); }

/* ───── botões ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 28px -10px rgba(255, 122, 26, .8); }
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #063b1d; box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1fbe5b; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-xs { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.center-row { justify-content: center; }

/* ───── cabeçalho ───── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.top.solid { background: rgba(11, 26, 44, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo img { height: 34px; width: auto; }
.logo span { font: 700 .78rem/1.1 var(--head); padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3); opacity: .9; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .94rem; }
.nav a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn .ic { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--navy-900); transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav .btn { margin-top: 14px; }
}

/* ───── hero ───── */
.hero { background: var(--navy-950); color: rgba(255, 255, 255, .8); padding: 112px 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(242, 200, 17, .16), transparent 60%),
    radial-gradient(600px 400px at 92% 80%, rgba(43, 212, 125, .14), transparent 60%),
    radial-gradient(800px 500px at 10% 0%, rgba(32, 197, 163, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .75); }
.hero .lead strong { color: #fff; }
.hero .eyebrow { color: var(--teal); }
.hl-y { color: var(--pbi); }
.hl-g { color: var(--excel); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .93rem; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ic { width: 17px; height: 17px; color: var(--teal); }
.trust b { color: #fff; }
.hero-3d { position: relative; }
.jr-stage { position: relative; aspect-ratio: 1 / .86; }
.jr-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.hero-3d.ready canvas { opacity: 1; }
.hint-3d { margin: 10px 0 0; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.hint-3d b { color: var(--pbi); }
/* Painel de pontos da jornada (abaixo da cena) */
.jr-hud { display: flex; align-items: center; gap: 12px; max-width: 420px; margin: 4px auto 0; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(11, 26, 44, .75); color: #fff; line-height: 1.2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -16px rgba(0, 0, 0, .7); }
.jr-hud-t { flex: 1; }
.jr-hud small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; }
.jr-hud b { font: 800 1.15rem var(--head); }
.jr-hud em { font-style: normal; font-size: .8rem; font-weight: 700; color: #0b1a2c; background: var(--teal); padding: 5px 10px; border-radius: 99px; white-space: nowrap; transition: background .3s; }
.jr-hud em.gold { background: var(--pbi); }
.jr-hud .ring { width: 44px; height: 44px; }
.hero-3d:not(.ready) .jr-hud, .hero-3d:not(.ready) .hint-3d { display: none; }
/* Etapas: lista simples sem 3D; com 3D, cada etiqueta fica logo abaixo da sua plataforma */
.journey { list-style: none; margin: 0; padding: 20px 0; display: grid; gap: 10px; align-content: center; height: 100%; }
.journey li { position: relative; }
.journey a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; color: #fff;
  background: rgba(11, 26, 44, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--z) 45%, transparent), 0 10px 24px -12px rgba(0, 0, 0, .8);
  transition: transform .3s ease, box-shadow .3s ease, background .3s; white-space: nowrap; }
.journey a:hover { background: rgba(22, 50, 82, .95); }
.journey b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--z); color: #0b1a2c; font: 800 .8rem var(--head); }
.journey span { font: 700 .84rem/1.15 var(--head); }
.journey small { display: block; font: 500 .68rem var(--body); color: rgba(255, 255, 255, .62); }
.journey li.done b { font-size: 0; background: var(--z) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b1a2c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.journey li.now a { transform: scale(1.1); box-shadow: inset 0 0 0 2px var(--z), 0 0 0 6px color-mix(in srgb, var(--z) 22%, transparent), 0 14px 30px -12px rgba(0, 0, 0, .8); }
.jr-pop { position: absolute; left: 50%; bottom: 100%; translate: -50% 0; font: 800 .95rem var(--head); font-style: normal; color: var(--pbi); white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8); opacity: 0; pointer-events: none; }
.journey li.pop .jr-pop { animation: jrPop 1.6s ease forwards; }
@keyframes jrPop { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 18% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-30px); } }
.hero-3d.ready .journey { padding: 0; display: block; position: absolute; inset: 0; pointer-events: none; }
.hero-3d.ready .journey li { position: absolute; left: 0; top: 0; transform: translate(calc(var(--x, 0px) - 50%), var(--y, 0px)); pointer-events: auto; }
.ring { --p: 0; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: radial-gradient(closest-side, var(--navy-900) 72%, transparent 74%), conic-gradient(var(--teal) calc(var(--p) * 1%), rgba(255, 255, 255, .12) 0); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 44px 0 0; border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.stats div { background: rgba(11, 26, 44, .7); padding: 18px 20px; display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.stats dd { margin: 0; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--head); color: #fff; }

/* ───── problema ───── */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { margin: 0; font-size: .96rem; }
.emo { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.punch { text-align: center; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink); max-width: 820px; margin: 38px auto 0; }

/* ───── cidade ───── */
.stage { position: relative; border-radius: 24px; overflow: hidden; height: clamp(600px, 82vh, 800px); background: #050c18;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg); }
.stage > img { width: 100%; height: 100%; object-fit: cover; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; color: #fff; font: inherit; text-align: center; padding: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(5, 12, 24, .35), rgba(5, 12, 24, .7)); transition: background .25s; }
.stage-play:hover { background: radial-gradient(circle at 50% 50%, rgba(5, 12, 24, .2), rgba(5, 12, 24, .6)); }
.stage-play b { font: 800 clamp(1.05rem, 2.4vw, 1.4rem)/1.2 var(--head); }
.stage-play small { color: rgba(255, 255, 255, .7); }
.pulse { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--orange); margin-bottom: 8px;
  box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); animation: pulse 2s infinite; }
.pulse .ic { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
#cityFull[hidden] { display: none; }
.stage-full { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(11, 26, 44, .8); color: #fff; display: grid; place-items: center; }
.stage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.steps3 { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 li { display: flex; gap: 14px; align-items: flex-start; }
.steps3 b, .steps4 b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; background: rgba(32, 197, 163, .16); color: var(--teal); font: 800 1rem var(--head); }
.steps3 strong { display: block; color: #fff; }
.steps3 span { font-size: .92rem; }
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.zone { position: relative; display: flex; flex-direction: column; text-decoration: none; padding: 20px 20px 18px; border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--z) 16%, transparent), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--z) 35%, transparent); transition: transform .2s, box-shadow .2s; }
.zone:hover { box-shadow: inset 0 0 0 1px var(--z), 0 18px 40px -20px var(--z); }
.zone h3 { margin: 0 0 6px; font-size: 1.05rem; }
.zone p { font-size: .9rem; margin: 0 0 8px; }
.zone-courses { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.zone-courses a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .15s; }
.zone-courses a:hover { background: color-mix(in srgb, var(--z) 30%, transparent); }
.zone-courses b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--z); color: #0b1a2c; font-size: .7rem; }
.zone-courses .more { font-size: .8rem; color: rgba(255, 255, 255, .6); padding: 5px 4px; }
.zone-acts { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.zbtn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; cursor: pointer; font: 700 .84rem var(--body); color: #0b1a2c; background: var(--z); }
.zbtn:hover { filter: brightness(1.1); }
.zlink { color: var(--z); font-weight: 700; font-size: .88rem; text-decoration: none; }
.seals { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.seal { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 99px; font: 700 .74rem/1.2 var(--body); text-decoration: none;
  color: color-mix(in srgb, var(--s) 40%, #10233a); background: color-mix(in srgb, var(--s) 16%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--s) 45%, transparent);
  transition: background .15s; }
.seal:hover { background: color-mix(in srgb, var(--s) 30%, #fff); }
.seal .ic { width: 13px; height: 13px; color: color-mix(in srgb, var(--s) 70%, #10233a); }
.course-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .82rem; }
.course-links a { color: var(--muted); }
.course-links a:hover { color: var(--ink); }
.course-links button { border: 0; background: none; padding: 0; cursor: pointer; font: 700 .82rem var(--body); color: var(--teal-600); }
.zdot { position: absolute; top: 20px; right: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--z); box-shadow: 0 0 0 5px color-mix(in srgb, var(--z) 25%, transparent); }

/* ───── gamificação ───── */
.game-grid { display: grid; grid-template-columns: 1.05fr .95fr 1fr; gap: 18px; align-items: start; }
.xp-table { list-style: none; padding: 0; margin: 0 0 18px; }
.xp-table li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.xp-table b { color: var(--teal-600); font-family: var(--head); }
.sim { background: var(--bg); border-radius: 14px; padding: 16px; }
.sim-title { font-weight: 700; color: var(--ink); margin: 0 0 10px; font-size: .95rem; }
.sim-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sim-btns button { min-height: 44px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 700 .9rem var(--body); color: var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.sim-btns button:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.sim-btns button:active { transform: scale(.96); }
.sim-bar, .bar { height: 10px; border-radius: 99px; background: #dfe7f0; margin: 14px 0 8px; overflow: hidden; }
.sim-bar span, .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--pbi)); transition: width .4s cubic-bezier(.2, 1.4, .4, 1); }
.sim-out { margin: 0; font-size: .92rem; }
.sim-out b { font: 800 1.2rem var(--head); color: var(--ink); }
.fame { list-style: none; padding: 0; margin: 0; }
.fame li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.medal { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 800 .85rem var(--head); background: #e8eef5; color: var(--ink); flex: none; }
.m1 { background: linear-gradient(135deg, #ffe58a, #f2b600); }
.m2 { background: linear-gradient(135deg, #eef2f7, #b9c4d2); }
.m3 { background: linear-gradient(135deg, #f7c9a0, #c9783c); color: #fff; }
.fn { flex: 1; font-weight: 600; color: var(--ink); }
.fp { font: 800 .95rem var(--head); color: var(--teal-600); }
.perks { display: grid; gap: 16px; }
.perk { display: flex; gap: 14px; }
.perk > span { font-size: 1.6rem; line-height: 1; }
.perk h3 { margin: 0 0 4px; font-size: 1rem; }
.perk p { font-size: .9rem; }

/* ───── quiz ───── */
.quiz { background: rgba(255, 255, 255, .05); border-radius: 22px; padding: clamp(18px, 4vw, 32px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.q { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.js .q { margin: 0; }
.js .q:not(.is-on) { display: none; }
.js .q.is-on { animation: fadeUp .35s ease; }
.q legend { font: 800 1.2rem var(--head); color: #fff; margin-bottom: 12px; padding: 0; }
.q legend span { display: inline-block; font-size: .78rem; background: rgba(32, 197, 163, .18); color: var(--teal); padding: 3px 9px; border-radius: 99px; margin-right: 8px; vertical-align: middle; }
.q label { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 18px; border-radius: 14px; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); transition: background .15s, box-shadow .15s; }
.q label:hover { background: rgba(255, 255, 255, .1); }
.q label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--teal); background: rgba(32, 197, 163, .14); }
.q input { accent-color: var(--teal); width: 18px; height: 18px; }
.q-result { animation: fadeUp .4s ease; text-align: center; }
.q-result .res-k { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.q-result h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 8px 0; }
.q-result p { color: rgba(255, 255, 255, .75); }
.q-result .cta-row { justify-content: center; }
.q-redo { background: none; border: 0; color: rgba(255, 255, 255, .7); text-decoration: underline; cursor: pointer; font: inherit; margin-top: 14px; padding: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ───── trilhas ───── */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: none; justify-content: center; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 0; cursor: pointer; font: 700 .92rem var(--body); color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.tab.is-on { background: var(--navy-900); color: #fff; box-shadow: inset 0 -3px 0 var(--z); }
.track-title { margin: 28px 0 14px; }
.js .track:not(.is-on) { display: none; }
.js .track-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.course-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.course { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-cover { display: block; padding: 12px 12px 0; background: var(--navy-900); }
.course-cover .cv-disc { border-radius: 12px 12px 0 0; }
.course-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.badge { align-self: flex-start; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px;
  background: color-mix(in srgb, var(--z) 18%, #fff); color: color-mix(in srgb, var(--z) 45%, #10233a); }
.course h4 a { text-decoration: none; }
.course h4 a:hover { color: var(--orange-600); }
.meta { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 800 1.15rem var(--head); color: var(--ink); }
.price.is-free { color: var(--teal-600); }
.free-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.free-bar > span { font-size: 1.6rem; }
.free-bar p { flex: 1; min-width: 220px; margin: 0; }

/* ───── planos ───── */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: 22px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.plan.is-best { background: linear-gradient(170deg, rgba(255, 122, 26, .2), rgba(255, 255, 255, .04) 55%); box-shadow: inset 0 0 0 2px var(--orange), 0 30px 70px -30px rgba(255, 122, 26, .6); }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--orange); color: #fff; font: 800 .75rem var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 99px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-sub { font-size: .9rem; margin: 0 0 16px; }
.was { margin: 0; font-size: .92rem; }
.now { margin: 2px 0 0; font: 800 2.2rem/1.1 var(--head); color: #fff; }
.now small { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.save { display: inline-block; margin: 10px 0 0; align-self: flex-start; background: rgba(43, 212, 125, .16); color: var(--excel); font-weight: 700; font-size: .86rem; padding: 4px 10px; border-radius: 99px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: .93rem; flex: 1; }
.ticks li { display: flex; gap: 9px; }
.ticks .ic { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.plan-more { display: block; text-align: center; margin-top: 12px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.plan-help { text-align: center; margin: 30px 0 0; }
.plan-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--wa); font-weight: 700; }

/* ───── LMS ───── */
.lms { background: linear-gradient(180deg, #fff, var(--bg)); }
.lms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lms-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.lms-list li { font-size: .92rem; padding-left: 16px; border-left: 3px solid var(--teal); }
.lms-list b { display: block; color: var(--ink); font-family: var(--head); font-size: .98rem; }
.lms-visual { perspective: 1400px; }
.browser { border-radius: 16px; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg);
  transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .5s ease; }
.lms-visual:hover .browser { transform: rotateY(-4deg) rotateX(2deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #13263d; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: .78rem; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { position: relative; }
.b-card { position: absolute; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .8rem; transform: translateZ(60px); }
.b-card small { display: block; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .66rem; margin-bottom: 6px; }
.b-card p { display: flex; justify-content: space-between; gap: 14px; margin: 3px 0; }
.b-rank { top: 12%; right: 4%; min-width: 170px; }
.b-prog { bottom: 8%; left: 4%; min-width: 180px; }
.b-prog .bar { margin: 6px 0; height: 8px; }
.steps4 { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps4 li { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.steps4 strong { display: block; color: var(--ink); margin: 10px 0 2px; font-family: var(--head); }
.steps4 span { font-size: .9rem; }

/* ───── depoimentos ───── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 10px; }
.stars .ic { width: 17px; height: 17px; }
.quote blockquote { margin: 0 0 16px; font-size: 1rem; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.quote figcaption img, .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.av { display: grid; place-items: center; background: var(--navy-700); color: #fff; font: 800 1rem var(--head); }
.quote small { display: block; color: var(--muted); }

/* ───── FAQ ───── */
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 700 1.02rem var(--head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--teal-600); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* ───── CTA final e rodapé ───── */
.final h2 { max-width: 760px; margin-inline: auto; }
.foot { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding: 48px 0 110px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; }
.foot img { height: 34px; width: auto; margin-bottom: 12px; }
.foot nav, .contacts { display: grid; gap: 8px; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.contacts a { display: inline-flex; align-items: center; gap: 8px; }
.copy { text-align: center; margin: 34px 0 0; font-size: .82rem; }

/* ───── WhatsApp, HUD de XP, CTA móvel, toast ───── */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 32px; height: 32px; }
.xp-hud { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 99px;
  background: rgba(11, 26, 44, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .3s; }
.xp-hud.bump { transform: scale(1.08); }
.xp-ring { --p: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: radial-gradient(closest-side, #0b1a2c 74%, transparent 76%), conic-gradient(var(--pbi) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); transition: --p .4s; }
.xp-ring b { font: 800 .82rem var(--head); }
.xp-txt { line-height: 1.2; font-size: .85rem; }
.xp-txt small { display: block; color: rgba(255, 255, 255, .6); font-size: .72rem; }
.mobile-cta { display: none; }
.toast[hidden] { display: none; }
.toast { position: fixed; left: 50%; bottom: 90px; translate: -50% 0; z-index: 70; max-width: min(420px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: .93rem; text-align: center; animation: fadeUp .3s ease; }
.toast b { color: var(--orange-600); }
.toast a { color: var(--teal-600); font-weight: 700; }
.xp-pop { position: fixed; z-index: 80; pointer-events: none; font: 800 1rem var(--head); color: var(--pbi); text-shadow: 0 2px 8px rgba(0, 0, 0, .5); animation: xpPop 1s ease forwards; }
@keyframes xpPop { to { transform: translateY(-50px); opacity: 0; } }

/* ───── visualizador em tela cheia ───── */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050c18; }
.viewer::backdrop { background: rgba(0, 0, 0, .8); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 8px 0 16px; color: #fff; font-weight: 700; font-size: .92rem; background: var(--navy-900); }
.viewer-bar button { width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.viewer-body { height: calc(100% - 52px); }
.viewer-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* revelar ao rolar */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ───── responsivo ───── */
@media (max-width: 1080px) {
  .game-grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { padding-top: 96px; }
  .hero-grid, .lms-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-3d { max-width: 560px; width: 100%; margin-inline: auto; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .zones { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.is-best { order: -1; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .lms-visual { order: -1; }
  .browser { transform: rotateY(-8deg) rotateX(4deg); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn-sm, .btn-xs { width: auto; }
  .cta-row { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 14px 16px; }
  .cards4, .zones, .steps3, .steps4, .game-grid, .perks, .lms-list, .foot-grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .tabs { justify-content: flex-start; margin-inline: -16px; padding-inline: 16px; }
  /* cursos em carrossel horizontal no celular */
  .course-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 16px; scrollbar-width: none; }
  .course-row::-webkit-scrollbar { display: none; }
  .course { flex: 0 0 82%; scroll-snap-align: start; }
  .stage { height: auto; aspect-ratio: 4 / 5; border-radius: 18px; }
  .stage > img { object-position: 40% 50%; }
  .jr-stage { aspect-ratio: 1 / 1.08; }
  .journey a { padding: 4px 10px 4px 4px; gap: 7px; }
  .journey b { width: 24px; height: 24px; font-size: .74rem; }
  .journey span { font-size: .76rem; }
  .hero-3d.ready .journey small { display: none; }
  .jr-hud { padding: 8px 12px 8px 8px; }
  .jr-hud .ring { width: 36px; height: 36px; }
  .jr-hud b { font-size: 1rem; }
  .hint-3d { font-size: .74rem; }
  .jr-hud em { font-size: .72rem; }
  .b-card { font-size: .7rem; padding: 9px 10px; }
  .b-rank { min-width: 140px; }
  .b-prog { min-width: 140px; }
  .foot { padding-bottom: 130px; }
  /* barra fixa no celular: XP + CTA; o WhatsApp sobe */
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) 76px;
    background: rgba(11, 26, 44, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -1px 0 rgba(255, 255, 255, .08);
    transform: translateY(110%); transition: transform .3s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { min-height: 48px; }
  .xp-hud { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 4px; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .xp-txt { display: none; }
  .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 54px; height: 54px; }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
