/* ==========================================================================
   Guia do RH — Design System (fonte de verdade: design-system.md)
   Site estático · Cloudflare · HTML + CSS + JS vanilla
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paleta base */
  --navy: #15202B;
  --navy-soft: #8FA0AE;
  --teal: #1E8A7D;
  --teal-bright: #2FB3A3;
  --amber: #C97A2B;
  --red: #C0392B;
  --code-bg: #101820;
  --code-ink: #D6E4DD;

  /* Modo site (claro) */
  --bg: #FAFAF7;
  --panel: #FFFFFF;
  --ink: #1B2430;
  --ink-soft: #4B5563;
  --line: #E4E1D8;
  --line-strong: #C7C2B4;

  /* Tipografia */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 12px;

  /* Elevação */
  --shadow-sm: 0 1px 2px rgba(15,23,32,0.06);
  --shadow-md: 0 6px 20px rgba(15,23,32,0.12);

  /* Layout */
  --maxw: 1140px;
  --maxw-read: 720px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.6em; }
h3 { font-size: 20px; margin-top: 1.4em; }
h4 { font-size: 16px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: .35em 0; }
strong { font-weight: 600; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; border-radius: 2px; }

/* ---------- Utilidades ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-read { max-width: var(--maxw-read); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ---------- Node marker (assinatura) ---------- */
.node-marker {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; vertical-align: middle;
}
.node-marker--ok { color: var(--teal-bright); background: var(--teal-bright); }
.node-marker--warn { color: var(--amber); background: var(--amber); }
.node-marker--bad { color: var(--red); background: var(--red); }
.node-marker--neutral { color: var(--line-strong); background: transparent; }

/* ---------- Kicker / tags mono ---------- */
.kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tag, .level {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tag { color: var(--teal); }
.level { color: var(--ink-soft); }

/* ---------- Header / navegação ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,0.92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 26px; height: 26px; flex: 0 0 auto; }
.brand small { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; display:block; line-height:1.1; margin-top:2px; opacity:.85;}
.brand .brand-txt { display:flex; flex-direction:column; line-height:1.05; }

.main-nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.nav-item { position: relative; flex-shrink: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-size: 14px; font-weight: 500; padding: 22px 12px;
  letter-spacing: -.005em; text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-link:hover { color: var(--teal); text-decoration: none; border-color: var(--teal); }
.nav-link[aria-current="page"] { color: var(--teal); border-color: var(--teal); }
.nav-caret { width: 9px; height: 6px; margin-top: 2px; opacity: .7; transition: transform .15s; }
.nav-item.has-mega:hover .nav-caret,
.nav-item.has-mega:focus-within .nav-caret { transform: rotate(180deg); }

/* Mega-menu (sóbrio, profissional) */
.mega-panel {
  position: absolute; top: 100%; left: 0; z-index: 60;
  background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow-md);
  padding: 24px 28px; min-width: 540px;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, visibility .15s, transform .15s;
  pointer-events: none;
}
.nav-item.has-mega:hover .mega-panel,
.nav-item.has-mega:focus-within .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 28px; }
.mega-col-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.mega-col a {
  display: block; font-size: 13.5px; color: var(--ink); padding: 6px 0;
  line-height: 1.35; border-radius: 3px; transition: color .12s, padding .12s;
}
.mega-col a:hover { color: var(--teal); text-decoration: none; padding-left: 4px; }

/* Ajuste do último mega-item (não sair da tela pela direita) */
.main-nav > .nav-item:last-child .mega-panel { left: auto; right: 0; }
.main-nav > .nav-item:nth-last-child(2) .mega-panel { left: auto; right: 0; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-search { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.nav-search:hover { background: rgba(30,138,125,.06); border-color: var(--teal); color: var(--teal); }

/* Modal de busca */
.search-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 80px 20px 20px; }
.search-modal[aria-hidden="false"] { display: flex; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.search-modal__panel { position: relative; width: 100%; max-width: 620px; background: var(--surface); border-radius: 16px; box-shadow: 0 30px 80px rgba(15,32,43,.30); overflow: hidden; animation: sm-in .15s ease-out; }
@keyframes sm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-modal__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-modal__head input { flex: 1 1 auto; border: 0; outline: 0; font-size: 16px; font-family: var(--font-body); color: var(--ink); background: transparent; }
.search-modal__close { background: transparent; border: 0; cursor: pointer; padding: 6px 10px; color: var(--muted); font-size: 16px; border-radius: 6px; }
.search-modal__close:hover { background: var(--panel); color: var(--ink); }
.search-modal__hint { padding: 8px 16px; font-size: 12px; color: var(--muted); background: var(--panel); border-bottom: 1px solid var(--line); }
.search-modal__results { max-height: 60vh; overflow-y: auto; padding: 8px 0; }
.search-modal__results a { display: block; padding: 12px 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); transition: background .12s; }
.search-modal__results a:hover, .search-modal__results a:focus { background: rgba(30,138,125,.06); text-decoration: none; }
.search-modal__results h4 { font-size: 14.5px; margin: 0 0 4px; color: var(--navy); font-weight: 600; }
.search-modal__results p { font-size: 12.5px; margin: 0; color: var(--muted); line-height: 1.45; }
.search-modal__results .sm-hub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-right: 8px; }
.search-modal__results .sm-empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.search-modal__footer { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: var(--panel); }
.search-modal kbd { background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 5px; font-family: var(--font-mono); font-size: 10.5px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-md); width: 42px; height: 40px; cursor: pointer; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:''; display:block; width:18px; height:2px; background: var(--ink); position:relative; transition: .2s; }
.nav-toggle span::before { content:''; position:absolute; top:-6px; }
.nav-toggle span::after { content:''; position:absolute; top:6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden auto; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: calc(100vh - 68px); }
  .main-nav .nav-item { border-bottom: 1px solid var(--line); }
  .main-nav .nav-link { padding: 14px 20px; width: 100%; justify-content: space-between; border: none; border-radius: 0; }
  .main-nav .nav-link:hover { background: rgba(30,138,125,.06); border: none; }
  /* Mega-panel vira accordion no mobile */
  .mega-panel {
    position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    min-width: 0; padding: 12px 20px 18px; border: none; border-top: none; box-shadow: none;
    background: #F8F7F2; display: none;
  }
  .nav-item.has-mega.open .mega-panel { display: block; }
  .nav-item.has-mega .nav-caret { transition: transform .2s; }
  .nav-item.has-mega.open .nav-caret { transform: rotate(180deg); }
  .mega-grid { grid-template-columns: 1fr; gap: 14px; }
  .mega-col-title { margin-top: 0; padding-bottom: 6px; }
  .mega-col a { font-size: 14px; padding: 5px 0; }
}

/* Header + mega-menu em telas de altura pequena (netbooks, laptops 13" em zoom, tablet landscape) */
@media (max-height: 780px) {
  .site-header .wrap { min-height: 56px; }
  .nav-link { padding: 16px 10px; font-size: 13.5px; }
  .mega-panel { padding: 16px 20px; max-height: calc(100vh - 68px); }
  .mega-col-title { margin-bottom: 6px; padding-bottom: 5px; font-size: 10px; }
  .mega-col a { font-size: 12.5px; padding: 3px 0; }
  .mega-grid { gap: 12px 20px; }
}
@media (max-height: 620px) {
  .site-header .wrap { min-height: 48px; }
  .nav-link { padding: 12px 8px; font-size: 13px; }
  .brand { font-size: 15px; }
  .brand .logo-mark { width: 22px; height: 22px; }
  .brand small { display: none; }
  .mega-panel { padding: 12px 16px; }
  .mega-col a { padding: 2px 0; font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .lede { font-size: clamp(17px, 2.2vw, 19px); color: var(--ink-soft); max-width: 680px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  background: var(--teal); color: #fff; transition: background .15s, transform .05s;
}
.btn:hover { background: #19776c; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(30,138,125,0.07); color: var(--teal); }
.btn--sm { padding: 7px 13px; font-size: 13.5px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s, border-color .18s; display:flex; flex-direction:column;
}
a.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); text-decoration: none; }
.card h3 { margin-top: 0; }
.card .meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }
.card .card-cta { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--teal); }

/* Hub cards com ícone */
.hub-card .icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--teal); }

/* ---------- Resposta rápida (AEO/LLM) ---------- */
.quick-answer {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg); padding: 20px 22px; margin: 24px 0; box-shadow: var(--shadow-sm);
}
.quick-answer .qa-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display:block; margin-bottom: 8px; }
.quick-answer p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }

/* ---------- Callouts ---------- */
.callout { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg); padding: 16px 20px; margin: 20px 0; }
.callout strong { display: block; margin-bottom: 6px; }
.callout.do { border-left: 4px solid var(--teal); }
.callout.dont { border-left: 4px solid var(--red); }
.callout.notice { border-left: 4px solid var(--amber); background: #FBF3E7; }
.callout.tip { border-left: 4px solid var(--teal-bright); }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead th {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  text-align: left; padding: 11px 14px; background: #F3F1EA; color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody td strong { color: var(--ink); }

/* ---------- Badges ---------- */
.badge { font-family: var(--font-mono); font-size: 12px; padding: 3px 9px; border-radius: var(--radius-sm); display:inline-block; }
.badge--ok { background: rgba(47,179,163,0.16); color: #167a6e; }
.badge--warn { background: rgba(201,122,43,0.18); color: var(--amber); }
.badge--bad { background: rgba(192,57,43,0.18); color: var(--red); }

/* ---------- Bloco de código ---------- */
.codeblock { border-radius: var(--radius-lg); overflow: hidden; margin: 20px 0; border: 1px solid var(--code-bg); }
.codeblock .bar { display:flex; justify-content: space-between; align-items:center; background:#0b121a; color: var(--navy-soft); padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; }
.codeblock .bar button { background: none; border: 1px solid #2a3641; color: var(--code-ink); border-radius: var(--radius-sm); padding: 3px 10px; cursor: pointer; font-size: 11px; }
.codeblock pre { margin: 0; padding: 16px; background: var(--code-bg); color: var(--code-ink); overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li::after { content: '›'; margin-left: 6px; color: var(--line-strong); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Section head ---------- */
.section-head { margin: 48px 0 22px; }
.section-head .why { color: var(--ink-soft); max-width: 640px; margin-top: 4px; }

/* ---------- Artigo (conteúdo editorial) ---------- */
.article-body { font-size: 17px; line-height: 1.75; }
.article-body h2 { margin-top: 2em; padding-top: .2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul li::marker { color: var(--teal); }
.article-body figure { margin: 24px 0; }
.article-body figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.article-body blockquote {
  margin: 22px 0; padding: 4px 20px; border-left: 3px solid var(--teal); color: var(--ink);
  font-size: 18px; font-style: italic;
}
.article-body .lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }

/* Meta do artigo */
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-soft); margin: 14px 0 6px; font-family: var(--font-mono); }
.article-meta__author { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:inherit; padding: 4px 10px 4px 4px; border-radius: 999px; border:1px solid var(--line); background: var(--panel); transition: border-color .15s, background .15s; }
.article-meta__author:hover { border-color: var(--teal); background: rgba(30,138,125,.06); text-decoration:none; }
.article-meta__avatar { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; background: var(--teal); color:#fff; font-family: var(--font-display); font-weight:700; font-size:11px; letter-spacing:.5px; }
.article-meta__author-txt { display:inline-flex; align-items:baseline; gap:6px; font-family: var(--font-body); line-height:1; }
.article-meta__by { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing:.1em; font-weight:500; }
.article-meta__name { font-size: 13.5px; color: var(--navy); font-weight: 600; }
.article-meta__sep { color: var(--line-strong); }
.article-meta .dot { color: var(--line-strong); }

/* Cover / hero de artigo */
.article-cover { border-radius: var(--radius-xl); overflow: hidden; margin: 24px 0 8px; border: 1px solid var(--line); background: var(--navy); }
.article-cover svg { width: 100%; height: auto; display: block; }

/* Resumo executivo / TL;DR */
.key-points { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin: 26px 0; }
.key-points h2 { margin-top: 0; font-size: 18px; }
.key-points ul { list-style: none; padding: 0; margin: 0; }
.key-points li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; }
.key-points li .node-marker { margin-top: 7px; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); margin: 10px 0; padding: 2px 18px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-a { padding: 12px 0 16px; color: var(--ink-soft); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- TOC lateral ---------- */
.toc { position: sticky; top: 84px; }
.toc .toc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); font-size: 13.5px; }
.toc a:hover { color: var(--teal); text-decoration: none; }
.toc a.active { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }

.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: 220px minmax(0,1fr); } .article-layout .toc-col { order: -1; } }

/* ---------- Caixa TiqueTaque (referência contextual) ---------- */
.partner-box {
  background: linear-gradient(180deg, #F3FBF9, #FFFFFF); border: 1px solid #CDE8E2;
  border-radius: var(--radius-xl); padding: 22px 24px; margin: 28px 0;
}
.partner-box .pb-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; display:block; }
.partner-box h3 { margin: 0 0 8px; }
.partner-box p { color: var(--ink-soft); font-size: 15px; }
.partner-box .btn { margin-top: 6px; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.pb-actions .btn { margin-top: 0; }
.pb-actions .btn--ghost { margin-left: 0 !important; }

/* ---------- Calculadoras ---------- */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-sm); }
.calc .field-group { margin-bottom: 16px; }
.calc label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.calc input, .calc select {
  width: 100%; padding: 10px 12px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: #fff;
}
.calc .field-hint { font-size: 12.5px; color: var(--ink-soft); margin: 5px 0 0; }
.calc .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .calc .calc-grid { grid-template-columns: 1fr; } }
.calc-result {
  margin-top: 20px; padding: 20px; border-radius: var(--radius-lg); background: var(--navy); color: #fff;
}
.calc-result .cr-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-soft); }
.calc-result .cr-value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--teal-bright); margin: 4px 0; }
.calc-result .cr-detail { color: var(--navy-soft); font-size: 13.5px; }
.calc-result table { color: #fff; }
.calc-result table td { border-color: #2a3945; }

/* ---------- Glossário ---------- */
.glossary-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.glossary-index a { display:inline-flex; width: 34px; height: 34px; align-items:center; justify-content:center; border: 1px solid var(--line); border-radius: var(--radius-md); font-family: var(--font-mono); font-weight: 500; color: var(--teal); }
.glossary-index a:hover { background: var(--teal); color: #fff; text-decoration: none; }
.glossary-term { border-bottom: 1px solid var(--line); padding: 18px 0; scroll-margin-top: 84px; }
.glossary-term h3 { margin: 0 0 6px; }
.glossary-term p { margin: 0; color: var(--ink-soft); }

/* ---------- Chips / listas de links ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chips a { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--panel); }
.chips a:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

/* ---------- Related ---------- */
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-top: 1px solid var(--line); }
.related-list li:last-child { border-bottom: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; color: var(--ink); font-weight: 500; }
.related-list a:hover { color: var(--teal); text-decoration: none; }
.related-list a::after { content: '→'; color: var(--teal); }

/* ---------- Topic card (hubs com imagem) ---------- */
.topic-grid .topic-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.topic-card__cover {
  aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  border-bottom: 1px solid var(--line); margin: -1px -1px 0 -1px;
}
.topic-card__cover img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.topic-card:hover .topic-card__cover img { transform: scale(1.04); }
.topic-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.topic-card__body .meta { font-size: 11px; letter-spacing: 2px; }
.topic-card__body h3 { margin: 8px 0 6px; }
.topic-card__body p { margin: 0 0 12px; flex: 1 1 auto; }

.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 12px 0 8px;
}
.related-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,32,43,.10);
  border-color: rgba(30,138,125,.35);
  text-decoration: none;
}
.related-card__cover {
  aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  border-bottom: 1px solid var(--line);
}
.related-card__cover img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.related-card:hover .related-card__cover img { transform: scale(1.04); }
.related-card__cover--fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#15202B,#1E8A7D);
}
.related-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.related-card__title { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 0; color: var(--navy); }
.related-card__desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 2px 0 0; }
.related-card__cta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-top: 6px;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-soft); margin-top: 0; padding: 64px 0 24px; border-top: 3px solid var(--teal); }
.site-footer a { color: var(--navy-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 40px 32px; }
@media (max-width: 980px){ .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; font-size: 14px; }
.site-footer .brand { color: #fff; }
.footer-about { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  color: var(--navy-soft) !important; font-size: 13px; font-weight: 500;
  transition: color .2s, border-color .2s, background .2s;
}
.footer-social__link:hover {
  color: #fff !important; border-color: var(--teal-bright);
  background: rgba(47,179,163,.08); text-decoration: none;
}
.footer-social__link svg { color: currentColor; }
.footer-bottom { border-top: 1px solid #24323d; margin-top: 32px; padding-top: 22px; font-size: 12.5px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-bottom__left, .footer-bottom__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom__sep { color: #3a4a56; }
.footer-top {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75) !important;
  font-size: 11.5px; letter-spacing: .5px; text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.footer-top:hover { color: #fff !important; border-color: var(--teal-bright); background: rgba(47,179,163,.08); text-decoration: none; }

.footer-editorial {
  margin: 32px 0 8px; padding: 20px 0; border-top: 1px solid #24323d; border-bottom: 1px solid #24323d;
}
.footer-editorial p {
  font-size: 13px; line-height: 1.65; color: var(--navy-soft); max-width: 900px; margin: 0;
}
.footer-editorial strong { color: var(--teal-bright); font-weight: 600; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; color: rgba(255,255,255,.7);
}
.footer-badge strong { color: var(--teal-bright); font-weight: 700; }

.footer-brand-col .footer-about { margin: 12px 0 6px; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }

/* ---------- Pill / eyebrow ---------- */
.pill { display:inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: rgba(30,138,125,.08); border:1px solid #CDE8E2; padding: 4px 10px; border-radius: 999px; }

/* ---------- Busca ---------- */
.search-box { position: relative; max-width: 560px; margin: 0 auto; }
.search-box input { width:100%; padding: 14px 16px; font-size: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.search-results { margin-top: 8px; }
.search-results .card { padding: 14px 16px; margin-bottom: 8px; }

/* =========================================================
   HOME — componentes editoriais premium (portal look)
   ========================================================= */

/* Bandas de fundo — dão respiro entre seções */
.band { padding: 72px 0; }
.band--muted { background: #F3F1EA; }
.band--dark { background: var(--navy); color: #fff; }
.band--dark h2, .band--dark h3, .band--dark h4 { color: #fff; }
.band--dark .kicker .tag { color: var(--teal-bright); }
.band--dark .kicker .level { color: var(--navy-soft); }
.band--dark .section-head .why { color: var(--navy-soft); }
.band--dark a { color: var(--teal-bright); }
.band--dark a.btn { color: #fff; }
.band--dark a.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.band--dark a.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* HERO cinematográfico com pattern de nós */
.hero-cine {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0E1720 0%, #15202B 60%, #17303B 100%);
  color: #fff; padding: 80px 0 96px; margin-bottom: 0;
}
.hero-cine::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events:none;
  background-image:
    radial-gradient(circle at 12% 24%, rgba(47,179,163,.14) 0, transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(47,179,163,.10) 0, transparent 42%);
}
.hero-cine .wrap { position: relative; z-index: 1; }
.hero-cine .kicker .tag { color: var(--teal-bright); }
.hero-cine .kicker .level { color: var(--navy-soft); }
.hero-cine h1 {
  color: #fff; font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; letter-spacing: -.01em;
  line-height: 1.08; margin: 14px 0 20px; max-width: 940px;
}
.hero-cine .lede { color: #C5D2DC; font-size: clamp(17px, 1.9vw, 20px); max-width: 720px; line-height: 1.6; }
.hero-cine .hero-cta { margin-top: 28px; }
.hero-cine .hero-cta .btn--ghost { color:#fff; border-color: rgba(255,255,255,.35); background:transparent; }
.hero-cine .hero-cta .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-svg { position: absolute; right: -40px; top: 40px; width: 520px; height: 520px; opacity: .55; pointer-events:none; }
@media (max-width: 900px) { .hero-svg { display: none; } }

/* Faixa de kickers/áreas colorida (categoria bar) */
.cat-bar { background: #F3F1EA; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.cat-pills { display: flex; align-items: center; gap: 14px; }
.cat-pills__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  flex-shrink: 0; padding-right: 6px; border-right: 1px solid var(--line-strong);
}
.cat-pills__scroll {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  flex: 1 1 auto; padding: 2px 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
}
.cat-pills__scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  white-space: nowrap; scroll-snap-align: start;
  background: transparent; border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.cat-pill:hover {
  background: var(--surface); border-color: rgba(30,138,125,.4); color: var(--teal);
  text-decoration: none;
}
.cat-pill[aria-current="page"] {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
@media (max-width: 560px) {
  .cat-pills__label { display: none; }
  .cat-pills { gap: 8px; }
}

/* Manchete de revista — featured story */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px){ .feature { grid-template-columns: 1fr; gap: 24px; } }
.feature-visual {
  border-radius: var(--radius-xl); overflow: hidden; background: var(--navy); position: relative; aspect-ratio: 4/3;
  border: 1px solid var(--line);
}
.feature-visual svg { width:100%; height:100%; display:block; }
.feature-body h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -.005em; margin: 10px 0 14px;
}
.feature-body p.lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.feature-meta { display:flex; gap: 14px; align-items:center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin-top: 14px; }
.feature-meta .dot { width:4px;height:4px;border-radius:50%;background:var(--line-strong); }

/* Lista lateral de manchetes secundárias (estilo revista) */
.story-list { display:flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.story-list a { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.story-list a:hover { color: var(--teal); text-decoration: none; }
.story-list .story-num { font-family: var(--font-mono); font-size: 22px; color: var(--line-strong); flex:0 0 auto; min-width: 32px; line-height:1; padding-top: 4px; }
.story-list .story-txt { flex: 1; }
.story-list .story-cat { display:block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 4px; }
.story-list .story-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; }

/* Hubs "numerados" — display grande */
.hub-numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .hub-numbered { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .hub-numbered { grid-template-columns: 1fr; } }
.hub-numbered .hub-card {
  display: flex; flex-direction: column; padding: 32px 28px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); color: var(--ink); position: relative;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hub-numbered .hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.hub-numbered .num { font-family: var(--font-mono); font-size: 13px; color: var(--teal); letter-spacing: .12em; }
.hub-numbered h3 { font-size: 22px; margin: 10px 0 10px; font-family: var(--font-display); font-weight: 600; }
.hub-numbered h3 a { color: var(--ink); text-decoration: none; }
.hub-numbered h3 a:hover { color: var(--teal); text-decoration: none; }
.hub-numbered p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; }
.hub-numbered .subs { list-style: none; padding: 0; margin: 12px 0 16px; font-size: 13.5px; line-height: 1.85; flex: 1; }
.hub-numbered .subs li a { display: inline; padding: 0; border: none; background: none; color: var(--ink-soft); font-weight: 500; }
.hub-numbered .subs li a:hover { color: var(--teal); }
.hub-numbered .hub-cta { display: inline-block; margin-top: auto; padding-top: 12px; color: var(--teal); font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); }
.hub-numbered .hub-cta:hover { color: #19776c; text-decoration: none; }

/* Bloco pull-quote editorial (grande) */
.pull-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.32; color: var(--ink);
  padding: 20px 0;
}
.pull-quote::before, .pull-quote::after { content:'“'; color: var(--teal); font-size: 1.4em; line-height: 0; vertical-align: middle; margin: 0 6px; }
.pull-quote::after { content:'”'; }
.pull-quote cite { display:block; margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-soft); font-style: normal; }

/* Números de destaque (metric) */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 780px){ .metric-row { grid-template-columns: 1fr 1fr; } }
.metric { text-align:center; padding: 24px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.metric .n { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); font-weight: 700; color: var(--teal); }
.metric .n small { color: var(--ink-soft); font-weight: 400; font-size: .48em; margin-left: 2px; letter-spacing:0; }
.metric .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.band--dark .metric { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.band--dark .metric .n { color: var(--teal-bright); }
.band--dark .metric .n small, .band--dark .metric .l { color: var(--navy-soft); }

/* Timeline horizontal com bolinhas (marcos) */
.timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; padding: 34px 0 8px; }
@media (max-width: 900px){ .timeline-h { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .timeline-h { grid-template-columns: 1fr; } }
.timeline-h::before { content:''; position: absolute; left: 0; right: 0; top: 40px; height: 2px; background: var(--line); z-index:0; }
@media (max-width: 900px){ .timeline-h::before { display: none; } }
.tl-item { padding: 0 16px; position: relative; z-index:1; }
.tl-item .tl-year { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--teal); }
.tl-item .tl-dot { display:inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-bright); margin: 12px 0; border: 3px solid var(--bg); }
.band--muted .tl-item .tl-dot { border-color: #F3F1EA; }
.tl-item h4 { margin: 0 0 6px; font-size: 15px; font-family: var(--font-display); }
.tl-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* Media object — histórias em duas colunas */
.spread { display:grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px){ .spread { grid-template-columns: 1fr; gap: 32px; } }
.spread .col h3 { font-size: 22px; margin: 0 0 10px; }
.spread .col p { font-size: 16px; line-height: 1.72; color: var(--ink); margin: 0 0 14px; }

/* Chapéu categoria (magazine-style) */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display:block; margin-bottom: 10px; }
.band--dark .eyebrow { color: var(--teal-bright); }

/* Grade de definições compacta (2 col) */
.def-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 780px){ .def-grid { grid-template-columns: 1fr; } }
.def-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.def-item:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.def-item:nth-child(even) { padding-left: 24px; }
@media (max-width: 780px){ .def-item:nth-child(odd) { padding-right: 0; border-right:none; } .def-item:nth-child(even) { padding-left: 0; } }
.def-item .term { display:flex; align-items:baseline; gap: 8px; margin-bottom: 6px; }
.def-item .term a { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.def-item .term a:hover { color: var(--teal); text-decoration: none; }
.def-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* Card banner (CTA final e busca) */
.banner {
  padding: 60px 40px; border-radius: var(--radius-xl); position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy), #1E3140); color: #fff; text-align: center;
}
.banner h2 { color:#fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.banner p { color: var(--navy-soft); max-width: 640px; margin: 0 auto 24px; font-size: 16px; }
.banner .search-box { max-width: 620px; }
.banner .search-box input { border: none; padding: 16px 18px; border-radius: var(--radius-lg); font-size: 16px; }

/* Rótulos coloridos (color chip) */
.chip-tag { display:inline-block; font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.chip-teal { background: rgba(47,179,163,.16); color: #1E8A7D; }
.chip-amber { background: rgba(201,122,43,.15); color: var(--amber); }
.chip-navy { background: rgba(21,32,43,.10); color: var(--navy); }

/* ---------- HOME v2: refinamentos ---------- */

/* Badge de credibilidade (hero) */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-soft); }
.trust-row .dot { width:4px;height:4px;border-radius:50%;background: rgba(255,255,255,.28); }
.trust-row strong { color: #fff; letter-spacing:0; font-family: var(--font-display); font-weight: 600; text-transform: none; font-size: 14px; }

/* Selo "Novo" */
.new-badge { display:inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: linear-gradient(135deg, #C97A2B, #E29245); color: #fff; margin-right: 6px; vertical-align: middle; }
.year-badge { display:inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(47,179,163,.16); color: #167a6e; margin-right: 6px; vertical-align: middle; }

/* Ticker de manchetes 2026 */
.ticker-2026 { background: linear-gradient(90deg, #FBF3E7, #FEF9F1); border-top: 1px solid #F0DBB8; border-bottom: 1px solid #F0DBB8; padding: 14px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 20px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; }
.ticker-inner strong { color: var(--amber); text-transform: uppercase; letter-spacing: .1em; }
.ticker-inner a { color: var(--ink); border-bottom: 1px dotted rgba(0,0,0,.2); padding-bottom: 1px; }
.ticker-inner a:hover { color: var(--teal); border-color: var(--teal); text-decoration: none; }
.ticker-inner .sep { color: var(--line-strong); }
@media (max-width: 780px) { .ticker-inner { flex-wrap: wrap; gap: 8px 14px; } .ticker-inner .sep { display: none; } }

/* Card de conteúdo com "reading time" (preview) */
.preview-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 22px 18px; color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s; height: 100%;
  display: flex; flex-direction: column;
}
.preview-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.preview-card .pc-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.preview-card .pc-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.preview-card h3 { font-size: 18px; margin: 6px 0 10px; line-height: 1.28; color: var(--ink); }
.preview-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.preview-card .pc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); font-family: var(--font-mono); letter-spacing: .05em; }
.preview-card .pc-cta { color: var(--teal); font-weight: 600; }

/* Grid de setores */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px){ .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .sector-grid { grid-template-columns: 1fr; } }
.sector { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; text-align: center; transition: border-color .18s, transform .18s, box-shadow .18s; color: var(--ink); display:block; }
.sector:hover { text-decoration: none; border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sector .s-icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--teal); display: block; }
.sector .s-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.sector .s-hint { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* Bloco de newsletter (marketing) */
.newsletter {
  background: linear-gradient(135deg, #F3FBF9 0%, #FFFFFF 100%);
  border: 1px solid #CDE8E2; border-radius: var(--radius-xl);
  padding: 40px 32px; text-align: center;
}
.newsletter h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.newsletter p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 22px; font-size: 15.5px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 220px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); font-size: 15px; font-family: var(--font-body); background: #fff; }
.newsletter-form input:focus { border-color: var(--teal); outline: none; }
.newsletter .disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 14px; font-family: var(--font-mono); letter-spacing: .04em; }

/* Bloco perfil (leitor típico) */
.persona-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px){ .persona-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .persona-strip { grid-template-columns: 1fr; } }
.persona { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); text-align: center; }
.persona .p-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.persona h4 { font-size: 16px; margin: 6px 0 6px; font-family: var(--font-display); font-weight: 600; }
.persona p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5; }
.persona a { display: inline-block; font-size: 13px; color: var(--teal); font-weight: 600; margin-top: 4px; }

/* Bloco "novidade em destaque" (news card) */
.news-lead {
  background: var(--navy); color: #fff; border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
}
@media (max-width: 900px){ .news-lead { grid-template-columns: 1fr; } }
.news-lead-body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.news-lead-body h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); margin: 12px 0 12px; line-height: 1.2; }
.news-lead-body p { color: var(--navy-soft); font-size: 16px; margin: 0 0 20px; line-height: 1.55; }
.news-lead-visual { background: linear-gradient(135deg, #17303B 0%, #1E8A7D 100%); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.news-lead-visual svg { max-width: 100%; height: auto; }
.news-lead .kicker { color: var(--teal-bright); }
.news-lead .kicker .tag { color: var(--teal-bright); }
.news-lead .kicker .level { color: var(--navy-soft); }

/* ---------- Botões de compartilhamento (posts) ---------- */
.share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 18px 0 4px;
}
.share-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-right: 4px;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--panel); color: var(--ink-soft);
  border: 1px solid var(--line); cursor: pointer; padding: 0;
  transition: color .15s, border-color .15s, background .15s, transform .05s;
  position: relative;
}
.share-btn:hover { color: var(--teal); border-color: var(--teal); background: rgba(30,138,125,.06); text-decoration: none; }
.share-btn:active { transform: translateY(1px); }
.share-btn svg { display:block; }
.share-btn .share-copied {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: 11px; font-family: var(--font-mono);
  padding: 4px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.share-btn.copied .share-copied { opacity: 1; }

/* ---------- Illustrated row (imagem + texto side-by-side) ---------- */
.illus-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; margin: clamp(32px, 6vw, 64px) 0;
}
.illus-row__img {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #15202B, #0d3d38);
  box-shadow: 0 20px 60px rgba(15, 32, 43, 0.12), 0 2px 8px rgba(15, 32, 43, 0.04);
  position: relative;
}
.illus-row__img::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.illus-row__img img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
}
.illus-row__text { padding: 8px 0; }
.illus-row__text h2 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 10px 0 14px; color: var(--navy);
}
.illus-row__text p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.illus-row__text p strong { color: var(--navy); }
.illus-row__text .eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
}
.btn--sm { padding: 8px 16px; font-size: 13px; }
@media (max-width: 780px) {
  .illus-row, .illus-row--left { grid-template-columns: 1fr; gap: 20px; }
  .illus-row--right .illus-row__img { order: -1; }
}

/* ---------- Spot card (grid temático com ilustração) ---------- */
.spot-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.spot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 32, 43, 0.10);
  border-color: rgba(30, 138, 125, 0.35);
  text-decoration: none;
}
.spot-card__spot {
  aspect-ratio: 3 / 2; overflow: hidden;
  background: linear-gradient(160deg, #F5F1E8 0%, #FAFAF7 100%);
  border-bottom: 1px solid var(--line);
}
.spot-card__spot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
a.spot-card:hover .spot-card__spot img { transform: scale(1.04); }
.spot-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.spot-card__title {
  font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0; color: var(--navy);
}
.spot-card__text {
  font-size: 14px; line-height: 1.55; color: var(--muted); margin: 4px 0 0;
}
.spot-card__cta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-top: 8px;
}

/* ---------- Ilustração inline em artigos ---------- */
.illus-inline {
  margin: 32px auto; text-align: center; max-width: 640px;
}
.illus-inline img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 32, 43, 0.10);
  background: #F5F1E8;
}
.illus-inline figcaption {
  font-size: 13px; color: var(--muted); font-style: italic;
  margin-top: 10px; padding: 0 12px;
}

/* ---------- Hero split (home) ---------- */
.hero-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-split__illus {
  margin: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #0E1720, #15202B);
  box-shadow: 0 30px 80px rgba(15, 32, 43, 0.20), 0 4px 12px rgba(15, 32, 43, 0.06);
  position: relative;
}
.hero-split__illus img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-split__illus { max-width: 480px; margin: 0 auto; }
}

/* ---------- Timeline editorial (marcos zig-zag) ---------- */
.tl-editorial {
  position: relative; margin: 48px 0 12px;
  display: grid; grid-template-columns: repeat(8, 1fr);
  min-height: 480px; align-items: center;
  padding: 0 12px;
}
.tl-editorial::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(30,138,125,0) 0%,
    rgba(30,138,125,.35) 8%,
    rgba(30,138,125,.55) 50%,
    rgba(47,179,163,.85) 92%,
    rgba(47,179,163,0) 100%);
  transform: translateY(-1px);
}
.tl-mile {
  position: relative; padding: 0 6px;
  display: flex; flex-direction: column; align-items: center;
}
.tl-mile__node {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--teal), 0 6px 14px rgba(30,138,125,.25);
  z-index: 2; margin: 8px 0;
}
.tl-mile--now .tl-mile__node {
  background: var(--teal-bright, #2FB3A3);
  box-shadow: 0 0 0 2px var(--teal-bright, #2FB3A3), 0 0 0 8px rgba(47,179,163,.18), 0 8px 22px rgba(47,179,163,.35);
  animation: tl-pulse 2.4s ease-in-out infinite;
}
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--teal-bright, #2FB3A3), 0 0 0 6px rgba(47,179,163,.20), 0 8px 22px rgba(47,179,163,.30); }
  50% { box-shadow: 0 0 0 2px var(--teal-bright, #2FB3A3), 0 0 0 14px rgba(47,179,163,0), 0 8px 22px rgba(47,179,163,.10); }
}
.tl-mile__year {
  font-family: var(--font-mono); font-weight: 700; font-size: 28px;
  color: var(--teal); letter-spacing: -0.5px; line-height: 1;
}
.tl-mile--now .tl-mile__year { color: var(--teal-bright, #2FB3A3); }
.tl-mile__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; text-align: left; width: 100%; max-width: 220px;
  box-shadow: 0 8px 24px rgba(15,32,43,.06);
  display: flex; flex-direction: column; gap: 4px;
}
a.tl-mile__card--link {
  color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.tl-mile__card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,32,43,.10);
  border-color: rgba(30,138,125,.4);
  text-decoration: none;
}
.tl-mile__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal);
}
.tl-mile__title { font-size: 14px; font-weight: 700; margin: 2px 0 4px; color: var(--navy); line-height: 1.25; }
.tl-mile__text { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.tl-mile__cta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-top: 6px;
}
/* Zig-zag: pares acima, ímpares abaixo */
.tl-mile--above {
  flex-direction: column-reverse; justify-content: flex-end;
  transform: translateY(-115px);
}
.tl-mile--above .tl-mile__year { margin-bottom: 8px; margin-top: 12px; }
.tl-mile--below {
  transform: translateY(115px);
}
.tl-mile--below .tl-mile__year { margin-top: 8px; }
/* Ligação vertical do node ao card */
.tl-mile::after {
  content: ''; position: absolute; left: 50%; width: 2px;
  background: linear-gradient(180deg, rgba(30,138,125,.4), rgba(30,138,125,0));
  transform: translateX(-1px);
  z-index: 1;
}
.tl-mile--above::after { bottom: 50%; height: 26px; background: linear-gradient(0deg, rgba(30,138,125,.4), rgba(30,138,125,0)); }
.tl-mile--below::after { top: 50%; height: 26px; }
/* Mobile: vira vertical */
@media (max-width: 900px) {
  .tl-editorial {
    grid-template-columns: 1fr; min-height: 0;
    padding: 0 8px 0 44px;
  }
  .tl-editorial::before {
    left: 20px; right: auto; top: 20px; bottom: 20px;
    width: 2px; height: auto;
    background: linear-gradient(180deg,
      rgba(30,138,125,0) 0%,
      rgba(30,138,125,.55) 8%,
      rgba(47,179,163,.85) 92%,
      rgba(47,179,163,0) 100%);
  }
  .tl-mile, .tl-mile--above, .tl-mile--below {
    transform: none; flex-direction: row; align-items: flex-start; gap: 16px;
    padding: 16px 0; margin-left: 0;
  }
  .tl-mile__node {
    position: absolute; left: -32px; top: 22px; margin: 0;
  }
  .tl-mile__year { min-width: 60px; margin: 0; padding-top: 2px; font-size: 22px; }
  .tl-mile__card { max-width: none; flex: 1 1 auto; }
  .tl-mile::after { display: none; }
}

/* ---------- Mapa do site ---------- */
.site-map__stats {
  display: flex; gap: 20px; margin-top: 24px;
}
.site-map__stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
}
.site-map__stat-num {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--teal); line-height: 1;
}
.site-map__stat-lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
}
.site-map__nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 32px 0 40px; padding: 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.site-map__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
  transition: color .15s, background .15s, border-color .15s;
}
.site-map__chip:hover {
  color: var(--teal); border-color: rgba(30,138,125,.45);
  background: rgba(30,138,125,.06); text-decoration: none;
}
.site-map__chip em {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); margin-left: 4px;
}
.site-map__chip-icon svg { width: 14px; height: 14px; display: block; }
.site-map__cat {
  margin: 48px 0; scroll-margin-top: 96px;
}
.site-map__cat-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.site-map__cat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #F5F1E8, #FAFAF7);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}
.site-map__cat-icon svg { width: 22px; height: 22px; }
.site-map__cat-title {
  font-size: 22px; font-weight: 700; margin: 0; color: var(--navy); line-height: 1.2;
}
.site-map__cat-count {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin: 4px 0 0;
}
.site-map__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (max-width: 720px) { .site-map__list { grid-template-columns: 1fr; } }
.site-map__link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.site-map__link--with-cover {
  padding: 12px; flex-direction: row; align-items: center; gap: 14px;
}
.site-map__link-cover {
  width: 84px; height: 84px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #F5F1E8, #FAFAF7);
}
.site-map__link-cover--fallback {
  background: linear-gradient(135deg, #15202B, #1E8A7D);
}
.site-map__link-cover img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.site-map__link:hover .site-map__link-cover img { transform: scale(1.06); }
.site-map__link-body {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.site-map__link-body .site-map__link-title { font-size: 14.5px; }
.site-map__link-body .site-map__link-desc {
  font-size: 12.5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-map__link-body .site-map__link-path { font-size: 10.5px; margin-top: 2px; }
.site-map__link:hover {
  transform: translateY(-1px);
  border-color: rgba(30,138,125,.45);
  box-shadow: 0 8px 22px rgba(15,32,43,.06);
  text-decoration: none;
}
.site-map__link-title {
  font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.3;
}
.site-map__link-desc {
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
}
.site-map__link-path {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  margin-top: 4px; letter-spacing: 0.3px;
}

/* ---------- Citação em uma linha (speakable, LLM-first) ---------- */
.citation-box {
  margin: 24px 0; padding: 20px 24px;
  background: linear-gradient(135deg, #F5F1E8 0%, #FAFAF7 100%);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  position: relative;
}
.citation-box__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.citation-box__quote {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--navy);
  margin: 0 0 10px; font-style: normal;
}
.citation-box__attr {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.citation-box__attr cite { font-style: normal; font-weight: 500; }

/* ---------- Perguntas que este guia responde ---------- */
.questions-covered {
  margin: 24px 0; padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.questions-covered__head { margin-bottom: 14px; }
.questions-covered__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
.questions-covered__title {
  font-size: 17px; margin: 4px 0 0; color: var(--navy); font-weight: 600;
}
.questions-covered__list {
  padding-left: 22px; margin: 0; display: grid; gap: 6px;
}
.questions-covered__list li { font-size: 14px; line-height: 1.5; color: var(--ink); }
.questions-covered__list a { color: inherit; }
.questions-covered__list a:hover { color: var(--teal); }

/* ---------- Video embed + def-quote ---------- */
.video-embed { position: relative; aspect-ratio: 16/9; margin: 24px 0; border-radius: 14px; overflow: hidden; background: #0a1520; box-shadow: 0 12px 32px rgba(15,32,43,.15); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.def-quote { border-left: 3px solid var(--teal); padding: 12px 18px; margin: 18px 0; background: linear-gradient(90deg, rgba(30,138,125,.06), transparent); border-radius: 0 8px 8px 0; }
.def-quote p { margin: 0 0 8px; font-style: italic; color: var(--navy); }
.def-quote p:last-child { margin-bottom: 0; }
.def-bullets { padding-left: 22px; }
.def-bullets li { margin-bottom: 4px; }

/* ---------- Brand header (ficha da marca) ---------- */
.brand-header {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  padding: 20px 24px; margin: 24px 0;
  background: linear-gradient(135deg, #5B0F87 0%, #7c2caf 100%);
  border-radius: 14px; color: #fff;
}
.brand-header__logo img { width: 72px; height: 72px; display: block; border-radius: 12px; }
.brand-header__name { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.brand-header__facts { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.5px; color: rgba(255,255,255,.8); margin: 0 0 4px; }
.brand-header__site a { color: #fff !important; text-decoration: underline; font-size: 13px; }

/* ---------- Brand grid de clientes ---------- */
.brand-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px;
}
.brand-grid span {
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--navy);
}

/* ---------- Home charts (dados do mercado, com animação) ---------- */
.home-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin: 32px 0 24px; align-items: center; }
@media (max-width: 900px) { .home-charts { grid-template-columns: 1fr; } }
.home-chart { margin: 0; padding: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }
.home-chart svg { display: block; width: 100%; height: auto; }
.home-chart__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 14px; }
.home-chart figcaption { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 12px; font-style: italic; }
.home-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 760px) { .home-stats-row { grid-template-columns: repeat(2, 1fr); } }
.home-stat { padding: 20px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; text-align: center; }
.home-stat__num { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 34px; font-weight: 700; color: var(--teal-bright); line-height: 1; letter-spacing: -1px; }
.home-stat__label { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 8px; line-height: 1.4; }

/* Animação de entrada dos gráficos */
.anim-chart .anim-bars rect { transform-origin: left center; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.anim-chart.is-visible .anim-bars rect { transform: scaleX(1); }
.anim-chart.is-visible .anim-bars rect:nth-child(1) { transition-delay: 0.05s; }
.anim-chart.is-visible .anim-bars rect:nth-child(2) { transition-delay: 0.12s; }
.anim-chart.is-visible .anim-bars rect:nth-child(3) { transition-delay: 0.19s; }
.anim-chart.is-visible .anim-bars rect:nth-child(4) { transition-delay: 0.26s; }
.anim-chart.is-visible .anim-bars rect:nth-child(5) { transition-delay: 0.33s; }
.anim-chart.is-visible .anim-bars rect:nth-child(6) { transition-delay: 0.40s; }
.anim-chart.is-visible .anim-bars rect:nth-child(7) { transition-delay: 0.47s; }
.anim-donut .donut-arc { stroke-dashoffset: 452 !important; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.anim-donut.is-visible .donut-arc:nth-of-type(2) { stroke-dashoffset: 0 !important; }
.anim-donut.is-visible .donut-arc:nth-of-type(3) { stroke-dashoffset: -230.79 !important; transition-delay: 0.15s; }
.anim-donut.is-visible .donut-arc:nth-of-type(4) { stroke-dashoffset: -416.27 !important; transition-delay: 0.30s; }

/* ---------- Checklist tool ---------- */
.checklist-tool { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.checklist-tool h3 { margin: 20px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--teal); color: var(--navy); font-size: 15px; }
.checklist-tool h3:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { padding: 6px 0; }
.checklist label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--ink); }
.checklist input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); flex-shrink: 0; }
.checklist input:checked + span, .checklist label:has(input:checked) { text-decoration: line-through; color: var(--muted); }

/* ---------- Leader card (perfil de executivo) ---------- */
.leader-card { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; align-items: center; }
.leader-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,32,43,.10); border-color: rgba(30,138,125,.35); text-decoration: none; }
.leader-card__avatar { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg,#15202B,#2FB3A3); flex-shrink: 0; }
.leader-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__body { display: flex; flex-direction: column; gap: 4px; }
.leader-card__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }
.leader-card__name { margin: 4px 0 8px; font-size: 22px; color: var(--navy); }
.leader-card__bio { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.leader-card__cta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }
@media (max-width: 620px) { .leader-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .leader-card__avatar { width: 120px; height: 120px; } }

/* ---------- Sys card (análise concorrente por sistema) ---------- */
.sys-card { margin: 20px 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 14px rgba(15,32,43,.04); }
.sys-card__head { font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--navy); }
.sys-card__score { font-family: var(--font-mono); font-weight: 700; color: var(--teal); font-size: 15px; background: rgba(30,138,125,.08); padding: 4px 10px; border-radius: 999px; }
.sys-card__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sys-card__grid h4 { font-size: 13px; margin: 0 0 8px; color: var(--navy); font-weight: 700; }
.sys-card__grid ul { margin: 0; padding-left: 18px; }
.sys-card__grid li { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 4px; }
@media (max-width: 720px) { .sys-card__grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Steps (passo a passo) ---------- */
.steps { margin: 20px 0; counter-reset: step; }
.step-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step-item:last-child { border-bottom: 0; }
.step-num { counter-increment: step; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.step-num::before { content: counter(step); }
.step-body h4 { margin: 4px 0 6px; font-size: 15px; color: var(--navy); }
.step-body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Executive quote ---------- */
.exec-quote { margin: 24px 0; padding: 20px 24px; background: linear-gradient(135deg, #5B0F87 0%, #7c2caf 100%); border-radius: 14px; color: #fff; position: relative; }
.exec-quote::before { content: '"'; position: absolute; top: 4px; left: 16px; font-size: 60px; opacity: .25; font-family: Georgia, serif; }
.exec-quote blockquote { margin: 0 0 12px; font-size: 16px; line-height: 1.6; font-style: italic; padding-left: 30px; color: #fff; font-weight: 400; }
.exec-quote__author { display: flex; align-items: center; gap: 10px; padding-left: 30px; font-size: 13px; color: rgba(255,255,255,.92); }
.exec-quote__author strong { color: #fff; }

/* ---------- FAQ Mega ---------- */
.faq-index { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 32px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq-index__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 0 4px 0 0; }
.faq-index__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--ink); text-decoration: none; }
.faq-index__chip:hover { color: var(--teal); border-color: var(--teal); background: rgba(30,138,125,.05); text-decoration: none; }
.faq-index__chip em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.faq-group { margin: 40px 0; scroll-margin-top: 96px; }
.faq-group__title { font-size: 22px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); color: var(--navy); }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--surface); }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy); font-size: 15px; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--teal); font-weight: 300; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item__body { padding: 14px 18px 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.faq-cta { margin: 40px 0 24px; padding: 24px; background: linear-gradient(135deg, #F5F1E8, #FAFAF7); border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.faq-cta h3 { margin: 0 0 8px; color: var(--navy); }
.faq-cta p { margin: 0; color: var(--ink-soft); }

/* ---------- Score total row no scoring ---------- */
.score-total-row td { background: rgba(30,138,125,.08); font-weight: 700; border-top: 2px solid var(--teal); }

/* ---------- Charts SVG editoriais ---------- */
.chart { margin: 28px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; font-style: italic; padding-top: 12px; border-top: 1px solid var(--line); }
.chart--donut { padding: 28px 24px; }
.donut-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.donut-wrap svg { width: 220px; height: 220px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; }
.donut-legend__item { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.donut-legend__swatch { width: 12px; height: 12px; border-radius: 3px; }
.donut-legend__label { color: var(--ink); }
.donut-legend__value { font-family: var(--font-mono); font-weight: 700; color: var(--navy); }
@media (max-width: 640px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; text-align: left; } }

/* ---------- Big stats ---------- */
.big-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.big-stat { background: linear-gradient(160deg, #F5F1E8 0%, #FAFAF7 100%); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; }
.big-stat__value { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 30px; font-weight: 700; color: var(--teal); line-height: 1.1; letter-spacing: -1px; }
.big-stat__label { font-size: 13px; color: var(--ink); margin-top: 6px; line-height: 1.35; }
.big-stat__src { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ---------- Hero-cine com background raster ---------- */
.hero-cine.hero-cine--bg { position: relative; overflow: hidden; isolation: isolate; }
.hero-cine__bg { position: absolute; inset: 0; z-index: -1; }
.hero-cine__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
  filter: saturate(.9) brightness(.7);
}
.hero-cine__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,21,32,.97) 0%, rgba(10,21,32,.88) 45%, rgba(10,21,32,.66) 75%, rgba(10,21,32,.55) 100%),
    linear-gradient(180deg, rgba(10,21,32,.55) 0%, rgba(10,21,32,.72) 100%);
}
.hero-cine.hero-cine--bg .hero-svg { display: none; }
.hero-cine.hero-cine--bg .kicker .tag { background: rgba(47,179,163,.14); color: #6fe1d1; border-color: rgba(47,179,163,.35); }
.hero-cine.hero-cine--bg h1, .hero-cine.hero-cine--bg .lede { color: #fff; }
.hero-cine.hero-cine--bg .trust-row { color: rgba(255,255,255,.75); }
.hero-cine.hero-cine--bg .trust-row strong { color: #fff; }

/* ---------- Feature-visual com imagem ---------- */
.feature-visual--img { position: relative; overflow: hidden; }
.feature-visual--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-visual__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(10,21,32,.85); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: #6fe1d1;
  border: 1px solid rgba(47,179,163,.30);
}

/* ---------- Preview-card com imagem (recomendações e análises) ---------- */
.preview-card--img {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.pc-cover {
  aspect-ratio: 5 / 3; overflow: hidden;
  background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  border-bottom: 1px solid var(--line);
}
.pc-cover img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.preview-card--img:hover .pc-cover img { transform: scale(1.04); }
.preview-card--img .pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.preview-card--img .pc-meta { margin: 0 0 8px; }
.preview-card--img h3 { margin: 4px 0 8px; }
.preview-card--img p { flex: 1 1 auto; }

/* ---------- "Por que existe" — grid com ilustração + pilares ---------- */
.why-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px);
  align-items: center; margin: 40px 0 32px;
}
.why-illus {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  box-shadow: 0 16px 44px rgba(15,32,43,.10);
}
.why-illus img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.why-cols { display: grid; gap: 24px; }
.why-cols h3 { font-size: 20px; margin: 6px 0 8px; color: var(--navy); }
.why-cols .eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
.why-cols p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

.why-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line);
}
.why-pillar {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 16px;
}
.why-pillar img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 50%;
  background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  box-shadow: 0 6px 20px rgba(15,32,43,.08);
}
.why-pillar h4 { font-size: 15px; font-weight: 700; margin: 4px 0; color: var(--navy); }
.why-pillar p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 240px; }
@media (max-width: 700px) { .why-pillars { grid-template-columns: 1fr; } }

/* ---------- Termos essenciais como cards com ícone ilustrado ---------- */
.term-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.term-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.term-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,32,43,.08);
  border-color: rgba(30,138,125,.35);
  text-decoration: none;
}
.term-card__icon {
  width: 96px; height: 96px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg,#F5F1E8,#FAFAF7);
  flex-shrink: 0;
}
.term-card__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.term-card__body { display: flex; flex-direction: column; justify-content: center; }
.term-card__label {
  font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.term-card__body p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
@media (max-width: 700px) { .term-grid { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15,32,43,.10);
  border-color: rgba(30,138,125,.35);
  text-decoration: none;
}
.post-card__cover {
  aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden;
}
.post-card__cover img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card__cover img { transform: scale(1.03); }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card__kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
.post-card__title {
  font-size: 19px; font-weight: 700; line-height: 1.3; margin: 2px 0 4px;
  color: var(--navy);
}
.post-card__desc {
  font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0;
}
.post-card__meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  margin-top: 8px; letter-spacing: 0.5px;
}

/* ---------- Marcos editoriais (grid) ---------- */
.mk-grid {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 1080px) { .mk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .mk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .mk-grid { grid-template-columns: 1fr; } }
.mk-item { display: flex; }
.mk-card {
  display: flex; flex-direction: column;
  width: 100%; padding: 20px 22px 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--line-strong);
  color: var(--ink); text-decoration: none;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
a.mk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-left-color: var(--teal); text-decoration: none; }
.mk-item--now .mk-card {
  border-left-color: var(--teal); background: #f5faf9;
  box-shadow: 0 0 0 3px rgba(30,138,125,.08), var(--shadow-sm);
}
.mk-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mk-card__year {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  color: var(--teal); letter-spacing: -0.5px; line-height: 1;
}
.mk-card__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 500;
}
.mk-card__title {
  font-size: 17px; line-height: 1.25; margin: 0 0 8px;
  color: var(--navy); font-weight: 700;
}
.mk-card__text {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 12px;
}
.mk-card__cta {
  margin-top: auto; font-size: 13px; font-weight: 600; color: var(--teal);
}
.mk-footnote {
  text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 26px;
  font-style: italic;
}

/* ---------- Sources block (fontes primárias .gov.br) ---------- */
.sources-block {
  margin: 36px 0 12px; padding: 20px 24px;
  background: #f4f2eb; border: 1px solid var(--line);
  border-left: 4px solid #2b4a63; border-radius: var(--radius-lg);
}
.sources-block h2 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #2b4a63; margin: 0 0 12px; font-weight: 600;
}
.sources-list { list-style: none; padding: 0; margin: 0; }
.sources-list li {
  padding: 8px 0; border-bottom: 1px dashed #d9d5c9; font-size: 14.5px; color: var(--ink-soft);
}
.sources-list li:last-child { border-bottom: 0; }
.sources-list a { color: var(--teal); font-weight: 600; }
.sources-list a::after { content: ' ↗'; opacity: .6; font-weight: 400; }

/* ---------- Author pages ---------- */

/* Hero (banner) */
.author-hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #f5faf9 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}
.author-hero__grid {
  display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: center;
}
@media (max-width: 640px) {
  .author-hero__grid { grid-template-columns: 88px 1fr; gap: 20px; }
  .author-hero { padding: 28px 0 24px; }
}
.author-hero__avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #14615a);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 46px; letter-spacing: 1px;
  box-shadow: 0 12px 32px rgba(30,138,125,.25);
  border: 4px solid #fff;
}
.author-hero__avatar--org {
  background: linear-gradient(135deg, #15202B, #2b4a63);
}
@media (max-width: 640px) {
  .author-hero__avatar { width: 88px; height: 88px; font-size: 30px; border-width: 3px; }
}
.author-hero__meta .pill { margin-bottom: 12px; }
.author-hero__name {
  font-size: clamp(28px, 4vw, 40px); margin: 6px 0 4px; color: var(--navy);
}
.author-hero__title {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 10px; font-weight: 500;
}
.author-hero__lede {
  font-size: 16.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; max-width: 660px;
}
.author-hero__links { display: flex; gap: 10px; flex-wrap: wrap; }

/* Corpo (side + main) */
.author-body {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding: 40px 0 24px;
}
@media (max-width: 900px) {
  .author-body { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
}
.author-body__side { display: flex; flex-direction: column; gap: 16px; }
.author-body__main { max-width: 720px; }
.author-body__main h2 {
  font-size: 22px; margin: 26px 0 10px; color: var(--navy);
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.author-body__main h2:first-child { margin-top: 0; }
.author-body__main ol, .author-body__main ul { padding-left: 20px; }
.author-body__main li { margin-bottom: 8px; line-height: 1.65; color: var(--ink); }

/* Side cards */
.side-card {
  padding: 18px 20px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.side-card__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 10px; font-weight: 600;
}
.side-card__list { list-style: none; padding: 0; margin: 0; }
.side-card__list li {
  padding: 6px 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45;
  border-bottom: 1px dashed var(--line);
}
.side-card__list li:last-child { border-bottom: 0; }

/* Cards no hub /autores/ */
.author-card {
  display: flex; gap: 18px; padding: 24px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.author-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
  border-color: var(--line-strong); text-decoration: none;
}
.author-card__avatar {
  width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #14615a);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .5px;
}
.author-card__avatar--org { background: linear-gradient(135deg, #15202B, #2b4a63); }
.author-card__body { flex: 1 1 auto; }
.author-card__label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 4px; display: block;
}
.author-card__body h3 { margin: 2px 0 8px; font-size: 20px; color: var(--navy); }
.author-card__body p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 10px; line-height: 1.55; }
.author-card__cta { font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
