/* =========================================================================
   Algoritmo Diário — componentes dos artigos importados (tema claro)
   Arquivo: assets/css/artigos.css
   Tudo fica dentro de .article-body para não interferir no resto do site.
   ========================================================================= */

.article-body {
  /* Variáveis usadas pelo HTML antigo (inclusive em style="..." inline),
     agora com valores para fundo claro */
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface2: #eef2f7;
  --border: #dde3ea;
  --border2: #cfd7e1;
  --text: #1d2433;
  --text-muted: #3d4757;
  --text-dim: #5f6b7c;
  --accent: #007a99;
  --accent2: #5b3fd6;
  --accent3: #c4511f;
  --green: #0a8754;
  --yellow: #8a6d00;
  --red: #c42b3c;
  --orange: #b85f00;
  --wpp: #128c4a;
  --claude: #b45309;
  --google: #1a5fd0;
  --n8n: #c22a55;
  --make: #c4511f;
  --pinterest: #c4001e;
  --chatgpt: #00805f;
  --gemini: #1a5fd0;
  --radius: 12px;
  --radius-sm: 6px;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
}

/* ---------- Lead (primeiro parágrafo do artigo) ---------- */
.article-body .hero-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2rem;
}

/* ---------- Títulos numerados (data-num="01") ---------- */
.article-body h2[data-num]::before {
  content: attr(data-num);
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent2);
  background: rgba(91, 63, 214, .08);
  border: 1px solid rgba(91, 63, 214, .25);
  border-radius: 4px;
  padding: .15rem .45rem;
  margin-right: .6rem;
  vertical-align: middle;
  letter-spacing: .05em;
}

/* ---------- Caixas genéricas (*-box) ---------- */
.article-body [class$="-box"],
.article-body [class*="-box "] {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.article-body [class$="-box"] p:last-child { margin-bottom: 0; }

/* ---------- Cards e grades genéricas ---------- */
.article-body [class$="-grid"],
.article-body .compare-duo,
.article-body .antes-depois,
.article-body .ia-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}
.article-body [class$="-card"],
.article-body [class*="-card "],
.article-body .stat-item,
.article-body .tool-card,
.article-body .caso-real,
.article-body .erro-item,
.article-body .alerta-item,
.article-body .custo-item,
.article-body .contrato-item,
.article-body .protocolo-item,
.article-body .top5-item,
.article-body .info-col,
.article-body .infog-col,
.article-body .ad-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-size: .95rem;
  line-height: 1.6;
}
.article-body [class$="-card"] p,
.article-body [class*="-card "] p { margin-bottom: .5rem; font-size: .95rem; }

/* Textos internos dos cards (nomes de classe variam por artigo) */
.article-body [class$="-title"],
.article-body [class$="-titulo"],
.article-body [class$="-nome"],
.article-body [class$="-name"],
.article-body [class$="-use"] {
  font-weight: 700;
  color: var(--text);
  margin-bottom: .35rem;
  line-height: 1.35;
}
.article-body [class$="-desc"] {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
}
.article-body [class$="-label"],
.article-body [class$="-tipo"],
.article-body [class$="-se"],
.article-body [class$="-nivel"],
.article-body [class$="-marca"],
.article-body [class$="-setor"],
.article-body [class$="-badge"],
.article-body .tool-ideal {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent2);
  margin-bottom: .4rem;
}

/* Cards com borda colorida conforme o sentido */
.article-body .pro, .article-body .sim, .article-body .pode, .article-body .permitido,
.article-body .ideal, .article-body .solucao, .article-body .col-sim, .article-body .depois,
.article-body .rapido, .article-body .gratis, .article-body .basico, .article-body .free { border-top: 3px solid var(--green); }
.article-body .con, .article-body .nao, .article-body .proibido, .article-body .evitar,
.article-body .problema, .article-body .col-nao, .article-body .antes, .article-body .alto,
.article-body .agora { border-top: 3px solid var(--red); }
.article-body .medio, .article-body .breve, .article-body .intermediario, .article-body .longo { border-top: 3px solid var(--orange); }
.article-body .destaque, .article-body .winner { border: 1.5px solid var(--accent); }
.article-body .wpp { border-top: 3px solid var(--wpp); }
.article-body .site, .article-body .saas { border-top: 3px solid var(--accent); }
.article-body .make, .article-body .totvs { border-top: 3px solid var(--make); }
.article-body .n8n { border-top: 3px solid var(--n8n); }
.article-body .claude, .article-body .sankhya, .article-body .avancado, .article-body .custom { border-top: 3px solid var(--accent2); }
.article-body .chatgpt { border-top: 3px solid var(--chatgpt); }
.article-body .gemini, .article-body .google { border-top: 3px solid var(--google); }

/* ---------- Barra de números ---------- */
.article-body .stats-bar,
.article-body .stats-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.article-body .stat-item { text-align: center; padding: 1rem .75rem; }
.article-body .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .35rem;
  color: var(--accent);
}
.article-body .stat-label,
.article-body .stat-item > div:last-child {
  display: block;
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ---------- Cores utilitárias ---------- */
.article-body .green, .article-body .low, .article-body .hl,
.article-body .td-green, .article-body .highlight { color: var(--green); }
.article-body .yellow, .article-body .mid, .article-body .td-yellow, .article-body .warn { color: var(--yellow); }
.article-body .orange { color: var(--orange); }
.article-body .red, .article-body .high, .article-body .td-red, .article-body .red-val { color: var(--red); }
.article-body .purple { color: var(--accent2); }
.article-body .cyan, .article-body .accent, .article-body .blue { color: var(--accent); }
.article-body .stat-value.wpp, .article-body .stat-value.claude,
.article-body .stat-value.n8n, .article-body .stat-value.make,
.article-body .stat-value.chatgpt, .article-body .stat-value.gemini { border: 0; }
.article-body .stat-value.wpp { color: var(--wpp); }
.article-body .stat-value.claude { color: var(--claude); }
.article-body .stat-value.n8n { color: var(--n8n); }
.article-body .stat-value.make { color: var(--make); }
.article-body .stat-value.chatgpt { color: var(--chatgpt); }
.article-body .stat-value.gemini { color: var(--gemini); }
.article-body .hl, .article-body .td-total { font-weight: 700; }

/* ---------- Índice ---------- */
.article-body .toc-box { border-left: 4px solid var(--accent2); }
.article-body .toc-box h2,
.article-body .toc-box h3,
.article-body .toc-box h4,
.article-body .toc-title,
.article-body .toc-box > strong {
  display: block;
  font-size: .8rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim) !important;
  margin: 0 0 .75rem !important;
  padding: 0 !important;
  border: 0 !important;
}
.article-body .toc-box h2::before { display: none !important; }
.article-body .toc-list { list-style: none; padding: 0; margin: 0; }
.article-body .toc-list li { margin-bottom: .4rem; }
.article-body .toc-list a {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  color: var(--text-muted);
  text-decoration: none !important;
  font-size: .97rem;
}
.article-body .toc-list a:hover { color: var(--accent); }
.article-body .toc-num { font-weight: 800; font-size: .8rem; color: var(--accent2); min-width: 1.6rem; }

/* ---------- Callouts ---------- */
.article-body .callout,
.article-body .simulation-notice,
.article-body .experiment-badge {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  background: var(--surface);
}
.article-body .callout-icon,
.article-body .experiment-badge-icon { font-size: 1.3rem; line-height: 1.3; flex-shrink: 0; }
.article-body .callout-body { flex: 1; font-size: .97rem; line-height: 1.65; color: var(--text-muted); }
.article-body .callout-body p { margin-bottom: .4rem; font-size: .97rem; }
.article-body .callout-body p:last-child { margin-bottom: 0; }
.article-body .callout-body strong { color: var(--text); }
.article-body .callout-body h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }

.article-body .callout-tip,
.article-body .callout-success  { background: #effaf4; border-left-color: var(--green); }
.article-body .callout-warn,
.article-body .callout-danger   { background: #fdf1f2; border-left-color: var(--red); }
.article-body .callout-orange,
.article-body .callout-money,
.article-body .callout-yellow,
.article-body .simulation-notice { background: #fff7ec; border-left-color: var(--orange); }
.article-body .callout-pro,
.article-body .experiment-badge { background: #f4f1fd; border-left-color: var(--accent2); }
.article-body .callout-info,
.article-body .callout-blue     { background: #eef7fa; border-left-color: var(--accent); }
.article-body .callout-wpp      { background: #edf9f2; border-left-color: var(--wpp); }
.article-body .callout-claude   { background: #fdf5eb; border-left-color: var(--claude); }
.article-body .callout-n8n      { background: #fcf0f4; border-left-color: var(--n8n); }
.article-body .callout-make     { background: #fdf2ec; border-left-color: var(--make); }

/* ---------- Tabelas ---------- */
.article-body .table-wrap,
.article-body .roi-wrap,
.article-body .roi-table-wrap,
.article-body .vs-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.article-body table:not(.table) {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  background: #fff;
}
.article-body table:not(.table) th {
  background: var(--bfc-dark, #1d3557);
  color: #fff;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .75rem 1rem;
  border: 0;
}
.article-body table:not(.table) td {
  padding: .75rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  background: transparent;
}
.article-body table:not(.table) tbody tr:nth-child(even) td { background: var(--surface); }
.article-body table:not(.table) td:first-child { color: var(--text); font-weight: 600; }
.article-body .total-row td { font-weight: 700; color: var(--text); background: #eef7fa !important; }

/* Etiquetas dentro de tabelas */
.article-body [class^="tag-"],
.article-body [class*=" tag-"],
.article-body [class^="rank-"],
.article-body [class^="nivel-"],
.article-body .tag-destaque {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: .12rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
  border-top: 0;
}
.article-body .tag-sim, .article-body .tag-best, .article-body .tag-green,
.article-body .nivel-1, .article-body .badge-gratis, .article-body .risco-baixo { background: #e3f6ec; color: var(--green); }
.article-body .tag-parcial, .article-body .tag-par, .article-body .tag-ok, .article-body .tag-media,
.article-body .tag-yellow, .article-body .tag-ambos, .article-body .nivel-3, .article-body .rank-1,
.article-body .badge-top, .article-body .risco-medio { background: #fbf2d5; color: var(--yellow); }
.article-body .tag-nao, .article-body .tag-no, .article-body .tag-warn, .article-body .tag-grave,
.article-body .tag-red, .article-body .nivel-5, .article-body .risco-alto { background: #fbe4e7; color: var(--red); }
.article-body .nivel-4 { background: #fdebd6; color: var(--orange); }
.article-body .nivel-2, .article-body .rank-2, .article-body .tag-site, .article-body .badge-novo { background: #e1f1f6; color: var(--accent); }
.article-body .rank-3 { background: var(--surface2); color: var(--text-dim); }
.article-body .tag-destaque, .article-body .badge-aberto { background: #ece7fb; color: var(--accent2); }
.article-body .tag-wpp { background: #e3f6ec; color: var(--wpp); }
.article-body .tag-make, .article-body .tag-zapi { background: #fdebe3; color: var(--make); }
.article-body .tag-n8n { background: #fbe5ec; color: var(--n8n); }
.article-body .tag-evolution { background: #ece7fb; color: var(--accent2); }
.article-body .tag-oficial { background: #e3f6ec; color: var(--wpp); }

/* Quando a etiqueta está na própria célula (<td class="tag-...">),
   mantém a célula como célula de tabela, só com a cor do texto */
.article-body td[class],
.article-body th[class] {
  display: table-cell;
  font-size: inherit;
  padding: .75rem 1rem;
  border-radius: 0;
  white-space: normal;
  background: transparent;
}

/* ---------- Blocos de prompt e de código ---------- */
.article-body .prompt-block,
.article-body .code-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  margin: 1.75rem 0;
  overflow: hidden;
  padding: 0;
}
.article-body .prompt-header,
.article-body .code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.article-body .prompt-label,
.article-body .code-lang,
.article-body .pb-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent2);
  margin: 0;
}
.article-body .prompt-copy,
.article-body .code-copy {
  background: #fff;
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.article-body .prompt-copy:hover,
.article-body .code-copy:hover { color: var(--accent); border-color: var(--accent); }
.article-body .prompt-content,
.article-body .code-content {
  display: block;
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .87rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
  color: var(--text);
  box-shadow: none;
  border-radius: 0;
}
.article-body .code-block .code-content,
.article-body .code-block pre {
  background: #0d1b2a;
  color: #e8eef5;
}
.article-body pre.prompt-content code,
.article-body pre.code-content code { background: none; color: inherit; padding: 0; }

/* ---------- Passo a passo ---------- */
.article-body .steps-list,
.article-body .etapas-list,
.article-body .top5-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.article-body .steps-list > li,
.article-body .steps-list > div,
.article-body .steps-list .step,
.article-body .step-item,
.article-body .etapas-list > li,
.article-body .top5-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
}
.article-body .step-num,
.article-body .etapa-num,
.article-body .top5-num,
.article-body .passo-num,
.article-body .estrategia-num,
.article-body .tecnica-num,
.article-body .forma-num,
.article-body .custo-num,
.article-body .contrato-num,
.article-body .protocolo-num,
.article-body .erro-num {
  flex-shrink: 0;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: var(--bfc-dark, #1d3557);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-body .etapas-list { counter-reset: etapa; }
.article-body .etapas-list > li { counter-increment: etapa; }
.article-body .etapa-num::before { content: counter(etapa); }
.article-body .step-body,
.article-body .etapa-body,
.article-body .top5-body { flex: 1; }
.article-body .step-title { display: block; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.article-body .step-desc { margin: 0; }

/* Cabeçalhos de seção dentro do texto (passos grandes, estratégias, níveis) */
.article-body .passo-header,
.article-body .estrategia-header,
.article-body .nivel-header,
.article-body .cat-header,
.article-body .prof-header,
.article-body .persona-header,
.article-body .tecnica-header,
.article-body .modelo-header,
.article-body .pode-header,
.article-body .regra-header,
.article-body .platform-header,
.article-body .ia-header,
.article-body .canal-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.25rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.article-body .passo-card,
.article-body .prof-section,
.article-body .persona-card,
.article-body .tecnica-card,
.article-body .modelo-box,
.article-body .pode-card,
.article-body .regra-card,
.article-body .platform-card,
.article-body .ia-card,
.article-body .canal-card,
.article-body .infografico,
.article-body .checklist-box,
.article-body .calc-box,
.article-body .sim-box,
.article-body .custo-box,
.article-body .preco-box,
.article-body .stack-box,
.article-body .roi-box,
.article-body .risco-nivel-box,
.article-body .perfil-decisao,
.article-body .custo-scenario,
.article-body .estrutura-box { padding: 0; overflow: hidden; }
.article-body .passo-body,
.article-body .prof-body,
.article-body .persona-body,
.article-body .tecnica-body,
.article-body .pode-body,
.article-body .regra-body,
.article-body .platform-body,
.article-body .ia-body,
.article-body .canal-body { padding: 1rem 1.25rem; }

/* Linhas de tabelas "desenhadas" com div */
.article-body .calc-row, .article-body .sim-row, .article-body .stack-row,
.article-body .custo-row, .article-body .preco-row, .article-body .risco-row,
.article-body .perfil-row, .article-body .estrutura-row, .article-body .checklist-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .65rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .93rem;
}
.article-body .calc-total, .article-body .calc-total-row, .article-body .sim-total,
.article-body .stack-total, .article-body .roi-result {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1.25rem;
  font-weight: 800;
  color: var(--text);
  background: #effaf4;
  border-top: 2px solid var(--green);
}
.article-body .calc-header, .article-body .sim-header, .article-body .custo-header,
.article-body .preco-header, .article-body .checklist-header, .article-body .stack-header,
.article-body .roi-header, .article-body .risco-header, .article-body .perfil-header,
.article-body .custo-scenario-header, .article-body .estrutura-header,
.article-body .infografico-header {
  padding: .7rem 1.25rem;
  background: var(--surface2);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent2);
}
.article-body .infografico-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.article-body .info-col, .article-body .infog-col { border-radius: 0; border-width: 0 0 0 1px; }

/* Listas com ✓ / ✗ */
.article-body .procon-list, .article-body .info-lista, .article-body .checklist-items,
.article-body .checklist, .article-body .hidden-list, .article-body .regra-list,
.article-body .price-features, .article-body .plan-features, .article-body .compare-list,
.article-body .perfil-lista, .article-body .tldr-list {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0;
}
.article-body .procon-list li, .article-body .info-lista li, .article-body .checklist-items li,
.article-body .checklist li, .article-body .hidden-list li, .article-body .regra-list li,
.article-body .price-features li, .article-body .plan-features li, .article-body .compare-list li,
.article-body .perfil-lista li, .article-body .tldr-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .45rem;
  font-size: .93rem;
  color: var(--text-muted);
}
.article-body .procon-list li::before, .article-body .info-lista li::before,
.article-body .regra-list li::before, .article-body .price-features li::before,
.article-body .plan-features li::before, .article-body .compare-list li::before,
.article-body .perfil-lista li::before, .article-body .tldr-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--green);
}
.article-body .con .procon-list li::before, .article-body .col-nao .info-lista li::before,
.article-body .proibido .regra-list li::before, .article-body .plan-features li.no::before { content: '✗'; color: var(--red); }
.article-body .checklist-items li::before, .article-body .checklist li::before {
  content: '☐'; position: absolute; left: 0; color: var(--accent2);
}
.article-body .hidden-list li::before { content: '⚠'; position: absolute; left: 0; }

/* ---------- Linha do tempo ---------- */
.article-body .timeline { position: relative; padding-left: 1.75rem; margin: 1.75rem 0; }
.article-body .timeline::before {
  content: ''; position: absolute; left: .4rem; top: 0; bottom: 0; width: 2px; background: var(--border2);
}
.article-body .tl-item, .article-body .timeline-item { position: relative; margin-bottom: 1.25rem; }
.article-body .tl-item::before, .article-body .timeline-item::before {
  content: ''; position: absolute; left: -1.5rem; top: .45rem; width: 11px; height: 11px;
  border-radius: 50%; background: var(--accent2); border: 2px solid #fff;
}
.article-body .tl-date, .article-body .timeline-date {
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent2);
}

/* ---------- Editorial, fontes e links internos ---------- */
.article-body .editorial-box {
  background: #f4f1fd;
  border-color: rgba(91, 63, 214, .25);
  border-left: 4px solid var(--accent2);
}
.article-body .editorial-box p { color: var(--text-muted); font-style: normal; }
.article-body .fonte-box,
.article-body .destaque-box { border-left: 4px solid var(--accent); }
.article-body .fonte-label { display: block; margin-bottom: .3rem; }

.article-body .internal-links { background: var(--surface); }
.article-body .il-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); font-weight: 800; }
.article-body .il-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.article-body .il-list li { margin-bottom: .45rem; }
.article-body .il-list a,
.article-body .internal-link { font-weight: 600; color: var(--accent); }
.article-body .internal-link {
  display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; margin: 1.5rem 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none !important;
}
.article-body .il-arrow { margin-left: auto; }

.article-body .art-sources { font-size: .88rem; background: var(--surface); }
.article-body .art-sources ul,
.article-body .art-sources ol { padding-left: 1.2rem; margin: .5rem 0 0; }
.article-body .art-sources li { color: var(--text-dim); margin-bottom: .35rem; }

/* ---------- FAQ (aberto por padrão; clique fecha/abre) ---------- */
.article-body .faq-section { margin: 2.5rem 0; }
.article-body .faq-item { border-bottom: 1px solid var(--border); padding: .25rem 0; }
.article-body .faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: .9rem 0 .4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.article-body .faq-q::after { content: '−'; color: var(--accent2); font-weight: 400; }
.article-body .faq-item.fechado .faq-q::after { content: '+'; }
.article-body .faq-a {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 0 1rem;
  color: var(--text-muted);
  font-size: .98rem;
}
.article-body .faq-item.fechado .faq-a { display: none !important; }

/* ---------- CTAs e destaques ---------- */
.article-body .cta-box { text-align: center; background: #eef7fa; }
.article-body .cta-btn, .article-body .btn-cta, .article-body .hostinger-cta, .article-body .podcast-btn {
  display: inline-block;
  background: var(--bfc-dark, #1d3557);
  color: #fff !important;
  font-weight: 700;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.article-body .cta-newsletter {
  display: block; margin-top: .75rem; padding: .9rem 1.1rem; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 700; color: var(--text); text-decoration: none !important;
}
.article-body .cta-newsletter span { display: block; font-weight: 400; font-size: .85rem; color: var(--text-dim); }
.article-body .disclosure, .article-body .affiliate-disclosure, .article-body .disclaimer-box {
  background: #fff7ec; border: 1px solid #f3dcb8; border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: .9rem 1.1rem; font-size: .9rem; margin: 1.5rem 0;
}
.article-body .sim-quote {
  border-left: 4px solid var(--accent2); background: var(--surface); padding: .85rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: .85rem 0; font-style: italic;
}
.article-body .tension-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.article-body .router-box, .article-body .node-demo { font-family: var(--font-mono); font-size: .88rem; }
.article-body .node-demo { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.article-body .node-block { background: #fff; border: 1px solid var(--border2); border-radius: 8px; padding: .35rem .7rem; }
.article-body .setor-bar-bg { height: 8px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.article-body .setor-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--green)); }
.article-body .uso-prompt, .article-body .uso-busca, .article-body .recurso-tag, .article-body .tool-limit,
.article-body .forma-tools, .article-body .tech-ex, .article-body .matriz-ex, .article-body .metrica-como,
.article-body .custo-exemplo, .article-body .caso-resultado, .article-body .ferr-tag {
  display: inline-block; margin-top: .4rem; font-family: var(--font-mono); font-size: .8rem;
  background: var(--surface2); border-radius: 4px; padding: .2rem .5rem; color: var(--text-muted);
}

/* ---------- Podcast (link antigo) ---------- */
.article-body .podcast-card { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.article-body .podcast-icon { font-size: 1.8rem; }
.article-body .podcast-body { flex: 1; }
.article-body .podcast-wave { display: none; }

/* ---------- Coisas do layout antigo que não fazem sentido aqui ---------- */
.article-body .ad-reactions-section,
.article-body .share-row,
.article-body .hero-img-wrap,
.article-body .author-block,
.article-body .reading-progress { display: none !important; }

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .article-body .hero-lead { font-size: 1.08rem; }
  .article-body [class$="-grid"],
  .article-body .compare-duo,
  .article-body .antes-depois,
  .article-body .ia-cards { grid-template-columns: 1fr; }
  .article-body .stats-bar,
  .article-body .stats-mini { grid-template-columns: repeat(2, 1fr); }
  .article-body .callout { padding: .9rem 1rem; }
}