/* Blog BNR — usa tokens de css/style.css (design system) */
.blog-hero { padding: 152px 0 48px; text-align: center; position: relative; }
.blog-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(108,34,252,.28), transparent 70%);
}
.blog-hero > * { position: relative; }
.blog-title { font-size: clamp(36px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 18px; }
.blog-title em { font-style: italic; color: var(--purple); font-weight: 500; }
.blog-sub { max-width: 620px; margin: 0 auto; color: var(--fg-mute); font-size: 17px; line-height: 1.6; }

/* filtros */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 40px 0 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer;
  background: transparent; border: 1px solid var(--border-mid); color: var(--fg-mute);
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--fg); border-color: var(--fg-mute); }
.chip.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* capa gerada (sem imagem) */
.cover {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px;
  background:
    radial-gradient(circle at 85% 15%, rgba(108,34,252,.55), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(140,72,254,.25), transparent 50%),
    var(--elev2);
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-tag {
  position: relative; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; background: rgba(8,8,8,.7);
  border: 1px solid var(--border-mid); color: var(--fg); backdrop-filter: blur(6px);
}

/* destaques */
.carousel { position: relative; margin-top: 40px; overflow: hidden; border-radius: var(--radius-lg); }
.track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.track > .featured { min-width: 100%; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(8,8,8,.75); border: 1px solid var(--border-mid); color: var(--fg);
  font-size: 18px; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .2s, background .2s;
}
.car-arrow:hover { border-color: var(--purple); background: var(--purple); }
.car-arrow.prev { left: 12px; } .car-arrow.next { right: 12px; }
.car-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.dot-btn { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.35); border: 0; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.dot-btn.active { width: 24px; background: var(--purple); }
.featured {
  display: grid; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--elev); overflow: hidden; transition: border-color .2s, transform .2s;
}
.featured:hover { border-color: var(--purple-border); transform: translateY(-3px); }
.featured .cover { min-height: 220px; }
.featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.featured-body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.featured-body p { color: var(--fg-mute); font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.1fr 1fr; } .featured .cover { min-height: 340px; } }

/* grade */
.post-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 32px 0 96px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--elev); overflow: hidden; transition: border-color .2s, transform .2s;
}
.post-card:hover { border-color: var(--border-mid); transform: translateY(-3px); }
.post-card .cover { height: 180px; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.post-card-body p { color: var(--fg-mute); font-size: 14px; line-height: 1.6; flex: 1; }
.meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--fg-mute); }
.meta .sep { color: var(--purple); }
.more { font-size: 14px; font-weight: 600; color: var(--purple); margin-top: 6px; }
.more::after { content: " →"; }
.empty { text-align: center; color: var(--fg-mute); padding: 64px 0; display: none; }

/* artigo */
.article { max-width: 720px; margin: 0 auto; padding: 140px 0 80px; }
.crumbs { font-size: 13px; color: var(--fg-mute); margin-bottom: 20px; }
.crumbs a:hover { color: var(--fg); }
.article h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 16px 0 18px; }
.article .lead { font-size: 19px; color: var(--fg-mute); line-height: 1.6; margin-bottom: 24px; }
.article > .cover { height: 300px; border-radius: var(--radius-lg); border: 1px solid var(--border); margin: 32px 0 40px; }
.prose { font-size: 17px; line-height: 1.75; color: #d6d6d6; }
.prose h2 { font-size: 26px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; margin: 44px 0 14px; line-height: 1.25; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--fg); margin: 32px 0 10px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--purple); padding: 4px 0 4px 20px; margin: 0 0 20px; color: var(--fg); font-style: italic; }
.prose img { border-radius: var(--radius-md); margin: 28px 0; }
.cta-box {
  margin-top: 56px; padding: 32px; border: 1px solid var(--purple-border); border-radius: var(--radius-lg);
  background: var(--purple-dim); text-align: center;
}
.cta-box h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.cta-box p { color: var(--fg-mute); margin-bottom: 20px; }
.related { margin-top: 64px; }
.related h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }

.nav-link { white-space: nowrap; }

/* continue lendo: 2 colunas dentro da coluna estreita do artigo */
.related .post-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related .post-grid { grid-template-columns: repeat(2, 1fr); } }
