/* ═══════════════════════════════════════════════════════════
   NHIDRA | Blog — estende style.css (sistema visual brand-manual v1.0)
   ═══════════════════════════════════════════════════════════ */

/* ── Header do blog (reusa .header do site) ── */
.blog-hero {
  padding: calc(var(--header-h) + 90px) 0 70px;
  position: relative;
  overflow: hidden;
}
.blog-hero .accent-line { margin-bottom: 18px; }
.blog-hero h1 { font-size: clamp(32px, 5.5vw, 52px); }
.blog-hero .lead { margin-top: 16px; }

/* ── Listagem ── */
.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 110px;
}
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover { border-color: var(--border-p); transform: translateY(-3px); }
.post-card .eyebrow { color: var(--purple-l); }
.post-card h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-hi);
}
.post-card p { font-size: 14px; }
.post-card .post-meta { margin-top: auto; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dim2);
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim2); }

/* ── Página de artigo ── */
.post-header {
  padding: calc(var(--header-h) + 80px) 0 50px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(123,92,245,0.07), transparent 65%),
    var(--bg);
}
.post-header h1 {
  font-size: clamp(30px, 5vw, 46px);
  max-width: 820px;
}
.post-header .post-meta { margin-top: 22px; }
.post-header .eyebrow { display: inline-block; margin-bottom: 16px; }

.post-body { padding: 60px 0 40px; }

.post-content { max-width: 720px; margin: 0 auto; }
.post-content > * + * { margin-top: 22px; }
.post-content h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  margin-top: 54px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.post-content h3 { font-size: 18px; margin-top: 38px; }
.post-content p, .post-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
}
.post-content strong { color: var(--text-hi); font-weight: 600; }
.post-content em { color: var(--purple-l); font-style: normal; }
.post-content ul, .post-content ol { padding-left: 22px; display: grid; gap: 10px; }
.post-content a { color: var(--purple-l); text-decoration: none; border-bottom: 1px solid var(--border-p); }
.post-content a:hover { color: var(--text-hi); }

.post-content blockquote {
  border-left: 2px solid var(--purple);
  padding: 6px 0 6px 22px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-hi);
  line-height: 1.6;
}

/* Resposta direta (bloco GEO no topo) */
.answer-box {
  background: var(--surface);
  border: 1px solid var(--border-p);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.answer-box .eyebrow { display: block; margin-bottom: 10px; }
.answer-box p { font-size: 16px; color: var(--text); }

/* Tabelas */
.post-content .table-wrap { overflow-x: auto; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.post-content th, .post-content td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.post-content th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-hi);
  background: var(--surface);
}

/* Checklist / passos */
.post-content .step-list { list-style: none; padding: 0; counter-reset: passo; }
.post-content .step-list li {
  counter-increment: passo;
  position: relative;
  padding-left: 52px;
  padding-bottom: 4px;
}
.post-content .step-list li::before {
  content: counter(passo, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-l);
  border: 1px solid var(--border-p);
  border-radius: 8px;
  padding: 4px 8px;
}

/* ── Autor ── */
.post-author {
  max-width: 720px;
  margin: 60px auto 0;
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.post-author img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-p);
}
.post-author strong { font-family: var(--font-display); color: var(--text-hi); display: block; font-size: 15px; }
.post-author span { font-size: 13.5px; color: var(--text-dim2); line-height: 1.55; }

/* ── CTA final do artigo ── */
.post-cta {
  margin: 70px 0 0;
  border-top: 1px solid var(--border);
}
.post-cta .final-inner { padding: 90px 24px; }

/* ── FAQ dentro do artigo ── */
.post-content .faq-item summary span { font-size: 15.5px; }
