/* =========================================================================
   ELYSIOR — Journal : pages articles (mise en page éditoriale)
   Thème clair, charte stricte (or en filets/accents). Autonome : reveals
   gérés par un petit IntersectionObserver inline, aucune dépendance GSAP.
   ========================================================================= */

/* ---- Barre haute (header simplifié des pages article) ---- */
.atop {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--filet-soft);
}
.atop__in {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.atop__brand {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: 0.14em; color: var(--blanc); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
}
.atop__brand img { height: 20px; width: auto; }
.atop__links { display: flex; align-items: center; gap: 26px; }
.atop__links a {
  font-size: 13px; letter-spacing: 0.04em; color: var(--gris);
  text-decoration: none; transition: color .25s;
}
.atop__links a:hover { color: var(--or); }
.atop__cta {
  font-size: 13px; letter-spacing: 0.03em; color: var(--blanc) !important;
  border: 1px solid var(--filet); border-radius: 100px; padding: 9px 18px;
  transition: background .3s, color .3s !important;
}
.atop__cta:hover { background: var(--or); color: #fff !important; border-color: var(--or); }
@media (max-width: 760px) { .atop__links a:not(.atop__cta) { display: none; } }

/* ---- En-tête éditorial ---- */
.ahero { padding: clamp(48px, 7vh, 96px) 0 clamp(28px, 4vh, 48px); position: relative; }
.ahero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 80% -10%, var(--or-glow), transparent 55%);
}
.ahero__in { max-width: 820px; margin-inline: auto; padding-inline: var(--gut); position: relative; }
.abreadcrumb { font-size: 12px; letter-spacing: 0.05em; color: var(--gris-3); margin-bottom: 26px; }
.abreadcrumb a { color: var(--gris-2); text-decoration: none; transition: color .25s; }
.abreadcrumb a:hover { color: var(--or); }
.abreadcrumb span { color: var(--filet-soft); margin: 0 8px; }
.ahero__cat {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or);
  font-weight: 600; margin-bottom: 18px; display: inline-block;
}
.ahero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.015em;
  color: var(--blanc);
}
.ahero__title .em { font-style: italic; color: var(--or); }
.ahero__lede {
  margin-top: 22px; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6;
  color: var(--gris); font-weight: 300; max-width: 60ch;
}
.ahero__meta {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--filet-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--gris-2);
}
.ahero__meta b { color: var(--blanc); font-weight: 500; }
.ahero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--or); opacity: 0.7; }

/* ---- Image vedette (en-tête d'article) ---- */
.ahero__media {
  max-width: 1000px; margin: clamp(6px, 1.5vh, 20px) auto clamp(30px, 5vh, 56px);
  padding-inline: var(--gut);
}
.ahero__media img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 36px 80px -50px rgba(20,17,11,0.6), inset 0 0 0 1px var(--filet-soft);
}
@media (max-width: 600px) { .ahero__media img { aspect-ratio: 4 / 3; border-radius: 9px; } }

/* ---- Corps de l'article ---- */
.abody { padding: clamp(8px, 2vh, 24px) 0 clamp(56px, 8vh, 100px); }
.abody__in { max-width: 720px; margin-inline: auto; padding-inline: var(--gut); }
.abody p { font-size: 17px; line-height: 1.78; color: var(--gris); margin: 0 0 22px; }
.abody p.lead { font-size: 19px; color: var(--blanc); font-weight: 400; }
.abody h2 {
  font-family: var(--serif); font-weight: 600; color: var(--blanc);
  font-size: clamp(24px, 3vw, 33px); line-height: 1.15; letter-spacing: -0.01em;
  margin: clamp(40px, 5vh, 60px) 0 16px;
}
.abody h2 .num { color: var(--or); font-style: italic; margin-right: 0.3em; }
.abody h3 {
  font-family: var(--serif); font-weight: 600; color: var(--blanc);
  font-size: clamp(20px, 2.3vw, 25px); line-height: 1.25;
  margin: 32px 0 12px;
}
.abody strong { color: var(--blanc); font-weight: 600; }
.abody a:not(.btn) { color: var(--or-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--filet); }
.abody a:not(.btn):hover { text-decoration-color: var(--or); }
.abody ul, .abody ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.abody li {
  position: relative; padding-left: 30px; margin-bottom: 13px;
  font-size: 17px; line-height: 1.7; color: var(--gris);
}
.abody ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--or); box-shadow: 0 0 0 3px var(--or-glow);
}
.abody ol { counter-reset: aol; }
.abody ol li { counter-increment: aol; }
.abody ol li::before {
  content: counter(aol); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); color: var(--or-deep);
  font-family: var(--serif); font-weight: 600; font-size: 13px;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--filet);
}

/* Encadré « point clé » */
.acallout {
  margin: 30px 0; padding: 24px 26px; border-radius: 6px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: inset 0 0 0 1px var(--filet);
}
.acallout p { margin: 0; color: var(--blanc); font-size: 16px; line-height: 1.7; }
.acallout .acallout__k {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--or-deep); font-weight: 600; display: block; margin-bottom: 8px;
}

/* Citation / source (E-E-A-T) */
.aquote {
  margin: 32px 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--or);
}
.aquote p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--blanc); margin: 0 0 8px; }
.aquote cite { font-style: normal; font-size: 13px; letter-spacing: 0.03em; color: var(--gris-2); }
.aquote cite b { color: var(--or-deep); font-weight: 600; }

/* Source-bloc en fin d'article */
.asource {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--filet-soft);
  font-size: 13.5px; line-height: 1.6; color: var(--gris-2);
}
.asource b { color: var(--blanc); }

/* ---- CTA de fin ---- */
.acta { background: var(--noir-soft); border-block: 1px solid var(--filet-soft); padding: clamp(48px, 7vh, 80px) 0; }
.acta__in {
  max-width: 760px; margin-inline: auto; padding-inline: var(--gut); text-align: center;
}
.acta__k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); font-weight: 600; }
.acta__t {
  font-family: var(--serif); font-weight: 500; color: var(--blanc);
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; margin: 14px 0 14px;
}
.acta__t .em { font-style: italic; color: var(--or); }
.acta__p { font-size: 16px; line-height: 1.6; color: var(--gris); max-width: 52ch; margin: 0 auto 28px; font-weight: 300; }
.acta__btns { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.abtn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-size: 15px; letter-spacing: 0.02em; padding: 15px 28px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.abtn svg { width: 17px; height: 17px; }
.abtn--gold { background: var(--or); color: #fff; box-shadow: 0 16px 34px -18px rgba(176,136,41,0.7); }
.abtn--gold:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(176,136,41,0.85); }
.abtn--ghost { color: var(--blanc); border: 1px solid var(--filet); }
.abtn--ghost:hover { background: var(--surface-2); }

/* ---- À lire aussi ---- */
.arelated { padding: clamp(56px, 8vh, 96px) 0; background: var(--noir); }
.arelated__in { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.arelated__head {
  font-family: var(--serif); font-weight: 500; color: var(--blanc);
  font-size: clamp(24px, 3vw, 36px); margin-bottom: clamp(28px, 4vh, 44px);
}
.arelated__head .em { font-style: italic; color: var(--or); }
.arelated__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
@media (max-width: 860px) { .arelated__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .arelated__grid { grid-template-columns: 1fr; } }

/* ---- Reveals autonomes (sans GSAP) ---- */
.a-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.a-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .a-reveal { opacity: 1; transform: none; transition: none; } }
