/* ── HERO BLOG ─────────────────────────────────────────── */
.blog-hero {
  padding-top: var(--nav-h);
  background: var(--ink);
  padding-bottom: 0;
  position: relative; overflow: hidden;
}

.blog-hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 3rem;
  position: relative; z-index: 1;
}
.blog-eyebrow {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 1rem;
}
.blog-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--accent); }
.blog-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.04em; color: #fff; margin-bottom: 1rem;
}
.blog-hero h1 em { font-style: normal; color: var(--red); }
.blog-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 560px; }

/* ── FILTRES ───────────────────────────────────────────── */
.filter-bar {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: var(--nav-h); z-index: 90;
}
.filter-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: .5rem; overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  padding: 12px 16px; white-space: nowrap;
  color: rgba(255,255,255,0.45); border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.filter-btn:hover { color: rgba(255,255,255,0.8); }
.filter-btn.active { color: #fff; border-color: var(--red); }

/* ── GRILLE ARTICLES ───────────────────────────────────── */
.blog-main { max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 6rem; }

.post-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 3rem;
  transition: box-shadow .3s; cursor: pointer;
}
.post-featured:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.12); }
.post-featured-visual {
  background: var(--ink); padding: 3rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; position: relative; overflow: hidden;
}
.post-featured-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200,16,46,0.3) 0%, transparent 60%);
}
.post-featured-cat {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--red); color: #fff;
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  margin-bottom: 1rem; align-self: flex-start;
}
.post-featured-title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #fff; letter-spacing: -.03em; line-height: 1.15;
}
.post-featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.post-featured-excerpt { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-bottom: 1.5rem; }
.post-meta {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: .72rem; color: rgba(0,0,0,0.35); margin-bottom: 1.5rem;
}
.post-meta-sep { color: var(--border); }
.read-more {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  color: var(--red); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.read-more:hover { gap: 10px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.post-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--white); transition: transform .25s var(--ease), box-shadow .25s;
  cursor: pointer;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.post-card-thumb {
  background: var(--pale); height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; position: relative; overflow: hidden;
}
/* .post-card-thumb.cat-* → centralisé dans main.css */
.post-card-body { padding: 1.4rem 1.5rem; }
.post-card-cat {
  font-family: var(--font-display); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem;
}
/* .post-card-cat.cat-* → centralisé dans main.css */
.post-card h3 {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  line-height: 1.35; letter-spacing: -.02em; margin-bottom: .6rem;
}
.post-card p { font-size: .82rem; color: var(--mid); line-height: 1.65; margin-bottom: 1rem; }
.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: .7rem; color: rgba(0,0,0,0.3);
}

/* ── ÉTATS ─────────────────────────────────────────────── */
.state-loading, .state-empty {
  grid-column: 1/-1; text-align: center; padding: 4rem 2rem;
  font-family: var(--font-display); color: var(--mid);
}

/* ── PAGINATION ────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: .5rem; margin-top: 3rem;
}
.page-btn {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border);
  transition: all .2s; cursor: pointer; background: var(--white);
}
.page-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── FOOTER ────────────────────────────────────────────── */
.blog-footer {
  background: #080808; color: rgba(255,255,255,0.35);
  text-align: center; padding: 2rem;
  font-family: var(--font-display); font-size: .75rem;
}
.blog-footer a { color: rgba(255,255,255,0.5); transition: color .2s; }
.blog-footer a:hover { color: #fff; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .post-featured { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
}
