/* ==========================================================================
   Sab Boost. — article.css
   --------------------------------------------------------------------------
   Styles des pages d’analyse (/analyses/…/). Chargé APRÈS styles.css, dont il
   réutilise les tokens, le header, le menu, le pied de page et les dialogues.
   Tous les sélecteurs sont préfixés .article-page ou .article : aucune règle
   ne touche la page d’accueil.
   ========================================================================== */

/* La page d’analyse commence sous l’en-tête fixe, sur le fond ivoire du site */
.article-page .article {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

/* Colonne de lecture : 65 à 75 caractères par ligne en Hanken Grotesk */
.article .container { max-width: calc(44rem + 2 * var(--gutter)); }

/* --------------------------------------------------------------------------
   Ouverture
   -------------------------------------------------------------------------- */
.article__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.article__kicker a {
  position: relative;
  color: var(--accent-text);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.article__kicker a:hover,
.article__kicker a:focus-visible { border-bottom-color: currentColor; }
.article__kicker-sep { width: 1.5rem; height: 1px; background: var(--line-strong); }

.article__title {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 300;
  text-wrap: balance;
  hyphens: manual;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  font-size: 0.9375rem;
  color: var(--muted);
}
.article__meta > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 0.9rem -0.1em;
  background: var(--line-strong);
}
.article__meta > span:first-child { color: var(--fg); font-weight: 500; }

.article__rule {
  height: 1px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  border: 0;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Corps de texte
   -------------------------------------------------------------------------- */
.article__body {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 1.0625rem;
  line-height: 1.7;
}
@media (min-width: 48rem) {
  .article__body { font-size: 1.1875rem; line-height: 1.72; }
}
.article__body p { margin: 0 0 1.35em; }
.article__body strong { font-weight: 600; color: var(--fg); }
.article__body p:last-child { margin-bottom: 0; }

.article__body h2 {
  margin: clamp(2.75rem, 6vw, 4rem) 0 1.1em;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}

/* Première ligne : la promesse citée, posée en ouverture */
.article__opening {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.6em !important;
}

/* Passages en gras de l’autrice : un cran de graisse, sans changer de couleur */
.article__body strong { font-weight: 600; color: var(--fg); }

/* Trois phrases fortes, composées en Cormorant italique dans le fil de lecture */
.article__key {
  margin: 2.2em 0 !important;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  border-left: 1px solid var(--rosewood);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.2vw + 0.9rem, 1.8rem);
  line-height: 1.3;
  font-weight: 300;
  color: var(--fg);
}
.article__key strong { font-weight: 300; }

/* --------------------------------------------------------------------------
   Fin de l’article
   -------------------------------------------------------------------------- */
.article__foot {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-strong);
}
.article__sources-title {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.article__sources {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
  counter-reset: source;
}
.article__sources li {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding-left: 2.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}
.article__sources li::before {
  counter-increment: source;
  content: counter(source);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-text);
}
.article__sources cite { font-style: italic; }
.article__sources a {
  justify-self: start;
  font-size: 0.875rem;
  color: var(--fg);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--line-strong);
  overflow-wrap: anywhere;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.article__sources a:hover,
.article__sources a:focus-visible { color: var(--accent-text); border-bottom-color: var(--accent-text); }

.article__signature {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
}
.article__signature .logo__dot { color: var(--rosewood); }

.article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.75rem;
}
.link-ext--back::after { content: "←"; order: -1; }
.link-ext--back:hover::after { transform: translate(-2px, 0); }

/* Apparitions : mêmes règles que l’accueil (styles.css) ; sur un chargement
   direct de l’article, l’en-tête apparaît sans attendre le défilement */
