/* ============================================================
   REYNOV — Blog Stylesheet
   Premium editorial design — fond noir, typographie Cormorant
   ============================================================ */

/* ── Barre de progression de lecture ─────────────────────── */
.reading-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  width: 0%;
  z-index: 998;
  transition: width 0.08s linear;
}

/* ══════════════════════════════════════════════════════════
   HERO DE L'ARTICLE
   ══════════════════════════════════════════════════════════ */
.article-hero {
  padding-top: calc(var(--nav-h) + clamp(5rem, 10vw, 10rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

/* Halo lumineux décoratif */
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(255, 255, 255, 0.03) 0%, transparent 65%);
  pointer-events: none;
}

.article-hero__inner {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  position: relative;
}

/* Méta : catégorie + date + temps de lecture */
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.article-hero__meta-bar {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.article-hero__category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.article-hero__sep {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.15);
}

.article-hero__date,
.article-hero__read {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

/* Titre principal */
.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 2.2rem;
}

.article-hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

/* Sous-titre / chapô */
.article-hero__lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--grey-400);
  max-width: 620px;
}

/* ══════════════════════════════════════════════════════════
   CORPS DE L'ARTICLE
   ══════════════════════════════════════════════════════════ */
.article-body {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.article-body__inner {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

/* Paragraphes */
.article-body__inner p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--grey-400);
  font-weight: 300;
  margin-bottom: 1.8rem;
}

.article-body__inner p:last-child {
  margin-bottom: 0;
}

/* Gras inline → blanc */
.article-body__inner strong {
  color: var(--white);
  font-weight: 500;
}

/* Liens inline */
.article-body__inner a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.article-body__inner a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

/* ── H2 — Titre de section ──────────────────────────────── */
.article-body__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: clamp(4rem, 7vw, 6rem);
  margin-bottom: 1.6rem;
}

/* ── H3 — Sous-titre italique ────────────────────────────── */
.article-body__inner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--grey-200);
  margin-top: 2.8rem;
  margin-bottom: 1rem;
}

/* ── Séparateur élégant ──────────────────────────────────── */
.article-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-block: clamp(3.5rem, 6vw, 5rem);
}

.article-sep span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.article-sep span:nth-child(2) {
  background: rgba(255, 255, 255, 0.3);
}

/* ── Encadré mise en valeur ──────────────────────────────── */
.article-highlight {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.article-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
}

.article-highlight__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.article-highlight p {
  color: var(--grey-200) !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  margin-bottom: 0 !important;
}

/* ── Citation / Pull quote ───────────────────────────────── */
.article-quote {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.article-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: var(--grey-200) !important;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════ */
.article-faq {
  margin-top: clamp(4rem, 7vw, 6rem);
}

.article-faq__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.faq-item:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__content {
  grid-column: 1 / -1;
}

.faq-item__q {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  letter-spacing: 0.005em;
}

.faq-item__a {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--grey-400);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════
   ARTICLES LIÉS (fin d'article)
   ══════════════════════════════════════════════════════════ */
.article-related {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-related__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.article-related__heading {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.related-card {
  background: var(--black);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 0.3s var(--ease-out);
}

.related-card:hover {
  background: var(--grey-900);
}

.related-card__date {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.85rem;
}

.related-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.related-card__title a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.related-card__title a:hover {
  opacity: 0.6;
}

.related-card__link {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, gap 0.2s;
}

.related-card__link:hover {
  color: var(--white);
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════════════
   BLOG INDEX — PAGE LISTE
   ══════════════════════════════════════════════════════════ */
.blog-hero {
  padding-top: calc(var(--nav-h) + clamp(5rem, 10vw, 10rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-hero__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.blog-hero__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-hero__label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.blog-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
}

.blog-hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

.blog-hero__sub {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-400);
  font-weight: 300;
  max-width: 520px;
}

/* ── Article vedette ─────────────────────────────────────── */
.blog-list {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.blog-list__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 8rem);
  align-items: center;
  padding-bottom: clamp(5rem, 9vw, 8rem);
  margin-bottom: clamp(5rem, 9vw, 8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-featured__img {
  aspect-ratio: 4/3;
  background: var(--grey-900);
  overflow: hidden;
  position: relative;
}

.blog-featured__img .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.blog-featured__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.blog-featured__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.blog-featured__title a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-featured__title a:hover { opacity: 0.65; }

.blog-featured__excerpt {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--grey-400);
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.blog-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: gap 0.2s;
}

.blog-featured__cta:hover { gap: 0.9rem; }

.blog-featured__cta svg {
  transition: transform 0.2s;
}

.blog-featured__cta:hover svg {
  transform: translateX(3px);
}

/* ── Grille d'articles ───────────────────────────────────── */
.blog-grid-section__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.blog-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.blog-card-v2 {
  background: var(--black);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease-out);
}

.blog-card-v2:hover {
  background: rgba(255, 255, 255, 0.025);
}

.blog-card-v2__img {
  aspect-ratio: 16/9;
  background: var(--grey-900);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.blog-card-v2__img .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.blog-card-v2__meta {
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.9rem;
}

.blog-card-v2__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.9rem;
  flex: 1;
}

.blog-card-v2__title a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-card-v2__title a:hover { opacity: 0.65; }

.blog-card-v2__excerpt {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--grey-400);
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.blog-card-v2__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  margin-top: auto;
}

.blog-card-v2__link:hover {
  color: var(--white);
  gap: 0.75rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .blog-grid-new {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
