/* ==========================================================================
   MOTOR v2 · Área de Membros Padrão CB — linha sóbria (ref. Hubla)
   Cores vêm de curso.js (tema). Destaque aparece só em progresso e foco.
   Versão anterior em /motor-v1.
   ========================================================================== */

@font-face { font-family: "Sora"; src: url("../fonts/Sora-Variable.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --fundo: #20251f;
  --painel: #2a2f29;
  --c1: #c8102e;
  --c2: #c8102e;
  --destaque: var(--c1);
  --texto: #eceeea;
  --suave: #9ba097;

  --linha: color-mix(in srgb, var(--texto) 9%, transparent);
  --vidro: color-mix(in srgb, var(--texto) 6%, transparent);
  --grad: linear-gradient(100deg, var(--c2), var(--c1));
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --editorial: "Instrument Serif", "Times New Roman", serif;
  --titulo: "Sora", var(--ui);
  --titulo-peso: 600;
  --tit-escala: 1;
  --lat: 72px;
  --aviso-h: 0px;
  --topo-h: 60px;
  --lado: clamp(16px, 3.4vw, 46px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  padding-left: var(--lat);
  padding-top: var(--aviso-h);
  background: var(--fundo); color: var(--texto);
  font-family: var(--ui); font-size: 14.5px; line-height: 1.5; letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1; outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
svg { flex: none; }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--destaque) 80%, #fff); outline-offset: 2px; border-radius: 4px; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; color: #111; padding: 8px 14px; border-radius: 6px; }
.pular:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Barra lateral ---------- */
.lateral {
  position: fixed; inset: var(--aviso-h) auto 0 0; z-index: 60; width: var(--lat);
  display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 14px 0;
  background: var(--fundo); border-right: 1px solid var(--linha);
}
.lat-marca {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; background: var(--vidro); border: 1px solid var(--linha);
}
.lat-marca.tem-icone { background: none; border: 0; }
.lat-marca img { width: 30px; height: 30px; object-fit: contain; }
.lateral nav { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0 8px; }
.lateral nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 8px; border-radius: 10px;
  font-size: 10.5px; color: var(--suave); transition: color .2s, background .2s;
}
.lateral nav a svg { width: 19px; height: 19px; }
.lateral nav a:hover { color: var(--texto); }
.lateral nav a.on { color: var(--texto); background: var(--vidro); box-shadow: inset 0 0 0 1px var(--linha); }
.veu { display: none; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; top: var(--aviso-h); left: var(--lat); right: 0; z-index: 50; height: var(--topo-h);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--lado);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--fundo) 70%, transparent), transparent);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
body.rolou .topo, body[data-rota="aula"] .topo {
  background: color-mix(in srgb, var(--fundo) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--linha);
}
.migalha { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--suave); }
.migalha a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; transition: color .2s; }
.migalha a:hover { color: var(--texto); }
.migalha span { color: var(--texto); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.migalha svg { width: 14px; height: 14px; opacity: .6; }
.topo-dir { margin-left: auto; position: relative; display: flex; align-items: center; gap: 12px; }
.busca { position: relative; display: block; }
.busca svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--suave); pointer-events: none; }
.busca input {
  width: 210px; height: 38px; padding: 0 12px 0 34px; border-radius: 6px;
  background: var(--vidro); border: 1px solid var(--linha); outline: none; transition: border-color .2s, width .3s var(--ease);
}
.busca input::placeholder { color: var(--suave); }
.busca input:focus { border-color: color-mix(in srgb, var(--texto) 30%, transparent); width: 260px; }
.busca input::-webkit-search-cancel-button { display: none; }
.busca-res {
  position: absolute; top: 46px; right: 0; width: min(380px, calc(100vw - 32px)); max-height: 420px; overflow-y: auto; padding: 6px;
  background: var(--painel); border: 1px solid var(--linha); border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.busca-res a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 6px; }
.busca-res a:hover, .busca-res a:focus-visible { background: var(--vidro); }
.busca-res b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.busca-res small { color: var(--suave); font-size: 12px; }
.busca-res p { padding: 14px; color: var(--suave); font-size: 13px; }
.prog-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--linha); font-size: 12.5px; color: var(--suave); }
.ico-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; }
.ico-btn svg { width: 20px; height: 20px; }
.so-mobile { display: none; }

/* ---------- Peças ---------- */
.anel { transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 2.4; }
.anel-t { stroke: color-mix(in srgb, var(--texto) 14%, transparent); }
.anel-p { stroke: var(--destaque); stroke-linecap: round; }
.barra { display: block; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--texto) 10%, transparent); overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--destaque); border-radius: inherit; }
.mini { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--painel); container-type: inline-size; }
.mini > img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.mini-ok { position: absolute; left: 6px; bottom: 6px; z-index: 8; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.62); color: #fff; }
.mini-ok svg { width: 12px; height: 12px; }

.btn-branco {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 28px; border-radius: 4px; background: #fff; color: #121212;
  font-size: 14px; font-weight: 500; transition: background .2s, transform .2s var(--ease);
}
.btn-branco svg { width: 16px; height: 16px; }
.btn-branco:hover { background: #e8e8e8; }
.btn-linha {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--texto) 14%, transparent); background: var(--vidro);
  font-size: 13.5px; color: var(--texto); white-space: nowrap; transition: border-color .2s, background .2s, color .2s;
}
.btn-linha svg { width: 17px; height: 17px; }
.btn-linha:hover { border-color: color-mix(in srgb, var(--texto) 30%, transparent); }
.btn-linha.feito { color: var(--texto); border-color: color-mix(in srgb, var(--destaque) 55%, transparent); background: color-mix(in srgb, var(--destaque) 16%, transparent); }
.btn-linha.feito svg { color: var(--destaque); }
.btn-vidro {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 44px; border-radius: 999px;
  background: color-mix(in srgb, #fff 16%, transparent); border: 1px solid color-mix(in srgb, #fff 20%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .25s;
}
.btn-vidro:hover { background: color-mix(in srgb, #fff 26%, transparent); }

/* ---------- Barra "Adicione o App" ---------- */
body.com-aviso { --aviso-h: 56px; }
.aviso-app {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--aviso-h);
  display: flex; align-items: center; background: color-mix(in srgb, var(--painel) 88%, #000); border-bottom: 1px solid var(--linha);
}
.aviso-acao { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 calc(var(--lat) + var(--lado)); text-align: left; }
.aviso-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--vidro); border: 1px solid var(--linha); }
.aviso-ico svg { width: 18px; height: 18px; }
.aviso-txt { min-width: 0; display: flex; flex-direction: column; }
.aviso-txt b { font-size: 13.5px; font-weight: 600; }
.aviso-txt small { font-size: 12px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aviso-btn { margin-left: auto; flex: none; height: 34px; padding: 0 16px; border-radius: 6px; display: inline-flex; align-items: center; background: #fff; color: #121212; font-size: 13px; font-weight: 500; }
.aviso-acao:hover .aviso-btn { background: #e8e8e8; }
.aviso-x { flex: none; width: 44px; height: 100%; display: grid; place-items: center; color: var(--suave); margin-right: calc(var(--lado) - 14px); }
.aviso-x:hover { color: var(--texto); }
.aviso-x svg { width: 18px; height: 18px; }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal.on { opacity: 1; }
.modal-caixa {
  position: relative; width: min(420px, 100%); padding: 28px 24px 22px; border-radius: 14px; text-align: center;
  background: var(--painel); border: 1px solid var(--linha); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  transform: translateY(10px); transition: transform .3s var(--ease);
}
.modal.on .modal-caixa { transform: none; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--suave); border-radius: 8px; }
.modal-x svg { width: 18px; height: 18px; }
.modal-ico { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
.modal-caixa h2 { font-family: var(--titulo); font-size: 20px; font-weight: 700; }
.modal-sub { margin-top: 6px; font-size: 13.5px; color: var(--suave); }
.modal-passos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.modal-passos li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--vidro); font-size: 13.5px; line-height: 1.45; }
.mp-n { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--destaque) 16%, transparent); color: color-mix(in srgb, var(--destaque) 80%, #fff); }
.mp-n svg { width: 18px; height: 18px; }
.modal-link { grid-column: 2; justify-self: start; display: inline-flex; gap: 10px; align-items: center; margin-top: -2px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--linha); font-size: 12.5px; word-break: break-all; text-align: left; }
.modal-link small { color: var(--destaque); flex: none; }
.modal-nota { margin-top: 12px; font-size: 12.5px; color: var(--suave); }
.modal-ok { width: 100%; margin-top: 20px; }

/* ---------- Guia visual do iPhone ---------- */
.guia-ios { align-items: end; padding: 16px 12px calc(96px + env(safe-area-inset-bottom)); }
.guia-ios.seta-cima { align-items: start; padding-top: 96px; padding-bottom: 16px; }
.gi-caixa { position: relative; width: min(400px, 100%); margin: 0 auto; padding: 24px 20px 18px; border-radius: 18px; background: var(--painel); border: 1px solid var(--linha); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); text-align: center; transform: translateY(16px); transition: transform .35s var(--ease); }
.guia-ios.on .gi-caixa { transform: none; }
.gi-caixa h2 { font-family: var(--titulo); font-size: 18px; font-weight: 700; padding: 0 30px; }
.gi-palco { position: relative; height: 168px; margin: 18px 0 12px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--destaque) 14%, transparent), transparent 70%), #0e1012; border: 1px solid var(--linha); }
.gi-cena { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateX(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.gi-cena.on { opacity: 1; transform: none; }
.gi-alvo { position: relative; }

/* cena 1: Safari */
.gi-safari { width: 86%; display: grid; gap: 10px; }
.gi-url { justify-self: center; width: 100%; padding: 9px 12px; border-radius: 10px; background: #2a2d31; font-size: 12px; color: #c9cdd2; }
.gi-barra { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 14px; background: #1f2226; color: #4c9df8; }
.gi-barra i { display: grid; place-items: center; width: 30px; height: 30px; }
.gi-barra svg { width: 21px; height: 21px; }
.gi-barra .gi-alvo { border-radius: 50%; color: #fff; background: #0a84ff; animation: pulso 1.4s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(10,132,255,.7); } 100% { box-shadow: 0 0 0 16px rgba(10,132,255,0); } }

/* cena 2: folha de compartilhar */
.gi-folha { width: 86%; border-radius: 12px; overflow: hidden; background: #1f2226; text-align: left; }
.gi-linha { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; font-size: 12.5px; color: #e6e8ea; border-bottom: 1px solid rgba(255,255,255,.06); }
.gi-linha:last-child { border-bottom: 0; }
.gi-linha svg { width: 17px; height: 17px; color: #c9cdd2; }
.gi-linha.gi-alvo { background: rgba(10,132,255,.22); font-weight: 600; color: #fff; }
.gi-linha.gi-alvo svg { color: #fff; }
.gi-dedo { position: absolute; left: 62%; top: 66%; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 0 6px rgba(255,255,255,.18); opacity: 0; }
.gi-cena.on .gi-dedo { animation: toque 3.2s ease-in-out infinite; }
@keyframes toque { 0%, 25% { opacity: 0; transform: translate(30px, 40px) scale(1); } 45% { opacity: 1; transform: translate(0, 0) scale(1); } 55% { transform: scale(.78); } 65%, 100% { opacity: 0; transform: scale(1); } }

/* cena 3: tela inicial */
.gi-home { display: grid; grid-template-columns: repeat(4, 38px); gap: 12px 16px; }
.gi-home b { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.09); }
.gi-app { position: relative; width: 38px; height: 38px; }
.gi-app img { width: 38px; height: 38px; border-radius: 10px; }
.gi-app small { position: absolute; top: 41px; left: 50%; transform: translateX(-50%); font-size: 9.5px; white-space: nowrap; color: #e6e8ea; }
.gi-cena.on .gi-app { animation: surgeapp 3.2s var(--ease) infinite; }
@keyframes surgeapp { 0%, 12% { opacity: 0; transform: scale(.4); } 30%, 100% { opacity: 1; transform: scale(1); } }

.gi-pontos { display: flex; justify-content: center; gap: 8px; }
.gi-pontos button { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--texto) 22%, transparent); transition: width .3s var(--ease), background .3s; }
.gi-pontos button.on { width: 22px; background: var(--texto); }
.gi-txt { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; margin-top: 14px; text-align: left; min-height: 56px; }
.gi-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: #fff; color: #121212; }
.gi-txt b { display: block; font-size: 15px; font-weight: 500; }
.gi-txt .gi-t b, .gi-txt .gi-s b { display: inline; font-weight: 700; font-size: inherit; }
.gi-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--suave); }

/* seta para o botão real do navegador */
.gi-seta { position: fixed; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; pointer-events: none; transition: opacity .3s; }
.gi-seta svg { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.gi-seta span { order: -1; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #0a84ff; }
.seta-baixo .gi-seta { left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); animation: quica 1.1s ease-in-out infinite; }
.seta-cima .gi-seta { right: 18px; top: 14px; flex-direction: column-reverse; animation: quicacima 1.1s ease-in-out infinite; }
.seta-cima .gi-seta svg { transform: rotate(180deg); }
.seta-cima .gi-seta span { order: 0; }
.guia-ios:not(.passo-1) .gi-seta { opacity: .25; }
@keyframes quica { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes quicacima { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Início: banner editorial ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(380px, 58vh, 560px); display: flex; align-items: center;
  padding: calc(var(--topo-h) + 24px) var(--lado) 48px;
}
.banner-bg { position: absolute; inset: 0; z-index: -2; filter: var(--filtro, none); }
.banner-bg img { position: absolute; }
.banner-fundo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-pessoa {
  right: 4%; bottom: 0; height: calc(100% - var(--topo-h) + 6px); width: auto; max-width: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 80%, transparent), linear-gradient(to bottom, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 80%, transparent), linear-gradient(to bottom, #000 72%, transparent);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--fundo) 92%, transparent) 0%, color-mix(in srgb, var(--fundo) 62%, transparent) 38%, transparent 66%),
    linear-gradient(to top, var(--fundo) 0%, transparent 34%);
}
.banner-in { max-width: 560px; animation: entra .8s var(--ease) both; }
.banner-sobre { font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: color-mix(in srgb, var(--texto) 70%, transparent); margin-bottom: 22px; }
.tit-cb { font-family: "Sora", var(--ui); margin: 0; }
.tit-cb .t1 { display: block; font-weight: 600; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.tit-cb .t2 {
  display: block; margin-top: 4px; font-weight: 800; font-size: clamp(42px, 5.2vw, 74px); line-height: 1.02; letter-spacing: -.025em;
  background: linear-gradient(90deg, #fff 0%, #fff 22%, var(--destaque) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  padding-bottom: .06em;
}
.sub-cb { margin: 16px 0 30px; max-width: 460px; font-family: "Sora", var(--ui); font-weight: 300; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: rgba(255,255,255,.9); }
.sub-cb + .btn-vidro { margin-top: 0; }
.editorial { font-family: var(--editorial); font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: .98; letter-spacing: -.012em; color: #f4f4f1; }
.editorial span { display: block; }
.editorial em { display: block; font-style: italic; }
.banner-nota { margin: 18px 0 30px; max-width: 300px; font-size: 11px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--texto) 60%, transparent); }
.banner .btn-vidro { margin-top: 30px; }
.banner-nota + .btn-vidro { margin-top: 0; }

/* ---------- Faixas e carrossel ---------- */
.faixa { padding: 26px var(--lado) 6px; scroll-margin-top: var(--topo-h); }
.faixa-cab { margin-bottom: 14px; }
.faixa-cab h2 { font-family: var(--titulo); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.trilho-wrap { position: relative; margin: 0 calc(-1 * var(--lado)); }
.trilho {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--lado); padding: 4px var(--lado) 14px; scrollbar-width: none; cursor: grab;
}
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrastando { cursor: grabbing; scroll-snap-type: none; }
.trilho.arrastando a { pointer-events: none; }
.trilho > * { flex: none; scroll-snap-align: start; }
.seta-car {
  position: absolute; top: calc(50% - 26px); z-index: 5; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--fundo) 80%, transparent); border: 1px solid var(--linha); backdrop-filter: blur(6px);
  transition: background .2s;
}
.seta-car:hover { background: var(--painel); }
.seta-car svg { width: 18px; height: 18px; }
.seta-car.esq { left: 10px; } .seta-car.dir { right: 10px; }

.poster { width: clamp(168px, 14.5vw, 220px); display: flex; flex-direction: column; gap: 12px; animation: entra .6s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.poster-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--painel); }
.poster-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.poster-desc {
  position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.2) 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.poster-desc b { font-size: 15px; font-weight: 600; line-height: 1.25; transform: translateY(8px); transition: transform .5s var(--ease); }
.poster-desc span { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.78); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; transform: translateY(8px); transition: transform .55s var(--ease); }
.poster-desc small { font-size: 11.5px; color: rgba(255,255,255,.6); }
.poster:hover .poster-desc, .poster:focus-visible .poster-desc, .poster.ativo .poster-desc { opacity: 1; }
.poster:hover .poster-desc b, .poster:hover .poster-desc span, .poster.ativo .poster-desc b, .poster.ativo .poster-desc span { transform: none; }
.poster:hover .poster-img > img, .poster.ativo .poster-img > img { transform: scale(1.04); }

.aula-card { width: clamp(230px, 20vw, 290px); display: flex; flex-direction: column; animation: entra .6s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.aula-card-mini { display: flex; flex-direction: column; gap: 0; margin-bottom: 10px; }
.aula-card-mini .barra { border-radius: 0 0 2px 2px; }
.aula-card-mini .mini { border-radius: 6px; }
.aula-card b { font-size: 14px; font-weight: 500; line-height: 1.35; }
.aula-card small { font-size: 12px; color: var(--suave); margin-top: 3px; }
.aula-card:hover .mini > img { filter: brightness(1.1); }

/* ---------- Trilha: herói + conteúdos ---------- */
.coluna { width: min(820px, 100% - 2 * var(--lado)); margin: 0 auto; }
.heroi { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 70vh, 620px); display: flex; align-items: flex-end; padding: calc(var(--topo-h) + 20px) 0 44px; }
.heroi-bg { position: absolute; inset: 0; z-index: -2; background: #000; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 38%); mask-image: linear-gradient(to top, transparent 0, #000 38%); }
.heroi-video { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.heroi-img { position: absolute; inset: 0 0 0 auto; width: min(62%, 760px); }
.heroi-img > img, .heroi-img .poster-gerado { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.heroi-img { -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); opacity: .75; }
.heroi::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--fundo) 70%, transparent) 0%, transparent 60%),
    linear-gradient(to top, var(--fundo) 2%, color-mix(in srgb, var(--fundo) 55%, transparent) 30%, transparent 62%),
    linear-gradient(to bottom, color-mix(in srgb, var(--fundo) 55%, transparent), transparent 22%);
}
.heroi-in { animation: entra .7s var(--ease) both; }
.heroi-sobre { font-size: 13px; color: color-mix(in srgb, var(--texto) 72%, transparent); margin-bottom: 10px; }
.heroi h1 { font-family: var(--titulo); font-weight: var(--titulo-peso); font-size: calc(clamp(32px, 3.8vw, 46px) * var(--tit-escala)); line-height: 1.08; letter-spacing: -.02em; max-width: 640px; }
.heroi-prog { display: flex; align-items: center; gap: 12px; width: min(300px, 100%); margin: 18px 0 26px; }
.heroi-prog .barra { flex: 1; }
.heroi-prog small { font-size: 12px; color: var(--suave); white-space: nowrap; }
.heroi-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.heroi-ctrl { display: flex; gap: 8px; }
.quad { width: 38px; height: 38px; border-radius: 4px; display: grid; place-items: center; background: color-mix(in srgb, #fff 18%, transparent); backdrop-filter: blur(6px); transition: background .2s; }
.quad:hover { background: color-mix(in srgb, #fff 28%, transparent); }
.quad svg { width: 16px; height: 16px; }

.conteudos { padding: 36px 0 64px; }
.cont-cab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cont-cab h2 { font-family: var(--titulo); font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.cont-pct { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--suave); }
.seletor { position: relative; margin-left: auto; }
.seletor select {
  appearance: none; -webkit-appearance: none; height: 44px; min-width: 200px; max-width: 280px; padding: 0 40px 0 14px; border-radius: 6px;
  background: transparent; border: 1px solid color-mix(in srgb, var(--texto) 16%, transparent); font-size: 14px; cursor: pointer;
  text-overflow: ellipsis;
}
.seletor select option { background: var(--painel); }
.seletor svg { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--suave); }
.cont-desc { margin-top: 12px; max-width: 640px; color: var(--suave); font-size: 14px; }
.lista { list-style: none; margin: 22px 0 0; padding: 0; }
.lista li { animation: entra .5s var(--ease) both; animation-delay: calc(var(--i) * 35ms + .1s); }
.lista a { display: grid; grid-template-columns: 40px 152px 1fr; gap: 18px; align-items: center; padding: 10px 8px; border-radius: 8px; transition: background .2s; }
.lista a:hover { background: color-mix(in srgb, var(--texto) 4%, transparent); }
.lista-n { text-align: center; font-size: 14px; color: var(--suave); }
.lista-mini { display: flex; flex-direction: column; }
.lista-mini .mini { border-radius: 4px; }
.lista-mini .barra { margin-top: 5px; }
.lista-txt b { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.lista-txt small, .sf-txt small { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--suave); }
.lista-txt small svg, .sf-txt small svg { width: 11px; height: 11px; }

/* ---------- Aula: player + sanfona ---------- */
.aula-pg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding-top: var(--topo-h); }
.aula-main { padding: 22px 0 64px var(--lado); min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-vazio { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--painel); }
.player-vazio strong { display: block; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.player-vazio span { color: var(--suave); font-size: 14px; }
.fim { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(10,10,10,.82); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.fim.on { opacity: 1; pointer-events: auto; }
.fim p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: 6px; }
.fim h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.fim-acoes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.aula-info { padding-top: 24px; }
.aula-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.aula-sobre { font-size: 13px; color: var(--suave); }
.aula-cab h1 { font-family: var(--titulo); font-weight: 600; font-size: calc(clamp(26px, 2.6vw, 34px) * var(--tit-escala)); line-height: 1.15; letter-spacing: -.015em; margin-top: 2px; }
.aula-desc { margin-top: 16px; max-width: 760px; color: color-mix(in srgb, var(--texto) 78%, transparent); white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 4px; font-size: 13.5px; color: color-mix(in srgb, var(--destaque) 75%, #fff); background: color-mix(in srgb, var(--destaque) 14%, transparent); transition: background .2s; }
.chip:hover { background: color-mix(in srgb, var(--destaque) 24%, transparent); }
.chip svg { width: 16px; height: 16px; }
.aula-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--linha); }
.aula-nav a { display: flex; align-items: center; gap: 12px; max-width: 48%; font-size: 14px; color: var(--texto); transition: color .2s; }
.aula-nav a:hover { color: color-mix(in srgb, var(--texto) 70%, transparent); }
.aula-nav a.prox { text-align: right; margin-left: auto; }
.aula-nav small { display: block; font-size: 12px; color: var(--suave); }
.aula-nav svg { width: 18px; height: 18px; color: var(--suave); }

.sanfona { position: sticky; top: calc(var(--topo-h) + var(--aviso-h)); align-self: start; height: calc(100svh - var(--topo-h) - var(--aviso-h)); overflow-y: auto; padding: 14px var(--lado) 40px 0; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--texto) 18%, transparent) transparent; }
.sf + .sf { border-top: 1px solid var(--linha); }
.sf-cab { width: 100%; display: grid; grid-template-columns: 22px 1fr auto 18px; gap: 12px; align-items: start; padding: 16px 6px; text-align: left; }
.sf-n { font-size: 15px; font-weight: 600; line-height: 1.35; }
.sf-tit b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.sf-tit small { display: block; font-size: 12px; color: var(--suave); margin-top: 3px; }
.sf-pct { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--suave); margin-top: 22px; }
.sf-chev { margin-top: 4px; color: var(--suave); transition: transform .3s var(--ease); }
.sf-chev svg { width: 18px; height: 18px; }
.sf.aberta .sf-chev { transform: rotate(180deg); }
.sf-lista { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.sf.aberta .sf-lista { display: block; }
.sf-lista a { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 8px; transition: background .2s; }
.sf-lista a:hover { background: color-mix(in srgb, var(--texto) 4%, transparent); }
.sf-lista a.atual { background: color-mix(in srgb, var(--texto) 8%, transparent); }
.sf-txt { min-width: 0; }
.sf-txt b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.sf-txt .barra { margin-top: 8px; }

/* ---------- Rodapé ---------- */
.rodape { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 36px var(--lado) calc(28px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--suave); }
.rodape a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--linha); }
body[data-rota="aula"] .rodape { display: none; }

/* ---------- Troca de tela ---------- */
main.sai { opacity: 0; transition: opacity .16s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .aula-pg { grid-template-columns: 1fr; gap: 0; }
  .aula-main { padding-right: var(--lado); }
  .sanfona { position: static; height: auto; overflow: visible; padding: 0 var(--lado) 48px; border-top: 1px solid var(--linha); }
}
@media (max-width: 860px) {
  :root { --lat: 0px; --topo-h: 58px; }
  .lateral { width: 240px; align-items: stretch; padding: 16px 12px; transform: translateX(-100%); transition: transform .35s var(--ease); }
  .lat-marca { margin-left: 6px; }
  .lateral nav { padding: 0; }
  .lateral nav a { flex-direction: row; gap: 14px; padding: 12px 12px; font-size: 14px; }
  body.menu-aberto .lateral { transform: none; }
  .veu { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.menu-aberto .veu { opacity: 1; pointer-events: auto; }
  .so-mobile { display: grid; }
  body.com-aviso { --aviso-h: 54px; }
  .aviso-acao { padding-left: 14px; gap: 12px; }
  .aviso-txt small { display: none; }
  .aviso-txt b { font-size: 13px; line-height: 1.3; }
  .aviso-ico { width: 30px; height: 30px; }
  .aviso-btn { padding: 0 12px; }
  .aviso-x { margin-right: 2px; width: 40px; }
  .topo { gap: 8px; padding: 0 12px; }
  .migalha { display: none; }
  .topo-dir { flex: 1; }
  .busca { flex: 1; }
  .busca input, .busca input:focus { width: 100%; }
  .prog-chip { padding: 0 10px; }

  .banner { min-height: auto; align-items: flex-end; padding-top: calc(var(--topo-h) + 160px); padding-bottom: 32px; }
  .banner-pessoa { right: 50%; transform: translateX(50%); height: 78%; bottom: 22%; }
  .banner::before { background: linear-gradient(to top, var(--fundo) 0%, color-mix(in srgb, var(--fundo) 88%, transparent) 38%, color-mix(in srgb, var(--fundo) 35%, transparent) 64%, transparent 85%); }
  .editorial { font-size: clamp(40px, 11vw, 56px); }
  .tit-cb .t1 { font-size: clamp(20px, 5.6vw, 26px); }
  .tit-cb .t2 { font-size: clamp(36px, 10.5vw, 50px); }
  .sub-cb { margin: 12px 0 22px; font-size: 15.5px; }
  .banner-nota { margin: 14px 0 22px; }
  .btn-vidro { width: 100%; }

  .seta-car { display: none; }
  .poster { width: 44vw; max-width: 210px; }
  .aula-card { width: 72vw; }

  .heroi { min-height: 0; padding-top: calc(var(--topo-h) + 46vw); padding-bottom: 28px; }
  .heroi-bg { bottom: auto; height: calc(var(--topo-h) + 62vw); }
  .heroi-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .heroi::after { background: linear-gradient(to top, var(--fundo) 30%, color-mix(in srgb, var(--fundo) 40%, transparent) 55%, transparent 80%); }
  .heroi-acoes .btn-branco { flex: 1; }
  .cont-cab .seletor { margin-left: 0; width: 100%; }
  .seletor select { width: 100%; max-width: none; }
  .lista a { grid-template-columns: 22px 112px 1fr; gap: 12px; padding: 8px 0; }

  .aula-main { padding: 0 0 28px; }
  .player { border-radius: 0; }
  .aula-info { padding: 18px var(--lado) 0; }
  .aula-cab { flex-direction: column; gap: 14px; }
  .aula-cab .btn-linha { align-self: stretch; justify-content: center; }
  .sf-lista a { grid-template-columns: 112px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== Artes geradas (pôster e miniatura sem imagem pronta) — herdado do v1 ===== */
/* ===== Artes geradas: cena (janelas, chão em grade, luz, base holográfica, grão) ===== */
.poster-gerado, .gerado {
  position: absolute; inset: 0; overflow: hidden; container-type: inline-size; isolation: isolate;
  background:
    radial-gradient(60% 42% at 50% 40%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 72%),
    radial-gradient(120% 60% at 50% 110%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 60%),
    linear-gradient(180deg, #000 0%, var(--fundo) 55%, color-mix(in srgb, var(--painel) 70%, #000) 100%);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.cn-luz {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    linear-gradient(112deg, transparent 38%, color-mix(in srgb, var(--c1) 16%, transparent) 45%, transparent 52%),
    linear-gradient(68deg, transparent 58%, color-mix(in srgb, var(--c2) 12%, transparent) 63%, transparent 68%),
    radial-gradient(1.2cqw 1.2cqw at 14% 22%, color-mix(in srgb, var(--c1) 70%, transparent), transparent),
    radial-gradient(.8cqw .8cqw at 82% 14%, color-mix(in srgb, var(--c1) 60%, transparent), transparent),
    radial-gradient(1cqw 1cqw at 72% 58%, color-mix(in srgb, var(--c1) 45%, transparent), transparent),
    radial-gradient(.7cqw .7cqw at 26% 64%, color-mix(in srgb, var(--c1) 50%, transparent), transparent);
  filter: blur(.25cqw);
}
.cn-chao {
  position: absolute; left: -40%; right: -40%; bottom: -8%; height: 52%; z-index: 0;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--c1) 40%, transparent) 0 1px, transparent 1px 7cqw),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--c1) 34%, transparent) 0 1px, transparent 1px 7cqw);
  transform: perspective(40cqw) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.cn-jan {
  position: absolute; z-index: 1; border-radius: 1.6cqw; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--painel) 70%, transparent), color-mix(in srgb, #000 70%, transparent));
  border: 1px solid color-mix(in srgb, var(--c1) 55%, transparent);
  box-shadow: 0 0 3cqw color-mix(in srgb, var(--c2) 35%, transparent), inset 0 0 2cqw color-mix(in srgb, var(--c2) 15%, transparent);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: color-mix(in srgb, var(--texto) 70%, var(--c1));
}
.cn-bar { display: flex; gap: .9cqw; padding: 1.4cqw 1.8cqw; border-bottom: 1px solid color-mix(in srgb, var(--c1) 30%, transparent); }
.cn-bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: color-mix(in srgb, var(--c1) 70%, transparent); }
.cn-jan code { display: flex; flex-direction: column; gap: 1.3cqw; padding: 2cqw 2.2cqw; font-size: 2.3cqw; line-height: 1.2; white-space: nowrap; }
.cn-jan code span:first-child { color: var(--c1); }
.cn-sk { display: grid; gap: 1.6cqw; padding: 2.4cqw; }
.cn-sk b { height: 1.3cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--c1) 28%, transparent); }
.cn-sk b:nth-child(2) { width: 70%; } .cn-sk b:nth-child(3) { width: 85%; } .cn-sk b:nth-child(4) { width: 45%; }
.cn-base {
  position: absolute; z-index: 1; left: 50%; top: 60cqw; width: 62cqw; height: 12cqw; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 55%, transparent), color-mix(in srgb, var(--c2) 18%, transparent) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 45%, transparent), 0 0 6cqw color-mix(in srgb, var(--c2) 60%, transparent);
}
.cn-base::after {
  content: ""; position: absolute; left: 50%; bottom: 50%; width: 40%; height: 46cqw; transform: translateX(-50%);
  background: linear-gradient(to top, color-mix(in srgb, var(--c1) 22%, transparent), transparent);
  clip-path: polygon(8% 100%, 92% 100%, 100% 0, 0 0); filter: blur(1cqw);
}
.cn-grao {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.poster-gerado::after, .gerado::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.65) 100%);
}

/* Pôster 4:5 */
.poster-gerado .j1 { left: -7cqw; top: 9cqw; width: 46cqw; height: 34cqw; transform: perspective(60cqw) rotateY(26deg) rotateZ(-2deg); opacity: .62; filter: blur(.12cqw); }
.poster-gerado .j2 { right: -9cqw; top: 30cqw; width: 48cqw; height: 32cqw; transform: perspective(60cqw) rotateY(-28deg) rotateZ(2deg); opacity: .5; filter: blur(.3cqw); }
.poster-gerado::before {
  content: ""; position: absolute; inset: 3.4cqw; z-index: 5; pointer-events: none; border-radius: 2.6cqw;
  border: 1px solid color-mix(in srgb, var(--c1) 38%, transparent); box-shadow: inset 0 0 4cqw color-mix(in srgb, var(--c2) 18%, transparent);
}
.pg-ico {
  position: absolute; z-index: 2; left: 50%; top: 38cqw; width: 56cqw; height: 44cqw; object-fit: contain; transform: translate(-50%, -50%);
  filter: drop-shadow(0 3cqw 6cqw color-mix(in srgb, var(--c2) 70%, transparent)) drop-shadow(0 0 1.5cqw color-mix(in srgb, var(--c1) 40%, transparent));
}
.pg-txt { position: absolute; z-index: 6; left: 8cqw; right: 8cqw; bottom: 10cqw; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pg-rot { font-size: 3.4cqw; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #fff; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--grad); box-shadow: 0 1cqw 4cqw -1cqw var(--c2); margin-bottom: 3.4cqw; }
.pg-tit {
  font-family: var(--titulo); font-weight: var(--titulo-peso); text-transform: uppercase; font-size: calc(11.5cqw * var(--tit-escala)); line-height: 1; letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--c2), var(--c1) 35%, color-mix(in srgb, var(--texto) 88%, var(--c1)) 65%, var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .6cqw 2cqw rgba(0,0,0,.8));
}
.pg-sub { margin-top: 2.6cqw; font-size: 3.4cqw; color: color-mix(in srgb, var(--texto) 78%, transparent); }
.pg-sub::before { content: ""; display: block; margin-left: auto; margin-right: auto; width: 14cqw; height: .6cqw; border-radius: 1cqw; background: var(--grad); margin-bottom: 2.6cqw; box-shadow: 0 0 2cqw var(--c1); }
.trilha-poster > img { width: 100%; height: 100%; object-fit: cover; }

/* Arte de aula 16:9 */
.gerado .j1 { left: -4cqw; top: 8cqw; width: 30cqw; height: 26cqw; transform: perspective(60cqw) rotateY(26deg); opacity: .4; filter: blur(.2cqw); }
.gerado .j2 { right: -4cqw; top: 12cqw; width: 30cqw; height: 24cqw; transform: perspective(60cqw) rotateY(-26deg); opacity: .32; filter: blur(.3cqw); }
.gerado .cn-chao { left: -10%; right: -10%; height: 60%; }
.gerado .cn-base { top: 33cqw; width: 38cqw; height: 6cqw; }
.gerado .cn-base::after { height: 20cqw; }
.gerado .cn-jan code { font-size: 1.9cqw; gap: 1cqw; }
.g-txt { position: absolute; z-index: 6; left: 6%; right: 6%; bottom: 7%; text-align: center; }
.g-num { position: absolute; z-index: 6; left: 50%; top: 5.5%; transform: translateX(-50%); margin: 0 !important; display: inline-block; font-size: 2.6cqw; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #fff; padding: .9cqw 2cqw; border-radius: 99px; background: var(--grad); margin-bottom: 2.8cqw; }
.gerado strong {
  display: block; font-family: var(--titulo); font-weight: var(--titulo-peso); text-transform: uppercase; font-size: calc(5.8cqw * var(--tit-escala)); line-height: 1.06;
  background: linear-gradient(90deg, color-mix(in srgb, var(--texto) 92%, var(--c1)), var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .4cqw 1.4cqw rgba(0,0,0,.9));
}
.g-ico {
  position: absolute; z-index: 2; left: 50%; top: 42%; width: 44cqw; height: 52%; object-fit: contain; transform: translate(-50%, -50%);
  filter: drop-shadow(0 2.4cqw 4cqw color-mix(in srgb, var(--c2) 70%, transparent));
}
.mini.tem-gerado::after { display: none; }
.mini.tem-gerado .mini-play { left: auto; top: auto; right: 4cqw; bottom: 4cqw; margin: 0; width: 36px; height: 36px; z-index: 7; opacity: 0; transition: opacity .3s, transform .35s var(--ease), background .35s; }
.mini.tem-gerado .mini-play svg { width: 13px; height: 13px; margin-left: 2px; }
.aula-card:hover .mini.tem-gerado .mini-play, :is(.lista, .sf-lista, .busca-res):hover .mini.tem-gerado .mini-play { opacity: 1; }
.mini.tem-gerado .em-breve { z-index: 7; top: 4cqw; right: 4cqw; bottom: auto; left: auto; }
:is(.lista, .sf-lista, .busca-res) .mini.tem-gerado .g-txt, :is(.lista, .sf-lista, .busca-res) .mini.tem-gerado .g-num, :is(.lista, .sf-lista, .busca-res) .mini.tem-gerado .em-breve, :is(.lista, .sf-lista, .busca-res) .gerado .cn-jan { display: none; }
:is(.lista, .sf-lista, .busca-res) .g-ico { top: 46%; width: 60%; height: 74%; }
:is(.lista, .sf-lista, .busca-res) .gerado .cn-base { width: 60cqw; top: 40cqw; height: 10cqw; }

@keyframes flutua { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -54%); } }

@keyframes flutua { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -54%); } }

/* ---------- Página de obrigado (obrigado.html) ---------- */
body.pg-obrigado { --lat: 0px; --aviso-h: 0px; padding: 0; }
.obg { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 0 var(--lado); }
.obg-luz { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--destaque) 18%, transparent), transparent 70%),
              radial-gradient(50% 30% at 50% 62%, color-mix(in srgb, var(--destaque) 7%, transparent), transparent 70%); }
.obg-topo { display: flex; align-items: center; gap: 12px; padding: 30px 0 0; font-family: var(--titulo); font-size: 11.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: color-mix(in srgb, var(--texto) 75%, transparent); }
.obg-topo img { width: 26px; height: 26px; object-fit: contain; }
.obg-heroi { width: min(880px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(36px, 7vh, 72px) 0 24px; animation: entra .7s var(--ease) both; }
.obg-selo { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; margin-bottom: 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--destaque) 70%, #fff); background: color-mix(in srgb, var(--destaque) 12%, transparent); border: 1px solid color-mix(in srgb, var(--destaque) 40%, transparent); }
.obg-selo svg { width: 16px; height: 16px; }
.obg-tit .t1 { font-weight: 300; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.025em; }
.obg-tit .t2 { font-size: clamp(42px, 6.4vw, 84px); margin-top: 2px; background: linear-gradient(90deg, #fff 0%, #fff 30%, var(--destaque) 100%); -webkit-background-clip: text; background-clip: text; }
.obg-sub { margin: 18px auto 34px; max-width: 560px; }
.obg-player { width: 100%; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--linha); }
.obg-som { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 26px; border-radius: 16px; background: color-mix(in srgb, var(--fundo) 62%, transparent); border: 1px solid color-mix(in srgb, var(--destaque) 45%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--texto); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); cursor: pointer; animation: pulsa-som 2s ease-in-out infinite; }
.obg-som-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--destaque); color: #08131a; margin-bottom: 4px; }
.obg-som-ico svg { width: 26px; height: 26px; }
.obg-som b { font-family: var(--titulo); font-size: 16px; font-weight: 700; }
.obg-som small { font-size: 12.5px; color: var(--suave); }
@keyframes pulsa-som { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--destaque) 45%, transparent); } 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--destaque) 0%, transparent); } }
.obg-vazio { position: absolute; inset: 0; display: grid; place-items: center; background: var(--painel); }
.obg-vazio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: blur(14px) brightness(.4); transform: scale(1.1); }
.obg-vazio div { position: relative; }
.obg-vazio strong { display: block; font-family: var(--titulo); font-size: 22px; font-weight: 600; }
.obg-vazio span { color: var(--suave); font-size: 14px; }
.obg-btn { margin-top: 30px; height: 54px; padding: 0 40px; font-size: 15.5px; font-weight: 600; border-radius: 6px; }
.obg-btn:hover { transform: translateY(-1px); }
.obg-bonus { width: min(1080px, 100%); padding: 48px 0 24px; }
.obg-bonus h2 { font-family: var(--titulo); font-size: 22px; font-weight: 600; text-align: center; margin-bottom: 22px; }
.obg-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.obg-card { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--painel); box-shadow: 0 0 0 1px var(--linha); animation: entra .6s var(--ease) both; animation-delay: calc(var(--i) * 50ms + .2s); }
.obg-card img { width: 100%; height: 100%; object-fit: cover; }
.obg-card div { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); }
.obg-card small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--destaque) 70%, #fff); }
.obg-card b { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pg-obrigado .rodape { margin-top: auto; }
@media (max-width: 860px) {
  .obg-heroi { padding-top: 32px; }
  .obg-player { border-radius: 10px; }
  .obg-btn { width: 100%; }
  .obg-grade { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--lado)); padding: 0 var(--lado) 8px; scrollbar-width: none; }
  .obg-grade::-webkit-scrollbar { display: none; }
  .obg-card { flex: none; width: 42vw; scroll-snap-align: start; }
}

/* ---------- Checkout (checkout.html) — mesma estrutura do checkout do LP Padrão, identidade CB v2 ---------- */
body.pg-checkout { --lat: 0px; --aviso-h: 0px; padding: 0; background: #0d1114; }
.ck { min-height: 100svh; padding: 24px;
  background: radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--destaque) 16%, transparent), transparent 32%), #0d1114; }
.ck-faixa { display: none; }
.ck-caixa { display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: 0 35px 120px rgba(0,0,0,.67); animation: entra .6s var(--ease) both; }

/* resumo (coluna escura) */
.ck-resumo { position: relative; overflow: hidden; padding: 47px 49px; color: #fff; min-height: 640px;
  background: radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--destaque) 24%, transparent), transparent 33%), linear-gradient(135deg, #1b2226, #0b0f12 75%); }
.ck-selo { display: inline-flex; align-items: center; gap: 7px; height: 29px; padding: 0 11px; border-radius: 7px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(100deg, #3f86ad, #5fb3d3); }
.ck-selo svg, .ck-faixa svg { width: 13px; height: 13px; }
.ck-eyebrow { margin: 34px 0 14px; font-family: var(--titulo); font-size: 12.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: color-mix(in srgb, #fff 72%, transparent); }
.ck-tit { margin: 0; font-family: var(--titulo); position: relative; z-index: 2; }
.ck-tit .t1 { display: block; font-weight: 300; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.025em; }
.ck-tit .t2 { display: block; font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; padding-bottom: .05em;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, var(--destaque) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ck-texto { position: relative; z-index: 2; max-width: 360px; margin: 18px 0 26px; font-family: var(--titulo); font-weight: 300; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, #fff 78%, transparent); }
.ck-itens { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 300px; }
.ck-itens li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: color-mix(in srgb, #fff 90%, transparent); }
.ck-itens svg { flex: none; width: 16px; height: 16px; color: var(--destaque); }
.ck-produto { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: 280px; margin-top: 30px; padding: 10px; border-radius: 14px;
  background: color-mix(in srgb, #fff 5%, transparent); border: 1px solid color-mix(in srgb, #fff 11%, transparent); backdrop-filter: blur(8px); }
.ck-produto img { width: 58px; height: 72px; border-radius: 8px; object-fit: cover; flex: none; }
.ck-produto small { display: block; font-size: 12px; color: color-mix(in srgb, #fff 62%, transparent); }
.ck-produto b { display: block; font-family: var(--titulo); font-size: 15.5px; font-weight: 600; margin-top: 2px; }
.ck-pessoa { position: absolute; z-index: 1; right: -14px; bottom: 0; width: 300px; height: auto; pointer-events: none;
  filter: saturate(.85) drop-shadow(0 20px 40px rgba(0,0,0,.5));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }

/* painel (coluna clara) */
.ck-painel { padding: 58px 62px; color: #1a1f22; background: linear-gradient(145deg, #fcfdfd, #f1f4f5); }
.ck-form { display: grid; gap: 18px; }
.ck-passo { display: flex; align-items: center; gap: 14px; }
.ck-passo:not(:first-child) { margin-top: 12px; }
.ck-passo > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--titulo); font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, #3f86ad, #5fb3d3); }
.ck-passo > span svg { width: 18px; height: 18px; }
.ck-passo b { display: flex; align-items: center; gap: 7px; font-family: var(--titulo); font-size: 20px; font-weight: 600; color: #141a1d; }
.ck-passo b svg { width: 17px; height: 17px; color: #3f86ad; }
.ck-passo:first-child b svg { display: none; }
.ck-passo small { display: block; font-size: 12.5px; color: #6c777e; }
.ck-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-campos[hidden] { display: none; }
.ck-campos label { display: grid; gap: 7px; font-size: 12.5px; font-weight: 600; color: #2a3236; }
.ck-campos label.dois { grid-column: 1 / -1; }
.ck-campos input, .ck-campos select { height: 54px; padding: 0 16px; border-radius: 9px; font-size: 15px; color: #141a1d; background: #fff; border: 1px solid #d2d8dc; outline: none; transition: border-color .2s, box-shadow .2s; }
.ck-campos input::placeholder { color: #9aa4aa; }
.ck-campos input:focus, .ck-campos select:focus { border-color: #4f9cc0; box-shadow: 0 0 0 3px rgba(79,156,192,.18); }
.ck-campos input.erro { border-color: #d0545d; box-shadow: 0 0 0 3px rgba(208,84,93,.14); }
.ck-campos select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c777e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 42px; }
.ck-metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-metodo { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px; border-radius: 11px; text-align: left; color: #141a1d; background: #fff; border: 1px solid #d2d8dc; transition: border-color .2s, background .2s; }
.ck-metodo b { display: block; font-size: 14px; font-weight: 600; }
.ck-metodo small { display: block; font-size: 12px; color: #6c777e; }
.ck-metodo > svg { color: #6c777e; flex: none; }
.ck-metodo i { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid #c3cbd0; }
.ck-metodo i svg { width: 13px; height: 13px; opacity: 0; }
.ck-metodo.on { background: #eaf5fa; border-color: #3f9cc2; }
.ck-metodo.on > svg { color: #3f86ad; }
.ck-metodo.on i { background: #3f86ad; border-color: #3f86ad; color: #fff; }
.ck-metodo.on i svg { opacity: 1; }
.ck-pix { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 11px; background: #eaf5fa; border: 1px dashed #8cc3d8; }
.ck-pix[hidden] { display: none; }
.ck-pix svg { color: #3f86ad; flex: none; width: 28px; height: 28px; }
.ck-pix p { margin: 0; font-size: 13.5px; color: #2a3236; }
.ck-erro { margin: 0; padding: 11px 14px; border-radius: 9px; font-size: 13.5px; color: #8c2a32; background: #fdecee; border: 1px solid #f0b9be; }
.ck-erro[hidden] { display: none; }
.ck-botao { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 59px; margin-top: 6px; border-radius: 10px;
  font-family: var(--titulo); font-weight: 700; font-size: 15.5px; letter-spacing: .03em; color: #fff;
  background: linear-gradient(110deg, #3f86ad 0%, #5fb3d3 35%, #8ccbe0 50%, #5fb3d3 65%, #3f86ad 100%); background-size: 250% 100%;
  box-shadow: inset 0 1px 0 #ffffff40, 0 14px 30px -14px rgba(63,134,173,.75); animation: cta-fluxo 6s ease-in-out infinite; transition: transform .2s; }
.ck-botao::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none; background: linear-gradient(100deg, transparent, #ffffff66, transparent); transform: skewX(-20deg); animation: cta-brilho 4.2s ease-in-out infinite; }
.ck-botao:hover { transform: translateY(-1px); }
.ck-botao:disabled { opacity: .75; cursor: progress; }
.ck-seguro { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 12.5px; color: #6c777e; }
.ck-seguro span { display: inline-flex; align-items: center; gap: 6px; }
.ck-seguro svg { width: 16px; height: 16px; color: #3f86ad; }
@keyframes cta-fluxo { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes cta-brilho { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

/* celular: faixa da oferta no topo, resumo compacto com a foto à direita, formulário embaixo */
@media (max-width: 860px) {
  .ck { padding: 0 14px 20px; }
  .ck-faixa { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 -14px 20px; height: 34px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff;
    background: linear-gradient(100deg, #3f86ad, #5fb3d3); }
  .ck-caixa { grid-template-columns: 1fr; border-radius: 20px; }
  .ck-resumo { min-height: 0; padding: 22px 21px 20px; }
  .ck-selo { display: none; }
  .ck-eyebrow { margin: 0 0 10px; font-size: 10.5px; letter-spacing: .24em; }
  .ck-tit .t1 { font-size: 26px; }
  .ck-tit .t2 { font-size: 32px; }
  .ck-texto { max-width: 58%; margin: 10px 0 0; font-size: 13px; }
  .ck-itens { display: none; }
  .ck-produto { max-width: 62%; margin-top: 16px; padding: 8px; gap: 10px; }
  .ck-produto img { width: 40px; height: 50px; }
  .ck-produto b { font-size: 13px; }
  .ck-pessoa { width: 150px; right: -6px; }
  .ck-painel { padding: 31px 20px 36px; }
  .ck-passo b { font-size: 18px; }
}
@media (max-width: 480px) {
  .ck-campos { grid-template-columns: 1fr; }
}

/* checkout · ajuste 2: título numa linha, resumo centralizado, contador no selo */
.ck-resumo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ck-tit { white-space: nowrap; }
.ck-tit .t1, .ck-tit .t2 { display: inline; font-size: clamp(26px, 3.3vw, 44px); }
.ck-tit .t2 { font-size: clamp(28px, 3.6vw, 48px); }
.ck-texto { margin-left: auto; margin-right: auto; max-width: 400px; }
.ck-itens { justify-items: start; text-align: left; margin: 0 auto; }
.ck-produto { margin-left: auto; margin-right: auto; text-align: left; }
.ck-selo, .ck-faixa { gap: 8px; }
.ck-tempo { font-family: var(--titulo); font-weight: 800; font-size: 1.15em; letter-spacing: .04em; font-variant-numeric: tabular-nums; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.18); }
@media (max-width: 860px) {
  .ck-texto { max-width: none; }
  .ck-produto { max-width: 320px; }
  .ck-tit .t1 { font-size: 6.4vw; }
  .ck-tit .t2 { font-size: 7vw; }
}
.ck-tit .t1 { margin-right: .26em; }
/* checkout · ajuste 3: frase em 2 linhas equilibradas, caixa do produto de ponta a ponta */
.ck-texto { text-wrap: balance; max-width: 470px; font-size: 15px; }
.ck-produto { width: 100%; max-width: none; gap: 16px; padding: 12px; margin-top: 26px; }
.ck-produto img { width: 84px; height: 105px; border-radius: 10px; }
.ck-produto small { font-size: 13px; }
.ck-produto b { font-size: 19px; }
@media (max-width: 860px) {
  .ck-texto { font-size: 3.35vw; max-width: none; }
  .ck-produto { max-width: none; margin-top: 18px; }
  .ck-produto img { width: 64px; height: 80px; }
  .ck-produto b { font-size: 16px; }
  .ck-produto small { font-size: 12px; }
}

/* checkout · cupom de desconto */
.ck-cupom { display: grid; gap: 7px; margin-top: 4px; }
.ck-cupom label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #2a3236; }
.ck-cupom label svg { width: 15px; height: 15px; color: #3f86ad; }
.ck-cupom-linha { display: flex; gap: 10px; }
.ck-cupom-linha input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 9px; font-size: 14.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #141a1d; background: #fff; border: 1px dashed #b9c3c9; outline: none; transition: border-color .2s, box-shadow .2s; }
.ck-cupom-linha input::placeholder { font-weight: 400; letter-spacing: 0; text-transform: none; color: #9aa4aa; }
.ck-cupom-linha input:focus { border-color: #4f9cc0; border-style: solid; box-shadow: 0 0 0 3px rgba(79,156,192,.18); }
.ck-cupom-bt { flex: none; height: 50px; padding: 0 20px; border-radius: 9px; font-family: var(--titulo); font-weight: 600; font-size: 14px; color: #fff; background: #1f2a30; transition: background .2s; }
.ck-cupom-bt:hover { background: #3f86ad; }
.ck-cupom-bt:disabled { opacity: .6; cursor: progress; }
.ck-cupom-msg { margin: 0; font-size: 12.5px; font-weight: 600; }
.ck-cupom-msg.ok { color: #2f8a5b; }
.ck-cupom-msg.ruim { color: #b8444d; }
.ck-gratis { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 11px; background: #eaf7f0; border: 1px solid #a9dcc0; }
.ck-gratis[hidden], .ck-metodos[hidden] { display: none; }
.ck-gratis svg { flex: none; width: 22px; height: 22px; color: #2f8a5b; }
.ck-gratis p { margin: 0; font-size: 13.5px; color: #2a3236; }
.ck-total { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid #dfe4e7; font-size: 13.5px; color: #6c777e; }
.ck-total span { margin-right: auto; font-weight: 600; color: #2a3236; }
.ck-total s { color: #9aa4aa; }
.ck-total b { font-family: var(--titulo); font-size: 22px; font-weight: 700; color: #141a1d; }

/* checkout · cobrança real: endereço pelo CEP e painel do PIX */
.ck-endereco { grid-column: 1 / -1; margin: -4px 0 0; font-size: 12.5px; font-weight: 600; }
.ck-endereco.ok { color: #2f8a5b; }
.ck-endereco.ruim { color: #b8444d; }
.ck-pixpainel { display: grid; gap: 18px; justify-items: center; text-align: center; }
.ck-pixpainel .ck-passo { justify-self: stretch; text-align: left; }
.ck-qr { width: 220px; height: 220px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #d2d8dc; }
.ck-copia { justify-self: stretch; display: grid; gap: 7px; font-size: 12.5px; font-weight: 600; color: #2a3236; text-align: left; }
.ck-copia textarea { resize: none; padding: 12px 14px; border-radius: 9px; font: 12.5px/1.45 ui-monospace, Consolas, monospace; color: #141a1d; background: #fff; border: 1px solid #d2d8dc; word-break: break-all; }
.ck-pixpainel .ck-botao { justify-self: stretch; }
.ck-aguarda { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: #4b565c; }
.ck-aguarda i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3f86ad; border-right-color: transparent; animation: ck-gira .8s linear infinite; }
@keyframes ck-gira { to { transform: rotate(360deg); } }

.obg-hub { max-width: 460px; margin: 16px auto 0; font-family: var(--titulo); font-weight: 300; font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--texto) 78%, transparent); text-align: center; }
.obg-hub a { color: var(--destaque); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.obg-hub b { font-weight: 600; color: var(--texto); }

/* Checkout no celular: nada passa da largura da tela (só rola para cima e para baixo).
   O "1fr" não deixava a coluna ficar mais estreita que a largura natural dos campos. */
html:has(body.pg-checkout), body.pg-checkout { overflow-x: clip; max-width: 100%; }
.ck-caixa { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ck-campos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ck-resumo, .ck-painel, .ck-form, .ck-campos label { min-width: 0; }
.ck-campos input, .ck-campos select { width: 100%; min-width: 0; }
@media (max-width: 900px) { .ck-caixa { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ck-campos { grid-template-columns: minmax(0, 1fr); } }
.ck-form { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.ck-form > * { min-width: 0; max-width: 100%; }
.ck-metodos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ck-metodo { min-width: 0; }
.ck-metodo span, .ck-metodo small { min-width: 0; overflow-wrap: anywhere; }
.ck-cupom, .ck-cupom > label, .ck-cupom-linha { min-width: 0; max-width: 100%; }
.ck-cupom { grid-template-columns: minmax(0, 1fr); }
.ck-cupom-linha { width: 100%; }
.ck-cupom-bt { flex: none; }

/* capa com foto comum (não recortada em fundo preto): sem o modo "screen" */
.banner-pessoa.normal { mix-blend-mode: normal; right: 0; }
@media (max-width: 860px) { .banner-pessoa.normal { right: 50%; } }

/* capa com foto comum no computador: foto grande, ~metade da tela */
@media (min-width: 861px) {
  .banner:has(.banner-pessoa.normal) { min-height: clamp(520px, 74vh, 800px); }
  .banner-pessoa.normal { height: auto; width: min(50vw, 980px); max-height: 100%; object-fit: contain; object-position: right bottom; right: 0; bottom: 0; }
}

/* Navegação entre aulas como botões (antes eram só links, confundia) */
.aula-nav { align-items: stretch; }
.aula-nav a { flex: 0 1 auto; min-width: 0; max-width: 48%; gap: 14px; padding: 14px 20px; border-radius: 12px;
  background: var(--painel); border: 1px solid color-mix(in srgb, var(--texto) 16%, transparent);
  font-weight: 600; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.aula-nav a span { min-width: 0; }
.aula-nav a span, .aula-nav a small { overflow: hidden; text-overflow: ellipsis; }
.aula-nav a:hover { color: var(--texto); border-color: color-mix(in srgb, var(--c1) 70%, transparent); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.aula-nav small { font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; margin-bottom: 3px; }
.aula-nav svg { flex: none; width: 20px; height: 20px; }
/* próxima = ação principal */
.aula-nav a.prox { background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 92%, #fff 8%), color-mix(in srgb, var(--c1) 70%, #000 30%)); border-color: transparent; color: #06141a; }
.aula-nav a.prox small, .aula-nav a.prox svg { color: rgba(6,20,26,.72); }
.aula-nav a.prox:hover { color: #06141a; box-shadow: 0 12px 30px color-mix(in srgb, var(--c1) 40%, transparent); }
@media (max-width: 640px) {
  .aula-nav { flex-direction: column-reverse; gap: 10px; }
  .aula-nav a { max-width: 100%; width: 100%; }
  .aula-nav a.prox { margin-left: 0; justify-content: space-between; }
}
@media (max-width: 640px) { .aula-nav a.prox { text-align: left; } }

/* capa larga (computador): personagem grande sem emenda; trilhas sobem por cima do pé da capa */
.banner-largo { display: none; }
@media (min-width: 861px) {
  .banner.com-largo { min-height: clamp(560px, 82vh, 880px); padding-bottom: 170px; }
  .banner.com-largo .banner-largo { display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 18%; }
  .banner.com-largo .banner-fundo, .banner.com-largo .banner-pessoa { display: none; }
  .banner.com-largo::before {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--fundo) 88%, transparent) 0%, color-mix(in srgb, var(--fundo) 45%, transparent) 36%, transparent 58%),
      linear-gradient(to top, var(--fundo) 0%, color-mix(in srgb, var(--fundo) 80%, transparent) 14%, transparent 42%);
  }
  .banner.com-largo + .faixa { margin-top: -150px; position: relative; z-index: 2; }
}

/* checkout · ajuste 3 (computador): temporizador em faixa no topo, de ponta a ponta;
   resumo começa no topo (sem o vão vazio) com a capa do curso em primeiro */
@media (min-width: 861px) {
  .ck { padding-top: 0; }
  .ck-faixa { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 -24px 26px; height: 44px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
    background: linear-gradient(100deg, #3f86ad, #5fb3d3); box-shadow: 0 6px 24px rgba(63,134,173,.35); position: sticky; top: 0; z-index: 20; }
  .ck-selo { display: none; }
  .ck-resumo { justify-content: flex-start; min-height: 0; padding-top: 44px; }
  .ck-produto { order: -1; margin: 0 auto 30px; width: 100%; max-width: 440px; padding: 14px; gap: 18px; border-radius: 14px; }
  .ck-produto img { width: 92px; height: 115px; border-radius: 10px; }
  .ck-produto small { font-size: 13px; }
  .ck-produto b { font-size: 21px; font-weight: 700; margin-top: 4px; }
  .ck-eyebrow { margin-top: 0; }
}

/* ---------- Login da área (só entra quem tem o plano) ---------- */
body.travado > *:not(.login):not(script) { visibility: hidden; }
.login { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; overflow-y: auto; visibility: visible;
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--c1) 18%, transparent), transparent 45%), var(--fundo); }
.login-card { width: 100%; max-width: 420px; padding: 34px 30px 26px; border-radius: 20px; background: var(--painel); border: 1px solid color-mix(in srgb, var(--texto) 12%, transparent);
  box-shadow: 0 30px 80px rgba(0,0,0,.5); text-align: center; animation: entra .5s var(--ease) both; }
.login-logo { width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 16px; display: block; }
.login-sobre { margin: 0 0 6px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--suave); }
.login-tit { margin: 0 0 10px; font-family: var(--titulo); font-size: 28px; font-weight: 800; color: var(--texto); }
.login-txt { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--suave); }
.login-txt b { color: var(--texto); }
.login-form { display: grid; gap: 14px; text-align: left; }
.login-campo { display: grid; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--texto); }
.login-campo[hidden] { display: none; }
.login-campo input { height: 52px; padding: 0 16px; border-radius: 11px; font-size: 16px; color: var(--texto); background: var(--fundo);
  border: 1px solid color-mix(in srgb, var(--texto) 18%, transparent); outline: none; transition: border-color .2s, box-shadow .2s; }
.login-campo input:focus { border-color: var(--c1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 25%, transparent); }
#login-l-codigo input { text-align: center; font-size: 26px; font-weight: 700; letter-spacing: .5em; padding-left: .5em; }
.login-erro { margin: 0; padding: 10px 12px; border-radius: 9px; font-size: 13px; color: #ffb4b8; background: rgba(208,84,93,.14); border: 1px solid rgba(208,84,93,.35); }
.login-bt { height: 52px; border: 0; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 700; color: #06141a;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 92%, #fff 8%), color-mix(in srgb, var(--c1) 70%, #000 30%)); transition: transform .2s, box-shadow .2s, opacity .2s; }
.login-bt:hover { transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--c1) 35%, transparent); }
.login-bt:disabled { opacity: .65; cursor: wait; }
.login-links { display: flex; justify-content: space-between; gap: 10px; }
.login-links[hidden] { display: none; }
.login-links button { background: none; border: 0; padding: 4px 0; font-size: 13px; color: var(--c1); cursor: pointer; }
.login-ajuda { display: inline-block; margin-top: 18px; font-size: 12.5px; color: var(--suave); text-decoration: underline; }

.login-lembrar { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--texto); cursor: pointer; user-select: none; }
.login-lembrar[hidden] { display: none; }
.login-lembrar input { width: 18px; height: 18px; accent-color: var(--c1); cursor: pointer; flex: none; }

/* guia do iPhone (Safari do iOS novo): ••• → Compartilhar → Ver Mais → Adicionar à Tela de Início → Adicionar */
.gi-ios26 { width: 90%; }
.gi-barra26 { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 22px; background: #1f2226; color: #c9cdd2; }
.gi-barra26 > i { display: grid; place-items: center; width: 30px; height: 30px; }
.gi-barra26 svg { width: 18px; height: 18px; }
.gi-url26 { padding: 7px 10px; border-radius: 14px; background: #2a2d31; font-size: 11.5px; color: #c9cdd2; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gi-pontinhos { gap: 3px; grid-auto-flow: column; border-radius: 50%; background: #0a84ff; color: #fff; animation: pulso 1.4s ease-out infinite; }
.gi-pontinhos b { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.gi-menu { width: 74%; }
.gi-acoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 90%; }
.gi-acoes span { display: grid; justify-items: center; gap: 6px; font-size: 10.5px; color: #c9cdd2; }
.gi-acoes i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2a2d31; color: #e6e8ea; }
.gi-acoes svg { width: 20px; height: 20px; }
.gi-acoes .gi-alvo { color: #fff; font-weight: 600; }
.gi-acoes .gi-alvo i { background: #0a84ff; animation: pulso 1.4s ease-out infinite; }
.gi-add { width: 90%; border-radius: 12px; overflow: hidden; background: #1f2226; text-align: left; }
.gi-add-topo { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.gi-add-topo b { font-size: 11.5px; color: #e6e8ea; }
.gi-add-x { font-size: 11px; color: #9aa0a6; text-align: center; }
.gi-add-bt { padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #fff; background: #0a84ff; animation: pulso 1.4s ease-out infinite; }
.gi-add-app { display: flex; align-items: center; gap: 10px; padding: 10px; font-size: 12px; color: #e6e8ea; }
.gi-add-app img { width: 30px; height: 30px; border-radius: 8px; }
.gi-add-sw { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; font-size: 11.5px; color: #e6e8ea; border-top: 1px solid rgba(255,255,255,.06); }
.gi-add-sw i { width: 30px; height: 18px; border-radius: 99px; background: #34c759; position: relative; }
.gi-add-sw i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.gi-dedo-dots { left: 82%; top: 58%; }
.gi-dedo-menu { left: 66%; top: 30%; }
.gi-dedo-mais { left: 80%; top: 46%; }
.gi-dedo-add { left: 84%; top: 22%; }
/* seta grande apontando para os ••• (Safari do iPhone, canto direito embaixo) */
.seta-dots .gi-seta { left: auto; right: max(10px, 5vw); transform: none; animation: quicadots 1.1s ease-in-out infinite; }
@keyframes quicadots { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

/* checkout: aceite dos termos de compra */
.ck-termos { margin: 4px 0 10px; font-size: 12px; line-height: 1.5; color: #6b767c; text-align: center; }
.ck-termos input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #3f86ad; cursor: pointer; }
.ck-termos a { color: #2f7aa3; font-weight: 600; }

/* Módulo bloqueado (`bloqueado: true` no curso.js): opaco, com cadeado e "Em breve" */
.poster.bloqueado { cursor: default; }
.poster.bloqueado .poster-img > img, .poster.bloqueado .poster-img > :not(.poster-trava) { opacity: .78; filter: grayscale(.1); }
.poster.bloqueado:hover .poster-img > img { transform: none; }
.poster-trava { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; background: rgba(6,10,13,.18); padding-bottom: 24%; }
.poster-trava svg { width: 34px; height: 34px; padding: 12px; box-sizing: content-box; border-radius: 50%; background: rgba(11,17,21,.7); border: 1px solid rgba(255,255,255,.22); }
.poster-trava b { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.poster.bloqueado .poster-trava:has(small) { padding-bottom: 24%; }
.poster-trava small { position: absolute; left: 0; right: 0; top: 0; padding: 7px 8px; text-align: center; font-size: 11px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; color: #2a1600; background: linear-gradient(90deg, #ffd27a, #ffb341 55%, #ff8a1f); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.poster-trava small strong { color: #000; font-weight: 800; letter-spacing: .06em; }
.sf.bloqueado { opacity: .45; }
.sf.bloqueado .sf-cab { cursor: default; }
.sf.bloqueado .sf-pct svg { width: 16px; height: 16px; }

/* Aula do tipo página (curso.js: `pagina: "guia/?embed=1#cenarios"`): ocupa a altura da tela em vez do 16:9 */
.player.player-pagina { aspect-ratio: auto; height: calc(100vh - 150px); min-height: 560px; background: #0b1115; border: 1px solid rgba(124,194,220,.16); }
@media (max-width: 760px) { .player.player-pagina { height: calc(100vh - 110px); min-height: 480px; border-left: 0; border-right: 0; } }

/* Botão Voltar ao lado do menu (celular), some na tela inicial */
.voltar-topo { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px 0 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; flex: none; }
.voltar-topo svg { width: 18px; height: 18px; }
body[data-rota="inicio"] .voltar-topo { display: none !important; }
@media (min-width: 761px) { .voltar-topo { display: none; } }

/* Checkout: garantia em destaque e atalho de dúvida no WhatsApp */
.ck-garantia { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(31, 157, 99, .35); background: rgba(31, 157, 99, .07); }
.ck-garantia svg { flex: none; width: 22px; height: 22px; color: #1f9d63; margin-top: 1px; }
.ck-garantia p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #44545b; }
.ck-garantia b { display: block; color: #17724a; font-size: 14.5px; margin-bottom: 2px; }
.ck-duvida { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px auto 0; padding: 11px 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12); color: #5b6a71; text-decoration: none; font-size: 13.5px; transition: border-color .2s, color .2s; }
.ck-duvida:hover { border-color: rgba(37, 211, 102, .6); color: #1d2a30; }
.ck-duvida svg { width: 18px; height: 18px; color: #25d366; flex: none; }
.ck-duvida b { color: #1d2a30; font-weight: 600; }

/* checkout · ajuste 4 (17/10): topo "Compra segura" + preço no produto + selo Pagar.me + barra fixa no celular */
.ck-confia { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; text-align: left; }
.ck-escudo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #d9f6e6;
  background: linear-gradient(135deg, rgba(46,170,110,.32), rgba(46,170,110,.12)); border: 1px solid rgba(110,220,160,.45); }
.ck-escudo svg { width: 28px; height: 28px; }
.ck-confia b { display: block; font-family: var(--titulo); font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.ck-confia small { display: block; font-size: 13px; color: color-mix(in srgb, #fff 72%, transparent); margin-top: 2px; }
.ck-produto > div > b { margin-top: 0; }
.ck-prod-preco { margin: 6px 0 0; }
.ck-prod-parc { display: block; font-family: var(--titulo); font-size: 17px; color: #fff; }
.ck-prod-parc strong { font-weight: 800; font-size: 1.15em; }
.ck-prod-vista { font-size: 12.5px; }
.ck-pagarme { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; margin: 16px 0 0; font-size: 12px; color: color-mix(in srgb, #fff 62%, transparent); }
.ck-pagarme svg { width: 14px; height: 14px; }
.ck-pagarme b { font-family: var(--titulo); font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.ck-pagarme b i { font-style: normal; color: #65d16f; }
.ck-barra { display: none; }
@media (max-width: 860px) {
  .ck-confia b { font-size: 20px; }
  .ck-escudo { width: 44px; height: 44px; border-radius: 12px; }
  .ck-escudo svg { width: 24px; height: 24px; }
  .ck-prod-parc { font-size: 15px; }
  .ck-barra { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dde3e6; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  .ck-barra p { margin: 0; color: #141a1d; line-height: 1.2; }
  .ck-barra-parc { display: block; font-size: 16px; }
  .ck-barra-parc b { font-weight: 800; font-size: 1.12em; }
  .ck-barra small { display: block; font-size: 11.5px; color: #6c777e; margin-top: 2px; }
  .ck-barra button { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 10px; font-family: var(--titulo); font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #1fa463, #2bc06f); box-shadow: 0 6px 18px rgba(31,164,99,.35); }
  body.pg-checkout, .ck-pagina, #checkout { padding-bottom: 84px; }
}
.ck-barra[hidden] { display: none !important; }
.ck-confia { order: -2; margin-bottom: 22px; }
.ck-resumo .ck-produto { order: -1; margin-top: 0; }
.ck-resumo .ck-itens { margin-top: 26px; }
@media (max-width: 860px) { .ck-confia { margin-bottom: 14px; } }

/* checkout · ajuste 5 (19/10): faixa "Você ganhou" (bônus) no topo, alto padrão */
.ck-ganhou { position: relative; z-index: 2; order: -3; width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; margin-bottom: 22px;
  padding: 16px 18px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(240,196,110,.16), rgba(95,179,211,.10) 55%, rgba(255,255,255,.04));
  border: 1px solid transparent; background-clip: padding-box;
  box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.ck-ganhou::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, #f6d48d, rgba(246,212,141,.25) 35%, rgba(95,179,211,.55) 70%, #f6d48d);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ck-ganhou-brilho { position: absolute; top: 0; bottom: 0; left: -40%; width: 35%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,240,205,.16), transparent); transform: skewX(-18deg); animation: ck-ganhou-brilho 5.5s ease-in-out infinite; }
@keyframes ck-ganhou-brilho { 0%, 55% { left: -40%; } 100% { left: 120%; } }
.ck-ganhou-ico { flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #3a2606;
  background: radial-gradient(circle at 30% 25%, #fff2cf, #f3c96f 55%, #c9923a); box-shadow: 0 8px 26px rgba(243,201,111,.38), inset 0 1px 0 rgba(255,255,255,.7); }
.ck-ganhou-ico svg { width: 27px; height: 27px; }
.ck-ganhou-txt small { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #f6d48d; }
.ck-ganhou-txt small svg { width: 11px; height: 11px; }
.ck-ganhou-txt p { margin: 5px 0 0; font-family: var(--titulo); font-size: 17px; line-height: 1.3; font-weight: 400; color: rgba(255,255,255,.88); }
.ck-ganhou-txt p b { font-weight: 800; color: #fff; }
.ck-ganhou-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ck-ganhou-chips span { display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #e9f6fb;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }
.ck-ganhou-chips svg { width: 12px; height: 12px; color: #7fd6a3; }
@media (max-width: 860px) {
  .ck-ganhou { gap: 13px; padding: 14px; margin-bottom: 16px; border-radius: 16px; }
  .ck-ganhou-ico { width: 46px; height: 46px; border-radius: 13px; }
  .ck-ganhou-ico svg { width: 23px; height: 23px; }
  .ck-ganhou-txt p { font-size: 15px; }
  .ck-ganhou-chips span { height: 23px; font-size: 11px; padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { .ck-ganhou-brilho { animation: none; display: none; } }
.ck-ganhou-chips { align-items: center; } .ck-ganhou-chips em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.6); margin-left: 2px; }
@media (max-width: 420px) { .ck-ganhou-chips { gap: 5px; } .ck-ganhou-chips span { padding: 0 8px; font-size: 10.5px; } .ck-ganhou-chips em { font-size: 11px; } }
.ck-ganhou-txt p.ck-ganhou-sub { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: #cfe9f3; } .ck-ganhou-sub svg { width: 14px; height: 14px; color: #7fd6a3; flex: none; } @media (max-width: 860px) { .ck-ganhou-txt p.ck-ganhou-sub { font-size: 12px; } }
/* checkout · ajuste 6 (19/10): arte única no topo + box do produto; segurança numa linha só */
.ck-arte { position: relative; z-index: 2; order: -3; display: block; width: 100%; height: auto; border-radius: 16px; margin-bottom: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.ck-resumo .ck-produto { order: -2; }
.ck-pagarme { flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.ck-pagarme > span { display: inline-flex; align-items: center; gap: 6px; }
.ck-pg-seg { color: #9fe2bd; font-weight: 600; }
.ck-pg-seg svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .ck-arte { border-radius: 13px; margin-bottom: 14px; } }
.ck-resumo .ck-produto, .ck-arte { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; } @media (max-width: 860px) { .ck-resumo .ck-produto, .ck-arte { max-width: none; } }
.ck-pagarme { margin-top: 14px; font-size: 13px; } .ck-pagarme b { font-size: 17px; }
/* checkout · ajuste 7 (19/10): arte + produto num bloco só (produto sobe no degradê da arte) */
.ck-arte { margin-bottom: 0; border-radius: 18px; }
.ck-resumo .ck-produto { position: relative; z-index: 3; width: calc(100% - 28px); max-width: 412px; margin-top: -19%; gap: 16px; padding: 14px;
  background: linear-gradient(180deg, rgba(22,34,42,.55), rgba(10,16,21,.92)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(243,201,111,.38); box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 40px rgba(243,201,111,.10); }
.ck-resumo .ck-produto img { width: 74px; height: 92px; border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.55), 0 0 0 1.5px rgba(243,201,111,.55), 0 0 26px rgba(95,179,211,.35); }
.ck-resumo .ck-produto b { font-size: 19px; }
.ck-prod-parc strong { color: #f7dc9c; }
@media (max-width: 860px) {
  .ck-resumo .ck-produto { width: calc(100% - 20px); max-width: none; margin-top: -17%; padding: 11px; gap: 12px; }
  .ck-resumo .ck-produto img { width: 58px; height: 72px; }
  .ck-resumo .ck-produto b { font-size: 15.5px; }
}
.ck-resumo .ck-produto { margin-top: -13%; } @media (max-width: 860px) { .ck-resumo .ck-produto { margin-top: -12%; } }
/* checkout · ajuste 8 (19/10): box do produto na cor do Clone (azul) em vez de dourado */
.ck-resumo .ck-produto { border-color: rgba(110,196,232,.5); box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 40px rgba(95,179,211,.16); }
.ck-resumo .ck-produto img { box-shadow: 0 10px 26px rgba(0,0,0,.55), 0 0 0 1.5px rgba(110,196,232,.7), 0 0 26px rgba(95,179,211,.35); }
.ck-prod-parc strong { color: #8fd6f2; }
.ck-pagarme { flex-wrap: nowrap; gap: 12px; white-space: nowrap; }
.ck-pg-seg { color: #9fe2bd; font-weight: 600; }
.ck-pg-div { width: 1px; height: 14px; background: rgba(255,255,255,.22); }
@media (max-width: 380px) { .ck-pagarme { font-size: 12px; gap: 9px; } .ck-pagarme b { font-size: 15px; } }
/* checkout · ajuste 9 (19/10): "Compra segura" com o ícone do banner (quadradinho verde) e texto branco */
.ck-pg-seg { color: #fff; font-weight: 600; gap: 8px !important; }
.ck-pg-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-style: normal;
  background: linear-gradient(135deg, #1f6a49, #123a29); border: 1px solid rgba(127,214,163,.55); box-shadow: 0 4px 12px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.ck-pg-ico svg { width: 15px !important; height: 15px !important; color: #bff3d6; }
@media (max-width: 860px) {
  .ck-pagarme { font-size: 12px; gap: 8px; }
  .ck-pagarme b { font-size: 15px; }
  .ck-pg-seg { gap: 6px !important; }
  .ck-pg-ico { width: 22px; height: 22px; border-radius: 7px; }
  .ck-pg-ico svg { width: 13px !important; height: 13px !important; }
}
@media (max-width: 370px) { .ck-pagarme { font-size: 11px; gap: 6px; } .ck-pagarme b { font-size: 13.5px; } }
@media (max-width: 370px) { .ck-pg-div { display: none; } .ck-pagarme { gap: 9px; } .ck-pg-ico { width: 20px; height: 20px; } }
/* checkout · ajuste 10 (21/10): arte nova do topo (boas-vindas + preço + Compra segura / 1 ano / Sem risco) — produto logo abaixo, sem sobrepor */
.ck-resumo .ck-produto { margin-top: 12px; } @media (max-width: 860px) { .ck-resumo .ck-produto { margin-top: 10px; } }
/* checkout · ajuste 11 (21/10): com a arte do topo, fica SÓ a arte (sem caixa do produto / linha pagar.me) e ela vai de ponta a ponta */
.ck-resumo:has(.ck-arte) .ck-produto, .ck-resumo:has(.ck-arte) .ck-pagarme, .ck-resumo:has(.ck-arte) .ck-itens { display: none !important; }
.ck-resumo:has(.ck-arte) { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.ck-resumo:has(.ck-arte) .ck-arte { max-width: none; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 860px) {
  main.ck:has(.ck-arte) { padding-left: 0; padding-right: 0; }
  main.ck:has(.ck-arte) .ck-caixa { border-radius: 0; }
}
@media (max-width: 860px) { main.ck:has(.ck-arte) .ck-faixa { margin-bottom: 0; } }   /* sem espaço entre a faixa e a arte (21/10) */

/* checkout v2 (opcional, liga pelo curso.js): "Você recebe" no celular, selo do PIX, depoimento e dúvidas rápidas */
.ck-recebe { margin: 0 0 20px; border-radius: 12px; background: #f3f8fb; border: 1px solid #d5e6ef; }
.ck-recebe-t { display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: #141a1d; }
.ck-recebe-t::-webkit-details-marker { display: none; }
.ck-recebe-t > svg { width: 20px; height: 20px; flex: none; color: #3f86ad; }
.ck-recebe-t small { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #3f86ad; }
.ck-recebe-t small::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ck-recebe[open] .ck-recebe-t small::after { transform: rotate(225deg) translate(-2px, 0); }
.ck-recebe ul { list-style: none; margin: 0; padding: 2px 16px 16px; display: grid; gap: 8px; }
.ck-recebe li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.35; color: #2a3236; }
.ck-recebe svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: #2f8a5b; }
@media (min-width: 901px) { .ck-recebe { display: none; } }
.ck-metodo { position: relative; }
.ck-pix-selo { position: absolute; top: -9px; right: 10px; padding: 2px 9px; white-space: nowrap; line-height: 1.4; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: #fff; background: #2f8a5b; vertical-align: 1px; }
.ck-depo { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e1e6e9; }
.ck-depo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.ck-depo blockquote { margin: 0; font-size: 13.5px; line-height: 1.45; color: #2a3236; }
.ck-depo figcaption { margin-top: 6px; font-size: 12px; color: #6c777e; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ck-depo figcaption b { color: #141a1d; }
.ck-depo-estrelas { display: inline-flex; gap: 1px; margin-left: 4px; color: #f2b01e; }
.ck-depo-estrelas svg { width: 12px; height: 12px; fill: currentColor; }
.ck-faq { margin-top: 22px; display: grid; gap: 8px; }
.ck-faq-t { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: #141a1d; }
.ck-faq details { border-radius: 10px; background: #fff; border: 1px solid #e1e6e9; }
.ck-faq summary { cursor: pointer; list-style: none; padding: 13px 40px 13px 14px; position: relative; font-size: 13.5px; font-weight: 600; color: #141a1d; }
.ck-faq summary::-webkit-details-marker { display: none; }
.ck-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 400; color: #3f86ad; }
.ck-faq details[open] summary::after { content: "–"; }
.ck-faq details p { margin: 0; padding: 0 14px 14px; font-size: 13px; line-height: 1.5; color: #4b565c; }
.ck-depos { min-width: 0; }
.ck-depos-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; border-radius: 12px; }
.ck-depos-trilho::-webkit-scrollbar { display: none; }
.ck-depos-trilho .ck-depo { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; }
.ck-depos-pontos { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; }
.ck-depos-pontos i { width: 6px; height: 6px; border-radius: 99px; background: #c9d3d8; transition: width .25s, background .25s; }
.ck-depos-pontos i.on { width: 18px; background: #3f86ad; }
.ck-faq details ul { list-style: none; margin: 0; padding: 0 14px 14px; display: grid; gap: 8px; }
.ck-faq details li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.4; color: #4b565c; }
.ck-faq details li svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: #2f8a5b; }

/* Faixas de confiança do checkout (26/10): verde no topo (compra segura) e azul abaixo da arte (acesso imediato) */
.ck-seg { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100vw; margin: 0 0 0 calc(50% - 50vw); padding: 10px max(16px, calc(50vw - 560px));
  background: linear-gradient(90deg, #128a4c, #1aa65d); color: #fff; font: 800 12.5px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.ck-seg span { display: inline-flex; align-items: center; gap: 8px; }
.ck-seg svg { width: 18px; height: 18px; flex: none; }
.ck-seg-pg { text-transform: none; letter-spacing: 0; font-weight: 600 !important; opacity: .95; }
.ck-seg-pg::before { content: "·"; margin-right: 6px; opacity: .7; }
.ck-seg-pg b { font-weight: 800; }
.ck-seg-pg b i { font-style: normal; color: #b6ffd5; }
.ck-acesso { position: relative; z-index: 2; order: -2; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 9px 14px; border-radius: 12px;
  background: linear-gradient(90deg, #1f6f9a, #3fa6d4); color: #fff; font: 700 12.5px/1.25 Inter, sans-serif; letter-spacing: .02em; text-align: center; }
.ck-acesso svg { width: 16px; height: 16px; flex: none; }
.ck-acesso.ck-passos { gap: 4px; padding: 0 6px; height: 34px; font: 600 10.5px/1 Inter, sans-serif; letter-spacing: 0; white-space: nowrap; }
.ck-passos span { display: inline-flex; align-items: center; }
.ck-passos i { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #2478a3; font-weight: 700; font-size: 10px; margin-right: 3px; }
.ck-passos u { text-decoration: none; opacity: .6; margin: 0 1px; }
@media (max-width: 375px) { .ck-acesso.ck-passos { font-size: 9.5px; gap: 2px; } .ck-passos i { width: 14px; height: 14px; font-size: 9px; margin-right: 2px; } }
.ck-resumo .ck-acesso { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .ck-resumo .ck-acesso { width: 100vw; max-width: none; margin: 0 0 0 calc(50% - 50vw); border-radius: 0; } .ck-resumo:has(.ck-acesso) .ck-arte { border-radius: 0; } }

/* 10/11: bônus de consultoria no checkout + botão de agendar na página de obrigado */
.ck-bonus-dest{margin:6px 0 16px;border-radius:16px;overflow:hidden;color:#0f1c24;background:linear-gradient(160deg,#ffffff 0%,#eef8fd 100%);border:1.5px solid #6ec4e8;box-shadow:0 14px 34px -18px rgba(40,120,170,.45)}
.ckb-topo{display:flex;align-items:center;gap:14px;padding:16px 16px 14px}
.ckb-img{width:74px;height:74px;border-radius:12px;object-fit:cover;flex:none;border:1px solid rgba(255,255,255,.12)}
.ckb-ico{width:68px;height:68px;flex:none;border-radius:16px;display:grid;place-items:center;color:#6ec4e8;background:linear-gradient(160deg,rgba(110,196,232,.22),rgba(110,196,232,.06));border:1px solid rgba(110,196,232,.35)}
.ckb-ico svg{width:34px;height:34px}
.ckb-ico3d{background:radial-gradient(circle at 50% 40%,#d7effa,#bfe4f5 75%);border-color:#a9dbf1}
.ckb-ico3d img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(20,70,100,.35))}
.ckb-topo p{margin:0;display:flex;flex-direction:column;gap:3px;min-width:0}
.ckb-topo small{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#1f88bd}
.ckb-topo small svg{width:13px;height:13px}
.ckb-topo b{font-size:16px;line-height:1.25;font-weight:700;color:#0f1c24;text-wrap:balance}
.ckb-topo p>span{font-size:13px;color:#1f88bd;font-weight:600}
.ckb-itens{list-style:none;margin:0;padding:12px 16px 14px;display:flex;flex-direction:column;gap:8px;border-top:1px solid #d6ecf6}
.ckb-itens li{display:flex;align-items:center;gap:9px;font-size:13px;color:#33434c}
.ckb-itens li svg{width:16px;height:16px;flex:none;color:#1f88bd}
.ckb-rodape{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#e3f3fb;border-top:1px solid #cfe9f5}
.ckb-rodape span{font-size:12.5px;color:#4b5b64}
.ckb-rodape em{font-style:normal;font-size:18px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#1f88bd}
.obg-btn-consult{background:#25d366!important;color:#fff!important;box-shadow:0 14px 34px -14px rgba(37,211,102,.7)}
.obg-btn-consult svg{width:22px;height:22px}
.obg-link-curso{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;color:var(--texto,#fff);opacity:.85;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:4px}
.obg-link-curso svg{width:16px;height:16px}
.obg-link-curso:hover{opacity:1}

/* 10/11: topo do curso — próxima aula + progresso, botão azul cheio, fundo sem emenda (tom da foto) */
.heroi-prox { margin: 0 0 26px; max-width: 420px; padding: 14px 18px; border-radius: 14px;
  background: color-mix(in srgb, #0b131b 55%, transparent); border: 1px solid rgba(110,196,232,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hp-linha { display: flex; flex-direction: column; gap: 3px; }
.hp-linha span { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8fd3ef; }
.hp-linha b { font-family: "Sora", var(--ui); font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.hp-barra { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.hp-barra .barra { flex: 1; height: 5px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.hp-barra .barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6ec4e8, #a9e3f7); }
.hp-barra small { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; }
.btn-heroi { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 34px 0 28px; border-radius: 999px;
  background: linear-gradient(135deg, #8ed4f0, #4fa9d3); color: #06141a; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 0 0 6px rgba(110,196,232,.10), 0 14px 34px -10px rgba(79,169,211,.6); transition: transform .2s, box-shadow .2s; }
.btn-heroi:hover { color: #06141a; transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(110,196,232,.16), 0 18px 40px -10px rgba(79,169,211,.75); }
.btn-heroi svg { width: 18px; height: 18px; }
.sub-cb + .heroi-prox { margin-top: 0; }
@media (max-width: 860px) { .heroi-prox { max-width: none; } .btn-heroi { width: 100%; } }
@media (min-width: 861px) {
  .banner.com-largo::before {
    background:
      linear-gradient(90deg, rgba(10,17,25,.95) 0%, rgba(10,17,25,.7) 34%, rgba(10,17,25,0) 58%),
      linear-gradient(to bottom, rgba(10,17,25,.6) 0%, rgba(10,17,25,0) 18%),
      linear-gradient(to top, var(--fundo) 0%, color-mix(in srgb, var(--fundo) 80%, transparent) 14%, transparent 42%);
  }
}
@media (max-width: 860px) { .banner-sobre { display: none; } }

/* 12/11: Clone vira acesso vitalício — selo no produto e abaixo do total */
.ck-vit{display:inline-flex;align-items:center;gap:5px;margin:4px 0 2px;padding:3px 9px 3px 7px;border-radius:999px;background:#e3f3fb;border:1px solid #bfe4f5;color:#1f88bd;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.ck-vit svg{width:12px;height:12px}
.ck-produto b + .ck-vit{display:inline-flex}
.ck-total-vit{margin:-6px 0 14px;text-align:right;font-size:12.5px;font-weight:600;color:#1f88bd}

/* 13/11: topo do checkout em CARTÃO (K.cartao) — substitui a arte; prévia aprovada em gerar_v11_tchan.py */
@property --ang{syntax:'<angle>';initial-value:0deg;inherits:false}
.ck-resumo:has(.tc-wrap) .ck-produto,.ck-resumo:has(.tc-wrap) .ck-pagarme{display:none!important}
.tc-wrap{width:100%;max-width:440px;margin:0 auto;text-align:left}
.tc-membros{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 14px;font-size:13px;color:#fff}
.tc-membros span{display:flex}
.tc-membros img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:2px solid #0f171c;margin-left:-8px}
.tc-membros img:first-child{margin-left:0}
.tc-membros img:nth-child(2){opacity:.75}.tc-membros img:nth-child(3){opacity:.45}
.tc-membros b{font-weight:600}
.tc{position:relative;padding:1.5px;border-radius:22px;color:#fff;
  background:conic-gradient(from var(--ang),rgba(143,211,239,.10) 0deg,rgba(143,211,239,.10) 220deg,#8fd3ef 300deg,#ffffff 330deg,rgba(143,211,239,.10) 360deg);
  animation:tcGira 6s linear infinite;box-shadow:0 30px 60px -30px rgba(63,160,208,.55)}
@keyframes tcGira{to{--ang:360deg}}
@media (prefers-reduced-motion:reduce){.tc{animation:none}}
.tc-in{position:relative;display:flex;gap:16px;align-items:center;padding:20px 16px 18px;border-radius:21px 21px 0 0;
  background:radial-gradient(160px 140px at 22% 50%,rgba(84,170,205,.35),transparent 70%),linear-gradient(180deg,#121c22,#0c1419)}
.tc-capa{flex:none;perspective:600px}
.tc-capa img{display:block;width:86px;height:108px;border-radius:12px;object-fit:cover;transform:rotateY(14deg) rotateX(2deg);
  box-shadow:-10px 18px 30px -12px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.12),0 0 40px -8px rgba(110,196,232,.6)}
.tc-info{min-width:0}
.tc-vit{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border-radius:999px;white-space:nowrap;
  background:linear-gradient(180deg,rgba(110,196,232,.2),rgba(110,196,232,.06));border:1px solid rgba(143,211,239,.45);
  font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#eaf7fd}
.tc-vit i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:linear-gradient(135deg,#9cddf7,#3fa0d0);color:#06141a;font-style:normal;font-size:11px;font-weight:800}
.tc-nome{margin:9px 0 0;font-family:"Sora",var(--ui);font-size:16.5px;font-weight:700;line-height:1.15;letter-spacing:-.015em;white-space:nowrap;color:#fff}
.tc-txt{margin:8px 0 0;font-size:12.6px;line-height:1.45;color:#a9bcc6}
.tc-txt span{display:block;white-space:nowrap}
.tc-txt b{color:#fff;font-weight:600}
.tc-bonus{display:flex;align-items:center;gap:16px;margin:0;padding:14px 16px 15px;line-height:1.4;border-radius:0 0 21px 21px;background:#0e171c;border-top:1px solid rgba(255,255,255,.06);font-size:12.4px;color:#c4dde8}
.tc-bonus b{color:#fff;font-weight:600}
.tc-bwrap{width:86px;flex:none;display:grid;place-items:center}
.tc-moedas{width:64px;height:64px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.6)) drop-shadow(0 0 16px rgba(110,196,232,.25))}
.tc-bselo{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#8fd3ef}
.tc-passos{display:none!important}
@media (max-width:860px){
  .ck-resumo:has(.tc-wrap){padding-top:22px!important;padding-bottom:22px!important}
  .tc-passos-dk{display:none!important}
  .tc-passos{display:flex!important;width:auto!important;max-width:none!important;margin:0!important;border-radius:0!important;justify-content:center!important;gap:2px!important;padding:0 4px!important;font-size:9.8px!important}
  .tc-passos i{width:14px!important;height:14px!important;font-size:9px!important;margin-right:3px!important}
  .tc-passos u{margin:0 2px!important}
}
.tc-passos-dk{margin-bottom:18px!important}
@media (max-width:860px){
  .tc-passos{order:0!important}
  .ck-resumo:has(.tc-wrap){order:0!important}
  .tc-wrap{width:calc(100% + 16px);max-width:none;margin:0 -8px}
}

/* Builder Local (27/11): capa sem degradê e sem azul — título, botão e detalhes no verde do Builders Bot */
.tit-cb .t2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #98f94f; }
.heroi-prox { border-color: rgba(152,249,79,.24); }
.hp-linha span { color: #98f94f; }
.hp-barra .barra i { background: #98f94f; }
.btn-heroi { background: #98f94f; color: #0a0f06; box-shadow: 0 0 0 6px rgba(152,249,79,.10), 0 14px 34px -10px rgba(152,249,79,.55); }
.btn-heroi:hover { color: #0a0f06; box-shadow: 0 0 0 6px rgba(152,249,79,.16), 0 18px 40px -10px rgba(152,249,79,.7); }

/* ==========================================================================
   Builder Local (28/11): página da aula — anterior/próxima logo abaixo do vídeo,
   etapas (assistir · prova rápida · sua vez), cartões de prova e tarefa,
   lista lateral com status e missão na página do módulo.
   ========================================================================== */
.player { border-radius: 16px; box-shadow: 0 0 0 1px var(--linha), 0 34px 80px -46px rgba(0,0,0,.95); }

/* navegação entre aulas */
.passo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; margin-top: 14px; }
.passo-b { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 60px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--linha); background: color-mix(in srgb, var(--texto) 4%, transparent); color: var(--texto); transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; }
.passo-b > span { display: block; min-width: 0; }
.passo-b small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.passo-b b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.passo-b svg { width: 20px; height: 20px; }
.passo-b.ant svg { color: var(--suave); }
.passo-b.prox { justify-content: flex-end; text-align: right; background: var(--c1); border-color: transparent; color: #0a0f06; }
.passo-b.prox small { color: rgba(10,15,6,.66); }
a.passo-b:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c1) 60%, transparent); background: color-mix(in srgb, var(--texto) 7%, transparent); }
a.passo-b.prox:hover { background: var(--c1); box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--c1) 75%, transparent); }
.passo-b.vazio { opacity: .36; }
.passo-meio { display: grid; justify-items: center; align-content: center; gap: 7px; padding: 0 12px; text-align: center; }
.passo-meio b { font-size: 12.5px; font-weight: 600; color: var(--suave); white-space: nowrap; }
.passo-pts { display: flex; gap: 5px; }
.passo-pts i { width: 18px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--texto) 14%, transparent); }
.passo-pts i.ok { background: color-mix(in srgb, var(--c1) 50%, transparent); }
.passo-pts i.at { background: var(--c1); }
.passo.fim-pg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linha); }

/* cabeçalho da aula */
.aula-info { padding-top: 26px; }
.aula-sobre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aula-sobre i { font-style: normal; opacity: .5; }
.pilula { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c1); background: color-mix(in srgb, var(--c1) 13%, transparent); }
.aula-cab h1 { margin-top: 8px; }
.aula-cab .btn-linha { border-radius: 12px; }
.chip { border-radius: 10px; }

/* etapas da aula */
.etapas { list-style: none; display: flex; gap: 6px; margin: 28px 0 0; padding: 6px; border-radius: 16px; background: color-mix(in srgb, var(--texto) 4%, transparent); border: 1px solid var(--linha); }
.etapas li { flex: 1 1 0; min-width: 0; }
.et { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; font-size: 13.5px; font-weight: 500; color: var(--suave); transition: background .2s, color .2s; }
.et:hover { background: color-mix(in srgb, var(--texto) 6%, transparent); color: var(--texto); }
.et i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; border: 1.5px solid color-mix(in srgb, var(--texto) 22%, transparent); }
.et i svg { width: 12px; height: 12px; }
.et.ok { color: var(--texto); }
.et.ok i { background: var(--c1); border-color: var(--c1); color: #0a0f06; }

/* cartões: prova rápida e sua vez */
.cartao { margin-top: 16px; padding: 22px; border-radius: 18px; background: var(--painel); border: 1px solid var(--linha); scroll-margin-top: calc(var(--topo-h) + var(--aviso-h) + 16px); }
.cartao-cab { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.cartao-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--c1); background: color-mix(in srgb, var(--c1) 12%, transparent); }
.cartao-ic svg { width: 20px; height: 20px; }
.cartao-cab h2 { font-family: var(--titulo); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cartao-cab p { margin-top: 2px; font-size: 13px; color: var(--suave); }
.selo { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--suave); background: color-mix(in srgb, var(--texto) 7%, transparent); white-space: nowrap; }
.selo.ok { color: var(--c1); background: color-mix(in srgb, var(--c1) 13%, transparent); }
.q { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--linha); }
.q-n { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.q-t { margin-top: 6px; max-width: 760px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.q-ops { display: grid; gap: 8px; margin-top: 14px; }
.op { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 12px 14px; text-align: left; border-radius: 12px; border: 1px solid var(--linha); background: color-mix(in srgb, var(--texto) 3%, transparent); color: var(--texto); font-size: 14.5px; line-height: 1.4; transition: border-color .2s, background .2s, transform .2s var(--ease), opacity .2s; }
.op i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--suave); background: color-mix(in srgb, var(--texto) 7%, transparent); }
.op:not(:disabled):hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--c1) 55%, transparent); background: color-mix(in srgb, var(--c1) 6%, transparent); }
.op:disabled { cursor: default; opacity: .5; }
.op.certa { opacity: 1; border-color: color-mix(in srgb, var(--c1) 70%, transparent); background: color-mix(in srgb, var(--c1) 10%, transparent); }
.op.certa i { background: var(--c1); color: #0a0f06; }
.op.errada { opacity: 1; border-color: rgba(255,107,107,.6); background: rgba(255,107,107,.08); }
.op.errada i { background: #ff6b6b; color: #1a0606; }
.q-fb { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border-left: 3px solid var(--suave); background: color-mix(in srgb, var(--texto) 5%, transparent); font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--texto) 86%, transparent); animation: entra .35s var(--ease) both; }
.q-fb.ok { border-left-color: var(--c1); }
.q-fb.no { border-left-color: #ff6b6b; }
.q-fb b { color: var(--texto); }
.q-refazer { margin-top: 16px; font-size: 13px; color: var(--suave); text-decoration: underline; text-underline-offset: 3px; }
.q-refazer:hover { color: var(--texto); }
.t-texto { margin-top: 18px; max-width: 760px; font-size: 15.5px; line-height: 1.55; }
.t-entrega { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--c1) 36%, transparent); background: color-mix(in srgb, var(--c1) 7%, transparent); font-size: 14px; line-height: 1.45; }
.t-entrega b { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.t-campo { display: block; margin-top: 16px; }
.t-campo > span { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--suave); }
.t-campo textarea { display: block; width: 100%; min-height: 96px; resize: vertical; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linha); background: rgba(0,0,0,.28); color: var(--texto); font: inherit; line-height: 1.5; }
.t-campo textarea::placeholder { color: color-mix(in srgb, var(--suave) 75%, transparent); }
.t-campo textarea:focus { outline: none; border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 16%, transparent); }
.t-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.t-acoes .btn-linha { border-radius: 12px; height: 44px; }
.btn-prim { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--c1); color: #0a0f06; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn-prim svg { width: 16px; height: 16px; }
.btn-prim:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--c1) 75%, transparent); }
.btn-prim.feito { background: color-mix(in srgb, var(--c1) 14%, transparent); color: var(--c1); box-shadow: none; }
.btn-prim.inativo { background: color-mix(in srgb, var(--texto) 8%, transparent); color: var(--suave); cursor: default; }
.btn-prim.inativo:hover { transform: none; box-shadow: none; }

/* lista lateral: status no lugar da miniatura */
.sf-lista a { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 10px 10px; border-radius: 10px; }
.sf-st { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--suave); border: 1.5px solid color-mix(in srgb, var(--texto) 16%, transparent); }
.sf-st svg { width: 13px; height: 13px; }
.sf-st.ok { background: color-mix(in srgb, var(--c1) 16%, transparent); border-color: transparent; color: var(--c1); }
.sf-lista a.atual { background: color-mix(in srgb, var(--c1) 9%, transparent); box-shadow: inset 2px 0 0 var(--c1); }
.sf-lista a.atual .sf-st:not(.ok) { border-color: var(--c1); color: var(--c1); }
.sf-lista a.atual .sf-st:not(.ok) svg { width: 11px; height: 11px; margin-left: 1px; }

/* missão do módulo */
.missao { padding-bottom: 72px; margin-top: -30px; scroll-margin-top: calc(var(--topo-h) + var(--aviso-h) + 16px); }
.missao-box { padding: 24px; border-radius: 20px; background: var(--painel); border: 1px solid var(--linha); }
.missao-cab { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.missao-k { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.missao-cab h2 { margin-top: 2px; font-family: var(--titulo); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.missao-sub { margin-top: 12px; max-width: 640px; font-size: 14px; color: var(--suave); }
.missao-lista { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.missao-lista a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linha); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.missao-lista a:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--c1) 50%, transparent); background: color-mix(in srgb, var(--c1) 5%, transparent); }
.missao-lista a > svg { width: 18px; height: 18px; color: var(--suave); }
.missao-txt b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.missao-txt small { display: block; margin-top: 2px; font-size: 12px; color: var(--suave); }
.missao-txt em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; line-height: 1.4; color: color-mix(in srgb, var(--texto) 76%, transparent); }
.missao-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.missao-acoes small { flex: 1 1 220px; font-size: 12.5px; color: var(--suave); }

@media (max-width: 860px) {
  .passo-b b { font-size: 13.5px; }
}
@media (max-width: 640px) {
  .player { border-radius: 0; box-shadow: none; }
  .passo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 12px var(--lado) 0; }
  .passo-meio { grid-column: 1 / -1; grid-row: 1; grid-auto-flow: column; justify-content: space-between; align-items: center; padding: 0 2px; }
  .passo-b { min-height: 56px; padding: 9px 12px; gap: 8px; border-radius: 12px; }
  .passo-b b { font-size: 13px; }
  .passo.fim-pg { margin-inline: 0; }
  .aula-info { padding-top: 20px; }
  .etapas { gap: 2px; padding: 4px; border-radius: 14px; }
  .et { gap: 6px; font-size: 12.5px; height: 42px; }
  .et i { width: 20px; height: 20px; font-size: 11px; }
  .cartao { padding: 16px; border-radius: 16px; }
  .cartao-cab { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .cartao-cab .selo { grid-column: 2; justify-self: start; }
  .cartao-ic { width: 36px; height: 36px; border-radius: 10px; }
  .q-t { font-size: 15.5px; }
  .t-acoes > * { flex: 1 1 100%; }
  .missao-box { padding: 16px; border-radius: 16px; }
  .missao-cab { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .missao-cab .selo { grid-column: 2; justify-self: start; }
  .missao-acoes .btn-prim { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .passo-b b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.25; }
  .passo-b { align-items: center; min-height: 64px; }
}

/* ==========================================================================
   Builder Local (28/11, tarde): menos texto, mais ícone. Ações da aula em botões
   grandes e prova / tarefa / missão numa janela animada.
   ========================================================================== */
.aula-desc { font-size: 14px; color: var(--suave); }
.acoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 22px; }
.acao { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; text-align: left; border-radius: 18px;
  background: var(--painel); border: 1px solid var(--linha); color: var(--texto); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s; }
.acao:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c1) 55%, transparent); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--c1) 70%, transparent); }
.acao-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c1); background: color-mix(in srgb, var(--c1) 13%, transparent); transition: transform .3s var(--ease), background .25s, color .25s; }
.acao-ic svg { width: 24px; height: 24px; }
.acao:hover .acao-ic { transform: rotate(-6deg) scale(1.08); }
.acao-txt { min-width: 0; }
.acao-txt b { display: block; font-size: 15.5px; font-weight: 600; }
.acao-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--suave); }
.acao.ok .acao-ic { background: var(--c1); color: #0a0f06; }
.acao.ok::after { content: ""; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent); }
.acao-larga { width: 100%; }
.acao-ir { margin-left: auto; color: var(--suave); }
.acao-ir svg { width: 20px; height: 20px; }
.missao { padding-bottom: 72px; margin-top: -26px; }

body.jm-aberta { overflow: hidden; }
.jm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.jm-fundo { position: absolute; inset: 0; background: rgba(5,6,5,.72); backdrop-filter: blur(8px); animation: jm-fade .3s ease both; }
.jm-caixa { position: relative; width: min(620px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: 30px 28px 26px; border-radius: 24px;
  background: color-mix(in srgb, var(--painel) 92%, #000); border: 1px solid color-mix(in srgb, var(--c1) 22%, var(--linha));
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; animation: jm-in .42s cubic-bezier(.2,1.2,.3,1) both; }
.jm.sai .jm-fundo { animation: jm-fade .24s ease reverse both; }
.jm.sai .jm-caixa { animation: jm-out .24s ease both; }
.jm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--suave); background: color-mix(in srgb, var(--texto) 6%, transparent); transition: background .2s, color .2s, transform .2s; }
.jm-x:hover { color: var(--texto); background: color-mix(in srgb, var(--texto) 12%, transparent); transform: rotate(90deg); }
.jm-x svg { width: 18px; height: 18px; }
.jm-corpo.troca > * { animation: jm-slide .38s var(--ease) both; }
@keyframes jm-fade { from { opacity: 0; } }
@keyframes jm-in { from { opacity: 0; transform: translateY(26px) scale(.94); } }
@keyframes jm-out { to { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes jm-slide { from { opacity: 0; transform: translateX(26px); } }

.jm-pts { display: flex; gap: 6px; margin-bottom: 16px; }
.jm-pts i { width: 34px; height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--texto) 14%, transparent); transition: background .3s; }
.jm-pts i.ok { background: color-mix(in srgb, var(--c1) 55%, transparent); }
.jm-pts i.at { background: var(--c1); }
.jm-k { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c1); }
.jm-t { margin-top: 8px; padding-right: 30px; font-family: var(--titulo); font-size: clamp(18px, 2.2vw, 21px); font-weight: 600; line-height: 1.38; letter-spacing: -.01em; }
.jm-ops { display: grid; gap: 10px; margin-top: 20px; }
.jop { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 13px 14px; text-align: left; border-radius: 14px;
  border: 1px solid var(--linha); background: color-mix(in srgb, var(--texto) 4%, transparent); color: var(--texto); font-size: 15px; line-height: 1.4;
  animation: jm-slide .4s var(--ease) both; animation-delay: calc(var(--d) * 70ms + 120ms); transition: transform .2s var(--ease), border-color .2s, background .2s, opacity .3s; }
.jop i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--suave); background: color-mix(in srgb, var(--texto) 8%, transparent); transition: background .2s, color .2s; }
.jop:not(:disabled):hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--c1) 60%, transparent); background: color-mix(in srgb, var(--c1) 7%, transparent); }
.jop:not(:disabled):hover i { color: var(--c1); }
.jop:disabled { cursor: default; opacity: .38; }
.jop.certa { opacity: 1; border-color: var(--c1); background: color-mix(in srgb, var(--c1) 12%, transparent); animation: jm-pulso .5s var(--ease); }
.jop.certa i { background: var(--c1); color: #0a0f06; }
.jop.errada { opacity: 1; border-color: #ff6b6b; background: rgba(255,107,107,.1); animation: jm-treme .45s ease; }
.jop.errada i { background: #ff6b6b; color: #1a0606; }
@keyframes jm-pulso { 40% { transform: scale(1.025); } }
@keyframes jm-treme { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.jm-fb { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 16px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--texto) 5%, transparent); animation: jm-slide .35s var(--ease) both; }
.jm-fb p { font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--texto) 86%, transparent); }
.jm-fb .btn-prim { grid-column: 1 / -1; justify-self: end; }
.jm-fb-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; animation: jm-pop .45s cubic-bezier(.2,1.6,.4,1) both; }
.jm-fb-ic svg { width: 18px; height: 18px; }
.jm-fb.ok .jm-fb-ic { background: var(--c1); color: #0a0f06; }
.jm-fb.no .jm-fb-ic { background: #ff6b6b; color: #1a0606; }
@keyframes jm-pop { from { transform: scale(0) rotate(-40deg); } }

.jm-fim { position: relative; display: grid; justify-items: center; gap: 14px; padding: 8px 0 4px; text-align: center; }
.jm-fim h2 { font-family: var(--titulo); font-size: 24px; font-weight: 700; letter-spacing: -.015em; animation: jm-slide .4s .35s var(--ease) both; }
.jm-anel { --p: 1; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c1) calc(var(--p) * 360deg), color-mix(in srgb, var(--texto) 10%, transparent) 0); animation: jm-pop .6s cubic-bezier(.2,1.5,.4,1) both; }
.jm-anel b { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--painel) 92%, #000); font-family: var(--titulo); font-size: 30px; font-weight: 700; }
.jm-bts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.jm-bts .btn-linha { border-radius: 12px; height: 44px; }
.confete { position: absolute; left: 50%; top: 66px; width: 0; height: 0; pointer-events: none; }
.confete i { position: absolute; width: 8px; height: 12px; border-radius: 2px; background: var(--c1); opacity: 0;
  animation: confete 1.2s cubic-bezier(.15,.7,.3,1) both; animation-delay: calc(var(--k) * 18ms + 180ms);
  --a: calc(var(--k) * 20deg); }
.confete i:nth-child(3n) { background: #fff; }
.confete i:nth-child(4n) { background: #ffd54a; width: 6px; height: 6px; border-radius: 50%; }
@keyframes confete { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) rotate(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-150px) rotate(320deg); } }

.jm-topo { display: flex; align-items: center; gap: 14px; padding-right: 34px; }
.jm-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--c1); background: color-mix(in srgb, var(--c1) 13%, transparent); animation: jm-pop .5s cubic-bezier(.2,1.5,.4,1) both; }
.jm-ic svg { width: 26px; height: 26px; }
.jm-topo h2 { margin-top: 3px; font-family: var(--titulo); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.jm-txt { margin-top: 18px; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--texto) 88%, transparent); }
.jm-entrega { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; background: color-mix(in srgb, var(--c1) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--c1) 35%, transparent); }
.jm-entrega span { color: var(--c1); }
.jm-entrega svg { width: 18px; height: 18px; }
.jm-nota { display: block; width: 100%; min-height: 96px; margin-top: 14px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--linha); background: rgba(0,0,0,.3); color: var(--texto); font: inherit; line-height: 1.5; }
.jm-nota:focus { outline: none; border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 16%, transparent); }
.jm-tarefa .jm-bts { justify-content: flex-start; margin-top: 14px; }
.jm-ok { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; display: grid; place-items: center; background: var(--c1); color: #0a0f06; opacity: 0; pointer-events: none; transform: scale(.3); }
.jm-ok svg { width: 60px; height: 60px; }
.jm-ok.on { animation: jm-feito 1.1s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes jm-feito { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1.06); } 65% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }

.jm-barra { height: 6px; margin-top: 16px; border-radius: 6px; background: color-mix(in srgb, var(--texto) 10%, transparent); overflow: hidden; }
.jm-barra i { display: block; height: 100%; border-radius: 6px; background: var(--c1); animation: jm-cresce .8s .2s var(--ease) both; }
@keyframes jm-cresce { from { width: 0; } }
.mi-lista { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mi-lista a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--linha); transition: transform .2s var(--ease), border-color .2s; }
.mi-lista a:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--c1) 50%, transparent); }
.mi-lista a > svg { width: 18px; height: 18px; color: var(--suave); }
.mi-st { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--suave); border: 1.5px solid color-mix(in srgb, var(--texto) 16%, transparent); }
.mi-st svg { width: 15px; height: 15px; }
.mi-lista a.ok .mi-st { background: var(--c1); border-color: var(--c1); color: #0a0f06; }
.mi-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.mi-txt small { display: block; font-size: 12px; color: var(--suave); }
.jm-cta { width: 100%; margin-top: 16px; height: 48px; }
@media (max-width: 640px) {
  .jm { padding: 0; place-items: end stretch; }
  .jm-caixa { width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0; padding: 26px 18px 22px; animation-name: jm-sobe; }
  .jm.sai .jm-caixa { animation-name: jm-desce; }
  .acoes { grid-template-columns: 1fr 1fr; }
  .acao { min-height: 68px; padding: 12px; gap: 10px; }
  .acao-ic { width: 40px; height: 40px; border-radius: 12px; }
  @keyframes jm-sobe { from { transform: translateY(100%); } }
  @keyframes jm-desce { to { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .jm *, .jm, .acao { animation: none !important; transition: none !important; } }
.acao.ok { padding-right: 28px; } .acao.ok::after { top: 10px; right: 10px; }
.jm-pts { gap: 5px; padding-right: 34px; } .jm-pts i { flex: 1 1 0; width: auto; max-width: 34px; }

/* Builder Local (28/11): aba Tarefas e barra de progresso no fim do menu lateral */
.lat-prog { margin-top: auto; width: calc(100% - 12px); display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; text-align: center; color: var(--suave); transition: background .2s; }
.lat-prog:hover { background: var(--vidro); }
.lat-prog b { font-size: 9.5px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: var(--texto); }
.lat-prog small { font-size: 9.5px; line-height: 1.2; }
.lat-prog small em { font-style: normal; font-weight: 700; color: var(--c1); }
.lp-barra { width: 100%; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--texto) 12%, transparent); overflow: hidden; }
.lp-barra i { display: block; height: 100%; border-radius: 6px; background: var(--c1); transition: width .6s var(--ease); }
@media (max-width: 860px) {
  .lat-prog { width: 100%; justify-items: stretch; text-align: left; padding: 14px 12px; gap: 8px; background: var(--vidro); border: 1px solid var(--linha); }
  .lat-prog b { font-size: 13px; }
  .lat-prog small { font-size: 12.5px; display: inline; }
  .lp-barra { height: 8px; }
}
.tf-pg { padding: calc(var(--topo-h) + 28px) 0 80px; }
.tf-cab { display: flex; align-items: center; gap: 14px; }
.tf-cab h1 { font-family: var(--titulo); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tf-cab p { margin-top: 2px; font-size: 14px; color: var(--suave); }
.tf-barra { height: 8px; margin: 18px 0 8px; }
.tf-mod { margin-top: 26px; animation: entra .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms + .1s); }
.tf-mod-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.tf-n { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--c1); background: color-mix(in srgb, var(--c1) 12%, transparent); }
.tf-mod-cab h2 { flex: 1; min-width: 0; font-family: var(--titulo); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tf-env { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #0a0f06; background: var(--c1); transition: transform .2s var(--ease); }
.tf-env:hover { transform: translateY(-2px) rotate(-8deg); }
.tf-env svg { width: 17px; height: 17px; }

/* Builder Local (28/11): aba Materiais (PDF de cada módulo) */
.mat-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 26px; }
.mat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--painel); border: 1px solid var(--linha); color: var(--texto); animation: entra .5s var(--ease) both; animation-delay: calc(var(--i) * 50ms + .1s); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.mat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c1) 55%, transparent); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--c1) 70%, transparent); }
.mat-pdf { position: relative; flex: none; width: 50px; height: 58px; border-radius: 10px; display: grid; place-items: center; color: var(--c1); background: color-mix(in srgb, var(--c1) 12%, transparent); }
.mat-pdf svg { width: 24px; height: 24px; }
.mat-pdf em { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 1px 6px; border-radius: 5px; background: var(--c1); color: #0a0f06; }
.mat-txt { flex: 1; min-width: 0; }
.mat-txt small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c1); }
.mat-txt b { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mat-baixar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--suave); background: color-mix(in srgb, var(--texto) 6%, transparent); transition: background .25s, color .25s, transform .25s var(--ease); }
.mat-baixar svg { width: 17px; height: 17px; }
.mat:hover .mat-baixar { background: var(--c1); color: #0a0f06; transform: translateY(2px); }

/* ---------- 02/12: travas da Formação (anti-IA, vídeo sem pular) e login com senha ---------- */
.anti-ia{-webkit-user-select:none;user-select:none}
.anti-ia textarea,.anti-ia input{-webkit-user-select:text;user-select:text}
.anti-ia-nota{margin:14px 22px 18px;font-size:12.5px;line-height:1.45;color:#8f9a95;display:flex;gap:8px;align-items:flex-start}
.anti-ia-nota:before{content:"";flex:none;width:8px;height:8px;margin-top:5px;border-radius:50%;background:#98f94f;box-shadow:0 0 10px #98f94f}
.aviso-trava{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:9999;max-width:min(520px,calc(100vw - 32px));background:#15191a;color:#eef3ef;border:1px solid #98f94f;border-radius:14px;padding:12px 18px;font:500 14.5px/1.4 Inter,system-ui,sans-serif;box-shadow:0 18px 40px rgba(0,0,0,.5);transition:opacity .25s,transform .25s}
.aviso-trava.on{opacity:1;transform:translate(-50%,0)}
.login-voltar{background:none;border:0;padding:0;margin-left:6px;color:#98f94f;font:inherit;text-decoration:underline;cursor:pointer}
.login-erro a{color:#98f94f}
