/* ============================================================
   Nota20 · estilos
   Ideia: vivo e de jogo. Azul elétrico, amarelo-sol e coral,
   botões com relevo, cartões que flutuam, a mascote (um lince:
   «olho de lince» para o exame) e recompensas em cada acerto.
   Um só tema (claro), por escolha.
   ============================================================ */
:root {
  --bg: #f3f7ff;
  --bg-2: #e8f0ff;
  --surface: #ffffff;
  --ink: #141a3c;
  --muted: #5c6489;
  --line: #e0e7f6;

  --blue: #2d6bff;
  --blue-d: #1a4fd6;
  --blue-50: #e9f0ff;
  --yellow: #ffc72c;
  --yellow-d: #e9a800;
  --yellow-50: #fff5d4;
  --coral: #ff6b5b;
  --coral-d: #e04c3c;
  --coral-50: #ffece8;
  --violet: #8a5cff;
  --violet-d: #6b3ff0;
  --violet-50: #f1ebff;
  --mint: #14b877;
  --mint-d: #0c9660;
  --mint-50: #e2f8ee;
  --pink: #ff5fa2;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text: "Newsreader", "Iowan Old Style", Georgia, serif;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 2px 0 rgba(20, 26, 60, 0.04), 0 14px 34px rgba(45, 107, 255, 0.10);
  --shadow-lg: 0 24px 60px rgba(45, 107, 255, 0.18);
  --maxw: 1180px;
  color-scheme: light;
}
/* layout: herói em duas colunas (texto + mascote), depois secções em grelha de cartões coloridos */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 90px; }
body:not(.has-ai) .ai-only { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; padding-bottom: 82px; overflow-x: hidden; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; margin: 1.3em 0 0.35em; color: var(--blue-d); }
p { margin: 0 0 0.85em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.num { font-variant-numeric: tabular-nums; }
.hl { background: linear-gradient(transparent 55%, rgba(255, 199, 44, 0.55) 55%); padding: 0 0.12em; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mt { margin-top: 26px; }

/* ---------- animações base ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes bounceIn { 0% { transform: scale(0.9); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes drift { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(12deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes xpUp { 0% { opacity: 0; transform: translate(-50%, 0) scale(0.7); } 20% { opacity: 1; transform: translate(-50%, -10px) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -70px) scale(1); } }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
@keyframes dots { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.in { animation: fadeUp 0.7s cubic-bezier(.2, .8, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- mascote ---------- */
.lince { display: block; overflow: visible; width: 100%; height: auto; aspect-ratio: 1; }
.lince .eyes { transform-origin: 150px 165px; animation: blink 4.5s infinite; }
.lince .tassel { transform-origin: 150px 76px; animation: swing 2.6s ease-in-out infinite; }

/* ---------- barra demo ---------- */
.demo-bar { background: linear-gradient(90deg, var(--violet), var(--blue)); color: #fff; font-size: 0.86rem; font-weight: 700; text-align: center; padding: 7px 16px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo .lince { width: 42px; height: 42px; flex: none; transition: transform .3s; }
.logo:hover .lince { transform: rotate(-10deg) scale(1.08); }
.logo b { background: linear-gradient(90deg, var(--yellow), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 0.97rem; transition: background .2s, color .2s; }
.nav a:hover { background: var(--blue-50); color: var(--blue); }
.nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.xp-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 8px; font-weight: 800; font-size: 0.9rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.xp-chip .fl { display: inline-flex; align-items: center; gap: 3px; color: var(--coral); }
.xp-chip .xp { display: inline-flex; align-items: center; gap: 3px; color: var(--yellow-d); }
.xp-chip svg { width: 18px; height: 18px; }
.xp-chip.bump { animation: bounceIn .5s; }
.top .cta { display: none; }
@media (min-width: 900px) { .nav { display: flex; } .xp-chip { margin-left: 8px; } .top .cta { display: inline-flex; } }

/* barra inferior (telemóvel) */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.72rem; font-weight: 800; color: var(--muted); text-decoration: none; padding: 5px 0; border-radius: 14px; transition: color .2s; }
.tabbar a svg { width: 24px; height: 24px; transition: transform .25s; }
.tabbar a[aria-current="page"] { color: var(--blue); }
.tabbar a[aria-current="page"] svg { transform: translateY(-2px) scale(1.12); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- botões ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 800 1.02rem/1 var(--f-body); padding: 15px 24px; border-radius: 16px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, filter .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--blue-d); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-d); }
.btn-yellow { background: var(--yellow); color: #3a2a00; box-shadow: 0 5px 0 var(--yellow-d); }
.btn-yellow:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--yellow-d); }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); animation: shine 3.2s ease-in-out infinite; }
.btn-ghost { background: var(--surface); color: var(--blue); border-color: var(--blue); box-shadow: 0 5px 0 var(--blue-50); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-50); }
.btn-soft { background: var(--blue-50); color: var(--blue-d); }
.btn-soft:hover { background: #dbe6ff; }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; border-radius: 12px; }
.btn-sm.btn-primary, .btn-sm.btn-yellow, .btn-sm.btn-ghost { box-shadow: 0 3px 0 var(--blue-d); }
.btn-sm.btn-ghost { box-shadow: 0 3px 0 var(--blue-50); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip.free { background: var(--yellow); color: #3a2a00; }
.chip.pro { background: var(--violet-50); color: var(--violet-d); }
.chip.done { background: var(--mint-50); color: var(--mint-d); }
.chip.req { background: var(--ink); color: #fff; }
.chip.opt { background: var(--surface); border: 1.5px dashed var(--muted); }
.eyebrow svg { width: 18px; height: 18px; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 0.9rem; color: var(--blue-d); box-shadow: var(--shadow); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); }

/* ---------- herói ---------- */
.hero { position: relative; padding: 40px 0 70px; overflow: hidden; background: radial-gradient(1100px 520px at 85% 10%, #dfe9ff 0%, transparent 60%), radial-gradient(700px 420px at 5% 95%, #fff1c9 0%, transparent 60%), var(--bg); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 30px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.08fr 0.92fr; } .hero { padding: 60px 0 90px; } }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .l2 { display: block; }
.grad-text { background: linear-gradient(90deg, var(--yellow) 0%, #ff9f1c 45%, var(--coral) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientMove 6s linear infinite alternate; }
.squiggle { display: block; width: min(100%, 420px); height: 18px; margin-top: 2px; }
.squiggle path { stroke: var(--blue); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 600; animation: draw 1.4s .4s ease-out both; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.hero .lead b { color: var(--blue); }
.hero .row { margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.facts span { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border-radius: 12px; padding: 7px 12px; font-weight: 800; font-size: 0.88rem; box-shadow: var(--shadow); }
.facts svg { width: 18px; height: 18px; }
.sym { position: absolute; font-family: var(--f-display); font-weight: 700; color: rgba(45, 107, 255, 0.12); pointer-events: none; animation: drift 9s ease-in-out infinite; z-index: 0; user-select: none; }

/* palco da mascote */
.stage { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin: 0 auto; }
.stage .blob { position: absolute; inset: 12%; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: radial-gradient(circle at 35% 30%, #fff 0%, #cfe0ff 55%, #b8d0ff 100%); box-shadow: inset 0 -20px 60px rgba(45, 107, 255, 0.18); animation: floaty 7s ease-in-out infinite; }
.stage .orbit { position: absolute; inset: 2%; border: 2.5px dashed rgba(45, 107, 255, 0.28); border-radius: 50%; animation: spin 40s linear infinite; }
.stage .orbit i { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.stage .orbit i svg { width: 22px; height: 22px; }
.stage .orbit i:nth-child(1) { top: -23px; left: calc(50% - 23px); color: var(--violet); }
.stage .orbit i:nth-child(2) { top: calc(50% - 23px); right: -23px; color: var(--coral); }
.stage .orbit i:nth-child(3) { bottom: -23px; left: calc(50% - 23px); color: var(--mint); }
.stage .orbit i:nth-child(4) { top: calc(50% - 23px); left: -23px; color: var(--yellow-d); }
.stage .lince { position: absolute; inset: 17%; width: 66%; height: 66%; animation: floaty 4.5s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(20, 26, 60, 0.18)); }
.fcard { position: absolute; z-index: 2; background: var(--surface); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-weight: 800; font-size: 0.88rem; display: flex; align-items: center; gap: 9px; white-space: nowrap; animation: floaty2 5s ease-in-out infinite; }
.fcard .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.fcard .ic svg { width: 19px; height: 19px; }
.fcard small { display: block; font-weight: 700; color: var(--muted); font-size: 0.76rem; }
.fcard.a { top: 6%; left: -4%; animation-delay: -1s; }
.fcard.b { top: 40%; right: -6%; animation-delay: -2.5s; }
.fcard.c { bottom: 6%; left: 2%; animation-delay: -3.5s; }
.fcard.blue { background: var(--blue); color: #fff; }
.fcard.blue small { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 520px) { .fcard { font-size: 0.78rem; padding: 8px 10px; } .fcard .ic { width: 28px; height: 28px; } .fcard.a { left: 0; } .fcard.b { right: 0; } }

/* marquee de tópicos */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--bg); transition: transform .2s; }
.marquee a:hover { transform: scale(1.06); }
.marquee .ti { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.marquee .ti svg { width: 17px; height: 17px; }

/* ---------- secções ---------- */
.section { padding: 76px 0; position: relative; }
.section.alt { background: var(--surface); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }

/* passos "começa aqui" */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 24px 22px 22px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.step .sn { position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; box-shadow: 0 4px 0 rgba(20, 26, 60, 0.25); }
.step .tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 5px 0 rgba(20, 26, 60, 0.12); }
.step .tile svg { width: 26px; height: 26px; }
.step:hover .tile { animation: wiggle .5s ease; }
.step h3 { margin: 4px 0 0; }
.step p { margin: 0; color: var(--muted); font-weight: 600; }
.step .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); margin-top: 4px; }
.step .go svg { width: 18px; height: 18px; transition: transform .2s; }
.step:hover .go svg { transform: translateX(4px); }
@media (min-width: 1040px) { .step:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 14px; border-top: 3px solid #c9d8ff; border-right: 3px solid #c9d8ff; transform: translateY(-50%) rotate(45deg); } }

/* números */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 6px; border: 2px solid var(--line); transition: transform .25s; }
.stat:hover { transform: translateY(-5px) rotate(-1deg); }
.stat .top-row { display: flex; align-items: center; gap: 12px; }
.stat .tile { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex: none; }
.stat .tile svg { width: 26px; height: 26px; }
.stat b { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.95rem; }

/* cores por grupo */
.g-I { --g: var(--violet); --g-d: var(--violet-d); --g-50: var(--violet-50); }
.g-II { --g: var(--blue); --g-d: var(--blue-d); --g-50: var(--blue-50); }
.g-III { --g: var(--coral); --g-d: var(--coral-d); --g-50: var(--coral-50); }
.bg-violet { background: var(--violet); } .bg-blue { background: var(--blue); } .bg-coral { background: var(--coral); } .bg-mint { background: var(--mint); } .bg-yellow { background: var(--yellow); } .bg-pink { background: var(--pink); }

/* grelhas */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* grupos do exame */
.grp { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; border-top: 6px solid var(--g); transition: transform .25s, box-shadow .25s; }
.grp:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.grp .roman { position: absolute; right: -10px; top: -8px; width: 120px; height: 120px; color: var(--g-50); z-index: 0; transform: rotate(-12deg); }
.grp .roman svg { width: 100%; height: 100%; }
.grp > * { position: relative; z-index: 1; }
.grp .tag { font-weight: 800; color: var(--g-d); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.06em; }
.grp .pts { display: inline-flex; align-self: start; background: var(--g); color: #fff; font-weight: 800; padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; width: max-content; }
.grp ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.grp li a { color: var(--ink); text-decoration: none; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.grp li a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.grp li a:hover { color: var(--g-d); }

/* funcionalidades */
.feat { transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat .tile { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; box-shadow: 0 5px 0 rgba(20, 26, 60, 0.12); }
.feat .tile svg { width: 28px; height: 28px; }
.feat:hover .tile { animation: wiggle .5s ease; }

/* bloco demo */
.demo-wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .demo-wrap { grid-template-columns: 0.75fr 1.25fr; } }
.speech { position: relative; background: var(--surface); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); font-weight: 700; }
.speech::after { content: ""; position: absolute; left: 40px; bottom: -12px; border: 12px solid transparent; border-top-color: var(--surface); border-bottom: 0; }

/* ---------- páginas internas ---------- */
.page-head { padding: 34px 0 20px; display: grid; gap: 12px; }
.page-head p { color: var(--muted); margin: 0; max-width: 46em; font-size: 1.05rem; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.crumbs { font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.crumbs a { color: var(--muted); }

/* painel do aluno */
.dash { display: grid; gap: 16px; background: linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%); color: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.dash::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); right: -60px; top: -90px; }
.dash .lince { position: absolute; right: 12px; bottom: -18px; width: 120px; height: 120px; opacity: 0.95; animation: floaty 5s ease-in-out infinite; }
@media (max-width: 640px) { .dash .lince { width: 86px; height: 86px; right: 4px; bottom: -14px; } }
.dash h2 { font-size: 1.6rem; }
.dash .kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 640px; position: relative; }
@media (min-width: 720px) { .dash .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dash .kpi { background: rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 10px 14px; }
.dash .kpi b { display: block; font-family: var(--f-display); font-size: 1.8rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dash .kpi span { font-size: 0.82rem; font-weight: 700; opacity: 0.9; }
.lvl { max-width: 560px; position: relative; }
.lvl .bar { height: 14px; background: rgba(255, 255, 255, 0.22); border-radius: 99px; overflow: hidden; }
.lvl .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), #ffe58a); border-radius: 99px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.lvl .lab { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.85rem; margin-bottom: 6px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 28px; }
.filters button { font: 800 0.95rem var(--f-body); padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .15s; }
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.group-block { margin-bottom: 46px; }
.group-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.group-title .gt { display: flex; align-items: center; gap: 12px; }
.group-title .gi { width: 46px; height: 46px; border-radius: 14px; background: var(--g); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 var(--g-d); }
.group-title .gi svg { width: 24px; height: 24px; }
.group-title h2 { font-size: 1.55rem; }
.ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--g) calc(var(--p) * 1%), var(--g-50) 0); display: grid; place-items: center; }
.ring span { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.year-label { display: inline-block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-d); background: var(--g-50); padding: 4px 12px; border-radius: 999px; margin: 18px 0 12px; }
.topic-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s, box-shadow .2s; }
.topic-card:hover { transform: translateY(-5px); border-color: var(--g); box-shadow: var(--shadow-lg); }
.topic-card .ti { width: 50px; height: 50px; border-radius: 15px; background: var(--g-50); color: var(--g-d); display: grid; place-items: center; transition: transform .3s; }
.topic-card:hover .ti { transform: rotate(-8deg) scale(1.08); background: var(--g); color: #fff; }
.topic-card .ti svg { width: 26px; height: 26px; }
.topic-card h3 { font-size: 1.12rem; margin: 0 0 2px; }
.topic-card .sub { color: var(--muted); font-size: 0.9rem; line-height: 1.4; font-weight: 600; }
.topic-card .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.topic-card .lock { position: absolute; top: 14px; right: 14px; color: var(--muted); }
.topic-card.done { border-color: var(--mint); }
.topic-card .tick { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 var(--mint-d); animation: pop .4s both; }
.topic-card .tick svg { width: 16px; height: 16px; }

/* ---------- página de tópico ---------- */
.banner { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; color: #fff; background: linear-gradient(120deg, var(--g) 0%, var(--g-d) 100%); box-shadow: var(--shadow-lg); margin-top: 22px; display: grid; gap: 12px; }
.banner::after { content: ""; position: absolute; right: -40px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.banner .crumbs, .banner .crumbs a { color: rgba(255, 255, 255, 0.86); }
.banner h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); }
.banner p { margin: 0; font-size: 1.1rem; opacity: 0.92; font-weight: 700; }
.banner .big-ico { position: absolute; right: 28px; top: 22px; width: 84px; height: 84px; border-radius: 26px; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; transform: rotate(8deg); animation: floaty2 5s ease-in-out infinite; }
.banner .big-ico svg { width: 46px; height: 46px; }
@media (max-width: 600px) { .banner .big-ico { width: 56px; height: 56px; right: 16px; top: 16px; border-radius: 18px; } .banner .big-ico svg { width: 30px; height: 30px; } .banner h1 { padding-right: 60px; } }
.toc { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.toc a { background: rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; font-weight: 800; font-size: 0.86rem; padding: 6px 12px; border-radius: 999px; transition: background .2s; }
.toc a:hover { background: rgba(255, 255, 255, 0.34); }
.toc .chip.free { background: var(--yellow); }
.topic-layout { display: grid; gap: 28px; padding: 10px 0 70px; }
@media (min-width: 1000px) { .topic-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside .card { text-align: left; }
.aside .lince { width: 90px; height: 90px; margin: -10px 0 4px; animation: floaty 5s ease-in-out infinite; }
.prose-block { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.prose-block h4:first-child { margin-top: 0; }
.prose-block p { max-width: 70ch; }
.block-title { display: flex; align-items: center; gap: 12px; margin: 38px 0 16px; }
.block-title h2 { font-size: 1.6rem; }
.block-title .n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--g, var(--blue)); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; flex: none; box-shadow: 0 4px 0 var(--g-d, var(--blue-d)); }
.keypoints { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .keypoints { grid-template-columns: 1fr 1fr; } }
.keypoints li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--r-sm); padding: 14px 16px; box-shadow: var(--shadow); border: 2px solid var(--line); font-weight: 600; }
.keypoints li .ck { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--yellow); color: #3a2a00; }
.keypoints li .ck svg { width: 15px; height: 15px; }
.exam-note { display: flex; gap: 14px; align-items: flex-start; background: var(--yellow-50); border: 2px dashed var(--yellow); border-radius: var(--r); padding: 18px 20px; font-weight: 600; }
.exam-note .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--yellow); color: #3a2a00; display: grid; place-items: center; flex: none; }
.exam-note .ic svg { width: 22px; height: 22px; }

/* ---------- textos ---------- */
.textbox { background: #fffdf7; border: 2px solid #f1e6c8; border-radius: var(--r-sm); padding: 18px 20px; margin: 12px 0 16px; overflow-x: auto; }
.poem { font-family: var(--f-text); font-size: 1.1rem; line-height: 1.75; }
.poem .ln { display: block; position: relative; padding-left: 38px; }
.poem .ln[data-n]::before { content: attr(data-n); position: absolute; left: 0; width: 24px; text-align: right; font-family: var(--f-body); font-weight: 800; font-size: 0.72rem; color: var(--yellow-d); top: 0.45em; font-variant-numeric: tabular-nums; }
.poem .gap { display: block; height: 0.9em; }
.prose { font-family: var(--f-text); font-size: 1.07rem; line-height: 1.75; }
.prose h5 { font-family: var(--f-display); font-size: 1.15rem; margin: 0 0 8px; }
.src { font-size: 0.8rem; color: var(--muted); text-align: right; margin: 8px 0 0; font-weight: 700; }

/* ---------- itens ---------- */
.q { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.q.good { animation: bounceIn .5s; border-color: var(--mint); }
.q.bad { animation: shake .45s; }
.q-head { display: flex; gap: 14px; align-items: flex-start; }
.q-num { flex: none; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; box-shadow: 0 4px 0 rgba(20, 26, 60, 0.25); }
.q-body { flex: 1; min-width: 0; }
.q-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.q-text { font-weight: 800; margin: 0 0 14px; font-size: 1.06rem; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: 700 1rem/1.45 var(--f-body); color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; box-shadow: 0 4px 0 var(--line); transition: transform .12s, border-color .15s, background .15s, box-shadow .12s; }
.opt:hover:not([disabled]) { border-color: var(--blue); background: var(--blue-50); transform: translateY(-2px); box-shadow: 0 6px 0 #c9d8ff; }
.opt:active:not([disabled]) { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.opt .l { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); font-weight: 800; font-size: 0.9rem; transition: background .15s, color .15s; }
.opt.sel { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 4px 0 #c9d8ff; }
.opt.sel .l { background: var(--blue); color: #fff; }
.opt.right { border-color: var(--mint); background: var(--mint-50); box-shadow: 0 4px 0 #b5ead3; }
.opt.right .l { background: var(--mint); color: #fff; }
.opt.wrong { border-color: var(--coral); background: var(--coral-50); box-shadow: 0 4px 0 #ffcbc3; }
.opt.wrong .l { background: var(--coral); color: #fff; }
.opt[disabled] { cursor: default; }
.sub-q { margin: 16px 0 8px; font-weight: 800; }
.fb { margin-top: 14px; border-radius: var(--r-sm); padding: 14px 16px; font-size: 0.98rem; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; animation: pop .35s both; }
.fb .fi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.fb .fi svg { width: 19px; height: 19px; }
.fb.ok { background: var(--mint-50); } .fb.ok .fi { background: var(--mint); }
.fb.no { background: var(--coral-50); } .fb.no .fi { background: var(--coral); }
.fb.info { background: var(--bg-2); display: block; }
.fb b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
textarea, input[type="text"], input[type="email"] { width: 100%; font: 600 1rem/1.55 var(--f-body); color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; resize: vertical; transition: border-color .15s, background .15s; }
textarea:focus, input:focus { outline: none; border-color: var(--blue); background: #fff; }
.wc { font-size: 0.86rem; color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.wc.good { color: var(--mint-d); } .wc.badc { color: var(--coral-d); }
.q .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.solution { margin-top: 16px; border-top: 2px dashed var(--line); padding-top: 16px; animation: fadeUp .4s both; }
.solution .model { background: var(--mint-50); border-radius: var(--r-sm); padding: 16px 18px; border-left: 5px solid var(--mint); }
.solution .model p:last-child { margin-bottom: 0; }
.crit { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 0.95rem; font-weight: 600; }
.crit li { padding-left: 30px; position: relative; color: var(--muted); }
.crit li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 7px; background: var(--blue-50); color: var(--blue); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }
.ai-box { margin-top: 16px; border-radius: var(--r-sm); padding: 18px; background: linear-gradient(135deg, var(--violet-50), var(--blue-50)); border: 2px solid #d6cbff; animation: pop .4s both; }
.ai-box .score { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--violet-d); font-variant-numeric: tabular-nums; }
.ai-box ul { margin: 6px 0 0; padding-left: 20px; }
.params { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.params div { background: var(--surface); border-radius: 12px; padding: 8px; text-align: center; font-size: 0.8rem; font-weight: 800; color: var(--muted); }
.params b { display: block; font-size: 1.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* XP e confetti */
.xp-pop { position: fixed; z-index: 90; pointer-events: none; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--yellow-d); text-shadow: 0 2px 0 #fff, 0 0 12px rgba(255, 199, 44, 0.6); animation: xpUp 1.2s ease-out forwards; }
.confetti { position: fixed; z-index: 89; pointer-events: none; width: 10px; height: 14px; border-radius: 3px; animation: confetti 1.1s cubic-bezier(.15, .7, .3, 1) forwards; }

/* ---------- exames ---------- */
.exam-card { position: relative; display: grid; gap: 12px; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.exam-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.exam-card .year { position: absolute; right: 16px; top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 4.4rem; color: var(--blue-50); line-height: 1; }
.exam-card > * { position: relative; }
.exam-card .temas { display: flex; flex-wrap: wrap; gap: 6px; }
.exam-card .lock { position: absolute; top: 16px; right: 16px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.links .btn { background: rgba(255, 255, 255, 0.95); color: var(--blue-d); box-shadow: none; }
.notice { font-size: 0.95rem; font-weight: 600; color: var(--muted); background: var(--yellow-50); border-radius: var(--r-sm); padding: 12px 16px; margin: 16px 0 0; }
.group-sec { margin-top: 34px; }
.group-sec > h2 { display: flex; align-items: center; gap: 12px; font-size: 1.55rem; margin-bottom: 16px; }
.group-sec > h2 .gi { width: 42px; height: 42px; border-radius: 13px; background: var(--g); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 var(--g-d); }
.group-sec > h2 .gi svg { width: 22px; height: 22px; }
.part-title { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; margin: 24px 0 8px; color: var(--g-d, var(--ink)); }

/* ---------- simulado ---------- */
.timer { position: sticky; top: 78px; z-index: 30; background: linear-gradient(90deg, var(--blue), var(--violet)); color: #fff; border-radius: 18px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 18px; box-shadow: var(--shadow-lg); font-weight: 800; }
.timer .t { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; display: inline-flex; gap: 8px; align-items: center; }
.timer .t svg { width: 22px; height: 22px; }
.timer.tol { background: linear-gradient(90deg, var(--coral), #ff9f1c); }
.sim-intro { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .sim-intro { grid-template-columns: 1.3fr 0.7fr; } }
.rules { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.rules li .n { width: 30px; height: 30px; border-radius: 10px; background: var(--blue-50); color: var(--blue-d); display: grid; place-items: center; font-weight: 800; flex: none; }
.result { display: grid; gap: 20px; align-items: center; background: var(--surface); border-radius: 28px; padding: 26px; box-shadow: var(--shadow-lg); border: 2px solid var(--line); margin-top: 20px; }
@media (min-width: 760px) { .result { grid-template-columns: auto 1fr; } }
.score-ring { position: relative; width: 190px; height: 190px; margin: 0 auto; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 16; stroke-linecap: round; }
.score-ring .bgc { stroke: var(--bg-2); }
.score-ring .fgc { stroke: url(#ringGrad); transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .val b { display: block; font-family: var(--f-display); font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.score-ring .val span { font-weight: 800; color: var(--muted); font-size: 0.9rem; }
.score-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-weight: 700; }
.score-row input[type="range"] { flex: 1; min-width: 160px; accent-color: var(--blue); height: 26px; }

/* ---------- explicador ---------- */
.tutor-head { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: 24px; padding: 16px 18px; box-shadow: var(--shadow); border: 2px solid var(--line); margin-bottom: 16px; }
.tutor-head .lince { width: 74px; height: 74px; flex: none; animation: floaty 4s ease-in-out infinite; }
.tutor-head .on { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.85rem; color: var(--mint-d); }
.tutor-head .on::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); }
.chat { display: grid; gap: 14px; }
.msgs { display: grid; gap: 14px; align-content: start; min-height: 30vh; }
.msg { max-width: 88%; padding: 13px 17px; border-radius: 20px; line-height: 1.55; font-weight: 600; animation: pop .3s both; }
.msg p { margin: 0 0 0.6em; } .msg p:last-child { margin: 0; }
.msg ul { margin: 0.2em 0 0.6em; padding-left: 20px; }
.msg.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 4px 0 var(--blue-d); }
.msg.bot { justify-self: start; background: var(--surface); border: 2px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.typing { display: inline-flex; gap: 5px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.composer { display: flex; gap: 8px; align-items: flex-end; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 8px; position: sticky; bottom: 90px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .composer { bottom: 18px; } }
.composer textarea { border: 0; background: transparent; min-height: 46px; max-height: 160px; }
.suggest { display: grid; gap: 10px; }
@media (min-width: 640px) { .suggest { grid-template-columns: 1fr 1fr; } }
.suggest button { display: flex; gap: 10px; align-items: center; font: 700 0.95rem var(--f-body); background: var(--surface); border: 2px solid var(--line); color: var(--ink); border-radius: 16px; padding: 12px 14px; cursor: pointer; text-align: left; box-shadow: 0 4px 0 var(--line); transition: transform .15s, border-color .15s; }
.suggest button:hover { border-color: var(--blue); transform: translateY(-2px); }
.suggest button .ti { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.suggest button .ti svg { width: 17px; height: 17px; }

/* ---------- avaliações ---------- */
.reviews-sum { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stars { color: var(--yellow-d); letter-spacing: 2px; font-size: 1.15rem; }
.review { display: grid; gap: 8px; }
.review .who { font-weight: 800; }
.empty { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 2px dashed #c9d8ff; border-radius: var(--r); padding: 20px 22px; color: var(--muted); font-weight: 700; }
.empty .lince { width: 64px; height: 64px; flex: none; }
.star-input { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; cursor: pointer; color: var(--line); line-height: 1; transition: transform .15s, color .15s; }
.star-input label:hover { transform: scale(1.2); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--yellow); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }
.form { display: grid; gap: 12px; }
.form .lbl { font-weight: 800; font-size: 0.95rem; }

/* ---------- preços ---------- */
.plans { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1.15fr; align-items: stretch; } }
.plan { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: 28px; padding: 30px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow); }
.plan.main { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, var(--blue), var(--violet), var(--coral)) border-box; border: 3px solid transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan .price { font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { display: block; font-family: var(--f-body); font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 32px; position: relative; font-weight: 700; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--mint); color: #fff; font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "–"; background: var(--bg-2); color: var(--muted); }
.plan .flag { position: absolute; top: -16px; left: 26px; background: var(--yellow); color: #3a2a00; font-weight: 800; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--yellow-d); }

.guarantee { display: flex; gap: 12px; align-items: center; background: var(--mint-50); border-radius: 14px; padding: 12px 14px; font-weight: 600; color: var(--ink); }
.guarantee > svg { width: 30px; height: 30px; color: var(--mint-d); flex: none; }
.guarantee b { display: block; color: var(--mint-d); }
.seal-band { display: flex; gap: 22px; align-items: center; max-width: 980px; margin: 30px auto 0; background: var(--surface); border: 2px dashed #9fe3c4; border-radius: 26px; padding: 22px 26px; box-shadow: var(--shadow); }
.seal-band h3 { font-size: 1.4rem; margin-bottom: 4px; }
.seal-band p { margin: 0; color: var(--muted); font-weight: 600; }
.seal { position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle, var(--mint) 0 54%, var(--mint-50) 55%); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; box-shadow: 0 6px 0 var(--mint-d); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { font: 800 9px var(--f-body); letter-spacing: 0.5px; fill: var(--mint-d); }
.seal b { font-family: var(--f-display); font-size: 2rem; line-height: 1; position: relative; }
.seal span { font-weight: 800; font-size: 0.8rem; position: relative; margin-top: -2px; }
@media (max-width: 560px) { .seal-band { flex-direction: column; text-align: center; } }

.meters { display: grid; gap: 12px; }
.meter .lab { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.88rem; margin-bottom: 5px; }
.meter .bar { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.meter .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--coral)); transition: width .6s; }
.lock-card { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; background: linear-gradient(135deg, var(--violet-50), var(--blue-50)); border: 2px solid #d6cbff; border-radius: var(--r); padding: 16px 18px; }
.lock-card .lk { width: 44px; height: 44px; border-radius: 14px; background: var(--violet); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 0 var(--violet-d); }
.lock-card .lk svg { width: 22px; height: 22px; }
.lock-card > div { flex: 1; min-width: 180px; }
.lock-card b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.lock-card span { font-weight: 600; color: var(--muted); }
.fade-out { position: relative; max-height: 270px; overflow: hidden; }
.fade-out::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--surface)); }
.keypoints li.blurred { filter: blur(4px); user-select: none; opacity: .7; }
.locked-q { background: repeating-linear-gradient(135deg, var(--surface) 0 14px, #fafbff 14px 28px); }
.locked-q .q-text { color: var(--muted); }
.pw-head { display: flex; gap: 14px; align-items: center; }
.pw-head .lince { width: 84px; height: 84px; flex: none; animation: floaty 4s ease-in-out infinite; }
.pw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pw-stats div { background: var(--bg); border-radius: 14px; padding: 10px; text-align: center; }
.pw-stats b { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pw-stats span { font-size: 0.78rem; font-weight: 800; color: var(--muted); }
.pw-loss { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 800; color: var(--coral-d); }
.pw-loss svg { width: 20px; height: 20px; }
.pw-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pw-list li { padding-left: 30px; position: relative; font-weight: 700; }
.pw-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 7px; background: var(--mint); color: #fff; font-weight: 800; font-size: 0.78rem; display: grid; place-items: center; }
.modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.demo-bar button { margin-left: 10px; font: 800 0.8rem var(--f-body); background: #fff; color: var(--blue-d); border: 0; border-radius: 999px; padding: 4px 12px; cursor: pointer; }

/* ---------- FAQ ---------- */
details { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px 20px; transition: border-color .2s; }
details + details { margin-top: 12px; }
details[open] { border-color: var(--blue); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--blue-50); color: var(--blue); font-weight: 800; display: grid; place-items: center; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: 40px 28px; background: linear-gradient(120deg, var(--blue), var(--violet)); color: #fff; display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-lg); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 46px 52px; } }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-band p { margin: 8px 0 0; opacity: 0.9; font-weight: 700; }
.cta-band .lince { width: 150px; height: 150px; justify-self: center; animation: floaty 4.5s ease-in-out infinite; }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(14, 18, 44, 0.55); z-index: 80; display: grid; place-items: center; padding: 20px; animation: fadeUp .2s both; }
.modal { background: var(--surface); border-radius: 26px; max-width: 460px; width: 100%; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); animation: pop .3s both; }
.modal h3 { font-size: 1.5rem; }

/* ---------- rodapé ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 40px 0 46px; font-size: 0.92rem; }
.foot .wrap { display: grid; gap: 14px; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot .logo { color: #fff; }

.spin { display: inline-block; width: 16px; height: 16px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }

/* ============================================================
   Previsão 2027, ligações à matéria e incentivos à subscrição
   ============================================================ */
@keyframes pulseHot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 91, .45); } 50% { box-shadow: 0 0 0 7px rgba(255, 107, 91, 0); } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 199, 44, .9); } 100% { box-shadow: 0 0 0 18px rgba(255, 199, 44, 0); } }
@keyframes toastIn { from { transform: translate(-50%, -16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes slideUp { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

.nav a.hot { color: var(--coral-d); }
.nav a.hot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 7px; vertical-align: 1px; animation: pulseHot 1.8s infinite; }
.nav a.hot[aria-current="page"] { background: var(--coral); color: #fff; }
.nav a.hot[aria-current="page"]::before { background: #fff; }
@media (min-width: 900px) and (max-width: 1120px) { .nav a { padding: 9px 10px; font-size: 0.92rem; } }

.flash { animation: flash 1.1s ease-out 2; border-radius: var(--r); }

/* «Rever a matéria» em cada item de exame */
.rev-link { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--blue-50); color: var(--blue-d); font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.rev-link:hover { border-color: var(--blue); transform: translateX(3px); }
.rev-link svg { width: 18px; height: 18px; flex: none; }
.rev-link span { flex: 1; }

/* chip «provável em 2027» */
.chip.hot { background: var(--coral-50); color: var(--coral-d); }
.chip.hot svg { width: 14px; height: 14px; }
.toc .chip.hot { background: #fff; }
.banner .toc .tm { background: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 800; font-size: 0.86rem; padding: 6px 12px; border-radius: 999px; }
.prev-banner { background: linear-gradient(120deg, #ff6b5b 0%, #8a5cff 60%, #2d6bff 100%); }
.prev-banner .big-ico { color: #ffd65c; }

/* nível de probabilidade */
.nivel { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 0.8rem; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.nivel svg { width: 14px; height: 14px; }
.nivel.n3 { background: var(--coral); color: #fff; }
.nivel.n2 { background: var(--yellow); color: #3a2a00; }
.nivel.n1 { background: var(--blue-50); color: var(--blue-d); }
.nivel.n0 { background: var(--bg-2); color: var(--muted); }
.nivel.n-lock { background: var(--violet-50); color: var(--violet-d); }

/* faixa da previsão na página inicial */
.prev-band { position: relative; overflow: hidden; border-radius: 32px; padding: 32px 26px; color: #fff; background: linear-gradient(125deg, #ff6b5b 0%, #8a5cff 55%, #2d6bff 100%); background-size: 160% 160%; animation: gradientMove 12s ease-in-out infinite alternate; display: grid; gap: 26px; box-shadow: var(--shadow-lg); }
.prev-band::after { content: "2027"; position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-weight: 700; font-size: 9rem; color: rgba(255, 255, 255, 0.1); line-height: 1; pointer-events: none; }
.prev-band h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 14px 0 10px; }
.prev-band p { font-weight: 700; opacity: .95; }
.hot-pill { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.hot-pill svg { width: 16px; height: 16px; color: #ffd65c; }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); }
.pb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; align-content: center; }
.pb-list li a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; color: var(--ink); text-decoration: none; border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 0 rgba(20, 26, 60, 0.15); transition: transform .2s; }
.pb-list li a:hover { transform: translateX(4px); }
.pb-list li a b { flex: 1; min-width: 140px; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; }
.pb-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.pb-list .rk { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.22); font-family: var(--f-display); font-weight: 700; }
.pb-list li.lk a b { filter: blur(5px); user-select: none; }
.pb-list li.lk svg { width: 18px; height: 18px; color: var(--violet-d); }
.pb-list li.more { grid-template-columns: 1fr; }
.pb-list li.more a { background: transparent; color: #fff; box-shadow: none; border: 2px dashed rgba(255, 255, 255, 0.55); justify-content: center; font-weight: 800; }
.pb-list li.more svg { width: 18px; height: 18px; }
@media (min-width: 940px) { .prev-band { grid-template-columns: 1.1fr 0.9fr; padding: 44px; } }

/* preços: por dia, contagem e comparação */
.per-day { margin: -4px 0 0; display: flex; gap: 6px; align-items: center; font-weight: 800; color: var(--mint-d); }
.per-day svg { width: 18px; height: 18px; color: var(--yellow-d); }
.cd-box { display: flex; gap: 10px; align-items: center; background: var(--coral-50); color: var(--coral-d); border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.cd-box svg { width: 20px; height: 20px; flex: none; }
.cd-box b, [data-cd] { font-variant-numeric: tabular-nums; }
.compare { max-width: 980px; margin: 30px auto 0; overflow-x: auto; background: var(--surface); border: 2px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 700; }
.compare th[scope="row"] { text-align: left; font-weight: 700; }
.compare thead th { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.compare .c { background: var(--blue-50); color: var(--blue-d); font-weight: 800; }
.compare thead .c { background: var(--blue); color: #fff; border-radius: 16px 16px 0 0; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes, .compare .nope { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.compare .yes { background: var(--mint); color: #fff; }
.compare .nope { background: var(--bg-2); color: var(--muted); }
.compare .yes svg, .compare .nope svg { width: 16px; height: 16px; }
.pw-price { display: grid; gap: 2px; background: var(--yellow-50); border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.pw-price s { color: var(--muted); }
.cta-band .pw-price { background: rgba(255, 255, 255, 0.16); margin-top: 14px; max-width: 520px; }
.cta-band .pw-price s { color: rgba(255, 255, 255, 0.75); }

/* painel: dias para o exame */
.cd-exam { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: rgba(255, 255, 255, 0.18); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.cd-exam svg { width: 18px; height: 18px; }

/* faixa fixa do preço de lançamento */
.promo-bar { position: fixed; z-index: 39; left: 8px; right: 8px; bottom: calc(70px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(20, 26, 60, 0.35); font-size: 0.9rem; }
.promo-bar .pb-fire { width: 32px; height: 32px; border-radius: 10px; background: var(--coral); display: grid; place-items: center; flex: none; animation: pulseHot 1.8s infinite; }
.promo-bar .pb-fire svg { width: 18px; height: 18px; color: #ffd65c; }
.promo-bar .pb-txt { flex: 1; line-height: 1.3; font-weight: 700; min-width: 0; }
.promo-bar .pb-txt s { opacity: .65; }
.promo-bar .pb-cd { display: block; font-size: 0.82rem; opacity: .9; }
.promo-bar .btn { flex: none; }
.promo-bar .pb-x { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.promo-bar .pb-x svg { width: 16px; height: 16px; }
body.has-promo { padding-bottom: 140px; }
@media (min-width: 900px) {
  .promo-bar { left: 50%; right: auto; bottom: 18px; transform: translateX(-50%); padding: 8px 8px 8px 14px; border-radius: 999px; animation: slideUp .5s ease both; }
  .promo-bar .pb-cd { display: inline; margin-left: 8px; }
  .promo-bar .btn { border-radius: 999px; }
  .promo-bar .pb-x { border-radius: 50%; }
  body.has-promo { padding-bottom: 80px; }
}

/* aviso de embalo (3 certas seguidas) */
.toast { position: fixed; z-index: 60; left: 50%; top: 84px; transform: translateX(-50%); width: min(520px, calc(100% - 20px)); display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--yellow); border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow-lg); animation: toastIn .45s ease both; transition: opacity .35s, transform .35s; }
.toast.out { opacity: 0; transform: translate(-50%, -14px); }
.toast .tl { width: 52px; height: 52px; flex: none; }
.toast .tl .lince { width: 52px; height: 52px; }
.toast > div { flex: 1; display: grid; gap: 2px; font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.toast > div b { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }

/* página de tópico: «já saiu no exame» */
.hist-box { margin-top: 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.hist-prev { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed var(--line); font-weight: 600; }
.hist-prev > span:nth-child(2) { flex: 1; min-width: 200px; }
.hist-prev a { font-weight: 800; display: inline-flex; gap: 4px; align-items: center; text-decoration: none; }
.hist-prev a svg { width: 16px; height: 16px; }
.hist-sum { margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.hist-sum b { color: var(--ink); }
.hist-years { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.hy { position: relative; display: grid; text-align: center; padding: 8px 4px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
.hy b { font-family: var(--f-display); font-size: 1rem; }
.hy.on { background: var(--g, var(--blue)); color: #fff; box-shadow: 0 3px 0 var(--g-d, var(--blue-d)); }
.hy i { position: absolute; top: -8px; right: -6px; min-width: 22px; height: 22px; border-radius: 8px; background: var(--yellow); color: #3a2a00; font-style: normal; font-weight: 800; font-size: 0.78rem; display: grid; place-items: center; padding: 0 4px; }
.hy i svg { width: 13px; height: 13px; }
.hist-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 720px) { .hist-items { grid-template-columns: 1fr 1fr; } }
.hist-items a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg); text-decoration: none; color: var(--ink); font-weight: 700; transition: background .2s; }
.hist-items a:hover { background: var(--blue-50); }
.hist-items a > span:nth-child(2) { flex: 1; }
.hist-items svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.hi-ex { background: var(--blue); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.hi-ex.prev { background: var(--coral); }

/* lista de exames: cartão do Exame Previsto */
.prev-card { position: relative; overflow: hidden; display: grid; gap: 18px; text-decoration: none; color: #fff; border-radius: 30px; padding: 30px 26px; background: linear-gradient(125deg, #ff6b5b 0%, #8a5cff 55%, #2d6bff 100%); background-size: 160% 160%; animation: gradientMove 12s ease-in-out infinite alternate; box-shadow: var(--shadow-lg); transition: transform .25s; }
.prev-card:hover { transform: translateY(-5px); }
.prev-card .flag { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; background: var(--yellow); color: #3a2a00; font-weight: 800; font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 3px 0 var(--yellow-d); }
.prev-card .flag svg { width: 15px; height: 15px; }
.prev-card .lock { position: absolute; z-index: 2; top: 58px; right: 20px; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, 0.2); display: grid; place-items: center; }
.prev-card .pc-main { display: grid; gap: 12px; position: relative; z-index: 1; }
.prev-card h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); padding-right: 70px; }
.prev-card p { margin: 0; font-weight: 700; opacity: .95; }
.prev-card .temas { display: flex; flex-wrap: wrap; gap: 6px; }
.prev-card .temas .chip { background: rgba(255, 255, 255, 0.2); color: #fff; }
.prev-card .pc-why { font-weight: 800; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }
.prev-card .pc-art { display: none; position: relative; }
.prev-card .pc-art b { position: absolute; inset: auto 0 10px; text-align: center; font-family: var(--f-display); font-size: 5.5rem; line-height: 1; color: rgba(255, 255, 255, 0.16); }
.prev-card .pc-art .lince { position: relative; width: 190px; height: 190px; animation: floaty 5s ease-in-out infinite; }
@media (min-width: 860px) { .prev-card { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; } .prev-card .pc-art { display: block; } }
.map-link { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s; }
.map-link:hover { transform: translateY(-3px); }
.map-link .tile { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex: none; }
.map-link .tile svg { width: 24px; height: 24px; color: #ffd65c; }
.map-link > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.map-link b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.map-link > span span { color: var(--muted); font-weight: 600; }
.map-link > svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* exame bloqueado: o que tem */
.teaser-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.teaser h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 12px; }
.teaser h3 .gi { width: 36px; height: 36px; border-radius: 12px; background: var(--g); color: #fff; display: grid; place-items: center; flex: none; }
.teaser h3 .gi svg { width: 20px; height: 20px; }
.teaser ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.teaser li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.93rem; }
.teaser li a, .teaser li > span:nth-child(3) { flex: 1; }
.teaser li .chip { font-size: 0.72rem; padding: 2px 8px; }
.teaser li svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.q-n { min-width: 28px; height: 28px; border-radius: 9px; background: var(--bg-2); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; }

/* página Prováveis */
.kpi-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
@media (min-width: 860px) { .kpi-row { grid-template-columns: repeat(4, 1fr); } }
.kpi-row .stat b { font-size: 2.1rem; }
.preds { display: grid; gap: 14px; }
@media (min-width: 900px) { .preds { grid-template-columns: 1fr 1fr; } }
.pred { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.pred .rk { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--g, var(--blue)); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; box-shadow: 0 4px 0 var(--g-d, var(--blue-d)); }
.pred .pb { flex: 1; display: grid; gap: 8px; min-width: 0; }
.pred .pm { display: flex; flex-wrap: wrap; gap: 6px; }
.pred h3 { font-size: 1.25rem; }
.pred h3 a { color: var(--ink); text-decoration: none; }
.pred h3 a:hover { color: var(--blue); }
.pred p { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.pred.locked { align-items: center; background: linear-gradient(135deg, var(--violet-50), var(--blue-50)); border-color: #d6cbff; }
.pred.locked .rk { background: var(--violet); box-shadow: 0 4px 0 var(--violet-d); }
.pred.locked h3, .pred.locked p { filter: blur(5px); user-select: none; }
.pred.locked .btn svg { width: 16px; height: 16px; }
.heat { overflow-x: auto; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); margin-top: 6px; }
.heat table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; font-size: 0.9rem; }
.heat th, .heat td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.heat thead th { position: sticky; top: 0; background: var(--surface); font-weight: 800; line-height: 1.15; }
.heat thead th small { display: block; color: var(--muted); font-weight: 700; font-size: 0.74rem; }
.heat th[scope="row"], .heat thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left; min-width: 180px; max-width: 230px; padding-left: 14px; font-weight: 700; }
.heat th[scope="row"] a { color: var(--ink); text-decoration: none; }
.heat th[scope="row"] a:hover { color: var(--blue); }
.heat tr.sec th { text-align: left; background: var(--bg); color: var(--blue-d); font-weight: 800; font-size: 0.78rem; letter-spacing: .05em; text-transform: uppercase; padding: 9px 14px; position: static; }
.heat td span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; }
.heat td.l span { background: var(--violet); }
.heat td span svg { width: 16px; height: 16px; }
.heat td.tot { font-weight: 800; color: var(--blue-d); white-space: nowrap; }
.heat td.tot.zero { color: var(--coral-d); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 1.2fr) 2fr auto; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.92rem; }
.bar-row .bt { height: 14px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar-row .bt i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.bar-row b { font-variant-numeric: tabular-nums; }
.g3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g3 a { display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: var(--coral-50); color: var(--ink); text-decoration: none; font-weight: 700; }
.g3 a:last-child { background: var(--violet-50); }
.g3 a b { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.how { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .prev-band, .prev-card, .nav a.hot::before, .promo-bar .pb-fire { animation: none; } }

.teaser .t-opt { background: var(--surface); border: 1.5px dashed var(--muted); }
.heat th[scope="row"] small { font-weight: 600; font-size: 0.78rem; }
.promo-bar .pb-price, .promo-bar .pb-cd { white-space: nowrap; }
@media (max-width: 899px) {
  .promo-bar { font-size: 0.86rem; gap: 8px; }
  .promo-bar .pb-lab { display: none; }
  .promo-bar .pb-cd { font-size: 0.76rem; }
  .promo-bar .btn-sm { padding: 9px 12px; font-size: 0.86rem; }
  body.has-promo { padding-bottom: 130px; }
}
@media (max-width: 600px) {
  .compare th, .compare td { padding: 10px 8px; font-size: 0.86rem; }
  .compare thead th { font-size: 1rem; }
  .compare th[scope="row"] { padding-left: 14px; }
}
@media (max-width: 859px) { .prev-card .flag { position: static; justify-self: start; } .prev-card .lock { top: 18px; } }
.swipe-hint { display: none; }
@media (max-width: 600px) {
  .heat th[scope="row"], .heat thead th:first-child { min-width: 128px; max-width: 150px; font-size: 0.82rem; padding-left: 10px; }
  .heat td span { width: 26px; height: 26px; }
  .swipe-hint { display: block; font-size: 0.85rem; font-weight: 800; color: var(--blue); margin: 4px 0 6px; }
}
.promo-bar .pb-after { opacity: .75; font-weight: 700; font-size: .9em; }

/* ============================================================
   Tom mais sério para o secundário (sobrepõe-se ao que está acima)
   ============================================================ */
h1, h2, h3, h4 { letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; }
h2 { font-weight: 700; }
.btn { border-radius: 12px; font-weight: 700; }
.btn-primary { box-shadow: 0 3px 0 var(--blue-d); }
.btn-yellow { box-shadow: 0 3px 0 var(--yellow-d); }
.btn-ghost { box-shadow: 0 3px 0 var(--blue-50); }
.btn-primary:active, .btn-yellow:active, .btn-ghost:active { transform: translateY(2px); }
.btn-sm { border-radius: 10px; }
.btn-sm.btn-primary, .btn-sm.btn-yellow, .btn-sm.btn-ghost { box-shadow: 0 2px 0 var(--blue-d); }
.btn-sm.btn-yellow { box-shadow: 0 2px 0 var(--yellow-d); }
.btn-sm.btn-ghost { box-shadow: 0 2px 0 var(--blue-50); }
.step .tile, .feat .tile { box-shadow: 0 3px 0 rgba(20, 26, 60, 0.10); }
.block-title .n { box-shadow: 0 3px 0 var(--g-d, var(--blue-d)); }
.sym { color: rgba(45, 107, 255, 0.07); }
.logo { letter-spacing: -0.03em; }
.filters button { font-weight: 700; }
.chip { font-weight: 700; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.foot .linklike { color: inherit; }

/* hub do Estudar */
.hub { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 18px; }
.hub-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.hub-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.hub-card .tile { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.hub-card .tile svg { width: 22px; height: 22px; }
.hub-card .tile.bg-yellow { color: #3a2a00; }
.hub-card > span:last-child { display: grid; gap: 1px; min-width: 0; }
.hub-card b { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.hub-card > span:last-child > span { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.streak-warn { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 16px; border-radius: var(--r); background: var(--coral-50); color: var(--coral-d); text-decoration: none; font-weight: 600; border: 2px solid #ffd2cb; }
.streak-warn svg { width: 22px; height: 22px; flex: none; }
.streak-warn span { flex: 1; }

/* erros e treino */
.err-stats { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.err-stats > div { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 12px 18px; display: grid; min-width: 130px; }
.err-stats b { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.err-stats span { color: var(--muted); font-weight: 700; font-size: 0.88rem; }
.err-src { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 0 -8px; flex-wrap: wrap; }
.err-src a { font-weight: 700; font-size: 0.9rem; display: inline-flex; gap: 4px; align-items: center; text-decoration: none; }
.err-src a svg { width: 15px; height: 15px; }
.fixed-note { margin-bottom: 10px; }
.tr-setup { display: grid; gap: 10px; max-width: 640px; }
.tr-setup .filters { margin: 0; }
.tr-bar { position: sticky; top: 76px; z-index: 5; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow); }
.tr-bar .lab { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.92rem; margin-bottom: 6px; }
.tr-bar .bar { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.tr-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: inherit; transition: width .4s; }
.tr-result { margin-top: 22px; display: grid; gap: 10px; text-align: center; justify-items: center; }
.tr-result h2 { font-size: 2.4rem; }

/* plano de estudo */
.plan-intro { display: grid; gap: 20px; }
@media (min-width: 900px) { .plan-intro { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.plan-form { display: grid; gap: 10px; }
.plan-form select, .reminder select, #pl-hora { font: 600 1rem var(--f-body); padding: 10px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day span { display: inline-grid; place-items: center; min-width: 50px; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--line); font-weight: 800; font-size: 0.9rem; background: var(--surface); }
.day input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.day input:focus-visible + span { outline: 3px solid var(--yellow); }
.cd-line { display: flex; gap: 8px; align-items: center; font-weight: 700; margin: 14px 0 0; }
.cd-line svg { width: 18px; height: 18px; color: var(--coral); }
.plan-top { display: grid; gap: 12px; margin-bottom: 18px; }
.plan-prog { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.plan-prog > div:last-child { display: grid; gap: 2px; }
.plan-prog b { font-family: var(--f-display); font-size: 1.2rem; }
.plan-prog span { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.plan-warn { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--coral-50); color: var(--coral-d); font-weight: 700; }
.plan-warn svg { width: 18px; height: 18px; flex: none; }
.plan-layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .plan-layout { grid-template-columns: 1fr 320px; align-items: start; } }
.today { border-color: var(--blue); }
.today h2 { font-size: 1.5rem; margin: 4px 0 12px; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 2px solid transparent; }
.task a { flex: 1; display: grid; text-decoration: none; color: var(--ink); min-width: 0; }
.task a b { font-weight: 700; }
.task a span { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.task .tk { width: 30px; height: 30px; border-radius: 9px; border: 2px solid #c6d3ee; background: var(--surface); display: grid; place-items: center; color: transparent; cursor: pointer; flex: none; transition: background .2s, border-color .2s; }
.task .tk svg { width: 16px; height: 16px; }
.task.done .tk { background: var(--mint); border-color: var(--mint); color: #fff; }
.task.done a b { text-decoration: line-through; color: var(--muted); }
.task .tl svg { color: var(--muted); }
.task .tt { font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-d); white-space: nowrap; }
.task .tt.exame, .task .tt.simulado { background: var(--coral-50); color: var(--coral-d); }
.task .tt.escrita { background: var(--violet-50); color: var(--violet-d); }
.task .tt.treino { background: var(--yellow-50); color: #7a5600; }
.task .tt.revisao { background: var(--mint-50); color: var(--mint-d); }
@media (max-width: 560px) { .task .tt { display: none; } }
.week { margin-top: 22px; }
.week h3 { font-size: 1.15rem; margin-bottom: 10px; }
.sess { margin-bottom: 12px; }
.sess .sd { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 6px 4px; }
.all-weeks { margin-top: 20px; }
.all-weeks summary { font-weight: 800; }

/* email e testadores */
.lead-form { display: grid; gap: 8px; }
.lead-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-row input { flex: 1; min-width: 180px; font: 600 1rem var(--f-body); padding: 11px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); }
.lead-row input:focus { outline: none; border-color: var(--blue); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.lead-msg { margin: 0; font-weight: 700; color: var(--coral-d); min-height: 1em; }
.lead-done { display: flex; gap: 8px; align-items: center; font-weight: 800; color: var(--mint-d); }
.lead-done svg { width: 18px; height: 18px; }
.lead-band { display: grid; gap: 22px; padding: 30px 26px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .lead-band { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 36px 40px; } }
.lead-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0; }
.lead-band p { color: var(--muted); font-weight: 600; margin: 0; }
.tester-band { display: grid; gap: 12px; margin-top: 14px; padding: 18px 22px; border-radius: var(--r); background: var(--yellow-50); border: 2px dashed var(--yellow); font-weight: 600; }
@media (min-width: 900px) { .tester-band { grid-template-columns: 1fr 1fr; align-items: center; } }

/* simulados */
.sim-card { position: relative; display: grid; gap: 10px; align-content: start; }
.sim-card h3 { font-size: 1.3rem; }
.sim-card .btn { justify-self: start; }
.sim-card .lock { position: absolute; top: 16px; right: 16px; color: var(--muted); }
.sim-card.locked { opacity: .92; }

/* cábula */
.cab-group { margin-top: 30px; }
.cab-group h2 { font-size: 1.5rem; margin-bottom: 14px; }
.cab-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cab-card { background: var(--surface); border: 2px solid var(--line); border-top: 5px solid var(--g, var(--blue)); border-radius: var(--r); padding: 16px 18px; break-inside: avoid; }
.cab-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cab-card h3 a { color: var(--ink); text-decoration: none; }
.cab-card ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.93rem; font-weight: 500; }
.cab-card li.blurred { filter: blur(4px); user-select: none; }
.install h3 { margin-bottom: 6px; }

/* impressão: resumo de tópico e cábula */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0 !important; font-size: 11.5pt; color: #000; }
  .top, .tabbar, .demo-bar, .promo-bar, .toast, .foot, .aside, .btn, .lock-card, .no-print, .xp-pop, .confetti, [data-meters], .marquee, .modal-bg { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; animation: none !important; }
  .banner { background: none !important; color: #000 !important; box-shadow: none !important; border: 2px solid #000; }
  .banner .big-ico, .banner .toc, .banner::after { display: none !important; }
  .banner .crumbs, .banner .crumbs a { color: #333 !important; }
  .topic-layout { display: block !important; }
  body.print-topic .q, body.print-topic .locked-q, body.print-topic #exercicios, body.print-topic .topic-nav, body.print-topic .hist-box { display: none !important; }
  .prose-block, .keypoints li, .exam-note, .cab-card { box-shadow: none !important; border-color: #999 !important; background: #fff !important; }
  a { color: #000; text-decoration: none; }
  .cab-grid { display: block; }
  .cab-card { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .hub { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hub-card:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .hub-card .tile { width: 38px; height: 38px; }
}

/* para pais */
.dash-share { justify-self: start; position: relative; }
.share-pre { white-space: pre-wrap; font: 600 0.95rem/1.5 var(--f-body); background: #e7ffdb; color: #1f3a12; border-radius: 14px; padding: 14px 16px; margin: 0; border: 1px solid #c9eeb5; }
.pais-hero { padding: 34px 0 18px; display: grid; gap: 14px; max-width: 820px; }
.pais-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.pais-hero p { font-size: 1.12rem; color: var(--muted); font-weight: 600; margin: 0; }
.hl-y { background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 2px; }
.pais-facts { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 860px) { .pais-facts { grid-template-columns: repeat(3, 1fr); } }
.pais-fact { display: grid; gap: 8px; align-content: start; }
.pais-fact .tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.pais-fact .tile svg { width: 24px; height: 24px; }
.pais-fact p { margin: 0; color: var(--muted); font-weight: 600; }
.pais-split { display: grid; gap: 20px; align-items: center; margin-top: 30px; padding: 26px; border-radius: 26px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 860px) { .pais-split { grid-template-columns: 1.1fr 0.9fr; padding: 34px; } }
.pais-split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0; }
.pais-split p { color: var(--muted); font-weight: 600; margin: 0; }
.pais-price { margin-top: 26px; padding: 26px; border-radius: 26px; background: var(--yellow-50); border: 2px solid #ffe39a; }
.pais-price h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0; }
.pais-price p { font-weight: 600; margin: 0 0 12px; }
.pais-band { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--violet-50); border: 2px solid #d6cbff; text-decoration: none; color: var(--ink); transition: transform .2s; }
.pais-band:hover { transform: translateY(-3px); }
.pais-band .tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.pais-band .tile svg { width: 24px; height: 24px; }
.pais-band > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.pais-band b { font-family: var(--f-display); font-size: 1.15rem; }
.pais-band > span span { color: var(--muted); font-weight: 600; }
.pais-band > svg { width: 22px; height: 22px; color: var(--violet-d); flex: none; }

/* tempo até ao exame */
.tempo { display: grid; gap: 18px; align-items: center; padding: 24px; border-radius: 26px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
@media (min-width: 860px) { .tempo { grid-template-columns: 1.2fr 1fr; padding: 32px; } }
.tempo h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0; }
.tempo p { color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.tempo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tempo-cols .tc:only-child { grid-column: 1 / -1; }
.tc { border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.tc b { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.tc span { font-weight: 700; font-size: .92rem; }
.tc.now { background: var(--mint-50, #e6f8ef); color: #0f6b43; }
.tc.late { background: var(--coral-50, #ffece8); color: #b23a22; }

/* feita por */
.made-by { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; font-size: .98rem; color: var(--ink); box-shadow: 0 2px 0 var(--line); }
.made-by svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--violet); color: #fff; flex: none; }
.made-by b { color: var(--violet-d); }
.made-by.center { margin-left: auto; margin-right: auto; }
@media (max-width: 520px) { .made-by { font-size: .9rem; border-radius: 16px; } }
.hero-made { margin: 0 0 18px; }
@media (max-width: 520px) { .hero .lead { margin-bottom: 14px; } .hero-made { margin-bottom: 16px; } }
.section-head .made-by { display: flex; color: var(--ink); font-size: .98rem; text-align: left; width: fit-content; max-width: 100%; }

/* auditoria: sem deslocamento lateral no telemóvel */
.topic-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .topic-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.prose-block table { display: block; max-width: 100%; overflow-x: auto; }
.prose-block, .keypoints li { overflow-wrap: anywhere; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stat { padding: 16px; } .stat span, .stat p { overflow-wrap: anywhere; } }
@media (max-width: 520px) { .stat b { font-size: 2.1rem; } .stat .tile { width: 40px; height: 40px; border-radius: 12px; } .stat .tile svg { width: 22px; height: 22px; } .stat .top-row { gap: 10px; } }

/* termos */
.legal section { margin-top: 26px; }
.legal h2 { font-size: 1.35rem; margin: 0 0 8px; }
.legal p, .legal li { font-weight: 600; color: var(--ink-2, var(--ink)); line-height: 1.6; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal .miss { background: #fff1c2; color: #7a5200; border-radius: 6px; padding: 1px 6px; font-weight: 800; }
.legal-warn { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff1c2; border: 2px solid #ffd666; font-weight: 700; }
.legal-warn code { font-size: .9em; }
.buy-terms { margin: 8px 0 0; font-weight: 600; }
.foot-contact a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- convida amigos ---------- */
.convite { box-sizing: border-box; max-width: 100%; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin: 16px 0; background: linear-gradient(135deg, var(--yellow-50), #fff); border: 2px solid #ffe08a; border-radius: var(--r); padding: 14px 18px; }
.convite b { display: block; font-family: var(--f-display, inherit); font-size: 1.05rem; }
.convite span { display: block; font-weight: 600; color: var(--muted); font-size: .95rem; }
.convite .conv-dots { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 800; color: var(--ink); }
.convite .conv-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ffe08a; }
.convite .conv-dots i.on { background: var(--yellow-d); }
.convite > div { min-width: 0; flex: 1 1 220px; }
.convite .row { flex-wrap: wrap; }
.convite select { width: 100%; font: inherit; font-weight: 700; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--line); max-width: 100%; }
.convite.done { justify-content: flex-start; gap: 10px; }
.convite.done svg { flex: none; color: var(--yellow-d); }
.convite.done span { color: var(--ink); }

/* ---------- contas ---------- */
.acc-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 9px; font-weight: 800; font-size: 0.9rem; text-decoration: none; color: var(--ink); white-space: nowrap; margin-left: 8px; }
.acc-chip[hidden] { display: none; }
.acc-chip svg { width: 18px; height: 18px; color: var(--blue); }
.acc-chip .av { width: 26px; height: 26px; margin: -3px -6px -3px -4px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 0.85rem; }
@media (max-width: 560px) { .acc-chip .t { display: none; } .acc-chip { padding: 5px 7px; } }
.conta-card p { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.conta-card p b { color: var(--muted); font-weight: 700; }
.login-codigo { margin-top: 10px; }
#login-token { letter-spacing: .3em; font-weight: 800; font-size: 1.3rem; }
#login-email[readonly] { color: var(--muted); }

.inst-chip { cursor: pointer; font: inherit; font-weight: 800; font-size: 0.9rem; }
.inst-chip svg { color: var(--mint-d); }
@media (max-width: 560px) { .inst-chip .t { display: none; } }
.inst-passos { padding-left: 22px; font-weight: 600; line-height: 1.6; margin: 0 0 12px; }
@media (max-width: 480px) {
  .top .wrap { gap: 6px; }
  .acc-chip { margin-left: 0; }
  .logo { font-size: 1.35rem; gap: 6px; }
  .logo .lince { width: 36px; height: 36px; }
  .xp-chip { gap: 6px; padding: 5px 10px 5px 8px; }
}
@media (max-width: 400px) { .xp-chip .fl { display: none; } }

/* cabeçalho: nada encolhe ao ponto de cortar o texto */
.top .cta, .xp-chip, .acc-chip, .logo { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 900px) {
  .acc-chip .t, .inst-chip .t { display: none; }
  .acc-chip { padding: 5px 7px; }
}
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1239px) { .top .cta { display: none; } }
@media (min-width: 900px) { .nav a { padding: 9px 11px; } .acc-chip { margin-left: 0; } .top .wrap { gap: 10px; } }
@media (min-width: 900px) and (max-width: 1099px) { .nav a { padding: 8px 8px; font-size: 0.92rem; } .xp-chip .fl { display: none; } }

/* setas recuar / avançar */
.hist { display: inline-flex; gap: 4px; flex-shrink: 0; }
.hist-b { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.hist-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hist-b:hover:not(:disabled) { background: var(--blue-50); color: var(--blue); border-color: var(--blue); }
.hist-b:disabled { opacity: .35; cursor: default; }
@media (max-width: 480px) { .hist { gap: 2px; } .hist-b { width: 30px; height: 30px; } .hist-b svg { width: 16px; height: 16px; } }
@media (min-width: 1240px) { .top .wrap { gap: 8px; } .nav a { padding: 9px 9px; } }
@media (min-width: 900px) and (max-width: 1099px) { .logo { font-size: 1.3rem; gap: 5px; } .logo .lince { width: 34px; height: 34px; } .nav a { padding: 8px 6px; } .top .wrap { gap: 7px; } }
@media (max-width: 400px) { .logo > span:last-child { display: none; } }

/* matéria completa */
.banner::after { pointer-events: none; }
.banner .mat-btn { margin-top: 4px; justify-self: start; position: relative; z-index: 1; }
.mat-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border: 2px solid var(--yellow); background: #fffaf0; }
.mat-card .mi { font-size: 1.8rem; }
.mat-card b { display: block; }
.mat-card span span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.mat-list { display: grid; gap: 12px; margin-top: 22px; }
.mat-sec { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; overflow: hidden; }
.mat-sec[open] { border-color: var(--blue); }
.mat-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: 1.08rem; }
.mat-sec summary::-webkit-details-marker { display: none; }
.mat-sec summary .n { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.mat-sec summary b { flex: 1; }
.mat-sec .prose-block { margin: 0 14px 14px; box-shadow: none; }
