/* App, estilos parte 2 de 8: aula, imagens do Seu José, entrada, blocos, pagamento, sem internet, certificado, cartões, treino, plano, fechamento, prévia da Aula 2, vídeos. Mapa em css/app/01-base.css. */
/* aula */
.ltop { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); padding-block: 12px; margin-inline: -16px; padding-inline: 16px; display: grid; gap: 12px; } /* cobre a margem lateral: o carrossel (.deck, -16px) aparecia ao lado do X ao rolar (revisor visual 04-05) */
.ltop-row { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; }
.xbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stages div { display: grid; gap: 4px; font-size: 11px; font-weight: 700; text-align: center; color: var(--ink-3); }
.stages i { height: 6px; border-radius: 99px; background: var(--line); }
.stages .done i { background: var(--green); }
.stages .now i { background: var(--brass); }
.stages .now { color: var(--ink); }
.screen { display: grid; gap: 24px; padding-block: 8px 24px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two .card { padding: 16px; gap: 8px; }
.two ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; color: var(--ink-2); }
.risk h3 { color: var(--red); font-size: 14px; }
.safe h3 { color: var(--ok); font-size: 14px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; font-size: 18px; text-align: center; }
.scale button[aria-pressed="true"] { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.scale-l { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.video { aspect-ratio: 16/9; max-width: 100%; border-radius: 20px; background: #1B3A2F; color: #FFFFFF; display: grid; place-items: center; text-align: center; padding: 16px; }
.video .play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; margin: 0 auto 8px; }
.video .play .ico { width: 24px; height: 24px; fill: #FFFFFF; stroke: none; margin-left: 3px; }
.video b { display: block; }
.video span { font-size: 13px; opacity: .8; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-bottom: 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--green-tint); border: 2px solid var(--green); }
.timeline .when { font-size: 13px; font-weight: 800; color: var(--brass); }
.timeline p { font-size: 15px; color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.steps .fig { background: var(--brass-tint); }
.steps .txt { padding: 16px 20px 20px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.steps .n { width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: var(--green-ink); display: grid; place-items: center; font-weight: 800; }
.steps p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.ill { width: 100%; height: auto; display: block; }
.il-mat { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.il-post { fill: var(--line); }
.il-skin { fill: var(--skin); }
.il-suit { fill: var(--suit); }
.il-shirt { fill: var(--shirt); }
.il-arm { fill: none; stroke: var(--shirt); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.il-hand { fill: var(--hand); }
.il-face { fill: none; stroke: var(--face); stroke-width: 1.6; stroke-linecap: round; }
.il-ring { fill: none; stroke: var(--brass); stroke-width: 2; stroke-dasharray: 4 3; }
.il-arrow { fill: none; stroke: var(--brass); stroke-width: 3.5; stroke-linecap: round; }
.il-arrowhead { fill: var(--brass); }
.il-sound { fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; }
.rounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.round { text-wrap: balance; padding: 12px 8px; border-radius: 14px; border: 1.5px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; background: var(--surface); color: var(--ink-3); }
.round b { display: block; font-size: 16px; }
.round.now { border-color: var(--green); color: var(--green); }
.round.done { border-color: var(--ok); background: var(--ok-tint); color: var(--ok); }
.cue { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-align: center; }
.cue .fig { background: var(--brass-tint); border-radius: 14px; overflow: hidden; }
.cue .n { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.cue .t { font-size: 20px; font-weight: 800; line-height: 1.35; text-wrap: balance; }
.q { font-size: 20px; font-weight: 800; line-height: 1.35; }
.opt { padding: 16px; width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; font-size: 15px; min-height: 56px; }
.opt.right { border-color: var(--ok); background: var(--ok-tint); }
.opt.tried { border-color: var(--red); background: var(--red-tint); text-decoration: line-through; opacity: .8; }
.fb { border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.fb.right { background: var(--ok-tint); }
.fb.hint { background: var(--amber-tint); color: var(--amber); }
.fb .alert { font-size: 14px; font-weight: 700; color: var(--red); }
.dots { display: flex; gap: 8px; justify-content: center; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--green); width: 24px; border-radius: 99px; }
.dots i.done { background: var(--ok); }
.rules { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; }
.rules ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.part-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.part-h .st { font-size: 13px; font-weight: 800; color: var(--ink-3); }
.part-h .st.ok { color: var(--ok); }
.order { display: grid; gap: 8px; }
.order button { padding: 16px; display: grid; grid-template-columns: 24px 1fr; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; min-height: 56px; font-size: 15px; }
.order .pos { font-weight: 800; color: var(--ok); }
.order button.ok { border-color: var(--ok); background: var(--ok-tint); cursor: default; }
.order button.shake { border-color: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tf { display: grid; gap: 8px; }
.tf-row { display: grid; gap: 12px; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; }
.tf-row.ok { border-color: var(--ok); }
.tf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tf-btns button { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; text-align: center; background: var(--surface); }
.tf-btns button.right { border-color: var(--ok); background: var(--ok-tint); color: var(--ok); }
.tf-btns button.tried { border-color: var(--red); background: var(--red-tint); text-decoration: line-through; }
.msg { font-size: 14px; border-radius: 10px; padding: 8px 12px; }
.msg.hint { background: var(--amber-tint); color: var(--amber); }
.msg.right { background: var(--ok-tint); color: var(--ok); }
.result { text-align: center; padding: 20px; border-radius: 20px; display: grid; gap: 4px; background: var(--ok-tint); color: var(--ok); }
.result strong { font-size: 20px; }
.done-badge { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 24px; background: var(--ok-tint); border-radius: 24px; animation: pop .5s ease-out; }
.done-badge .seal { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: var(--surface); display: grid; place-items: center; }
.done-badge .seal .ico { width: 32px; height: 32px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.94); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.stat .v { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; color: var(--ink-3); }
.mission-h { display: flex; gap: 8px; align-items: center; }
.mission-h .tag { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--green-tint); color: var(--green); }
.mission-h .tag.real { background: var(--brass-tint); color: var(--brass); }
.actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--bg); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.actions-in { max-width: 448px; margin: 0 auto; display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.actions.solo .actions-in { grid-template-columns: 1fr; } .actions.solo .back { display: none; }
.actions .back { width: 52px; min-height: 52px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.note { font-size: 12px; color: var(--ink-3); text-align: center; }
.note a, .body2 a { color: var(--green); font-weight: 700; }
.top + .stack, .top + .offline-aviso + .stack { padding-top: 8px; }
/* imagens do Seu José */
.pose { background: #F3F2EE; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.pose img { display: block; width: 100%; height: 260px; object-fit: contain; object-position: center bottom; }
.steps .fig .pose { border-radius: 0; }
.steps .fig .pose img { height: 220px; }
.cue .pose img { height: 200px; }

/* entrada */
.splash { display: grid; gap: 24px; padding-block: 16px 24px; }
.splash .portrait { border-radius: 24px; overflow: hidden; background: #F3F2EE; height: 300px; }
.splash .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.tagline { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.tagline em { font-style: normal; color: var(--brass); }
.letter { display: grid; gap: 16px; }
.letter p { font-family: var(--voice); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.65; }
.letter .sign { font-family: var(--font); font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink-3); }

/* confiança antes e depois */
.conf { display: grid; gap: 8px; }
.conf button { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; min-height: 52px; padding: 8px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 700; }
.conf button i { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); color: var(--ink-3); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.conf button[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.conf button[aria-pressed="true"] i { background: var(--green); color: var(--green-ink); }

/* blocos de conteúdo */
.blist { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.blist b { color: var(--ink); }
ol.blist { padding-left: 22px; }
.swatches { display: grid; gap: 8px; }
.sw { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; background: var(--bg); }
.sw i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.sw b { display: block; font-size: 15px; }
.sw span { font-size: 14px; color: var(--ink-2); }
.sw.red { background: var(--red-tint); } .sw.red b { color: var(--red); }

/* bloqueio e pagamento */
.day.paid .d { background: var(--brass-tint); color: var(--brass); }
.paybar { display: grid; gap: 12px; background: var(--brass-tint); border-radius: 20px; padding: 20px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .now { font-size: 40px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .was { font-size: 18px; color: var(--ink-3); text-decoration: line-through; }
.price .tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--brass); color: #FFFFFF; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.incl .ico { color: var(--ok); margin-top: 2px; }
.incl b { display: block; }
.incl span { font-size: 13px; color: var(--ink-3); }
.lockrow { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; font-size: 15px; }
.lockrow .d { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-weight: 800; color: var(--ink-3); font-size: 14px; }
.toggle { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); width: 100%; }
.toggle .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: var(--surface); }
.toggle .box .ico { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
.toggle[aria-pressed="true"] { border-color: var(--brass); }
.toggle[aria-pressed="true"] .box { background: var(--brass); border-color: var(--brass); }
.toggle[aria-pressed="true"] .box .ico { opacity: 1; }
.err { background: var(--red-tint); color: var(--red); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; }
/* sem internet (12/10): uma linha discreta embaixo do topo */
.offline-aviso { display: flex; gap: 8px; align-items: center; background: var(--green-tint); color: var(--ink); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; line-height: 1.4; }
.offline-aviso[hidden] { display: none; }
.offline-aviso .ico { width: 16px; height: 16px; flex: none; color: var(--green); }
.ok-note { background: var(--ok-tint); color: var(--ink); border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.stack > *, .stack-16 > *, .stack-8 > * { min-width: 0; }
.linkbox { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 16px; }
.linkbox code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.linkbox button { min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 14px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.backrow { display: flex; align-items: center; gap: 8px; padding-block: 12px 0; }

/* certificado */
.cert { background: #FFFFFF; color: #1D2622; border: 2px solid #94651F; border-radius: 8px; padding: 32px 24px; display: grid; gap: 16px; text-align: center; }
.cert img { width: 56px; height: 56px; border-radius: 12px; margin: 0 auto; }
.cert .t { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #94651F; }
.cert .who { font-family: var(--voice); font-style: italic; font-size: 28px; font-weight: 500; }
.cert p { font-size: 15px; line-height: 1.6; color: #4E5A54; }
.cert .meta { font-size: 13px; color: #6E7A74; }
@media print {
  body { background: #FFFFFF; }
  .tabbar, .actions, .noprint { display: none !important; }
  .app { padding: 0; max-width: none; }
  .cert { border-width: 3px; margin: 40px; }
}
/* cartões de deslizar (formato stories) */
.deck { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; align-items: start; }
.deck::-webkit-scrollbar { display: none; }
.deck > .dcard { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 12px; align-content: start; min-height: 200px; box-shadow: var(--shadow); }
.deck > .dcard.lvl { box-shadow: none; border: 0; }
.dcard .fig { margin: -20px -20px 0; border-radius: 20px 20px 0 0; overflow: hidden; background: var(--brass-tint); }
.dcard .fig .pose { border-radius: 0; }
.dcard .fig .pose img { height: 220px; }
.dcard .k { font-size: 13px; font-weight: 800; color: var(--brass); }
.dcard p { font-size: 15px; color: var(--ink-2); }
.dcard p .bl { display: block; } .dcard p .bl + .bl { margin-top: 8px; } /* blocos do texto de um passo (Aula 5, passo 6) */
.deck-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deck-nav .dots { justify-content: flex-start; }
.deck-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.deck-nav button:disabled { opacity: .35; }
.swipehint { font-size: 13px; color: var(--ink-3); }

/* desafio de abertura */
.dare { background: var(--green); color: var(--green-ink); border-radius: 24px; padding: 24px; display: grid; gap: 16px; }
.dare .over { color: var(--green-ink); opacity: .75; }
.dare h1 { color: var(--green-ink); }
.dare .btn.primary { background: var(--green-ink); color: var(--green); }
.reveal { display: grid; gap: 16px; animation: pop .4s ease-out; }

/* bloco concluído */
.checkpoint { display: grid; gap: 20px; justify-items: center; text-align: center; padding-block: 32px 8px; animation: pop .45s ease-out; }
.checkpoint .seal { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #FFFFFF; display: grid; place-items: center; }
.checkpoint .seal .ico { width: 36px; height: 36px; stroke-width: 3; }
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.blocks div { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.blocks i { height: 8px; border-radius: 99px; background: var(--line); }
.blocks .done i { background: var(--ok); } .blocks .done { color: var(--ok); }
.blocks .now i { background: var(--brass); } .blocks .now { color: var(--ink); }

/* treino contra o relógio */
.clock { font-size: 64px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.clock.over { color: var(--red); }
.goal { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.verdict { border-radius: 14px; padding: 12px 16px; font-weight: 800; }
.verdict.ok { background: var(--ok-tint); color: var(--ok); }
.verdict.no { background: var(--amber-tint); color: var(--amber); }

/* plano */
.planline { font-size: 15px; color: var(--ink-2); }
.planline b { color: var(--ink); }

/* fechamento */
.selo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--brass); color: #FFFFFF; font-weight: 800; font-size: 14px; }
details.more { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
details.more > summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; min-height: 64px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .ico { transition: transform .2s; color: var(--ink-3); }
details.more[open] > summary .ico { transform: rotate(90deg); }
details.more > .in { padding: 0 24px 24px; display: grid; gap: 24px; }

/* prévia da aula 2 */
.peek { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.peek .over { color: var(--brass); }
.peek-sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.peek-sw button { aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.peek-sw button.hit { border-color: var(--ok); }
.peek-sw button { position: relative; }
.peek-sw button.miss { border-color: var(--red); opacity: .55; }
.peek-sw button.miss::after, .peek-sw button.hit::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.peek-sw button.miss::after { content: "✕"; color: var(--red); }
.peek-sw button.hit::after { content: "✓"; color: var(--ok); }
.anchor { font-size: 14px; font-weight: 700; color: var(--brass); }

/* vídeos */
.yt { margin: 0; display: grid; gap: 8px; }
.yt-thumb, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; overflow: hidden; background: #1B3A2F; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(31, 91, 69, .92); color: #FFFFFF; display: grid; place-items: center; }
.yt-play .ico { width: 28px; height: 28px; fill: #FFFFFF; stroke: none; margin-left: 4px; }
.yt-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .75); color: #FFFFFF; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.yt figcaption { display: grid; gap: 2px; padding-inline: 4px; }
.yt figcaption b { font-size: 15px; }
.yt figcaption span { font-size: 13px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

[hidden] { display: none !important; }

