/* ==========================================================
   Design System — "Estilo de Ecossistema Digital"
   Poppins · azul-digital · raio 8px · neon com moderação
   Site sempre no tema Claro
   ========================================================== */
:root {
    /* marca */
    --azul-digital: #00a1de; --roxo-eletrico: #bf00ff; --verde-brilhante: #00ff00; --laranja: #ffa500;
    --ciano: #00ffff; --cinza-escuro: #333333; --branco: #ffffff;
    --on-laranja: #1a1206;
    /* tipografia, espaço, forma */
    --font-sans: Poppins, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-16: 64px; --space-32: 128px;
    --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-pill: 9999px;
    --glow-neon: 0 0 32px rgba(191,0,255,0.45);
    --container-max: 1280px;
    --z-base: 0; --z-sticky-nav: 100; --z-overlay: 200; --z-modal: 300; --z-toast: 500;
}
:root, [data-bs-theme="light"], [data-bs-theme="dark"] {
    --surface: #f5f6fa; --surface-raised: #ffffff; --surface-deep: #e7e8ee;
    --border: #d5d7e0; --border-strong: #7a7c8c;
    --ink: #111118; --ink-muted: #555566;
    --primary: #0077a8; --primary-hover: #006b98; --on-primary: #ffffff;
    --accent-ink: #7a00a3;
    --success: #0a7a1f; --warning: #9a5800; --danger: #c4262e; --focus: #0077a8;
    --shadow-card: 0 2px 12px rgba(0,0,0,0.06); --shadow-lift: 0 6px 18px rgba(0,119,168,0.22);
    --primary-rgb: 0, 119, 168;
    color-scheme: light;
}
/* nomes antigos (usados em páginas e estilos existentes) apontando para os tokens novos */
:root, [data-bs-theme] {
    --ds-primaria: var(--primary); --ds-primaria-escura: var(--primary-hover); --ds-destaque: var(--laranja);
    --ds-texto: var(--ink); --ds-apoio: var(--ink-muted); --ds-suave: var(--surface-deep); --ds-fundo: var(--surface);
    --ds-borda: var(--border); --ds-raio: var(--radius-md); --ds-raio-btn: var(--radius-md); --ds-sombra: var(--shadow-card);
    --ds-fonte-titulo: var(--font-sans); --ds-fonte-texto: var(--font-sans);

    /* Bootstrap */
    --bs-body-bg: var(--surface); --bs-body-color: var(--ink); --bs-emphasis-color: var(--ink);
    --bs-secondary-color: var(--ink-muted); --bs-tertiary-color: var(--ink-muted);
    --bs-secondary-bg: var(--surface-deep); --bs-tertiary-bg: var(--surface-raised);
    --bs-border-color: var(--border); --bs-border-color-translucent: var(--border);
    --bs-border-radius: var(--radius-md); --bs-border-radius-sm: var(--radius-sm); --bs-border-radius-lg: var(--radius-md); --bs-border-radius-xl: var(--radius-lg);
    --bs-primary: var(--primary); --bs-primary-rgb: var(--primary-rgb);
    --bs-link-color: var(--primary); --bs-link-color-rgb: var(--primary-rgb); --bs-link-hover-color: var(--ink);
    --bs-body-font-family: var(--font-sans); --bs-font-monospace: var(--font-mono);
    --bs-primary-bg-subtle: color-mix(in srgb, var(--primary) 16%, var(--surface-raised));
    --bs-primary-text-emphasis: var(--primary); --bs-primary-border-subtle: color-mix(in srgb, var(--primary) 40%, transparent);
    --bs-success: var(--success); --bs-warning: var(--laranja); --bs-danger: var(--danger);
    --bs-success-text-emphasis: var(--success); --bs-warning-text-emphasis: var(--warning); --bs-danger-text-emphasis: var(--danger);
    --bs-info-text-emphasis: var(--accent-ink); --bs-info-bg-subtle: color-mix(in srgb, var(--roxo-eletrico) 14%, var(--surface-raised));
    --bs-success-bg-subtle: color-mix(in srgb, var(--success) 14%, var(--surface-raised));
    --bs-warning-bg-subtle: color-mix(in srgb, var(--laranja) 16%, var(--surface-raised));
    --bs-danger-bg-subtle: color-mix(in srgb, var(--danger) 14%, var(--surface-raised));
    --bs-secondary-bg-subtle: var(--surface-deep); --bs-secondary-text-emphasis: var(--ink-muted);
    --bs-focus-ring-color: color-mix(in srgb, var(--focus) 45%, transparent);
}
html, body { background: var(--surface); }
body { color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; min-height: 100dvh; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6, .marca, .card-title { font-family: var(--font-sans); color: var(--ink); }
h1, .h1, .display-4, .display-5, .display-6 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h2, .h2 { font-weight: 700; letter-spacing: -.01em; }
h3, h4, h5, .h3, .h4, .h5, .h6 { font-weight: 600; }
.lead { color: var(--ink-muted); max-width: 72ch; }
p { max-width: 72ch; }
em, i:not([data-lucide]) { font-style: normal; font-weight: 600; }
.mono, .font-monospace, code { font-family: var(--font-mono) !important; }
.text-muted, .text-secondary, .text-body-secondary { color: var(--ink-muted) !important; }
.text-body { color: var(--ink) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning-emphasis { color: var(--warning) !important; }
.text-info-emphasis { color: var(--accent-ink) !important; }
.bg-primary { background-color: var(--primary) !important; color: var(--on-primary) !important; }
.bg-primary-subtle { background-color: var(--bs-primary-bg-subtle) !important; }
.bg-white, .bg-light, .sticky-top.bg-white { background-color: var(--surface-raised) !important; color: var(--ink); }
.text-bg-light { background-color: var(--surface-deep) !important; color: var(--ink) !important; }
.text-bg-success { background-color: color-mix(in srgb, var(--success) 18%, var(--surface-raised)) !important; color: var(--success) !important; }
.text-bg-danger { background-color: color-mix(in srgb, var(--danger) 18%, var(--surface-raised)) !important; color: var(--danger) !important; }
.border, .border-bottom, .border-top { border-color: var(--border) !important; }
a { color: var(--primary); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[data-lucide], .lucide { width: 20px; height: 20px; stroke-width: 2; vertical-align: -4px; flex-shrink: 0; }

/* Botões */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: var(--radius-md); --bs-btn-border-width: 1.5px;
       transition: background-color 200ms ease-out, box-shadow 200ms ease-out, transform 200ms ease-out, color 200ms ease-out; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); }
.btn:active { transform: translateY(1px); }
.btn-lg { --bs-btn-padding-y: var(--space-3); --bs-btn-padding-x: var(--space-6); --bs-btn-font-size: 1rem; }
.btn-primary, .btn-success {
    --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-color: var(--on-primary);
    --bs-btn-hover-bg: var(--primary-hover); --bs-btn-hover-border-color: var(--primary-hover); --bs-btn-hover-color: var(--on-primary);
    --bs-btn-active-bg: var(--primary-hover); --bs-btn-active-border-color: var(--primary-hover); --bs-btn-active-color: var(--on-primary);
    --bs-btn-disabled-bg: var(--primary); --bs-btn-disabled-border-color: var(--primary); --bs-btn-disabled-color: var(--on-primary);
}
.btn-primary:hover, .btn-success:hover { box-shadow: var(--shadow-lift); }
.btn-outline-primary, .btn-outline-secondary {
    --bs-btn-color: var(--primary); --bs-btn-border-color: var(--border-strong); --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--surface-deep); --bs-btn-hover-color: var(--primary); --bs-btn-hover-border-color: var(--border-strong);
    --bs-btn-active-bg: var(--surface-deep); --bs-btn-active-color: var(--primary); --bs-btn-active-border-color: var(--primary);
}
.btn-outline-secondary { --bs-btn-color: var(--ink); --bs-btn-hover-color: var(--ink); }
.btn-warning, .btn-recompensa { --bs-btn-bg: var(--laranja); --bs-btn-border-color: var(--laranja); --bs-btn-color: var(--on-laranja);
    --bs-btn-hover-bg: var(--laranja); --bs-btn-hover-border-color: var(--laranja); --bs-btn-hover-color: var(--on-laranja); }
.btn-warning:hover, .btn-recompensa:hover { box-shadow: var(--shadow-lift); }
.btn-check:checked + .btn-outline-primary, .btn-check:checked + .btn-outline-secondary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* Formulários */
.form-control, .form-select { background-color: var(--surface-raised); color: var(--ink); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }
.form-control::placeholder { color: var(--ink-muted); }
.form-control:focus, .form-select:focus { background-color: var(--surface-raised); color: var(--ink); border-color: var(--border-strong); box-shadow: none; outline: 2px solid var(--focus); outline-offset: 2px; }
.form-label { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--ink); }
.form-check-input { background-color: var(--surface-raised); border-color: var(--border-strong); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-range::-webkit-slider-thumb { background: var(--primary); }
.form-range::-moz-range-thumb { background: var(--primary); }
.invalid-feedback, .form-text.text-danger { color: var(--danger); }

/* Cartões, selos, progresso, tabelas */
.card { --bs-card-bg: var(--surface-raised); --bs-card-color: var(--ink); --bs-card-border-color: var(--border); --bs-card-border-width: 1px;
        --bs-card-border-radius: var(--radius-md); --bs-card-inner-border-radius: calc(var(--radius-md) - 1px); --bs-card-cap-bg: var(--surface-raised);
        border: 1px solid var(--border) !important; box-shadow: var(--shadow-card) !important; transition: box-shadow 200ms ease-out, transform 200ms ease-out; }
.card.border-0 { border: 1px solid var(--border) !important; }
a.card:hover, .card-link:hover, .card-teste:hover { box-shadow: var(--shadow-lift) !important; transform: translateY(-2px); }
.shadow-sm, .shadow { box-shadow: var(--shadow-card) !important; }
.badge { border-radius: var(--radius-pill); font-weight: 500; font-size: 13px; padding: 2px var(--space-2); }
.badge.bg-primary { color: var(--on-primary) !important; }
.badge.bg-warning, .badge.text-bg-warning { background: var(--laranja) !important; color: var(--on-laranja) !important; }
.progress { --bs-progress-bg: var(--surface-deep); --bs-progress-border-radius: var(--radius-pill); --bs-progress-bar-bg: var(--primary); }
.progress-bar { background: linear-gradient(90deg, var(--azul-digital), var(--roxo-eletrico)); border-radius: var(--radius-pill); }
.progress-bar.bg-warning { background: var(--laranja) !important; }
.progress-bar.bg-success { background: var(--success) !important; }
.progress-bar.bg-danger { background: var(--danger) !important; }
.progress-bar.bg-info { background: var(--ciano) !important; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--border); --bs-table-hover-bg: var(--surface-deep); --bs-table-hover-color: var(--ink); --bs-table-striped-bg: var(--surface-deep); }
.table-primary { --bs-table-bg: var(--bs-primary-bg-subtle); --bs-table-color: var(--ink); }
.nav-tabs { --bs-nav-tabs-border-color: var(--border); --bs-nav-tabs-link-active-bg: var(--surface-raised); --bs-nav-tabs-link-active-color: var(--ink); --bs-nav-tabs-link-active-border-color: var(--border) var(--border) var(--surface-raised); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--primary); --bs-nav-pills-link-active-color: var(--on-primary); --bs-nav-pills-border-radius: var(--radius-md); }
.nav-link { color: var(--ink-muted); }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.dropdown-menu { --bs-dropdown-bg: var(--surface-raised); --bs-dropdown-color: var(--ink); --bs-dropdown-link-color: var(--ink); --bs-dropdown-link-hover-bg: var(--surface-deep); --bs-dropdown-link-hover-color: var(--ink); --bs-dropdown-header-color: var(--ink-muted); --bs-dropdown-divider-bg: var(--border);
    border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.alert { border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); }
.alert-success { border-left: 4px solid var(--success); }
.alert-danger { border-left: 4px solid var(--danger); }
.alert-warning { border-left: 4px solid var(--laranja); }
.alert-info { border-left: 4px solid var(--primary); }
pre { background: var(--surface-deep) !important; color: var(--ink); border-color: var(--border) !important; font-family: var(--font-mono); }

/* Navegação */
.topo { height: 64px; background: var(--surface-raised) !important; border-bottom: 1px solid var(--border) !important; position: sticky; top: 0; z-index: var(--z-sticky-nav); }
.marca { font-weight: 700; color: var(--ink) !important; letter-spacing: -.01em; font-size: 18px; display: inline-flex; align-items: center; gap: var(--space-2); }
.marca-logo { width: 32px; height: 32px; flex: none; }
.marca-ponto { width: 10px; height: 10px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--azul-digital), var(--roxo-eletrico)); box-shadow: 0 0 12px rgba(191,0,255,.5); }
.nav-topo { position: relative; color: var(--ink-muted) !important; text-decoration: none; font-size: 15px; padding: var(--space-2) 0; transition: color 200ms ease-out; }
.nav-topo:hover { color: var(--ink) !important; }
.nav-topo[aria-current="page"] { color: var(--ink) !important; font-weight: 500; }
.nav-topo[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--primary); }

@keyframes entrar { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.entrar { animation: entrar 420ms ease-out both; }
.entrar-2 { animation-delay: 80ms; } .entrar-3 { animation-delay: 160ms; } .entrar-4 { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.topo .container { position: relative; }
.nav-cta { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.nav-cta .lucide, .nav-cta [data-lucide] { width: 16px; height: 16px; }
.nav-cta[aria-current="page"] { box-shadow: var(--shadow-lift); }
@media (max-width: 991.98px) {
    .nav-cta { position: static; transform: none; margin-left: auto; margin-right: var(--space-3); }
    .nav-meus { display: none; }
}
@media (max-width: 575.98px) {
    .marca span.marca-nome { display: none; }
    .nav-cta span { display: none; }
}
.avatar { width: 40px; height: 40px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-deep); color: var(--ink-muted); border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: .95rem;
    transition: background-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out; }
.avatar:hover { color: var(--ink); }
.avatar.logado { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.avatar.logado:hover { background: var(--primary-hover); box-shadow: var(--shadow-lift); }

.caixa-form { max-width: 420px; margin: 0 auto; }

/* Área administrativa */
.menu-admin .nav-link { color: var(--ink-muted); border-radius: var(--radius-md); padding: .5rem .75rem; }
.menu-admin .nav-link:hover { background: var(--surface-deep); color: var(--ink); }
.menu-admin .nav-link.active { background: var(--primary); color: var(--on-primary); }
.atalho-admin { color: var(--ds-primaria); transition: transform .1s; }
.atalho-admin:hover { transform: translateY(-2px); }

/* Testes */
.card-teste { transition: transform .15s, box-shadow .15s; }

.icone-teste { width: 56px; height: 56px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--surface-deep); color: var(--accent-ink); }
.icone-teste [data-lucide], .icone-teste .lucide { width: 28px; height: 28px; }
.likert { display: flex; flex-wrap: wrap; gap: .4rem; }
.likert .btn { flex: 1 1 0; min-width: 90px; }
.pergunta.faltando { outline: 2px solid var(--laranja); outline-offset: 2px; }
.hexagono { width: 100%; max-width: 320px; display: block; margin: auto; }
.codigo-riasec { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 700; letter-spacing: .3rem; color: var(--primary); }
.posicao { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--surface-deep); color: var(--primary); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nota-grande { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.destaque-1 { border-left: 4px solid var(--primary) !important; }
details > summary { cursor: pointer; list-style: none; }
@media print { .topo, .btn { display: none !important; } }

/* Localização (mapa) */
.mapa-caixa { background: var(--surface-deep); border-radius: var(--radius-md); padding: .5rem; }
.mapa-svg { width: 100%; height: auto; max-height: 420px; display: block; }
.mapa-uf { fill: color-mix(in srgb, var(--cor) 35%, var(--surface-raised)); stroke: var(--surface-deep); stroke-width: .8; cursor: pointer; transition: fill .2s, opacity .2s; }
.mapa-regiao:hover .mapa-uf { fill: color-mix(in srgb, var(--cor) 60%, var(--surface-raised)); }
.mapa-regiao.apagada .mapa-uf { fill: var(--surface-raised); opacity: .6; }
.mapa-regiao.ativa .mapa-uf { fill: color-mix(in srgb, var(--cor) 55%, var(--surface-raised)); }
.mapa-regiao.ativa .mapa-uf:hover { fill: color-mix(in srgb, var(--cor) 80%, var(--surface-raised)); }
.mapa-uf.selecionada { fill: var(--cor) !important; stroke: var(--ink); stroke-width: 1.2; }
.mapa-rotulos text { font-size: 9px; font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; pointer-events: none; opacity: 0; transition: opacity .3s; }
.mapa-rotulos text.visivel { opacity: .8; }

/* Versão infantil (mesmo sistema, mais cor e mais espaço; as ilustrações coloridas ficam só aqui) */
.kids-imagens { display: flex; justify-content: center; gap: 1rem; }
.kids-imagens .emoji-img { filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); animation: pulo .6s ease-out; }
@keyframes pulo { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.emoji-img { display: inline-block; vertical-align: middle; }
.likert-kids { flex-direction: column; gap: .6rem; }
.likert-kids .btn { display: flex; align-items: center; gap: .75rem; justify-content: flex-start; font-size: 1.1rem; padding: .6rem 1rem; min-width: 0; }
.modo-kids .kids-card { border-radius: var(--radius-lg) !important; border: 1px solid var(--border) !important;
    background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--roxo-eletrico) 16%, var(--surface-raised)), var(--surface-raised) 65%) !important; }
.modo-kids .btn-check:checked + .btn { transform: scale(1.02); }
.modo-kids .likert-kids .btn-check:checked + .btn { background: var(--laranja); border-color: var(--laranja); color: var(--on-laranja); box-shadow: var(--shadow-lift); }
.modo-kids .progress { height: 12px; }
.modo-kids .progress-bar { background: linear-gradient(90deg, var(--roxo-eletrico), var(--laranja)); }

/* Vagas e salários no resultado analítico */
.mercado-prof { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem 1.25rem; padding: .85rem 1rem; background: var(--ds-suave); border-radius: var(--ds-raio); }
.mercado-rot { font-size: .75rem; color: var(--ds-apoio); }
.mercado-val { font-family: var(--ds-fonte-titulo); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.mercado-val small { font-size: .75rem; font-weight: 600; color: var(--ds-apoio); }
.mercado-sub { font-size: .78rem; color: var(--ds-apoio); }
.tabela-matriz td, .tabela-matriz th { font-size: .75rem; padding: .2rem .35rem; }

/* Página da profissão */
.prof-hero .display-6 { font-weight: 700; }
.encaixe { border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border)) !important; }
.encaixe-nota { font-weight: 700; font-size: 3.5rem; line-height: 1; letter-spacing: -.02em; color: var(--primary); }
.prof-kpi { background: var(--surface-raised); border: 1px solid var(--ds-borda); border-radius: var(--ds-raio); padding: .9rem 1rem; height: 100%; }
.prof-kpi-rot { font-size: .75rem; color: var(--ds-apoio); }
.prof-kpi-val { font-weight: 700; font-size: 1.45rem; line-height: 1.25; }
.prof-kpi-val small { font-size: .8rem; font-weight: 600; color: var(--ds-apoio); }
.prof-kpi-sub { font-size: .75rem; color: var(--ds-apoio); }
.barra-uf { background: var(--ds-suave); border-radius: 999px; height: 8px; overflow: hidden; }
.barra-uf > div { background: linear-gradient(90deg, var(--azul-digital), var(--roxo-eletrico)); height: 100%; border-radius: 999px; }
.desafio-ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-deep); color: var(--accent-ink); border-radius: var(--radius-md); }
.proximos { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, var(--surface-raised)), var(--surface-raised) 70%) !important; }
.btn-saiba-mais { font-weight: 600; }

/* Layout do sistema: hero dividido, seções e zig-zag */
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-8); align-items: center; padding: var(--space-8) 0 var(--space-16); }
.hero-titulo { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--space-4); }
.hero-glow { filter: drop-shadow(0 0 32px rgba(191,0,255,.45)); }
.secao { padding-top: clamp(4rem, 8vw, 8rem); }
.zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; margin-bottom: var(--space-16); }
.zigzag.invertido .zz-texto { order: 2; }
.zigzag .card:hover { transform: none; }
@media (max-width: 767.98px) {
    .hero-split, .zigzag { grid-template-columns: 1fr; }
    .zigzag.invertido .zz-texto { order: 0; }
    .hero-visual { max-width: 420px; }
}
.lista-testes { display: flex; flex-direction: column; gap: var(--space-4); }
.lista-testes .card-teste { color: var(--ink); }
.icone-teste-lg { width: 72px; height: 72px; flex-shrink: 0; }
.icone-teste-lg [data-lucide], .icone-teste-lg .lucide { width: 34px; height: 34px; }
.teste-principal { background: linear-gradient(120deg, color-mix(in srgb, var(--azul-digital) 14%, var(--surface-raised)), color-mix(in srgb, var(--roxo-eletrico) 12%, var(--surface-raised))) !important; }
.opcao-chip { border-radius: var(--radius-pill) !important; }
.opcao-chip [data-lucide], .opcao-chip .lucide { width: 16px; height: 16px; }

/* Página inicial: títulos e destaques mais contidos */
.hero-texto .lead { font-size: 1.1rem; }
#como-funciona > .lead { font-size: 1.05rem; }
.zz-texto p { font-size: .975rem; }
.zz-texto .icone-teste { width: 44px; height: 44px; }
.zz-texto .icone-teste .lucide, .zz-texto .icone-teste [data-lucide] { width: 22px; height: 22px; }

/* Carrossel da página inicial */
.hero-carrossel { position: relative; padding-top: var(--space-4); }
.hero-carrossel .hero-split { padding: var(--space-6) 0 var(--space-8); min-height: 460px; }
.hero-abas { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero-aba { display: inline-flex; align-items: center; gap: var(--space-2); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink-muted);
    border-radius: var(--radius-pill); padding: 6px 14px; font-size: 14px; font-weight: 500; transition: all 200ms ease-out; }
.hero-aba .lucide, .hero-aba [data-lucide] { width: 16px; height: 16px; }
.hero-aba:hover { color: var(--ink); border-color: var(--border-strong); }
.hero-aba.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.hero-controles { position: absolute; right: 0; bottom: var(--space-4); display: flex; gap: var(--space-2); }
.hero-seta { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); display: grid; place-items: center; }
.hero-seta:hover { border-color: var(--border-strong); }
.hero-seta .lucide, .hero-seta [data-lucide] { width: 18px; height: 18px; }
.carousel-fade .carousel-item { transition-duration: .5s; }
@media (max-width: 991.98px) { .hero-carrossel .hero-split { min-height: 0; } .hero-controles { position: static; justify-content: center; margin-bottom: var(--space-4); } }

/* Selo de método científico */
.selo-metodo { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--surface-raised); border: 1px solid var(--border); border-left: 4px solid var(--success);
    border-radius: var(--radius-md); padding: var(--space-4); }
.selo-metodo strong { display: block; color: var(--ink); }
.selo-metodo span { font-size: 14px; color: var(--ink-muted); }
.selo-ic { color: var(--success); flex: none; }
.selo-ic .lucide, .selo-ic [data-lucide] { width: 28px; height: 28px; }

.card-link { transition: border-color 200ms ease-out, box-shadow 200ms ease-out; }
.card-link:hover { border-color: var(--primary); box-shadow: var(--shadow-lift); }

/* Rodapé */
.rodape { background: var(--surface-raised); border-top: 1px solid var(--border); padding: var(--space-8) 0; margin-top: var(--space-16); }
.rodape a { color: var(--ink-muted); text-decoration: none; }
.rodape a:hover { color: var(--primary); }
.rodape .marca { color: var(--ink) !important; }
.rodape li { margin-bottom: 6px; }
.rodape-tit { font-weight: 600; font-size: 14px; margin-bottom: var(--space-2); color: var(--ink); }

/* Páginas de conteúdo */
.artigo { max-width: 780px; margin: 0 auto; }
.artigo-topo { max-width: 780px; margin: 0 auto var(--space-6); }
.artigo-topo h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.15; }
.artigo h2 { font-size: 1.4rem; margin: var(--space-8) 0 var(--space-3); }
.artigo h3 { font-size: 1.1rem; margin: var(--space-6) 0 var(--space-2); }
.artigo p, .artigo li { font-size: 1.02rem; line-height: 1.75; }
.artigo .destaque-num { display: flex; gap: var(--space-4); align-items: center; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); margin: var(--space-4) 0; }
.artigo .destaque-num strong { font-size: 2.2rem; line-height: 1; color: var(--primary); font-weight: 700; flex: none; min-width: 92px; }
.artigo .destaque-num span { font-size: .95rem; color: var(--ink-muted); }
.ref a { text-decoration: none; font-size: .75em; }
.fontes { font-size: .9rem; color: var(--ink-muted); padding-left: 1.2rem; }
.fontes li { margin-bottom: var(--space-2); line-height: 1.5; font-size: .9rem; }
.fontes li:target { color: var(--ink); background: var(--bs-primary-bg-subtle); border-radius: var(--radius-sm); }
.cta-final { display: flex; gap: var(--space-4); align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, var(--azul-digital), var(--roxo-eletrico));
    color: #fff; border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-8) 0; }
.cta-final h2, .cta-final p { color: #fff; margin-top: 0; }
.cta-final .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-final .btn-primary:hover { background: var(--surface); color: var(--primary-hover); }
.faq .accordion-button { font-weight: 500; }
.faq .accordion-button:not(.collapsed) { background: var(--bs-primary-bg-subtle); color: var(--ink); }
.migalhas { font-size: 14px; }
.migalhas a { text-decoration: none; }

/* Botão do topo com gradiente animado */
.nav-cta.btn-primary { border: 0; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.25);
    background: linear-gradient(110deg, #0077a8, #8a00c2, #d6336c, #e8590c, #8a00c2, #0077a8);
    background-size: 300% 100%; animation: cta-cores 6s ease-in-out infinite; box-shadow: 0 4px 16px rgba(138,0,194,.35); }
.nav-cta.btn-primary:hover, .nav-cta.btn-primary:focus-visible { color: #fff; animation-duration: 2.5s; box-shadow: 0 6px 22px rgba(214,51,108,.45); }
@keyframes cta-cores { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .nav-cta.btn-primary { animation: none; } }

/* Carrossel: textos menores e ilustrações com a mesma altura */
.hero-carrossel .hero-titulo { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.15; }
.hero-carrossel .lead { font-size: 1rem; }
.hero-carrossel .hero-split { min-height: 400px; }
.hero-carrossel .hero-visual { display: flex; justify-content: center; }
.hero-carrossel .hero-visual svg { height: 340px; width: auto !important; max-width: 100%; }
.hero-carrossel .carousel-item { transition: transform .6s ease-in-out; }
@media (max-width: 991.98px) { .hero-carrossel .hero-visual svg { height: 260px; } }

/* Títulos das seções de teste com ícone ao lado */
.zz-titulo { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.zz-titulo .icone-teste { flex: none; }

/* Isenção no selo */
.selo-metodo .selo-isencao { display: flex; gap: 6px; align-items: flex-start; margin-top: var(--space-2); color: var(--ink); font-weight: 500; }
.selo-metodo .selo-isencao .lucide, .selo-metodo .selo-isencao [data-lucide] { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--success); }

/* Selo: dois blocos com o mesmo peso */
.selo-metodo { display: block; }
.selo-metodo .selo-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.selo-metodo .selo-item strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.selo-metodo .selo-item span { display: block; font-size: 14px; color: var(--ink-muted); }
.selo-metodo .selo-linha { margin: var(--space-3) 0; border: 0; border-top: 1px solid var(--border); opacity: 1; }

/* Botão do topo: texto curto no celular */
.nav-cta .cta-curto { display: none; }
@media (max-width: 575.98px) {
    .nav-cta span.cta-longo { display: none; }
    .nav-cta span.cta-curto { display: inline; }
}

/* Carrossel: bolinhas e setas laterais */
.hero-carrossel { padding-bottom: var(--space-8); }
.hero-seta { position: absolute; top: 55%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--shadow-lift); }
.hero-seta-esq { left: -56px; }
.hero-seta-dir { right: -56px; }
.hero-bolinhas { position: absolute; left: 0; right: 0; bottom: var(--space-2); display: flex; justify-content: center; gap: 10px; }
.hero-bolinhas button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--border-strong); transition: all 200ms ease-out; }
.hero-bolinhas button.active { width: 28px; border-radius: 5px; background: var(--primary); }
@media (max-width: 1499.98px) { .hero-seta-esq { left: -8px; } .hero-seta-dir { right: -8px; } }
@media (max-width: 991.98px) { .hero-seta { top: auto; bottom: 0; transform: none; } .hero-seta-esq { left: 0; } .hero-seta-dir { right: 0; } .hero-bolinhas { bottom: 14px; } }

/* Parcerias */
.marca-parceiro { display: inline-flex; align-items: center; margin-left: var(--space-3); padding-left: var(--space-3); border-left: 1px solid var(--border); height: 32px; }
.marca-parceiro img { max-height: 30px; max-width: 110px; object-fit: contain; }
@media (max-width: 575.98px) { .marca-parceiro { display: none; } }
.parceiro-topo { border-radius: var(--radius-lg); padding: var(--space-8); color: #fff; background: linear-gradient(120deg, var(--azul-digital), var(--roxo-eletrico)); background-size: cover; background-position: center; }
.parceiro-topo.com-banner { min-height: 260px; display: flex; align-items: center; }
.parceiro-topo-in { display: flex; gap: var(--space-6); align-items: center; max-width: 900px; }
.parceiro-logo { flex: none; background: #fff; border-radius: var(--radius-md); padding: var(--space-3); box-shadow: var(--shadow-lift); }
.parceiro-logo img { display: block; max-width: 160px; max-height: 90px; object-fit: contain; }
.parceiro-selo { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.18); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: var(--space-3); }
.parceiro-selo .lucide, .parceiro-selo [data-lucide] { width: 15px; height: 15px; }
.parceiro-titulo { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: #fff; margin-bottom: var(--space-2); }
.parceiro-texto { color: rgba(255,255,255,.92); font-size: 1.02rem; }
@media (max-width: 767.98px) { .parceiro-topo { padding: var(--space-6); } .parceiro-topo-in { flex-direction: column; align-items: flex-start; } }
.cad-parceiro { display: flex; align-items: center; gap: var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3); margin-bottom: var(--space-4); font-size: 14px; }
.cad-parceiro img { max-height: 36px; max-width: 90px; object-fit: contain; }
.admin-prev-banner { height: 120px; border-radius: var(--radius-md); background-size: cover; background-position: center; border: 1px solid var(--border); }
.admin-prev-logo { height: 80px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); background: #fff; }
.admin-prev-logo img { max-height: 64px; max-width: 90%; object-fit: contain; }
.url-copiar { font-family: 'JetBrains Mono', monospace; font-size: 13px; }

/* Ajustes mobile: abas mais próximas, botão do topo centralizado, mais espaço antes de "Sabe por que" */
.por-que { margin-top: var(--space-6); }
@media (max-width: 991.98px) { .por-que { margin-top: var(--space-12, 48px); } }
@media (max-width: 575.98px) {
    .hero-carrossel { padding-top: 0; margin-top: -28px; }
    .nav-cta { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
}

/* Carrossel: "Saiba mais" como link de texto simples */
.link-saiba { align-self: center; color: var(--primary); font-weight: 500; text-decoration: none; }
.link-saiba:hover, .link-saiba:focus-visible { text-decoration: underline; color: var(--primary-hover); }

/* Carrossel no celular: botão e "Saiba mais" empilhados e centralizados */
@media (max-width: 767.98px) {
    .hero-acoes { flex-direction: column; align-items: center; text-align: center; }
}

/* Admin: escolha do tipo de parceria */
.tipo-parc { display: flex; gap: var(--space-3); align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); cursor: pointer; height: 100%; background: var(--surface-raised); }
.tipo-parc:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.tipo-parc .form-check-input { margin-top: 3px; flex: none; }

/* Login com Google */
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 500; padding: 10px 16px; }
.btn-google:hover, .btn-google:focus-visible { background: #f8faff; border-color: #c4c7c5; color: #1f1f1f; }
.divisor-ou { display: flex; align-items: center; gap: var(--space-3); color: var(--ink-muted); font-size: 13px; margin: var(--space-4) 0; }
.divisor-ou::before, .divisor-ou::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
