/* =========================================================================
   AfiliTurbo · Blog · Modelo 9 (Mescla Revista + Capa de impacto), AFT-441.
   Base = assets/blog.css do kit do Dani (ESPEC-BLOG-AFILITURBO.md), com as mesmas classes.
   Diferenças do kit (todas no fim, em "Extensões"):
   - tokens --at-link/--at-chip-ink/--at-quote: no tema claro valem o mesmo do kit; no escuro
     dão contraste AA no fundo "Azul noturno" (ESPEC §12);
   - botão de tema (a lua do site), faixa de pré-visualização, páginas de categoria/autor/404,
     print do painel, rodapé do site (o da home v3) e WhatsApp fixo.
   Tema escuro = html[data-theme="dark"], que o /theme-boot.js aplica antes do 1º paint.
   ========================================================================= */

:root {
  /* Marca */
  --at-blue: #3E5BF3;
  --at-blue-strong: #2B44D4;
  --at-blue-deep: #1F2A8C;
  --at-blue-soft: #8EA2FF;
  /* Contorno de foco: >= 3:1 sobre o fundo (WCAG 1.4.11). Claro: #2B44D4 (~6:1 em #F4F6FF). */
  --at-focus: #2B44D4;
  --at-lavender: #D3D9F5;
  --at-lavender-2: #C3CBF6;
  --at-lavender-3: #EEF0FF;
  --at-chip-bg: #E4E8FF;
  --at-chip-ink: #2B44D4;

  /* Superfícies */
  --at-bg: #F4F6FF;
  --at-surface: #FFFFFF;
  --at-border: #E3E6F3;
  --at-border-2: #DDE2F5;

  /* Texto */
  --at-ink: #232229;
  --at-ink-2: #52525B;
  --at-ink-3: #6E6E79;
  --at-link: #2B44D4;
  --at-link-hover: #1F2A8C;
  --at-quote: #1F2A8C;

  /* Faixa escura (impacto) */
  --at-night: #14151C;
  --at-night-2: #1F2340;
  --at-night-line: #2A2D40;
  --at-night-text: #E8EAF6;
  --at-night-muted: #C9D0F7;
  --at-night-dim: #9AA3C7;

  /* Destaques */
  --at-yellow: #FFE600;
  --at-yellow-soft: #FFF6BF;
  --at-yellow-ink: #6B5A00;
  --at-shopee: #EE4D2D;
  --at-shopee-soft: #FFE9E3;
  --at-shopee-ink: #B4361C;
  --at-green: #16A34A;
  --at-green-soft: #DCF5E5;
  --at-green-ink: #166534;
  --at-zap: #128C4A;

  /* Temas da capa-thumbnail */
  --cover-blue: linear-gradient(135deg, #1F2A8C, #3E5BF3);
  --cover-shopee: linear-gradient(135deg, #B4361C, #EE4D2D);
  --cover-green: linear-gradient(135deg, #14532D, #16A34A);
  --cover-sky: linear-gradient(135deg, #2B44D4, #8EA2FF);

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala */
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container: 1160px;
  --gutter: 32px;
  --read: 720px;
  color-scheme: light;
}

/* Tema escuro do site: as faixas escuras continuam iguais; o fundo claro vira "Azul noturno". */
:root[data-theme="dark"] {
  --at-bg: #0F1230;
  --at-surface: #171B3D;
  --at-border: #262B57;
  --at-border-2: #262B57;
  --at-ink: #EEF0FF;
  --at-ink-2: #B7BEE6;
  --at-ink-3: #8F97C4;
  --at-chip-bg: #252C66;
  --at-chip-ink: #C9D0F7;
  --at-lavender-2: #313A7A;
  --at-lavender-3: #1D2250;
  --at-link: #A9BAFF;
  --at-link-hover: #D3DCFF;
  --at-quote: #C3CBF6;
  --at-zap: #15803D;
  --at-focus: #8EA2FF;
  color-scheme: dark;
}
/* Dentro da faixa escura o chip é sempre o claro (a faixa é igual nos dois temas). */
.band-dark { --at-chip-bg: #E4E8FF; --at-chip-ink: #2B44D4; }
/* Fundo escuro (faixa e CTA escuro): o azul claro do kit é o que contrasta (7,6:1 em #14151C). */
.band-dark, .cta-dark { --at-focus: var(--at-blue-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--at-bg); color: var(--at-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--at-link); }
a:hover { color: var(--at-link-hover); }
[hidden] { display: none !important; }  /* ganha de .btn { display:inline-flex } (ex.: [data-copy-link]) */
:focus-visible { outline: 3px solid var(--at-focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #14151C; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

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

/* ---------- Faixa escura ---------- */
.band-dark { background: var(--at-night); color: var(--at-night-text); }
.band-dark a { color: var(--at-night-muted); }
.band-dark a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--at-ink); text-decoration: none; }
.logo__img { height: 36px; width: auto; display: block; }
.band-dark .logo, .band-dark .logo:hover { color: #fff; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 4px 0; color: var(--at-ink-2); }
.band-dark .nav a { color: var(--at-night-muted); }
.nav a[aria-current="page"] { color: var(--at-ink); border-bottom: 2px solid var(--at-blue); }
.band-dark .nav a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--at-night-line); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Botões e chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; font-family: inherit; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-dark { background: var(--at-night-2); color: #fff; font-size: 14px; }
.btn-dark:hover { background: var(--at-blue-strong); color: #fff; }
.band-dark .btn-dark { background: #fff; color: var(--at-night-2); }
.band-dark .btn-dark:hover { background: var(--at-lavender); color: var(--at-night-2); }
.btn-blue { background: var(--at-blue); color: #fff; }
.btn-blue:hover { background: var(--at-blue-strong); color: #fff; }
.btn-soft { background: var(--at-lavender-3); border-color: var(--at-lavender-2); color: var(--at-ink); }
.btn-soft:hover { color: var(--at-ink); border-color: var(--at-blue); }

.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .01em; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--at-chip-bg); color: var(--at-chip-ink); text-decoration: none; }
.chip--shopee { background: var(--at-shopee-soft); color: var(--at-shopee-ink); }
.chip--yellow { background: var(--at-yellow-soft); color: var(--at-yellow-ink); }
.chip--green { background: var(--at-green-soft); color: var(--at-green-ink); }
.chip--filter { padding: 8px 14px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.chip--filter[aria-pressed="true"], .chip--filter[aria-current="page"] { background: var(--at-night-2); color: #fff; }

/* ---------- Meta / autor ---------- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--at-ink-2); }
.band-dark .meta { color: var(--at-night-dim); }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--at-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none; }
.meta a { color: inherit; font-weight: 600; text-decoration: none; }

/* ---------- Capa-thumbnail ---------- */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--cover-blue); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(14px, 3vw, 24px); aspect-ratio: 16 / 9; isolation: isolate; }
.cover[data-theme="shopee"] { background: var(--cover-shopee); }
.cover[data-theme="green"] { background: var(--cover-green); }
.cover[data-theme="sky"] { background: var(--cover-sky); }
.cover__kicker { font-weight: 800; font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.cover__headline { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: .98; font-size: clamp(22px, 4vw, 48px); max-width: 66%; }
.cover--sm .cover__headline { font-size: clamp(22px, 2.4vw, 30px); }
.cover--lg .cover__headline { font-size: clamp(28px, 5vw, 64px); }
.cover__hl { background: var(--at-yellow); color: var(--at-night); padding: 0 .18em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cover__phone { position: absolute; right: 6%; bottom: -14%; width: 22%; aspect-ratio: 9 / 16; border-radius: 18% / 10%; background: #111B21; padding: 2.5%; z-index: -1; transform: rotate(6deg); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.cover__screen { display: flex; height: 100%; border-radius: 14% / 8%; background: #ECE5DD; padding: 10% 7%; flex-direction: column; gap: 6%; }
.cover__screen i { display: block; height: 9%; border-radius: 6px; background: #fff; width: 82%; }
.cover__screen i:nth-child(even) { background: #D9FDD3; margin-left: auto; width: 70%; }

/* ---------- Home: destaque + mais lidos ---------- */
.hero { padding: 24px 0 56px; }
.hero__title { font-size: clamp(34px, 5.2vw, 58px); text-transform: uppercase; line-height: .98; color: #fff; max-width: 880px; margin: 14px 0 10px; }
.hero__title em { font-style: normal; color: var(--at-yellow); }
.hero__sub { color: var(--at-night-muted); max-width: 600px; margin: 0 0 32px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.featured { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--at-night-text); }
.featured__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.featured .chip, .post-card__body .chip { align-self: flex-start; }
.featured__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.featured__excerpt { color: var(--at-night-muted); margin: 0; }
.toplist h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 4px; }
.toplist ol { list-style: none; margin: 0; padding: 0; counter-reset: top; }
.toplist li { counter-increment: top; border-bottom: 1px solid var(--at-night-line); }
.toplist a { display: flex; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; color: var(--at-night-text); }
.toplist a::before { content: counter(top); font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--at-yellow); width: 28px; flex: none; }
.toplist strong { display: block; line-height: 1.3; margin-top: 6px; }

/* ---------- Home: lista ---------- */
.section { padding: 48px 0 0; }
.section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section__head h2 { font-size: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--at-surface); border: 1px solid var(--at-border); border-radius: var(--radius-lg); }
.post-card { padding: 12px; text-decoration: none; color: var(--at-ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31, 42, 140, .08); color: var(--at-ink); }
.post-card__body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 8px; }
.post-card__title { font-size: 19px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pagination a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--at-border); background: var(--at-surface); text-decoration: none; font-weight: 600; color: var(--at-ink); }
.pagination a[aria-current="page"] { background: var(--at-night-2); color: #fff; border-color: var(--at-night-2); }

/* ---------- Post ---------- */
.post-hero { padding: 36px 0 56px; }
.breadcrumb { font-size: 13px; color: var(--at-night-dim); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }  /* alvo de toque 44px */
.post-hero h1 { font-size: clamp(32px, 4.4vw, 48px); color: #fff; max-width: 880px; margin: 12px 0 14px; }
.post-hero .meta { margin-bottom: 26px; }
.post-layout { display: grid; grid-template-columns: minmax(0, var(--read)) minmax(240px, 300px); gap: 56px; justify-content: space-between; padding-top: 40px; }
.quick-answer { padding: 22px; margin-bottom: 28px; }
.quick-answer p { margin: 10px 0 0; font-size: 18px; font-weight: 500; line-height: 1.5; }
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(23px, 2.6vw, 28px); margin-top: 40px; scroll-margin-top: 24px; }
.prose h3 { font-size: 20px; margin-top: 28px; scroll-margin-top: 24px; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: 13px; color: var(--at-ink-2); margin-top: 8px; }
.prose blockquote { margin: 28px 0; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.25; color: var(--at-quote); letter-spacing: -0.02em; }
.prose blockquote p { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--at-border); border-radius: var(--radius-sm); background: var(--at-surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--at-border); vertical-align: top; }
.prose th { color: var(--at-ink-2); font-weight: 700; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose img { border-radius: 14px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--at-lavender-3); padding: 1px 5px; border-radius: 6px; }
.prose pre { overflow-x: auto; background: var(--at-night); color: var(--at-night-text); padding: 16px; border-radius: 14px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--at-border); margin: 32px 0; }

.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar__sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.toc { padding: 20px; }
.toc h2 { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; text-decoration: none; color: var(--at-ink-2); font-size: 15px; }
.toc a:hover { color: var(--at-ink); }
.toc a[aria-current="true"] { color: var(--at-ink); font-weight: 700; }
.toc-mobile { display: none; }

/* CTA escuro (lateral e no meio do texto) */
.cta-dark { border-radius: var(--radius-lg); background: var(--at-night); color: #fff; padding: 24px; }
.cta-dark__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1.02; font-size: 22px; letter-spacing: -0.01em; }
.cta-dark__title em { font-style: normal; color: var(--at-yellow); }
.cta-dark p { color: var(--at-night-muted); margin: 8px 0 16px; font-size: 15px; }
.cta-inline { display: flex; gap: 20px; align-items: center; margin: 32px 0; }
.cta-inline .cta-dark__title { font-size: 26px; }
.cta-inline > div { flex: 1 1 auto; }
.cta-inline p { margin-bottom: 0; }
.cta-inline .btn { flex: none; }

/* Autor */
.author-box { display: flex; gap: 16px; padding: 22px; margin-top: 40px; align-items: flex-start; }
.author-box .avatar { width: 56px; height: 56px; font-size: 18px; }
.author-box h2 { font-size: 18px; }
.author-box h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.author-box p { margin: 6px 0 0; color: var(--at-ink-2); font-size: 15px; }

/* FAQ */
.faq { margin-top: 40px; scroll-margin-top: 24px; }
.faq h2 { font-size: 28px; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--at-border); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--at-blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; color: var(--at-ink-2); }

/* Fontes */
.sources { margin-top: 40px; font-size: 14px; color: var(--at-ink-2); }
.sources h2 { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--at-ink); margin-bottom: 6px; }
.sources ol { padding-left: 20px; margin: 0; }
.sources li + li { margin-top: 4px; }

/* Relacionados */
.related { padding-top: 56px; }
.related h2 { font-size: 28px; margin-bottom: 18px; }

/* =========================================================================
   Extensões (o que o kit não tem e o site precisa)
   ========================================================================= */

/* Tema escuro: CTA e chips de filtro ganham contorno no "Azul noturno". */
:root[data-theme="dark"] .cta-dark { border: 1px solid var(--at-night-line); }
:root[data-theme="dark"] .chip--filter[aria-current="page"] { background: var(--at-blue); }
/* Botão azul dentro da faixa (menu do celular): texto branco, não o lilás dos links da faixa. */
.band-dark .btn-blue, .band-dark .btn-blue:hover { color: #fff; }

/* Botão de tema (a lua do header do site) */
.theme-btn { width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--at-night-line); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none; }
.theme-btn:hover { border-color: var(--at-night-dim); }
.site-header--light .theme-btn, .site-header--light .menu-btn { border-color: var(--at-lavender-2); color: var(--at-ink); }
.theme-btn .ico-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: none; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }
/* Logo colorida em fundo claro; no tema escuro, a branca. */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* Pré-visualização (rascunho) */
.preview-bar { background: var(--at-yellow); color: #14151C; text-align: center; font-weight: 700; font-size: 14px; padding: 10px 16px; }

/* Categoria, autor e 404: topo na faixa escura */
.hero__title--plain { text-transform: none; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; margin-top: 12px; }
.hero__grid--solo { grid-template-columns: minmax(0, 760px); }
.hero__count { color: var(--at-night-dim); font-size: 14px; margin: -18px 0 28px; }

/* Estado vazio */
.empty { padding: 32px; text-align: center; }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--at-ink-2); margin: 0 auto 18px; max-width: 520px; }

/* Página do autor */
.author-hero { padding: 36px 0 56px; }
.author-hero__in { display: flex; gap: 24px; align-items: flex-start; margin-top: 18px; }
.author-hero .avatar { width: 96px; height: 96px; font-size: 32px; }
.author-hero h1 { font-size: clamp(32px, 4.4vw, 48px); color: #fff; }
.author-hero__role { color: var(--at-night-muted); font-weight: 600; margin: 6px 0 10px; }
.author-hero__bio { color: var(--at-night-text); max-width: 640px; margin: 0; }
.author-hero__links { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 14px 0 0; padding: 0; }
.author-hero__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Print do painel (:::print) */
.print img { width: 100%; border: 1px solid var(--at-border); border-radius: var(--radius-md); }

/* Compartilhar (sidebar) */
.share { display: flex; flex-direction: column; gap: 10px; }

/* Rodapé do site (o mesmo da home v3) e WhatsApp fixo */
.rod { width: min(1080px, calc(100% - 36px)); margin: 80px auto 32px; padding: 34px 34px 22px; border-radius: 26px; background: var(--at-surface); border: 1px solid var(--at-border); font-size: 14.5px; color: var(--at-ink-2); }
.rod-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--at-border); }
.rod-marca .logo__img { height: 32px; }
.rod-marca p { margin: 14px 0 18px; max-width: 28ch; line-height: 1.5; }
.rod-contatos { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rod-contatos a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-pill); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.rod-contatos svg { width: 16px; height: 16px; flex: none; }
.rod-zap { background: var(--at-zap); }
.rod-zap svg { color: var(--at-zap); }
.rod-mail { background: linear-gradient(135deg, #3E5BF3, #7541FC); }
.rod nav { display: flex; flex-direction: column; gap: 2px; }
.rod nav b { color: var(--at-ink); margin-bottom: 4px; }
.rod nav a { color: var(--at-ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.rod nav a:hover { color: var(--at-ink); }
.rod-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; font-size: 12.5px; color: var(--at-ink-3); }
.zap-fixo { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--at-zap); color: var(--at-zap); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.zap-fixo svg { width: 30px; height: 30px; }

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sidebar { margin-top: 40px; }
  .sidebar__sticky { position: static; }
  .sidebar .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 24px; }
  .toc-mobile summary { font-weight: 700; padding: 14px 18px; cursor: pointer; min-height: 44px; }
  .toc-mobile ol { margin: 0; padding: 0 18px 14px 36px; }
  .toc-mobile a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rod-top { grid-template-columns: 1fr 1fr; }
  .rod-marca { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .nav, .header-actions .btn-dark { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu[data-open="true"] { display: block; padding: 4px 0 18px; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--at-night-line); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; display: flex; }
  .cover__headline { max-width: 72%; }
  .logo__img { height: 30px; }
  .cta-inline { flex-direction: column; align-items: stretch; }
  .cta-inline .btn, .cta-dark .btn { width: 100%; }
  .section__head h2, .related h2, .faq h2 { font-size: 23px; }
  .prose { font-size: 17px; }
  .author-hero__in { flex-direction: column; gap: 16px; }
  .rod { padding: 26px 22px 18px; }
  .rod-bot { flex-direction: column; }
  .zap-fixo { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .post-card:hover { transform: none; }
}

/* ---- Páginas do site fora do blog (AFT-572/573, templates/pagina_site.html) ---- */
.site-hero .chip { margin-top: 4px; }
.site-hero .hero__sub { margin-bottom: 24px; }
.site-hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.site-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-weight: 600; font-size: 15px; }
.site-links a { color: var(--at-ink); text-decoration: none; }
.site-links a:hover { color: var(--at-blue); }
.planos-tabela { width: 100%; border-collapse: collapse; font-size: 15px; }
.planos-tabela th, .planos-tabela td { padding: 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--at-border); }
.planos-tabela thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--at-ink-2); }
.planos-tabela tbody th { font-family: var(--font-display); font-size: 20px; min-width: 150px; }
.planos-tabela tbody th small { display: block; margin-top: 6px; font-family: var(--font-body, inherit); font-size: 13px; line-height: 1.45; font-weight: 400; letter-spacing: 0; color: var(--at-ink-2); }
.planos-tabela td:nth-child(2), .planos-tabela td:nth-child(3) { white-space: nowrap; font-weight: 700; }
.planos-tabela ul { margin: 0; padding-left: 18px; }
.planos-tabela li.nao { color: var(--at-ink-2); text-decoration: line-through; }
.pag-site .prose img { display: block; max-width: 100%; height: auto; margin: 24px 0; }
