/* ==========================================================================
   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.1rem, 4.2vw, 3.6rem);
  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.66; }
}
.article__body p { margin: 0 0 1.15em; }
.article__body p:last-child { margin-bottom: 0; }
.article__body p + h2 { margin-top: clamp(3rem, 6.5vw, 4.25rem); }

/* Numérotation des sept parties : chiffre discret en brun rosé, posé au-dessus du titre */
.article__num {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent-text);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Groupes éditoriaux : trois profils, appréciations managériales, deux questions */
.article__profiles,
.article__questions {
  margin: 1.6em 0 1.9em;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  border-left: 1px solid var(--line-strong);
}
.article__profiles p { margin-bottom: 0.9em; }
.article__profiles p:last-child { margin-bottom: 0; }
.article__questions p { margin-bottom: 0.7em; }
.article__questions p:last-child { margin-bottom: 0; }
.article__questions strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 0.6vw + 1rem, 1.45rem);
  line-height: 1.35;
}
.article__voices { margin: 1.6em 0 1.9em; }
.article__voices p {
  margin-bottom: 0.35em;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
  line-height: 1.35;
  color: var(--fg);
}
.article__voices p:last-child { margin-bottom: 0; }

.article__body h2 {
  margin: clamp(2.75rem, 6vw, 4rem) 0 1em;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.18;
  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.5rem, 2vw, 1.95rem);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.4em !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__source-type {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-text);
}

/* Suggestion de lecture : l’autre article, après les références */
.article__next {
  display: grid;
  gap: 0.4rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article__next .label { margin-bottom: 0.4rem; }
.article__next-cat { font-size: 0.8125rem; font-weight: 500; color: var(--accent-text); }
.article__next-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.article__next-title a { transition: color var(--t-fast); }
.article__next-title a:hover,
.article__next-title a:focus-visible { color: var(--accent-text); }

.article__signature {
  margin-top: clamp(2rem, 4vw, 3rem);
  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 */
