/* ============================================================
   Blog CSS — Dra. Letícia Pitsch
   ============================================================ */

/* ─── Blog Hero ─── */
.blog-hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border-subtle);
}
.blog-hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg-1);
  margin: 16px 0 24px;
}
.blog-hero-title em {
  font-style: normal;
  color: var(--brand-terracotta);
}
.blog-hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 640px;
}

/* ─── Posts Grid ─── */
.blog-posts { padding: 80px 0; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.posts-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--fg-3);
  font-size: var(--fs-body-lg);
}

/* Post Card */
.post-card {
  background: var(--brand-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-4px);
}
.post-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top center;
  background: var(--brand-sand-100);
  display: block;
}
.post-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.post-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-terracotta);
  margin-bottom: 10px;
}
.post-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-1);
  line-height: 1.35;
  margin-bottom: 12px;
}
.post-card-excerpt {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
  flex: 1;
}
.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.post-card-date { font-size: 12px; color: var(--fg-3); font-weight: 500; }
.post-card-read {
  font-size: 12px;
  color: var(--brand-terracotta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Blog CTA ─── */
.blog-cta { padding: 100px 0; text-align: center; }
.blog-cta-inner { max-width: 560px; margin: 0 auto; }
.blog-cta h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin-bottom: 20px;
  line-height: 1.2;
}
.blog-cta h2 em { font-style: normal; color: var(--brand-terracotta); }
.blog-cta p { font-size: var(--fs-body-lg); color: var(--fg-2); margin-bottom: 36px; line-height: 1.6; }

/* Active nav */
.site-nav a.active { color: var(--brand-terracotta); font-weight: 500; }

/* ============================================================
   Post Individual — Layout editorial limpo
   ============================================================ */

/* Breadcrumb */
.post-breadcrumb {
  padding: 28px 0 0;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-3);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--dur-base) var(--ease-out);
}
.post-back:hover { color: var(--brand-terracotta); }

/* Header: tag + título + meta — coluna central estreita */
.post-header-wrap {
  padding: 40px 0 0;
}
.post-header-text {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 48px;
}
.post-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-terracotta);
  margin-bottom: 20px;
}
.post-header-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand-terracotta);
  flex-shrink: 0;
}
.post-header-text h1 {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin-bottom: 28px;
}
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-3);
  flex-wrap: wrap;
}
.post-meta-sep {
  color: var(--brand-terracotta);
  font-weight: 700;
}

/* Banner de imagem — full width com altura proporcional */
.post-banner {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: var(--brand-sand-100);
}
.post-banner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Corpo do artigo — coluna editorial */
.post-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 0 40px;
}
.post-article p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-1);
  margin-bottom: 24px;
}
.post-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.post-article h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 40px 0 12px;
}
.post-article blockquote {
  border-left: 3px solid var(--brand-terracotta);
  padding: 18px 24px;
  margin: 40px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--fg-1);
  background: var(--brand-sand-100);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  line-height: 1.55;
}
.post-article ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-article ul li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-1);
  padding-left: 22px;
  position: relative;
}
.post-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-terracotta);
}
.post-article ol { padding-left: 24px; margin: 0 0 28px; }
.post-article ol li { font-size: 17px; line-height: 1.75; color: var(--fg-1); margin-bottom: 8px; }
.post-article strong { font-weight: 600; }

/* CTA inline */
.post-cta-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 120px;
}
.post-cta-inline {
  background: var(--brand-blue);
  border-radius: var(--r-xl);
  padding: 52px 48px;
  text-align: center;
}
.post-cta-inline h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-on-blue);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.post-cta-inline p {
  font-size: 15px;
  color: rgba(224,220,211,0.72);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-header-text { padding-bottom: 36px; }
  .post-banner img { height: 340px; }
  .post-article { padding: 48px 0 32px; }
  .post-cta-wrap { padding-bottom: 80px; }
  .post-cta-inline { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 60px 0 48px; }
  .post-banner img { height: 220px; }
  .post-cta-inline { padding: 32px 24px; }
  .post-article h2 { margin-top: 40px; }
  .post-cta-wrap { padding-bottom: 60px; }
}
