/* =====================================================================
   MINERVIA · Journal (blog) — styles dédiés
   ===================================================================== */

.blog-hero { padding-top: clamp(132px, 17vh, 200px); padding-bottom: clamp(16px, 2vw, 28px); }
.blog-hero h1 { max-width: 18ch; }
.blog-hero .lead { margin-top: 22px; }

/* ---- filtres (catégories) ---- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.blog-filter {
  font: inherit; font-size: .88rem; font-weight: 500; letter-spacing: .01em;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink-soft); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.blog-filter:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---- article à la une ---- */
.featured {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); margin-top: clamp(22px, 3vw, 40px);
  transition: box-shadow .55s var(--ease), transform .55s var(--ease), border-color .55s var(--ease);
}
.featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.featured__media { position: relative; min-height: 360px; overflow: hidden; background: #0b0b0c; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.06); }
.featured__media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent 60%, rgba(11,11,12,.06)); }
.featured__body { padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; }
.featured__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-faint); }
.featured__kicker .pill { background: var(--citron); color: var(--ink); padding: 4px 11px; border-radius: 100px; letter-spacing: .08em; }
.featured h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; font-weight: 560; letter-spacing: -.02em; margin-top: 20px; }
.featured p { color: var(--ink-soft); margin-top: 16px; max-width: 46ch; }
.featured__foot { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.featured__meta { font-size: .82rem; color: var(--ink-faint); }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } .featured__media { min-height: 240px; } }

/* ---- grille d'articles ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(22px, 3vw, 38px); }
.post {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper); display: flex; flex-direction: column;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0c;
}
.post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,11,12,.34) 0%, rgba(11,11,12,0) 38%); }
.post__cat { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 100px; }
.post__body { padding: clamp(20px, 2.2vw, 26px); flex: 1; display: flex; flex-direction: column; }
.post__meta { font-size: .76rem; color: var(--ink-faint); letter-spacing: .02em; }
.post h3 { font-family: var(--serif); font-size: clamp(1.18rem, 1.6vw, 1.4rem); line-height: 1.14; font-weight: 500; letter-spacing: -.012em; margin-top: 10px; }
.post__excerpt { color: var(--ink-soft); font-size: .92rem; margin-top: 10px; }
.post__more { margin-top: auto; padding-top: 18px; font-size: .85rem; font-weight: 500; display: inline-flex; align-items: center; gap: .5em; }
.post__more .arr { transition: transform .4s var(--ease); }
.post:hover .post__more .arr { transform: translateX(4px); }
.post.is-hidden { display: none; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ---- newsletter ---- */
.newsletter {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--citron); color: var(--ink);
  padding: clamp(34px, 5vw, 64px); margin-top: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.newsletter h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; font-weight: 560; letter-spacing: -.02em; max-width: 16ch; }
.newsletter p { color: rgba(11,11,12,.7); margin-top: 12px; max-width: 42ch; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input { flex: 1 1 220px; font: inherit; border: 1px solid rgba(11,11,12,.25); background: rgba(255,255,255,.6); border-radius: 100px; padding: 14px 20px; color: var(--ink); }
.newsletter__form input:focus { outline: none; border-color: var(--ink); background: #fff; }
.newsletter__note { font-size: .76rem; color: rgba(11,11,12,.55); margin-top: 12px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }

/* =====================================================================
   ARTICLE (page d'un billet)
   ===================================================================== */
.article-hero { padding-top: clamp(124px, 16vh, 180px); }
.breadcrumb { font-size: .82rem; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--ink-soft); } .breadcrumb a:hover { color: var(--ink); }
.article__kicker { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-faint); }
.article__kicker .pill { background: var(--citron); color: var(--ink); padding: 4px 11px; border-radius: 100px; letter-spacing: .08em; }
.article h1 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.04; font-weight: 560; letter-spacing: -.028em; margin-top: 18px; max-width: 20ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .85rem; color: var(--ink-faint); }
.article__cover { margin-top: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; background: #0b0b0c; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 720px; margin: clamp(34px, 5vw, 60px) auto 0; }
.article__body > p { font-size: 1.1rem; line-height: 1.72; color: var(--ink); margin-bottom: 22px; }
.article__body .lead-p { font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.article__body h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 520; letter-spacing: -.012em; margin: 40px 0 6px; }
.article__body h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 4px; }
.article__body ul { margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.article__body li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); line-height: 1.55; }
.article__body li::before { content:""; flex:none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--citron-deep); }
.article__body blockquote { margin: 30px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--citron); font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; font-style: italic; color: var(--ink); }
.article__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article__share { max-width: 720px; margin: 40px auto 0; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); }
.article-cta { background: var(--bone); }
