/* ==========================================================================
   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); }
