/* =============================================================================
   Assalariado — folha de estilos do site público
   Design tokens e componentes fiéis ao protótipo (prototype/Assalariado.dc.html)
   Mobile first · tema claro/escuro via html[data-theme]
   ============================================================================= */

:root {
  --bg: #F7F6F1;
  --surface: #FFFFFF;
  --surface2: #EFEDE4;
  --border: #E5E2D6;
  --text: #1A1F1A;
  --muted: #5F6A5F;
  --brand: #0F7B43;
  --brand-vivid: #16A34A;
  --brand-soft: #E5F5EB;
  --brand-btn: #0F7B43;
  --brand-btn-text: #FFFFFF;
  --money: #0F7B43;
  --money-soft: #E5F5EB;
  --warn: #B45309;
  --warn-soft: #FEF3E2;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 31, 26, .06);
  --shadow-md: 0 6px 20px rgba(26, 31, 26, .09);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #111611;
  --surface: #191F19;
  --surface2: #222B22;
  --border: #2F3A2F;
  --text: #EDF2ED;
  --muted: #98A698;
  --brand: #4ADE80;
  --brand-vivid: #22C55E;
  --brand-soft: #132A1B;
  --brand-btn: #22C55E;
  --brand-btn-text: #04240F;
  --money: #4ADE80;
  --money-soft: #132A1B;
  --warn: #FBBF24;
  --warn-soft: #2E2410;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }

/* O atributo hidden sempre vence, mesmo em elementos com display próprio
   (flex/grid) — sem isso, avisos e o banner de cookies não fecham. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}

a { color: var(--brand); }
a:hover { color: var(--brand-vivid); }
input[type="date"] { color-scheme: light dark; }

@keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; padding: 22px 0 56px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.container-article { max-width: 800px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 62px; display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand-name {
  font-family: var(--font-display); font-size: 21px; font-weight: 800;
  letter-spacing: -.04em; color: var(--text);
}
.brand-ia { color: var(--brand-btn); }
.header-spacer { flex: 1; }

.main-nav { display: none; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.nav-link:hover { background: var(--surface2); color: var(--text); }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.theme-toggle:hover { background: var(--surface2); color: var(--text); }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }

.mobile-nav {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 0 14px 10px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav-link {
  flex: none; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.mobile-nav-link:hover { color: var(--brand); border-color: var(--brand-vivid); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .mobile-nav { display: none; }
}

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 13px; border: none;
  background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--brand-btn); color: var(--brand-btn-text); box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.08); color: var(--brand-btn-text); }
.btn-outline { border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; }
.btn-outline:hover { border-color: var(--brand-vivid); color: var(--brand); }
.btn-lg { height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; }

/* ── Hero (home) ────────────────────────────────────────────────────────── */
.hero { padding: clamp(44px, 8vw, 80px) 20px 30px; }
.hero-inner {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.privacy-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13.5px; font-weight: 600;
}
.hero-title {
  margin: 0; font-family: var(--font-display); font-weight: 750;
  font-size: clamp(34px, 6.4vw, 56px); line-height: 1.05;
  letter-spacing: -.025em; text-wrap: balance;
}
.hero-highlight { color: var(--brand-vivid); }
.hero-sub {
  margin: 0; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55;
  color: var(--muted); max-width: 560px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hero-note { font-size: 13.5px; color: var(--muted); }

/* ── Seções ─────────────────────────────────────────────────────────────── */
.section { padding: 52px 0 4px; }
.section-tools { padding: 14px 0 56px; }
.section-employer { padding: 44px 0 56px; }
.section-title {
  margin: 0 0 13px; font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -.01em;
}
.section-title-lg {
  margin: 44px 0 14px; font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: -.01em;
}
.section-head-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.section-head-row .section-title { margin-bottom: 0; }
.section-title-note { font-size: 13px; color: var(--muted); text-decoration: none; }
.section-title-url { font-size: 12px; color: var(--brand); font-family: ui-monospace, Menlo, monospace; }
.section-lead { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.section-more { margin-top: 16px; }
.link-more { font-size: 14px; font-weight: 600; text-decoration: none; }
.inline-url { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--brand); }
.empty-note { color: var(--muted); font-size: 15px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 12px;
}

/* ── Cards de calculadora ───────────────────────────────────────────────── */
.tool-card {
  text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; display: flex; gap: 13px; align-items: flex-start;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.tool-card:hover { border-color: var(--brand-vivid); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); }
.tool-card-soon { opacity: .72; cursor: default; }
.tool-card-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.tool-card-icon-lg { width: 56px; height: 56px; border-radius: 16px; }
.tool-card-body { min-width: 0; flex: 1; }
.tool-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-card-name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.tool-card-desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.tool-card-url { font-size: 12px; color: var(--brand); margin-top: 7px; font-family: ui-monospace, Menlo, monospace; }

.badge-soon {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--warn); background: var(--warn-soft);
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
}

/* ── Faixa "como funciona" ──────────────────────────────────────────────── */
.section-band {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 14px;
}
.band-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.band-card-title { font-weight: 600; font-size: 16px; margin-top: 12px; }
.band-card-text { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 5px; }

/* ── Cards de notícia e guia ────────────────────────────────────────────── */
.news-card, .guide-card {
  text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}
a.news-card:hover, a.guide-card:hover { border-color: var(--brand-vivid); box-shadow: var(--shadow-md); color: var(--text); }
.news-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-pill {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 999px;
}
.news-card-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.news-card-title { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.news-card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.guide-card-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand); }
.guide-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guide-card-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.guide-card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.guide-card-soon { opacity: .72; cursor: default; }

.topic-section { margin-top: 36px; }

/* ── Banner do empregador (home) ────────────────────────────────────────── */
.employer-banner {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 26px; display: flex; gap: 18px; align-items: center;
  flex-wrap: wrap; justify-content: space-between;
}
.employer-banner-text { max-width: 580px; }
.kicker-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface2); color: var(--muted);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  margin-top: 18px;
}
.employer-banner .kicker-pill { margin-top: 0; }
.employer-banner-title {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: -.01em; margin-top: 10px;
}
.employer-banner-desc { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 5px; }

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs {
  font-size: 13.5px; color: var(--muted);
  display: flex; gap: 7px; align-items: center; flex-wrap: wrap;
}
.crumb-link { color: var(--muted); text-decoration: none; }
.crumb-link:hover { color: var(--brand); }
.crumb-current { color: var(--text); font-weight: 600; }
.crumb-url {
  font-size: 11.5px; color: var(--brand);
  font-family: ui-monospace, Menlo, monospace;
  background: var(--brand-soft); padding: 2px 8px; border-radius: 6px;
}

/* ── Página de calculadora ──────────────────────────────────────────────── */
.calc-layout { display: flex; gap: 28px; align-items: flex-start; margin-top: 14px; }
.calc-main { flex: 1 1 620px; min-width: 0; }
.calc-aside { display: none; }

@media (min-width: 1024px) {
  .calc-aside {
    display: flex; flex: none; width: 300px;
    position: sticky; top: 84px;
    flex-direction: column; gap: 14px;
  }
}

.page-title {
  margin: 0; font-family: var(--font-display); font-weight: 750;
  font-size: clamp(28px, 5vw, 40px); letter-spacing: -.02em;
  line-height: 1.08; text-wrap: balance;
}
.breadcrumbs + .page-title, .breadcrumbs + .kicker-pill { margin-top: 16px; }
.kicker-pill + .page-title { margin-top: 10px; }
.page-lead {
  margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  max-width: 640px;
}
.privacy-inline {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand); font-weight: 600; font-size: 13.5px;
  background: var(--brand-soft); padding: 3px 10px; border-radius: 999px;
}

/* ── Formulários ────────────────────────────────────────────────────────── */
.form-panel {
  margin-top: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.form-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 13.5px; font-weight: 600; }
.field-hint { color: var(--muted); font-weight: 400; }
.input-money { position: relative; display: block; }
.money-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--muted); font-weight: 600;
}
.input {
  width: 100%; height: 50px; border-radius: 14px;
  border: 1.5px solid var(--border); background: var(--bg);
  padding: 0 14px; font-size: 16.5px; font-weight: 600;
  font-family: var(--font-body); color: var(--text); outline: none;
}
.input-with-prefix { padding-left: 44px; }
input.input[type="date"] { font-size: 15px; font-weight: 400; }
.input:focus { border-color: var(--brand-vivid); box-shadow: 0 0 0 3px var(--brand-soft); }
.form-extra-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; align-items: flex-end; }
.check-label {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  font-size: 14px; font-weight: 600; padding-bottom: 12px;
}
.check-label input { width: 18px; height: 18px; accent-color: var(--brand-btn); cursor: pointer; }

/* ── Chips ──────────────────────────────────────────────────────────────── */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row-lg { margin-top: 18px; }
.chip {
  cursor: pointer; font-family: var(--font-body);
  font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--muted);
  text-decoration: none; transition: all .15s;
}
.chip:hover { border-color: var(--brand-vivid); color: var(--brand); background: var(--brand-soft); }
.chip.is-active { border-color: var(--brand-vivid); background: var(--brand-soft); color: var(--brand); }
.chip-sm { font-size: 13px; padding: 8px 13px; }
#resc-tipos .chip { padding: 10px 16px; }

/* ── Resultado ──────────────────────────────────────────────────────────── */
.result-panel {
  margin-top: 14px; background: var(--surface);
  border: 2px solid var(--brand-vivid); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--shadow-md);
  animation: popIn .25s ease-out;
}
.result-top {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
}
.result-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.result-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 7vw, 52px); letter-spacing: -.03em; line-height: 1.05;
}
.money { color: var(--money); }
.result-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.result-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.result-cards-block { margin-top: 14px; }
.result-mini { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.result-mini-label { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.result-mini-value { font-weight: 700; font-size: 15.5px; }

.notice-success {
  margin-top: 14px; display: flex; gap: 9px; align-items: flex-start;
  background: var(--brand-soft); border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.5; color: var(--brand);
}
.notice-success svg { flex: none; margin-top: 1px; }
.notice-warn {
  margin-top: 16px; display: flex; gap: 9px; align-items: flex-start;
  background: var(--warn-soft); border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.5; color: var(--warn);
}
.notice-warn svg { flex: none; margin-top: 1px; }

/* ── Memória de cálculo ─────────────────────────────────────────────────── */
.mem-table {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.mem-row {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
}
.mem-row:last-child { border-bottom: none; }
.mem-cell { min-width: 0; }
.mem-label { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.mem-detail { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.mem-value {
  flex: none; font-weight: 600; font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.mem-row.mem-strong .mem-label, .mem-row.mem-strong .mem-value { font-weight: 700; }
.mem-row.mem-sub { padding: 9px 18px 9px 30px; }
.mem-row.mem-sub .mem-label, .mem-row.mem-sub .mem-value { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.mem-row.mem-muted .mem-label, .mem-row.mem-muted .mem-value { font-weight: 400; color: var(--muted); }
.mem-row.mem-brand .mem-value { font-weight: 400; color: var(--brand); }
.mem-row.mem-brand .mem-label { font-weight: 400; }
.mem-row.mem-total { background: var(--brand-soft); padding: 16px 18px; }
.mem-row.mem-total .mem-label, .mem-row.mem-total .mem-value { font-size: 17px; font-weight: 800; }
.mem-row.mem-total .mem-value { color: var(--money); }
.mem-row.mem-head { background: var(--surface2); }
.mem-row.mem-head .mem-label, .mem-row.mem-head .mem-value { font-weight: 800; }
.mem-row.mem-footnote { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── Extras da rescisão ─────────────────────────────────────────────────── */
.extras-grid {
  margin-top: 14px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}
.extra-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.extra-title { font-weight: 700; font-size: 14px; }
.extra-title.is-brand { color: var(--brand); }
.extra-title.is-warn { color: var(--warn); }
.extra-text { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 5px; }

/* ── Fontes / referências ───────────────────────────────────────────────── */
.sources-panel {
  margin-top: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px;
}
.sources-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sources-list {
  display: flex; flex-direction: column; gap: 6px; margin-top: 10px;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
}
.sources-list strong { color: var(--text); }
.sources-meta {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted);
  display: flex; gap: 14px; flex-wrap: wrap;
}
.sources-meta strong { color: var(--text); }
.sources-compact { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.sources-compact strong { color: var(--text); }

/* ── CTA da programática ────────────────────────────────────────────────── */
.cta-panel {
  margin-top: 14px; background: var(--brand-soft); border-radius: var(--r-lg);
  padding: 18px; display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap; justify-content: space-between;
}
.cta-text { font-size: 14.5px; line-height: 1.5; color: var(--text); max-width: 420px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { margin-top: -8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  cursor: pointer; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; padding: 16px 0;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  color: var(--text); text-align: left;
}
.faq-mark { flex: none; color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.faq-a { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 640px; }

/* ── Relacionadas ───────────────────────────────────────────────────────── */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px;
}
.rel-card {
  cursor: pointer; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 15px; display: flex; gap: 12px; align-items: center;
  transition: border-color .15s, box-shadow .15s;
}
.rel-card:hover { border-color: var(--brand-vivid); box-shadow: var(--shadow-md); color: var(--text); }
.rel-icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.rel-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }

/* ── Aside ──────────────────────────────────────────────────────────────── */
.aside-privacy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.aside-privacy-title { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; font-size: 14px; }
.aside-privacy-text { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 6px; }

/* ── Anúncios (reserva com altura fixa — CLS 0) ─────────────────────────── */
.ad-slot {
  border: 1px dashed var(--border); border-radius: var(--r-md);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ad-leaderboard { margin-top: 22px; height: 100px; }
.ad-rectangle { height: 250px; }
.ad-label {
  position: absolute; top: 7px; left: 12px;
  font-size: 10px; letter-spacing: .14em; font-weight: 600; color: var(--muted);
}
.ad-hint { font-size: 13px; color: var(--muted); }

/* ── "Em breve" / 404 ───────────────────────────────────────────────────── */
.soon-hero {
  margin-top: 26px; padding: 40px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  margin-bottom: 44px;
}
.soon-hero .page-lead { justify-content: center; text-align: center; }

/* ── Artigo ─────────────────────────────────────────────────────────────── */
.article { margin-top: 22px; }
.article-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.article-title {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 750;
  font-size: clamp(30px, 5.4vw, 44px); letter-spacing: -.025em;
  line-height: 1.08; text-wrap: balance;
}
.article-meta {
  margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); align-items: center;
}
.article-meta strong { color: var(--text); }
.article-body { margin-top: 10px; }
.article-body p { margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: var(--text); }
.article-body .article-lead { margin-top: 16px; font-size: 17px; }
.article-body h2 {
  margin: 34px 0 -4px; font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -.015em;
}
.article-body code {
  font-family: ui-monospace, Menlo, monospace; font-size: 14px;
  background: var(--surface2); padding: 2px 8px; border-radius: 6px;
}
.article-body ul { margin: 16px 0 0; padding-left: 22px; font-size: 16px; line-height: 1.7; }

.article-table {
  margin: 22px 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.article-table-head {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
  padding: 12px 18px; background: var(--surface2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.article-table-head span:last-child { text-align: right; }
.article-table-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
  padding: 13px 18px; border-top: 1px solid var(--border); font-size: 14.5px;
}
.article-table-row span:last-child { text-align: right; }
.article-table-row .is-brand, .article-table .is-brand { color: var(--brand); }

.article-cta {
  margin: 26px 0; background: var(--brand-soft); border-radius: var(--r-lg);
  padding: 20px; display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap; justify-content: space-between;
}
.article-cta-text { font-size: 15px; line-height: 1.5; max-width: 400px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 44px 20px 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 36px; }
.footer-brand { flex: 1 1 230px; min-width: 210px; }
.footer-brand-row { display: flex; align-items: center; gap: 8px; }
.footer-brand-name {
  font-family: var(--font-display); font-size: 17px; font-weight: 800;
  letter-spacing: -.03em; color: var(--text);
}
.footer-brand-desc { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 240px; }
.footer-col { flex: 1 1 160px; min-width: 150px; }
.footer-col-wide { flex: 1 1 200px; min-width: 180px; }
.footer-col-title { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--text); margin-bottom: 10px; }
.footer-col-links { display: flex; flex-direction: column; gap: 7px; }
.footer-link { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-link:hover { color: var(--brand); }
.footer-soon { font-size: 13px; color: var(--muted); }
.footer-sources { font-size: 13px; color: var(--muted); line-height: 1.5; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Aviso de cookies (LGPD) ────────────────────────────────────────────── */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.cookie-text { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cookie-accept { align-self: flex-end; }

@media (min-width: 640px) {
  .cookie-banner { flex-direction: row; align-items: center; }
  .cookie-accept { flex: none; align-self: center; }
}
