/* =========================================================
   BEDROCK — página inicial (index.html)
   Carregada depois de styles.css. Tudo aqui vale só dentro
   de body.home; cabeçalho e rodapé continuam vindo de styles.css.
   Tema claro e escuro seguem o sistema operacional.
   ========================================================= */
.home {
  --h-bg: #E7EFF5; --h-card: #FFFFFF; --h-tint: #EEF3FA;
  --h-ink: #191F3A; --h-ink2: #2A3152; --h-text: #3F4660; --h-mute: #5A627A; --h-faint: #646C82;
  --h-line: #DCE1EC; --h-line2: #E8ECF3; --h-sunk: #E8ECF3;
  --h-acc: #3667AD; --h-acc-ink: #2B5594; --h-acc-soft: #E6EEF8; --h-acc-line: #A9C2E6;
  --h-glow: rgba(54,103,173,.18); --h-glow2: rgba(169,194,230,.3); --h-hl: rgba(54,103,173,.38);
  --h-shadow: 0 30px 80px rgba(25,31,58,.08);
  --f-disp: 'Poppins', 'Red Hat Text', -apple-system, 'Segoe UI', sans-serif;
  --f-ui: 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap-h: 1200px;
  background: var(--h-bg); color: var(--h-ink); font-family: var(--f-ui);
}
@supports (color: red) {
  html[data-tema="escuro"] .home {
    --h-bg: #0E1328; --h-card: #161D3A; --h-tint: #1A2244;
    --h-ink: #F2F4F8; --h-ink2: #DCE1EC; --h-text: #C9CEDB; --h-mute: #A9B0C2; --h-faint: #7F88A0;
    --h-line: #2A3358; --h-line2: #222A4B; --h-sunk: #1B2242;
    --h-acc: #3667AD; --h-acc-ink: #A9C2E6; --h-acc-soft: #16223F; --h-acc-line: #2B4A7E;
    --h-glow: rgba(54,103,173,.16); --h-glow2: rgba(169,194,230,.12); --h-hl: rgba(54,103,173,.45);
    --h-shadow: 0 30px 80px rgba(0,0,0,.4);
  }
}
.home main { padding-top: var(--header-h); }
.home a { color: inherit; }
.home h1, .home h2, .home h3 { font-family: var(--f-disp); font-weight: 800; color: var(--h-ink); margin: 0; }
.home p { margin: 0; }

.w { max-width: var(--wrap-h); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { border-top: 1px solid var(--h-line); }
.sec > .w { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
/* rótulo pequeno: o padrão do site (Red Hat Text 600, minúsculas, espaçamento .16em) */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--h-mute); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.h2 .dim, .dim { color: var(--h-faint); }
.lead { font-size: 17px; line-height: 1.6; color: var(--h-text); max-width: 470px; }
.head-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 40px; align-items: end; margin-bottom: 48px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.pill { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--h-acc-ink); border: 1px solid var(--h-acc-line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }

/* botões */
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 12px; font-family: var(--f-ui); font-size: 16px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--dur-rapida) var(--ease-out); text-decoration: none; }
.h-btn:active { transform: scale(.98); }
.h-btn--dark { background: var(--h-ink); color: var(--h-bg) !important; }
.h-btn--dark:hover { background: var(--h-ink2); }
.h-btn--line { background: transparent; color: var(--h-ink); border-color: var(--h-line); }
.h-btn--line:hover { border-color: var(--h-ink); }
.h-btn--md { height: 44px; font-size: 15px; padding: 0 18px; }
.h-btn--full { width: 100%; }
.h-link { font-size: 15px; font-weight: 600; padding: 14px 8px; color: var(--h-ink); text-decoration: none; }
.h-link--under { padding: 6px 0; border-bottom: 1.5px solid var(--h-ink); align-self: flex-start; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 85% 0%, var(--h-glow), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, var(--h-glow2), transparent 70%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 46%, rgba(0,0,0,.18), #000 80%); mask-image: radial-gradient(ellipse 42% 38% at 50% 46%, rgba(0,0,0,.18), #000 80%); }
.hero-in { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: clamp(28px, 6vh, 88px) 24px clamp(64px, 10vw, 128px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; pointer-events: none; }
.hero-in > * { pointer-events: auto; }
/* O título também respeita a altura da tela: num notebook (≈ 625px úteis)
   ele encolhe o bastante para os botões aparecerem sem rolar. */
.hero h1 { font-size: clamp(40px, min(7.4vw, 11.5vh), 104px); line-height: .98; letter-spacing: -.05em; }
.hero h1 > span { display: block; }
.hl { background-image: linear-gradient(transparent 58%, var(--h-hl) 58%, var(--h-hl) 92%, transparent 92%); background-repeat: no-repeat; background-size: 0% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; margin: 0 -.06em; transition: background-size .7s var(--ease-in-out); }
.hl.is-on, .no-js .hl { background-size: 100% 100%; }
.hero p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--h-text); max-width: 500px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.exam-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: color-mix(in srgb, var(--h-card) 85%, transparent); border: 1px solid var(--h-line); border-radius: 14px; padding: 6px 6px 6px 16px; max-width: 440px; width: 100%; }
.exam-pick span { font-size: 13px; color: var(--h-mute); white-space: nowrap; }
.exam-pick select { flex: 1; min-width: 0; border: none; background: transparent; font-family: var(--f-disp); font-weight: 700; font-size: 16px; color: var(--h-ink); padding: 8px 4px; cursor: pointer; outline: none; }
.exam-pick select option { color: #191F3A; }
.exam-pick a { height: 38px; padding: 0 14px; border-radius: 10px; background: var(--h-bg); color: var(--h-ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; white-space: nowrap; text-decoration: none; }
.exam-pick a:hover { background: var(--h-line); }
.approvals { position: relative; z-index: 1; border-top: 1px solid var(--h-line); padding: 20px 0 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center; }
.approvals .kicker { font-size: 11px; }
.approvals b { font-family: var(--f-disp); font-weight: 700; font-size: 16px; color: var(--h-ink2); }

/* ---------- o que vem ---------- */
.inc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.inc-head .stack { max-width: 640px; }
.grid-cells { display: grid; gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); border-radius: 18px; overflow: hidden; }
.inc-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.inc { background: var(--h-card); padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.inc--free { background: linear-gradient(160deg, var(--h-card) 40%, var(--h-acc-soft)); }
.inc-top { display: flex; justify-content: space-between; align-items: center; }
.num { font-family: var(--f-disp); font-weight: 800; font-size: 15px; color: var(--h-faint); }
/* o nome do método sempre em itálico, como na plataforma */
em.metodo { font-style: italic; }
/* .inc .inc-top span.free vence o .inc span:last-child, que pintava o selo de cinza */
.inc .inc-top span.free, .free { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #FFFFFF; background: var(--h-acc); padding: 4px 10px; border-radius: 999px; }
.inc b { margin-top: 28px; font-family: var(--f-disp); font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.inc span:last-child { font-size: 15px; color: var(--h-text); line-height: 1.5; }

/* ---------- instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.insta .stack { gap: 20px; }
.fan { position: relative; height: clamp(340px, 40vw, 400px); display: flex; justify-content: center; align-items: center; cursor: pointer; }
.post { position: absolute; width: clamp(190px, 20vw, 240px); aspect-ratio: 4/5; border-radius: 16px; background: linear-gradient(160deg, #1C1B19 0%, #191F3A 60%); box-shadow: 0 30px 60px rgba(14,14,13,.18); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: #E7EFF5; transition: transform .6s var(--ease-out); --k: 0; --sp: 56px; --tilt: 6deg; --dy: 18px;
  transform: translateX(calc(var(--k) * var(--sp))) translateY(calc(var(--a) * var(--dy))) rotate(calc(var(--k) * var(--tilt))); }
.post:nth-child(1) { --k: -1; --a: 1; z-index: 2; } .post:nth-child(2) { --k: 0; --a: 0; z-index: 3; } .post:nth-child(3) { --k: 1; --a: 1; z-index: 2; }
.fan.is-open .post { --sp: 150px; --tilt: 10deg; --dy: 10px; }
/* abrir o leque ao passar o mouse só onde há mouse; no toque, o clique abre (.is-open) */
@media (hover: hover) and (pointer: fine) { .fan:hover .post { --sp: 150px; --tilt: 10deg; --dy: 10px; } }
@media (max-width: 899px) { .post { --sp: 36px; } .fan.is-open .post { --sp: 70px; } }
.post-top { display: flex; flex-direction: column; gap: 12px; }
.post-brand { font-family: var(--f-disp); font-weight: 800; font-size: 13px; letter-spacing: -.03em; }
.post-exam { font-family: var(--f-disp); font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.post-tag { align-self: flex-start; font-size: 9px; font-weight: 600; letter-spacing: .16em; padding: 4px 9px; border: 1px solid #3A3835; border-radius: 999px; color: #CFCBC4; white-space: nowrap; }
.post-title { font-family: var(--f-disp); font-weight: 800; font-size: 21px; line-height: 1.05; letter-spacing: -.035em; }
.post-q { align-self: flex-start; font-family: var(--f-disp); font-weight: 700; font-size: 12px; background: #E7EFF5; color: #191F3A; padding: 3px 7px; margin-top: 10px; display: inline-block; }

/* ---------- problema ---------- */
.prob { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; }
.flow { position: relative; width: 100%; max-width: 520px; height: 240px; margin-top: 16px; }
.flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rows { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--h-line); }
.row .n { font-size: 12px; font-weight: 600; color: var(--h-faint); padding-top: 6px; }
.row .t { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 2vw, 23px); line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.closing { padding-top: 24px; border-top: 1.5px solid var(--h-ink); font-family: var(--f-disp); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -.03em; }

/* ---------- matérias ---------- */
.h2--xl { font-size: clamp(36px, 4.8vw, 62px); line-height: 1; letter-spacing: -.045em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 14px; font-weight: 600; color: var(--h-ink); background: var(--h-card); border: 1px solid var(--h-line); border-radius: 999px; padding: 8px 14px; }
.subj { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.subj-list { display: flex; flex-direction: column; flex: 1 1 260px; border-top: 1px solid var(--h-line); }
.subj-btn { position: relative; text-align: left; cursor: pointer; background: none; border: none; border-bottom: 1px solid var(--h-line); padding: 22px 0 26px; display: flex; flex-direction: column; gap: 6px; font-family: var(--f-ui); color: var(--h-faint); }
.subj-btn .nm { display: flex; align-items: baseline; gap: 14px; }
.subj-btn .nm small { font-size: 12px; font-weight: 600; color: var(--h-faint); }
.subj-btn .nm b { font-family: var(--f-disp); font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.035em; transition: color .3s; }
.subj-btn .sb { font-size: 14px; color: var(--h-mute); padding-left: 32px; }
.subj-btn[aria-selected="true"] .nm b { color: var(--h-ink); }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; opacity: 0; }
.prog i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--h-ink); }
[aria-selected="true"] > .prog { opacity: 1; }
[aria-selected="true"] > .prog i { transform: none; }
.is-auto [aria-selected="true"] > .prog i { animation: hProg var(--ms, 6000ms) linear forwards; }
@keyframes hProg { from { transform: scaleX(0); } to { transform: none; } }
.panel { flex: 2 1 520px; min-width: 0; background: linear-gradient(170deg, var(--h-card) 55%, var(--h-tint)); border: 1px solid var(--h-line); border-radius: 18px; padding: clamp(24px, 3.4vw, 40px); }
/* Os três painéis ocupam a mesma célula e o quadro fica com a altura do
   maior. Com display:none cada troca automática mudava a altura da seção
   em até 160px, e tudo abaixo pulava — inclusive o destino das âncoras do
   menu no meio da rolagem. visibility tira o painel escondido da tela e
   dos leitores de tela do mesmo jeito. */
.panel { display: grid; }
.subj-panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 28px; }
.subj-panel:not(.is-off) { animation: hFade .35s var(--ease-out); }
/* Classe e não o atributo hidden: o [hidden] global do styles.css
   é display:none !important e voltaria a tirar o painel da célula. */
.subj-panel.is-off { visibility: hidden; }
@keyframes hFade { from { opacity: 0; } to { opacity: 1; } }
.subj-panel .kicker { color: var(--h-acc-ink); }
.subj-panel h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -.035em; max-width: 620px; }
.chem { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.chem div { background: var(--h-bg); border-radius: 14px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.chem strong { font-family: var(--f-disp); font-weight: 800; font-size: 52px; line-height: .9; letter-spacing: -.05em; color: var(--h-acc); }
.chem span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--h-mute); line-height: 1.35; }
.chem span b { font-size: 16px; color: var(--h-ink); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 24px; border-top: 1px solid var(--h-line); padding-top: 24px; }
.points div { display: flex; flex-direction: column; gap: 6px; }
.points small { font-size: 12px; font-weight: 600; color: var(--h-faint); }
.points b { font-size: 16px; }
.points span { font-size: 14px; color: var(--h-mute); line-height: 1.5; }

/* ---------- método ---------- */
.h2--xxl { font-size: clamp(40px, 5.4vw, 70px); line-height: .98; letter-spacing: -.045em; }
.board { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.pc { background: var(--h-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.pc--focus { background: var(--h-tint); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pc svg { width: 48px; height: 48px; color: var(--h-ink); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pc--focus svg { color: var(--h-acc); }
.pc small { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--h-faint); }
.pc b { font-family: var(--f-disp); font-size: 26px; letter-spacing: -.03em; line-height: 1.05; display: block; margin-top: 4px; }
.pc p { font-size: 15px; color: var(--h-text); line-height: 1.5; }
.bar { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.bar span { flex: 1; height: 3px; border-radius: 2px; background: var(--h-line2); overflow: hidden; display: block; }
.bar i { display: block; height: 100%; border-radius: 2px; width: var(--w); transform: scaleX(0); transform-origin: left center; background: var(--h-ink); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.board.is-seen .bar i, .no-js .bar i { transform: none; }
.bar em { font-style: normal; font-size: 12px; font-weight: 600; }
.pc--focus .bar i { background: var(--h-acc); } .pc--focus .bar em { color: var(--h-acc); }
.note { font-size: 13px; color: var(--h-faint); margin-top: 12px; }
@media (max-width: 899px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc { padding: 18px 16px; min-height: 0; }
  .pc svg { width: 36px; height: 36px; }
  .pc b { font-size: 19px; } .pc p { font-size: 13px; }
}
.cycle { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.cycle h3 { font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; }
.cycle ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 20px; }
.cycle li { border-top: 1px solid var(--h-ink); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.cycle small { font-size: 12px; font-weight: 600; color: var(--h-faint); }
.cycle b { font-family: var(--f-disp); font-size: 19px; letter-spacing: -.02em; }
.cycle span { font-size: 14px; color: var(--h-mute); line-height: 1.5; }

/* ---------- plataforma ---------- */
.app { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 20px; box-shadow: var(--h-shadow); overflow: hidden; }
.app-bar { padding: 12px 16px; border-bottom: 1px solid var(--h-line2); display: flex; gap: 6px; align-items: center; }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--h-line); display: block; }
.app-bar span { margin: 0 auto; font-size: 11px; color: var(--h-faint); background: var(--h-bg); border-radius: 6px; padding: 4px 14px; }
.app-body { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 300px); background: color-mix(in srgb, var(--h-bg) 50%, var(--h-card)); min-height: 460px; }
.app-nav { border-right: 1px solid var(--h-line2); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.app-nav .brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 18px; font-family: var(--f-disp); font-weight: 800; font-size: 16px; letter-spacing: -.03em; }
.app-nav .brand svg { width: 20px; height: 20px; color: var(--h-ink); }
.app-nav div { padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--h-mute); transition: background-color .2s ease, color .2s ease; }
.app-nav div.is-on { background: var(--h-ink); color: var(--h-bg); }

.app-hello { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.app-hello small { display: block; font-size: 12px; color: var(--h-faint); }
.app-hello strong { font-family: var(--f-disp); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.app-hello span { font-size: 12px; color: var(--h-mute); }

.card-h { display: flex; justify-content: space-between; font-size: 14px; } .card-h span { font-size: 12px; color: var(--h-mute); }
.task { display: grid; grid-template-columns: 46px 18px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--h-line2); }
.task time { font-size: 12px; color: var(--h-faint); font-variant-numeric: tabular-nums; }
.task .bx { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--h-line); display: flex; align-items: center; justify-content: center; color: var(--h-bg); font-size: 10px; font-weight: 800; }
.task.done .bx { border-color: var(--h-ink); background: var(--h-ink); }
.task div { display: flex; flex-direction: column; min-width: 0; font-size: 13px; font-weight: 600; }
.task div span { font-size: 12px; font-weight: 400; color: var(--h-faint); }
.task.done div { color: var(--h-faint); }

.msg-who { display: flex; align-items: center; gap: 10px; }
.msg-who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.msg-who b { font-size: 13px; display: block; } .msg-who span { font-size: 11px; color: var(--h-faint); }
.msg { font-size: 13px; line-height: 1.5; color: var(--h-ink2); }

.pf-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 4px 28px; }
.pf-step { position: relative; text-align: left; cursor: pointer; background: none; border: none; border-top: 1px solid var(--h-line); padding: 18px 0 8px; display: flex; flex-direction: column; gap: 6px; font-family: var(--f-ui); }
.pf-step .prog { top: -1px; bottom: auto; transition: opacity .4s; }
.pf-step b { font-family: var(--f-disp); font-size: 18px; letter-spacing: -.02em; color: var(--h-mute); transition: color .25s ease; }
.pf-step span { font-size: 14px; line-height: 1.5; color: var(--h-faint); transition: color .25s ease; }
.pf-step[aria-selected="true"] b { color: var(--h-ink); } .pf-step[aria-selected="true"] span { color: var(--h-ink2); }
@media (max-width: 899px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-nav { display: none; }
}

/* ---------- mentores ---------- */
.mentors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.mentor { display: flex; flex-direction: column; gap: 14px; }
.mentor figure { margin: 0; aspect-ratio: 4/5; width: 100%; border-radius: 16px; overflow: hidden; background: var(--h-sunk); }
.mentor img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .35s ease, transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mentor:hover img { filter: grayscale(0); transform: scale(1.02); } }
.mentor-n { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mentor-n b { font-family: var(--f-disp); font-size: 20px; letter-spacing: -.02em; }
.mentor-n span { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--h-mute); }
.mentor > div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--h-mute); }
.mentor .medal { font-weight: 600; color: var(--h-acc-ink); }

/* ---------- para quem ---------- */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit .kicker { padding-bottom: 16px; display: block; }
.fit li { padding: 16px 0; border-top: 1px solid var(--h-line); font-size: 16px; line-height: 1.5; }
.fit .no li { color: var(--h-text); }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 32px; border: 0; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font-size: 13px; font-weight: 600; color: var(--h-mute); padding: 0; margin-bottom: 12px; }
.opts-exam { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; text-align: left; padding: 14px 16px; border-radius: 12px; cursor: pointer; border: 1px solid var(--h-line); background: var(--h-card); color: var(--h-ink); display: flex; flex-direction: column; gap: 2px; transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-family: var(--f-disp); font-size: 16px; letter-spacing: -.01em; }
.opt small { font-size: 12px; opacity: .7; }
.opt:has(input:focus-visible) { outline: 2px solid var(--h-acc); outline-offset: 2px; }
.opts-exam .opt:has(input:checked) { background: var(--h-ink); color: var(--h-bg); border-color: var(--h-ink); }
.opts-rh { display: flex; flex-direction: column; gap: 8px; }
.opts-rh .opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; background: transparent; }
.opts-rh .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--h-line); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.opts-rh .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.opts-rh .opt:has(input:checked) { background: var(--h-card); border-color: var(--h-ink); }
.opts-rh .opt:has(input:checked) .dot { border-color: var(--h-ink); } .opts-rh .opt:has(input:checked) .dot::after { background: var(--h-ink); }
.opts-rh .opt span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--h-mute); }
.opts-rh .opt span b { font-family: var(--f-ui); font-size: 15px; color: var(--h-ink); }

.sum { background: linear-gradient(180deg, var(--h-card) 50%, var(--h-tint)); border: 1px solid var(--h-line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.sum-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sum-h b { font-family: var(--f-disp); font-weight: 700; font-size: 20px; }
.sum-h span { font-size: 11px; font-weight: 600; color: var(--h-mute); letter-spacing: .16em; }
.sum-d { font-size: 14px; color: var(--h-mute); line-height: 1.5; }
.price { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--h-line2); border-bottom: 1px solid var(--h-line2); }
.price small { font-size: 13px; color: var(--h-mute); }
.price strong { font-family: var(--f-disp); font-weight: 800; font-size: 52px; letter-spacing: -.04em; line-height: 1; }
.price strong em { font-style: normal; font-size: 17px; font-weight: 600; color: var(--h-mute); letter-spacing: 0; }
.price > span { font-size: 14px; color: var(--h-acc-ink); }
.sum ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sum li { display: flex; gap: 10px; font-size: 14px; color: var(--h-ink2); } .sum li::before { content: '—'; color: var(--h-faint); }
.sum-ctas { display: flex; flex-direction: column; gap: 8px; }
.sum-note { font-size: 12px; color: var(--h-mute); line-height: 1.5; text-align: center; }

/* ---------- dúvidas ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 40px; }
.faq > .stack { flex: 1 1 280px; }
.faq > .stack p { font-size: 16px; color: var(--h-text); line-height: 1.55; }
.faq > .stack a { text-decoration: underline; }
.faq-list { flex: 2 1 480px; min-width: 0; }
.faq-list details { border-top: 1px solid var(--h-line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-family: var(--f-disp); font-weight: 600; font-size: clamp(17px, 1.7vw, 19px); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 22px; font-weight: 300; transition: transform .2s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--h-text); max-width: 640px; }

/* ---------- fecho ---------- */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--h-line); background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--h-glow), transparent 70%); }
.final-in { max-width: 880px; margin: 0 auto; padding: clamp(96px, 12vw, 152px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.final h2 { font-size: clamp(40px, 5.8vw, 76px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.final p { font-size: 18px; color: var(--h-text); line-height: 1.55; max-width: 540px; }
.final ol { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.final li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--h-text); }
.final li b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--h-line); background: var(--h-card); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--h-ink); }

/* ---------- barra fixa no celular ---------- */
.barra-movel { display: none; }
@media (max-width: 899px) {
  .barra-movel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--h-bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--h-line); display: flex; gap: 8px; align-items: center; transition: transform .35s var(--ease-out), opacity .35s; }
  .barra-movel.is-escondida { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .barra-movel .h-btn { flex: 1; height: 48px; font-size: 15px; }
  .barra-movel .h-btn--line { flex: none; padding: 0 14px; font-size: 14px; background: var(--h-card); }
  .home .site-footer { padding-bottom: 76px; }
  .exam-pick { flex-wrap: wrap; }
}

/* entrada das seções: o main.js aplica .reveal / .is-in */
.home .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.home .reveal.is-in, .no-js .home .reveal { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .home .reveal { opacity: 1; transform: none; transition: none; }
  .hl { transition: none; background-size: 100% 100%; }
  .post, .mentor img, .bar i { transition: none; }
}

.tema-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: border-color var(--t), background var(--t); }
.tema-btn:hover { border-color: var(--fg); }
.tema-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tema-btn .sol { display: none; }
html[data-tema="escuro"] .tema-btn .sol { display: block; }
html[data-tema="escuro"] .tema-btn .lua { display: none; }
@media (max-width: 900px), (pointer: coarse) { .tema-btn { width: 44px; height: 44px; } }

/* ---------- integração com styles.css (cabeçalho, hero, tema) ---------- */
/* As duas cores-base de styles.css passam a ser as da paleta nova. Sem
   isto, cabeçalho, menu e rodapé ficavam no branco frio (#F5F5F5) e no
   preto puro do visual antigo, destoando do creme da página. */
:root { --bg-rgb: 245 244 241; --fg-rgb: 14 14 13; }
@supports (color: red) {
  html[data-tema="escuro"] {
    --bg-rgb: 15 14 13; --fg-rgb: 242 240 236;
    --bg: rgb(var(--bg-rgb)); --fg: rgb(var(--fg-rgb));
    --text: rgb(var(--fg-rgb) / .92); --text-dim: rgb(var(--fg-rgb) / .62); --text-mute: rgb(var(--fg-rgb) / .62);
    --line: rgb(var(--fg-rgb) / .18); --line-soft: rgb(var(--fg-rgb) / .09); --sunken: rgb(var(--fg-rgb) / .05);
    color-scheme: dark;
  }
}
.home .hero { display: block; min-height: 0; padding: 0; isolation: isolate; }
.home .hero-in { width: 100%; box-sizing: border-box; }
.home .nav > a { white-space: nowrap; }
/* a chamada do menu no formato dos botões novos (.h-btn--dark), sem a
   varredura do botão antigo */
.home .nav-cta { border-radius: 12px; border-color: var(--h-ink); background: var(--h-ink); color: var(--h-bg) !important; transition: background var(--t), border-color var(--t), transform var(--dur-rapida) var(--ease-out); }
.home .nav-cta::before { display: none; }
.home .nav-cta:hover, .home .nav-cta:focus-visible { background: var(--h-ink2); border-color: var(--h-ink2); color: var(--h-bg) !important; }
.home .nav-entrar, .home .entrar-movel { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.home .nav-entrar .logo-mark, .home .entrar-movel .logo-mark { width: 15px; height: 15px; flex: none; }
@media (min-width: 901px) {
  .home .entrar-movel { display: none; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .home .nav { gap: 22px; }
  .home .nav > a[href="#materias"], .home .nav > a[href="#programa"] { display: none; }
}

/* prévia: foco da semana e dúvidas */
.card-foco { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 16px; align-items: center; }
.foco-radar { width: 100%; max-width: 210px; height: auto; display: block; justify-self: center; overflow: visible; color: var(--h-ink); font-family: var(--f-sans, inherit); }
.foco-txt { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foco-txt small { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--h-mute); }
.foco-txt > span { font-size: 12px; line-height: 1.45; color: var(--h-text); }
.foco-nome { display: flex; align-items: center; gap: 12px; }
.foco-nome b { font-family: var(--f-disp); font-weight: 800; font-size: 26px; letter-spacing: -.04em; line-height: 1; color: var(--h-acc); }
.foco-peca { width: 46px; height: 46px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--h-acc) 12%, var(--h-card)); color: var(--h-acc); display: grid; place-items: center; }
.foco-peca svg { width: 32px; height: 32px; }
.card-h .novo { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #fff; background: var(--h-acc); border-radius: 999px; padding: 3px 8px; }
.duv-foto { height: 84px; border-radius: 10px; border: 1px solid var(--h-line2); background: repeating-linear-gradient(0deg, var(--h-bg) 0 18px, var(--h-line2) 18px 19px); display: flex; align-items: flex-end; padding: 8px; }
.duv-foto span { font-size: 11px; font-weight: 600; color: var(--h-mute); background: var(--h-card); border-radius: 6px; padding: 3px 8px; }

/* CTA fixo (computador): pílula azul com brilho pulsando.
   No celular a barra-movel já cumpre esse papel. */
.zap-fixo { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: #3667AD; color: #FFFFFF !important; font-family: 'Red Hat Text', system-ui, sans-serif; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; text-decoration: none !important; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 12px 30px rgba(54,103,173,.35); transform: translateY(16px); opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .4s ease, background .2s, box-shadow .2s; }
.zap-fixo::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(54,103,173,.7); opacity: 0; pointer-events: none; animation: zap-pulso 2.4s ease-out 1.2s 3; }
.zap-fixo svg { width: 22px; height: 22px; flex: none; color: #FFFFFF; }
.zap-fixo span { display: inline !important; color: #FFFFFF !important; font-size: 15px !important; font-weight: 700; position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; }
.zap-fixo:hover { background: #2B5594; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 14px 34px rgba(54,103,173,.45); }
.zap-fixo.is-on { opacity: 1; transform: none; pointer-events: auto; }
@keyframes zap-pulso { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.35); } }
@media (max-width: 899px) { .zap-fixo { display: none; } }
@media (prefers-reduced-motion: reduce) { .zap-fixo { transition: none; } .zap-fixo::after { animation: none; } }

/* ---------- páginas legais (termos, privacidade) ---------- */
.lg .w { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lg-topo { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--h-line); background: radial-gradient(ellipse 60% 80% at 85% 0%, var(--h-glow), transparent 70%); }
.lg-h1 { margin: 14px 0 0; font-family: var(--f-disp); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; color: var(--h-ink); max-width: 820px; text-wrap: balance; }
.lg-lead { margin: 20px 0 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--h-text); max-width: 620px; text-wrap: pretty; }
.lg-resumo { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); border-radius: 18px; overflow: hidden; }
.lg-resumo li { background: var(--h-card); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.lg-resumo b { font-family: var(--f-disp); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--h-ink); }
.lg-resumo span { font-size: 14px; line-height: 1.5; color: var(--h-mute); }
.lg-meio { padding: clamp(48px, 7vw, 88px) 0; }
.lg-grade { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lg-indice { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.lg-indice .kicker { margin-bottom: 10px; }
.lg-indice a { display: flex; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--h-mute); text-decoration: none; transition: background .2s, color .2s; }
.lg-indice a span { font-size: 12px; color: var(--h-faint); font-variant-numeric: tabular-nums; padding-top: 1px; }
.lg-indice a:hover { background: var(--h-sunk); color: var(--h-ink); text-decoration: none; }
.lg-corpo { display: flex; flex-direction: column; min-width: 0; }
.lg-sec { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--h-line); }
.lg-sec:first-child { border-top: 0; padding-top: 0; scroll-margin-top: 28px; } /* sem padding no topo: o respiro da âncora vem daqui, igual às outras */
.lg-num { font-family: var(--f-disp); font-weight: 800; font-size: 15px; color: var(--h-acc); padding-top: 4px; }
.lg-sec h2 { margin: 0 0 10px; font-family: var(--f-disp); font-weight: 700; font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -.03em; line-height: 1.15; color: var(--h-ink); }
.lg-sec h2 { text-wrap: balance; }
/* texto legal não espera animação para aparecer */
main.lg .reveal { opacity: 1; transform: none; filter: none; transition: none; }
/* página legal: sem barra de venda nem botão flutuante; o bloco de contato no fim é a saída */
body:has(main.lg) .barra-movel, body:has(main.lg) .zap-fixo { display: none !important; }
.lg-atual { margin: 14px 0 0; font-size: 14px; color: var(--h-mute); }
.lg-volta { margin: 28px 0 0; font-size: 15px; }
.lg-volta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--h-acc-ink); }
/* medida de leitura: ~70 caracteres por linha */
.lg-sec p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--h-text); max-width: 36em; text-wrap: pretty; }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec strong { color: var(--h-ink); }
.lg-sec a, .lg-data a, .lg-fim a:not(.h-btn) { color: var(--h-acc-ink); text-decoration: underline; text-decoration-color: var(--h-acc-line); text-underline-offset: 3px; }
.lg-data { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--h-line); font-size: 13px; color: var(--h-faint); }
.lg-fim { border-top: 1px solid var(--h-line); padding: clamp(48px, 7vw, 80px) 0; background: var(--h-tint); }
.lg-fim-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.lg-fim h2 { margin: 0 0 8px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; color: var(--h-ink); }
.lg-fim p { margin: 0; color: var(--h-text); }
.lg-fim-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .lg-grade { grid-template-columns: 1fr; }
  /* celular: o índice inteiro à vista em duas colunas compactas, em vez de uma faixa que rola de lado */
  .lg-indice { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding-bottom: 6px; }
  .lg-indice::-webkit-scrollbar { display: none; }
  .lg-indice .kicker { display: none; }
  .lg-indice a { margin: 0; padding: 6px 0; font-size: 13px; line-height: 1.3; }
  .lg-sec { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 960px) { .lg-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .lg-resumo { grid-template-columns: 1fr; } }

/* ---------- prévia: telas que trocam ---------- */
.app-telas { position: relative; min-width: 0; display: grid; }
.app-tela { grid-area: 1 / 1; padding: clamp(16px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; min-width: 0; opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .15s ease-out, transform .15s ease-out, visibility 0s .15s; }
.app-tela.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease-out) .12s, transform .3s var(--ease-out) .12s, visibility 0s; }
.no-js .app-tela:not([data-pf-tela="0"]) { display: none; }
.no-js .app-tela[data-pf-tela="0"] { opacity: 1; visibility: visible; transform: none; }
.app-body { grid-template-columns: 170px minmax(0, 1fr); }
.tcard { background: var(--h-card); border: 1px solid var(--h-line2); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hoje-grade { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.tcard.card-foco { display: grid; }
.sem-card { gap: 8px; }
.sem-head, .sem-grade { display: grid; grid-template-columns: 30px repeat(7, minmax(0, 1fr)); gap: 0; }
.sem-head span { text-align: center; font-size: 11px; font-weight: 600; color: var(--h-faint); }
.sem-head span.hoje { color: var(--h-acc); }
.sem-grade { height: 300px; }
.sem-horas { position: relative; }
.sem-horas span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 10px; color: var(--h-faint); font-variant-numeric: tabular-nums; }
.sem-col { position: relative; border-left: 1px solid var(--h-line2); background: repeating-linear-gradient(to bottom, var(--h-line2) 0 1px, transparent 1px 18.75px); }
.sem-col.hoje { background-color: var(--h-tint); }
.sbk { position: absolute; left: 2px; right: 2px; border-radius: 6px; padding: 4px 5px; overflow: hidden; font-style: normal; }
.sbk b { display: block; font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbk.m { background: var(--h-ink); color: var(--h-bg); }
.sbk.r { background: var(--h-sunk); color: var(--h-ink); }
.sbk.e { background: var(--h-acc); color: #fff; }
.sbk.s { background: var(--h-card); color: var(--h-ink); border: 1.5px dashed var(--h-mute); }
.sem-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; color: var(--h-mute); }
.sem-leg span { display: inline-flex; align-items: center; gap: 6px; }
.sem-leg i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.sem-leg i.m { background: var(--h-ink); } .sem-leg i.r { background: var(--h-sunk); border: 1px solid var(--h-line); } .sem-leg i.e { background: var(--h-acc); } .sem-leg i.s { border: 1.5px dashed var(--h-mute); }
.lst-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lst-chips span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--h-line); color: var(--h-mute); background: var(--h-card); }
.lst-chips span.on { background: var(--h-ink); color: var(--h-bg); border-color: var(--h-ink); }
.lst-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lst small { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--h-acc-ink); }
.lst b { font-family: var(--f-disp); font-size: 16px; letter-spacing: -.02em; color: var(--h-ink); }
.lst-bar { height: 6px; border-radius: 3px; background: var(--h-line2); overflow: hidden; display: block; }
.lst-bar i { display: block; height: 100%; border-radius: 3px; background: var(--h-ink); }
.lst-bar i.ok { background: var(--h-acc); }
.lst-n { font-size: 12px; color: var(--h-mute); }
.duv-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: start; }
.duv-lista { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fk-campo { display: flex; flex-direction: column; gap: 4px; }
.fk-campo small { font-size: 11px; font-weight: 600; color: var(--h-mute); }
.fk-campo > span { border: 1px solid var(--h-line); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: var(--h-ink); background: var(--h-card); }
.fk-campo .fk-ph { color: var(--h-faint); min-height: 52px; }
.fk-foto { border: 1.5px dashed var(--h-line); border-radius: 10px; padding: 20px 12px; text-align: center; font-size: 12px; font-weight: 600; color: var(--h-mute); }
.fk-btn { background: var(--h-ink); color: var(--h-bg); border-radius: 10px; text-align: center; padding: 11px; font-size: 13px; font-weight: 700; }
.tag-ok { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--h-mute); border: 1px solid var(--h-line); border-radius: 999px; padding: 3px 8px; text-transform: none; }
.duv-r { border-top: 1px solid var(--h-line2); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.duv-who { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.duv-who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.duv-foto--res { height: 64px; background: repeating-linear-gradient(90deg, var(--h-bg) 0 22px, var(--h-line2) 22px 23px); }
@media (max-width: 899px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .hoje-grade, .duv-grade { grid-template-columns: 1fr; }
  .app-tela[data-pf-tela="0"] .hoje-grade > :nth-child(2) { display: none; }
  .duv-grade > .tcard:first-child { display: none; }
  .sem-grade { height: 260px; }
  .sbk b { font-size: 0; }
}
@media (max-width: 560px) { .lst-grade { grid-template-columns: 1fr; } .lst-grade > :nth-child(n+4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .app-tela, .app-tela.is-on { transition: none; transform: none; } }

/* ---------- planos: botão principal (a conversa grátis) e prova escolhida ----------
   Sem anel girando: o botão é o escuro do sistema (.h-btn--dark); o destaque vem
   da posição e do tamanho, não de brilho. */
[data-sum-cta] { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-size: 16px !important; }
[data-sum-cta] svg { width: 20px; height: 20px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { [data-sum-cta]:hover svg { transform: translateX(3px); } }
.opts-exam .opt:has(input:checked) { background: var(--h-ink); color: var(--h-bg); border-color: var(--h-ink); }
/* só uma frequência para a prova: a escolha vira uma linha de aviso */
.ritmo-nota { margin: 4px 0 0; font-size: 14px; color: var(--h-text); }

/* peças registradas (<symbol id="peca-*">): silhueta cheia, não traço */
.pc svg.peca, .foco-peca svg.peca { fill: currentColor; stroke: none; }
/* <picture> (WebP com JPG de reserva) não entra no layout: a <img> segue filha do quadro */
.mentor picture, .msg-who picture, .duv-who picture { display: contents; }

/* resposta ao toque nos botões principais (checklist do Emil) */
.zap-fixo.is-on:active, [data-sum-cta]:active { transform: scale(.97); transition-duration: .12s; }


/* ---------- checkout (checkout.html) ----------
   Mesma casca das páginas legais (.lg); o resumo reaproveita o .sum do
   montador de plano, para a pessoa reconhecer o que escolheu. */
.ck-topo { padding-bottom: clamp(28px, 4vw, 44px); }
.ck-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ck-form { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ck-bloco { border: 1px solid var(--h-line); border-radius: 18px; background: var(--h-card); padding: clamp(20px, 3vw, 28px); margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ck-bloco legend { padding: 0 8px; margin-left: -8px; font-family: var(--f-disp); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--h-ink); }
.ck-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ck-campo > span { font-size: 14px; font-weight: 600; color: var(--h-ink2); }
.ck-campo small { font-size: 13px; line-height: 1.5; color: var(--h-mute); }
.ck-campo input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--h-line); border-radius: 12px; background: var(--h-bg); color: var(--h-ink); font: 500 16px var(--f-ui); transition: border-color .2s, box-shadow .2s; }
.ck-campo input:focus { outline: none; border-color: var(--h-ink); box-shadow: 0 0 0 3px var(--h-glow); }
.ck-campo input::placeholder { color: var(--h-faint); }
.ck-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ck-cupom { display: flex; gap: 8px; }
.ck-cupom input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.ck-armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ck-aceites { display: flex; flex-direction: column; gap: 12px; }
.ck-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--h-text); cursor: pointer; }
.ck-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--h-ink); }
.ck-check a { color: var(--h-acc-ink); text-decoration: underline; text-decoration-color: var(--h-acc-line); text-underline-offset: 3px; }
.ck-robo:empty { display: none; }
.ck-erro { margin: 0; padding: 12px 14px; border: 1px solid var(--h-acc-line); border-radius: 12px; background: var(--h-acc-soft); color: var(--h-acc-ink); font-size: 15px; line-height: 1.5; }
.ck-campo-erro { color: var(--h-acc-ink) !important; font-weight: 600; }
.ck-campo [aria-invalid="true"] { border-color: var(--h-acc-ink); }
.ck-nota + .ck-nota { margin-top: -12px; }
.ck-nota { margin: 0; font-size: 13px; line-height: 1.5; color: var(--h-mute); text-align: center; }
[data-ck-enviar][aria-busy="true"] { opacity: .7; cursor: progress; }
.ck-resumo { top: calc(var(--header-h) + 24px); }
.ck-cheio { font-size: 15px; color: var(--h-mute); }
.ck-trocar { font-size: 14px; font-weight: 600; color: var(--h-acc-ink) !important; text-align: center; }
.ck-sem-plano { max-width: 560px; display: flex; flex-direction: column; gap: 12px; }
.ck-sem-plano h2 { margin: 0; font-family: var(--f-disp); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; color: var(--h-ink); }
.ck-sem-plano p { margin: 0 0 8px; color: var(--h-text); }
@media (max-width: 860px) {
  .ck-grade { grid-template-columns: 1fr; }
  /* No celular o resumo vem antes: a pessoa confere o plano e o preço e só
     então preenche. */
  .ck-resumo { order: -1; position: static; }
}
@media (max-width: 480px) { .ck-dupla { grid-template-columns: 1fr; } }
/* Trocar de plano dentro do checkout: prova e frequência. */
.ck-troca { display: flex; flex-direction: column; gap: 14px; }
.ck-troca select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--h-line); border-radius: 12px; background: var(--h-bg); color: var(--h-ink); font: 600 15px var(--f-ui); }
.ck-troca select:focus { outline: none; border-color: var(--h-ink); box-shadow: 0 0 0 3px var(--h-glow); }
.ck-freq { border: 0; margin: 0; padding: 0; min-width: 0; }
.ck-freq legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--h-ink2); }
.ck-freq-opcoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.ck-freq-opcao { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--h-line); border-radius: 12px; background: var(--h-bg); cursor: pointer; transition: border-color .2s, background .2s; }
.ck-freq-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.ck-freq-opcao b { font-size: 15px; color: var(--h-ink); }
.ck-freq-opcao span { font-size: 13px; color: var(--h-mute); }
.ck-freq-opcao:has(input:checked) { border-color: var(--h-ink); background: var(--h-card); box-shadow: 0 0 0 1px var(--h-ink); }
.ck-freq-opcao:has(input:focus-visible) { outline: 2px solid var(--h-acc); outline-offset: 2px; }
