/* === ARTIGOS DO BLOG · SHAPER WHITE ===
   Template de leitura dos artigos (public/artigos/*.html) e do hub de publicações.
   Tokens da Versão White (shaper-design.md, Parte 3 e Parte 5). Gerado junto com
   scripts/build_blog.py: não editar estilos inline nos artigos. */

body.artigo-white {
  --bg: #FFFFFF;
  --bg-soft: #F6F6F7;
  --ink: #0A0A0A;
  --text: #3F3F46;
  --muted: #52525B;
  --dim: #6B6B74;
  --line: rgba(10, 10, 10, 0.09);
  --line-2: rgba(10, 10, 10, 0.16);
  --grid: rgba(10, 10, 10, 0.065);
  --blue: #2563EB;
  --green: #047857;
  --magenta: #B620CA;
  --amber: #B45309;
  --accent-indigo: #0C0145;
  --whats: #25D366;
  --radius: 10px;
  --radius-lg: 18px;
  --tight: "Inter Tight", -apple-system, system-ui, sans-serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --spectrum: linear-gradient(90deg, var(--blue), var(--green) 35%, var(--magenta) 70%, var(--amber));
  --shadow-rest: 0 16px 36px -24px rgba(10, 10, 10, 0.18);
  --shadow-glass: inset 0 1px 0 #FFFFFF, 0 12px 30px -20px rgba(10, 10, 10, 0.15);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Variáveis herdadas do tema escuro, usadas em estilos inline dos artigos */
  --surface: #FFFFFF;
  --surface-bg: #FFFFFF;
  --surface-card: #F6F6F7;
  --surface-elevated: #F6F6F7;
  --outline: rgba(10, 10, 10, 0.09);
  --divider-dark: rgba(10, 10, 10, 0.09);
  --on-surface: #0A0A0A;
  --on-surface-muted: #52525B;
  --on-surface-subtle: #6B6B74;
  --accent: #B45309;
  --font-display: var(--tight);
  --font-body: var(--sans);

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.artigo-white *, body.artigo-white *::before, body.artigo-white *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.artigo-white img { max-width: 100%; }

.artigo-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Topo: grade, glows, trilha ---------- */
.artigo-top { position: relative; isolation: isolate; overflow-x: clip; padding-top: clamp(96px, 10vw, 124px); }
.artigo-top::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 30%, transparent 100%);
}
.artigo-top .glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.artigo-top .glow.g1 { width: 520px; height: 420px; left: 2%; top: 0; background: rgba(37, 99, 235, 0.10); }
.artigo-top .glow.g2 { width: 480px; height: 380px; right: 2%; top: 80px; background: rgba(182, 32, 202, 0.07); }

.artigo-breadcrumb { font-size: 13px; color: var(--dim); margin-bottom: clamp(18px, 2.4vw, 28px); }
.artigo-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.artigo-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.artigo-breadcrumb li + li::before { content: "/"; color: var(--line-2); }
.artigo-breadcrumb a { color: var(--muted); text-decoration: none; }
.artigo-breadcrumb a:hover { color: var(--ink); }
.artigo-breadcrumb [aria-current] { color: var(--dim); }

/* ---------- Layout em duas colunas ---------- */
.artigo-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1080px) {
  .artigo-layout { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; }
}
.artigo-main { min-width: 0; }

/* ---------- Cabeçalho do artigo ---------- */
.article-title {
  font-family: var(--tight); font-weight: 300; color: var(--ink);
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.03em;
  margin: 0 0 clamp(20px, 2.6vw, 28px); text-wrap: balance;
}
.artigo-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-bottom: clamp(20px, 2.6vw, 28px); }
.artigo-author { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.artigo-avatar { width: 52px; height: 52px; border-radius: 50%; padding: 2px; flex-shrink: 0; background: conic-gradient(from 200deg, var(--blue), var(--green), var(--magenta), var(--amber), var(--blue)); }
.artigo-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #FFFFFF; object-fit: cover; object-position: center 18%; display: block; }
.artigo-author-name { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.artigo-author-role { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.artigo-author:hover .artigo-author-name { text-decoration: underline; text-underline-offset: 3px; }
.artigo-dates { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--dim); text-align: right; }
.artigo-dates span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.artigo-dates svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .artigo-dates { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .artigo-dates span { justify-content: flex-start; }
}

.article-cover { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-soft); box-shadow: var(--shadow-rest); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; margin: 0; border-radius: 0; }

/* ---------- Índice e coluna lateral ---------- */
.artigo-sidebar { display: none; }
@media (min-width: 1080px) {
  .artigo-sidebar { display: flex; flex-direction: column; gap: 20px; align-self: stretch; }
  .artigo-sidebar .artigo-cta-card { position: sticky; top: 96px; }
  .artigo-toc-mobile { display: none; }
}
.artigo-card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-glass);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 22px 22px 20px; overflow: hidden;
}
.artigo-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); }
.artigo-toc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.artigo-toc-title { font-family: var(--tight); font-size: 17px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.artigo-toc { min-height: 0; }
.artigo-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.artigo-toc li { counter-increment: toc; }
.artigo-toc a {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 7px 0; font-size: 13.5px; line-height: 1.42;
  color: var(--muted); text-decoration: none; text-wrap: balance; border-radius: 6px; transition: color 0.2s ease;
}
.artigo-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--tight); font-size: 11.5px; color: var(--dim); padding-top: 2px; }
.artigo-toc a:hover { color: var(--ink); }
.artigo-toc a.is-active { color: var(--ink); font-weight: 600; }
.artigo-toc a.is-active::before { color: var(--blue); }

.artigo-share { display: flex; align-items: center; gap: 6px; }
.artigo-share a, .artigo-share button {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; padding: 0; transition: color 0.2s ease, border-color 0.2s ease;
}
.artigo-share a:hover, .artigo-share button:hover { color: var(--ink); border-color: var(--line-2); }
.artigo-share svg { width: 14px; height: 14px; fill: currentColor; }
.artigo-share button svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.artigo-share button.is-copied { color: var(--green); border-color: rgba(4, 120, 87, 0.35); }

.artigo-cta-card h3 { font-family: var(--tight); font-weight: 400; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 8px; text-wrap: balance; }
.artigo-cta-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; text-wrap: balance; }
.artigo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; padding: 0 20px; border-radius: 999px;
  font: 600 12px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: #FFFFFF;
  background: linear-gradient(180deg, rgba(38, 38, 42, 0.95), rgba(10, 10, 10, 0.95)); border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 12px 30px -10px rgba(10, 10, 10, 0.45);
  transition: transform 0.25s ease;
}
.artigo-btn:hover { transform: translateY(-2px); }

.artigo-toc-mobile { margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.artigo-toc-mobile summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; font-family: var(--tight); font-size: 17px; color: var(--ink); }
.artigo-toc-mobile summary::-webkit-details-marker { display: none; }
.artigo-toc-mobile summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; transition: transform 0.2s ease; }
.artigo-toc-mobile[open] summary::after { transform: rotate(45deg); }
.artigo-toc-mobile .artigo-toc { padding: 0 18px 12px; margin: 0; max-height: none; }
.artigo-toc-mobile .artigo-share { padding: 4px 18px 16px; }

/* ---------- Corpo do texto ---------- */
.article-content {
  max-width: 720px; margin: 0; padding: clamp(28px, 3.6vw, 40px) 0 0;
  font-family: var(--sans); color: var(--text); font-size: 17px; line-height: 1.7;
  word-break: normal; overflow-wrap: break-word;
}
@media (max-width: 640px) { .article-content { font-size: 16px; } }
.article-content p { margin: 0 0 1.1em; color: var(--text); text-align: left; text-wrap: pretty; }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content h2 {
  font-family: var(--tight); font-weight: 300; color: var(--ink); font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15; letter-spacing: -0.025em; margin: clamp(44px, 5vw, 60px) 0 16px; text-wrap: balance; scroll-margin-top: 100px;
}
.article-content h3 { font-family: var(--tight); font-weight: 400; color: var(--ink); font-size: clamp(19px, 2vw, 22px); line-height: 1.3; letter-spacing: -0.01em; margin: clamp(28px, 3.4vw, 36px) 0 10px; text-wrap: balance; scroll-margin-top: 100px; }
.article-content h4 { font-family: var(--tight); font-weight: 500; color: var(--ink); font-size: 17px; margin: 24px 0 8px; text-wrap: balance; }
.article-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.article-content a:hover { text-decoration-color: var(--blue); }
.article-content ul, .article-content ol { margin: 0 0 1.2em; padding-left: 24px; color: var(--text); }
.article-content li { margin-bottom: 8px; text-align: left; line-height: 1.65; text-wrap: pretty; }
.article-content li::marker { color: var(--dim); }
.article-content hr { border: 0; height: 1px; background: var(--line); margin: clamp(32px, 4vw, 44px) 0; }
.article-content blockquote { border-left: 3px solid var(--magenta); margin: 28px 0; padding: 4px 0 4px 20px; font-family: var(--tight); font-size: 20px; font-weight: 300; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.article-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 28px 0; border: 1px solid var(--line); display: block; }
.article-content pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; margin: 24px 0; }
.article-content pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6; color: var(--ink); white-space: pre; }
.article-content :not(pre) > code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--ink); }

/* Tabelas */
.table-wrap { overflow-x: auto; margin: 28px 0 8px; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #FFFFFF; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.article-content table, .article-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; text-align: left; margin: 0; }
.article-content > table { margin: 28px 0; }
.article-content th, .article-content td, .article-table th, .article-table td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: top; color: var(--text); text-wrap: pretty; }
.article-content thead th, .article-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--line-2); }
.article-content tr:last-child td, .article-table tr:last-child td { border-bottom: 0; }
.article-table-dense { min-width: 640px; }
.table-caption { font-size: 13px; color: var(--dim); margin: 6px 0 24px; font-style: italic; text-wrap: balance; }
.table-scroll-hint { display: none; font-size: 12px; color: var(--dim); margin-top: 6px; text-align: right; }
@media (max-width: 768px) { .table-scroll-hint { display: block; } }

/* Caixas editoriais */
.highlight-box, .article-guide-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 24px); margin: 28px 0; }
.highlight-box ul, .article-guide-box ul { margin-bottom: 0; }
.article-guide-box p { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.case-box { background: #FFFFFF; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(18px, 2.4vw, 24px); margin: 28px 0; box-shadow: var(--shadow-rest); }
.case-box p { margin-bottom: 10px; }
.case-box p:last-child { margin-bottom: 0; }
.faq-block { margin-top: 24px; }
.faq-item { border-top: 1px solid var(--line-2); padding: 18px 0; margin: 0; background: none; border-radius: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-item h3 { margin: 0 0 8px; font-size: 19px; }
.faq-item p { margin: 0; }
.article-refs { font-size: 14px; color: var(--muted); }

/* Resumo executivo, pirâmide, sinais e comparativos (componentes de artigos) */
.executive-summary-card, .pyramid-diagram { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 246, 247, 0.9)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 30px); margin: 32px 0; box-shadow: var(--shadow-glass); }
.summary-signature-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); }
.summary-header, .pyramid-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pyramid-header { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.pyramid-header h3, .pyramid-header h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.summary-badge, .pyramid-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pyramid-badge { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); }
.summary-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.summary-read-time { font-size: 11px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.summary-main-title { font-family: var(--tight); font-weight: 400; font-size: 21px; color: var(--ink); margin: 0 0 18px; line-height: 1.3; text-wrap: balance; }
.summary-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .summary-cards-grid { grid-template-columns: 1fr; } }
.summary-item-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; text-decoration: none !important; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.summary-item-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-rest); }
.summary-num { font-family: var(--tight); font-size: 14px; font-weight: 600; color: var(--blue); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(37, 99, 235, 0.25); line-height: 1; flex-shrink: 0; }
.summary-text-block { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.summary-item-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; text-wrap: balance; }
.summary-item-desc { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0 !important; text-wrap: balance; }
.summary-arrow-icon { color: var(--dim); flex-shrink: 0; margin-top: 2px; }
.pyramid-levels { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pyramid-tier { width: 100%; border-radius: var(--radius); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); background: #FFFFFF; }
.tier-top { max-width: 500px; border-color: rgba(180, 83, 9, 0.35); background: rgba(180, 83, 9, 0.05); }
.tier-vps { max-width: 600px; border-color: rgba(37, 99, 235, 0.3); background: rgba(37, 99, 235, 0.05); }
.tier-directors { max-width: 700px; border-color: rgba(182, 32, 202, 0.3); background: rgba(182, 32, 202, 0.05); }
.tier-bottleneck { border: 1px dashed rgba(220, 38, 38, 0.55); background: rgba(220, 38, 38, 0.05); }
.tier-base { background: var(--bg-soft); }
.tier-info { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.tier-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.tier-subtitle { font-size: 12.5px; color: var(--muted); }
.tier-count { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: #FFFFFF; border: 1px solid var(--line); white-space: nowrap; }
.signals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0; }
.signal-card { position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-rest); }
.signal-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.signal-card-1::before { background: var(--amber); }
.signal-card-2::before { background: var(--blue); }
.signal-card-3::before { background: var(--green); }
.signal-badge-row { display: flex; align-items: center; justify-content: space-between; }
.signal-tag { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; background: var(--bg-soft); color: var(--muted); }
.signal-icon-box { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); }
.signal-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.35; text-wrap: balance; }
.signal-desc { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; text-wrap: balance; }
.versus-container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
@media (max-width: 640px) { .versus-container { grid-template-columns: 1fr; } }
.versus-box { border-radius: 14px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: #FFFFFF; }
.versus-freela { border-color: rgba(220, 38, 38, 0.25); }
.versus-consulting { border-color: rgba(4, 120, 87, 0.35); box-shadow: var(--shadow-rest); }
.versus-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; margin: 0; }
.versus-freela .versus-title { color: #DC2626; }
.versus-consulting .versus-title { color: var(--green); }
.versus-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.versus-list li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; margin: 0; }
.versus-list li svg { flex-shrink: 0; margin-top: 3px; }

/* Cards de CTA dentro do texto · design White (vidro, espectro, sem eyebrow) */
.article-card-cta {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin: 40px 0; padding: clamp(24px, 3.4vw, 32px) clamp(22px, 3.4vw, 32px);
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.65));
  box-shadow: inset 0 1px 0 #FFFFFF, 0 20px 48px -20px rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  isolation: isolate;
}
.article-card-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); }
.article-card-cta::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 220px; right: -60px; top: -80px; border-radius: 50%; filter: blur(70px); background: rgba(37, 99, 235, 0.10); pointer-events: none; }
.card-tema-agencias::after { background: rgba(180, 83, 9, 0.10); }
.card-tema-ia::after { background: rgba(182, 32, 202, 0.10); }
.card-tema-carreira::after { background: rgba(4, 120, 87, 0.10); }
.dashes { display: inline-flex; gap: 5px; }
.dashes i { width: 14px; height: 3px; border-radius: 2px; background: var(--blue); }
.dashes i:nth-child(2) { background: var(--green); }
.dashes i:nth-child(3) { background: var(--magenta); }
.dashes i:nth-child(4) { background: var(--amber); }
.article-content .article-card-title { margin: 4px 0 0; font-family: var(--tight); font-weight: 300; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.article-content .article-card-desc { margin: 0; max-width: 560px; font-size: 15.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.article-content .article-card-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; margin-top: 6px; padding: 0 26px; border-radius: 999px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: #FFFFFF;
  background: linear-gradient(180deg, rgba(38, 38, 42, 0.95), rgba(10, 10, 10, 0.95)); border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 12px 30px -10px rgba(10, 10, 10, 0.45);
  transition: transform 0.25s ease;
}
.article-content .article-card-btn:hover { transform: translateY(-2px); text-decoration: none; }
.article-content .article-card-btn.is-whatsapp { background: var(--whats); color: #0A0A0A; border: 0; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.45); }
@media (max-width: 600px) { .article-content .article-card-btn { width: 100%; } }

/* Bio do autor */
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: clamp(20px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.author-box .artigo-avatar { width: 64px; height: 64px; }
.article-content .artigo-avatar img { width: 100%; height: 100%; margin: 0; border: 2px solid #FFFFFF; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.author-box p { color: var(--text); font-size: 15px; line-height: 1.65; margin: 0 0 10px; text-align: left; text-wrap: pretty; }
.author-box p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .author-box { flex-direction: column; } }

/* ---------- Leia também ---------- */
.artigo-related { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 80px); }
.artigo-related h2 { font-family: var(--tight); font-weight: 300; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; color: var(--ink); margin: 0 0 24px; text-wrap: balance; }
.artigo-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.artigo-related-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; text-decoration: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-rest); transition: transform 0.25s ease; }
.artigo-related-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); opacity: 0; transition: opacity 0.25s ease; }
.artigo-related-card:hover { transform: translateY(-3px); }
.artigo-related-card:hover::before { opacity: 1; }
.artigo-related-card strong { font-family: var(--tight); font-weight: 400; font-size: 19px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.artigo-related-card span { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }

/* ---------- Newsletter ---------- */
.artigo-newsletter { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.artigo-newsletter h2 { font-family: var(--tight); font-weight: 300; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
.artigo-newsletter p { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 auto; max-width: 560px; text-wrap: balance; }
.artigo-newsletter .newsletter-form { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; flex-wrap: wrap; justify-content: center; }
.artigo-newsletter .newsletter-input { flex: 1; min-width: 220px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-size: 16px; }
.artigo-newsletter .newsletter-input:focus { outline: none; border-color: var(--blue); }
.artigo-newsletter .artigo-btn { width: auto; height: 52px; padding: 0 28px; }
.artigo-newsletter .newsletter-note { font-size: 12px; color: var(--dim); margin-top: 14px; }
.artigo-newsletter .newsletter-feedback { display: none; margin-top: 14px; font-size: 14px; }
@media (max-width: 600px) { .artigo-newsletter .artigo-btn { width: 100%; } }

/* ---------- Rodapé institucional (mesmo da home) ---------- */
.inst-footer { border-top: 1px solid var(--line); padding: 50px 0 36px; background: var(--bg); font-size: 14px; color: var(--muted); }
.inst-footer .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.inst-footer .footer-brand { max-width: 320px; }
.inst-footer .footer-brand p { font-size: 14px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.inst-footer h5, .inst-footer .footer-titulo { font-family: var(--tight); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.inst-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.inst-footer a { color: var(--muted); text-decoration: none; }
.inst-footer a:hover { color: var(--ink); }
.inst-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13px; color: var(--dim); }

/* Títulos dentro de componentes: vencem as regras gerais de h2/h3/h4 do texto */
.article-content .summary-main-title { margin: 0 0 18px; font-size: 21px; font-weight: 400; }
.article-content .signal-title { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.article-content .versus-title { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.article-content .versus-freela .versus-title { color: #DC2626; }
.article-content .versus-consulting .versus-title { color: var(--green); }
.article-content .pyramid-header h3, .pyramid-header h4 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.article-content .faq-item h3 { margin: 0 0 8px; }

/* Blocos extras da coluna lateral */
.artigo-sidebar h3 { font-family: var(--tight); font-weight: 400; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 10px; text-wrap: balance; }
.artigo-google { display: flex; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.4; }
.artigo-google::before { display: none; }
.artigo-google svg { width: 26px; height: 26px; fill: var(--ink); flex-shrink: 0; }
.artigo-google span { text-wrap: balance; }
.artigo-google:hover span { text-decoration: underline; text-underline-offset: 3px; }
.artigo-rotulo { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.artigo-isca p, .artigo-guias p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; text-wrap: balance; }
.artigo-link { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.artigo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.artigo-guias ul { list-style: none; margin: 0 0 14px; padding: 0; }
.artigo-guias li { border-top: 1px solid var(--line); }
.artigo-guias li:first-child { border-top: 0; }
.artigo-guias li a { display: block; padding: 9px 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-decoration: none; text-wrap: balance; }
.artigo-guias li a:hover { color: var(--ink); }
.artigo-checklist { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.artigo-checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.artigo-checklist svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hub de artigos (publicacoes.html) ---------- */
.hub-top { padding-bottom: clamp(28px, 4vw, 44px); }
.hub-title { font-size: clamp(38px, 5.2vw, 64px); margin-bottom: 14px; }
.hub-lead { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 640px; margin: 0 0 28px; text-wrap: balance; }
.hub-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hub-search { flex: 1 1 320px; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-glass); }
.hub-search:focus-within { border-color: var(--blue); }
.hub-search svg { width: 18px; height: 18px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.hub-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px var(--sans); color: var(--ink); }
.hub-search input::placeholder { color: var(--dim); }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--muted); font: 500 13.5px var(--sans); cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.hub-chip:hover { color: var(--ink); border-color: var(--ink); }
.hub-chip.is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.hub-feed { padding: clamp(12px, 2vw, 20px) 0 clamp(64px, 8vw, 100px); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.hub-card { position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-rest); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hub-card[hidden] { display: none; }
.hub-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1; background: var(--spectrum); opacity: 0; transition: opacity 0.25s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(10, 10, 10, 0.28); }
.hub-card:hover::before { opacity: 1; }
.hub-card-img { display: block; aspect-ratio: 16 / 9; background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.hub-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.hub-card:hover .hub-card-img img { transform: scale(1.03); }
.hub-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex-grow: 1; }
.hub-card-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hub-card h2 { font-family: var(--tight); font-weight: 400; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 0; text-wrap: balance; }
.hub-card-desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); flex-grow: 1; text-wrap: pretty; }
.hub-card-meta { font-size: 12.5px; color: var(--dim); padding-top: 12px; border-top: 1px solid var(--line); }
.hub-vazio { text-align: center; color: var(--muted); padding: 48px 0; }

.hub-materiais { padding: clamp(64px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.hub-materiais h2 { font-family: var(--tight); font-weight: 300; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
.hub-materiais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.hub-material { display: flex; flex-direction: column; padding: 26px 24px; }
.hub-material h3 { font-family: var(--tight); font-weight: 400; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 10px; text-wrap: balance; }
.hub-material p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; flex-grow: 1; text-wrap: pretty; }
.hub-volumes { list-style: none; margin: 0 0 16px; padding: 0; }
.hub-volumes li { border-top: 1px solid var(--line); }
.hub-volumes a { display: block; padding: 8px 0; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.hub-volumes a:hover { color: var(--ink); }

.hub-atualizado { font-size: 13.5px; color: var(--dim); margin: -12px 0 24px; }
.hub-atualizado a { color: var(--muted); }

/* ---------- Copiar para IA (estilo documentação) ---------- */
.artigo-ia-bar { display: flex; justify-content: flex-end; margin: -6px 0 16px; }
.artigo-ia { position: relative; display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04); }
.artigo-ia > button { display: inline-flex; align-items: center; gap: 8px; height: 38px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font: 500 13.5px var(--sans); }
.artigo-ia-copiar { padding: 0 14px 0 16px; border-radius: 999px 0 0 999px; }
.artigo-ia-abrir { padding: 0 12px; border-left: 1px solid var(--line-2) !important; border-radius: 0 999px 999px 0; }
.artigo-ia > button:hover { background: var(--bg-soft); }
.artigo-ia svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.artigo-ia-abrir[aria-expanded="true"] svg { transform: rotate(180deg); }
.artigo-ia .is-copied { color: var(--green); }
.artigo-ia-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 300px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; box-shadow: 0 24px 48px -20px rgba(10, 10, 10, 0.28); }
.artigo-ia-menu[hidden] { display: none; }
.artigo-ia-menu a, .artigo-ia-menu button { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.artigo-ia-menu a:hover, .artigo-ia-menu button:hover { background: var(--bg-soft); }
.artigo-ia-menu svg { margin-top: 2px; color: var(--muted); }
.artigo-ia-menu span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.artigo-ia-menu strong { font-size: 13.5px; font-weight: 600; }
.artigo-ia-menu small { font-size: 12px; color: var(--dim); }
.artigo-ia-menu svg:last-child:not(:first-child) { width: 13px; height: 13px; color: var(--dim); }
@media (max-width: 640px) { .artigo-ia-bar { justify-content: flex-start; } .artigo-ia-menu { left: 0; right: auto; width: min(300px, calc(100vw - 32px)); } }
