/* ───────────────────────────────────────────────
   Best Intercâmbio — Blog
   Usa os tokens de styles.css (:root)
   ─────────────────────────────────────────────── */


/* ═══════════════════════════════
   01 · CORES DE CATEGORIA
═══════════════════════════════ */
.blog-cat {
  --cat: var(--coral);
  --cat-bg: rgba(240, 78, 42, 0.10);
}
.blog-cat[data-cat="custos"]      { --cat: #C73E1F; --cat-bg: rgba(199,62,31,0.10); }
.blog-cat[data-cat="destinos"]    { --cat: #1F7A8C; --cat-bg: rgba(31,122,140,0.10); }
.blog-cat[data-cat="high-school"] { --cat: #0E1B2C; --cat-bg: rgba(14,27,44,0.08); }
.blog-cat[data-cat="camps"]       { --cat: #B07A08; --cat-bg: rgba(242,201,76,0.20); }
.blog-cat[data-cat="pais"]        { --cat: #7A3E9D; --cat-bg: rgba(122,62,157,0.10); }
.blog-cat[data-cat="preparacao"]  { --cat: #2A6B3F; --cat-bg: rgba(42,107,63,0.10); }
.blog-cat[data-cat="historias"]   { --cat: #B5451F; --cat-bg: rgba(181,69,31,0.10); }


/* ═══════════════════════════════
   02 · TAG / PÍLULA DE CATEGORIA
═══════════════════════════════ */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cat-bg);
  color: var(--cat);
  white-space: nowrap;
}
.cat-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}


/* ═══════════════════════════════
   03 · HERO DO BLOG
═══════════════════════════════ */
.blog-hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.blog-hero .blog-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.blog-hero .count-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.blog-hero h1 {
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 16ch;
}
.blog-hero .blog-hero-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-top: 32px;
}
.blog-hero .blog-hero-body p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 48ch;
  margin: 0;
}


/* ═══════════════════════════════
   04 · BARRA DE FILTROS
═══════════════════════════════ */
.blog-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 244, 234, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.blog-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.blog-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  flex: 1;
  min-width: 0;
}
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filters button {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.blog-filters button:hover {
  background: var(--paper-warm);
  color: var(--ink);
}
.blog-filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.blog-search {
  position: relative;
  flex: none;
  width: 220px;
}
.blog-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.blog-search input::placeholder { color: var(--mute); }
.blog-search input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 27, 44, 0.07);
}
.blog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--mute);
  pointer-events: none;
}


/* ═══════════════════════════════
   05 · POST EM DESTAQUE
═══════════════════════════════ */
.post-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-warm);
  margin-bottom: clamp(56px, 7vw, 88px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.post-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.post-feature .media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.post-feature .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.post-feature:hover .media img { transform: scale(1.04); }
.post-feature .flag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 12px;
  border-radius: 999px;
}
.post-feature h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: -0.028em;
  line-height: 1.03;
  margin: 18px 0 0;
}
.post-feature .dek {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 52ch;
}


/* ═══════════════════════════════
   06 · GRID DE POSTS
═══════════════════════════════ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}
.post-card {
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.post-card:hover { transform: translateY(-4px); }
.post-card .media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--cream);
  border: 1px solid var(--line-soft);
}
.post-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.post-card:hover .media img { transform: scale(1.05); }
.post-card h3 {
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  transition: color .2s ease;
}
.post-card:hover h3 { color: var(--coral-deep); }
.post-card .dek {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 10px 0 0;
}
.post-card .foot,
.post-feature .foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.post-card .foot .sep,
.post-feature .foot .sep { opacity: 0.45; }

.post-card[hidden], .post-feature[hidden] { display: none; }

.blog-empty {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
  color: var(--mute);
}
.blog-empty h3 {
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 10px;
}


/* ═══════════════════════════════
   07 · NEWSLETTER
═══════════════════════════════ */
.blog-news {
  margin-top: clamp(72px, 9vw, 120px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.blog-news h2 {
  font-size: clamp(28px, 3.4vw, 50px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.blog-news h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.blog-news p {
  margin-top: 18px;
  opacity: 0.78;
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 46ch;
}
.blog-news form { display: grid; gap: 12px; }
.blog-news input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(250, 244, 234, 0.22);
  background: rgba(250, 244, 234, 0.06);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
}
.blog-news input::placeholder { color: rgba(250, 244, 234, 0.5); }
.blog-news input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(250, 244, 234, 0.1);
}
.blog-news .btn { justify-content: center; }
.blog-news .fineprint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.55;
  margin-top: 2px;
  line-height: 1.5;
}
.blog-news .fineprint a { text-decoration: underline; }


/* ═══════════════════════════════
   08 · BARRA DE PROGRESSO (POST)
═══════════════════════════════ */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--coral);
  z-index: 90;
  transition: transform .1s linear;
  pointer-events: none;
}


/* ═══════════════════════════════
   09 · CABEÇALHO DO POST
═══════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 36px;
}
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: var(--coral-deep); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb [aria-current] { color: var(--ink); }

.post-head {
  padding-top: 28px;
  padding-bottom: clamp(32px, 4vw, 48px);
  max-width: 940px;
}
.post-head h1 {
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.0;
  margin: 20px 0 0;
}
.post-head .dek {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 24px 0 0;
  max-width: 58ch;
  text-wrap: pretty;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.post-meta .who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.post-meta .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex: none;
}
.post-meta .sep { opacity: 0.4; }

.post-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--cream);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }


/* ═══════════════════════════════
   10 · LAYOUT DO ARTIGO
═══════════════════════════════ */
.post-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.post-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.post-toc h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.post-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--line);
}
.post-toc li a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 14px;
  line-height: 1.35;
  color: var(--mute);
  transition: color .2s ease, border-color .2s ease;
}
.post-toc li a:hover { color: var(--ink); }
.post-toc li a.active {
  color: var(--ink);
  border-left-color: var(--coral);
  font-weight: 500;
}
.post-toc .toc-share {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.post-toc .toc-share button,
.post-toc .toc-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.post-toc .toc-share button:hover,
.post-toc .toc-share a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.post-toc .toc-share svg { width: 15px; height: 15px; }


/* ═══════════════════════════════
   11 · PROSA
═══════════════════════════════ */
.prose {
  max-width: 76ch;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink-soft);
  /* Sem isto, o piso min-content de um item de grid faz a coluna crescer até
     caber a tabela inteira — e o body (overflow-x: clip) corta o excedente
     em vez de rolar, deixando parte da tabela inalcançável no mobile. */
  min-width: 0;
}
.prose > * + * { margin-top: 1.35em; }

.prose h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 2.1em;
  scroll-margin-top: 104px;
}
.prose h2 + * { margin-top: 0.75em; }
.prose h3 {
  font-size: clamp(20px, 1.9vw, 25px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 1.9em;
  scroll-margin-top: 104px;
}
.prose h3 + * { margin-top: 0.6em; }
.prose h2 em, .prose h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

.prose p { text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity .2s ease;
}
.prose a:not(.btn):hover { opacity: 0.7; }

.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--coral); }
.prose ol li::marker { font-family: var(--font-mono); font-size: 0.85em; }

.prose blockquote {
  border-left: 3px solid var(--coral);
  padding: 4px 0 4px 26px;
  margin-left: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22em;
  line-height: 1.45;
  color: var(--ink);
}
.prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--r-md); width: 100%; }
.prose figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
  line-height: 1.5;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.6em 0;
}


/* ═══════════════════════════════
   12 · BLOCOS ESPECIAIS
═══════════════════════════════ */

/* Resumo rápido — pensado para ser citável por IA */
.key-takeaways {
  background: var(--cream);
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: var(--r-md);
  padding: clamp(22px, 3vw, 32px);
  margin: 2em 0;
}
.key-takeaways h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 16px;
}
.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
}
.key-takeaways li {
  padding-left: 28px;
  position: relative;
}
.key-takeaways li + li { margin-top: 12px; }
.key-takeaways li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 1.5px solid var(--coral-deep);
}

/* Callout */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--paper-warm);
  padding: 22px 26px;
  margin: 2em 0;
  font-size: 16.5px;
  line-height: 1.62;
}
.callout .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.callout.warn { border-left-color: var(--coral); background: rgba(240, 78, 42, 0.05); }
.callout.warn .label { color: var(--coral-deep); }
.callout.tip { border-left-color: #2A6B3F; background: rgba(42, 107, 63, 0.05); }
.callout.tip .label { color: #2A6B3F; }
.callout > *:last-child { margin-bottom: 0; }

/* Tabela */
.prose .table-wrap {
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  -webkit-overflow-scrolling: touch;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  min-width: 540px;
}
.prose thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.prose tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.prose tbody tr:nth-child(even) { background: rgba(14, 27, 44, 0.022); }
.prose tbody td:first-child { color: var(--ink); font-weight: 500; }

/* CTA no meio do artigo */
.inline-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 42px);
  margin: 2.6em 0;
}
.inline-cta h3 {
  color: var(--paper);
  font-size: clamp(22px, 2.4vw, 31px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.inline-cta h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.inline-cta p {
  opacity: 0.76;
  font-size: 16px;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 50ch;
}
.inline-cta .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}


/* ═══════════════════════════════
   13 · FAQ DO POST
═══════════════════════════════ */
.post-faq { margin-top: 2.6em; }
.post-faq > h2 { margin-top: 0; }
.post-faq .faq-list { margin-top: 24px; }

/* Acordeão — mesmo padrão visual e mesmos hooks (data-faq-*) do
   initFaq() em app.js, que já roda em todas as páginas. */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-i {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: background .25s, border-color .25s;
}
.faq-i.open { background: var(--cream); border-color: var(--gold); }
.faq-i [data-faq-trigger] {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.faq-i [data-faq-trigger] .ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease, background .25s;
  font-size: 22px;
  line-height: 1;
}
.faq-i.open [data-faq-trigger] .ic { background: var(--coral); transform: rotate(45deg); }
.faq-i [data-faq-trigger] .ic::after { content: "+"; }
.faq-i [data-faq-body] {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.2,.7,.2,1);
}
.faq-i [data-faq-body] > div {
  padding: 0 28px 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 72ch;
}
.faq-i [data-faq-body] > div ul {
  margin: 12px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-i [data-faq-body] > div strong { color: var(--ink); }

@media (max-width: 640px) {
  .faq-i [data-faq-trigger] { padding: 18px 20px; font-size: 16.5px; gap: 14px; }
  .faq-i [data-faq-body] > div { padding: 0 20px 22px; }
}


/* ═══════════════════════════════
   14 · AUTOR
═══════════════════════════════ */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-warm);
  margin-top: clamp(48px, 6vw, 72px);
}
.author-box .av {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  flex: none;
}
.author-box .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.author-box .role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
.author-box .bio {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}


/* ═══════════════════════════════
   15 · POSTS RELACIONADOS
═══════════════════════════════ */
.related {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 100px);
}
.related .related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.related h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.related h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}


/* ═══════════════════════════════
   16 · RESPONSIVO
═══════════════════════════════ */
@media (max-width: 1080px) {
  /* minmax(0, 1fr) e não 1fr: ver a nota em .prose { min-width: 0 } */
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-toc { display: none; }
  .prose { max-width: none; }
}

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .media { aspect-ratio: 16 / 9; }
  .blog-hero .blog-hero-body { grid-template-columns: 1fr; align-items: start; }
  .blog-news { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .blog-toolbar { top: 0; }
  .blog-toolbar-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .blog-search { width: 100%; }
  .post-cover { aspect-ratio: 3 / 2; }
}

@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; gap: 36px; }
  .prose { font-size: 17px; }
  .prose blockquote { padding-left: 20px; }
  .author-box { flex-direction: column; gap: 16px; }
  .breadcrumb { padding-top: 24px; }
  .post-head h1 { font-size: clamp(30px, 8vw, 42px); }
  .inline-cta .row .btn { width: 100%; justify-content: center; }
}

/* A barra de CTA fixa do mobile não pode cobrir o rodapé do artigo */
@media (max-width: 880px) {
  .related { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card, .post-feature, .post-card .media img, .post-feature .media img { transition: none; }
  .read-progress { transition: none; }
}
