:root {
  --brand: #0b2a4a;        /* azul-marinho (logo, títulos) */
  --brand-2: #1650a0;      /* azul principal (botões, links) */
  --brand-3: #4a7cc9;      /* azul médio */
  --mint: #eaf0fa;         /* azul bem claro (fundos) */
  --mint-2: #d4e0f3;
  --accent: #f5b700;       /* dourado */
  --gold: #f5b700;
  --gold-2: #ffd24d;
  --gold-dark: #8a6400;    /* dourado para texto em fundo claro */
  --gold-soft: #fff4cc;
  --ok: #2e8b57;           /* verde só para "resposta certa" */
  --err: #c0504d;
  --bs-primary: #1650a0;
  --bs-primary-rgb: 22, 80, 160;
  --bs-success: #2e8b57;
  --bs-success-rgb: 46, 139, 87;
  --bs-link-color: #1650a0;
  --bs-link-color-rgb: 22, 80, 160;
  --bs-link-hover-color: #0b2a4a;
  --bs-link-hover-color-rgb: 11, 42, 74;
  --bs-body-color: #1c2a3d;
  --bs-body-font-family: "LINE Seed JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { background: #f4f7fc; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.btn-primary { --bs-btn-bg: var(--brand-2); --bs-btn-border-color: var(--brand-2); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-outline-primary { --bs-btn-color: var(--brand-2); --bs-btn-border-color: var(--brand-2); --bs-btn-hover-bg: var(--brand-2); --bs-btn-hover-border-color: var(--brand-2); }
.text-primary { color: var(--brand-2) !important; }
.app-nav { background: #ffffffe6; backdrop-filter: blur(6px); border-bottom: 1px solid var(--mint-2); padding: .35rem 0; }
.app-nav .nav-link { color: #34465f; font-weight: 500; border-radius: var(--r); padding: .4rem .75rem !important; }
.app-nav .nav-link:hover { color: var(--brand); background: var(--mint); }
.app-nav .nav-link.active { color: var(--brand); background: var(--mint-2); }
.app-nav .dropdown-toggle::after { margin-left: .25rem; }
.app-nav .dropdown-menu { border: 1px solid #dae3f0; border-radius: var(--r); box-shadow: 0 4px 5px rgba(11,42,74,0.05); }
.app-nav .dropdown-item { color: #34465f; font-weight: 500; padding: .35rem 1rem; border-radius: 0; }
.app-nav .dropdown-item:hover { background: var(--mint); color: var(--brand); }
.app-nav .dropdown-item.active { color: var(--brand); background: var(--mint-2); }
.app-nav .user-dd .dropdown-toggle { color: #34465f; text-decoration: none; }
.app-nav .user-dd .dropdown-toggle:hover { color: var(--brand); }
.nav-logo { height: 34px; }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-weight: 800; color: var(--brand); letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--brand-3); }
.btn-success { --bs-btn-bg: var(--brand-2); --bs-btn-border-color: var(--brand-2); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-mint { background: var(--mint); color: var(--brand); border: 1px solid var(--mint-2); font-weight: 600; }
.btn-mint:hover { background: var(--mint-2); color: var(--brand); }
.bg-success { background-color: var(--ok) !important; }
.text-success { color: var(--ok) !important; }
.form-control:focus, .form-select:focus { border-color: var(--brand-3); box-shadow: 0 0 0 .2rem rgba(74,124,201,.25); }
.form-check-input:checked { background-color: var(--brand-2); border-color: var(--brand-2); }
.card { border-color: #dae3f0; }
.card { border: 1px solid #dae3f0; border-radius: var(--r-lg); }
.card-header:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* home */
.hero { background: radial-gradient(900px 380px at 85% -10%, #cfdcf2 0%, transparent 60%), linear-gradient(160deg, #eef3fb 0%, #e1e9f6 100%); color: var(--bs-body-color); margin-top: -1.5rem; border-bottom: 1px solid var(--mint-2); }
.hero-lead { color: #46586f; }
.hero-logo { max-width: 320px; width: 100%; height: auto; }
.stat-tile { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem .5rem; box-shadow: 0 4px 5px rgba(11,42,74,0.04); }
.stat-tile .n { font-size: 2rem; font-weight: 800; color: var(--brand-2); line-height: 1; }
.stat-tile div:last-child { color: #5a6b82; font-size: .9rem; }
.feature { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.4rem; height: 100%; }
.feature i { font-size: 1.6rem; color: var(--brand-2); background: var(--mint); width: 3rem; height: 3rem; border-radius: var(--r-lg); display: inline-grid; place-items: center; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin: .5rem 0 .3rem; }
.feature p { color: #5b6573; margin: 0; font-size: .92rem; }


.mode-box { border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem; background: #f7f9fd; }

/* questão */
.question-card .statement { font-size: 1.05rem; line-height: 1.65; white-space: normal; }
.passage { background: #fbfcf7; border: 1px solid #e3e9d4; border-radius: var(--r); padding: .6rem .9rem; }
.passage summary { cursor: pointer; font-weight: 600; color: #5b6b2e; }
.passage-body { margin-top: .6rem; line-height: 1.7; max-height: 420px; overflow: auto; font-size: .95rem; }
.passage-lines { list-style: none; margin: 0; padding: 0; }
.passage-lines li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); line-height: 1.65; }
.passage-lines .ln { color: #8a9a5b; font-size: .78em; font-variant-numeric: tabular-nums; text-align: right; padding-right: .75em; user-select: none; line-height: 2.1; }
.passage-source { margin-top: .6rem; font-size: .85em; color: #64748b; }
.q-images summary { cursor: pointer; }
.q-img { max-height: 620px; }
.alts { display: flex; flex-direction: column; gap: .55rem; }
.alt { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .9rem; border: 1.5px solid #d8e2f1; border-radius: var(--r-lg); background: #fff; cursor: pointer; transition: border-color .1s, background .1s; line-height: 1.5; }
.alt:hover { border-color: var(--brand-3); background: #fbfcff; }
.alt input { position: absolute; opacity: 0; pointer-events: none; }
.alt .letter { flex: 0 0 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid #b7c6de; display: grid; place-items: center; font-weight: 700; color: #34465f; }
.alt .txt { padding-top: .2rem; }
.alt:has(input:checked) { border-color: var(--brand-2); background: var(--mint); }
.alt:has(input:checked) .letter { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.alts.answered .alt { cursor: default; }
.alt.correct { border-color: var(--ok); background: #e5f4ea; }
.alt.correct .letter { background: var(--ok); border-color: var(--ok); color: #fff; }
.alt.correct .bi { color: var(--ok); font-size: 1.2rem; }
.alt.wrong { border-color: var(--err); background: #fbeeed; }
.alt.wrong .letter { background: var(--err); border-color: var(--err); color: #fff; }
.alt.wrong .bi { color: var(--err); font-size: 1.2rem; }
.feedback { border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.feedback.ok { background: #e5f4ea; color: #14532d; border: 1px solid #b9dfc8; }
.feedback.err { background: #fbeeed; color: #8a3330; border: 1px solid #efc6c4; }
.explanation { background: #f3f6fc; border-radius: var(--r); padding: .9rem 1.1rem; line-height: 1.6; }

/* mapa de questões */
.qmap { display: flex; flex-wrap: wrap; gap: 4px; }
.qmap a { width: 30px; height: 30px; display: grid; place-items: center; font-size: .75rem; border-radius: var(--r); background: #fff; border: 1px solid #d3ddeb; color: #34465f; text-decoration: none; }
.qmap-sm a { width: 26px; height: 26px; font-size: .7rem; }
.qmap a.ok { background: #d1f0dc; border-color: #9ad5b0; color: #0f5132; }
.qmap a.err { background: #f8d7da; border-color: #eea6ad; color: #842029; }
.qmap a.warn { background: #fff3cd; border-color: #f5d77a; color: #664d03; }
.qmap a.null { background: #e9ecef; color: #6c757d; text-decoration: line-through; }
.qmap a.done { background: var(--mint-2); border-color: var(--brand-3); color: var(--brand); }
.qmap a.cur { outline: 2px solid var(--brand-2); outline-offset: 1px; font-weight: 700; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: var(--r-sm); margin-left: .4rem; }
.legend.ok { background: #d1f0dc; } .legend.warn { background: #fff3cd; } .legend.err { background: #f8d7da; } .legend.null { background: #e9ecef; }

/* simulado */
.sim-bar { background: rgba(244,247,252,.96); backdrop-filter: blur(6px); padding: .6rem 0 .6rem; margin-bottom: 1rem; border-bottom: 1px solid #dae3f0; z-index: 10; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.3rem; color: var(--brand); background: #fff; border: 1px solid #cfdbeb; border-radius: var(--r); padding: .1rem .6rem; }
.timer.low { color: var(--err); border-color: var(--err); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* resultado */
.score-ring { --p: 0; width: 170px; height: 170px; border-radius: 50%; margin: auto; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--brand-3) calc(var(--p) * 1%), #e3eaf5 0); }
.review-item summary { list-style: none; cursor: pointer; }
.review-item summary::-webkit-details-marker { display: none; }
.rv-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: #e9ecef; flex: 0 0 28px; }
.review-item.ok .rv-dot { background: var(--ok); color: #fff; }
.review-item.err .rv-dot { background: var(--err); color: #fff; }

.kpi { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem; height: 100%; }
.kpi i { font-size: 1.3rem; }
.kpi .n { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.kpi .l { color: #6c757d; font-size: .8rem; }
.admin-q .statement { font-size: .9rem; }

/* explicação */
.explanation .exp-h { font-weight: 700; color: var(--brand); margin-top: .2rem; margin-bottom: .2rem; }
.explanation .exp-gap { height: .6rem; }
.explanation .exp-alt { display: flex; gap: .5rem; margin: .25rem 0; }
.explanation .exp-letter { flex: 0 0 1.5rem; height: 1.5rem; border-radius: 50%; background: #fdeeee; color: #842029; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.explanation .exp-fundamento { background: #eaf0fa; border-left: 3px solid var(--brand-2); padding: .4rem .6rem; border-radius: .3rem; }
.explanation .exp-dica { background: #fbf7e6; border-left: 3px solid #d9c26a; padding: .4rem .6rem; border-radius: .3rem; }

footer.site-footer { background: #fff; border-top: 1px solid var(--mint-2); }
.footer-logo { height: 56px; opacity: .9; }

/* ---------- menu inferior (celular) ---------- */
:root { --bottom-nav-h: 64px; --nav-h: 62px; }
html, body { overflow-x: clip; }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; justify-content: space-around; align-items: stretch;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--mint-2); box-shadow: 0 -4.8px 6px rgba(11,42,74,0.04);
}
.bottom-nav a, .bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #64758c; text-decoration: none; font-size: .7rem; font-weight: 500;
  background: none; border: 0; padding: 0; position: relative; -webkit-tap-highlight-color: transparent;
}
.bottom-nav i { font-size: 1.3rem; line-height: 1; }
.bottom-nav .active { color: var(--brand); font-weight: 700; }
.bottom-nav .active::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--brand-2);
}
.bottom-nav a:active, .bottom-nav button:active { background: var(--mint); }
.more-menu { height: auto !important; max-height: 70vh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: env(safe-area-inset-bottom); }
.more-menu .list-group-item { border: 0; padding: .8rem 1rem; font-weight: 500; border-radius: var(--r); }
.more-menu .list-group-item i { color: var(--brand-2); width: 1.6rem; display: inline-block; }

@media (max-width: 991.98px) {
  body.has-bottom-nav { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
  .brand-logo { height: 32px; }
  .brand-name { font-size: 1.05rem; }
  .app-nav { padding-top: .45rem; padding-bottom: .45rem; }
}

/* ---------- ajustes para telas pequenas ---------- */
@media (max-width: 767.98px) {
  main { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .hero { margin-top: -1rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero .lead { font-size: 1.02rem; }
  .stat-tile { padding: .7rem .25rem; }
  .stat-tile .n { font-size: 1.5rem; }
  .question-card .card-body { padding: 1rem !important; }
  .question-card .statement { font-size: 1rem; }
  .alt { padding: .65rem .7rem; gap: .6rem; }
  .alt .letter { flex-basis: 1.8rem; height: 1.8rem; font-size: .9rem; }
  /* mapa de questões vira uma faixa com rolagem horizontal */
  .qmap.qmap-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
  .qmap.qmap-scroll a { flex: 0 0 auto; scroll-snap-align: center; }
  .kpi .n { font-size: 1.3rem; }
  .score-ring { width: 140px; height: 140px; }
  h1.h3 { font-size: 1.4rem; }
  .table { font-size: .85rem; }
}

/* barra de ações da questão fixa embaixo no celular (modo foco) */
@media (max-width: 767.98px) {
  .answer-bar {
    position: sticky; bottom: 0; z-index: 5; background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
    margin: 1rem -1rem -1rem !important; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--mint-2); border-radius: 0 0 var(--r-lg) var(--r-lg); gap: .5rem;
  }
  .answer-bar .btn { padding-left: .8rem !important; padding-right: .8rem !important; }
  .answer-bar .btn-main { flex: 1; }
}

/* simulado: barra fica logo abaixo do menu superior */
.sim-bar { top: var(--nav-h); }
.min-w-0 { min-width: 0; }

/* passos "como funciona" (página inicial) */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.flow-steps::before { /* linha que liga os passos */
  content: ""; position: absolute; top: 1.3rem; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-3) 0 6px, transparent 6px 11px); opacity: .6;
}
.flow-steps li { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; position: relative; }
.flow-steps .step-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--mint-2); color: var(--brand-2); font-size: 1.1rem;
  box-shadow: 0 .2rem .6rem rgba(11,42,74,.08); position: relative; z-index: 1;
}
.flow-steps li:last-child .step-icon { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.flow-steps .step-label { font-size: .78rem; font-weight: 600; color: #46586f; line-height: 1.2; }
@media (max-width: 767.98px) {
  .flow-steps .step-icon { width: 2.2rem; height: 2.2rem; font-size: .95rem; }
  .flow-steps::before { top: 1.1rem; }
  .flow-steps .step-label { font-size: .7rem; }
}

/* ---------- páginas institucionais ---------- */
.page-hero { background: linear-gradient(160deg, #eef3fb 0%, #e1e9f6 100%); border-bottom: 1px solid var(--mint-2); margin-top: -1.5rem; padding: 2rem 0; }
.page-hero h1 { color: var(--brand); }
.page-hero-icon { flex: 0 0 3.2rem; height: 3.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--mint-2); display: grid; place-items: center; font-size: 1.5rem; color: var(--brand-2); }
.prose { line-height: 1.75; color: #24344a; }
.prose h2 { font-size: 1.3rem; font-weight: 700; color: var(--brand); margin: 2rem 0 .75rem; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .25rem; color: var(--brand); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .lead { font-size: 1.12rem; }
.legal { font-size: .97rem; }
.legal table { font-size: .9rem; }
.legal th { color: var(--brand); }
.toc { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .75rem 1rem; font-size: .88rem; line-height: 2; }
.toc a { white-space: nowrap; }
.summary-box { background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.cta-box { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.steps { display: flex; flex-direction: column; gap: .8rem; }
.step { display: flex; gap: 1rem; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem 1.1rem; }
.step .n { flex: 0 0 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand-2); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step p { margin-bottom: .4rem; } .step p:last-child { margin-bottom: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.faq .accordion-item { border-color: #dae3f0; }
.faq .accordion-item:first-of-type { border-top-left-radius: .8rem; border-top-right-radius: .8rem; }
.faq .accordion-item:last-of-type { border-bottom-left-radius: .8rem; border-bottom-right-radius: .8rem; }
.faq .accordion-button { font-weight: 600; color: var(--brand); }
.faq .accordion-button:not(.collapsed) { background: var(--mint); color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(74,124,201,.25); }
.faq .accordion-body { line-height: 1.7; }
[id] { scroll-margin-top: 80px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; }
.footer-links a { color: #46586f; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
.more-sep { height: 1px; background: var(--mint-2); margin: .4rem .5rem; }
@media (max-width: 767.98px) { .page-hero { margin-top: -1rem; padding: 1.4rem 0; } .page-hero h1 { font-size: 1.5rem; } .step { padding: .85rem; gap: .75rem; } }

.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }
.footer-contact a { color: var(--brand); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .wa i { color: #25a35a; }

.attention-box { display: flex; gap: .7rem; background: #fdf8e8; border: 1px solid #efe1ae; border-radius: var(--r-lg); padding: .7rem .9rem; font-size: .88rem; color: #5b4a12; }
.attention-box > i { color: #b58a00; font-size: 1.1rem; }

/* ===== home ===== */
.btn-light-brand { background: #fff; color: var(--brand); border: 1.5px solid var(--mint-2); font-weight: 700; }
.btn-light-brand:hover { background: var(--mint); color: var(--brand); border-color: var(--brand-3); }
.h-hero { margin-top: -1.5rem; padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--mint-2);
  background: radial-gradient(700px 360px at 90% 0%, #cfdcf2 0%, transparent 65%), radial-gradient(500px 300px at 0% 100%, #e3ebf8 0%, transparent 70%), linear-gradient(170deg, #f2f6fd 0%, #e3eaf7 100%); }
.h-eyebrow { display: inline-flex; gap: .4rem; align-items: center; background: #fff; border: 1px solid var(--mint-2); color: var(--brand); font-weight: 700; font-size: .82rem; border-radius: var(--r); padding: .35rem .85rem; margin-bottom: 1.1rem; }
.h-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--brand); margin-bottom: 1rem; }
.h-title span { color: var(--brand-2); background: linear-gradient(transparent 62%, #ffe08a 62%); padding: 0 .1em; }
.h-lead { font-size: 1.1rem; line-height: 1.7; color: #46586f; margin-bottom: 1.6rem; max-width: 38rem; }
.h-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.h-ctas .btn-lg { padding: .8rem 1.5rem; border-radius: var(--r-lg); font-weight: 700; }
.h-ctas .btn-success { box-shadow: 0 4px 7px rgba(22,80,160,0.15); }
.h-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: #34465f; font-size: .9rem; font-weight: 600; }
.h-trust i { color: var(--brand-3); margin-right: .25rem; }

.h-mock { position: relative; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: 0 4px 12px rgba(11,42,74,0.07); max-width: 34rem; margin: 0 auto; }
.h-mock-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .9rem; flex-wrap: wrap; }
.badge-soft { white-space: nowrap; background: var(--mint); color: var(--brand); font-weight: 700; font-size: .78rem; border-radius: var(--r); padding: .3rem .75rem; }
.h-mock-q { font-size: 1.02rem; line-height: 1.65; margin-bottom: 1rem; }
.h-mock-alts { display: flex; gap: .6rem; margin-bottom: 1rem; }
.alt-pill { flex: 1; text-align: center; border: 1.5px solid #d8e2f1; border-radius: var(--r-lg); padding: .6rem; font-weight: 700; color: #46586f; }
.alt-pill.ok { border-color: var(--ok); background: #e8f6ee; color: var(--ok); }
.h-mock-exp { background: #fbfcf7; border: 1px solid #e3e9d4; border-radius: var(--r-lg); padding: .8rem .95rem; font-size: .9rem; line-height: 1.55; display: flex; flex-direction: column; gap: .25rem; }
.h-mock-exp strong { color: #5b6b2e; }
.h-mock-float { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .55rem .85rem; box-shadow: 0 4px 9px rgba(11,42,74,0.08); }
.h-mock-float i { width: 2.2rem; height: 2.2rem; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--brand-2); color: #fff; font-size: 1.05rem; }
.h-mock-float b { display: block; color: var(--brand); line-height: 1.1; }
.h-mock-float small { color: #5a6b82; font-size: .75rem; }
.h-mock-float.one { top: -2.4rem; right: -1rem; }
.h-mock-float.two { bottom: -2.1rem; left: -1.2rem; }
.h-mock-float.two i { background: var(--accent); }

.h-search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--mint-2); border-radius: var(--r-lg); padding: .45rem .5rem .45rem 1.1rem; margin-top: 3rem; box-shadow: 0 4px 8px rgba(11,42,74,0.05); }
.h-search > i { color: var(--brand-3); font-size: 1.15rem; }
.h-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1rem; background: transparent; padding: .5rem 0; }
.h-search .btn { border-radius: var(--r-lg); padding: .6rem 1.4rem; font-weight: 700; }
.h-search:focus-within { border-color: var(--brand-3); }

.h-stats { padding: 1.8rem 0; background: #fff; border-bottom: 1px solid var(--mint-2); }
.h-stat b { display: block; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--brand-2); line-height: 1.1; }
.h-stat span { color: #5a6b82; font-size: .9rem; }

.h-section { padding: 4rem 0; }
.h-alt { background: #fff; border-top: 1px solid var(--mint-2); border-bottom: 1px solid var(--mint-2); }
.h-head { text-align: center; max-width: 42rem; margin: 0 auto 2.2rem; }
.h-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--brand); letter-spacing: -.01em; margin: .3rem 0 .6rem; }
.h-head p { color: #5a6b82; margin: 0; }
.h-kicker { display: inline-block; color: var(--brand-3); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.h-narrow { max-width: 50rem; }

.h-career { display: flex; flex-direction: column; gap: .3rem; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: 6px; padding: 1.2rem; text-decoration: none; color: var(--bs-body-color); transition: transform .12s, box-shadow .12s, border-color .12s; }
.h-career:hover { transform: translateY(-3px); box-shadow: 0 4px 9px rgba(11,42,74,0.07); border-color: var(--brand-3); color: var(--bs-body-color); }
.h-career .ic { width: 2.8rem; height: 2.8rem; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--mint); color: var(--brand-2); font-size: 1.3rem; margin-bottom: .4rem; }
.h-career strong { color: var(--brand); font-size: 1.02rem; line-height: 1.25; }
.h-career small { color: #5a6b82; font-size: .82rem; line-height: 1.4; flex: 1; }
.h-career .count { align-self: flex-start; margin-top: .5rem; background: var(--brand-2); color: #fff; font-size: .75rem; font-weight: 700; border-radius: var(--r); padding: .2rem .65rem; }
.h-career .count.soon { background: #eef1f6; color: #7a879a; }

.h-feature { height: 100%; background: #f7f9fd; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.5rem; }
.h-feature i { width: 3rem; height: 3rem; border-radius: var(--r-lg); display: inline-grid; place-items: center; background: var(--brand-2); color: #fff; font-size: 1.35rem; }
.h-feature h3 { font-size: 1.08rem; font-weight: 800; color: var(--brand); margin: 1rem 0 .4rem; }
.h-feature p { color: #5a677a; margin: 0; font-size: .93rem; line-height: 1.6; }

.h-steps { counter-reset: s; }
.h-step { position: relative; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.6rem 1.4rem 1.4rem; }
.h-step .n { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .9rem; box-shadow: 0 0 0 6px var(--mint); }
.h-step h3 { font-size: 1.08rem; font-weight: 800; color: var(--brand); margin-bottom: .4rem; }
.h-step p { color: #5a677a; margin: 0; font-size: .93rem; line-height: 1.6; }

.h-plan { position: relative; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.h-plan:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(11,42,74,0.06); }
.h-plan.is-featured { border: 2px solid var(--brand-2); box-shadow: 0 4px 12px rgba(22,80,160,0.1); }
.h-plan.is-mine { border-color: var(--brand-3); }
.h-plan-flag { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--brand-2); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: var(--r); padding: .3rem .9rem; white-space: nowrap; }
.h-plan-head { padding: 1.7rem 1.5rem 1.2rem; text-align: center; border-bottom: 1px dashed #dae3f0; }
.h-plan-head h3 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.h-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .3rem; }
.h-plan-price .cur { font-weight: 700; color: var(--brand-2); }
.h-plan-price .amount { font-size: 2.2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.h-plan-price .period { flex-basis: 100%; font-size: .82rem; color: #7a879a; }
.h-plan-body { padding: 1.3rem 1.5rem; flex: 1; }
.h-plan-desc { color: #5a677a; font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
.h-plan-features { list-style: none; padding: 0; margin: 0; font-size: .9rem; display: flex; flex-direction: column; gap: .5rem; }
.h-plan-features li { display: flex; align-items: flex-start; gap: .5rem; color: #34465f; line-height: 1.4; }
.h-plan-features li i { color: var(--brand-2); font-size: 1.05rem; line-height: 1.3; }
.h-plan-features li.off { color: #9aa6b8; text-decoration: line-through; }
.h-plan-features li.off i { color: #c0504d; }
.h-plan-features li strong { color: var(--brand); }
.h-plan-foot { padding: 0 1.5rem 1.5rem; }
.h-plan-foot .btn { border-radius: var(--r-lg); padding: .65rem 1rem; font-weight: 700; }
.h-plan-foot .disabled { opacity: 1; border-color: var(--mint-2); color: var(--brand); }

/* cota de envios (página Enviar prova) */
.quota-box { display: flex; gap: .8rem; align-items: flex-start; background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .85rem 1rem; color: #23395a; font-size: .93rem; }
.quota-box > i { color: var(--brand-2); font-size: 1.25rem; line-height: 1.2; }
.quota-box.is-blocked { background: #fdf3f2; border-color: #f0cfcc; color: #6b2c29; }
.quota-box.is-blocked > i { color: var(--err); }
form.is-locked { opacity: .55; }

/* tabelas do admin */
.admin-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #7a879a; font-weight: 700; background: #f7f9fd; border-bottom-color: #dae3f0; white-space: nowrap; }
.admin-table td:first-child, .admin-table th:first-child { padding-left: 1rem; }
.admin-table td:last-child, .admin-table th:last-child { padding-right: 1rem; }

.h-panel { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.6rem; }
.h-panel h2 { font-weight: 800; color: var(--brand); margin: .3rem 0 .5rem; }
.h-bars { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .8rem; font-size: .92rem; }
.h-bars b { color: var(--brand); }
.h-bars .bar { height: 8px; background: #edf2f9; border-radius: var(--r-sm); margin-top: .3rem; overflow: hidden; }
.h-bars .bar span { display: block; height: 100%; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--brand-3), var(--brand-2)); }
.h-format { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed #dae3f0; }
.h-format > i { flex: 0 0 2.6rem; height: 2.6rem; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--mint); color: var(--brand-2); font-size: 1.2rem; }
.h-format h3 { font-size: 1rem; font-weight: 800; color: var(--brand); margin-bottom: .25rem; }
.h-format h3 small { font-weight: 600; color: #7a879a; font-size: .78rem; margin-left: .3rem; }
.h-format p { margin: 0; color: #5a677a; font-size: .92rem; line-height: 1.6; }
.h-tip { display: flex; gap: .7rem; margin-top: 1.1rem; background: #fdf8e8; border: 1px solid #efe1ae; border-radius: var(--r-lg); padding: .8rem 1rem; font-size: .9rem; color: #5b4a12; line-height: 1.55; }
.h-tip i { color: #b58a00; }

.h-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: var(--r-lg); padding: 2.2rem 2.4rem; color: #fff;
  background: radial-gradient(500px 240px at 100% 0%, rgba(255,255,255,.14), transparent 70%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); box-shadow: 0 4px 12px rgba(11,42,74,0.12); }
.h-band h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.h-band p { margin: 0; max-width: 44rem; color: #dbe6f7; line-height: 1.6; }
.h-band .btn-light { color: var(--brand); border-radius: var(--r-lg); padding: .8rem 1.5rem; }

.h-final { padding: 4.5rem 0 3rem; margin-bottom: -1.5rem; background: linear-gradient(180deg, #f4f7fc 0%, #e1e9f6 100%); }
.h-final-logo { height: 64px; margin-bottom: 1rem; }
.h-final h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--brand); margin-bottom: .5rem; }
.h-final p { color: #5a6b82; margin-bottom: 1.5rem; }

.career-chips { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--mint-2); color: #34465f; font-weight: 600; font-size: .85rem; border-radius: var(--r); padding: .4rem .85rem; text-decoration: none; }
.chip:hover { border-color: var(--brand-3); color: var(--brand); }
.chip.active { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }

@media (max-width: 991.98px) {
  .h-mock { margin-top: 1rem; }
  .h-mock-float.one { right: .5rem; }
  .h-mock-float.two { left: .5rem; }
}
@media (max-width: 767.98px) {
  .h-hero { margin-top: -1rem; padding: 2rem 0 2.2rem; }
  .h-lead { font-size: 1rem; }
  .h-ctas .btn-lg { flex: 1 1 100%; }
  .h-mock { padding: 1.1rem; }
  .h-mock-float { display: none; }
  .h-search { margin-top: 2rem; padding-left: .8rem; }
  .h-search input { font-size: .92rem; }
  .h-search .btn { padding: .55rem .9rem; }
  .h-section { padding: 2.8rem 0; }
  .h-career { padding: 1rem; }
  .h-band { padding: 1.6rem 1.3rem; }
  .h-band .btn { width: 100%; }
  .h-panel { padding: 1.2rem; }
}

/* estudar por disciplina */
.filter-step { display: flex; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px dashed #dae3f0; }
.filter-step:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.filter-step .n { flex: 0 0 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--brand); font-weight: 800; font-size: .9rem; }
.study-summary { position: sticky; top: 84px; border-color: var(--mint-2); box-shadow: 0 4px 10px rgba(11,42,74,0.05); }
.study-total { font-size: 3rem; font-weight: 800; color: var(--brand-2); line-height: 1; transition: opacity .15s; }
.study-total.is-loading { opacity: .35; }
@media (max-width: 991.98px) { .study-summary { position: static; } }
@media (max-width: 575.98px) { .filter-step { gap: .7rem; } .filter-step .n { flex-basis: 1.7rem; height: 1.7rem; } }

/* planos: aviso de vencimento, bloqueio e situação */
.plan-bar { background: #fdf8e8; border-bottom: 1px solid #efe1ae; color: #5b4a12; font-size: .88rem; font-weight: 600; padding: .45rem 0; }
.plan-bar { background: var(--mint); border-bottom-color: var(--mint-2); color: var(--brand); }
.plan-bar.is-urgent { background: #fdf8e8; border-color: #efe1ae; color: #5b4a12; }
.plan-bar.is-expired { background: var(--brand); border-color: var(--brand); color: #fff; }
.plan-bar i { margin-right: .3rem; }
.paywall { display: flex; gap: .9rem; align-items: flex-start; background: #f7f9fd; border: 1px dashed var(--brand-3); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.paywall > i { flex: 0 0 2.4rem; height: 2.4rem; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--brand-2); color: #fff; font-size: 1.1rem; }
.paywall p { color: #5a677a; font-size: .92rem; }
.plan-status { display: flex; gap: .8rem; align-items: flex-start; background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .9rem 1.1rem; color: #23395a; }
.plan-status > i { color: var(--brand-2); font-size: 1.3rem; line-height: 1.2; }
.plan-status.is-expired { background: #fdf3f2; border-color: #f0cfcc; color: #6b2c29; }
.plan-status.is-expired > i { color: var(--err); }

/* lista de provas */
.exams-hero { margin-top: -1.5rem; padding: 2rem 0 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--mint-2);
  background: radial-gradient(600px 260px at 95% 0%, #cfdcf2 0%, transparent 65%), linear-gradient(170deg, #f2f6fd 0%, #e3eaf7 100%); }
.exams-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--brand); letter-spacing: -.01em; margin: 0 0 .2rem; }
.exams-sub { color: #46586f; }
.exam-search { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); box-shadow: 0 4px 10px rgba(11,42,74,0.05); overflow: hidden; }
.exam-search-q { display: flex; align-items: center; gap: .6rem; padding: .5rem .5rem .5rem 1.1rem; }
.exam-search-q > i { color: var(--brand-3); font-size: 1.1rem; }
.exam-search-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.02rem; padding: .55rem 0; }
.exam-search-q .btn { border-radius: var(--r-lg); padding: .55rem 1.3rem; font-weight: 700; }
.exam-search-f { display: flex; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid #edf2f9; background: #fbfcfe; overflow-x: auto; scrollbar-width: none; }
.exam-search-f::-webkit-scrollbar { display: none; }
.exam-search-f select { flex: 0 0 auto; appearance: none; -webkit-appearance: none; border: 1px solid #dae3f0; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231650a0' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right .7rem center / 10px;
  border-radius: var(--r); padding: .4rem 2rem .4rem .9rem; font-size: .88rem; font-weight: 600; color: #34465f; cursor: pointer; max-width: 260px; }
.exam-search-f select:hover { border-color: var(--brand-3); }
.exam-search-f select.is-set { background-color: var(--brand-2); border-color: var(--brand-2); color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.exam-search-f select:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 1px; }

.exam-results { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-size: .92rem; }
.filter-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--mint); border: 1px solid var(--mint-2); color: var(--brand); font-weight: 600; font-size: .85rem; border-radius: var(--r); padding: .25rem .5rem .25rem .8rem; text-decoration: none; }
.filter-pill i { font-size: .7rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.filter-pill:hover { border-color: var(--brand-3); color: var(--brand); }
.filter-pill:hover i { background: var(--err); color: #fff; }

.exam-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: 6px; padding: 1.2rem 1.25rem; text-decoration: none; color: var(--bs-body-color); transition: transform .14s, box-shadow .14s, border-color .14s; }
.exam-card:hover { transform: translateY(-3px); border-color: var(--brand-3); box-shadow: 0 4px 11px rgba(11,42,74,0.07); color: var(--bs-body-color); }
.ec-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.ec-icon { width: 2.6rem; height: 2.6rem; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--mint); color: var(--brand-2); font-size: 1.15rem; }
.ec-tags { display: flex; gap: .35rem; align-items: center; }
.ec-board { background: #f3f5f9; border: 1px solid #e2e8f1; color: #46586f; font-size: .74rem; font-weight: 700; border-radius: var(--r); padding: .15rem .5rem; }
.ec-year { background: var(--brand-2); color: #fff; font-size: .74rem; font-weight: 800; border-radius: var(--r); padding: .15rem .5rem; }
.ec-title { font-size: 1.05rem; font-weight: 800; color: var(--brand); line-height: 1.3; margin: 0 0 .2rem; }
.ec-uf { display: inline-block; vertical-align: middle; margin-left: .4rem; font-size: .68rem; font-weight: 800; color: var(--brand-2); border: 1px solid var(--mint-2); border-radius: var(--r); padding: 0 .3rem; }
.ec-pos { color: #5a6b82; font-size: .88rem; line-height: 1.4; min-height: 1.25rem; }
.ec-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .8rem; color: #5a677a; font-size: .83rem; }
.ec-meta i { color: var(--brand-3); margin-right: .15rem; }
.ec-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ec-progress { flex: 1; }
.ec-progress .bar { height: 6px; border-radius: var(--r-sm); background: #edf2f9; margin-top: .25rem; overflow: hidden; }
.ec-progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-3), var(--brand-2)); border-radius: var(--r-sm); }
.ec-go { margin-left: auto; color: var(--brand-2); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.exam-card:hover .ec-go i { transform: translateX(3px); }
.ec-go i { display: inline-block; transition: transform .14s; }

.exam-empty { text-align: center; background: #fff; border: 1px dashed var(--brand-3); border-radius: var(--r-lg); padding: 3rem 1.5rem; }
.exam-empty > i { font-size: 2.2rem; color: var(--brand-3); }
.exam-empty h2 { font-size: 1.2rem; font-weight: 800; color: var(--brand); margin: .8rem 0 .3rem; }
.exam-empty p { color: #5a6b82; }
.exam-missing { text-align: center; color: #5a6b82; font-size: .92rem; margin: 2rem 0 .5rem; }

@media (max-width: 767.98px) {
  .exams-hero { margin-top: -1rem; padding: 1.4rem 0 1.2rem; }
  .exam-search-q { padding-left: .8rem; }
  .exam-search-q input { font-size: .95rem; }
  .exam-search-q .btn { padding: .5rem .9rem; }
}

/* ===== tema azul-marinho e dourado (carreiras policiais e militares) ===== */
.btn-gold { --bs-btn-color: var(--brand); --bs-btn-bg: var(--gold); --bs-btn-border-color: var(--gold); --bs-btn-hover-color: var(--brand);
  --bs-btn-hover-bg: var(--gold-2); --bs-btn-hover-border-color: var(--gold-2); --bs-btn-active-bg: #e0a800; --bs-btn-active-color: var(--brand); font-weight: 800; }
.brand-name span { color: #c99400; }
.app-nav { border-bottom: 3px solid var(--gold); }

/* topo da home em azul-marinho */
.h-hero { color: #fff; border-bottom: 0;
  background: radial-gradient(700px 360px at 90% 0%, rgba(74,124,201,.45) 0%, transparent 65%), radial-gradient(520px 300px at 0% 100%, rgba(245,183,0,.12) 0%, transparent 70%), linear-gradient(160deg, #0b2a4a 0%, #102f57 55%, #0a2240 100%); }
.h-eyebrow { background: rgba(255,255,255,.08); border-color: rgba(245,183,0,.55); color: var(--gold-2); }
.h-title { color: #fff; }
.h-title span { color: var(--gold); background: none; padding: 0; }
.h-lead { color: #c9d6ea; }
.h-trust { color: #e3ebf7; }
.h-trust i { color: var(--gold); }
.h-hero .h-ctas .btn-gold { box-shadow: 0 4px 8px rgba(245,183,0,0.15); }
.h-hero .btn-light-brand { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.h-hero .btn-light-brand:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.h-search { border-color: transparent; box-shadow: 0 4px 11px rgba(0,0,0,0.15); }
.h-stats { border-top: 4px solid var(--gold); }

/* detalhes dourados */
.h-kicker { color: var(--gold-dark); }
.h-kicker::before { content: ""; display: inline-block; width: 1.4rem; height: 3px; background: var(--gold); border-radius: var(--r-sm); vertical-align: middle; margin-right: .5rem; }
.h-step .n { box-shadow: 0 0 0 6px var(--gold-soft); }
.h-plan-flag { background: var(--gold); color: var(--brand); }
.h-plan.is-featured { border-color: var(--brand); }
.h-band { background: radial-gradient(500px 240px at 100% 0%, rgba(245,183,0,.18), transparent 70%), linear-gradient(135deg, #0b2a4a 0%, #1650a0 100%); border-bottom: 4px solid var(--gold); }
.h-band .btn-light { background: var(--gold); border-color: var(--gold); color: var(--brand); }
.h-band .btn-light:hover { background: var(--gold-2); border-color: var(--gold-2); }
.ec-year { background: var(--brand); color: var(--gold-2); }
.exams-hero { background: linear-gradient(170deg, #f2f6fd 0%, #e1e9f6 100%); border-bottom: 3px solid var(--gold); }
.page-hero { border-bottom: 3px solid var(--gold); }
.plan-bar { background: var(--gold-soft); border-bottom-color: #f0d98a; color: #5b4a12; }
.plan-bar .btn-success { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); }
.h-hero .h-mock, .h-hero .h-mock-float { color: var(--bs-body-color); }
.h-hero .h-search { color: var(--bs-body-color); }
.ai-read-note { background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r); padding: .45rem .75rem; font-size: .82rem; color: #34465f; }
.ai-read-note i { color: var(--gold-dark); }

/* ===== suporte ===== */
.nav-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 2px #fff; vertical-align: top; }
.bottom-nav button { position: relative; }
.bottom-nav button .nav-dot { position: absolute; top: 6px; left: calc(50% + 6px); }
.support-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem; margin-bottom: 1.5rem; padding: 1.6rem 1.75rem; border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 100% 0%, #1a4f8f 0%, #0b2a4a 60%); color: #fff; box-shadow: 0 4px 12px rgba(11,42,74,0.11); }
.support-hero h1 { font-size: 1.7rem; font-weight: 800; margin: .35rem 0 .3rem; letter-spacing: -.02em; }
.support-hero p { margin: 0; color: rgba(255,255,255,.78); max-width: 560px; }
.support-kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.support-alt { display: flex; flex-direction: column; gap: .3rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: .7rem .9rem; }
.support-alt .text-muted { color: rgba(255,255,255,.6) !important; }
.support-alt a { color: #fff; text-decoration: none; font-weight: 600; }
.support-alt a:hover { color: var(--gold-2); }
.support-card { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.35rem; box-shadow: 0 4px 8px rgba(16,42,74,0.02); }
.support-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.support-cat { margin: 0; cursor: pointer; }
.support-cat input { position: absolute; opacity: 0; pointer-events: none; }
.support-cat span { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1.5px solid #dae3f0; border-radius: var(--r-lg); font-size: .86rem; font-weight: 600; color: #34465f; transition: all .15s; }
.support-cat span i { color: var(--brand-2); }
.support-cat:hover span { border-color: var(--brand-3); }
.support-cat input:checked + span { border-color: var(--brand-2); background: var(--mint); color: var(--brand); box-shadow: 0 0 0 3px rgba(22,80,160,.1); }
.support-cat input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.support-list { display: flex; flex-direction: column; gap: .5rem; }
.support-item { display: block; padding: .7rem .85rem; border: 1px solid #e3e9f2; border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.support-item:hover { border-color: var(--brand-3); background: #fafcff; color: inherit; }
.support-item.is-unread { border-color: #f1b8ba; background: #fff7f7; }
.support-tip { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: #34465f; background: var(--mint); border-radius: var(--r-lg); padding: .75rem .9rem; }
.support-tip i { color: var(--brand-2); margin-top: .1rem; }
.support-thread { display: flex; flex-direction: column; gap: .8rem; }
.sup-msg { max-width: 88%; padding: .8rem 1rem; border-radius: var(--r-lg); font-size: .93rem; }
.sup-msg.is-me { align-self: flex-end; background: var(--mint); border: 1px solid var(--mint-2); border-bottom-right-radius: .3rem; }
.sup-msg.is-staff { align-self: flex-start; background: #fff; border: 1px solid #e3e9f2; border-left: 3px solid var(--gold); border-bottom-left-radius: .3rem; box-shadow: 0 4px 5px rgba(16,42,74,0.03); }
.sup-who { font-size: .76rem; font-weight: 700; color: var(--brand); margin-bottom: .25rem; }
.sup-who i { color: var(--gold-dark); }
.sup-who span { font-weight: 500; color: #8a97aa; margin-left: .3rem; }
.sup-body { white-space: normal; word-break: break-word; line-height: 1.5; }
@media (max-width: 575.98px) { .support-hero { padding: 1.25rem; } .support-hero h1 { font-size: 1.4rem; } .sup-msg { max-width: 96%; } }
.exams-count { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .55rem; font-size: .88rem; color: #46586f; }
.exams-count span { display: inline-flex; align-items: center; gap: .3rem; }
.exams-count span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-right: .55rem; }
.exams-count b { color: var(--brand); font-weight: 800; }

/* ===== header (azul-marinho + dourado) ===== */
.site-header { position: sticky; top: 0; z-index: 1030; background: linear-gradient(100deg, #0a2440 0%, #0d3159 55%, #0f3a68 100%); color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); transition: box-shadow .2s ease; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, rgba(245,183,0,0) 0%, var(--gold) 18%, var(--gold-2) 50%, var(--gold) 82%, rgba(245,183,0,0) 100%); opacity: .9; }
.site-header.is-scrolled { box-shadow: 0 4px 10px rgba(8,29,51,0.17); }
.sh-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.sh-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; flex: none; }
.sh-brand:hover { color: #fff; }
.sh-logo { height: 40px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform .2s; }
.sh-brand:hover .sh-logo { transform: translateY(-1px) rotate(-2deg); }
.sh-brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.sh-brand-txt b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.sh-brand-txt b span { color: var(--gold); }
.sh-brand-txt small { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: .2rem; }
.sh-nav { align-items: center; gap: .15rem; margin-left: 1rem; }
.sh-link { position: relative; display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; color: rgba(255,255,255,.78);
  font-weight: 600; font-size: .95rem; padding: .55rem .85rem; border-radius: var(--r); text-decoration: none; transition: color .15s, background .15s; }
.sh-link i { font-size: .7rem; opacity: .7; transition: transform .2s; }
.sh-link:hover, .sh-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); }
.sh-link[aria-expanded="true"] i { transform: rotate(180deg); }
.sh-link.active { color: #fff; }
.sh-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -.62rem; height: 3px; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--gold); box-shadow: 0 0 10px rgba(245,183,0,.55); }
.sh-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.sh-cta { font-weight: 700; border-radius: var(--r); padding: .5rem 1.05rem; box-shadow: 0 4px 6px rgba(245,183,0,0.15); }
.sh-cta:hover { transform: translateY(-1px); }
.sh-login { color: rgba(255,255,255,.85); font-weight: 600; text-decoration: none; padding: .45rem .7rem; border-radius: var(--r); }
.sh-login:hover { color: #fff; background: rgba(255,255,255,.07); }
.sh-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); text-decoration: none; font-size: 1.05rem; }
.sh-icon:hover { color: #fff; background: rgba(255,255,255,.13); }
.sh-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r); background: #e5484d; color: #fff;
  font-size: .68rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #0d3159; }
.sh-user { display: flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff;
  border-radius: var(--r); padding: .22rem .75rem .22rem .22rem; font-weight: 600; transition: background .15s; }
.sh-user:hover, .sh-user[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.sh-user > i { font-size: .7rem; opacity: .7; }
.sh-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--brand); font-weight: 800; font-size: .8rem; }
.sh-avatar.lg { width: 42px; height: 42px; font-size: .95rem; }
.sh-dot { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 2px #0d3159; }
.sh-menu { border: 0; border-radius: var(--r-lg); padding: .45rem; min-width: 300px; margin-top: .75rem !important; box-shadow: 0 4px 12px rgba(8,29,51,0.13), 0 0 0 1px rgba(11,42,74,.06); }
.sh-item { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem .7rem; border-radius: 6px; text-decoration: none; color: var(--bs-body-color); }
.sh-item:hover { background: var(--mint); color: var(--brand); }
.sh-item.active { background: var(--mint); }
.sh-item .ic { width: 38px; height: 38px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--mint); color: var(--brand-2); font-size: 1.1rem; }
.sh-item:hover .ic, .sh-item.active .ic { background: var(--brand); color: var(--gold); }
.sh-item b { display: block; font-size: .92rem; color: var(--brand); }
.sh-item small { display: block; color: #6b7a90; font-size: .78rem; line-height: 1.3; }
.sh-account { min-width: 280px; }
.sh-account-head { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem .7rem; }
.sh-account-head b { color: var(--brand); font-size: .92rem; }
.sh-account-head small { color: #6b7a90; font-size: .78rem; }
.min-w-0 { min-width: 0; }
.sh-plan { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0 .2rem .4rem; padding: .55rem .75rem; border-radius: var(--r-lg);
  background: linear-gradient(100deg, #0b2a4a, #14467f); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; }
.sh-plan i { color: var(--gold); }
.sh-plan small { color: rgba(255,255,255,.7); font-weight: 600; font-size: .75rem; }
.sh-plan:hover { color: #fff; filter: brightness(1.1); }
.sh-plan.is-expired { background: linear-gradient(100deg, #7a2323, #a83232); }
.sh-row { display: flex; align-items: center; gap: .6rem; width: 100%; border: 0; background: none; padding: .55rem .7rem; border-radius: var(--r); color: #34465f; font-weight: 600; font-size: .9rem; text-decoration: none; text-align: left; }
.sh-row i { color: #8a97aa; width: 1.1rem; }
.sh-row:hover { background: var(--mint); color: var(--brand); }
.sh-row.text-danger i { color: inherit; }
.sh-sep { height: 1px; background: #e6ecf4; margin: .35rem .4rem; }
@media (max-width: 991.98px) {
  .sh-inner { min-height: 60px; gap: .75rem; }
  .sh-logo { height: 34px; }
  .sh-brand-txt b { font-size: 1.02rem; }
  .sh-cta { padding: .42rem .8rem; }
}
@media (max-width: 380px) { .sh-brand-txt small { display: none; } }
@media (max-width: 575.98px) {
  .sh-login { display: none; }
  .sh-signup { font-size: .82rem; padding: .42rem .8rem; white-space: nowrap; }
  .sh-signup .sh-signup-long { display: none; }
}

/* ===== aviso de cookies ===== */
.cookie-banner { position: fixed; z-index: 1060; left: 50%; transform: translateX(-50%); bottom: 1rem; width: min(760px, calc(100% - 2rem));
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: var(--r-lg); background: #0b2a4a; color: rgba(255,255,255,.85);
  box-shadow: 0 4px 12px rgba(8,29,51,0.21), inset 0 0 0 1px rgba(255,255,255,.08); font-size: .86rem; animation: cookie-in .35s ease; }
.cookie-banner b { color: #fff; }
.cookie-banner a { color: var(--gold-2); font-weight: 600; }
.cookie-ic { width: 38px; height: 38px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,183,0,.15); color: var(--gold); font-size: 1.15rem; }
.cookie-banner .btn { flex: none; border-radius: var(--r); padding-inline: 1.1rem; }
.cookie-actions { display: flex; gap: .5rem; flex: none; }
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 991.98px) { .has-bottom-nav .cookie-banner { bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (max-width: 575.98px) { .cookie-banner { flex-wrap: wrap; } .cookie-ic { display: none; } .cookie-actions { width: 100%; } .cookie-banner .btn { flex: 1; } }

/* formatos de prova (Como funciona) */
.format-card { height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.format-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.format-head i { width: 42px; height: 42px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--brand-2); font-size: 1.25rem; flex: none; }
.format-head h3 { font-size: 1.05rem; font-weight: 800; margin: 0; color: var(--brand); }
.format-head small { color: #6b7a90; font-weight: 600; }
.format-card p { margin: 0; font-size: .93rem; }
.format-tip { display: flex; gap: .6rem; align-items: flex-start; background: var(--gold-soft); border: 1px solid #f3dd8c; color: #5c4600; border-radius: var(--r-lg); padding: .8rem 1rem; margin: 1rem 0 2rem; font-size: .92rem; }
.format-tip i { color: var(--gold-dark); margin-top: .15rem; }

/* atalhos de disciplinas (Estudar por disciplina) */
.subject-shortcuts li + li { margin-top: .35rem; }
.subject-shortcuts a { display: block; padding: .45rem .6rem; border-radius: 4px; color: var(--bs-body-color); text-decoration: none; font-size: .9rem; }
.subject-shortcuts a:hover, .subject-shortcuts a.is-on { background: var(--mint); color: var(--brand); }
.subject-shortcuts b { color: var(--brand); }
.subject-shortcuts .bar { display: block; height: 5px; border-radius: var(--r-sm); background: #e8eef7; margin-top: .3rem; overflow: hidden; }
.subject-shortcuts .bar span { display: block; height: 100%; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--brand-2), var(--gold)); }
.footer-tagline { color: #34465f; font-weight: 600; }
.footer-legal { font-size: .78rem; color: #7a879a; max-width: 640px; margin-inline: auto; }

/* cartão de prova compacto (lista de provas) */
.exam-card.is-compact { padding: .85rem .95rem; border-radius: var(--r-lg); }
.exam-card.is-compact:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(11,42,74,0.06); }
.exam-card.is-compact .ec-head { margin-bottom: .55rem; }
.exam-card.is-compact .ec-icon { width: 2rem; height: 2rem; border-radius: var(--r); font-size: .95rem; }
.exam-card.is-compact .ec-board, .exam-card.is-compact .ec-year { font-size: .68rem; padding: .1rem .4rem; }
.exam-card.is-compact .ec-title { font-size: .93rem; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exam-card.is-compact .ec-uf { font-size: .62rem; }
.exam-card.is-compact .ec-pos { font-size: .8rem; min-height: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.exam-card.is-compact .ec-meta { margin-top: .5rem; font-size: .76rem; gap: .2rem .8rem; }
.exam-card.is-compact .ec-foot { padding-top: .6rem; gap: .6rem; }
.exam-card.is-compact .ec-go { font-size: .8rem; }
.exam-card.is-compact .ec-progress { font-size: .74rem; }
.exam-card.is-compact .ec-progress .bar { height: 4px; }

/* paginação da lista de provas */
.exam-pager { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 2rem 0 .5rem; flex-wrap: wrap; }
.pg-nums { display: flex; align-items: center; gap: .3rem; }
.pg-num, .pg-btn { min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  border: 1px solid #dae3f0; background: #fff; color: var(--brand); font-weight: 700; font-size: .9rem; text-decoration: none; transition: all .14s; }
.pg-num:hover, .pg-btn:hover { border-color: var(--brand-3); background: var(--mint); color: var(--brand); }
.pg-num.active { background: var(--brand); border-color: var(--brand); color: var(--gold-2); box-shadow: 0 4px 6px rgba(11,42,74,0.12); }
.pg-btn.disabled { opacity: .45; pointer-events: none; }
.pg-gap { color: #93a1b5; padding: 0 .15rem; }
@media (max-width: 575.98px) { .pg-num { min-width: 2.15rem; height: 2.15rem; padding: 0 .5rem; } .pg-btn { padding: 0 .65rem; } }
@media (max-width: 575.98px) {
  /* no celular: "Resolver" na mesma linha de questões/formato */
  .exam-card.is-compact { display: grid; grid-template-columns: 1fr auto; column-gap: .6rem; padding: .75rem .85rem; }
  .exam-card.is-compact .ec-head, .exam-card.is-compact .ec-title, .exam-card.is-compact .ec-pos { grid-column: 1 / -1; }
  .exam-card.is-compact .ec-head { margin-bottom: .4rem; }
  .exam-card.is-compact .ec-meta { grid-column: 1; align-self: end; }
  .exam-card.is-compact .ec-foot { grid-column: 2; align-self: end; margin-top: 0; padding-top: 0; }
  .exam-card.is-compact .ec-progress { display: none; }
}

/* ===================== PLANO DE ESTUDOS ===================== */
.pl-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
/* apresentação */
.pl-hero { background: radial-gradient(900px 480px at 85% 0%, rgba(74,124,201,.45), transparent 60%), linear-gradient(120deg, #081d33, #0d3159 60%, #14467f); color: #fff; padding: 3.5rem 0 4rem; margin-top: -1.5rem; }
.pl-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: .6rem 0 1rem; }
.pl-h1 span { color: var(--gold); }
.pl-lead { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 560px; }
.pl-careers { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.pl-careers > span { color: rgba(255,255,255,.6); font-size: .85rem; margin-right: .2rem; }
.pl-careers a { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.05); }
.pl-careers a:hover { background: rgba(245,183,0,.15); border-color: var(--gold); color: #fff; }
.pl-mock { position: relative; background: #fff; color: var(--bs-body-color); border-radius: 6px; padding: 1.3rem; box-shadow: 0 4px 12px rgba(0,0,0,0.18); max-width: 470px; margin-left: auto; }
.pl-mock-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.pl-mock-top b { font-size: 1.1rem; color: var(--brand); }
.pl-mock-top span { color: #6b7a90; font-size: .85rem; }
.pl-mock-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: var(--r-lg); border: 1px solid #e6ecf4; border-left: 4px solid var(--c); margin-bottom: .5rem; }
.pl-mock-item .t { font-weight: 800; color: var(--brand); font-size: .85rem; width: 2.8rem; }
.pl-mock-item div { flex: 1; min-width: 0; }
.pl-mock-item b { display: block; font-size: .92rem; color: var(--brand); }
.pl-mock-item small { color: #6b7a90; font-size: .78rem; }
.pl-mock-item .go { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.pl-mock-ring { position: absolute; left: -2.2rem; bottom: -1.6rem; display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: var(--r-lg); padding: .6rem .9rem; box-shadow: 0 4px 10px rgba(8,29,51,0.15); }
.pl-mock-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.pl-mock-ring b { color: var(--brand); display: block; line-height: 1; } .pl-mock-ring small { color: #6b7a90; font-size: .72rem; }
@media (max-width: 991.98px) { .pl-mock { margin: 1rem auto 0; } .pl-mock-ring { left: .5rem; } }
.pl-pillar { height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.4rem; }
.pl-pillar .ic { width: 48px; height: 48px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: var(--gold); font-size: 1.35rem; margin-bottom: .8rem; }
.pl-pillar h3 { font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.pl-pillar p { color: #5a6b82; margin: 0; }
.pl-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pl-how > div { background: var(--mint); border-radius: var(--r-lg); padding: 1.1rem; }
.pl-how .n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.pl-how b { display: block; color: var(--brand); } .pl-how small { color: #5a6b82; }
@media (max-width: 767.98px) { .pl-how { grid-template-columns: 1fr 1fr; } }

/* assistente */
.pl-wiz-head { margin-bottom: 1.2rem; }
.pl-wiz-head h1 { font-size: 1.9rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; margin: .4rem 0 .2rem; }
.pl-wiz-head p { color: #5a6b82; margin: 0; }
.pl-steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.pl-steps li { display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem; border-radius: var(--r-lg); background: #fff; border: 1px solid #dae3f0; color: #6b7a90; font-weight: 700; font-size: .88rem; cursor: pointer; }
.pl-steps li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--brand); font-size: .8rem; flex: none; }
.pl-steps li.active { border-color: var(--brand); color: var(--brand); box-shadow: 0 4px 6px rgba(11,42,74,0.06); }
.pl-steps li.active span { background: var(--brand); color: var(--gold); }
.pl-steps li.done span { background: var(--ok); color: #fff; }
@media (max-width: 575.98px) { .pl-steps li { font-size: 0; justify-content: center; padding: .55rem; } .pl-steps li span { font-size: .8rem; } }
.pl-card { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.6rem; box-shadow: 0 4px 10px rgba(16,42,74,0.03); }
.pl-step { display: none; } .pl-step.active { display: block; animation: pl-in .25s ease; }
@keyframes pl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pl-step h2 { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin-bottom: .9rem; }
.pl-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pl-choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767.98px) { .pl-choice-grid, .pl-choice-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
.pl-choice { margin: 0; cursor: pointer; }
.pl-choice input, .pl-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pl-choice > span { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: .85rem; border: 1.5px solid #dae3f0; border-radius: var(--r-lg); transition: all .15s; }
.pl-choice > span i { font-size: 1.3rem; color: var(--brand-2); }
.pl-choice > span b { color: var(--brand); font-size: .92rem; line-height: 1.2; }
.pl-choice > span small { color: #6b7a90; font-size: .76rem; line-height: 1.3; }
.pl-choice:hover > span { border-color: var(--brand-3); }
.pl-choice input:checked + span { border-color: var(--brand); background: linear-gradient(180deg, #f3f7fd, #fff); box-shadow: 0 0 0 3px rgba(22,80,160,.12); }
.pl-choice input:checked + span i { color: var(--gold-dark); }
.pl-choice input:focus-visible + span, .pl-seg input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.pl-seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.pl-seg label { margin: 0; cursor: pointer; flex: 1 1 140px; }
.pl-seg span { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .6rem .8rem; border: 1.5px solid #dae3f0; border-radius: var(--r-lg); font-weight: 700; color: #34465f; font-size: .9rem; text-align: center; }
.pl-seg span small { color: #8a97aa; font-weight: 600; }
.pl-seg input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.pl-seg input:checked + span small { color: var(--gold-2); }
.pl-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
@media (max-width: 767.98px) { .pl-days { grid-template-columns: repeat(2, 1fr); } }
.pl-day { background: var(--mint); border: 1.5px solid transparent; border-radius: var(--r-lg); padding: .7rem; text-align: center; }
.pl-day b { display: block; color: var(--brand); font-size: .85rem; margin-bottom: .4rem; }
.pl-day select { font-weight: 700; text-align: center; }
.pl-day.off { background: #f5f7fa; } .pl-day.off b { color: #9aa6b8; }
.pl-total { display: inline-flex; align-items: center; gap: .4rem; background: var(--gold-soft); color: #5c4600; border-radius: var(--r); padding: .4rem .9rem; font-weight: 600; }
.pl-total span { font-weight: 800; }
.pl-disc-list { display: flex; flex-direction: column; gap: .5rem; }
.pl-disc { display: flex; align-items: center; gap: .9rem; padding: .75rem .9rem; border: 1.5px solid #e6ecf4; border-left: 5px solid #cfd8e5; border-radius: var(--r-lg); transition: all .15s; opacity: .65; }
.pl-disc.on { opacity: 1; border-left-color: var(--c); background: #fff; box-shadow: 0 4px 5px rgba(16,42,74,0.03); }
.pl-disc-info { flex: 1; min-width: 0; }
.pl-disc-info b { color: var(--brand); display: block; }
.pl-disc-info small { color: #6b7a90; font-size: .78rem; }
.pl-tag { display: inline-block; margin-top: .2rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: var(--r); padding: .1rem .5rem; }
.pl-tag.weak { background: #fdecec; color: #b42318; } .pl-tag.strong { background: #e5f4ec; color: #237249; }
.pl-disc-toggle { position: relative; margin: 0; cursor: pointer; flex: none; }
.pl-disc-toggle input { position: absolute; opacity: 0; }
.pl-disc-toggle span { display: block; width: 40px; height: 22px; border-radius: 99px; background: #cfd8e5; position: relative; transition: background .15s; }
.pl-disc-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pl-disc-toggle input:checked + span { background: var(--ok); }
.pl-disc-toggle input:checked + span::after { transform: translateX(18px); }
.pl-disc-toggle input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.pl-weight { display: flex; gap: 3px; flex: none; }
.pl-weight button { width: 14px; height: 22px; border-radius: var(--r); border: 0; background: #e3e9f2; padding: 0; cursor: pointer; }
.pl-weight button.on { background: var(--c, var(--brand-2)); }
.pl-disc:not(.on) .pl-weight button.on { background: #b9c4d4; }
.pl-switch { display: flex; align-items: flex-start; gap: .8rem; cursor: pointer; background: var(--mint); border-radius: var(--r-lg); padding: .9rem 1rem; margin: 0; }
.pl-switch input { position: absolute; opacity: 0; }
.pl-switch > span { width: 40px; height: 22px; border-radius: 99px; background: #cfd8e5; position: relative; flex: none; margin-top: .15rem; }
.pl-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.pl-switch input:checked + span { background: var(--ok); } .pl-switch input:checked + span::after { transform: translateX(18px); }
.pl-switch b { display: block; color: var(--brand); } .pl-switch small { color: #5a6b82; }
.pl-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pl-summary > div { background: linear-gradient(135deg, #0b2a4a, #14467f); color: #fff; border-radius: var(--r-lg); padding: .9rem; text-align: center; }
.pl-summary b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.pl-summary small { color: rgba(255,255,255,.75); font-size: .78rem; }
@media (max-width: 575.98px) { .pl-summary { grid-template-columns: 1fr 1fr; } }
.pl-nav { display: flex; gap: .5rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid #e6ecf4; }

/* painel */
.pl-dash-hero { background: radial-gradient(800px 420px at 90% -10%, rgba(74,124,201,.45), transparent 60%), linear-gradient(120deg, #081d33, #0d3159 60%, #14467f); color: #fff; padding: 2rem 0 2.2rem; margin-top: -1.5rem; }
.pl-dash-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: .3rem 0 .4rem; }
.pl-dash-sub { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: rgba(255,255,255,.7); font-size: .88rem; align-items: center; }
.pl-phase-pill { background: rgba(245,183,0,.16); color: var(--gold-2); border: 1px solid rgba(245,183,0,.35); border-radius: var(--r); padding: .15rem .65rem; font-weight: 700; }
.pl-dash-actions .btn-outline-light { border-color: rgba(255,255,255,.3); }
.pl-kpis { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1fr 1fr; gap: .8rem; margin-top: 1.6rem; }
@media (max-width: 991.98px) { .pl-kpis { grid-template-columns: 1fr 1fr; } .pl-kpi.ring { grid-column: span 2; } }
.pl-kpi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: .9rem 1rem; }
.pl-kpi b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.pl-kpi b small { font-size: .85rem; color: rgba(255,255,255,.6); font-weight: 600; }
.pl-kpi span { color: rgba(255,255,255,.72); font-size: .8rem; }
.pl-kpi span i { color: #ff8a3d; }
.pl-kpi.big { background: var(--gold); border-color: var(--gold); color: var(--brand); }
.pl-kpi.big b { font-size: 2.2rem; } .pl-kpi.big span { color: rgba(11,42,74,.8); font-weight: 700; }
.pl-kpi.ring { display: flex; align-items: center; gap: .9rem; }
.pl-kpi.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); flex: none; }
.pl-kpi.ring span { display: block; line-height: 1.3; }
.pl-kpi svg .bg, .pl-mock-ring svg .bg { fill: none; stroke: rgba(148,163,184,.3); stroke-width: 3.6; }
.pl-kpi svg .fg, .pl-mock-ring svg .fg { fill: none; stroke: var(--gold); stroke-width: 3.6; stroke-linecap: round; }
.pl-mock-ring svg .fg { stroke: var(--ok); }
.pl-dash { padding-top: 1.6rem; }
.pl-late { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: #fff7e6; border: 1px solid #f3dd8c; border-radius: var(--r-lg); padding: .85rem 1rem; margin-bottom: 1.2rem; color: #5c4600; }
.pl-late > i { font-size: 1.4rem; color: var(--gold-dark); }
.pl-late > div { flex: 1; min-width: 220px; }
.pl-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .4rem; margin-bottom: 1.2rem; padding-bottom: .2rem; scrollbar-width: none; }
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tabs button { white-space: nowrap; border: 1px solid #dae3f0; background: #fff; color: #34465f; font-weight: 700; padding: .55rem 1rem; border-radius: var(--r); font-size: .9rem; }
.pl-tabs button:hover { border-color: var(--brand-3); color: var(--brand); }
.pl-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 6px rgba(11,42,74,0.11); }
.pl-tabs button.active i { color: var(--gold); }
.pl-panel { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1.2rem 1.3rem; height: 100%; }
.pl-panel-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.pl-panel-h h2 { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin: 0; }
.pl-panel-h h2 small { display: block; font-size: .8rem; color: #6b7a90; font-weight: 600; margin-top: .1rem; }
.pl-chip { background: var(--mint); color: var(--brand); font-weight: 700; font-size: .8rem; border-radius: var(--r); padding: .25rem .7rem; }
.pl-today { display: flex; flex-direction: column; gap: .7rem; }
.pl-block { display: flex; gap: .9rem; padding: .9rem; border: 1px solid #e6ecf4; border-left: 5px solid var(--c); border-radius: var(--r-lg); transition: all .15s; }
.pl-block:hover { box-shadow: 0 4px 8px rgba(16,42,74,0.04); }
.pl-block.done { background: #f6fbf8; border-color: #d4eadd; border-left-color: var(--ok); }
.pl-block.done .pl-block-title, .pl-block.done .pl-block-topic { color: #6b8a78; }
.pl-block-time { width: 3.4rem; flex: none; text-align: center; }
.pl-block-time b { display: block; color: var(--brand); font-size: 1rem; }
.pl-block-time small { color: #8a97aa; font-size: .75rem; }
.pl-block-body { flex: 1; min-width: 0; }
.pl-block-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.pl-kind { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r); padding: .15rem .55rem; }
.pl-kind.k-teoria { background: #e8f0fd; color: var(--brand-2); }
.pl-kind.k-questoes { background: #e5f4ec; color: #237249; }
.pl-kind.k-revisao { background: #fdf0e3; color: #b45309; }
.pl-kind.k-simulado { background: var(--gold-soft); color: var(--gold-dark); }
.pl-block-title { display: block; color: var(--brand); font-size: 1.02rem; }
.pl-block-topic { color: #34465f; font-weight: 600; font-size: .9rem; }
.pl-block-hint { color: #6b7a90; font-size: .82rem; margin-top: .2rem; }
.pl-auto { color: var(--ok); font-weight: 700; }
.pl-block-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.pl-dist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.pl-dist li { font-size: .88rem; }
.pl-dist .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: .45rem; }
.pl-dist small { color: #6b7a90; }
.pl-dist .bar { position: relative; height: 8px; border-radius: var(--r-sm); background: #eef2f8; margin-top: .3rem; overflow: hidden; }
.pl-dist .bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--r-sm); }
.pl-dist .bar .plan { background: color-mix(in srgb, var(--c) 25%, #fff); }
.pl-dist .bar .done { background: var(--c); }
.pl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 991.98px) { .pl-week { grid-template-columns: repeat(7, 150px); overflow-x: auto; padding-bottom: .4rem; } }
.pl-wday { background: #f7f9fd; border: 1px solid #e6ecf4; border-radius: var(--r-lg); padding: .5rem; min-height: 140px; display: flex; flex-direction: column; gap: .35rem; }
.pl-wday.is-today { background: #fffbeb; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245,183,0,.25); }
.pl-wday-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 .2rem .2rem; }
.pl-wday-h span { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: #6b7a90; letter-spacing: .05em; }
.pl-wday-h b { color: var(--brand); }
.pl-wday.is-today .pl-wday-h b { background: var(--gold); border-radius: var(--r); padding: 0 .45rem; }
.pl-wblock { display: flex; gap: .4rem; align-items: flex-start; background: #fff; border-radius: var(--r); padding: .4rem .45rem; border-left: 3px solid var(--c); font-size: .75rem; line-height: 1.25; box-shadow: 0 1px 3px rgba(16,42,74,.06); }
.pl-wblock i { color: var(--c); margin-top: .05rem; }
.pl-wblock b { display: block; color: var(--brand); font-size: .76rem; }
.pl-wblock small { color: #8a97aa; font-size: .68rem; }
.pl-wblock.done { opacity: .6; } .pl-wblock.done i { color: var(--ok); }
.pl-wblock.late { background: #fff4f4; }
.pl-wfree { margin: auto; color: #9aa6b8; font-size: .8rem; }
.pl-syl { background: #fff; border: 1px solid #dae3f0; border-top: 4px solid var(--c); border-radius: var(--r-lg); padding: 1rem 1.1rem; height: 100%; }
.pl-syl-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .6rem; }
.pl-syl-h b { color: var(--brand); display: block; } .pl-syl-h small { color: var(--c); letter-spacing: .1em; }
.pl-syl-pct { text-align: right; min-width: 80px; }
.pl-syl-pct b { font-size: 1.1rem; }
.pl-syl-pct .bar { height: 6px; background: #eef2f8; border-radius: var(--r-sm); overflow: hidden; margin-top: .2rem; }
.pl-syl-pct .bar span { display: block; height: 100%; background: var(--c); border-radius: var(--r-sm); }
.pl-syl ol { margin: 0; padding-left: 1.3rem; }
.pl-syl li { padding: .3rem 0; border-bottom: 1px dashed #edf1f7; font-size: .88rem; }
.pl-syl li:last-child { border-bottom: 0; }
.pl-syl li > span.nm { color: #34465f; }
.pl-syl li > span.st { float: right; margin-left: .5rem; display: inline-flex; gap: .3rem; }
.pl-syl li > span.st small { color: #6b7a90; font-weight: 600; }
.pl-syl li.ok > span.nm { color: #237249; font-weight: 600; }
.pl-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 767.98px) { .pl-phases { grid-template-columns: 1fr; } }
.pl-phase { display: flex; gap: .8rem; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem; }
.pl-phase .n { width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--brand); font-weight: 800; }
.pl-phase b { color: var(--brand); display: block; } .pl-phase small { color: #6b7a90; font-weight: 600; } .pl-phase p { margin: .35rem 0 0; font-size: .88rem; color: #34465f; }
.pl-phase.is-now { border-color: var(--gold); background: linear-gradient(180deg, #fffbeb, #fff); box-shadow: 0 4px 8px rgba(245,183,0,0.09); }
.pl-phase.is-now .n { background: var(--gold); }
.pl-phase.is-past { opacity: .6; } .pl-phase.is-past .n { background: var(--ok); color: #fff; }
.pl-tip { display: flex; gap: .8rem; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem; }
.pl-tip .ic { width: 40px; height: 40px; border-radius: var(--r-lg); flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: var(--gold); font-size: 1.1rem; }
.pl-tip b { color: var(--brand); display: block; } .pl-tip p { margin: .2rem 0 0; font-size: .9rem; color: #34465f; }
.pl-routine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 991.98px) { .pl-routine { grid-template-columns: repeat(7, 150px); overflow-x: auto; padding-bottom: .4rem; } }
.pl-rday { background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: .6rem; }
.pl-rday.off { background: #f7f9fd; }
.pl-rday-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.pl-rday-h b { color: var(--brand); font-size: .88rem; } .pl-rday-h small { color: #6b7a90; font-weight: 700; font-size: .74rem; }
.pl-rslot { font-size: .76rem; background: var(--mint); color: var(--brand); border-radius: var(--r); padding: .3rem .45rem; margin-bottom: .3rem; font-weight: 600; }
.pl-rslot span { display: block; font-weight: 800; }
.pl-rslot.is-break { background: transparent; border: 1px dashed #cfd8e5; color: #8a97aa; font-weight: 500; }
.pl-rfree { color: #9aa6b8; font-size: .8rem; text-align: center; padding: 1rem 0; }
.pl-foot { text-align: right; margin-top: 1.5rem; }
/* impressão do plano */
/* ===== plano de estudos impresso / PDF: documento limpo, em ordem — semana, rotina, conteúdo, estratégia ===== */
.pl-print-head, .pl-print-title, .pl-print-only { display: none; }
/* troca entre os planos do aluno (até 3) — .pl-switch é o interruptor do formulário */
.pl-plans { display: flex; gap: .5rem; margin-bottom: 1.2rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pl-plans::-webkit-scrollbar { display: none; }
.pl-plans-item, .pl-plans-new { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; max-width: 270px; padding: .5rem .8rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.pl-plans-item:hover, .pl-plans-new:hover { background: rgba(255,255,255,.15); color: #fff; }
.pl-plans-item.is-on { background: #fff; border-color: #fff; color: var(--brand); cursor: default; box-shadow: 0 4px 6px rgba(0,0,0,0.11); }
.pl-plans-item > i, .pl-plans-new > i { font-size: 1.05rem; color: var(--gold); flex: none; }
.pl-plans-item.is-on > i { color: var(--gold-dark); }
.pl-plans-item span, .pl-plans-new span { min-width: 0; line-height: 1.15; }
.pl-plans-item b, .pl-plans-new b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-plans-item small, .pl-plans-new small { display: block; font-size: .7rem; opacity: .75; white-space: nowrap; }
.pl-plans-new { border-style: dashed; border-color: rgba(245,183,0,.6); }
@media (max-width: 575.98px) { .pl-plans-item, .pl-plans-new { max-width: 220px; padding: .45rem .65rem; } }
@media print {
  @page { size: A4; margin: 12mm 11mm 14mm; }
  html, body, .adm-body { background: #fff !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 10.5pt; }
  .site-header, .site-footer, .bottom-nav, .adm-side, .adm-top, .adm-backdrop, .app-foot, .promo-bar, .exit-pop, .cookie-banner, .plan-bar, .alert,
  .pl-plans, .pl-dash-actions, .pl-tabs, .pl-late, .pl-foot, .pl-block-actions, .pl-today-row, .pl-week-panel .pl-panel-h .d-flex, .pl-tip .ic { display: none !important; }
  .adm-main, .adm-collapsed .adm-main { margin: 0 !important; }
  main { padding: 0 !important; }
  .container, .pl-dash { max-width: none !important; padding: 0 !important; }
  .pl-print-only { display: inline !important; }
  .pl-print-head { display: flex !important; align-items: center; justify-content: space-between; border-bottom: 2px solid #0b2a4a; padding-bottom: 6px; margin-bottom: 10px; }
  .pl-print-head img { height: 34px; }
  .pl-print-head b { display: block; text-align: right; font-size: 11pt; color: #0b2a4a; }
  .pl-print-head small { display: block; text-align: right; color: #555; font-size: 8.5pt; }
  .pl-dash-hero { background: #fff !important; color: #0b2a4a !important; padding: 0 0 6px !important; margin: 0 !important; }
  .pl-kicker { color: #8a6400 !important; }
  .pl-dash-title { color: #0b2a4a !important; font-size: 18pt !important; margin: 2px 0 4px !important; }
  .pl-dash-sub, .pl-dash-sub span { color: #333 !important; }
  .pl-phase-pill { background: #fff6dd !important; color: #8a6400 !important; border: 1px solid #f0d58a; }
  .pl-kpis { grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; margin-top: 10px !important; }
  .pl-kpi, .pl-kpi.big, .pl-kpi.ring { grid-column: auto !important; border: 1px solid #cfd8e6 !important; background: #f6f8fb !important; color: #0b2a4a !important; padding: 6px 8px !important; box-shadow: none !important; }
  .pl-kpi b { font-size: 14pt !important; color: #0b2a4a !important; }
  .pl-kpi span, .pl-kpi small { color: #444 !important; font-size: 8pt !important; }
  .pl-kpi.ring svg { width: 34px; height: 34px; }
  .pl-kpi.ring .bg { stroke: #dfe5ee !important; }
  .tab-content > .tab-pane { display: block !important; opacity: 1 !important; margin-top: 14px; }
  #tab-conteudo, #tab-estrategia { break-before: page; }
  .pl-print-title { display: block !important; font-size: 13pt; font-weight: 800; color: #0b2a4a; border-left: 4px solid #f5b700; padding-left: 8px; margin: 0 0 8px; break-after: avoid; }
  .pl-panel, .pl-syl, .pl-phase, .pl-tip, .pl-rday, .pl-wday { box-shadow: none !important; break-inside: avoid; }
  .pl-panel { border: 1px solid #cfd8e6 !important; padding: 8px !important; margin-top: 0 !important; }
  .pl-panel-h h2 { font-size: 11pt !important; }
  .pl-week, .pl-routine { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; overflow: visible !important; gap: 4px !important; padding: 0 !important; }
  .pl-wday, .pl-rday { min-width: 0 !important; border: 1px solid #dfe5ee !important; }
  .pl-wblock, .pl-rslot { font-size: 7.5pt !important; padding: 3px 4px !important; }
  .pl-wblock small, .pl-rslot span { font-size: 7pt !important; }
  .pl-wblock { display: block !important; margin-bottom: 3px !important; border-radius: var(--r) !important; }
  .pl-wblock > i { display: none !important; }
  .pl-wblock span, .pl-wblock b, .pl-wblock small { display: inline !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; hyphens: auto; }
  .pl-wblock b { font-size: 7.5pt !important; }
  .pl-wday { padding: 4px !important; }
  .pl-wday-h { margin-bottom: 3px !important; }
  .pl-wfree { padding: 6px 0 !important; }
  .pl-rslot.is-break { display: none !important; }
  .pl-rslot { margin-bottom: 3px !important; line-height: 1.25 !important; }
  .pl-rday { padding: 4px !important; }
  .pl-rday-h { flex-wrap: wrap; gap: 0 4px; }
  .pl-rday-h b, .pl-wday-h { font-size: 8.5pt !important; }
  #tab-conteudo .row > [class*=col-] { width: 50% !important; flex: 0 0 50% !important; }
  .pl-syl { padding: 6px 8px !important; font-size: 8.5pt; height: auto !important; }
  #tab-conteudo .row > [class*=col-] { break-inside: avoid; }
  .pl-syl ol { margin-bottom: 0; }
  .pl-phases { grid-template-columns: repeat(3, 1fr) !important; }
  #tab-estrategia .row > [class*=col-], #tab-rotina .row > [class*=col-] { width: 50% !important; flex: 0 0 50% !important; }
  #tab-rotina .row { display: none !important; }
  .pl-tip p, .pl-phase p { font-size: 8.5pt; margin-bottom: 0; }
  a { color: inherit !important; text-decoration: none !important; }
}
}
.sh-new { display: inline-block; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--gold); color: var(--brand); border-radius: var(--r); padding: .05rem .4rem; vertical-align: 2px; margin-left: .25rem; }
.pl-rslot.is-sim { background: var(--gold-soft); color: var(--gold-dark); }
@media (max-width: 575.98px) {
  .pl-kpis { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .pl-kpi.big, .pl-kpi.ring { grid-column: span 3; }
  .pl-kpi.big { display: flex; align-items: baseline; gap: .6rem; }
  .pl-kpi { padding: .7rem .75rem; }
  .pl-kpi:not(.big):not(.ring) b { font-size: 1.15rem; }
  .pl-kpi:not(.big):not(.ring) span { font-size: .7rem; line-height: 1.25; display: block; }
  .pl-dash-actions .btn { font-size: .78rem; }
}
.pl-premium-tag { display: inline-flex; align-items: center; gap: .25rem; margin-left: .5rem; background: rgba(245,183,0,.16); border: 1px solid rgba(245,183,0,.45); color: var(--gold-2); border-radius: var(--r); padding: .1rem .55rem; letter-spacing: .04em; }
.pl-locked-note { display: flex; gap: .5rem; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg); padding: .7rem .9rem; color: #fff; font-size: .92rem; margin-top: 1rem; }
.pl-locked-note i { color: var(--gold); }
.pl-locked-sub { color: rgba(255,255,255,.75); font-size: .9rem; }
.pl-locked-sub i { color: var(--gold); }
.h-plan-features li.is-star { background: var(--gold-soft); border-radius: var(--r); padding: .35rem .5rem; margin-inline: -.5rem; }
.h-plan-features li.is-star i { color: var(--gold-dark); }

/* home: seção do plano de estudos (Premium) */
.h-planner { padding: 4.5rem 0 5rem; color: #fff; background: radial-gradient(900px 480px at 90% 0%, rgba(74,124,201,.45), transparent 60%), linear-gradient(120deg, #081d33, #0d3159 60%, #14467f); position: relative; overflow: hidden; }
.h-planner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.h-planner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: .7rem 0 .8rem; }
.h-planner h2 span { color: var(--gold); }
.h-planner .lead-txt { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; }
.h-planner-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; }
@media (max-width: 575.98px) { .h-planner-list { grid-template-columns: 1fr; } }
.h-planner-list li { display: flex; gap: .7rem; align-items: flex-start; }
.h-planner-list i { width: 36px; height: 36px; border-radius: var(--r-lg); flex: none; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,183,0,.15); color: var(--gold); font-size: 1.05rem; }
.h-planner-list b { display: block; font-size: .95rem; }
.h-planner-list span { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.4; }
.h-planner-days { margin-top: .8rem; text-align: right; color: #6b7a90; font-size: .85rem; font-weight: 600; }
.h-planner-days span { color: var(--brand); font-weight: 800; font-size: 1.1rem; }
@media (max-width: 575.98px) {
  .h-planner .pl-mock-ring { position: static; margin-top: .8rem; box-shadow: none; border: 1px solid #e6ecf4; display: inline-flex; }
  .h-planner .pl-kicker { flex-wrap: wrap; row-gap: .4rem; }
}

/* ===== home e planos no celular: cartões compactos ===== */
.plans-swipe { text-align: center; color: #7a879a; font-size: .8rem; margin: .4rem 0 0; }
@media (max-width: 767.98px) {
  .plans-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start !important; padding-top: 1rem; padding-bottom: .4rem; margin-inline: -1rem; padding-inline: 1rem; scrollbar-width: none; }
  .plans-row::-webkit-scrollbar { display: none; }
  .plans-row > [class*="col"] { flex: 0 0 84%; max-width: 84%; scroll-snap-align: center; }
}
@media (max-width: 575.98px) {
  .h-section { padding: 2.4rem 0; }
  .h-head { margin-bottom: 1.2rem; }
  .h-head h2 { font-size: 1.45rem; }
  .h-head p { font-size: .9rem; }
  /* provas por carreira */
  .h-career { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .55rem; row-gap: .4rem; padding: .7rem .75rem; border-radius: var(--r-lg); }
  .h-career .ic { width: 2rem; height: 2rem; font-size: 1rem; margin: 0; border-radius: var(--r); }
  .h-career strong { font-size: .84rem; line-height: 1.2; }
  .h-career small { display: none; }
  .h-career .count { grid-column: 1 / -1; margin: 0; font-size: .68rem; padding: .12rem .5rem; }
  /* tudo o que você precisa */
  .h-feature { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem .9rem; border-radius: var(--r-lg); }
  .h-feature i { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; border-radius: var(--r-lg); flex: none; }
  .h-feature h3 { font-size: .95rem; margin: .05rem 0 .15rem; }
  .h-feature p { font-size: .82rem; line-height: 1.45; }
  /* como funciona */
  .h-steps { --bs-gutter-y: .7rem; }
  .h-step { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem .9rem; border-radius: var(--r-lg); }
  .h-step .n { width: 2.1rem; height: 2.1rem; font-size: .95rem; margin: 0; flex: none; box-shadow: 0 0 0 4px var(--gold-soft); }
  .h-step h3 { font-size: .95rem; margin-bottom: .15rem; }
  .h-step p { font-size: .82rem; line-height: 1.45; }
  /* planos */
  .h-plan-head { padding: 1.15rem 1rem .8rem; }
  .h-plan-price .amount { font-size: 1.8rem; }
  .h-plan-body { padding: .9rem 1rem; }
  .h-plan-desc { font-size: .82rem; margin-bottom: .7rem; }
  .h-plan-features { font-size: .82rem; gap: .35rem; }
  .h-plan-foot { padding: 0 1rem 1rem; }
  /* plano de estudos */
  .h-planner { padding: 2.6rem 0 3rem; }
  .h-planner h2 { font-size: 1.55rem; }
  .h-planner .lead-txt { font-size: .93rem; }
  .h-planner-list { grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
  .h-planner-list li { align-items: center; gap: .5rem; }
  .h-planner-list i { width: 30px; height: 30px; font-size: .9rem; border-radius: var(--r); }
  .h-planner-list b { font-size: .82rem; line-height: 1.2; }
  .h-planner-list span { display: none; }
  .h-planner .pl-mock { padding: 1rem; }
  .h-planner .pl-mock-item:nth-child(4) { display: none; }
  .h-planner .pl-mock-item { padding: .55rem .65rem; }
  .h-planner .pl-mock-item small { font-size: .72rem; }
  /* faixa de colaboração */
  .h-band { padding: 1.3rem; }
}
@media (max-width: 575.98px) {
  /* ícone/número à esquerda; título e texto empilhados à direita */
  .h-feature, .h-step { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; row-gap: .1rem; align-items: start; }
  .h-feature i, .h-step .n { grid-row: span 2; }
  .h-feature h3, .h-step h3 { margin: .1rem 0 0; }
}
@media (max-width: 575.98px) {
  /* topo da home no celular */
  .h-title { font-size: 2rem; }
  .h-lead { font-size: .93rem; }
  .h-ctas .btn-lg { font-size: 1rem; padding: .65rem 1rem; }
  .h-trust { gap: .3rem .9rem; }
  .h-trust li { font-size: .8rem; }
  .h-mock { padding: 1rem; }
  .h-mock-q { font-size: .9rem; line-height: 1.45; }
  .h-mock-alts .alt-pill { padding: .4rem .7rem; font-size: .88rem; }
  .h-mock-exp { font-size: .8rem; padding: .7rem .8rem; }
  .h-mock-float { display: none; }
}
@media (max-width: 575.98px) { .h-hero { padding: 2rem 0 2.2rem; } .h-title { margin-bottom: .7rem; } .h-lead { margin-bottom: 1.1rem; } }

/* ===== divulgação: barra do topo, aviso de saída e cupom nos planos ===== */
.promo-bar { position: relative; z-index: 1031; display: flex; align-items: center; justify-content: center; gap: .5rem .8rem; flex-wrap: wrap;
  padding: .5rem 2.6rem; background: linear-gradient(90deg, #d99a00, var(--gold), var(--gold-2), var(--gold), #d99a00); color: var(--brand); font-size: .88rem; font-weight: 700; text-align: center; }
.promo-bar a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-bar a:hover { color: #000; }
.promo-x { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 0; background: rgba(11,42,74,.12); color: var(--brand); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }
.promo-x:hover { background: rgba(11,42,74,.22); }
@media (max-width: 575.98px) { .promo-bar { font-size: .78rem; padding: .45rem 2.4rem .45rem .8rem; justify-content: flex-start; text-align: left; } }

.exit-pop { position: fixed; inset: 0; z-index: 1080; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(4,14,28,.72); backdrop-filter: blur(4px); animation: exit-fade .2s ease; }
.exit-pop[hidden] { display: none; }
body.exit-open { overflow: hidden; }
@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }
.exit-card { position: relative; width: min(480px, 100%); background: radial-gradient(420px 260px at 50% 0%, rgba(245,183,0,.16), transparent 70%), linear-gradient(180deg, #0d2a4a, #081d33);
  color: #fff; border-radius: var(--r-lg); padding: 2rem 1.6rem 1.4rem; text-align: center; border-top: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,.08); animation: exit-up .25s ease; }
@keyframes exit-up { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.exit-x { position: absolute; top: .8rem; right: .8rem; border: 0; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); width: 32px; height: 32px; border-radius: 50%; }
.exit-x:hover { background: rgba(255,255,255,.16); color: #fff; }
.exit-ic { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,183,0,.14); border: 1px solid rgba(245,183,0,.45); color: var(--gold); font-size: 1.8rem; margin-bottom: .9rem; }
.exit-card h2 { font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .6rem; }
.exit-card > p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0 0 1.1rem; }
.exit-card > p b { color: var(--gold-2); }
.exit-plans { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.1rem; }
.exit-plan { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; text-align: left; transition: border-color .15s, background .15s; }
.exit-plan:hover { border-color: var(--gold); background: rgba(245,183,0,.08); color: #fff; }
.exit-plan.is-top { border-color: rgba(245,183,0,.55); }
.exit-plan .nm { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .9rem; }
.exit-plan .nm small { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--gold-2); font-size: .72rem; }
.exit-plan .pr { white-space: nowrap; }
.exit-plan .pr s { color: rgba(255,255,255,.45); font-size: .85rem; margin-right: .35rem; }
.exit-plan .pr b { font-size: 1.05rem; }
.exit-go { display: block; width: 100%; padding: .85rem; border-radius: var(--r-lg); font-weight: 800; font-size: 1rem; box-shadow: 0 4px 9px rgba(245,183,0,0.17); }
.exit-no { display: block; width: 100%; margin-top: .55rem; padding: .7rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); font-weight: 600; font-size: .9rem; }
.exit-no:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 575.98px) { .exit-card { padding: 1.6rem 1.1rem 1.1rem; } .exit-card h2 { font-size: 1.2rem; } }

.coupon-box { display: flex; justify-content: center; }
.coupon-form { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px dashed var(--mint-2); border-radius: var(--r); padding: .3rem .35rem .3rem 1rem; width: min(420px, 100%); }
.coupon-form i { color: var(--gold-dark); font-size: 1.1rem; }
.coupon-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-weight: 700; letter-spacing: .04em; background: transparent; }
.coupon-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.coupon-form .btn { border-radius: var(--r); }
.coupon-on { background: var(--gold-soft); border: 1px solid #f3dd8c; color: #5c4600; border-radius: var(--r); padding: .5rem 1.1rem; font-size: .92rem; }
.coupon-on i { color: var(--gold-dark); }
.h-plan-old { font-size: .82rem; color: #8a97aa; margin-bottom: .1rem; }
.h-plan-off { display: inline-block; background: var(--gold-soft); color: var(--gold-dark); font-weight: 800; border-radius: var(--r); padding: .05rem .5rem; margin-left: .25rem; font-size: .72rem; }

/* ===== home: hero escuro, faixa de carreiras, cartões com imagem e redes ===== */
.hx-hero { margin-top: -1.5rem; padding: 4.2rem 0 2.4rem; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(760px 420px at 85% 15%, rgba(74,124,201,.4), transparent 60%), radial-gradient(500px 320px at 10% 100%, rgba(245,183,0,.12), transparent 70%), linear-gradient(120deg, #06172b 0%, #0b2a4a 55%, #10396a 100%); }
.hx-hero .container { position: relative; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(245,183,0,.4); background: rgba(245,183,0,.1); color: var(--gold-2); border-radius: var(--r); padding: .3rem .8rem; font-size: .8rem; font-weight: 700; }
.hx-title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.035em; margin: 1rem 0 1rem; }
.hx-title span { color: var(--gold); position: relative; white-space: nowrap; }

.hx-lead { color: rgba(255,255,255,.78); font-size: 1.1rem; line-height: 1.65; max-width: 620px; margin-bottom: 1.6rem; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.hx-ctas .btn { border-radius: var(--r); padding-inline: 1.4rem; font-weight: 700; }
.hx-ctas .btn-outline-light { border-color: rgba(255,255,255,.35); }
.hx-stats { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2rem; }
.hx-stats b { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hx-stats span { color: rgba(255,255,255,.6); font-size: .82rem; }
.hx-hero .h-mock { color: var(--bs-body-color); }
.hx-search { margin-top: 2.4rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.hx-strip { background: #06172b; border-top: 1px solid rgba(255,255,255,.06); }
.hx-strip .container { display: flex; align-items: center; gap: .5rem; overflow-x: auto; padding-top: .9rem; padding-bottom: .9rem; scrollbar-width: none; }
.hx-strip .container::-webkit-scrollbar { display: none; }
.hx-strip span { flex: none; color: rgba(255,255,255,.45); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-right: .4rem; }
.hx-strip a { flex: none; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: .4rem .95rem; font-weight: 700; font-size: .85rem; transition: all .15s; }
.hx-strip a:hover { border-color: var(--gold); background: rgba(245,183,0,.1); color: var(--gold-2); }
/* computador: os itens quebram em linhas, centralizados e todos visíveis (antes ficavam cortados nas pontas, sem como rolar) */
@media (min-width: 992px) { .hx-strip .container { flex-wrap: wrap; justify-content: center; overflow: visible; row-gap: .5rem; } }

.hc-group { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin: 1.6rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid #dae3f0; }
.hc-group:first-of-type { margin-top: 0; }
.hc-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--bs-body-color); transition: transform .15s, box-shadow .15s; }
.hc-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(11,42,74,0.09); color: var(--bs-body-color); }
.hc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 75% 25%, color-mix(in srgb, var(--cc) 70%, #fff 0%), transparent 55%), linear-gradient(135deg, var(--cc), #06172b 85%); }
.hc-media::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.hc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,14,28,.85)); }
.hc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hc-card:hover .hc-media img, .hc-card:hover .hc-art { transform: scale(1.06); }
.hc-art { position: relative; font-size: 4.4rem; color: rgba(255,255,255,.22); transform-origin: center; transition: transform .4s; margin-bottom: 1rem; }
.hc-badge { position: absolute; z-index: 2; top: .7rem; left: .7rem; background: var(--gold); color: var(--brand); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r); padding: .25rem .6rem; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.hc-acr { position: absolute; z-index: 2; left: .9rem; bottom: .55rem; color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 3px 14px rgba(0,0,0,.45); }
.hc-body { display: flex; flex-direction: column; gap: .3rem; padding: .95rem 1rem 1rem; flex: 1; }
.hc-body strong { color: var(--brand); font-size: 1rem; line-height: 1.25; }
.hc-body small { color: #5a6b82; font-size: .8rem; line-height: 1.35; flex: 1; }
.hc-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: #237249; margin-top: .2rem; }
.hc-status i { width: 8px; height: 8px; border-radius: 50%; background: #2e8b57; box-shadow: 0 0 0 3px rgba(46,139,87,.18); }
.hc-status.soon { color: #8a97aa; } .hc-status.soon i { background: #b6c1d1; box-shadow: none; }
.hc-go { margin-top: .6rem; display: flex; align-items: center; justify-content: center; gap: .35rem; background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: .6rem; font-weight: 700; font-size: .9rem; transition: background .15s; }
.hc-card:hover .hc-go { background: var(--brand-2); }
.hc-go i { color: var(--gold); }

.hs-social { padding: 4.5rem 0; background: linear-gradient(180deg, #06172b, #0b2a4a); color: #fff; }
.hs-social .h-head h2 { color: #fff; } .hs-social .h-head p { color: rgba(255,255,255,.7); } .hs-social .h-kicker { color: var(--gold); }
.hs-profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hs-profile { display: flex; align-items: center; gap: .8rem; min-width: 240px; padding: .8rem 1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: all .15s; }
.hs-profile:hover { border-color: var(--gold); background: rgba(245,183,0,.08); color: #fff; transform: translateY(-2px); }
.hs-profile b { display: block; } .hs-profile small { color: rgba(255,255,255,.6); }
.hs-profile > i { margin-left: auto; color: rgba(255,255,255,.5); }
.hs-ig { width: 44px; height: 44px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); flex: none; }
.hs-profile.is-youtube .hs-ig { background: #ff0033; } .hs-profile.is-tiktok .hs-ig { background: #111; } .hs-profile.is-facebook .hs-ig { background: #1877f2; }
.hs-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; max-width: 1000px; margin-inline: auto; }
.hs-post { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.hs-post iframe { display: block; width: 100%; height: 560px; border: 0; }
.hs-post-load { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; width: 100%; min-height: 220px; border: 0;
  background: #fff; color: var(--brand); padding: 1.2rem; text-align: center; }
.hs-post-load .bi { font-size: 2rem; color: #c13584; }
.hs-post-load small { color: #4a5b70; max-width: 260px; line-height: 1.3; }
.hs-post-out { display: block; text-align: center; font-size: .82rem; padding: .45rem; border-top: 1px solid var(--mint-2); text-decoration: none; }
.hs-post.is-on .hs-post-out { display: none; }
.footer-social { display: flex; justify-content: center; gap: .6rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--brand); font-size: 1.05rem; text-decoration: none; }
.footer-social a:hover { background: var(--brand); color: var(--gold); }

@media (max-width: 575.98px) {
  .hx-hero { padding: 2.4rem 0 1.8rem; }
  .hx-title { font-size: 2.15rem; margin: .8rem 0 .7rem; }
  .hx-lead { font-size: .93rem; margin-bottom: 1.2rem; }
  .hx-ctas .btn-lg { font-size: .98rem; padding: .6rem 1.1rem; }
  .hx-stats { gap: .9rem 1.4rem; margin-top: 1.4rem; }
  .hx-stats b { font-size: 1.4rem; }
  .hx-stats span { font-size: .72rem; }
  .hx-search { margin-top: 1.5rem; }
  .hx-strip a { font-size: .78rem; padding: .32rem .75rem; }
  .hc-card { border-radius: var(--r-lg); }
  .hc-media { aspect-ratio: 16 / 11; }
  .hc-art { font-size: 2.8rem; margin-bottom: .6rem; }
  .hc-acr { font-size: 1.3rem; left: .65rem; bottom: .4rem; }
  .hc-badge { font-size: .56rem; top: .45rem; left: .45rem; padding: .18rem .45rem; }
  .hc-body { padding: .6rem .7rem .7rem; gap: .2rem; }
  .hc-body strong { font-size: .84rem; }
  .hc-body small { display: none; }
  .hc-status { font-size: .7rem; }
  .hc-go { margin-top: .35rem; padding: .4rem; font-size: .78rem; border-radius: var(--r); }
  .hs-social { padding: 2.6rem 0; }
  .hs-profile { min-width: 0; width: 100%; }
  .hs-posts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; margin: 1.4rem -12px 0; padding: 0 12px .5rem; scroll-padding-inline: 12px; scrollbar-width: none; }
  .hs-posts::-webkit-scrollbar { display: none; }
  .hs-post { flex: 0 0 86%; scroll-snap-align: center; }
  .hs-post:only-child { flex-basis: 100%; }
  .hs-post iframe { height: 500px; }
  .hs-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .6rem; }
  .hs-dots span { width: .45rem; height: .45rem; border-radius: 50%; background: rgba(255,255,255,.3); transition: .2s; }
  .hs-dots span.on { background: var(--gold, #f5b301); width: 1.2rem; border-radius: .3rem; }
}
@media (min-width: 768px) { .hs-dots { display: none; } }
@media (max-width: 575.98px) {
  .promo-bar { flex-wrap: nowrap; gap: .5rem; padding: .45rem 2.3rem .45rem .8rem; }
  .promo-bar > i { display: none; }
  .promo-bar span { flex: 1; min-width: 0; line-height: 1.25; }
  .promo-bar a { flex: none; }
  .hx-stats > div { min-width: 40%; }
}

/* pagamento online (Mercado Pago) */
.h-plan-pay { margin-top: .55rem; text-align: center; font-size: .74rem; color: var(--bs-secondary-color, #5b6b80); line-height: 1.35; }
.h-plan-pay i { color: var(--brand-2, #1d4ed8); }
.h-plan-pay span { display: block; font-size: .7rem; opacity: .85; }
.pay-back { background: #fff; border: 1px solid #e3e9f2; border-radius: var(--r-lg); padding: 2.4rem 1.6rem 1.6rem; text-align: center; box-shadow: 0 4px 12px rgba(11,42,74,0.05); }
.pay-back h1 { font-size: 1.55rem; font-weight: 800; color: var(--brand, #0b2a4a); margin: .9rem 0 .4rem; }
.pay-back p { color: #3b4a5e; }
.pay-back-ic { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.pay-back.is-ok .pay-back-ic { background: #e5f4ec; color: #1f8a4c; }
.pay-back.is-wait .pay-back-ic { background: #fff6dd; color: #b7791f; }
.pay-back.is-bad .pay-back-ic { background: #fdecea; color: #c0392b; }
.pay-back-plan { font-size: 1.05rem; }
.pay-back-ref { font-size: .75rem; color: #8494a7 !important; margin: 1.4rem 0 0; }
.acc-pay { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid #edf1f6; color: inherit; text-decoration: none; font-size: .9rem; }
.acc-pay:first-of-type { border-top: 0; }
.acc-pay small { display: block; color: #74859a; font-size: .76rem; }
@media (max-width: 575.98px) { .pay-back { padding: 1.8rem 1.1rem 1.2rem; } .pay-back h1 { font-size: 1.3rem; } }

/* ===== Biblioteca de leis (lx-*) ===== */
.lx-lib-hero { background: linear-gradient(135deg, var(--brand) 0%, #123a66 100%); color: #fff; padding: 2.6rem 0 2.2rem; margin-top: -1.5rem; }
.lx-kicker { display: inline-flex; gap: .4rem; align-items: center; background: rgba(245,183,0,.15); color: var(--gold-2); font-weight: 700; font-size: .8rem; border-radius: var(--r); padding: .3rem .8rem; }
.lx-lib-hero h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.5rem); margin: .8rem 0 .5rem; letter-spacing: -.02em; }
.lx-lib-hero h1 span { color: var(--gold); }
.lx-lib-hero p { color: #c9d6ea; max-width: 720px; }
.lx-lib-search { display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: var(--r-lg); padding: .35rem .35rem .35rem .9rem; max-width: 720px; margin: 1.2rem 0; }
.lx-lib-search i { color: #7a8aa3; }
.lx-lib-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1rem; padding: .45rem 0; color: var(--bs-body-color); }
.lx-perks { display: flex; flex-wrap: wrap; gap: .5rem; }
.lx-perks span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: .45rem .7rem; font-size: .84rem; color: #dbe5f3; }
.lx-perks i { color: var(--gold); margin-right: .2rem; } .lx-perks b { color: #fff; }
.lx-mine-card { display: flex; align-items: center; gap: .8rem; background: var(--gold-soft); border: 1px solid #f3dc8a; border-radius: var(--r-lg); padding: .8rem 1rem; text-decoration: none; color: var(--brand); margin-bottom: 1.4rem; }
.lx-mine-card > i:first-child { font-size: 1.5rem; color: var(--gold-dark); }
.lx-mine-card small { display: block; color: #6b5a20; }
.lx-shelf { margin-bottom: 1.8rem; }
.lx-shelf h2 { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin-bottom: .8rem; display: flex; gap: .5rem; align-items: center; }
.lx-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.lx-book { display: flex; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.lx-book:hover { transform: translateY(-2px); box-shadow: 0 4px 7px rgba(11,42,74,0.06); color: inherit; }
.lx-book-spine { flex: 0 0 46px; background: var(--bc); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; background-image: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 30%, rgba(255,255,255,.12) 60%, rgba(0,0,0,.1)); }
.lx-book-body { padding: .7rem .85rem; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.lx-book-body b { color: var(--brand); line-height: 1.25; }
.lx-book-body small { color: #64748b; }
.lx-book-meta { font-size: .78rem; color: var(--brand-2); font-weight: 600; margin-top: .25rem; }
.lx-results { margin-bottom: 2rem; }
.lx-res { display: block; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .75rem .9rem; margin-bottom: .5rem; text-decoration: none; color: inherit; }
.lx-res:hover { border-color: var(--brand-3); color: inherit; }
.lx-res mark { background: #fde68a; padding: 0 .1em; border-radius: var(--r-sm); }
.lx-res b { color: var(--brand); display: block; } .lx-res small { color: #64748b; display: block; margin-bottom: .2rem; } .lx-res span { font-size: .9rem; color: #334155; }
.lx-source { font-size: .78rem; color: #64748b; margin-top: 1.5rem; }

.lx-hero { background: #fff; border-bottom: 1px solid var(--mint-2); border-top: 4px solid var(--ac, var(--brand)); padding: 1.6rem 0 1.3rem; margin-top: -1.5rem; }
.lx-hero.is-small { padding: 1rem 0 .8rem; }
.lx-crumb { font-size: .82rem; color: #64748b; margin-bottom: .4rem; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.lx-crumb a { color: var(--brand-2); text-decoration: none; } .lx-crumb i { font-size: .65rem; }
.lx-hero h1 { font-weight: 800; color: var(--brand); font-size: clamp(1.45rem, 3.5vw, 2.1rem); margin: 0 0 .2rem; letter-spacing: -.015em; }
.lx-short { color: #475569; font-weight: 600; font-size: .92rem; }
.lx-ementa { color: #475569; font-size: .92rem; max-width: 860px; margin: .5rem 0 .8rem; font-style: italic; }
.lx-facts { display: flex; flex-wrap: wrap; gap: .4rem; }
.lx-facts span { background: var(--mint); color: var(--brand); border-radius: var(--r); padding: .25rem .7rem; font-size: .8rem; font-weight: 600; }
.lx-facts span.is-warn { background: var(--gold-soft); color: var(--gold-dark); }
.lx-wrap { padding-top: 1rem; padding-bottom: 2rem; }
.lx-bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: rgba(244,247,252,.96); backdrop-filter: blur(6px); padding: .55rem 0; margin-bottom: .6rem; }
.lx-find { flex: 1 1 260px; display: flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 0 .7rem; }
.lx-find input { border: 0; outline: 0; flex: 1; min-width: 0; padding: .45rem 0; font-size: .92rem; }
.lx-toc { position: sticky; top: 4.5rem; max-height: calc(100vh - 5.5rem); overflow-y: auto; font-size: .85rem; padding-right: .3rem; scrollbar-width: thin; }
.lx-toc-i { display: block; text-decoration: none; color: #334155; padding: .28rem .5rem; border-radius: var(--r); line-height: 1.3; }
.lx-toc-i:hover { background: var(--mint); color: var(--brand); }
.lx-toc-i small { color: #94a3b8; white-space: nowrap; }
.lx-toc-i.lv-parte, .lx-toc-i.lv-livro, .lx-toc-i.lv-ato { font-weight: 800; color: var(--brand); text-transform: uppercase; font-size: .78rem; letter-spacing: .03em; margin-top: .6rem; }
.lx-toc-i.lv-titulo { font-weight: 800; color: var(--brand); margin-top: .35rem; }
.lx-toc-i.lv-capitulo { padding-left: .9rem; font-weight: 600; }
.lx-toc-i.lv-secao { padding-left: 1.4rem; }
.lx-toc-i.lv-subsecao { padding-left: 1.9rem; font-size: .8rem; }
.lx-toc-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: .3rem; }
.lx-toc-arts a { text-align: center; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r); padding: .25rem; text-decoration: none; font-weight: 600; font-size: .8rem; }

.lx-text { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; font-family: var(--bs-body-font-family); font-size: 1.02rem; line-height: 1.65; color: #1e293b; }
.lx-head { font-family: var(--bs-body-font-family); text-align: center; color: var(--brand); margin: 1.6rem 0 .8rem; scroll-margin-top: var(--lx-top, 8rem); line-height: 1.3; }
.lx-head { font-size: .95rem; font-weight: 700; }
.lx-head.lv-parte, .lx-head.lv-livro, .lx-head.lv-ato { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid var(--mint-2); padding-bottom: .4rem; }
.lx-head.lv-titulo { font-size: 1.05rem; font-weight: 800; }
.lx-head.lv-capitulo { font-size: .98rem; font-weight: 700; }
.lx-head.lv-secao, .lx-head.lv-subsecao { font-size: .9rem; font-weight: 600; color: #334155; }
.lx-art { position: relative; padding: .55rem .7rem; margin: 0 -.7rem .35rem; border-radius: var(--r-lg); border-left: 4px solid transparent; scroll-margin-top: var(--lx-top, 8rem); transition: background .2s; }
.lx-art.is-target { box-shadow: 0 0 0 2px var(--gold); }
.lx-art-h { display: flex; align-items: center; gap: .45rem; font-family: var(--bs-body-font-family); }
.lx-num { font-weight: 800; color: var(--brand); text-decoration: none; font-size: 1rem; margin: 0; }
h1.lx-num { font-size: 1.35rem; }
.lx-num-of { font-weight: 600; color: #475569; font-size: .8em; }
a.lx-num:hover { color: var(--brand-2); text-decoration: underline; }
.lx-fav-ic { display: none; color: var(--gold); font-size: .85rem; }
.lx-art.is-fav .lx-fav-ic { display: inline; }
.lx-qchip { background: var(--mint); color: var(--brand-2); border-radius: var(--r); font-size: .72rem; font-weight: 700; padding: .1rem .5rem; text-decoration: none; }
.lx-tools-btn { margin-left: auto; border: 0; background: transparent; color: #94a3b8; border-radius: var(--r); width: 34px; height: 30px; }
.lx-tools-btn:hover, .lx-art:hover .lx-tools-btn { color: var(--brand-2); background: var(--mint); }
.lx-body p { margin: .15rem 0; }
.lx-p.k-par { margin-top: .35rem; }
.lx-p.k-inc { padding-left: 1.2rem; }
.lx-p.k-al { padding-left: 2.2rem; }
.lx-p.k-item { padding-left: 3rem; }
.lx-p.k-pena { padding-left: 1.2rem; font-style: italic; }
.lx-rub { font-family: var(--bs-body-font-family); font-size: .82rem; font-weight: 700; color: #475569; margin: .5rem 0 0 !important; }
.lx-note { font-family: var(--bs-body-font-family); font-size: .74rem; color: #94a3b8; }
.lx-p.is-rev { color: #94a3b8; text-decoration: line-through; text-decoration-color: rgba(148,163,184,.6); }
.lx-hide-rev .lx-p.is-rev, .lx-hide-rev .lx-art.is-revoked { display: none; }
.lx-art.is-revoked .lx-num { color: #94a3b8; }
.lx-art.mk-amarelo { background: #fef3c7; border-left-color: #f5b700; }
.lx-art.mk-verde { background: #dcfce7; border-left-color: #22c55e; }
.lx-art.mk-azul { background: #dbeafe; border-left-color: #3b82f6; }
.lx-art.mk-rosa { background: #fce7f3; border-left-color: #ec4899; }
.lx-mynote { font-family: var(--bs-body-font-family); font-size: .86rem; background: #fffbea; border: 1px dashed #e0b400; border-radius: 4px; padding: .4rem .6rem; margin-top: .4rem; color: #5b4a10; }
.lx-empty { font-family: var(--bs-body-font-family); color: #64748b; text-align: center; padding: 1rem 0; }
.lx-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.12); }

.lx-panel { font-family: var(--bs-body-font-family); background: #fff; border: 1px solid var(--mint-2); box-shadow: 0 4px 8px rgba(11,42,74,0.07); border-radius: 6px; padding: .8rem .9rem; margin: .2rem 0 .8rem; font-size: .9rem; line-height: 1.4; }
.lx-panel.is-inline [data-link] { display: none; }
.lx-panel.is-inline { box-shadow: none; background: var(--mint); margin-top: .8rem; }
.lx-panel-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.lx-panel-lbl { font-size: .78rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .03em; margin-right: .2rem; }
.lx-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--sw, #fff); box-shadow: 0 0 0 1px #cbd5e1; padding: 0; }
.lx-sw.is-none { background: #fff; color: #64748b; display: inline-flex; align-items: center; justify-content: center; }
.lx-sw.is-on { box-shadow: 0 0 0 2px var(--brand-2); }
.lx-favbtn { border: 1px solid var(--mint-2); background: #fff; border-radius: var(--r); padding: .25rem .7rem; font-weight: 600; color: var(--brand); font-size: .85rem; margin-left: auto; }
.lx-favbtn.is-on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-dark); }
.lx-favbtn.is-on i { color: var(--gold); }

.lx-single { margin-top: .4rem; }
.lx-single .lx-art { margin: 0; }
/* página de título/capítulo/seção da lei */
.lx-h1-num { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ac, var(--brand-2)); margin-bottom: .15rem; }
.lx-intro { color: #334155; font-size: .95rem; margin: 0 0 1rem; }
.lx-parts { list-style: none; padding: 0; margin: 0 0 1rem; border: 1px solid var(--mint-2); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.lx-parts li { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .65rem .9rem; border-top: 1px solid var(--mint-2); }
.lx-parts li:first-child { border-top: 0; }
.lx-parts li.lv-secao, .lx-parts li.lv-subsecao { padding-left: 1.6rem; }
.lx-parts a { text-decoration: none; color: var(--brand); font-size: .93rem; }
.lx-parts a b { font-weight: 700; margin-right: .25rem; }
.lx-parts a:hover { text-decoration: underline; }
.lx-parts small { color: #64748b; white-space: nowrap; font-size: .8rem; }
.lx-head a { color: inherit; text-decoration: none; } .lx-head a:hover { text-decoration: underline; }
.lx-pager { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 1rem 0; }
.lx-pager a { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .45rem .8rem; text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.lx-pager a:hover { border-color: var(--brand-3); }
.lx-qs { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.lx-qs h2 { font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.lx-qlist { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #334155; }
.lx-qlist li { padding: .15rem 0; }
.lx-lock { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; background: var(--gold-soft); border: 1px solid #f3dc8a; border-radius: var(--r-lg); padding: .7rem .9rem; font-size: .9rem; }
.lx-lock > i { font-size: 1.3rem; color: var(--gold-dark); }
.lx-lock > div { flex: 1 1 200px; }
.lx-crumb.is-dark { margin: .5rem 0; }
.lx-mine-law { margin-bottom: 1.4rem; }
.lx-mine-law h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; }
.lx-mine-law h2 a { color: var(--brand); text-decoration: none; }
.lx-mine-law h2 small { font-weight: 500; color: #64748b; font-size: .8rem; }

@media (max-width: 575.98px) {
  .lx-lib-hero { padding: 1.6rem 0 1.4rem; margin-top: -1rem; }
  .lx-hero { margin-top: -1rem; }
  .lx-lib-hero p { font-size: .92rem; }
  .lx-lib-search { margin: .9rem 0; }
  .lx-lib-search .btn { padding: .4rem .7rem; }
  .lx-perks span { font-size: .78rem; padding: .35rem .55rem; }
  .lx-books { grid-template-columns: 1fr; gap: .5rem; }
  .lx-res { padding: .6rem .7rem; }
  .lx-res small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lx-res span { font-size: .85rem; }
  .lx-book-spine { flex-basis: 38px; font-size: 1rem; }
  .lx-book-body { padding: .5rem .7rem; }
  .lx-hero { padding: 1rem 0 .9rem; }
  .lx-ementa { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lx-facts span { font-size: .74rem; }
  .lx-bar { gap: .4rem; }
  .lx-bar .lx-find { order: 3; flex-basis: 100%; }
  .lx-text { padding: .8rem .85rem; font-size: .97rem; border-radius: var(--r-lg); }
  .lx-head { margin: 1.1rem 0 .5rem; }
  .lx-head.lv-parte, .lx-head.lv-livro, .lx-head.lv-ato { font-size: 1rem; }
  .lx-head.lv-titulo { font-size: .97rem; } .lx-head.lv-capitulo { font-size: .92rem; } .lx-head.lv-secao, .lx-head.lv-subsecao { font-size: .86rem; }
  .lx-art { margin: 0 -.45rem .3rem; padding: .45rem .45rem; }
  .lx-p.k-inc { padding-left: .7rem; } .lx-p.k-al { padding-left: 1.3rem; } .lx-p.k-item { padding-left: 1.8rem; }
  .lx-pager a { padding: .4rem .55rem; font-size: .8rem; }
  .lx-parts li { flex-direction: column; gap: .1rem; padding: .55rem .75rem; } .lx-parts li.lv-secao, .lx-parts li.lv-subsecao { padding-left: 1.2rem; }
  .lx-intro { font-size: .9rem; }
  .lx-qs { padding: .9rem; }
}

/* ===== Entrar com o Google ===== */
.btn-google { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 6px; padding: .6rem 1rem; font-weight: 600; text-decoration: none; font-family: var(--bs-body-font-family); }
.btn-google:hover { background: #f8faff; color: #1f1f1f; border-color: #4285f4; box-shadow: 0 1px 3px rgba(60,64,67,.2); }
.auth-or { display: flex; align-items: center; gap: .7rem; color: #94a3b8; font-size: .8rem; margin: 1rem 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--mint-2); }
.acc-google { display: flex; align-items: center; gap: .5rem; background: var(--mint); border-radius: var(--r-lg); padding: .5rem .75rem; font-size: .88rem; color: var(--brand); }
.g-inapp { display: flex; gap: .6rem; align-items: flex-start; background: #fff8e1; border: 1px solid #f3dc8a; border-radius: var(--r-lg); padding: .65rem .75rem; font-size: .84rem; line-height: 1.4; color: #5b4a10; }
.g-inapp .g-logo { flex: 0 0 auto; margin-top: .15rem; }
.btn-google { cursor: pointer; }
.btn-google.is-busy { opacity: .6; pointer-events: none; }
.g-note { font-size: .82rem; color: #b45309; margin-top: .4rem; }

/* ===== Documentos legais ===== */
.legal-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.legal-tabs a { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: var(--r); border: 1px solid var(--mint-2); background: #fff; color: #34465f; font-weight: 600; font-size: .86rem; text-decoration: none; }
.legal-tabs a:hover { border-color: var(--brand-3); color: var(--brand); }
.legal-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.legal-toc { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .7rem 1rem; font-size: .9rem; }
.legal-toc summary { font-weight: 700; color: var(--brand); cursor: pointer; }
.legal-toc ol { columns: 2; column-gap: 2rem; margin: .6rem 0 0; padding-left: 1.3rem; }
.legal-toc li { margin-bottom: .2rem; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal h2 { border-top: 1px solid var(--mint-2); padding-top: 1.4rem; }
.legal .note { background: var(--mint); border-radius: var(--r-lg); padding: .7rem .9rem; font-size: .92rem; }
.legal .note.warn { background: var(--gold-soft); }
.legal td, .legal th { padding: .5rem .55rem; }
@media (max-width: 767.98px) {
  .legal-toc ol { columns: 1; }
  .legal-tabs { flex-wrap: nowrap; gap: .3rem; }
  .legal-tabs a { padding: .35rem .65rem; font-size: .8rem; white-space: nowrap; }
  .legal { font-size: .94rem; }
  .legal h2 { font-size: 1.12rem; margin-top: 1.5rem; }
  .legal .table-responsive table { min-width: 560px; }
}
/* tabelas de duas ou três colunas da Privacidade: no celular cada linha vira um bloco, sem rolar para o lado */
@media (max-width: 575.98px) {
  .legal .legal-stack table { min-width: 0; }
  .legal-stack thead { display: none; }
  .legal-stack tr { display: block; border-bottom: 1px solid var(--mint-2); padding: .45rem 0; }
  .legal-stack td { display: block; border: 0; padding: .1rem .2rem; }
  .legal-stack td + td { font-size: .86rem; color: #4a5b70; }
}

/* ===== Instalar o app (PWA) ===== */
.pwa-bar { position: fixed; left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 1040; display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .55rem .6rem; box-shadow: 0 4px 9px rgba(11,42,74,0.11); }
.pwa-bar img { border-radius: var(--r-lg); flex: 0 0 auto; }
.pwa-bar-txt { flex: 1; min-width: 0; line-height: 1.2; font-size: .85rem; color: var(--brand); }
.pwa-bar-txt small { display: block; color: #64748b; font-size: .74rem; margin-top: .1rem; }
.pwa-bar-x { border: 0; background: transparent; color: #94a3b8; padding: .2rem .3rem; }
.focus-mode .pwa-bar { display: none !important; }
.pwa-steps { padding-left: 1.2rem; }
.pwa-steps li { margin-bottom: .55rem; }
.app-shell .adm-link[data-pwa-install] { width: 100%; border: 0; background: transparent; text-align: left; }

/* ===== Chamadas para baixar o app ===== */
html[data-pwa-platform="installed"] .pwa-hide-installed { display: none !important; }
/* faixa do celular: cor da marca, entra deslizando, botão com brilho */
.pwa-bar { background: linear-gradient(110deg, #0b2a4a 0%, #14467f 100%); border: 0; color: #fff; padding: .6rem .6rem .6rem .65rem;
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); }
.pwa-bar.is-in { transform: none; }
.pwa-bar-ic { position: relative; flex: 0 0 auto; }
.pwa-bar-ic img { border-radius: var(--r-lg); background: #fff; display: block; }
.pwa-bar-ic i { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--brand);
  font-size: .7rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #0b2a4a; }
.pwa-bar-txt { color: #fff; }
.pwa-bar-txt b { font-size: .92rem; }
.pwa-bar-txt small { color: #c9d6ea; }
.pwa-bar-x { color: #9fb3cf; }
.pwa-bar-btn { }
@keyframes pwa-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,183,0,.55); } 50% { box-shadow: 0 0 0 7px rgba(245,183,0,0); } }
/* atalho "App" no cabeçalho do celular */
.sh-app { display: inline-flex; align-items: center; gap: .25rem; color: var(--gold); border: 1.5px solid rgba(245,183,0,.6); border-radius: var(--r);
  padding: .28rem .6rem; font-size: .8rem; font-weight: 700; text-decoration: none; margin-right: .35rem; white-space: nowrap; }
.sh-app:hover { color: var(--gold-2); border-color: var(--gold); }
.sh-app.is-light { color: var(--brand); border-color: var(--mint-2); background: var(--gold-soft); }
.app-new { margin-left: auto; font-size: .62rem; font-weight: 800; text-transform: uppercase; background: var(--gold); color: var(--brand); border-radius: var(--r); padding: .05rem .4rem; }
/* convite no fim do simulado */
.pwa-card { position: relative; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: linear-gradient(110deg, #0b2a4a, #14467f); color: #fff;
  border-radius: var(--r-lg); padding: 1rem 2.6rem 1rem 1rem; margin-bottom: 1.5rem; box-shadow: 0 4px 8px rgba(11,42,74,0.09); }
.pwa-card img { border-radius: var(--r-lg); background: #fff; flex: 0 0 auto; }
.pwa-card-txt { flex: 1 1 220px; line-height: 1.3; }
.pwa-card-txt b { display: block; font-size: 1.02rem; }
.pwa-card-txt span { color: #c9d6ea; font-size: .86rem; }
.pwa-card-x { position: absolute; top: .45rem; right: .45rem; border: 0; background: transparent; color: #9fb3cf; }
/* página /app */
.app-hero { background: radial-gradient(700px 400px at 85% 0%, rgba(74,124,201,.45), transparent 60%), linear-gradient(120deg, #081d33, #0d3159 60%, #14467f);
  color: #fff; padding: 2.6rem 0 2.4rem; margin-top: -1.5rem; overflow: hidden; }
.app-kicker { display: inline-flex; gap: .4rem; align-items: center; background: rgba(245,183,0,.15); color: var(--gold-2); font-weight: 700; font-size: .8rem; border-radius: var(--r); padding: .3rem .8rem; }
.app-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.02em; margin: .9rem 0 .6rem; }
.app-hero h1 span { color: var(--gold); }
.app-lead { color: #c9d6ea; font-size: 1.06rem; max-width: 560px; }
.app-cta { margin: 1.2rem 0 .8rem; }
.app-install-btn { padding: .8rem 1.6rem; border-radius: var(--r-lg); box-shadow: 0 4px 9px rgba(245,183,0,0.18); }
.pwa-p { display: none; }
html[data-pwa-platform="ios"] .pwa-p-ios, html[data-pwa-platform="inapp"] .pwa-p-inapp, html[data-pwa-platform="installed"] .pwa-p-installed,
html[data-pwa-platform="desktop"] .pwa-p-desktop { display: block; }
html[data-pwa-platform="desktop"] .pwa-p-desktop.app-qr-box { display: flex; }
html[data-pwa-platform="android"]:not([data-pwa-ready]) .pwa-p-android { display: block; }
.app-step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-lg); padding: .8rem 1rem; color: #e2e9f4; font-size: .94rem; max-width: 560px; margin-top: .6rem; }
.app-step ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.app-step i.bi-check-circle-fill { color: #4ade80; }
.app-qr-box { gap: 1rem; align-items: center; }
.app-qr-box img { background: #fff; border-radius: var(--r-lg); padding: 6px; flex: 0 0 auto; }
.app-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: .9rem 0 0; color: #c9d6ea; font-size: .88rem; }
.app-mini i { color: var(--gold); }
.app-phone { position: relative; display: inline-block; padding: 12px; background: #0a1626; border-radius: 38px; box-shadow: 0 4px 12px rgba(0,0,0,0.27), inset 0 0 0 2px #2a3a52;
  transform: rotate(3deg); }
.app-phone img { display: block; width: 234px; height: auto; border-radius: 27px; }
.app-phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px; background: #0a1626; border-radius: 99px; z-index: 2; }
.app-h2 { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin-bottom: 1rem; }
.app-perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.app-perk { display: flex; gap: .8rem; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .9rem 1rem; }
.app-perk > i { font-size: 1.4rem; color: var(--brand-2); background: var(--mint); width: 44px; height: 44px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.app-perk p { margin: .15rem 0 0; color: #64748b; font-size: .88rem; line-height: 1.4; }
.app-faq .accordion-button { font-weight: 600; }
@media (max-width: 575.98px) {
  .app-hero { padding: 1.6rem 0 1.8rem; margin-top: -1rem; }
  .app-lead { font-size: .96rem; }
  .app-install-btn { width: 100%; }
  .app-phone img { width: 190px; }
  .app-phone { transform: none; }
  .pwa-card { padding: .85rem 2.2rem .85rem .85rem; }
  .pwa-card .btn { width: 100%; }
}
@media (max-width: 420px) {
  .sh-app { padding: .3rem .45rem; margin-right: .25rem; }
  .sh-app span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-bar { transition: none; }
  .pwa-bar-btn, .app-install-btn { animation: none; }
}

/* aba "App" no menu do computador */
.sh-link-app { color: var(--gold) !important; display: inline-flex; align-items: center; gap: .3rem; }
.sh-link-app i { font-size: .95em; }
.sh-link-app.active, .sh-link-app:hover { color: var(--gold-2) !important; }
/* banner do app na home (abaixo das carreiras) */
.app-promo { position: relative; display: flex; align-items: center; gap: 2rem; margin-top: 2.2rem; padding: 2rem 2.2rem; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: radial-gradient(520px 300px at 90% 10%, rgba(74,124,201,.5), transparent 60%), linear-gradient(120deg, #081d33, #0d3159 60%, #14467f); box-shadow: 0 4px 12px rgba(11,42,74,0.11); }
.app-promo-txt { flex: 1 1 auto; min-width: 0; }
.app-promo h3 { font-weight: 800; font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.015em; margin: .8rem 0 .5rem; line-height: 1.2; }
.app-promo h3 span { color: var(--gold); }
.app-promo p { color: #c9d6ea; max-width: 560px; margin-bottom: 1.1rem; }
.app-promo-cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.app-promo-cta .btn { border-radius: var(--r-lg); box-shadow: 0 4px 9px rgba(245,183,0,0.17); }
.app-promo-more { color: #fff; font-weight: 600; text-decoration: none; opacity: .85; }
.app-promo-more:hover { color: var(--gold-2); opacity: 1; }
.app-promo-art { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 1.2rem; margin: -1rem 0 -3.2rem; }
.app-phone.is-sm { padding: 9px; border-radius: 30px; transform: rotate(4deg); }
.app-phone.is-sm img { width: 180px; border-radius: 22px; }
.app-phone.is-sm .app-phone-notch { top: 14px; width: 54px; height: 12px; }
.app-promo-qr { flex-direction: column; align-items: center; gap: .4rem; margin-bottom: 3.6rem; font-size: .76rem; color: #c9d6ea; text-align: center; line-height: 1.25; }
.app-promo-qr img { background: #fff; border-radius: var(--r-lg); padding: 5px; }
/* faixa do app abaixo dos planos */
.app-strip { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding: .85rem 1.1rem; border-radius: var(--r-lg); text-decoration: none; color: var(--brand);
  background: #fff; border: 1.5px solid var(--mint-2); box-shadow: 0 4px 6px rgba(11,42,74,0.04); transition: border-color .15s, transform .15s; }
.app-strip:hover { border-color: var(--gold); color: var(--brand); transform: translateY(-1px); }
.app-strip img { border-radius: var(--r-lg); flex: 0 0 auto; box-shadow: 0 0 0 1px var(--mint-2); }
.app-strip-txt { flex: 1 1 auto; line-height: 1.3; min-width: 0; }
.app-strip-txt b { display: block; font-size: 1rem; }
.app-strip-txt small { color: #64748b; }
.app-strip-badges { display: flex; gap: .4rem; flex: 0 0 auto; }
.app-strip-badges span { background: var(--mint); border-radius: var(--r); padding: .2rem .6rem; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.app-strip .btn { flex: 0 0 auto; }
@media (max-width: 991.98px) {
  .app-promo { flex-direction: column; align-items: stretch; text-align: left; padding: 1.5rem 1.3rem 0; gap: 1rem; }
  .app-promo { padding-bottom: 0; }
  /* o celular aparece "saindo" da parte de baixo do card, sem cobrir o botão */
  .app-promo-art { justify-content: center; align-items: flex-start; height: 170px; margin: .4rem 0 0; }
  .app-promo .app-phone.is-sm { transform: none; }
  .app-promo .app-phone.is-sm img { width: 150px; }
  .app-strip-badges { display: none; }
}
@media (max-width: 575.98px) {
  .app-promo { margin-top: 1.6rem; border-radius: var(--r-lg); }
  .app-promo-cta .btn { width: 100%; }
  .app-promo-more { margin: 0 auto; }
  .app-strip { flex-wrap: wrap; padding: .8rem; gap: .7rem; }
  .app-strip img { width: 40px; height: 40px; }
  .app-strip-txt { flex: 1 1 calc(100% - 56px); }
  .app-strip-txt b { font-size: .95rem; }
  .app-strip-txt small { font-size: .8rem; }
  .app-strip .btn { width: 100%; }
}

/* ===== Rodapé (preto) ===== */
footer.site-footer.sf { background: #0a0d12; border-top: 3px solid var(--gold); color: #a3adbb; padding: 3rem 0 1.4rem; text-align: left; font-size: .9rem; }
.sf-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #1d232d; }
.sf-brand p { color: #8b95a5; margin: 1rem 0 1.2rem; max-width: 320px; line-height: 1.55; }
.sf .sh-brand .sh-logo { height: 46px; }
.sf-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.sf-social a { width: 38px; height: 38px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; background: #161b23; border: 1px solid #232a35;
  color: #d4dae3; font-size: 1.05rem; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.sf-social a:hover { background: var(--gold); border-color: var(--gold); color: #0a0d12; transform: translateY(-2px); }
.sf-social a.is-wa { color: #25d366; }
.sf-social a.is-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.sf-col { display: flex; flex-direction: column; gap: .55rem; }
.sf-col h2 { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: .2rem 0 .4rem; }
.sf-col a { color: #a3adbb; text-decoration: none; width: fit-content; transition: color .15s; }
.sf-col a:hover { color: var(--gold); }
.sf-col .sf-wa { color: #25d366; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-top: 1.2rem; font-size: .8rem; color: #7c8696; }
.sf-bottom p { flex-basis: 100%; margin: 0; color: #5f6877; font-size: .76rem; }
.sf-pay i { color: var(--gold); }
@media (max-width: 991.98px) {
  .sf-top { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  footer.site-footer.sf { padding: 2rem 0 1.2rem; font-size: .86rem; }
  .sf-col { gap: .45rem; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Teste grátis em destaque ===== */
.hx-trial { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; background: rgba(245,183,0,.14); border: 1.5px solid rgba(245,183,0,.55);
  color: #fff; border-radius: var(--r-lg); padding: .55rem .9rem; margin: .3rem 0 1rem; font-size: .95rem; }
.hx-trial i { color: var(--gold); font-size: 1.1rem; }
.hx-trial b { color: var(--gold-2); font-size: 1.05rem; }
.hx-trial span { color: #c9d6ea; font-size: .86rem; }
.sh-signup i { margin-right: .2rem; }
.trial-bar { background: linear-gradient(90deg, #fff4cc, #ffe9a3); border-bottom: 1px solid #f3dc8a; color: #4a3b06; font-size: .88rem; }
.trial-bar .container { display: flex; align-items: center; gap: .5rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.trial-bar i.bi-gift-fill { color: #b8860b; }
.trial-bar span { flex: 1 1 260px; }
.trial-bar a { color: var(--brand); font-weight: 800; text-decoration: none; white-space: nowrap; }
.trial-bar a:hover { text-decoration: underline; }
.exam-trial { background: var(--gold-soft); border: 1px solid #f3dc8a; border-radius: var(--r-lg); padding: .55rem .75rem; color: #4a3b06; }
.exam-trial i { color: #b8860b; }
@media (max-width: 575.98px) {
  .hx-trial { font-size: .9rem; padding: .5rem .75rem; }
  .trial-bar { font-size: .8rem; }
  .trial-bar .container { gap: .25rem .5rem; }
}

/* cabeçalho do visitante no celular: logo + App + "7 dias grátis" cabem em 360–420px */
@media (max-width: 420px) {
  .site-header .sh-brand-txt small { display: none; }
  .site-header .sh-brand-txt b { font-size: .95rem; }
  .site-header .sh-logo { height: 30px; }
  .site-header .sh-inner { gap: .4rem; }
  .sh-signup { font-size: .78rem; padding: .4rem .65rem; }
  .sh-signup i { display: none; }
}
@media (max-width: 370px) {
  .sh-signup { font-size: .74rem; padding: .38rem .55rem; }
  .site-header .sh-app { margin-right: .1rem; }
  .site-header .sh-brand { gap: .4rem; }
}
@media (max-width: 340px) { .site-header .sh-app { display: none; } }

/* ===== Cartão "assine" na área do aluno (teste grátis / vencido) ===== */
.upsell { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; position: relative; border-radius: var(--r-lg); padding: .9rem 2.6rem .9rem 1rem; margin-bottom: 1.2rem;
  background: linear-gradient(110deg, #0b2a4a 0%, #14467f 100%); color: #fff; box-shadow: 0 4px 8px rgba(11,42,74,0.09); overflow: hidden; }
.upsell::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,0,.22), transparent 70%); pointer-events: none; }
.upsell-ic { width: 46px; height: 46px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: rgba(245,183,0,.16); color: var(--gold); font-size: 1.35rem; }
.upsell-txt { flex: 1 1 260px; min-width: 0; line-height: 1.35; }
.upsell-txt b { display: block; font-size: 1.02rem; }
.upsell-txt > span { color: #c9d6ea; font-size: .88rem; }
.upsell-coupon { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; background: rgba(245,183,0,.15); color: var(--gold-2) !important; border-radius: var(--r); padding: .15rem .6rem; font-size: .8rem !important; }
.upsell-coupon b { display: inline; font-size: inherit; }
.upsell-btn { background: var(--gold); color: var(--brand); border-radius: var(--r-lg); padding: .5rem 1rem; white-space: nowrap; position: relative; z-index: 1; }
.upsell-btn:hover { background: var(--gold-2); color: var(--brand); }
.upsell-x { position: absolute; top: .4rem; right: .45rem; border: 0; background: transparent; color: #9fb3cf; z-index: 1; }
.upsell.is-warn { background: linear-gradient(110deg, #5a3d00 0%, #8a6400 100%); }
.upsell.is-warn .upsell-ic { background: rgba(255,255,255,.15); color: #ffe08a; }
.upsell.is-urgent, .upsell.is-expired { background: linear-gradient(110deg, #7a1f1f 0%, #b42318 100%); padding-right: 1rem; }
.upsell.is-urgent .upsell-ic, .upsell.is-expired .upsell-ic { background: rgba(255,255,255,.15); color: #fff; }
.upsell.is-urgent .upsell-txt > span, .upsell.is-expired .upsell-txt > span { color: #fde2e1; }
@keyframes upsell-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 85% { transform: rotate(12deg); } }
@media (max-width: 575.98px) {
  .upsell { padding: .8rem 2.2rem .8rem .8rem; gap: .6rem; }
  .upsell-ic { width: 38px; height: 38px; font-size: 1.1rem; align-self: flex-start; }
  .upsell-txt { flex: 1 1 calc(100% - 52px); }
  .upsell-txt b { font-size: .95rem; }
  .upsell-txt > span { font-size: .82rem; }
  .upsell-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .upsell.is-urgent .upsell-ic i { animation: none; } }

/* ===== Hero da home: painel do teste grátis + números (no lugar da questão de exemplo) ===== */
.hx-panel { display: flex; flex-direction: column; gap: 1rem; }
.hx-offer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(245,183,0,.18), rgba(245,183,0,.05)); border: 1.5px solid rgba(245,183,0,.5); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.hx-offer-ic { width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--gold); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.hx-offer b { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.15; }
.hx-offer small { color: #e8d9a8; font-size: .86rem; }
.hx-offer ul { grid-column: 1 / -1; list-style: none; margin: .3rem 0 0; padding: .9rem 0 0; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; color: rgba(255,255,255,.88); font-size: .9rem; }
.hx-offer li { display: flex; gap: .45rem; align-items: flex-start; line-height: 1.3; }
.hx-offer li i { color: var(--gold); margin-top: .1rem; }
.hx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.hx-tiles > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: .9rem .8rem; }
.hx-tiles i { color: var(--gold); font-size: 1.1rem; }
.hx-tiles b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-top: .3rem; color: #fff; }
.hx-tiles span { color: rgba(255,255,255,.62); font-size: .76rem; line-height: 1.25; display: block; margin-top: .15rem; }
@media (max-width: 991.98px) {
  .hx-panel { margin-top: .4rem; }
}
@media (max-width: 575.98px) {
  .hx-offer { padding: 1rem; border-radius: var(--r-lg); gap: .6rem .8rem; }
  .hx-offer-ic { width: 44px; height: 44px; font-size: 1.25rem; }
  .hx-offer b { font-size: 1.1rem; }
  .hx-offer small { font-size: .78rem; }
  .hx-offer ul { grid-template-columns: 1fr; gap: .4rem; font-size: .86rem; padding-top: .7rem; }
  .hx-tiles { gap: .5rem; }
  .hx-tiles > div { padding: .7rem .6rem; border-radius: var(--r-lg); }
  .hx-tiles b { font-size: 1.2rem; }
  .hx-tiles span { font-size: .68rem; }
}

/* ===== Visual sóbrio: cantos retos e menos efeitos ===== */
:root {
  /* cantos do sistema: mude aqui para deixar tudo mais reto ou mais arredondado */
  --r-sm: 4px;   /* detalhes: barras finas, marcadores */
  --r: 7px;      /* botões, campos, etiquetas, chips */
  --r-lg: 12px;  /* cartões, painéis, janelas */
  --bs-border-radius: var(--r); --bs-border-radius-sm: var(--r-sm); --bs-border-radius-lg: var(--r-lg);
  --bs-border-radius-xl: var(--r-lg); --bs-border-radius-xxl: var(--r-lg); --bs-border-radius-2xl: var(--r-lg); --bs-border-radius-pill: var(--r);
}
.card { --bs-card-border-radius: var(--r-lg); --bs-card-inner-border-radius: calc(var(--r-lg) - 1px); }
.modal { --bs-modal-border-radius: var(--r-lg); --bs-modal-inner-border-radius: calc(var(--r-lg) - 1px); }
.dropdown-menu { --bs-dropdown-border-radius: var(--r-lg); }
.accordion { --bs-accordion-border-radius: var(--r-lg); --bs-accordion-inner-border-radius: calc(var(--r-lg) - 1px); }
.offcanvas { border-radius: 0; }
/* cartões de destaque com cor sólida da marca, sem brilhos nem degradês decorativos */
.upsell, .pwa-card, .pwa-bar, .app-promo, .app-hero { background: #0b2a4a; }
.upsell::after { display: none; }
.upsell.is-warn { background: #6b4a00; }
.upsell.is-urgent, .upsell.is-expired { background: #a3221a; }
.hx-offer { background: rgba(245,183,0,.10); }
.app-promo-cta .btn, .app-install-btn { box-shadow: none; }

/* Admin → Robôs */
.bot-row { display: flex; align-items: flex-start; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--mint-2); }
.bot-row:last-of-type { border-bottom: 0; }
.bot-row .form-switch .form-check-input { width: 2.6em; height: 1.35em; margin-top: .1rem; cursor: pointer; }
.bot-info { flex: 1; min-width: 0; cursor: pointer; }
.bot-list { display: block; margin-top: .25rem; font-size: .74rem; color: #64748b; line-height: 1.5; }
.bot-count { font-weight: 800; color: var(--brand); font-size: 1.1rem; min-width: 3rem; text-align: right; }

/* ===== Página de vendas (/comece) ===== */
.sl-hero { background: #0b2a4a; color: #fff; margin-top: -1.5rem; padding: 4rem 0 3.4rem; overflow: hidden; border-bottom: 3px solid var(--gold); }
.sl-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-2); border: 1px solid rgba(245,183,0,.45); border-radius: var(--r); padding: .3rem .7rem; }
.sl-hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; margin: 1rem 0 .9rem; }
.sl-hero h1 span { color: var(--gold); display: block; }
.sl-lead { color: #c9d6ea; font-size: 1.12rem; line-height: 1.6; max-width: 600px; }
.sl-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 1.1rem; }
.sl-ctas .btn-outline-light { border-color: rgba(255,255,255,.35); }
.sl-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: #c9d6ea; font-size: .9rem; }
.sl-trust i { color: var(--gold); margin-right: .2rem; }
.sl-phone { transform: rotate(3deg); }
.sl-numbers { background: #fff; border-bottom: 1px solid var(--mint-2); }
.sl-numbers .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.6rem; padding-bottom: 1.6rem; text-align: center; }
.sl-numbers b { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.sl-numbers span { color: #64748b; font-size: .85rem; }
.sl-section { padding: 4rem 0; }
.sl-alt { background: #fff; border-top: 1px solid var(--mint-2); border-bottom: 1px solid var(--mint-2); }
.sl-head { text-align: center; max-width: 720px; margin: 0 auto 2.2rem; }
.sl-head h2 { font-weight: 800; color: var(--brand); font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -.02em; margin-bottom: .5rem; }
.sl-head p { color: #475569; font-size: 1.05rem; margin: 0; }
.sl-tag { display: inline-block; background: var(--gold-soft); color: var(--gold-dark); border-radius: var(--r-sm); font-size: .72rem; font-weight: 800; padding: 0 .4rem; }
.sl-careers { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.sl-careers a { display: flex; flex-direction: column; gap: .15rem; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem; text-decoration: none; background: #f8fafd; transition: border-color .15s; }
.sl-careers a:hover { border-color: var(--brand-3); }
.sl-careers i { font-size: 1.4rem; margin-bottom: .3rem; }
.sl-careers b { color: var(--brand); }
.sl-careers small { color: #64748b; }
.sl-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); overflow: hidden; font-size: .95rem; }
.sl-compare th, .sl-compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--mint-2); vertical-align: top; }
.sl-compare tr:last-child td { border-bottom: 0; }
.sl-compare thead th { background: var(--brand); color: #fff; font-weight: 700; }
.sl-compare thead th:last-child { background: var(--gold); color: var(--brand); }
.sl-compare td:first-child { font-weight: 700; color: var(--brand); white-space: nowrap; }
.sl-compare td:nth-child(2) { color: #64748b; }
.sl-compare td:nth-child(2) i { color: #c0504d; margin-right: .3rem; }
.sl-compare td:nth-child(3) { background: #fffbea; color: #1c2a3d; font-weight: 600; }
.sl-compare td:nth-child(3) i { color: var(--ok); margin-right: .3rem; }
.sl-coupon { display: inline-block; margin-top: .8rem !important; background: var(--gold-soft); border: 1px solid #f3dc8a; border-radius: var(--r); padding: .35rem .8rem; font-size: .92rem !important; color: #4a3b06 !important; }
.sl-guarantee { display: flex; gap: 1rem; align-items: flex-start; max-width: 820px; margin: 2rem auto 0; background: #ecfdf3; border: 1px solid #b7e4c7; border-radius: var(--r-lg); padding: 1.1rem 1.3rem; }
.sl-guarantee > i { font-size: 2rem; color: var(--ok); line-height: 1; }
.sl-guarantee b { color: #14532d; font-size: 1.05rem; }
.sl-guarantee p { margin: .2rem 0 0; color: #166534; font-size: .93rem; }
.sl-final { background: #0b2a4a; color: #fff; text-align: center; padding: 3.6rem 0; border-top: 3px solid var(--gold); }
.sl-final h2 { font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.sl-final p { color: #c9d6ea; margin-bottom: 1.4rem; }
@media (max-width: 991.98px) {
    .sl-numbers .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .sl-hero { padding: 2.2rem 0 2.2rem; margin-top: -1rem; }
  .sl-lead { font-size: 1rem; }
  .sl-ctas .btn { width: 100%; }
  .sl-numbers b { font-size: 1.5rem; }
  .sl-section { padding: 2.6rem 0; }
  .sl-careers { gap: .5rem; }
  .sl-careers a { padding: .8rem; }
  .sl-compare { font-size: .84rem; }
  .sl-compare th, .sl-compare td { padding: .6rem .55rem; }
  .sl-compare td:first-child { white-space: normal; }
  .sl-guarantee { flex-direction: column; gap: .5rem; }
  .sl-final .btn { width: 100%; }
}

/* página de vendas: notebook + celular, preço no topo, faixa de preços e benefícios */
.sl-from { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; color: #e2e9f4; font-size: 1rem; margin: 1.1rem 0 0; }
.sl-from span { background: var(--gold); color: var(--brand); font-weight: 800; border-radius: var(--r-sm); padding: .15rem .55rem; font-size: .88rem; }
.sl-from b { color: #fff; font-size: 1.15rem; }
.sl-devices { position: relative; padding: 0 0 2.2rem 0; max-width: 560px; margin: 0 auto; }
.sl-laptop-screen { background: #0a1626; border: 10px solid #0a1626; border-bottom-width: 14px; border-radius: 14px 14px 0 0; box-shadow: 0 10px 28px rgba(0,0,0,.35); overflow: hidden; }
.sl-laptop-screen img { display: block; width: 100%; height: auto; border-radius: 3px; }
.sl-laptop-base { position: relative; height: 14px; margin: 0 -7%; background: linear-gradient(#cfd6e0, #9aa6b6); border-radius: 0 0 14px 14px; }
.sl-laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: #8a96a8; border-radius: 0 0 8px 8px; }
.sl-devices .sl-phone { position: absolute; right: -4%; bottom: 0; transform: none; padding: 7px; border-radius: 24px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.sl-devices .sl-phone img { width: 128px; border-radius: 18px; }
.sl-devices .sl-phone .app-phone-notch { top: 11px; width: 42px; height: 9px; }
.sl-payinfo { text-align: center; color: #64748b; font-size: .88rem; max-width: 760px; margin: 1.6rem auto 0; }
@media (max-width: 991.98px) {
  .sl-devices { margin-top: 1rem; max-width: 520px; }
}
@media (max-width: 575.98px) {
  .sl-from { font-size: .92rem; }
  .sl-devices { padding-bottom: 1.4rem; max-width: 330px; }
  .sl-laptop-screen { border-width: 6px; border-bottom-width: 9px; border-radius: 9px 9px 0 0; }
  .sl-laptop-base { height: 9px; margin: 0 -3%; }
  .sl-devices .sl-phone { right: -6%; padding: 5px; border-radius: 16px; }
  .sl-devices .sl-phone img { width: 78px; border-radius: 12px; }
  .sl-devices .sl-phone .app-phone-notch { top: 7px; width: 26px; height: 6px; }
}

/* ===== Página de vendas: seções modernas ===== */
.sl-eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .5rem; }
.sl-head.is-dark .sl-eyebrow { color: var(--gold); }
/* problema: layout editorial em duas colunas, lista numerada sem caixas */
.sl-split { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.sl-split-head { position: sticky; top: 90px; }
.sl-split-head h2 { font-weight: 800; color: var(--brand); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; }
.sl-split-head p { color: #475569; font-size: 1.05rem; margin: .6rem 0 0; }
.sl-pains { list-style: none; counter-reset: pain; margin: 0; padding: 0; }
.sl-pains li { counter-increment: pain; position: relative; padding: 1.4rem 0 1.4rem 4.6rem; border-top: 1px solid var(--mint-2); }
.sl-pains li:last-child { border-bottom: 1px solid var(--mint-2); }
.sl-pains li::before { content: counter(pain, decimal-leading-zero); position: absolute; left: 0; top: 1.15rem; font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand-3); }
.sl-pains b { display: block; font-size: 1.2rem; color: var(--brand); margin-bottom: .3rem; }
.sl-pains p { margin: 0; color: #64748b; line-height: 1.55; }
.sl-bridge { text-align: center; max-width: 760px; margin: 2.6rem auto 0; font-size: 1.1rem; color: #334155; }
/* vitrine com abas e print real no notebook */
.sl-show { display: grid; grid-template-columns: 5fr 7fr; gap: 2.4rem; align-items: center; }
.sl-tabs { display: flex; flex-direction: column; gap: .3rem; }
.sl-tab { display: flex; gap: .9rem; align-items: flex-start; text-align: left; width: 100%; border: 0; background: transparent; padding: .9rem 1rem; border-radius: var(--r-lg); border-left: 3px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.sl-tab i { font-size: 1.3rem; color: #94a3b8; margin-top: .1rem; transition: color .15s; }
.sl-tab b { display: block; color: #334155; font-size: 1.02rem; }
.sl-tab small { display: block; color: #64748b; font-size: .88rem; line-height: 1.45; margin-top: .15rem; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.sl-tab:hover { background: #f4f7fc; }
.sl-tab.is-on { background: #f4f7fc; border-left-color: var(--gold); }
.sl-tab.is-on i { color: var(--brand-2); }
.sl-tab.is-on b { color: var(--brand); }
.sl-tab.is-on small { max-height: 6rem; }
.sl-tab-extra { margin-top: .6rem; padding: .6rem 1rem 0; color: #64748b; font-size: .86rem; border-top: 1px dashed var(--mint-2); }
.sl-tab-extra i { color: var(--brand-2); }
.sl-laptop-screen { position: relative; }
.sl-shot { display: none; }
.sl-shot.is-on { display: block; animation: sl-fade .3s ease; }
.sl-shot img { display: block; width: 100%; height: auto; }
@keyframes sl-fade { from { opacity: 0; } to { opacity: 1; } }
/* linha do tempo */
.sl-timeline { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 980px; margin: 0 auto; padding: 0; position: relative; }
.sl-timeline::before { content: ""; position: absolute; top: 22px; left: 16.6%; right: 16.6%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); }
.sl-timeline li { counter-increment: step; text-align: center; position: relative; }
.sl-timeline li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 auto .9rem; border-radius: 50%; background: var(--brand); color: var(--gold); font-weight: 800; font-size: 1.1rem; position: relative; box-shadow: 0 0 0 6px #f4f7fc; }
.sl-timeline b { display: block; color: var(--brand); font-size: 1.08rem; margin-bottom: .25rem; }
.sl-timeline p { color: #64748b; margin: 0 auto; max-width: 260px; font-size: .94rem; }
/* planos em destaque: seção escura */
.sl-plans { background: #0b2a4a; padding: 4.4rem 0; border-top: 3px solid var(--gold); color: #fff; }
.sl-head.is-dark h2 { color: #fff; }
.sl-head.is-dark p { color: #c9d6ea; }
.sl-head.is-dark b { color: #fff; }
.sl-included { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; padding: 0; margin: -.6rem auto 2.2rem; color: #e2e9f4; font-size: .95rem; }
.sl-included i { color: var(--gold); margin-right: .25rem; }
.sl-plans .h-plan { border-color: transparent; }
.sl-plans .h-plan.is-featured { outline: 3px solid var(--gold); outline-offset: -1px; }
.sl-plans .h-plan .amount { font-size: 2.7rem; }
.sl-plans .sl-payinfo { color: #9fb3cf; }
.sl-plans .sl-payinfo a { color: #fff; }
.sl-plans .sl-coupon { background: rgba(245,183,0,.15); border-color: rgba(245,183,0,.5); color: #ffe08a !important; }
.sl-plans .sl-coupon a { color: #fff; }
.h-plan-day { font-size: .82rem; color: var(--ok); font-weight: 700; margin-top: .15rem; }
/* barra fixa do preço no celular */
.sl-sticky { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 1035; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: #0b2a4a; color: #fff; padding: .6rem 1rem; border-top: 2px solid var(--gold); box-shadow: 0 -4px 12px rgba(0,0,0,.18); }
.sl-sticky b { color: var(--gold-2); }
.sl-sticky small { display: block; color: #9fb3cf; font-size: .74rem; }
@media (min-width: 992px) { .sl-sticky { display: none !important; } }
@media (max-width: 991.98px) {
  .sl-split, .sl-show { grid-template-columns: 1fr; gap: 1.6rem; }
  .sl-split-head { position: static; }
  .sl-show .sl-screen { order: -1; }
  .sl-tabs { flex-direction: row; overflow-x: auto; gap: .4rem; scrollbar-width: none; padding-bottom: .2rem; }
  .sl-tabs::-webkit-scrollbar { display: none; }
  .sl-tab { flex: 0 0 auto; width: auto; padding: .55rem .8rem; border-left: 0; border: 1px solid var(--mint-2); align-items: center; gap: .45rem; }
  .sl-tab.is-on { border-color: var(--brand-2); background: #fff; }
  .sl-tab b { font-size: .88rem; white-space: nowrap; }
  .sl-tab small { display: none; }
  .sl-tab i { font-size: 1rem; margin: 0; }
  .sl-tab-extra { display: none; }
}
@media (max-width: 575.98px) {
  .sl-pains li { padding: 1.1rem 0 1.1rem 3.6rem; }
  .sl-pains li::before { font-size: 2rem; top: 1rem; }
  .sl-timeline { grid-template-columns: 1fr; gap: 0; max-width: 360px; }
  .sl-timeline::before { top: 23px; bottom: 23px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px); }
  .sl-timeline li { text-align: left; padding: 0 0 1.4rem 4rem; min-height: 46px; }
  .sl-timeline li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .sl-timeline p { margin: 0; }
  .sl-plans { padding: 2.8rem 0; }
  .sl-included { justify-content: flex-start; font-size: .88rem; gap: .35rem 1rem; }
}

/* links para a página de vendas (/comece) */
.hx-more { display: inline-block; margin-top: 1rem; color: var(--gold-2); font-weight: 600; text-decoration: none; }
.hx-more:hover { color: #fff; }
.trial-bar a.trial-more { font-weight: 600; color: #6b5a20; text-decoration: underline; }
.plans-tour { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }

/* ---------- simulados (/simulados) ---------- */
.sm-hero { background: #fff; border-bottom: 1px solid var(--mint-2); border-top: 4px solid var(--brand); padding: 1.8rem 0 1.5rem; margin-top: -1.5rem; }
.sm-hero.is-small { padding: 1.1rem 0 1.1rem; }
.sm-hero > .container { max-width: 920px; }
.sm-hero h1 { font-weight: 800; color: var(--brand); font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 0 0 .3rem; letter-spacing: -.015em; }
.sm-hero > .container > p { color: #475569; max-width: 46rem; margin: 0; }
.sm-kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); margin-bottom: .35rem; }
.sm-sub { color: #475569; font-weight: 600; margin: 0 0 .5rem; }
.sm-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; }
.sm-facts span { display: inline-flex; align-items: center; gap: .3rem; background: var(--mint); color: var(--brand); border-radius: var(--r-sm); padding: .2rem .55rem; font-size: .8rem; font-weight: 600; }
.sm-facts span.is-ok { background: #dcfce7; color: #166534; }
.sm-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sm-note { font-size: .87rem; color: #475569; margin: .8rem 0 0; }
.sm-note.is-ok { color: #166534; }
.sm-wrap { padding-top: 1.5rem; padding-bottom: 2rem; max-width: 920px; }
.sm-desc { color: #334155; margin-bottom: 1.2rem; }
.sm-empty { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem 1.1rem; }
.sm-empty > i { font-size: 1.5rem; color: var(--brand-2); }
.sm-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.sm-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .9rem; text-decoration: none; color: inherit; }
.sm-item:hover { border-color: var(--brand-3); }
.sm-item img { width: 92px; height: auto; border: 1px solid #e2e8f0; border-radius: var(--r-sm); flex: 0 0 auto; }
.sm-item h2 { font-size: 1.1rem; font-weight: 800; color: var(--brand); margin: 0 0 .15rem; }
.sm-item .sm-sub { font-size: .9rem; margin-bottom: .3rem; }
.sm-go { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-weight: 700; color: var(--brand-2); font-size: .9rem; }
.sm-paper { display: grid; gap: 1rem; }
.sm-paper figure { margin: 0; }
.sm-paper img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-sm); box-shadow: 0 2px 8px rgba(11,42,74,.06); }
.sm-paper figcaption { text-align: center; font-size: .78rem; color: #64748b; margin-top: .35rem; }
.sm-zoom { display: none; }
@media (max-width: 767.98px) { .sm-zoom { display: inline; } }
.sm-inline-cta, .sm-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; background: var(--gold-soft); border: 1px solid #f3dc8a; border-radius: var(--r-lg); padding: .8rem 1rem; font-size: .92rem; }
.sm-inline-cta > div, .sm-cta > div { flex: 1 1 260px; }
.sm-cta { margin: 1.5rem 0; background: #fff; border-color: var(--mint-2); }
.sm-key { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1.1rem; margin-top: 1.5rem; scroll-margin-top: 5rem; }
.sm-key h2 { font-size: 1.2rem; font-weight: 800; color: var(--brand); margin: 0 0 .4rem; }
.sm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .4rem; }
.sm-grid div { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--mint-2); border-radius: var(--r-sm); padding: .3rem .5rem; font-size: .9rem; }
.sm-grid span { color: #64748b; } .sm-grid b { color: var(--brand); }
.sm-wait { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; } .sm-wait > i { font-size: 1.4rem; color: var(--brand-2); } .sm-wait > div { flex: 1 1 240px; font-size: .92rem; }
.sm-more-h { font-size: 1.05rem; font-weight: 800; color: var(--brand); margin: 1.2rem 0 .5rem; }
.sm-more { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.sm-more a { display: block; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r); padding: .55rem .8rem; text-decoration: none; color: var(--brand); }
.sm-more span { display: block; font-size: .85rem; color: #64748b; }
@media (max-width: 575.98px) {
  .sm-hero { margin-top: -1rem; padding: 1.2rem 0 1.1rem; }
  .sm-actions .btn { flex: 1 1 auto; font-size: .88rem; padding: .45rem .6rem; }
  .sm-item { padding: .7rem; gap: .7rem; } .sm-item img { width: 70px; }
  .sm-item h2 { font-size: 1rem; }
  .sm-wrap { padding-top: 1rem; }
  .sm-paper { gap: .7rem; }
  .sm-key { padding: .85rem; }
  .sm-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}

/* anúncio de simulados na home */
.hsim { padding: 1.6rem 0 .4rem; }
.hsim-box { background: #fff; border: 1px solid var(--mint-2); border-left: 4px solid var(--gold); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; box-shadow: 0 2px 10px rgba(11,42,74,.05); }
.hsim-kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); }
.hsim-head h2 { font-size: 1.35rem; font-weight: 800; color: var(--brand); margin: .15rem 0 .2rem; }
.hsim-head p { color: #475569; font-size: .93rem; margin: 0 0 .8rem; }
.hsim-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.hsim-list li { display: grid; grid-template-columns: 11rem 1fr auto; align-items: center; gap: .8rem; border: 1px solid var(--mint-2); border-radius: var(--r); padding: .6rem .8rem; }
.hsim-list li.is-soon { background: var(--mint); }
.hsim-date { font-size: .8rem; font-weight: 700; color: #166534; }
.is-soon .hsim-date { color: var(--brand-2); }
.hsim-txt b { display: block; color: var(--brand); font-size: .98rem; }
.hsim-txt span { display: block; color: #64748b; font-size: .84rem; }
.hsim-soon { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--brand-2); white-space: nowrap; }
.hsim-foot { font-size: .84rem; color: #64748b; margin: .7rem 0 0; }
.sm-soon { display: block; background: var(--mint); border: 1px dashed var(--mint-2); border-radius: var(--r); padding: .55rem .8rem; color: var(--brand); }
.sm-soon span { display: block; font-size: .85rem; color: #475569; }
@media (max-width: 767.98px) {
  .hsim { padding: 1.1rem 0 .2rem; }
  .hsim-box { padding: .9rem; }
  .hsim-head h2 { font-size: 1.15rem; }
  .hsim-list li { grid-template-columns: 1fr auto; gap: .2rem .6rem; }
  .hsim-date { grid-column: 1 / -1; }
  .hsim-list .btn { font-size: .8rem; padding: .3rem .55rem; }
  .hsim-txt span { display: none; }
  .hsim-txt b { font-size: .92rem; }
}

/* ---------- loja (/loja, /loja/{material}, /meus-materiais) ---------- */
.st-hero { background: var(--brand); color: #fff; padding: 2rem 0 0; margin-top: -1.5rem; border-bottom: 4px solid var(--gold); }
.st-hero h1 { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: .2rem 0 .4rem; }
.st-hero p { color: #cbd5e1; max-width: 46rem; margin: 0 0 1.2rem; }
.st-kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.st-page .st-kicker { color: var(--gold-dark); }
.st-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs a { color: #e2e8f0; text-decoration: none; font-weight: 700; font-size: .92rem; padding: .7rem 1rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.st-tabs a:hover { color: #fff; border-bottom-color: var(--gold); }
.st-wrap { padding-top: 1.6rem; padding-bottom: 2.4rem; }
.st-sec { margin-bottom: 2.4rem; scroll-margin-top: 5rem; }
.st-sec > h2 { font-size: 1.45rem; font-weight: 800; color: var(--brand); margin: 0 0 .25rem; }
.st-empty { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--mint-2); padding: 1rem 1.1rem; }
.st-empty > i { font-size: 1.5rem; color: var(--brand-2); }
.st-detail { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 2rem; align-items: start; margin: .6rem 0 2.2rem; }
.st-detail-cover img { width: 100%; height: auto; display: block; border: 1px solid var(--mint-2); box-shadow: 0 6px 18px rgba(11,42,74,.12); }
.st-detail-body h1 { font-weight: 800; color: var(--brand); font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: .2rem 0 .3rem; }
.st-sub { color: #475569; font-weight: 600; margin: 0 0 .8rem; }
.st-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .25rem; }
.st-facts li { color: #334155; } .st-facts i { color: #16a34a; }
.st-buy { background: #fff; border: 1px solid var(--mint-2); border-top: 4px solid var(--gold); padding: 1.1rem; max-width: 460px; scroll-margin-top: 5rem; }
.st-owned-h { font-weight: 800; color: #166534; margin: 0 0 .6rem; }
.st-files { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .45rem; }
.st-files li { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; } .st-files small { color: #64748b; }
.st-desc { color: #334155; max-width: 52rem; }
.st-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 900px; }
.st-preview img { width: 100%; height: auto; display: block; border: 1px solid var(--mint-2); background: #fff; }
.st-plans-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; background: #fff; border: 1px solid var(--mint-2); padding: .9rem 1rem; }
.st-plans-cta > div { flex: 1 1 280px; color: #334155; }
.st-faq dl { margin: 0; max-width: 52rem; } .st-faq dt { color: var(--brand); font-weight: 700; margin-top: .7rem; } .st-faq dd { color: #475569; margin: .15rem 0 0; }
.st-mine { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.st-mine li { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--mint-2); padding: .8rem; }
.st-mine-cover img { width: 70px; height: auto; display: block; border: 1px solid var(--mint-2); }
.st-mine b { color: var(--brand); }
.st-mine-files { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
@media (max-width: 767.98px) {
  .st-hero { margin-top: -1rem; padding-top: 1.1rem; }
  .st-hero h1 { font-size: 1.45rem; }
  .st-hero p { font-size: .88rem; margin-bottom: .6rem; }
  .st-tabs a { padding: .6rem .7rem; font-size: .86rem; }
  .st-detail { grid-template-columns: 1fr; gap: 1rem; }
  .st-detail-cover { max-width: 220px; }
  .st-preview { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .st-sec > h2 { font-size: 1.2rem; }
}

/* ---------- cantos retos em todo o site (11/10/2026) ----------
   Zera os arredondamentos do site e do Bootstrap. Ficam redondos só os controles que se reconhecem pela forma:
   botão de opção (radio), chave liga/desliga e o indicador de carregando. */
:root, [data-bs-theme] {
  --r-sm: 0; --r: 0; --r-lg: 0;
  --bs-border-radius: 0; --bs-border-radius-sm: 0; --bs-border-radius-lg: 0; --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0; --bs-border-radius-2xl: 0; --bs-border-radius-pill: 0;
}
*, *::before, *::after { border-radius: 0 !important; }
.form-check-input[type=radio], .spinner-border, .spinner-grow { border-radius: 50% !important; }
.form-switch .form-check-input { border-radius: 2em !important; }


/* radar de concursos (home e /concursos) */
.cc-home { padding: 2.2rem 0 .6rem; }
.cc-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cc-home-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--brand); margin: .3rem 0 .3rem; }
.cc-home-head p { color: #5a6b82; margin: 0; font-size: .95rem; }
.cc-tabs { gap: .4rem; margin-bottom: 1rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.cc-tabs::-webkit-scrollbar { display: none; }
.cc-tabs button { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; border: 1px solid var(--mint-2); background: #fff; color: var(--brand); font-weight: 700; font-size: .9rem; border-radius: 999px; padding: .45rem .95rem; }
.cc-tabs button span { background: var(--mint); color: var(--brand-2); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; }
.cc-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.cc-tabs button.active span { background: var(--gold); color: var(--brand); }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.cc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mint-2); border-top: 4px solid var(--brand-3); border-radius: var(--r-lg); padding: 1rem 1.05rem; box-shadow: 0 2px 10px rgba(11,42,74,.05); }
.cc-card[hidden] { display: none; }
.cc-aberto { border-top-color: #2e8b57; }
.cc-abre { border-top-color: var(--brand-2); }
.cc-prova { border-top-color: var(--gold); }
.cc-previsto, .cc-aguardando { border-top-color: #94a3b8; }
.cc-card.is-urgent { border-top-color: var(--err); }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.cc-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--cc, var(--brand)); background: color-mix(in srgb, var(--cc, var(--brand)) 10%, #fff); border-radius: 999px; padding: .15rem .55rem; }
.cc-uf { font-size: .74rem; font-weight: 800; color: #475569; border: 1px solid #e2e8f0; border-radius: 6px; padding: .05rem .4rem; }
.cc-title { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin: 0; }
.cc-org { font-size: .85rem; color: #5a6b82; margin: .1rem 0 .7rem; }
.cc-count { display: flex; align-items: center; gap: .65rem; background: var(--mint); border-radius: var(--r); padding: .55rem .75rem; margin-bottom: .7rem; }
.cc-count b { font-size: 1.9rem; line-height: 1; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.cc-count span { font-size: .84rem; font-weight: 700; color: var(--brand-2); line-height: 1.2; }
.cc-aberto .cc-count { background: #e9f6ee; } .cc-aberto .cc-count b, .cc-aberto .cc-count span { color: #1f6b43; }
.cc-prova .cc-count { background: var(--gold-soft); } .cc-prova .cc-count b, .cc-prova .cc-count span { color: var(--gold-dark); }
.is-urgent .cc-count { background: #fdecec; } .is-urgent .cc-count b, .is-urgent .cc-count span { color: #a23a37; }
.cc-count-txt i { font-size: 1.2rem; color: var(--brand-3); }
.cc-count-txt span { color: var(--brand); }
.cc-facts { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .84rem; color: #334155; }
.cc-facts i { color: var(--brand-3); }
.cc-dates { font-size: .8rem; color: #64748b; margin: 0 0 .7rem; }
.cc-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.cc-link { font-size: .82rem; font-weight: 600; text-decoration: none; }
.cc-note { font-size: .82rem; color: #64748b; margin: 1rem 0 0; }
.cc-page { padding: 1.5rem 0 3rem; }
.cc-filter { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cc-jump { display: flex; gap: .4rem; flex-wrap: wrap; }
.cc-jump a { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--mint-2); background: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .86rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.cc-jump a span { color: var(--brand-2); }
.cc-uf-sel { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 700; color: var(--brand); }
.cc-esf { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--mint-2); background: #fff; }
.cc-esf button { border: 0; background: none; padding: .38rem .8rem; font-size: .84rem; font-weight: 700; color: var(--brand); }
.cc-esf button + button { border-left: 1px solid var(--mint-2); }
.cc-esf button span { color: #8090a6; font-weight: 600; margin-left: .15rem; }
.cc-esf button.is-on { background: var(--brand); color: #fff; } .cc-esf button.is-on span { color: var(--gold); }
.cc-uf i { font-size: .72rem; }
.cc-muni-lead { color: #475569; margin: -.3rem 0 .9rem; font-size: .92rem; }
.cc-muni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; align-items: start; }
.cc-muni-uf { background: #fff; border: 1px solid #dae3f0; }
.cc-muni-uf h3 { margin: 0; padding: .6rem .85rem; font-size: 1rem; font-weight: 800; color: #fff; background: var(--brand); display: flex; justify-content: space-between; align-items: baseline; }
.cc-muni-uf h3 span { font-size: .78rem; font-weight: 600; color: var(--gold); }
.cc-muni-uf ul { list-style: none; margin: 0; padding: 0; }
.cc-muni-uf li + li { border-top: 1px solid #e6edf6; }
.cc-muni-uf a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .6rem; padding: .55rem .85rem; text-decoration: none; color: inherit; }
.cc-muni-uf a:hover { background: #f5f8fc; }
.cc-muni-uf b { color: var(--brand); font-size: .95rem; }
.cc-muni-uf a span { grid-column: 1; font-size: .78rem; color: #64748b; }
.cc-muni-uf em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .74rem; font-weight: 700; color: #475569; text-align: right; max-width: 9.5rem; }
.cc-muni-uf em.cc-aberto, .cc-muni-uf em.cc-abre { color: #15803d; } .cc-muni-uf em.cc-prova { color: var(--brand-2); }
.cc-uf-sel select { width: auto; min-width: 7.5rem; }
.cc-sec { margin-bottom: 2rem; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.cc-sec h2 { font-size: 1.25rem; font-weight: 800; color: var(--brand); margin: 0 0 .8rem; display: flex; align-items: center; gap: .45rem; }
.cc-sec h2 span { font-size: .8rem; background: var(--mint); color: var(--brand-2); border-radius: 999px; padding: .1rem .55rem; }
.cc-none { color: #64748b; font-size: .9rem; }
.cc-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: 1.1rem 1.3rem; margin-top: 1.5rem; }
.cc-cta b { display: block; font-size: 1.05rem; }
.cc-cta span { display: block; color: #cbd5e1; font-size: .9rem; }
@media (max-width: 767.98px) {
  .cc-home { padding: 1.4rem 0 .2rem; }
  .cc-grid { grid-template-columns: 1fr; }
  .cc-count b { font-size: 1.6rem; }
}


/* comentário do artigo de lei */
.lx-cmt { background: #fff; border: 1px solid var(--mint-2); border-left: 4px solid var(--gold); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.lx-cmt h2 { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin: 0 0 .6rem; display: flex; align-items: center; gap: .45rem; }
.lx-cmt h2 i { color: var(--gold-dark); }
.lx-cmt h3 { font-size: .95rem; font-weight: 800; color: var(--brand); margin: .9rem 0 .4rem; }
.lx-cmt-sum { margin: 0; color: #1c2a3d; }
.lx-cmt ul { margin: 0; padding-left: 1.2rem; }
.lx-cmt li { margin-bottom: .3rem; }
.lx-cmt-trap, .lx-cmt-ex { border-radius: var(--r); padding: .65rem .85rem; margin-top: .8rem; }
.lx-cmt-trap { background: #fdf3e2; }
.lx-cmt-trap b { color: #8a4b00; }
.lx-cmt-ex { background: var(--mint); }
.lx-cmt-ex b { color: var(--brand-2); }
.lx-cmt-trap p, .lx-cmt-ex p { margin: .25rem 0 0; }
.lx-cmt-note { font-size: .78rem; color: #64748b; margin: .9rem 0 0; }

/* links para continuar estudando (página do artigo) e mais cobrados (/leis) */
.lx-rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.lx-rel section { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem 1.1rem; }
.lx-rel h2 { font-size: 1rem; font-weight: 800; color: var(--brand); margin: 0 0 .55rem; display: flex; align-items: center; gap: .4rem; }
.lx-rel ul { list-style: none; margin: 0; padding: 0; }
.lx-rel li + li { border-top: 1px solid var(--mint); }
.lx-rel a, .lx-top-list a { display: block; padding: .4rem 0; color: #1c2a3d; text-decoration: none; line-height: 1.35; }
.lx-rel a:hover b, .lx-top-list a:hover b { text-decoration: underline; }
.lx-rel b, .lx-top-list b { color: var(--brand); }
.lx-rel span, .lx-top-list span { color: #5a6b82; font-size: .88rem; }
.lx-rel small, .lx-top-list small { display: inline-block; margin-left: .3rem; color: #8a4b00; font-weight: 700; font-size: .75rem; }
.lx-top-list { columns: 2 300px; column-gap: 1.5rem; margin: 0; padding-left: 1.4rem; }
.lx-top-list li { break-inside: avoid; }

/* planos: linha do pagamento e "Também no Aprova na Prova" (simulados grátis e loja) */
.plans-pay { color: #5a677a; font-size: .92rem; margin: 1.4rem auto 0; max-width: 760px; }
.plans-pay i { color: var(--brand-2); margin-right: .2rem; }
.plans-more-h { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin: 2.2rem 0 .9rem; text-align: center; }
.plans-extra { display: flex; align-items: center; gap: .9rem; height: 100%; background: #fff; border: 1px solid #dae3f0; border-radius: var(--r-lg); padding: 1rem 1.2rem; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.plans-extra:hover { border-color: var(--brand-2); box-shadow: 0 4px 10px rgba(11,42,74,.06); }
.plans-extra > i:first-child { font-size: 1.7rem; color: var(--brand-2); }
.plans-extra b { display: block; color: var(--brand); font-size: 1rem; }
.plans-extra span { display: block; color: #5a677a; font-size: .88rem; line-height: 1.45; margin-top: .15rem; }
.plans-extra small { display: block; color: var(--brand-2); font-weight: 700; font-size: .8rem; margin-top: .35rem; }
.plans-extra .bi-chevron-right { color: #9aa6b8; }

/* página de cada concurso (/concursos/{id}-{nome}) */
.cp-hero { background: #fff; border-top: 4px solid var(--brand); padding: 1.4rem 0 1.5rem; margin-top: -1.5rem; }
.cp-crumb { color: #64748b; margin-bottom: .7rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.cp-crumb a { color: var(--brand-2); font-weight: 600; text-decoration: none; }
.cp-crumb .bi { font-size: .7rem; }
.cp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem 2.5rem; align-items: center; }
.cp-hero h1 { font-weight: 800; color: var(--brand); font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.015em; }
.cp-hero-txt p { color: #475569; margin: 0; max-width: 40rem; }
.cp-hero-txt p b { color: #334155; }
.cp-status { display: flex; flex-direction: column; gap: .6rem; background: #f8fafc; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: .9rem; }
.cp-count { display: flex; align-items: center; gap: .7rem; background: var(--mint); border-radius: var(--r); padding: .65rem .85rem; }
.cp-count b { font-size: 2.1rem; line-height: 1; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.cp-count span { font-weight: 700; color: var(--brand-2); line-height: 1.25; font-size: .92rem; }
.cp-count .bi { font-size: 1.4rem; color: var(--brand-3); }
.cp-count.cc-aberto { background: #e9f6ee; } .cp-count.cc-aberto b, .cp-count.cc-aberto span { color: #1f6b43; }
.cp-count.cc-prova { background: var(--gold-soft); } .cp-count.cc-prova b, .cp-count.cc-prova span { color: var(--gold-dark); }
.cp-status .btn { white-space: nowrap; }
.cp-official { align-self: center; font-size: .85rem; font-weight: 600; color: var(--brand-2); text-decoration: none; }
.cp-official:hover { text-decoration: underline; }
@media (max-width: 991.98px) { .cp-hero-grid { grid-template-columns: 1fr; gap: 1rem; } .cp-status { max-width: 420px; } }

/* menu de seções logo abaixo do topo */
.cp-nav { background: #fff; border-top: 1px solid #eef2f7; border-bottom: 1px solid var(--mint-2); }
.cp-nav .container { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding-top: .45rem; padding-bottom: .45rem; }
.cp-nav .container::-webkit-scrollbar { display: none; }
.cp-nav a { flex: none; font-size: .86rem; font-weight: 700; color: #475569; text-decoration: none; border-radius: 999px; padding: .35rem .8rem; }
.cp-nav a:hover { background: var(--mint); color: var(--brand); }

.cp-page { padding-top: 1.5rem; padding-bottom: 3rem; }
.cp-page [id] { scroll-margin-top: 84px; }

/* ficha: uma faixa só, rótulo com ícone na mesma linha e o valor embaixo */
.cp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); margin-bottom: 2.2rem; overflow: hidden; }
.cp-fact { display: flex; flex-direction: column; gap: .3rem; padding: .85rem 1rem; border-left: 1px solid #eef2f7; min-width: 0; }
.cp-fact:first-child { border-left: 0; }
.cp-fact-l { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.cp-fact-l .bi { font-size: .95rem; color: var(--brand-3); }
.cp-fact b { color: var(--brand); font-size: 1rem; line-height: 1.3; }
@media (max-width: 575.98px) {
  .cp-facts { grid-template-columns: 1fr 1fr; }
  .cp-fact { border-left: 0; border-top: 1px solid #eef2f7; }
  .cp-fact:nth-child(-n+2) { border-top: 0; }
  .cp-fact:nth-child(even) { border-left: 1px solid #eef2f7; }
  .cp-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cp-fact b { font-size: .95rem; }
}

/* seções */
.cp-sec { margin: 0 0 2.4rem; }
.cp-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.cp-sec-h h2 { font-size: clamp(1.2rem, 2.3vw, 1.45rem); font-weight: 800; color: var(--brand); margin: 0; }
.cp-more { flex: none; font-size: .88rem; font-weight: 700; color: var(--brand-2); text-decoration: none; white-space: nowrap; }
.cp-more:hover { text-decoration: underline; }
.cp-lead { color: #5a6b82; margin: 0 0 1rem; max-width: 46rem; }
.cp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .85rem; }
.cp-chips span { color: #64748b; font-weight: 600; margin-right: .2rem; }
.cp-chips a { background: #fff; border: 1px solid var(--mint-2); border-radius: 999px; padding: .25rem .7rem; color: var(--brand); text-decoration: none; }
.cp-chips a:hover { border-color: var(--brand-3); }
.cp-box { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.cp-box h3 { font-size: 1rem; font-weight: 800; color: var(--brand); display: flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; }
.cp-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cp-bars li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; font-size: .9rem; color: #334155; }
.cp-bars b { color: var(--brand); }
.cp-bars i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); }
.cp-laws li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid #eef2f7; break-inside: avoid; }
.cp-laws li:first-child { border-top: 0; }
.cp-laws a { text-decoration: none; color: var(--brand); min-width: 0; }
.cp-laws a span { color: #64748b; font-size: .85rem; }
.cp-laws em { flex: none; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--brand-2); background: var(--mint); border-radius: 999px; padding: .1rem .55rem; white-space: nowrap; }
@media (min-width: 768px) {
  .cp-bars.is-wide, .cp-laws.is-wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .cp-laws.is-wide li:nth-child(2) { border-top: 0; }
}
.cp-faq details { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r); padding: .75rem 1rem; margin-top: .5rem; }
.cp-faq summary { font-weight: 700; color: var(--brand); cursor: pointer; }
.cp-faq details p { margin: .5rem 0 0; color: #475569; }

/* outros concursos: lista compacta */
.cp-related { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; }
.cp-related a { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r); padding: .65rem .85rem; text-decoration: none; height: 100%; }
.cp-related a:hover { border-color: var(--brand-3); }
.cp-related b { color: var(--brand); font-size: 1rem; }
.cp-related span { color: #64748b; font-size: .84rem; }
.cp-related em { margin-top: .25rem; font-style: normal; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: .1rem .55rem; background: #eef2f7; color: #475569; white-space: nowrap; }
.cp-related em.cc-aberto { background: #e9f6ee; color: #1f6b43; }
.cp-related em.cc-prova { background: var(--gold-soft); color: var(--gold-dark); }
.cc-title a { color: inherit; text-decoration: none; }
.cc-title a:hover { text-decoration: underline; }

/* questões de amostra sem gabarito (página da prova e do concurso) */
.sq-card { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--r-lg); padding: 1rem 1.15rem; margin-bottom: .9rem; }
.sq-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .6rem; font-size: .8rem; }
.sq-num { font-weight: 800; color: var(--brand); }
.sq-subject { background: var(--mint); color: var(--brand-2); font-weight: 700; border-radius: 999px; padding: .1rem .55rem; }
.sq-exam { color: #64748b; text-decoration: none; }
.sq-exam:hover { text-decoration: underline; }
.sq-card .statement { color: #1e293b; }
.sq-alts { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .4rem; }
.sq-alts li { display: flex; gap: .6rem; align-items: flex-start; border: 1px solid #e2e8f0; border-radius: var(--r); padding: .5rem .7rem; color: #334155; }
.sq-alts b { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--brand); font-size: .85rem; }
.sq-ce { display: flex; gap: .5rem; margin: 0 0 .8rem; }
.sq-ce span { border: 1px solid #e2e8f0; border-radius: var(--r); padding: .4rem 1.1rem; font-weight: 700; color: #334155; }
.sq-foot { display: flex; align-items: center; gap: .4rem .8rem; flex-wrap: wrap; border-top: 1px solid #eef2f7; padding-top: .7rem; }
.sq-more { margin-top: .2rem; }
.sq-more > summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-weight: 700; color: var(--brand-2); background: #fff; border: 1px solid var(--mint-2); border-radius: 999px; padding: .4rem .95rem; margin-bottom: .9rem; list-style: none; }
.sq-more > summary::-webkit-details-marker { display: none; }
.sq-more > summary::before { content: "\F282"; font-family: bootstrap-icons; font-size: .8rem; transition: transform .2s; }
.sq-more[open] > summary::before { transform: rotate(180deg); }

/* loja: cartão de material (vitrine e "Outros materiais"), preço em destaque, compra direta */
.st-trust { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #dae3f0; color: #334155; font-size: .86rem; }
.st-trust li { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; line-height: 1.3; } .st-trust li + li { border-left: 1px solid #e6edf6; } .st-trust i { color: var(--gold-dark); font-size: 1.25rem; flex: 0 0 auto; }
.st-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.st-grid > li { display: flex; }
.st-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #dae3f0; transition: border-color .18s, box-shadow .18s, transform .18s; }
.st-card:hover { border-color: var(--brand-2); box-shadow: 0 10px 28px rgba(11,42,74,.10); transform: translateY(-2px); }
.st-card.is-owned { border-color: #86efac; }
.st-cover { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--brand); overflow: hidden; }
.st-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.st-card:hover .st-cover img { transform: scale(1.03); }
.st-badge { position: absolute; top: .6rem; left: .6rem; background: rgba(11,37,69,.88); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .55rem; }
.st-badge.is-owned { left: auto; right: .6rem; background: #166534; letter-spacing: .02em; text-transform: none; font-size: .72rem; }
.st-body { display: flex; flex-direction: column; flex: 1; padding: .95rem 1rem 1rem; }
.st-subject { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-dark); }
.st-title { font-size: 1.02rem; font-weight: 800; line-height: 1.28; margin: .25rem 0 .35rem; }
.st-title a { color: var(--brand); text-decoration: none; } .st-title a:hover { color: var(--brand-2); }
.st-text { color: #5a677a; font-size: .86rem; line-height: 1.45; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-chips { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.st-chips li { background: var(--mint); color: #33476a; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; }
.st-buyrow { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem .6rem; padding-top: .8rem; border-top: 1px solid #e6edf6; }
.st-buyrow .st-price { display: contents; }
.st-buyrow .st-price-note { grid-column: 1 / -1; order: 3; margin-top: 0; }
.st-amount { font-size: 1.5rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.st-amount small { font-size: .55em; font-weight: 800; margin-right: .15em; vertical-align: .55em; color: var(--brand-2); }
.st-price-note { font-size: .72rem; color: #6b7a90; margin-top: .3rem; line-height: 1.3; }
.st-buyform { margin: 0; flex: 0 0 auto; }
.st-btn { font-weight: 800; padding: .55rem 1rem; letter-spacing: .01em; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.st-btn:hover { filter: brightness(1.04); box-shadow: 0 6px 14px rgba(212,161,6,.32); }
.st-buyrow .st-btn { padding: .55rem .8rem; }
.st-card.is-owned .st-buyrow .st-btn { grid-column: 1 / -1; width: 100%; }
.st-more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; font-size: .82rem; font-weight: 700; color: var(--brand-2); text-decoration: none; }
.st-more:hover { text-decoration: underline; }
.st-grid-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* página do material: caixa de compra */
.st-buy { box-shadow: 0 10px 28px rgba(11,42,74,.08); }
.st-price-big { display: flex; flex-direction: column; margin-bottom: .9rem; }
.st-price-big .st-amount { font-size: 2.6rem; }
.st-price-big .st-price-note { font-size: .85rem; }
@media (max-width: 767.98px) { .st-price-big .st-amount { font-size: 2.1rem; } }
.st-guarantees { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .45rem; font-size: .85rem; color: #475569; }
.st-guarantees li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4; } .st-guarantees i { color: #16a34a; font-size: 1rem; line-height: 1.3; }
/* loja: kits (combos) — preço "de" riscado, desconto, o que vem no kit, oferta do kit na página da apostila */
.st-card.is-kit { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.st-badge.is-save { left: auto; right: .6rem; background: var(--gold); color: var(--brand); font-size: .85rem; letter-spacing: 0; padding: .3rem .6rem; }
.st-was { font-size: .8rem; color: #8090a6; font-weight: 600; }
.st-buyrow .st-was { grid-column: 1 / -1; order: -1; margin-bottom: -.2rem; }
.st-was-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; } .st-was-row .st-was { font-size: .95rem; }
.st-save { background: var(--gold); color: var(--brand); font-weight: 800; font-size: .8rem; padding: .15rem .45rem; }
.st-kit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.st-kit li { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid #dae3f0; padding: .6rem .8rem .6rem .6rem; }
.st-kit li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-kit b { color: var(--brand); line-height: 1.25; font-size: .95rem; } .st-kit b a { color: inherit; text-decoration: none; } .st-kit b a:hover { color: var(--brand-2); }
.st-kit small { color: #6b7a90; font-size: .78rem; margin-top: .15rem; }
.st-kit-cover { flex: 0 0 54px; } .st-kit-cover img { width: 54px; height: auto; display: block; border: 1px solid #dae3f0; }
.st-kit-gift { height: 72px; display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--gold); font-size: 1.6rem; }
.st-kit li.is-bonus { border-color: var(--gold); background: #fffbeb; }
.st-kit-price { text-align: right; font-weight: 800; color: var(--brand); white-space: nowrap; font-size: .95rem; } .st-kit-price small { display: block; font-weight: 600; margin: 0; }
.st-kit-total { margin: .8rem 0 0; font-size: 1rem; color: #334155; } .st-kit-total s { color: #8090a6; } .st-kit-total b { color: var(--brand); font-size: 1.15rem; }
.st-kit-owned { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .25rem; font-size: .88rem; } .st-kit-owned a { font-weight: 700; text-decoration: none; }
.st-upsell { display: flex; gap: .8rem; align-items: center; margin-top: .9rem; padding: .7rem .8rem; background: #fffbeb; border: 1px solid var(--gold); color: #334155; text-decoration: none; font-size: .88rem; line-height: 1.4; max-width: 520px; }
.st-upsell:hover { background: #fef3c7; color: #1e293b; } .st-upsell img { width: 48px; height: auto; flex: 0 0 48px; border: 1px solid #dae3f0; } .st-upsell b { color: var(--brand); } .st-upsell u { color: var(--brand-2); font-weight: 700; }
@media (max-width: 767.98px) { .st-kit { grid-template-columns: 1fr; } }
@media (max-width: 1199.98px) { .st-grid, .st-grid-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .st-buyrow { grid-template-columns: 1fr; } .st-buyrow .st-price-note { order: 2; } .st-buyform { order: 3; } .st-buyform .st-btn { width: 100%; }
  .st-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-trust li:nth-child(3) { border-left: 0; } .st-trust li:nth-child(n+3) { border-top: 1px solid #e6edf6; }
}
@media (max-width: 767.98px) { .st-grid, .st-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } }
@media (max-width: 575.98px) {
  .st-grid, .st-grid-sm { grid-template-columns: 1fr; gap: .8rem; }
  .st-card { flex-direction: row; align-items: flex-start; }
  /* capa inteira (3:4), sem esticar até a altura do cartão — esticada, o recorte comia o título da apostila */
  .st-cover { flex: 0 0 36%; aspect-ratio: 3 / 4; align-self: flex-start; }
  .st-body { padding: .75rem .8rem .8rem; }
  .st-text { -webkit-line-clamp: 2; font-size: .82rem; }
  .st-amount { font-size: 1.35rem; }
  .st-btn { padding: .5rem .8rem; }
  .st-more { margin-top: .5rem; }
  .st-trust { font-size: .8rem; } .st-trust li { padding: .55rem .6rem; gap: .4rem; }
  /* preço numa linha e o botão embaixo, na largura toda: lado a lado, o botão cobria os centavos */
  .st-buyrow { grid-template-columns: 1fr; } .st-buyrow .st-price-note { order: 2; } .st-buyform { order: 3; } .st-buyform .st-btn { width: 100%; }
}

/* fotos do meio policial (livres: CC0/domínio público, ver /assets/img/CREDITOS-fotos.txt) por trás dos topos azuis, com o azul por cima */
:root { --hero-photo: url(/assets/img/hero-policia.jpg); --hero-veil: linear-gradient(120deg, rgba(6,23,43,.93) 0%, rgba(11,42,74,.86) 50%, rgba(16,57,106,.80) 100%); }
.hx-hero, .h-hero, .sl-hero, .st-hero, .lx-lib-hero, .pl-hero, .app-hero, .h-band {
  background: var(--hero-veil), var(--hero-photo) center 35% / cover no-repeat, #0b2a4a; }
.h-band { background-position: center, center 40%; }
/* página da carreira (/provas/policia-militar…): foto da carreira no topo */
.exams-hero.is-photo { background: var(--hero-veil), var(--hero-photo) center / cover no-repeat, #0b2a4a; color: #fff; }
.exams-hero.is-photo .exams-title { color: #fff; }
.exams-hero.is-photo .exams-sub { color: #d6e0ef; }
.exams-hero.is-photo .exams-count span { color: #d6e0ef; } .exams-hero.is-photo .exams-count b { color: var(--gold); }
.exams-hero.is-photo .btn-light-brand { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.exams-hero.is-photo .btn-light-brand:hover { background: rgba(255,255,255,.1); color: #fff; }
.exams-hero.is-photo .exam-search { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
/* plano de estudos: outra foto (formação de policiais) na apresentação, no painel e na seção da home */
.pl-hero, .pl-dash-hero, .h-planner { background: var(--hero-veil), url(/assets/img/hero-estudo.jpg) center 30% / cover no-repeat, #0b2a4a; }
@media print { .hx-hero, .h-hero, .sl-hero, .st-hero, .lx-lib-hero, .pl-hero, .app-hero, .h-band, .h-planner, .exams-hero.is-photo { background-image: none !important; } }

/* radar de concursos: topo escuro com foto (viatura à noite), para contrastar com os cartões claros */
.sm-hero.cc-hero { background: var(--hero-veil), url(/assets/img/hero-concursos.jpg) center 55% / cover no-repeat, #0b2a4a; border-top: 0; border-bottom: 4px solid var(--gold); padding: 2.6rem 0 2.3rem; }
.cc-hero h1 { color: #fff; }
.cc-hero .sm-kicker { color: var(--gold); }
.sm-hero.cc-hero > .container > p { color: #d6e0ef; }
@media print { .sm-hero.cc-hero { background: #fff !important; } .cc-hero h1 { color: var(--brand); } }

/* radar: foto bem suave (quase transparente) por trás dos cartões, parada enquanto a página rola */
.cc-bg { background: linear-gradient(180deg, rgba(244,247,251,.90) 0%, rgba(244,247,251,.95) 40%, rgba(244,247,251,.97) 100%),
  url(/assets/img/fundo-radar.jpg) center 30% / cover fixed no-repeat, #f4f7fb; margin-bottom: -1.5rem; padding: 1.6rem 0 2.5rem; }
.cc-bg .cc-page { margin-top: 0; }
.cc-bg .cc-card, .cc-bg .cc-muni-uf { box-shadow: 0 4px 14px rgba(11,42,74,.06); }
@media (max-width: 991.98px) { .cc-bg { background-attachment: scroll, scroll; } }
@media print { .cc-bg { background: none; } }

/* ===== fotos do meio policial nas demais páginas ===== */
/* fundo claro: foto quase transparente, parada ao rolar (no celular, só a cor) */
body.pg-bg { background: linear-gradient(180deg, rgba(244,247,252,.92) 0%, rgba(244,247,252,.96) 45%, rgba(244,247,252,.97) 100%),
  var(--page-photo) center 25% / cover fixed no-repeat, #f4f7fc; }
@media (max-width: 991.98px) { body.pg-bg { background: #f4f7fc; } }
@media print { body.pg-bg { background: #fff; } }
/* topos que eram claros: agora escuros, com foto por trás do azul */
.page-hero, .sm-hero:not(.cc-hero), .lx-hero, .cp-hero { color: #fff; border-top: 0; border-bottom: 4px solid var(--gold);
  background: var(--hero-veil), var(--hero-photo) center 40% / cover no-repeat, #0b2a4a; }
.page-hero { --hero-photo: url(/assets/img/hero-paginas.jpg); }
.sm-hero:not(.cc-hero) { --hero-photo: url(/assets/img/hero-simulados.jpg); }
.lx-hero { --hero-photo: url(/assets/img/hero-leis.jpg); border-top: 4px solid var(--ac, var(--gold)); }
.cp-hero { --hero-photo: url(/assets/img/hero-concursos.jpg); }
.page-hero h1, .sm-hero h1, .lx-hero h1, .cp-hero h1 { color: #fff; }
.page-hero .text-body-secondary { color: #d6e0ef !important; }
.page-hero-icon { background: rgba(255,255,255,.08); border-color: rgba(245,183,0,.55); color: var(--gold); }
.sm-hero .sm-kicker, .cp-hero .sm-kicker, .lx-hero .lx-h1-num { color: var(--gold); }
.sm-hero > .container > p, .sm-hero .sm-sub, .sm-hero .sm-note, .lx-short, .lx-hero .lx-ementa, .cp-hero-txt p { color: #d6e0ef; }
.cp-hero-txt p b { color: #fff; }
.sm-hero .sm-note a { color: var(--gold-2); }
.sm-hero .sm-note.is-ok { color: #86efac; }
.sm-hero .lx-crumb, .lx-hero .lx-crumb, .cp-crumb { color: #b8c6dc; }
.sm-hero .lx-crumb a, .lx-hero .lx-crumb a, .cp-crumb a { color: var(--gold-2); }
.sm-hero .sm-facts span, .lx-hero .lx-facts span { background: rgba(255,255,255,.1); color: #fff; }
.sm-hero .sm-facts span.is-ok { background: rgba(34,197,94,.22); color: #bbf7d0; }
.lx-hero .lx-facts span.is-warn { background: rgba(245,183,0,.2); color: var(--gold-2); }
.sm-hero .btn-light-brand, .lx-hero .btn-light-brand { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.sm-hero .btn-light-brand:hover, .lx-hero .btn-light-brand:hover { background: rgba(255,255,255,.1); color: #fff; }
.cp-status { background: rgba(255,255,255,.96); }
@media print { .page-hero, .sm-hero, .lx-hero, .cp-hero { background: #fff !important; color: var(--brand) !important; } .page-hero h1, .sm-hero h1, .lx-hero h1, .cp-hero h1 { color: var(--brand) !important; } }

/* planos (Free e Total): cartão com a logo, preço, botão e a lista completa do que está incluído */
.pl2-row { margin-top: .25rem; }
.pl2 { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #d7e0ec; box-shadow: 0 1px 2px rgba(11,42,74,.04); }
.pl2.is-total { border-color: var(--brand); box-shadow: 0 10px 28px rgba(11,42,74,.12); }
.pl2-head { padding: 1.4rem 1.5rem 1.25rem; border-bottom: 1px solid #e6ecf4; }
.pl2.is-total .pl2-head { background: var(--brand); color: #fff; border-bottom-color: var(--brand); }
.pl2-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.pl2-brand img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.pl2-brand h3 { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.15; color: var(--brand); }
.pl2.is-total .pl2-brand h3 { color: #fff; }
.pl2-brand span { display: block; font-size: .82rem; color: #5b6b80; }
.pl2.is-total .pl2-brand span { color: #b9c7da; }
.pl2-mine { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 700; padding: .2rem .5rem; border: 1px solid currentColor; color: var(--brand-2); white-space: nowrap; }
.pl2.is-total .pl2-mine { color: var(--gold); }
.pl2-old { font-size: .85rem; margin-bottom: .2rem; } .pl2-old span { color: var(--gold-dark); font-weight: 600; }
.pl2.is-total .pl2-old, .pl2.is-total .pl2-old span { color: var(--gold-2); }
.pl2-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem; line-height: 1; }
.pl2-price .cur { font-size: 1rem; font-weight: 700; }
.pl2-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.pl2-price .per { font-size: .9rem; color: #5b6b80; margin-left: .25rem; }
.pl2.is-total .pl2-price .per { color: #b9c7da; }
.pl2-note { font-size: .8rem; color: #5b6b80; margin: .55rem 0 1.1rem; min-height: 2.4em; }
.pl2.is-total .pl2-note { color: #b9c7da; }
.pl2-cta .btn { padding: .7rem 1rem; }
.pl2-body { padding: 1.25rem 1.5rem 1.4rem; flex: 1; }
.pl2-body h4 { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5b6b80; margin: 0 0 .75rem; }
.pl2-body ul { list-style: none; margin: 0; padding: 0; }
.pl2-body li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.35; padding: .42rem 0; border-top: 1px solid #f0f3f8; color: #1d2b3c; }
.pl2-body li:first-child { border-top: 0; }
.pl2-body li i { color: var(--brand-2); font-size: 1rem; line-height: 1.25; flex: none; }
.pl2-body li.off { color: #98a4b3; } .pl2-body li.off i { color: #b3bdca; font-size: .9rem; }
.pl2-pay { padding: .7rem 1.5rem; border-top: 1px solid #e6ecf4; font-size: .78rem; color: #5b6b80; }
.pl2-pay i { color: var(--ok); }
@media (max-width: 575.98px) {
  .pl2-head { padding: 1.1rem 1.1rem 1rem; } .pl2-body { padding: 1rem 1.1rem 1.1rem; } .pl2-pay { padding: .6rem 1.1rem; }
  .pl2-price .amount { font-size: 2.2rem; } .pl2-body li { font-size: .88rem; padding: .36rem 0; }
}

/* ===== Ranking (rk-*) — cantos retos, sem pílulas ===== */
.rk { max-width: 760px; }
.rk-head { margin-bottom: 1rem; }
.rk-tabs { display: flex; border: 1px solid #d4e0f3; margin-bottom: 1rem; background: #fff; }
.rk-tabs a { flex: 1; text-align: center; padding: .55rem .4rem; font-weight: 600; font-size: .92rem; color: var(--brand); text-decoration: none; border-left: 1px solid #d4e0f3; }
.rk-tabs a:first-child { border-left: 0; }
.rk-tabs a.active { background: var(--brand); color: #fff; }
.rk-me { display: flex; align-items: stretch; gap: 0; background: var(--brand); color: #fff; margin-bottom: 1rem; }
.rk-me > div { flex: 1; padding: .8rem 1rem; border-left: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: center; }
.rk-me > div:first-child { border-left: 0; }
.rk-me b { font-size: 1.6rem; line-height: 1.1; font-weight: 800; }
.rk-me small { font-size: .74rem; opacity: .8; }
.rk-me-pos b { color: var(--gold); }
.rk-me-off { background: var(--mint); color: var(--brand); padding: .8rem 1rem; gap: .6rem; align-items: center; font-size: .92rem; }
.rk-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #dae3f0; }
.rk-list li { display: grid; grid-template-columns: 3.4rem 1fr 5.2rem 4.6rem; align-items: center; gap: .5rem; padding: .6rem .9rem; border-top: 1px solid #edf1f6; }
.rk-list li:first-child { border-top: 0; }
.rk-pos { font-weight: 800; color: #74859a; white-space: nowrap; }
.rk-pos i { margin-right: .2rem; font-size: .9rem; }
.rk-top1 .rk-pos, .rk-top1 .rk-pos i { color: var(--gold-dark); }
.rk-top2 .rk-pos i { color: #8a97a8; } .rk-top3 .rk-pos i { color: #a0683a; }
.rk-top .rk-pos { color: var(--brand); }
.rk-name { font-weight: 600; color: var(--brand); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-name em { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--gold-dark); margin-left: .3rem; }
.rk-n, .rk-p { text-align: right; line-height: 1.15; }
.rk-n b { font-size: 1.05rem; color: var(--brand); }
.rk-p { font-weight: 600; color: #3d4f66; font-size: .9rem; }
.rk-n small, .rk-p small { display: block; font-size: .7rem; color: #74859a; font-weight: 400; }
.rk-mine { background: var(--gold-soft); }
.rk-empty { background: #fff; border: 1px solid #dae3f0; padding: 1.2rem; color: #74859a; text-align: center; }
@media (max-width: 575.98px) {
  .rk-list li { grid-template-columns: 2.6rem 1fr 4.2rem 3.8rem; padding: .5rem .6rem; gap: .35rem; }
  .rk-pos { font-size: .88rem; } .rk-pos i { display: none; }
  .rk-name { font-size: .9rem; } .rk-n b { font-size: .95rem; } .rk-p { font-size: .82rem; }
  .rk-me > div { padding: .6rem .7rem; } .rk-me b { font-size: 1.3rem; }
  .rk-tabs a { font-size: .85rem; padding: .5rem .2rem; }
}

/* ===== Sininho de avisos (bell-*) e página /avisos (av-*) — cantos retos ===== */
.bell { position: relative; }
.bell-btn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0; font-size: 1.15rem; }
.bell-btn.is-site { background: transparent; color: rgba(255,255,255,.88); }
.bell-btn.is-site:hover, .bell-btn.is-site[aria-expanded="true"] { background: rgba(255,255,255,.13); color: #fff; }
.bell-btn.is-app { background: var(--mint); color: var(--brand); }
.bell-btn.is-app:hover, .bell-btn.is-app[aria-expanded="true"] { background: var(--mint-2); }
.bell-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; background: #e5484d; color: #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.bell-menu { width: min(340px, calc(100vw - 24px)); padding: 0; border: 1px solid #dae3f0; box-shadow: 0 14px 34px rgba(11,42,74,.18); }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; border-bottom: 1px solid #edf1f6; color: var(--brand); }
.bell-head a { font-size: .82rem; font-weight: 600; text-decoration: none; }
.bell-list { max-height: min(60vh, 420px); overflow-y: auto; }
.bell-empty { padding: 1.2rem .9rem; text-align: center; color: #74859a; font-size: .88rem; }
.bell-push { padding: .7rem .9rem .8rem; background: #f6f9fd; border-top: 1px solid #edf1f6; }
.bell-push small { display: block; font-size: .78rem; color: #3d4f66; line-height: 1.35; }
.av { max-width: 760px; }
.av-push { display: flex; align-items: center; gap: .8rem; background: var(--brand); color: #fff; padding: .85rem 1rem; margin-bottom: 1rem; }
.av-push > i { font-size: 1.5rem; color: var(--gold); }
.av-push b { display: block; }
.av-push small { display: block; font-size: .8rem; opacity: .9; }
.av-push .btn-link { color: #fff; font-size: .78rem; }
.av-push .text-muted { color: rgba(255,255,255,.7) !important; }
.av-list { background: #fff; border: 1px solid #dae3f0; }
.av-top { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.av-top b { color: var(--brand); }
.av-top small { color: #8a97a8; white-space: nowrap; font-size: .76rem; }
.av-link { display: inline-block; margin-top: .4rem; font-size: .86rem; font-weight: 600; text-decoration: none; }
.av-empty { background: #fff; border: 1px solid #dae3f0; padding: 1.2rem; color: #74859a; text-align: center; }
@media (max-width: 575.98px) {
  .bell-btn { width: 38px; height: 38px; }
  .bell-menu { position: fixed !important; left: 12px !important; right: 12px !important; top: 58px !important; transform: none !important; width: auto; }
  .av-push { flex-wrap: wrap; } .av-push > div:last-child { width: 100%; align-items: stretch !important; }
}

/* ===== Ajuda à mão: informar erro na questão, suporte no sininho e no "Mais" ===== */
.q-report-btn { white-space: nowrap; font-weight: 600; }
.q-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .9rem; margin-top: 1rem; padding: .65rem .85rem; background: #f6f9fd; border: 1px solid #e3eaf4; font-size: .85rem; color: #3d4f66; }
.q-help i { color: var(--brand-2); }
.q-help a { font-weight: 700; }
.q-help-sup { text-decoration: none; white-space: nowrap; }
.bell-help { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .9rem; border-top: 1px solid #edf1f6; color: #3d4f66; text-decoration: none; font-size: .8rem; line-height: 1.35; }
.bell-help:hover { background: #f6f9fd; }
.bell-help > i { color: var(--brand-2); font-size: 1.05rem; line-height: 1.2; }
.bell-help b { color: var(--brand); }
.more-help { display: flex; align-items: center; gap: .75rem; margin: 0 0 .6rem; padding: .75rem .9rem; background: var(--brand); color: #fff; text-decoration: none; }
.more-help > i:first-child { font-size: 1.35rem; color: var(--gold); }
.more-help span { flex: 1; min-width: 0; }
.more-help b { display: block; }
.more-help small { display: block; font-size: .78rem; color: rgba(255,255,255,.78); }
.more-help em { font-style: normal; font-size: .7rem; font-weight: 800; background: #e5484d; color: #fff; padding: .15rem .45rem; }
@media (max-width: 575.98px) { .q-help { font-size: .82rem; } .q-help-sup { width: 100%; } }

/* Sininho e avisos: lista por tipo + modal do aviso (v102) */
.bell-menu { width: min(380px, calc(100vw - 24px)); }
.bell-head { gap: .5rem; }
.bell-head b { font-size: 1rem; }
.bell-head a { margin-left: auto; }
.bell-new { font-size: .72rem; font-weight: 700; color: var(--gold-dark); background: var(--gold-soft); padding: .1rem .4rem; }
.bell-list { max-height: min(62vh, 460px); }
.bell-item, .av-item { display: flex; gap: .7rem; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #edf1f6; padding: .7rem .9rem; color: inherit; text-decoration: none; cursor: pointer; font: inherit; }
.av-item { padding: .9rem 1rem; }
.bell-item:hover, .av-item:hover { background: #f6f9fd; }
.bell-item:focus-visible, .av-item:focus-visible { outline: 2px solid var(--brand-2); outline-offset: -2px; }
.bell-item.is-new, .av-item.is-new { background: #fffbea; }
.ai-ic { flex: none; width: 32px; height: 32px; display: inline-grid; place-items: center; font-size: 1rem; background: #e9eff8; color: var(--brand); }
.k-compra .ai-ic, .aviso-modal.k-compra .am-ic { background: var(--gold-soft); color: var(--gold-dark); }
.k-erro .ai-ic, .aviso-modal.k-erro .am-ic { background: #fdecec; color: #c0262d; }
.k-venda .ai-ic, .aviso-modal.k-venda .am-ic { background: #e5f4ea; color: #1d7a45; }
.k-suporte .ai-ic { background: var(--mint); color: var(--brand-2); }
.ai-main { min-width: 0; flex: 1; display: block; }
.ai-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .7rem; line-height: 1.2; }
.ai-kind { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6a7a8f; }
.ai-when { color: #8a97a8; white-space: nowrap; }
.is-new .ai-kind::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .35rem .1em 0; background: var(--gold-dark); vertical-align: middle; }
.ai-title { display: block; margin-top: .15rem; font-weight: 700; font-size: .9rem; color: var(--brand); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .1rem; font-size: .82rem; color: #4a5b71; line-height: 1.35; }
.av-item .ai-title { white-space: normal; font-size: .98rem; }
.av-item .ai-body { -webkit-line-clamp: 3; font-size: .88rem; }
.av-item .ai-ic { width: 38px; height: 38px; font-size: 1.15rem; }
.bell-item template, .av-item template { display: none; }
.bell-empty { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.6rem .9rem; }
.bell-empty i { font-size: 1.5rem; color: #b4c0d0; }
.bell-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; padding: .55rem .9rem; border-top: 1px solid #edf1f6; background: #f6f9fd; font-size: .8rem; }
.bell-foot > a { color: var(--brand-2); font-weight: 600; text-decoration: none; }
.bell-foot > a i { margin-right: .2rem; }
.bell-push { display: contents; }
.bell-push button { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.bell-push-on { color: var(--gold-dark); }
.bell-push-off { color: #6a7a8f; font-weight: 500 !important; }
.bell-push small { display: none; width: 100%; color: #4a5b71; line-height: 1.35; }
.bell-push[data-state="ios"] small, .bell-push[data-state="denied"] small { display: block; }
.bell-help { display: none; }
/* modal do aviso */
.aviso-modal .modal-content { border: 0; box-shadow: 0 18px 48px rgba(11,42,74,.28); }
.am-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem .2rem; }
.am-ic { flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; font-size: 1.2rem; background: #e9eff8; color: var(--brand); }
.am-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.am-kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6a7a8f; }
.am-when { font-size: .8rem; color: #8a97a8; }
.aviso-modal .modal-body { padding: .6rem 1.1rem 1rem; }
.am-title { font-size: 1.2rem; font-weight: 800; color: var(--brand); line-height: 1.3; margin: 0 0 .6rem; overflow-wrap: anywhere; }
.am-body { font-size: .95rem; color: #33415a; line-height: 1.6; overflow-wrap: anywhere; }
.am-body a { color: var(--brand-2); font-weight: 600; }
.am-foot { display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1.1rem 1rem; border-top: 1px solid #edf1f6; }
@media (max-width: 575.98px) {
  .aviso-modal .modal-dialog { margin: auto .6rem; }
  .am-foot { flex-direction: column-reverse; }
  .am-foot .btn { width: 100%; }
  .am-title { font-size: 1.1rem; }
}

/* Entrar: aviso dos Termos para quem cria a conta pelo botão do Google */
.g-terms { font-size: .78rem; color: #4a5b70; margin: .45rem 0 0; line-height: 1.35; }
