/*
  Base comum a todas as telas do tema (carregado antes de ks-home.css, ks-links.css
  e ks-blog.css, que dependem dele): variáveis --ks-*, reset e tipografia do
  wrapper .ks-site, link "Pular para o conteúdo", botões, cabeçalho, rodapé e a
  parte comum do painel "O que você precisa?". Cada tela só acrescenta/ajusta
  o que é dela (o painel tem uma variante na home e outra na bio/blog).
  Tudo escopado no wrapper .ks-site (aberto em parts/ks-header.php, fechado em
  parts/ks-footer.php); fora dele, só :root, html/body com ks-tela.
*/
:where(.ks-site), :where(.ks-site) *, :where(.ks-site) *::before, :where(.ks-site) *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ks-bg: #f7f7f8;
  --ks-bg-topo: #e7f1ee;
  --ks-ink: #11181d;
  --ks-ink-dim: #5f6a72;
  --ks-sobre-card: #ffffff;
  --ks-sobre-card-dim: #9ca7ad;
  --ks-azul: #abcccb;
  --ks-gelo: #d9f2ed;
  --ks-gelo-ink: #11181d;
  --ks-teal: #2f7570;
  --ks-card: #1a2c2b;
  --ks-card-2: #233b39;
  --ks-card-borda: rgba(255,255,255,.08);
  --ks-card-sombra: 0 1px 2px rgba(17,24,29,.05), 0 10px 30px rgba(17,24,29,.10);
  --ks-sombra: var(--ks-card-sombra);
  --ks-linha: rgba(17,24,29,.08);
  --ks-tile: #e4ecea;
  --ks-chip: rgba(17,24,29,.06);
  --ks-chip-escuro: rgba(255,255,255,.1);
  --ks-ff: 'DM Sans', system-ui, sans-serif;
  --ks-r-lg: 28px;
  --ks-r-md: 16px;
}

/* Página (body.ks-tela): só fundo/rolagem. Tipografia e resets ficam no wrapper .ks-site. */
html:has(> body.ks-tela) { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ks-bg); }
html:has(> body.ks-tela), body.ks-tela { overflow-x: clip; }
body.ks-tela { margin: 0; background: var(--ks-bg); }
.ks-site { color: var(--ks-ink); font-family: var(--ks-ff); font-size: 17px; line-height: 1.55; }
:where(.ks-site) a { color: inherit; text-decoration: none; }
:where(.ks-site) img { display: block; max-width: 100%; height: auto; }
:where(.ks-site) svg { display: block; }
.ks-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ks-pular { position: absolute; left: 12px; top: -200px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ks-ink); color: #fff; font: 600 15px/1.2 var(--ks-ff); text-decoration: none; }
.ks-pular:focus { top: 12px; outline: 2px solid var(--ks-teal); outline-offset: 3px; }
.ks-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botões ---------- */
.ks-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.ks-btn:hover { transform: translateY(-2px); }
.ks-btn svg { width: 16px; height: 16px; }
.ks-btn-menta { background: linear-gradient(90deg, #d9f2ed, #abcccb); color: var(--ks-ink); box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 8px 24px rgba(62,138,130,.3); }
.ks-btn-escuro { background: var(--ks-ink); color: #fff; }
.ks-btn-linha { border: 1px solid rgba(17,24,29,.16); background: #fff; color: var(--ks-ink); }

/* ---------- Cabeçalho ---------- */
.ks-h-topo { position: sticky; top: 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.ks-h-topo.ks-h-rolou { background: rgba(247,247,248,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--ks-linha); }
.admin-bar .ks-h-topo { top: 32px; }
@media (max-width: 782px) { .admin-bar .ks-h-topo { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ks-h-topo { top: 0; } }
.ks-h-topo .ks-wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.ks-h-marca { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.ks-h-marca span { color: var(--ks-ink-dim); font-weight: 400; }
.ks-h-menu { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.ks-h-menu a { color: var(--ks-ink-dim); transition: color .2s; }
.ks-h-menu a:hover { color: var(--ks-ink); }
.ks-h-topo .ks-btn { margin-left: auto; padding: 11px 18px; font-size: 14px; }

/* ---------- Rodapé ---------- */
.ks-rodape { padding: 64px 0 32px; border-top: 1px solid var(--ks-linha); font-size: 15px; color: var(--ks-ink-dim); }
.ks-rodape-grade { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.ks-rodape-marca { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; max-width: 420px; }
.ks-rodape-marca p { margin: 0; font-size: 15px; line-height: 1.6; }
.ks-rodape-contato a { color: var(--ks-ink); }
.ks-rodape-cta { padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; }
.ks-rodape-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.ks-rodape-col a { color: var(--ks-ink-dim); text-decoration: none; }
.ks-rodape-tit { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ks-ink); }
.ks-rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ks-linha); font-size: 13px; }
.ks-rodape-base a { color: inherit; }
@media (min-width: 900px) { .ks-rodape-grade { grid-template-columns: 1.5fr repeat(4, 1fr); } .ks-rodape-marca { grid-column: auto; } }
.ks-rodape a:hover { color: var(--ks-ink); }
.ks-rodape strong { color: var(--ks-ink); }

/* ---------- Painel "O que você precisa?" (parte comum; variantes em cada tela) ---------- */
.ks-folha { width: min(100%, 520px); max-width: 100%; margin: auto 0 0; padding: 24px 24px 32px; border: 0; border-radius: var(--ks-r-lg) var(--ks-r-lg) 0 0; background: radial-gradient(120% 70% at 100% 0%, #2c5a55 0%, #1d3b39 45%, #162c2b 100%); color: #fff; }
@media (min-width: 560px) { .ks-folha { margin: auto; border-radius: var(--ks-r-lg); } }
.ks-folha::backdrop { background: rgba(20,44,42,.45); backdrop-filter: blur(6px); }
.ks-folha-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.ks-folha-olho { font-size: 14px; color: var(--ks-azul); margin-bottom: 8px; }
.ks-folha-opcoes { display: grid; gap: 10px; }
.ks-opcao { display: flex; align-items: center; gap: 14px; background: rgba(217,242,237,.08); border: 1px solid rgba(217,242,237,.08); transition: background .2s; }
.ks-opcao strong { display: block; }
/* Ícones do painel: aqui (e não só no ks-blog.css) pra valer também na home e no /links (final review M-1). */
.ks-opcao .ks-icone { width: 48px; height: 48px; border-radius: var(--ks-r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(171,204,203,.14); color: var(--ks-azul); }
.ks-opcao .ks-icone svg { width: 24px; height: 24px; }
.ks-opcao > span:nth-child(2) { flex: 1; }
.ks-opcao .ks-chip-ir { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--ks-chip-escuro); color: var(--ks-sobre-card); transition: transform .2s; }
.ks-opcao .ks-chip-ir svg { width: 20px; height: 20px; }
.ks-opcao:hover .ks-chip-ir { transform: translate(2px, -2px); }

:where(.ks-site) a:focus-visible, :where(.ks-site) button:focus-visible, :where(.ks-site) summary:focus-visible { outline: 2px solid var(--ks-teal); outline-offset: 3px; }

/* ---------- Telas maiores ---------- */
@media (min-width: 760px) {
}
@media (min-width: 980px) {
  .ks-h-menu { display: flex; }
  .ks-h-topo .ks-btn { margin-left: 8px; }
}

/* Logo da Fysi no cabeçalho */
.ks-h-marca { display: inline-flex; align-items: center; gap: 12px; }
.ks-h-sep { width: 1px; height: 22px; background: rgba(17,24,29,.2); }
.ks-h-logo { height: 26px; width: auto; display: block; }
@media (max-width: 520px) { .ks-h-marca { gap: 8px; font-size: 16px; } .ks-h-logo { height: 18px; } .ks-h-sep { height: 16px; } .ks-h-topo .ks-btn { padding: 9px 14px; font-size: 13px; } }

/* Sem palavra sozinha na última linha */
.ks-site h1, .ks-site h2, .ks-site h3, .ks-site h4 { text-wrap: balance; }
.ks-site p, .ks-site li, .ks-site figcaption, .ks-site blockquote { text-wrap: pretty; }

/* ---------- Portfólio filtrável (ks-portfolio.js) ---------- */
.ks-pf-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; padding: 0 12px; }
.ks-pf-filtros button { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(17,24,29,.14); background: #fff; color: var(--ks-ink-dim, #5f6a72); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ks-pf-filtros button:hover { color: var(--ks-ink, #11181d); border-color: rgba(17,24,29,.3); }
.ks-pf-filtros button[aria-selected="true"] { background: var(--ks-ink, #11181d); border-color: var(--ks-ink, #11181d); color: #fff; }
.ks-pf-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ks-pf-lista .ks-pf { display: block; background: #fff; border-radius: 18px; padding: 7px 7px 12px; color: var(--ks-ink, #11181d); box-shadow: 0 1px 2px rgba(17,24,29,.05), 0 10px 28px rgba(17,24,29,.08); transition: transform .25s, box-shadow .25s; animation: ks-pf-entra .45s both; }
.ks-pf-lista .ks-pf:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(17,24,29,.05), 0 16px 36px rgba(17,24,29,.12); }
.ks-pf-lista .ks-pf-img { aspect-ratio: 808 / 632; overflow: hidden; border-radius: 12px; background: #e4ecea; }
.ks-pf-lista .ks-pf-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ks-pf-lista .ks-pf:hover .ks-pf-img > img { transform: scale(1.04); }
.ks-pf-lista .ks-pf-img { position: relative; }
.ks-pf-selo { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 6px 11px; border-radius: 999px; background: linear-gradient(90deg, #d9f2ed, #abcccb); color: #11181d; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; box-shadow: 0 4px 14px rgba(17,24,29,.18); }
@media (min-width: 700px) { .ks-pf-selo { top: 14px; left: 14px; font-size: 12.5px; padding: 7px 13px; } }
.ks-pf-rola { position: absolute; inset: 0 0 auto; z-index: 1; opacity: 0; transition: opacity .35s ease, transform .7s ease; pointer-events: none; }
.ks-pf-rola img { width: 100%; height: auto; display: block; }
.ks-pf-lista .ks-pf-pronto:hover .ks-pf-rola { opacity: 1; transform: translateY(var(--ks-curso)); transition: opacity .35s ease, transform var(--ks-tempo, 5s) cubic-bezier(.45,0,.55,1) .15s; }
.ks-pf-lista .ks-pf-info { padding: 10px 6px 0; }
.ks-pf-lista .ks-pf-info strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ks-pf-lista .ks-pf-info span { display: block; font-size: 12.5px; color: var(--ks-ink-dim, #5f6a72); margin-top: 3px; }
@keyframes ks-pf-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) { .ks-pf-lista { grid-template-columns: repeat(3, 1fr); gap: 16px; } .ks-pf-lista .ks-pf { border-radius: 24px; padding: 11px 11px 18px; } .ks-pf-lista .ks-pf-img { border-radius: 16px; } .ks-pf-lista .ks-pf-info { padding: 16px 10px 0; } .ks-pf-lista .ks-pf-info strong { font-size: 20px; } .ks-pf-lista .ks-pf-info span { font-size: 15px; } }

/* ---------- Página do projeto (sobreposta) ---------- */
html.ks-proj-aberto { overflow: hidden; }
.ks-projtela:not([open]) { display: none; }
.ks-projtela { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 80px; border: 0; background: #f4f6f5; color: #11181d; overflow-y: auto; font-family: 'DM Sans', system-ui, sans-serif; }
.ks-projtela[open] { animation: ks-proj-entra .45s cubic-bezier(.2,.8,.2,1); }
.ks-projtela::backdrop { background: rgba(17,24,29,.5); }
@keyframes ks-proj-entra { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.ks-proj-barra { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: rgba(244,246,245,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ks-proj-area { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #2f7570; }
.ks-proj-fechar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(17,24,29,.14); background: #fff; display: grid; place-items: center; cursor: pointer; color: #11181d; transition: transform .25s; }
.ks-proj-fechar:hover { transform: rotate(90deg); }
.ks-proj-fechar svg { width: 20px; height: 20px; }
.ks-proj-topo { max-width: 1200px; margin: 0 auto; padding: 40px 24px 56px; display: grid; gap: 32px; align-items: start; }
.ks-proj-olho { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5f6a72; }
.ks-proj-olho::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.ks-proj-topo h2, .ks-proj-topo h1 { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.03em; line-height: 1; margin-top: 16px; padding-right: .08em; }
.ks-proj-sobre { border-top: 1px solid rgba(17,24,29,.12); padding-top: 24px; }
.ks-proj-sobre > p { font-size: 17px; line-height: 1.6; color: #2c363d; }
.ks-proj-sobre dl { display: grid; gap: 10px; margin: 20px 0 28px; }
.ks-proj-sobre dl div { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.ks-proj-sobre dt { min-width: 72px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #2f7570; }
.ks-proj-sobre dd { margin: 0; color: #11181d; }
.ks-proj-orcar { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ks-proj-orcar svg { width: 18px; height: 18px; }
@media (min-width: 860px) {
  .ks-proj-topo { grid-template-columns: 1.15fr 1fr; gap: 64px; padding-top: 56px; }
  .ks-proj-sobre { border-top: 0; border-left: 1px solid rgba(17,24,29,.12); padding: 4px 0 4px 48px; }
}
.ks-proj-pagina { max-width: 1100px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(17,24,29,.12); background: #e7ecea; }
@media (max-width: 1131px) { .ks-proj-pagina { margin: 0 16px; } }
.ks-fatia { width: 100%; height: auto; display: block; }
.ks-proj-cta { display: block; max-width: 1100px; margin: 24px auto 0; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(17,24,29,.12); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 1131px) { .ks-proj-cta { margin: 16px 16px 0; } }
.ks-proj-cta:hover { transform: translateY(-4px); }
.ks-proj-cta img { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .ks-projtela .ks-fatia, .ks-projtela .ks-proj-cta { opacity: 0; transform: translateY(48px) scale(.985); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
  .ks-projtela .ks-visivel { opacity: 1; transform: none; }
  .ks-revela .ks-projsolo .ks-fatia, .ks-revela .ks-projsolo .ks-proj-cta { opacity: 0; transform: translateY(48px) scale(.985); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
  .ks-revela .ks-projsolo .ks-visivel { opacity: 1; transform: none; }
}
.ks-proj-fim { max-width: 1100px; margin: 48px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.ks-proj-fim a, .ks-proj-fim a:hover { text-decoration: none; }
.ks-proj-fim .ks-btn { display: inline-flex; padding: 16px 28px; border-radius: 999px; background: #11181d; color: #fff; font-weight: 600; }
.ks-proj-prox { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; color: #11181d; text-align: right; }
.ks-proj-prox small { grid-column: 1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #5f6a72; }
.ks-proj-prox strong { grid-column: 1; font-size: 24px; letter-spacing: -0.03em; }
.ks-proj-prox svg { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #d9f2ed; }

/* ---------- Cursor em círculo (ks-cursor.js) ---------- */
.ks-cursor { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.ks-cursor.ks-cursor-ativo { opacity: 1; }
.ks-cursor-anel { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(17,24,29,.45); transition: width .3s, height .3s, left .3s, top .3s, background .3s, border-color .3s; }
.ks-cursor-link .ks-cursor-anel { left: -32px; top: -32px; width: 64px; height: 64px; border-color: rgba(62,138,130,.7); background: rgba(217,242,237,.35); }
.ks-cursor-rotulo .ks-cursor-anel { left: -44px; top: -44px; width: 88px; height: 88px; border-color: transparent; background: #11181d; }
.ks-cursor-clique .ks-cursor-anel { transform: scale(.85); }
.ks-cursor-txt { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 600 12px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.ks-cursor-rotulo .ks-cursor-txt { opacity: 1; }

/* Página Portfólio */
.ks-portfolio-pagina { padding: 56px 0 96px; }
.ks-portfolio-cabeca { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.ks-portfolio-cabeca h1 { font-weight: 300; font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.045em; line-height: 1.02; margin: 10px 0 14px; }
.ks-portfolio-cabeca h1 em { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; color: #2f6f68; }

/* Página própria do projeto (/portfolio/<slug>/) */
.ks-projsolo { padding-bottom: 96px; }
.ks-proj-trilha { max-width: 1200px; margin: 0 auto; padding: 28px 24px 0; font-size: 13px; color: #5f6a72; }
.ks-proj-trilha a { color: inherit; text-decoration: none; }
.ks-proj-trilha a:hover { color: #11181d; }
.ks-proj-assunto { display: block; margin-bottom: 14px; font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: 0; line-height: 1.4; color: #2f7570; }
.ks-proj-assunto::first-letter { text-transform: uppercase; }
.ks-proj-irmaos { margin-top: 96px; }
.ks-proj-irmaos h2 { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.02em; margin-bottom: 28px; }
.ks-proj-todos { margin-top: 32px; text-align: center; }
.ks-proj-todos .ks-btn { display: inline-flex; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }

/* Aulas do YouTube (/aulas/) */
.ks-aulas { padding-bottom: 96px; }
.ks-aulas-inscrever { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ks-aulas-inscrever svg { width: 18px; height: 18px; }
.ks-aulas-lista { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ks-aulas-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ks-aulas-lista { grid-template-columns: repeat(3, 1fr); } }
.ks-aula-play, .ks-aula iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: #11181d; cursor: pointer; }
.ks-aula-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ks-aula-play:hover img { transform: scale(1.04); }
.ks-aula-icone { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(90deg, #d9f2ed, #abcccb); color: #11181d; box-shadow: 0 10px 30px rgba(17,24,29,.3); }
.ks-aula-icone svg { width: 26px; height: 26px; margin-left: 3px; }
.ks-aula h2 { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.ks-aula h2 a { color: inherit; text-decoration: none; }
.ks-aula time { display: block; margin-top: 6px; font-size: 13px; color: #5f6a72; }

/* Calculadora de sites (/calculadora-de-sites/) */
.ks-calc-pagina { padding-bottom: 96px; }
.ks-calc { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .ks-calc { grid-template-columns: 1fr 360px; } .ks-calc-resultado { grid-column: 2; grid-row: 1 / span 5; position: sticky; top: 96px; } }
.ks-calc fieldset { border: 0; margin: 0; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 10px 30px rgba(17,24,29,.05); }
.ks-calc legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ks-calc legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(90deg, #d9f2ed, #abcccb); font-size: 14px; }
.ks-calc-opcoes { clear: both; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ks-calc-opcoes label { position: relative; cursor: pointer; }
.ks-calc-opcoes input { position: absolute; opacity: 0; pointer-events: none; }
.ks-calc-opcoes span { display: block; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(17,24,29,.12); font-size: 15px; font-weight: 500; line-height: 1.3; transition: border-color .2s, background .2s, box-shadow .2s; }
.ks-calc-opcoes small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: #5f6a72; }
.ks-calc-opcoes label:hover span { border-color: #abcccb; }
.ks-calc-opcoes input:checked + span { border-color: #2f7570; background: #eef8f6; box-shadow: 0 0 0 1px #2f7570; }
.ks-calc-opcoes input:focus-visible + span { outline: 2px solid #2f7570; outline-offset: 2px; }
.ks-calc-faixa { clear: both; margin-top: 18px; }
.ks-calc-faixa label { display: block; margin-bottom: 8px; font-size: 15px; }
.ks-calc-faixa input[type=range] { width: 100%; accent-color: #2f7570; }
.ks-calc-resultado { padding: 28px; border-radius: 22px; background: #11181d; color: #fff; }
.ks-calc-rotulo { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #abcccb; }
.ks-calc-total { margin: 6px 0 18px; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(32px, 4vw, 42px); line-height: 1.1; }
.ks-calc-mensal { margin: 6px 0 16px; font-size: 22px; font-weight: 600; }
.ks-calc-nota { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.ks-calc-resultado .ks-btn { display: flex; justify-content: center; padding: 15px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ks-calc-aprender { display: block; margin-top: 14px; font-size: 14px; color: #d9f2ed; text-align: center; }
.ks-calc-texto { max-width: 760px; margin-top: 72px; }
.ks-calc-texto h2 { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(30px, 4vw, 44px); margin: 40px 0 16px; }
.ks-calc-texto > p { font-size: 17px; line-height: 1.7; color: #2c363d; }
.ks-calc-faq { border-bottom: 1px solid rgba(17,24,29,.12); padding: 18px 0; }
.ks-calc-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; }
.ks-calc-faq p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: #2c363d; }
.ks-calc-sep { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(17,24,29,.1); }
.ks-calc-opc { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: #5f6a72; }
.ks-calc-faixa small { color: #5f6a72; }
@media (min-width: 980px) { .ks-calc-resultado { grid-row: 1 / span 5; } }
.ks-calc-campos { clear: both; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ks-calc-campos label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.ks-calc-campos small { font-weight: 400; color: #5f6a72; }
.ks-calc-campos input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(17,24,29,.16); font: inherit; font-size: 17px; background: #fbfcfc; }
.ks-calc-campos input:focus { outline: 2px solid #2f7570; outline-offset: 1px; border-color: transparent; }
.ks-calc-dl { margin: 0 0 18px; display: grid; gap: 10px; }
.ks-calc-dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.ks-calc-dl dt { color: rgba(255,255,255,.7); }
.ks-calc-dl dd { margin: 0; font-weight: 600; }
.ks-calc-dica { clear: both; margin-top: 12px; font-size: 14px; color: #5f6a72; }
.ks-calc-dica a { color: #11181d; }
.ks-ferr-lista { display: grid; gap: 10px; padding-left: 20px; font-size: 17px; }
.ks-ferr-lista a { color: #11181d; text-decoration-color: #abcccb; text-underline-offset: 3px; }
@media (min-width: 980px) { .ks-calc-resultado { grid-row: 1 / span 5; } }

/* Texto das ferramentas: autoria, tabela e listas */
.ks-calc-autoria { font-size: 14px; color: #5f6a72; }
.ks-calc-autoria a { color: #11181d; }
.ks-calc-texto ul:not(.ks-ferr-lista) { display: grid; gap: 10px; padding-left: 20px; font-size: 17px; line-height: 1.6; color: #2c363d; }
.ks-calc-texto ol { display: grid; gap: 10px; padding-left: 22px; font-size: 17px; line-height: 1.6; color: #2c363d; }
.ks-calc-texto > p a, .ks-calc-texto li a { color: #11181d; text-decoration-color: #abcccb; text-underline-offset: 3px; }
.ks-calc-texto h3 { margin: 28px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ks-tabela-rolagem { overflow-x: auto; margin: 8px 0 18px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(17,24,29,.08); }
.ks-tabela { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 15px; }
.ks-tabela th, .ks-tabela td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(17,24,29,.08); }
.ks-tabela th { background: #eef8f6; font-weight: 600; }
.ks-tabela tr:last-child td { border-bottom: 0; }
.ks-calc-formula { padding: 16px 20px; border-radius: 14px; background: #eef8f6; font-weight: 600; font-size: 18px !important; color: #11181d !important; }

/* Formação LPS: módulos (/formacao-lps/modulos/) */
main.ks-curso { padding-bottom: 96px; }
.ks-curso-numeros { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 6px; padding: 0; list-style: none; font-size: 15px; color: #5f6a72; }
.ks-curso-numeros strong { color: #11181d; font-size: 20px; margin-right: 4px; }
.ks-curso-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ks-curso-cta svg { width: 18px; height: 18px; }
.ks-modulos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.ks-modulo-item { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 8px 24px rgba(17,24,29,.04); overflow: hidden; }
.ks-modulo-cab { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 20px 22px 12px; color: inherit; text-decoration: none; }
@media (min-width: 760px) { .ks-modulo-cab { grid-template-columns: auto 1fr auto; align-items: center; } }
.ks-modulo-n { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-size: 34px; line-height: 1; color: #2f7570; }
.ks-modulo-txt strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ks-modulo-txt span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: #5f6a72; }
.ks-modulo-qtd { grid-column: 2; font-size: 13px; font-weight: 600; color: #2f7570; }
@media (min-width: 760px) { .ks-modulo-qtd { grid-column: auto; } }
.ks-modulo-bonus { margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, #d9f2ed, #abcccb); font-style: normal; font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.ks-modulo-cab:hover .ks-modulo-txt strong { text-decoration: underline; text-decoration-color: #abcccb; text-underline-offset: 4px; }
.ks-modulo-aulas { padding: 0 22px 16px 22px; }
.ks-modulo-aulas summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #11181d; }
.ks-modulo-aulas ul { margin: 12px 0 0; padding-left: 20px; columns: 2 280px; column-gap: 32px; font-size: 14.5px; line-height: 1.6; color: #2c363d; }
.ks-curso-fim { margin-top: 64px; padding: 40px 28px; border-radius: 28px; background: #11181d; color: #fff; text-align: center; }
.ks-curso-fim h2 { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; }
.ks-curso-fim > p { max-width: 560px; margin: 14px auto 0; color: rgba(255,255,255,.75); font-size: 17px; }
.ks-curso-gratis a { color: #d9f2ed; }
.ks-curso-trilha { padding-left: 0; padding-right: 0; }
.ks-modulo-grade { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .ks-modulo-grade { grid-template-columns: 1fr 360px; } .ks-modulo-cta { position: sticky; top: 96px; } }
.ks-modulo-h2 { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.ks-modulo-lista { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: aula; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06); }
.ks-modulo-lista li { counter-increment: aula; display: flex; gap: 14px; padding: 15px 20px; border-bottom: 1px solid rgba(17,24,29,.07); font-size: 16px; line-height: 1.45; }
.ks-modulo-lista li:last-child { border-bottom: 0; }
.ks-modulo-lista li::before { content: counter(aula, decimal-leading-zero); min-width: 26px; font-weight: 600; color: #2f7570; }
.ks-modulo-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.ks-modulo-nav a { display: grid; gap: 4px; max-width: 48%; color: #11181d; font-weight: 600; text-decoration: none; }
.ks-modulo-nav small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5f6a72; }
.ks-modulo-prox { text-align: right; margin-left: auto; }
/* Trilhas da Formação LPS */
.ks-trilhas { margin: 40px 0 56px; }
.ks-trilhas-sub { margin: -6px 0 20px; font-size: 16px; color: #5f6a72; }
.ks-trilhas-grade { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ks-trilha-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; color: #11181d; text-decoration: none; box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 8px 24px rgba(17,24,29,.04); transition: transform .25s, box-shadow .25s; }
.ks-trilha-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #abcccb, 0 14px 30px rgba(17,24,29,.08); }
.ks-trilha-card strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ks-trilha-card span { font-size: 14.5px; line-height: 1.5; color: #5f6a72; }
.ks-trilha-card small { margin-top: 4px; font-size: 13px; font-weight: 600; color: #2f7570; }
.ks-modulos-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ks-modulos-expandir { border: 1px solid rgba(17,24,29,.14); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ks-trilha-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ks-trilha-passos > li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06); }
.ks-trilha-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(90deg, #d9f2ed, #abcccb); font-weight: 700; }
.ks-trilha-passos h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ks-trilha-passos h2 a { color: inherit; text-decoration-color: #abcccb; text-underline-offset: 4px; }
.ks-trilha-passos p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: #5f6a72; }
.ks-trilha-passos ul { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: #2c363d; }
.ks-trilhas-outras { margin-top: 64px; }
.ks-trilhas-grupo { margin: 26px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2f7570; }
.ks-trilha-nivel { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #11181d; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 600; }
.ks-modulo-lista li span { flex: 1; }
.ks-modulo-lista li small { flex: none; font-size: 13px; color: #5f6a72; }
.ks-modulo-tempo { font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-size: 15px; color: #5f6a72; margin-left: 8px; }

/* Playbooks (/playbook-de-copy/ etc.) */
.ks-pb { padding-bottom: 96px; }
.ks-pb-cabeca h1 { max-width: 900px; }
.ks-pb-aprende { margin: 8px 0 28px; padding: 24px 26px; border-radius: 22px; background: #eef8f6; }
.ks-pb-aprende ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; columns: 2 300px; }
.ks-pb-etapas { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); counter-reset: none; }
.ks-pb-etapas li { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: #11181d; color: #fff; }
.ks-pb-etapas span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(90deg, #d9f2ed, #abcccb); color: #11181d; font-weight: 700; font-size: 14px; }
.ks-pb-etapas strong { font-size: 16px; }
.ks-pb-etapas small { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.7); }
.ks-pb-indice { margin-bottom: 40px; padding: 22px 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06); }
.ks-pb-indice ol { margin: 10px 0 0; padding-left: 22px; columns: 2 280px; column-gap: 32px; font-size: 15px; line-height: 1.8; }
.ks-pb-indice a { color: #11181d; text-decoration-color: #abcccb; text-underline-offset: 3px; }
.ks-pb-corpo { max-width: 780px; }
.ks-pb-corpo > section { scroll-margin-top: 90px; }
.ks-pb-corpo h2 { margin: 56px 0 16px; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.ks-pb-corpo h3 { margin: 28px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ks-pb-corpo p, .ks-pb-corpo li { font-size: 17px; line-height: 1.7; color: #2c363d; }
.ks-pb-corpo ul, .ks-pb-corpo ol { padding-left: 22px; display: grid; gap: 8px; }
.ks-pb-corpo p + p { margin-top: 14px; }
.ks-pb-corpo a { color: #11181d; text-decoration-color: #abcccb; text-underline-offset: 3px; }
.ks-pb-corpo blockquote { margin: 20px 0; padding: 16px 20px; border-left: 3px solid #2f7570; background: #eef8f6; border-radius: 0 14px 14px 0; font-size: 17px; }
.ks-pb-corpo table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17,24,29,.08); display: block; overflow-x: auto; }
.ks-pb-corpo th, .ks-pb-corpo td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(17,24,29,.08); }
.ks-pb-corpo th { background: #eef8f6; font-weight: 600; }
.ks-pb-item { margin: 10px 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.07); }
.ks-pb-item summary { cursor: pointer; padding: 16px 20px; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ks-pb-item summary::-webkit-details-marker { display: none; }
.ks-pb-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: #2f7570; }
.ks-pb-item[open] summary::after { content: "−"; }
.ks-pb-item > div { padding: 0 20px 18px; }
.ks-pb-ferr { margin: 48px 0; padding: 28px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px #abcccb, 0 18px 40px rgba(17,24,29,.08); }
.ks-pb-ferr h2 { margin-top: 6px !important; }
.ks-gh-lista { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ks-gh-lista li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #eef8f6; font-size: 17px !important; font-weight: 500; color: #11181d !important; }
.ks-gh-copiar { flex: none; border: 1px solid rgba(17,24,29,.15); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ks-dc-grade { display: grid; gap: 4px; }
.ks-dc-grade .ks-calc-faixa span { display: grid; gap: 2px; margin-bottom: 6px; }
.ks-dc-grade .ks-calc-faixa small { font-size: 14px; color: #5f6a72; }
.ks-dc-res { margin-top: 20px; }
.ks-dc-res .ks-calc-nota { font-size: 15px; color: rgba(255,255,255,.8); }
.ks-cp-frase { margin: 8px 0 18px; font-size: 19px !important; line-height: 1.5; color: #fff !important; }
.ks-dc-res .ks-btn { display: inline-flex; padding: 13px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.ks-calc-sim { grid-column: 1; }
.ks-calc-sim-grade { clear: both; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ks-calc-sim-grade p:last-child { margin-top: 6px; font-size: 17px; font-weight: 600; color: #11181d; }
.ks-calc-sim-grade .ks-calc-rotulo { color: #2f7570; }
@media print {
  .ks-h-topo, .ks-rodape, .ks-pb-indice, .ks-curso-fim, .ks-trilhas-outras, .ks-pb-corpo > section:not(#canvas-de-posicionamento), .ks-pb-aprende, .ks-pb-etapas, .ks-pb-cabeca, .ks-cursor, .ks-autora, .ks-proj-trilha { display: none !important; }
  .ks-pb-ferr { box-shadow: none; }
}

/* Provas e depoimentos (inc/depoimentos.php) */
.ks-dep { margin: 72px 0 0; }
.ks-dep-t { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; max-width: 820px; }
.ks-dep-sub { margin: 14px 0 28px; max-width: 640px; font-size: 17px; color: #5f6a72; }
.ks-dep-topo { display: grid; gap: 16px; }
@media (min-width: 900px) { .ks-dep-topo { grid-template-columns: 1.6fr 1fr; } }
.ks-dep-video { margin: 0; border-radius: 24px; overflow: hidden; background: #11181d; color: #fff; }
.ks-dep-video iframe, .ks-dep-video .ks-aula-play { border-radius: 0; }
.ks-dep-video figcaption { display: grid; gap: 6px; padding: 18px 22px 22px; }
.ks-dep-video small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #abcccb; }
.ks-dep-video strong { font-size: 20px; line-height: 1.3; }
.ks-dep-contagem { padding: 26px; border-radius: 24px; background: #eef8f6; }
.ks-dep-total { margin: 4px 0; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-size: 72px; line-height: 1; }
.ks-dep-contagem ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.ks-dep-h3 { margin: 48px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2f7570; }
.ks-dep-prints { columns: 3 260px; column-gap: 14px; }
.ks-dep-prints figure { break-inside: avoid; margin: 0 0 14px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.07); }
.ks-dep-prints img { width: 100%; height: auto; display: block; }
.ks-dep-prints figcaption { padding: 10px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5f6a72; }
.ks-dep-relatos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.ks-dep-relatos blockquote { margin: 0; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.07); }
.ks-dep-relatos p { font-size: 16.5px; line-height: 1.65; color: #2c363d; }
.ks-dep-relatos footer { display: grid; gap: 2px; margin-top: 16px; }
.ks-dep-relatos footer strong { font-size: 15px; color: #11181d; }
.ks-dep-relatos footer span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5f6a72; }

/* ---------- Arte abstrata animada (ks_arte() em inc/formacao.php) ---------- */
.ks-arte { position: relative; isolation: isolate; overflow: hidden; background: var(--c1, #03141a); }
.ks-arte::before { content: ""; position: absolute; inset: -35%; z-index: -1;
  background: radial-gradient(38% 42% at var(--x1, 30%) var(--y1, 30%), var(--c3) 0%, transparent 70%),
              radial-gradient(45% 50% at var(--x2, 70%) var(--y2, 70%), var(--c2) 0%, transparent 72%),
              radial-gradient(30% 30% at 55% 45%, var(--c2) 0%, transparent 70%);
  filter: blur(18px) saturate(1.1); animation: ks-deriva 22s ease-in-out var(--atraso, 0s) infinite alternate; animation-play-state: paused; }
.ks-arte::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.ks-arte.ks-anima::before, .ks-arte.ks-anima .ks-bolha { animation-play-state: running; }
@keyframes ks-deriva { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(6%, -5%) rotate(25deg) scale(1.12); } 100% { transform: translate(-5%, 6%) rotate(-18deg) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .ks-arte::before, .ks-bolha, .ks-chips li, .ks-faixa-ferr-trilho { animation: none !important; } }

/* Herói do curso */
.ks-curso-hero { display: grid; gap: 28px; align-items: center; padding: 28px 0 24px; }
@media (min-width: 980px) { .ks-curso-hero { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 40px; } }
.ks-curso-hero h1 { font-family: 'ivypresto-display', Georgia, serif; font-weight: 300; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.ks-curso-hero h1 em { font-style: italic; }
.ks-curso-hero .ks-s-sub { margin-top: 18px; }
.ks-arte-hero { min-height: 420px; border-radius: 32px; box-shadow: 0 30px 70px rgba(3,20,26,.25); }
@media (min-width: 980px) { .ks-arte-hero { min-height: 540px; } }
.ks-bolha { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .85; animation: ks-bolha 16s ease-in-out infinite alternate; animation-play-state: paused; }
.ks-b1 { width: 55%; aspect-ratio: 1; left: -10%; top: 8%; background: var(--c3); }
.ks-b2 { width: 45%; aspect-ratio: 1; right: -8%; bottom: -6%; background: #20b195; animation-duration: 20s; animation-delay: -6s; }
.ks-b3 { width: 30%; aspect-ratio: 1; right: 20%; top: -8%; background: #e07a3a; opacity: .55; animation-duration: 24s; animation-delay: -12s; }
@keyframes ks-bolha { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(18%, 14%) scale(1.25); } }
.ks-arte-marca { position: absolute; z-index: 1; top: 22px; left: 24px; height: 26px; width: auto; filter: invert(1); opacity: .9; }
.ks-chips { position: absolute; z-index: 1; inset: auto 20px 22px 20px; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ks-chips li { padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 14px; font-weight: 500; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: ks-chip 6s ease-in-out calc(var(--i) * -.7s) infinite alternate; animation-play-state: paused; }
.ks-anima .ks-chips li { animation-play-state: running; }
@keyframes ks-chip { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* Faixa de ferramentas rolando */
.ks-faixa-ferr { overflow: hidden; margin: 8px -24px 0; padding: 14px 0; border-block: 1px solid rgba(17,24,29,.08); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ks-faixa-ferr-trilho { display: flex; gap: 36px; width: max-content; animation: ks-faixa 40s linear infinite; }
.ks-faixa-ferr span { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-size: 26px; color: #1f5c58; white-space: nowrap; }
.ks-faixa-ferr span::after { content: "✳"; margin-left: 36px; font-style: normal; font-size: 16px; color: #2f7570; }
@keyframes ks-faixa { to { transform: translateX(-50%); } }

/* Trilhas com faixa de arte */
.ks-trilha-card-arte { padding-top: 0; overflow: hidden; }
.ks-arte-faixa { display: block; height: 92px; margin: 0 -20px 6px; }

/* Módulos em cards */
.ks-modcards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
.ks-modcard { border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 10px 28px rgba(17,24,29,.05); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ks-modcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #abcccb, 0 18px 40px rgba(17,24,29,.1); }
.ks-modcard-arte { display: block; height: 150px; }
.ks-modcard-n { position: absolute; z-index: 1; left: 20px; bottom: 12px; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-size: 64px; line-height: 1; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.25); }
.ks-modcard-corpo { padding: 18px 20px 16px; }
.ks-modcard-corpo h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.ks-modcard-corpo h3 a { color: #11181d; text-decoration: none; }
.ks-modcard-corpo h3 a:hover { text-decoration: underline; text-decoration-color: #abcccb; text-underline-offset: 4px; }
.ks-modcard-corpo > p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #5f6a72; }
.ks-modcard-corpo .ks-modulo-qtd { margin-top: 10px; }
.ks-modcard .ks-modulo-aulas { padding: 10px 0 0; }
.ks-modcard .ks-modulo-aulas ul { columns: 1; font-size: 14px; }

/* Entrada suave ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .ks-js .ks-revelar { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
  .ks-js .ks-revelar.ks-visivel { opacity: 1; transform: none; }
}

/* Cards de ferramenta com arte e nome sobre a imagem */
.ks-fcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); margin-bottom: 16px; }
.ks-fcard { display: grid; border-radius: 24px; overflow: hidden; background: #fff; color: #11181d; text-decoration: none; box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 10px 28px rgba(17,24,29,.05); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ks-fcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #abcccb, 0 18px 40px rgba(17,24,29,.12); }
.ks-fcard-arte { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 200px; padding: 20px; color: #fff; }
.ks-fcard-arte em { position: relative; z-index: 1; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ks-fcard-arte strong { position: relative; z-index: 1; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: 30px; line-height: 1.08; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.ks-fcard-corpo { display: grid; gap: 8px; padding: 16px 20px 18px; font-size: 14.5px; line-height: 1.5; color: #5f6a72; }
.ks-fcard-corpo small { font-size: 13px; font-weight: 600; color: #2f7570; }
.ks-fcard:hover .ks-arte::before { animation-duration: 9s; }

/* ---------- Blog em formato de revista (parts/ks-blog-revista.php) ---------- */
.ks-revista { padding-bottom: 8px; }
.ks-rv-cabeca { padding: 36px 0 12px; border-bottom: 1px solid rgba(17,24,29,.1); }
.ks-rv-cabeca h1 { font-family: 'ivypresto-display', Georgia, serif; font-weight: 300; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.ks-rv-cabeca h1 em { font-style: italic; }
.ks-rv-menu { display: flex; gap: 6px 20px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ks-rv-menu a { padding: 8px 0; color: #5f6a72; text-decoration: none; border-bottom: 2px solid transparent; }
.ks-rv-menu a:hover { color: #11181d; border-color: #abcccb; }
.ks-rv-h { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #11181d; }
.ks-rv-cat { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2f7570; }
.ks-rv-img { display: block; overflow: hidden; border-radius: 16px; background: #e4ecea; aspect-ratio: 1200 / 630; }
.ks-rv-img img, .ks-rv-semimg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
a:hover > .ks-rv-img img, a:hover .ks-rv-img img { transform: scale(1.04); }
.ks-revista time { display: block; margin-top: 8px; font-size: 13px; color: #5f6a72; }
.ks-revista a { color: #11181d; text-decoration: none; }

.ks-rv-destaques { display: grid; gap: 28px; padding: 32px 0 48px; border-bottom: 1px solid rgba(17,24,29,.1); }
@media (min-width: 1000px) { .ks-rv-destaques { grid-template-columns: 1.55fr 1fr 0.85fr; align-items: start; } }
.ks-rv-grande h2 { margin: 12px 0 10px; font-family: 'ivypresto-display', Georgia, serif; font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.ks-rv-grande .ks-rv-cat { margin-top: 18px; }
.ks-rv-grande p { font-size: 17px; line-height: 1.6; color: #2c363d; }
.ks-rv-grande:hover h2, .ks-rv-mini:hover h3, .ks-rv-card:hover h3 { text-decoration: underline; text-decoration-color: #abcccb; text-underline-offset: 4px; }
.ks-rv-lado { display: grid; gap: 18px; align-content: start; }
.ks-rv-mini { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid rgba(17,24,29,.08); }
.ks-rv-mini:last-child { border-bottom: 0; }
.ks-rv-mini .ks-rv-img { border-radius: 12px; aspect-ratio: 1; }
.ks-rv-mini h3 { margin-top: 4px; font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.ks-rv-ess { padding: 22px; border-radius: 22px; background: #11181d; color: #fff; }
.ks-rv-ess .ks-rv-h { color: #abcccb; }
.ks-rv-ess ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.ks-rv-ess li + li { border-top: 1px solid rgba(255,255,255,.12); }
.ks-rv-ess a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; color: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.ks-rv-ess a:hover { color: #d9f2ed; }
.ks-rv-n { font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-size: 30px; line-height: 1; color: #5fb3a1; }
.ks-rv-ess small { display: block; margin-top: 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }

.ks-rv-secao { padding: 44px 0; border-bottom: 1px solid rgba(17,24,29,.1); }
.ks-rv-secao-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.ks-rv-secao-cab a { font-size: 14px; font-weight: 600; color: #2f7570 !important; }
.ks-rv-grade { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ks-rv-card h3 { margin-top: 12px; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.ks-rv-escura { margin: 0 -24px; padding: 44px 24px; border-radius: 28px; background: #11181d; border: 0; }
.ks-rv-escura .ks-rv-h, .ks-rv-escura h3, .ks-rv-escura a { color: #fff !important; }
.ks-rv-escura time { color: rgba(255,255,255,.6); }
.ks-rv-escura .ks-rv-secao-cab a { color: #abcccb !important; }
.ks-rv-video { aspect-ratio: 16 / 9; }
.ks-revista .ks-curso-fim { margin-top: 48px; }
.ks-rv-todos { margin: 56px 0 0; }

/* Página Sobre (/sobre/) */
.ks-sobre { padding-bottom: 96px; }
.ks-sobre-hero { display: grid; gap: 32px; align-items: center; padding: 36px 0 24px; }
@media (min-width: 900px) { .ks-sobre-hero { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }
.ks-sobre-foto { border-radius: 32px; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; }
.ks-sobre-foto img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ks-sobre-hero h1 { font-family: 'ivypresto-display', Georgia, serif; font-weight: 300; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -0.02em; }
.ks-sobre-hero h1 em { font-style: italic; }
.ks-sobre-hero .ks-s-sub { margin-top: 18px; }
.ks-sobre-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ks-sobre-acoes .ks-btn { display: inline-flex; padding: 15px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ks-sobre-grade { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .ks-sobre-grade { grid-template-columns: 1fr 1fr; } }
.ks-sobre-grade section { padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.06); }
.ks-sobre-grade h2 { margin-bottom: 12px; font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(28px, 3.2vw, 38px); }
.ks-sobre-grade p { font-size: 16.5px; line-height: 1.7; color: #2c363d; }
.ks-sobre-grade p + p { margin-top: 12px; }
.ks-sobre-grade a { color: #11181d; text-decoration-color: #abcccb; text-underline-offset: 3px; }
.ks-sobre-redes { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ks-sobre-redes a { display: inline-block; padding: 9px 15px; border-radius: 999px; background: #eef8f6; font-size: 14px; font-weight: 600; text-decoration: none !important; }

/* ---------- Alinhamento visual (referência: estilo editorial limpo, títulos contidos) ---------- */
:where(.ks-site) .ks-s-olho { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ks-teal, #2f7570); margin-bottom: 12px; }
:where(.ks-site) .ks-s-sub { font-size: 17px; line-height: 1.6; color: var(--ks-ink-dim, #5f6a72); margin-top: 14px; max-width: 60ch; }
.ks-centro { text-align: center; margin-left: auto; margin-right: auto; }
.ks-centro .ks-s-sub, .ks-s-sub.ks-centro, .ks-trilhas-sub.ks-centro { margin-left: auto; margin-right: auto; }

/* Escala única de títulos: H1 até 60px, H2 até 40px, sans fina com destaque em itálico */
.ks-portfolio-cabeca h1, .ks-curso-hero h1, .ks-sobre-hero h1, .ks-rv-cabeca h1, .ks-pb-cabeca h1 {
  font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 300; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -0.035em; }
.ks-portfolio-cabeca h1 em, .ks-curso-hero h1 em, .ks-sobre-hero h1 em, .ks-rv-cabeca h1 em, .ks-pb-cabeca h1 em,
.ks-modulo-h2 em, .ks-curso-fim h2 em, .ks-dep-t em, .ks-pb-corpo h2 em, .ks-calc-texto h2 em, .ks-sobre-grade h2 em, .ks-proj-irmaos h2 em {
  font-family: 'ivypresto-display', Georgia, serif; font-style: italic; font-weight: 300; color: #2f6f68; letter-spacing: -0.01em; }
.ks-modulo-h2, .ks-curso-fim h2, .ks-dep-t, .ks-pb-corpo h2, .ks-calc-texto h2, .ks-sobre-grade h2, .ks-proj-irmaos h2, .ks-trilhas-outras h2 {
  font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 300; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.03em; }
.ks-curso-fim h2 em { color: #abcccb; }
.ks-proj-topo h1, .ks-proj-topo h2 { font-size: clamp(38px, 5vw, 68px); }

/* Topo do curso empilhado: texto centralizado, arte em faixa larga embaixo */
.ks-curso-hero.ks-centro { display: block; max-width: none; padding: 40px 0 8px; }
.ks-curso-hero-txt { max-width: 760px; margin: 0 auto; }
.ks-curso-hero .ks-curso-numeros { justify-content: center; }
.ks-arte-hero { min-height: 300px; margin-top: 36px; border-radius: 28px; }
@media (min-width: 980px) { .ks-arte-hero { min-height: 340px; } }
.ks-arte-hero .ks-chips { inset: auto 0 28px 0; justify-content: center; padding: 0 24px; }
.ks-arte-hero .ks-arte-marca { left: 50%; transform: translateX(-50%); top: 26px; }
.ks-faixa-ferr span { font-size: 22px; }

/* Cards de módulo no formato de card de curso */
.ks-modcard-arte { height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; }
.ks-modcard-n { position: relative; left: auto; bottom: auto; z-index: 1; font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); text-shadow: none; }
.ks-modcard-nome { position: relative; z-index: 1; font-size: 30px; font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.ks-modcard-corpo h3 { font-size: 16.5px; }
.ks-modcard-rot { margin-top: 14px !important; font-size: 11.5px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #11181d !important; }
.ks-modcard-topicos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; color: #2c363d; }
.ks-modcard-topicos li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.ks-modcard-topicos li::before { content: "✓"; color: #2f7570; font-weight: 700; }

/* Trilhas e módulos: cabeçalhos centralizados */
.ks-trilhas .ks-trilhas-grupo { text-align: center; }
.ks-modulos-topo { align-items: flex-end; margin-top: 64px; margin-bottom: 18px; }

/* Sobre: retrato acima, texto centralizado */
.ks-sobre-hero.ks-centro { display: block; max-width: 780px; padding-top: 40px; }
.ks-sobre-hero .ks-sobre-foto { width: 180px; aspect-ratio: 1; margin: 0 auto 22px; border-radius: 50%; }
.ks-sobre-hero .ks-curso-numeros, .ks-sobre-acoes { justify-content: center; }
.ks-sobre-hero .ks-sobre-foto img { object-position: center 20%; }

/* Blog e playbooks: títulos contidos */
.ks-rv-cabeca { text-align: center; }
.ks-rv-menu { justify-content: center; }
.ks-rv-grande h2 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; }
.ks-pb-cabeca { text-align: center; }
.ks-pb-cabeca h1, .ks-pb-cabeca .ks-s-sub { margin-left: auto; margin-right: auto; }
.ks-fcard-arte strong { font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 300; font-size: 26px; letter-spacing: -0.02em; }
.ks-dep-t { max-width: none; text-align: center; }
.ks-dep > .ks-s-olho, .ks-dep-sub { text-align: center; margin-left: auto; margin-right: auto; }
.ks-calc-total { font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 300; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em; }
/* Capas reais dos módulos (vindas da área de membros) */
.ks-modcards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ks-modcard-capa { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #03141a; }
.ks-modcard-capa img, .ks-modcard-capa .ks-arte { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ks-modcard:hover .ks-modcard-capa img { transform: scale(1.04); }
.ks-modcard-capa .ks-modcard-n { position: absolute; left: 14px; top: 14px; bottom: auto; padding: 5px 10px; border-radius: 999px; background: rgba(3,20,26,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ks-modulo-capa { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto 18px; border-radius: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
/* Fundo em imagem abstrata por baixo da arte animada */
.ks-arte[style*="--img"] { background: var(--img) center / cover no-repeat, var(--c1); }
.ks-arte[style*="--img"]::before { opacity: .55; mix-blend-mode: soft-light; }
.ks-fcard-arte[style*="--img"]::after, .ks-arte-faixa[style*="--img"]::after { background-image: linear-gradient(180deg, rgba(3,20,26,0) 30%, rgba(3,20,26,.55) 100%); opacity: 1; mix-blend-mode: normal; }

/* ---------- Playbooks com cartões (referência: playbooks editoriais em blocos) ---------- */
.ks-pb { background: #f6f3ee; }
.ks-pb .ks-pb-wrap { max-width: 980px; }
.ks-pb-banner { height: 220px; margin: 24px 0 0; border-radius: 30px; }
.ks-pb-cabeca { position: relative; z-index: 1; max-width: 860px; margin: -90px auto 28px; padding: 36px 32px 30px; border-radius: 30px; background: #fff; box-shadow: 0 20px 50px rgba(17,24,29,.08); }
.ks-pb .ks-proj-trilha { padding-top: 22px; }
.ks-pb-aprende, .ks-pb-indice, .ks-pb-corpo > section, .ks-pb-ferr, .ks-pb .ks-autora { border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(17,24,29,.04), 0 12px 32px rgba(17,24,29,.05); }
.ks-pb-aprende { padding: 28px 32px; }
.ks-pb-aprende ul { list-style: none; padding: 0; }
.ks-pb-aprende li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.ks-pb-aprende li::before { content: "✓"; color: #2f7570; font-weight: 700; }
.ks-pb-indice { padding: 28px 32px; margin-bottom: 20px; }
.ks-pb-indice ol { columns: auto; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); list-style: none; padding: 0; margin-top: 14px; counter-reset: idx; }
.ks-pb-indice li { counter-increment: idx; }
.ks-pb-indice a { display: flex; gap: 10px; align-items: center; height: 100%; padding: 13px 16px; border-radius: 12px; background: #eef8f6; font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: background .2s, transform .2s; }
.ks-pb-indice a::before { content: counter(idx, decimal-leading-zero); font-size: 12px; font-weight: 700; color: #2f7570; }
.ks-pb-indice a:hover { background: #d9f2ed; transform: translateY(-2px); }
.ks-pb-corpo { max-width: none; display: grid; gap: 20px; }
.ks-pb-corpo > section { padding: 36px 40px; scroll-margin-top: 90px; }
@media (max-width: 600px) { .ks-pb-corpo > section, .ks-pb-cabeca, .ks-pb-aprende, .ks-pb-indice { padding: 24px 20px; } .ks-pb-cabeca { margin-top: -70px; } }
.ks-pb-corpo > section > h2 { margin-top: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(17,24,29,.08); }
.ks-pb-corpo h3 { color: #2f6f68; }
.ks-pb-corpo strong { color: #11181d; }
.ks-pb-corpo blockquote { border-left: 0; border-radius: 14px; background: #fdf3e0; padding: 18px 22px; }
.ks-pb-corpo blockquote::before { content: "Ponto-chave"; display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a8691b; }
.ks-pb-item { background: #eef8f6; box-shadow: none; border-radius: 16px; }
.ks-pb-item:nth-of-type(even) { background: #f6efe6; }
.ks-pb-item[open] { background: #fff; box-shadow: 0 0 0 2px #abcccb; }
.ks-pb-corpo table { box-shadow: 0 0 0 1px rgba(17,24,29,.08); }
.ks-pb-etapas li { background: #fff; color: #11181d; box-shadow: 0 10px 26px rgba(17,24,29,.06); }
.ks-pb-etapas small { color: #5f6a72; }
.ks-pb-ferr { margin: 0; padding: 36px 40px; box-shadow: 0 0 0 2px #abcccb, 0 18px 40px rgba(17,24,29,.08); }
.ks-pb .ks-autora { margin: 0; padding: 26px 30px; }
.ks-pb #perguntas .ks-calc-faq { border-bottom-color: rgba(17,24,29,.08); }
.ks-pb-corpo { grid-template-columns: minmax(0, 1fr); }
.ks-pb-corpo > section, .ks-pb-ferr { min-width: 0; overflow-wrap: anywhere; }
.ks-pb-corpo table { max-width: 100%; }

/* ---------- Menu em cápsula (referência: menu flutuante de vidro) ---------- */
.ks-h-topo .ks-wrap { max-width: 1320px; height: 76px; gap: 16px; }
.ks-h-topo, .ks-h-topo.ks-h-rolou { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ks-h-menu { display: none; align-items: center; gap: 2px; margin: 0 auto; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.62); box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 8px 24px rgba(17,24,29,.06); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ks-h-menu > a, .ks-h-drop summary { display: block; padding: 9px 14px; border-radius: 999px; color: #131720; cursor: pointer; list-style: none; transition: background .2s; }
.ks-h-drop summary::-webkit-details-marker { display: none; }
.ks-h-menu > a:hover, .ks-h-drop summary:hover, .ks-h-drop[open] summary { background: rgba(17,24,29,.06); color: #131720; }
.ks-h-drop summary::after { content: "⌄"; margin-left: 6px; font-size: 12px; }
.ks-h-drop { position: relative; }
.ks-h-painel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 24px 50px rgba(17,24,29,.14); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); text-transform: none; letter-spacing: 0; }
.ks-h-painel a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #f3f6f5; color: #131720; }
.ks-h-painel a:hover { background: #e3f3ef; }
.ks-h-painel strong { font-size: 15px; font-weight: 600; }
.ks-h-painel span { font-size: 13px; line-height: 1.4; color: #5f6a72; }
.ks-h-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ks-h-aluno { display: none; padding: 11px 18px; border-radius: 999px; background: #11181d; color: #fff !important; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ks-h-topo .ks-h-cta { margin-left: 0; padding: 11px 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ks-h-mobile { position: relative; }
.ks-h-mobile summary { display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(17,24,29,.08); cursor: pointer; list-style: none; }
.ks-h-mobile summary::-webkit-details-marker { display: none; }
.ks-h-mobile summary span { display: block; width: 16px; height: 1.5px; background: #131720; transition: transform .25s; }
.ks-h-mobile[open] summary span:first-child { transform: translateY(3.25px) rotate(45deg); }
.ks-h-mobile[open] summary span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.ks-h-mobile-painel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 86vw); display: grid; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px rgba(17,24,29,.06), 0 24px 50px rgba(17,24,29,.16); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.ks-h-mobile-painel a { padding: 13px 14px; border-radius: 12px; font-size: 16px; color: #131720; }
.ks-h-mobile-painel a:hover { background: #eef8f6; }
@media (min-width: 1080px) { .ks-h-menu { display: flex; } .ks-h-aluno { display: inline-block; } .ks-h-mobile { display: none; } }
@media (max-width: 1079px) { .ks-h-menu { display: none !important; } }
@media (max-width: 520px) { .ks-h-topo .ks-h-cta { padding: 9px 12px; font-size: 10.5px; } .ks-h-cta span { display: none; } }
.ks-h-topo.ks-h-rolou { background: linear-gradient(180deg, rgba(247,247,248,.92) 0%, rgba(247,247,248,.6) 70%, rgba(247,247,248,0) 100%); }

/* Memes ilustrando os playbooks */
.ks-pb-meme { margin: 22px 0 6px; display: grid; justify-items: center; gap: 10px; }
.ks-pb-meme img { width: 100%; max-width: 360px; height: auto; border-radius: 18px; box-shadow: 0 14px 32px rgba(17,24,29,.12); transform: rotate(-1.2deg); }
.ks-pb-meme figcaption { max-width: 420px; text-align: center; font-size: 14.5px; line-height: 1.5; color: #5f6a72; font-style: italic; }

/* ---------- Página do módulo (empilhada, referência de UI limpa) ---------- */
.ks-mod { background: #f3f4f6; }
.ks-mod .ks-curso-trilha { padding-top: 26px; text-align: center; }
.ks-mod-hero { max-width: 780px; padding: 28px 0 8px; }
.ks-mod-capa { width: 150px; height: auto; margin: 0 auto 26px; display: block; border-radius: 16px; box-shadow: 0 22px 44px rgba(3,20,26,.22); transform: rotate(-3deg); }
.ks-mod-hero h1 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.035em; }
.ks-mod-hero .ks-s-sub { margin: 16px auto 0; }
.ks-mod-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ks-mod-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.08); font-size: 13px; font-weight: 500; color: #131720; }
.ks-mod-acoes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 24px; }
.ks-mod-acoes .ks-btn { display: inline-flex; gap: 8px; padding: 14px 24px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.ks-mod-sec { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #131720; text-decoration: underline; text-decoration-color: #abcccb; text-underline-offset: 5px; }
.ks-mod-aulas { max-width: 860px; margin: 56px auto 0; }
.ks-mod-aulas-cab { text-align: center; margin-bottom: 20px; }
.ks-mod-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ks-mod-lista li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(17,24,29,.05); font-size: 15.5px; line-height: 1.4; color: #131720; transition: transform .2s, box-shadow .2s; }
.ks-mod-lista li:hover { transform: translateX(3px); box-shadow: 0 0 0 1px #abcccb, 0 8px 20px rgba(17,24,29,.06); }
.ks-mod-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eef8f6; font-size: 12.5px; font-weight: 700; color: #2f6f68; }
.ks-mod-d { padding: 5px 10px; border-radius: 999px; background: #f3f4f6; font-size: 12.5px; color: #5f6a72; white-space: nowrap; }
@media (max-width: 520px) { .ks-mod-lista li { grid-template-columns: 36px 1fr; } .ks-mod-d { grid-column: 2; justify-self: start; } }
.ks-mod-vizinhos { max-width: 860px; margin: 40px auto 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ks-mod-viz { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: #fff; color: #131720; text-decoration: none; box-shadow: 0 0 0 1px rgba(17,24,29,.05); transition: transform .25s, box-shadow .25s; }
.ks-mod-viz:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #abcccb, 0 14px 30px rgba(17,24,29,.08); }
.ks-mod-viz-capa { width: 64px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.ks-mod-viz small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2f7570; }
.ks-mod-viz strong { display: block; margin-top: 4px; font-size: 16.5px; font-weight: 500; }
.ks-mod-viz em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #5f6a72; }
.ks-mod .ks-curso-fim { margin-top: 56px; }
/* Sem cortes: foto do Sobre na proporção original e miniaturas do blog na proporção das capas */
.ks-sobre-hero .ks-sobre-foto { width: 200px; aspect-ratio: auto; border-radius: 24px; margin-bottom: 24px; }
.ks-sobre-hero .ks-sobre-foto img { height: auto; object-fit: contain; }
.ks-rv-mini { grid-template-columns: 140px 1fr; }
.ks-rv-mini .ks-rv-img { aspect-ratio: 1200 / 630; border-radius: 10px; }
.ks-rv-img img { object-fit: cover; }
@media (max-width: 420px) { .ks-rv-mini { grid-template-columns: 110px 1fr; } }
.ks-modulos-topo { margin-top: 40px; }
.ks-trilhas-depois { margin-top: 72px; }
/* Chips do banner alinhados (sem flutuar em alturas diferentes) */
.ks-chips li, .ks-anima .ks-chips li { animation: none; transform: none; }
.ks-arte-hero .ks-chips { gap: 10px; }
.ks-arte[style*="--img"]::before { opacity: .35; }

/* Cards de módulo enxutos: aulas escondidas, abre e fecha */
.ks-modcards { align-items: start; }
.ks-modcard-corpo { display: grid; gap: 8px; padding: 18px 20px 18px; }
.ks-modcard-corpo h3 { font-size: 18px; font-weight: 600; line-height: 1.25; }
.ks-modcard-corpo > p:not(.ks-modulo-qtd) { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 3); }
.ks-modcard-corpo .ks-modulo-qtd { margin: 2px 0 0; }
.ks-modcard-aulas { margin-top: 4px; border-top: 1px solid rgba(17,24,29,.08); }
.ks-modcard-aulas summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #11181d; }
.ks-modcard-aulas summary::-webkit-details-marker { display: none; }
.ks-modcard-aulas summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef8f6; color: #2f6f68; font-size: 16px; transition: transform .25s; }
.ks-modcard-aulas[open] summary::after { transform: rotate(45deg); }
.ks-ma-fechar, .ks-modcard-aulas[open] .ks-ma-abrir { display: none; }
.ks-modcard-aulas[open] .ks-ma-fechar { display: inline; }
.ks-modcard-aulas ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: a; }
.ks-modcard-aulas li { counter-increment: a; display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed rgba(17,24,29,.08); font-size: 14px; line-height: 1.4; color: #2c363d; }
.ks-modcard-aulas li::before { content: counter(a, decimal-leading-zero); font-size: 11.5px; font-weight: 700; color: #2f7570; }
.ks-modcard-aulas li small { font-size: 12px; color: #5f6a72; white-space: nowrap; }
.ks-modcard-aulas li:last-child { border-bottom: 0; }
.ks-modcard-corpo h3 { min-height: 2.5em; display: flex; align-items: flex-start; }

/* Botão de fundo claro/escuro */
.ks-tema-botao { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(17,24,29,.08); color: #131720; cursor: pointer; transition: transform .25s; }
.ks-tema-botao:hover { transform: rotate(-15deg); }
.ks-tema-botao svg { width: 18px; height: 18px; }
.ks-tema-sol, html[data-tema="escuro"] .ks-tema-lua { display: none; }
html[data-tema="escuro"] .ks-tema-sol { display: block; }
html[data-tema="escuro"] .ks-tema-botao { background: rgba(20,27,30,.85); box-shadow: 0 0 0 1px rgba(171,204,203,.18); color: #e7f1ef; }
html { transition: background-color .3s; }
.ks-h-mobile-cta { margin-top: 6px; justify-content: center; text-align: center; border-radius: 999px !important; font-weight: 600; }
@media (max-width: 600px) { .ks-h-topo .ks-h-cta { display: none; } .ks-h-acoes { gap: 8px; } }

/* ---------- Revelação em máscara das imagens do projeto (referência: barbas.digital) ----------
   Camada de fora começa 100% para cima e a de dentro 100% para baixo com zoom 1.1;
   ao entrar na tela, as duas voltam ao lugar e a imagem "abre" de cima para baixo. */
.ks-mask { overflow: hidden; }
.ks-mask-a, .ks-mask-b { will-change: transform; }
.ks-mask img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .ks-revela .ks-projsolo .ks-mask .ks-mask-a, .ks-projtela .ks-mask .ks-mask-a { transform: translateY(-100%); transition: transform 1.25s cubic-bezier(.77, 0, .18, 1); }
  .ks-revela .ks-projsolo .ks-mask .ks-mask-b, .ks-projtela .ks-mask .ks-mask-b { transform: translateY(100%) scale(1.1); transform-origin: 50% 0; transition: transform 1.25s cubic-bezier(.77, 0, .18, 1), scale 1.6s; }
  .ks-revela .ks-projsolo .ks-mask.ks-visivel .ks-mask-a, .ks-projtela .ks-mask.ks-visivel .ks-mask-a,
  .ks-revela .ks-projsolo .ks-mask.ks-visivel .ks-mask-b, .ks-projtela .ks-mask.ks-visivel .ks-mask-b { transform: none; }
  /* desliga o efeito antigo (sumir e subir) nas fatias */
  .ks-projtela .ks-fatia, .ks-revela .ks-projsolo .ks-fatia { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* imagens do projeto sem cantos arredondados internos, como no site de referência */
.ks-proj-pagina { border-radius: 14px; }
/* Seta do "Conteúdos": chevron desenhado, alinhado ao texto, gira ao abrir */
.ks-h-drop summary { display: inline-flex; align-items: center; gap: 7px; }
.ks-h-drop summary::after { content: ""; margin: 0; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; font-size: 0; }
.ks-h-drop[open] summary::after { transform: translateY(1px) rotate(-135deg); }
/* Etapas do método: 6 etapas em 3 + 3 desde o primeiro desenho (sem esperar o script) */
@media (min-width: 900px) { .ks-pb-etapas:has(> li:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ks-pb-etapas:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Método: quatro pilares em ciclo (miniaturas ilustrativas) ---------- */
.ks-ciclo { margin: 8px 0 28px; padding: 36px 28px 30px; border-radius: 28px; background: #fff; box-shadow: 0 12px 32px rgba(17,24,29,.05); }
.ks-ciclo-sub { margin: 8px auto 26px; max-width: 56ch; font-size: 15px; color: #5f6a72; }
.ks-ciclo-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.ks-ciclo-lista > li { position: relative; display: grid; grid-template-rows: 236px auto auto auto 1fr; align-content: stretch; gap: 6px; padding: 14px 14px 18px; border-radius: 20px; background: #f3f6f5; }
.ks-ciclo-lista > li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); width: 22px; height: 22px; display: grid; place-items: center; font-size: 14px; color: #2f7570; }
.ks-ciclo-lista::after { content: "↺  O aprendizado da otimização volta para a estratégia, e o ciclo recomeça"; grid-column: 1 / -1; margin-top: -6px; padding: 14px 18px 4px; border: 1.5px dashed rgba(47,117,112,.45); border-top: 0; border-radius: 0 0 22px 22px; text-align: center; font-size: 14px; font-weight: 600; color: #2f7570; }
.ks-ciclo-lista h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; }
.ks-ciclo-lista p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #5f6a72; }
.ks-ciclo-n { margin-top: 8px !important; font-size: 11.5px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2f7570 !important; }
.ks-ciclo-ir { align-self: end; justify-self: start; margin-top: 10px; font-size: 14px; font-weight: 600; color: #2f7570; text-decoration: underline; text-underline-offset: 3px; }
.ks-ciclo-video { margin: 26px 0 0; }
@media (min-width: 700px) {
  .ks-ciclo-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-ciclo-lista > li:nth-child(odd)::after { content: "→"; left: auto; right: -25px; bottom: auto; top: 90px; transform: none; }
  .ks-ciclo-lista > li:nth-child(2)::after { content: "↙"; left: 0; right: auto; top: auto; bottom: -25px; transform: translateX(-50%); }
}
@media (min-width: 1100px) {
  .ks-ciclo-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 26px; }
  .ks-ciclo-lista > li:not(:last-child)::after { content: "→"; left: auto; right: -24px; bottom: auto; top: 90px; transform: none; }
}
.ks-mock { display: grid; gap: 7px; align-content: center; min-height: 168px; height: 100%; box-sizing: border-box; padding: 14px; border-radius: 14px; background: #11181d; color: #e7f1ef; font-size: 12.5px; line-height: 1.35; }
.ks-mock b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #abcccb; }
.ks-mock-brief span, .ks-mock-check { padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.07); }
.ks-mock-cel { justify-self: center; width: 132px; min-height: 0; height: 100%; align-content: center; padding: 10px 9px; border-radius: 18px; background: #f7f7f8; box-shadow: 0 0 0 4px #11181d; gap: 6px; }
.ks-mock-h { height: 12px; width: 80%; border-radius: 4px; background: #11181d; }
.ks-mock-l { height: 6px; width: 100%; border-radius: 3px; background: #c9d4d2; }
.ks-mock-l.ks-curta { width: 60%; }
.ks-mock-selos { display: flex; gap: 4px; }
.ks-mock-selos i { padding: 2px 6px; border-radius: 999px; background: #e3f3ef; color: #11181d; font-size: 8.5px; font-style: normal; font-weight: 700; }
.ks-mock-btn { margin: 4px 0; padding: 7px 6px; border-radius: 999px; background: linear-gradient(90deg, #d9f2ed, #abcccb); color: #11181d; font-size: 9.5px; font-weight: 700; text-align: center; box-shadow: 0 0 0 3px rgba(171,204,203,.35); }
.ks-mock-telas { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 58px; margin-bottom: 4px; }
.ks-mock-telas i { display: block; border: 2px solid #abcccb; border-radius: 6px; }
.ks-t-pc { width: 70px; height: 46px; } .ks-t-tab { width: 38px; height: 50px; } .ks-t-cel { width: 22px; height: 40px; }
.ks-mock-check { font-size: 12px; }
.ks-mock-kpi { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.07); }
.ks-mock-kpi i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2f7570, #abcccb); width: calc(var(--v) * 100%); }
.ks-mock-volta { margin-top: 4px; font-size: 12px; color: #8fd9c6; }
html[data-tema="escuro"] .ks-ciclo { background: #141b1e; }
html[data-tema="escuro"] .ks-ciclo-lista > li { background: #11181b; }
html[data-tema="escuro"] .ks-ciclo-lista p, html[data-tema="escuro"] .ks-ciclo-sub { color: #9fb6b2; }
html[data-tema="escuro"] .ks-ciclo-n, html[data-tema="escuro"] .ks-ciclo-ir, html[data-tema="escuro"] .ks-ciclo-lista > li::after, html[data-tema="escuro"] .ks-ciclo-lista::after { color: #8fd9c6 !important; }
html[data-tema="escuro"] .ks-ciclo-lista::after { border-color: rgba(143,217,198,.4); }
html[data-tema="escuro"] .ks-mock { background: #0a1214; box-shadow: 0 0 0 1px rgba(171,204,203,.1); }
html[data-tema="escuro"] .ks-mock-cel { background: #e7f1ef !important; box-shadow: 0 0 0 4px #24363a !important; }
html[data-tema="escuro"] .ks-mock-h { background: #11181d !important; }
html[data-tema="escuro"] .ks-mock-l { background: #b7c6c3 !important; }

/* ---------- Contraste (auditoria 01/10) ---------- */
.ks-pb-aprende .ks-calc-rotulo, .ks-pb-indice .ks-calc-rotulo { color: #2f7570; }
.ks-calc-resultado p, .ks-calc-resultado .ks-calc-total { color: #fff; }
.ks-calc-resultado .ks-calc-rotulo { color: #abcccb; }
.ks-indice-outro { margin: 28px 0 0; font-size: 15.5px; color: #5f6a72; }
.ks-indice-outro a { color: #2f7570; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
