/* App mobile de coluna única. Regra 60/30/10: fundo neutro, texto escuro, verde só nas ações.
   A voz do mentor (Seu José) aparece sempre em Lora itálico, dentro de um balão com o avatar.
   Tipos: 28 / 20 / 16 / 13. Espaçamento em múltiplos de 4 e 8.

   Dividido em partes (18/10/2026, DECISOES.md "Arquivos menores"), carregadas nesta ordem por app/index.html e pelas páginas que usam os estilos do app
   (a cascata depende da ordem: conselhos/bin/app-partes.mjs confere no portão que toda página tem a lista inteira, na ordem). Cada parte fica abaixo de 10 mil tokens.
   Estilo novo: entra na parte da área; se for ajuste por cima de outro, na última (08). Partes:
   01-base.css: cores e tipos (:root, modo escuro), mentor, confiança, onboarding, Início, abas, Checklists, SOS
   02-aula.css: aula, imagens do Seu José, entrada, blocos, pagamento, sem internet, certificado, cartões, treino, plano, fechamento, prévia da Aula 2, vídeos
   03-quiz.css: onboarding em quiz, Entrar, abertura do app, abertura da aula, treino contínuo, conquista, cartões de tom, resumo, revisão
   04-identidade.css: identidade da LP no app (10/10 e 11/10): foco, selos, tela de compra, chips, "Como você quer fazer as aulas?"
   05-sprints.css: Sprint 2 e 3 (12/10): Aula 2 borrada, NPS, abas de baixo, plano, resumo marcável, bênção, fichas do SOS, padrinho, selos
   06-ajustes.css: ajustes do v43 (12/10) e de 16/10: seleção, antes × agora, medalha, mapa da aula, cores do cocô, fim da aula em blocos, parágrafo de 3 linhas, latão
   07-compromisso-eu.css: compromisso (16/10), aba Eu, Entrar por código, guia do iPhone, interior das fichas do SOS
   08-aprende.css: novo Aprende (17/10), balão do Seu José, normal ou perigo, prova, fim da aula, cartão da aula e o que veio depois */
:root {
  --bg: #F3F4F1;
  --surface: #FFFFFF;
  --ink: #1D2622;
  --ink-2: #4E5A54;
  --ink-3: #6E7A74;
  --line: #E1E5E0;
  --green: #1F5B45;
  --green-ink: #FFFFFF;
  --green-tint: #E7F0EB;
  --brass: #94651F;
  --brass-tint: #F6EEDF;
  --red: #C0392B;
  --red-tint: #FBE9E6;
  --amber: #8A5A00;
  --amber-tint: #FDF3DC;
  --ok: #217A4B;
  --ok-tint: #E3F3E9;
  --skin: #F2CDAE;
  --skin-adult: #D9A57E;
  --hair: #C9CDCB;
  --suit: #AFC6DA;
  --shirt: #2F6B55;
  --hand: #C98C63;
  --face: #5A4034;
  --shadow: 0 1px 2px rgba(31, 59, 48, .06), 0 8px 24px rgba(31, 59, 48, .07);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --voice: "Lora", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1412; --surface: #18201C; --ink: #E8EDEA; --ink-2: #B7C2BC; --ink-3: #93A09A; --line: #2A3530;
    --green: #7CC4A2; --green-ink: #0F1412; --green-tint: #1B2E25; --brass: #E0B26A; --brass-tint: #2C2518;
    --red: #F08A7C; --red-tint: #3A1F1B; --amber: #EBC46A; --amber-tint: #2F2814; --ok: #7BCB9C; --ok-tint: #183024;
    --skin: #E3BB98; --skin-adult: #C9936B; --hair: #9EA4A1; --suit: #5F7E99; --shirt: #3F8468; --hand: #BD8460; --face: #3E2C24;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1412; --surface: #18201C; --ink: #E8EDEA; --ink-2: #B7C2BC; --ink-3: #93A09A; --line: #2A3530;
  --green: #7CC4A2; --green-ink: #0F1412; --green-tint: #1B2E25; --brass: #E0B26A; --brass-tint: #2C2518;
  --red: #F08A7C; --red-tint: #3A1F1B; --amber: #EBC46A; --amber-tint: #2F2814; --ok: #7BCB9C; --ok-tint: #183024;
  --skin: #E3BB98; --skin-adult: #C9936B; --hair: #9EA4A1; --suit: #5F7E99; --shirt: #3F8468; --hand: #BD8460; --face: #3E2C24;
  --shadow: none; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.app { max-width: 480px; margin: 0 auto; padding-inline: 16px; padding-block: 0 112px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 800; text-wrap: balance; }
h3 { font-size: 16px; line-height: 1.4; font-weight: 700; }
.cap { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.body2 { color: var(--ink-2); }
.over { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.stack { display: grid; gap: 24px; }
.stack-16 { display: grid; gap: 16px; }
.stack-8 { display: grid; gap: 8px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.card.flat { box-shadow: none; }
.card.tint { background: var(--green-tint); border-color: transparent; box-shadow: none; }
.card.brass { background: var(--brass-tint); border-color: transparent; box-shadow: none; }
.btn { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: 16px; font-weight: 800; font-size: 16px; text-align: center; transition: opacity .15s, transform .15s; }
.btn:active { opacity: .85; }
.btn.primary { background: var(--green); color: var(--green-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn.secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.textlink { color: var(--green); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.textlink.p-gift { justify-self: center; gap: 8px; }

/* mentor */
.mentor { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.mentor .av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--brass-tint); }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 4px 20px 20px 20px; padding: 12px 16px; display: grid; gap: 4px; }
.bubble .who { font-size: 13px; font-weight: 700; color: var(--brass); }
.bubble p { font-family: var(--voice); font-style: italic; font-weight: 500; font-size: 16px; line-height: 1.55; color: var(--ink); }
.mentor.big .av { width: 64px; height: 64px; }
.mentor.big { grid-template-columns: 64px 1fr; }

/* confiança */
.trust { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.trust .ico { color: var(--green); width: 24px; height: 24px; }
.trust b { display: block; font-size: 13px; }
.trust span { font-size: 13px; color: var(--ink-3); }
.ph { background: var(--amber-tint); color: var(--amber); border-radius: 6px; padding: 0 4px; font-weight: 700; }

/* onboarding */
.onb { display: grid; gap: 24px; padding-block: 32px 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; color: var(--green); }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field textarea { min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); width: 100%; font: inherit; color: inherit; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; text-align: center; padding: 8px; }
.chip[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.howto { display: grid; gap: 16px; }
.howto li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.howto ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.howto .n { width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-weight: 800; }

/* início */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px 8px; }
.top .logo { font-size: 14px; white-space: nowrap; gap: 8px; }
.top .logo img { width: 32px; height: 32px; border-radius: 8px; }
button.logo-in { font: inherit; font-size: 14px; font-weight: 800; color: var(--green); background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; text-align: left; } /* nome no topo: botão para o Início (17/10) */
.countchip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-tint); padding: 6px 12px; border-radius: 99px; }
.hero { background: var(--green); color: var(--green-ink); border-radius: 24px; padding: 24px; display: grid; gap: 16px; }
.hero .over { color: var(--green-ink); opacity: .75; }
.hero-trig { margin: -6px 0 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--green-ink); opacity: .85; text-wrap: balance; }
.hero .bubble { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); }
.hero .bubble .who { color: var(--brass-tint); }
.hero .bubble p { color: var(--green-ink); }
.hero .btn.primary { background: var(--green-ink); color: var(--green); }
.hero .meta { display: flex; gap: 16px; font-size: 13px; font-weight: 700; opacity: .85; }
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .meta .ico { width: 16px; height: 16px; }
.days { display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); width: 100%; min-height: 64px; }
.day .d { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--bg); color: var(--ink-3); }
.day b { display: block; font-size: 15px; line-height: 1.35; }
.day small { font-size: 13px; color: var(--ink-3); }
.day .ico { color: var(--ink-3); }
.day.open { border-color: var(--green); }
.day.open .d { background: var(--green); color: var(--green-ink); }
.day.done .d { background: var(--ok-tint); color: var(--ok); }
.day.locked b { color: var(--ink-3); }
.section-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.week { display: grid; gap: 12px; }
.week-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.week-row .who { font-size: 13px; font-weight: 800; color: var(--brass); padding-top: 2px; }
.week-row p { font-size: 15px; color: var(--ink-2); }
.week-row.you p { color: var(--ink); font-weight: 700; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shortcut { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px; min-height: 88px; align-content: start; }
.shortcut b { font-size: 15px; }
.shortcut span { font-size: 13px; color: var(--ink-3); }
.shortcut .ico { color: var(--green); margin-bottom: 4px; }
.shortcut.sos .ico { color: var(--red); }
.novena { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.novena button { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; font-size: 14px; text-align: center; }
.novena button.on { background: var(--brass); border-color: var(--brass); color: var(--surface); }
.novena button.today { border-color: var(--brass); }
.prayer { font-family: var(--voice); font-style: italic; font-weight: 500; font-size: 16px; line-height: 1.6; }

/* abas */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px)); }
.tabbar-in { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.tab { display: grid; justify-items: center; gap: 2px; padding: 8px 0; min-height: 56px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-align: center; }
.tab .ico { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--green); }
.tab.sos[aria-current="page"] { color: var(--red); }

/* checklists */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--line); padding: 4px; border-radius: 14px; }
.seg button { min-height: 40px; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: center; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.checks { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 16px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.check .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: var(--surface); }
.check .box .ico { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
.check b { display: block; font-size: 15px; line-height: 1.4; }
.check .sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.check .when { display: inline-block; font-size: 12px; font-weight: 800; color: var(--brass); margin-top: 8px; }
.check.on { border-color: var(--ok); background: var(--ok-tint); }
.check.on .box { background: var(--ok); border-color: var(--ok); }
.check.on .box .ico { opacity: 1; }
.buy { display: grid; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.buy b { font-size: 15px; }
.pill { justify-self: start; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.pill.ess { background: var(--ok-tint); color: var(--ok); }
.pill.wait { background: var(--amber-tint); color: var(--amber); }
.pill.no { background: var(--red-tint); color: var(--red); }

/* SOS */
.call { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; background: var(--red); color: #FFFFFF; border-radius: 20px; padding: 16px 20px; text-decoration: none; }
.call .ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.call .ic .ico { width: 24px; height: 24px; }
.call b { display: block; font-size: 20px; font-weight: 800; }
.call span { font-size: 13px; opacity: .9; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nums a { color: inherit; text-decoration: none; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.nums b { font-size: 20px; font-weight: 800; user-select: all; }
.nums span { display: block; font-size: 13px; color: var(--ink-3); }
.fichas { display: grid; gap: 8px; }
.ficha { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; width: 100%; min-height: 64px; text-align: left; }
.ficha b { font-size: 15px; display: block; color: var(--ink); }
.ficha .ft span { font-size: 13px; color: var(--ink-3); }
.ficha > .ico { color: var(--ink-3); }
.ficha .fi { width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.sos-g { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sos-g .ico { width: 16px; height: 16px; }
.sos-g.emerg { color: var(--red); }
.sos-check { display: grid; gap: 8px; }
.sos-check > div { border-radius: 16px; padding: 12px 16px; display: grid; gap: 2px; border-left: 4px solid; }
.sos-check b { font-size: 15px; color: var(--ink); }
.sos-check span { font-size: 15px; }
.sos-check .ok { background: var(--ok-tint); border-color: var(--ok); } .sos-check .ok span { color: var(--ok); }
.sos-check .red { background: var(--red-tint); border-color: var(--red); } .sos-check .red span { color: var(--red); font-weight: 700; }
.sos-ir { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 6px; padding: 6px 0; border: 0; background: transparent; color: var(--red); font-weight: 600; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px; } /* atalho discreto: o forte da caixa é "siga os passos agora" (portão 22-24) */
.sos-check .red > span { font-size: 17px; font-weight: 800; }
.sos-ir .ico:last-child { margin-left: auto; }
.sos-mole:focus { outline: 3px solid var(--red); outline-offset: 3px; }
.sos-mole { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; background: var(--red); color: #FFFFFF; border-radius: 16px; padding: 16px; }
.sos-mole .ico { width: 24px; height: 24px; }
.sos-mole p { margin: 0; font-size: 16px; line-height: 1.45; }
.sos-mole b { color: #FFFFFF; }
.lvl { border-radius: 16px; padding: 16px 20px; display: grid; gap: 8px; }
.lvl h3 { font-size: 15px; }
.lvl ul, .lvl ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; line-height: 1.5; }
.lvl.red { background: var(--red-tint); } .lvl.red h3 { color: var(--red); }
.lvl.amber { background: var(--amber-tint); } .lvl.amber h3 { color: var(--amber); }
.lvl.green { background: var(--ok-tint); } .lvl.green h3 { color: var(--ok); }
.lvl .sos-steps { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.lvl .sos-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.lvl .sos-steps .sn { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }

