/* ============ ARTICLE — Fiche blog (look magazine éditorial) ============
   Typographie longue, lettrine, citations en exergue, ornements de section.
   Préfixe .ar-* — différent volontairement des pages produit/recette.
   ========================================================================== */

/* ----- Bandeau retour ----- */
.ar-back {
  position: fixed;
  left: 32px; top: 100px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(245,241,234,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(176,138,62,0.3);
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mf-ink); text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.ar-back:hover { background: var(--mf-gold); color: var(--mf-ink); }
.ar-back i { font-size: 16px; }

/* ----- HERO PLEINE LARGEUR ----- */
.ar-hero {
  position: relative;
  width: 100%; height: 78vh; min-height: 560px;
  overflow: hidden;
  background: var(--mf-ink);
  color: var(--mf-paper);
}
.ar-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.02);
}
.ar-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.55) 0%, rgba(10,8,6,0.35) 40%, rgba(10,8,6,0.92) 100%);
}
.ar-hero__inner {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto;
  height: 100%;
  padding: 220px 64px 80px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ar-hero__badge {
  display: inline-flex; align-self: flex-start; gap: 14px;
  background: var(--mf-paper);
  color: var(--mf-ink);
  padding: 10px 18px;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 28px;
}
.ar-hero__badge .num {
  color: var(--mf-gold);
  border-right: 1px solid rgba(26,22,19,0.2);
  padding-right: 14px;
}
.ar-hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--mf-paper);
  margin: 0 0 28px; max-width: 22ch;
  text-wrap: balance;
}
.ar-hero__title em {
  font-style: italic;
  background: var(--foil-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ar-hero__standfirst {
  font-family: var(--font-subhead); font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5;
  color: var(--mf-paper-3);
  max-width: 56ch; margin: 0 0 36px;
}
.ar-hero__byline {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  font-family: var(--font-body); font-size: 13px;
  color: var(--mf-paper-3);
  padding-top: 24px; border-top: 1px solid rgba(207,175,102,0.3);
}
.ar-hero__byline strong { color: var(--mf-paper); font-weight: 600; }
.ar-hero__byline .author {
  display: inline-flex; align-items: center; gap: 12px;
}
.ar-hero__byline .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mf-gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mf-ink);
  font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 600;
}
.ar-hero__byline .meta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mf-paper-3);
}
.ar-hero__byline .meta i { font-size: 16px; color: #CFAF66; }

/* ----- BODY (colonne éditoriale) ----- */
.ar-body {
  background: var(--mf-paper);
  color: var(--mf-ink);
  padding: 100px 64px 80px;
}
.ar-body__col {
  max-width: 720px; margin: 0 auto;
}

.ar-body__col p {
  font-family: var(--font-body);
  font-size: 19px; line-height: 1.75;
  color: var(--mf-ink); margin: 0 0 26px;
  text-wrap: pretty;
}

/* Lettrine sur le 1er paragraphe */
.ar-body__col > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display); font-weight: 600;
  font-size: 92px; line-height: 0.85;
  color: var(--mf-gold);
  margin: 8px 14px 0 0;
  padding-right: 4px;
}

.ar-body__col h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 32px; line-height: 1.15;
  margin: 56px 0 18px; letter-spacing: -0.005em;
}
.ar-body__col h2 em { font-style: italic; color: var(--mf-gold); }
.ar-body__col h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; line-height: 1.2;
  margin: 36px 0 14px;
}

.ar-body__col a {
  color: var(--mf-ink);
  border-bottom: 1px solid var(--mf-gold);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.ar-body__col a:hover { color: var(--mf-gold); }

.ar-body__col blockquote {
  margin: 56px -64px;
  padding: 0 64px;
  border-left: 2px solid var(--mf-gold);
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--mf-ink);
}
.ar-body__col blockquote p {
  font-family: inherit; font-size: inherit; line-height: inherit;
  margin: 0 0 16px;
}
.ar-body__col blockquote cite {
  font-style: normal;
  display: block; margin-top: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mf-gold);
}

.ar-body__col ul, .ar-body__col ol {
  margin: 0 0 28px; padding-left: 22px;
  font-size: 19px; line-height: 1.7;
}
.ar-body__col li { margin-bottom: 8px; }
.ar-body__col li::marker { color: var(--mf-gold); }

/* Image insérée dans l'article */
.ar-figure {
  margin: 48px -64px;
}
.ar-figure img {
  width: 100%; height: auto; display: block;
}
.ar-figure figcaption {
  margin-top: 14px; padding: 0 64px;
  font-family: var(--font-subhead); font-style: italic;
  font-size: 14px; line-height: 1.45;
  color: var(--mf-ink-3);
  display: flex; gap: 14px;
}
.ar-figure figcaption::before {
  content: '↳'; color: var(--mf-gold); font-style: normal;
}

/* Ornement de séparation entre sections */
.ar-sep {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin: 64px 0;
  color: var(--mf-gold);
}
.ar-sep::before, .ar-sep::after {
  content: ''; flex: 0 1 100px; height: 1px; background: currentColor;
  opacity: 0.4;
}
.ar-sep span { font-size: 22px; font-family: var(--font-display); font-style: italic; }

/* ----- AUTHOR CARD ----- */
.ar-author {
  background: var(--mf-paper-2);
  padding: 64px;
  margin: 80px auto 0;
  max-width: 720px;
  border: 1px solid rgba(176,138,62,0.22);
  display: grid; grid-template-columns: auto 1fr; gap: 32px;
  align-items: start;
}
.ar-author__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--mf-gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mf-ink);
  font-family: var(--font-display); font-style: italic; font-size: 38px; font-weight: 600;
}
.ar-author__label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mf-gold); margin-bottom: 8px;
}
.ar-author__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; margin: 0 0 12px; color: var(--mf-ink);
}
.ar-author__name em { font-style: italic; color: var(--mf-gold); }
.ar-author p {
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  color: var(--mf-ink-3); margin: 0;
}

/* ----- SUITE — À LIRE AUSSI ----- */
.ar-related {
  background: var(--mf-paper);
  padding: 110px 64px 130px;
  border-top: 1px solid rgba(26,22,19,0.12);
}
.ar-related__wrap { max-width: 1280px; margin: 0 auto; }
.ar-related__head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px;
  align-items: end; margin-bottom: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(26,22,19,0.18);
}
.ar-related__head .lab {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mf-gold);
}
.ar-related__head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1;
  margin: 0;
}
.ar-related__head h2 em { font-style: italic; color: var(--mf-gold); }
.ar-related__all {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mf-ink); text-decoration: none;
  border-bottom: 1px solid var(--mf-gold);
  padding-bottom: 6px;
  transition: color var(--t-fast);
}
.ar-related__all:hover { color: var(--mf-gold); }

.ar-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

/* Réutilise le pattern .bg-card via un alias plus restreint */
.ar-related .bg-card__media { aspect-ratio: 5 / 4; margin-bottom: 18px; }
.ar-related .bg-card__title { font-size: 22px; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .ar-back { left: 20px; top: 90px; }
  .ar-hero__inner { padding: 200px 40px 64px; }
  .ar-body { padding: 80px 40px 60px; }
  .ar-body__col blockquote { margin: 48px -40px; padding: 0 40px; }
  .ar-figure { margin: 40px -40px; }
  .ar-figure figcaption { padding: 0 40px; }
  .ar-related { padding: 80px 40px 100px; }
  .ar-related__grid { grid-template-columns: repeat(2, 1fr); }
  .ar-author { padding: 48px; gap: 24px; }
}
@media (max-width: 900px) {
  .ar-related__head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
}
@media (max-width: 680px) {
  .ar-back { left: 12px; top: 84px; padding: 8px 12px; font-size: 10px; }
  .ar-hero { height: auto; min-height: 0; }
  .ar-hero__inner { padding: 160px 20px 48px; }
  .ar-hero__title { font-size: clamp(38px, 9vw, 52px); }
  .ar-hero__byline { gap: 16px; font-size: 12px; }
  .ar-body { padding: 60px 20px 40px; }
  .ar-body__col p { font-size: 17px; }
  .ar-body__col > p:first-of-type::first-letter { font-size: 72px; }
  .ar-body__col blockquote { margin: 36px -20px; padding: 0 20px; font-size: 22px; }
  .ar-figure { margin: 32px -20px; }
  .ar-figure figcaption { padding: 0 20px; }
  .ar-author {
    grid-template-columns: 1fr; gap: 18px; padding: 32px 24px;
    text-align: center;
  }
  .ar-author__avatar { margin: 0 auto; }
  .ar-related { padding: 60px 20px 80px; }
  .ar-related__grid { grid-template-columns: 1fr; gap: 24px; }
}
