@charset "UTF-8";

/* ==========================================================
   GHANA - DÉCHETS ÉLECTRONIQUES | LA LIBRE
   chapitre.css - Styles spécifiques aux pages chapitre
   ========================================================== */

/* ==========================================================
   1. CHAPITRE - HERO COVER (full-screen image + titre)
   ========================================================== */
.chap-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--c-noir-deep) center/cover no-repeat;
  color: var(--c-creme);
}
.chap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 10, 9, 0.25) 0%,
    rgba(14, 10, 9, 0.55) 50%,
    rgba(14, 10, 9, 0.92) 100%
  );
  z-index: 1;
}

.chap-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 60px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.chap-hero__chap-num {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin-bottom: 22px;
}
.chap-hero__chap-num::before {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--c-cuivre);
}

/* Pour les chapitres */
.chap-hero__title {
  font-family: var(--font-titre);
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.3;
  color: var(--c-creme);
  margin: 0 0 26px;
  max-width: 22ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  /* On garde le clip-path et le padding pour que l'animation NYT fonctionne */
  clip-path: inset(-20% 0 -20% 0);
  padding-bottom: 0.1em;
}

.chap-hero__subtitle {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);  /* au lieu de clamp(17px, 1.6vw, 21px) */
  line-height: 1.45;
  max-width: 60ch;
  color: rgba(245, 240, 232, 0.88);
  margin: 0 0 26px;
}

.chap-hero__byline {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.65);
  text-transform: uppercase;
}
.chap-hero__byline strong {
  color: var(--c-cuivre-clair);
  font-weight: 700;
}

.chap-hero__credit {
  position: absolute;
  bottom: 22px;
  right: 30px;
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 232, 0.5);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .chap-hero__content { padding: 0 24px 60px; }
  .chap-hero__title { margin-bottom: 18px; }
  .chap-hero__subtitle { font-size: 16px; margin-bottom: 22px; }
  .chap-hero__credit { right: 20px; bottom: 14px; font-size: 9px; }
}


/* ==========================================================
   1.bis HERO - ANIMATION D'ENTRÉE (style NYT)
   ========================================================== */

/* État initial : tous les éléments sont cachés */
.chap-hero__chap-num,
.chap-hero__title,
.chap-hero__subtitle,
.chap-hero__byline {
  opacity: 0;
}

/* Le label avec son trait cuivre */
.chap-hero__chap-num {
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.chap-hero__chap-num::before {
  width: 0;
  animation: hero-line-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Le titre principal — l'effet "masked reveal" signature NYT */
.chap-hero__title {
  /* On positionne légèrement plus bas + on cache via clip-path */
  clip-path: inset(-20% 0 -20% 0);
  animation: hero-title-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
  padding-bottom: 0.1em;
}

/* Le sous-titre */
.chap-hero__subtitle {
  transform: translateY(20px);
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

/* La byline */
.chap-hero__byline {
  transform: translateY(15px);
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}

/* Crédit photo discret en bas à droite */
.chap-hero__credit {
  opacity: 0;
  animation: hero-fade-soft 0.8s ease 1.7s forwards;
}

/* ──── KEYFRAMES ──── */
@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-line-grow {
  to {
    width: 50px;
  }
}

@keyframes hero-title-reveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(-20% 0 -20% 0);
  }
}

@keyframes hero-fade-soft {
  to {
    opacity: 1;
  }
}

/* Respecte la préférence "réduire les animations" du système */
@media (prefers-reduced-motion: reduce) {
  .chap-hero__chap-num,
  .chap-hero__title,
  .chap-hero__subtitle,
  .chap-hero__byline,
  .chap-hero__credit {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
  .chap-hero__chap-num::before {
    width: 50px;
    animation: none;
  }
}



/* ==========================================================
   2. ARTICLE - corps de texte
   ========================================================== */
.chap-article {
  background: var(--c-creme);
  color: var(--c-noir-chaud);
  padding: 90px 24px 0;
}
.chap-article__inner {
  max-width: 720px;
  margin: 0 auto;
}

.chap-article p {
  font-family: var(--font-corps);
  font-size: 20px;
  line-height: 1.7;
  color: var(--c-noir-chaud);
  margin: 0 0 26px;
}

/* Italiques préservés depuis le docx */
.chap-article p i,
.chap-article p em {
  font-style: italic;
  color: var(--c-brun-fonce);
}

/* Mises en gras (cuivre, comme dans Ukraine) */
.chap-article p strong,
.chap-article p b {
  color: var(--c-cuivre-fonce);
  font-weight: 700;
}

/* Sous-titres internes */
.chap-article h2 {
  font-family: var(--font-titre);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  color: var(--c-brun-fonce);
  margin: 60px 0 26px;
  position: relative;
  padding-left: 22px;
}
.chap-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 0.8em;
  background: var(--c-cuivre);
}

/* Liens dans l'article */
.chap-article a {
  color: var(--c-cuivre-fonce);
  text-decoration: underline;
  text-decoration-color: rgba(201, 123, 63, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.chap-article a:hover {
  color: var(--c-cuivre);
  text-decoration-color: var(--c-cuivre);
}

/* Lettrine spécifique au début d'un chapitre */
.chap-article .lettrine::first-letter {
  font-family: var(--font-titre);
  font-size: 5.5em;
  line-height: 0.85;
  color: var(--c-cuivre);
  float: left;
  margin: 0.05em 0.1em 0 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .chap-article { padding: 60px 20px 0; }
  .chap-article p { font-size: 18px; line-height: 1.65; }
  .chap-article h2 { margin: 45px 0 20px; }
  .chap-article .lettrine::first-letter { font-size: 4.5em; }
}

/* Adapter les composants .quote-block / .exergue / .epingle pour les pages claires */
.chap-article + .quote-block,
.chap-article ~ .quote-block,
.chap-article .quote-block {
  background: transparent;
}
.chap-article .quote-block .quote-text { color: var(--c-brun-fonce); }
.chap-article .quote-block .quote-author { color: var(--c-cuivre-fonce); }

.chap-article .exergue { color: var(--c-brun-fonce); }
.chap-article .epingle p { color: var(--c-brun-fonce); }

/* Wrappers transitoires entre l'article et un composant pleine largeur */
.chap-article-wrap {
  background: var(--c-creme);
  padding: 0 24px;
}
.chap-article-wrap > .chap-article__inner {
  max-width: 720px;
  margin: 0 auto;
}
.chap-article-wrap > .chap-article__inner p {
  font-family: var(--font-corps);
  font-size: 20px;
  line-height: 1.7;
  color: var(--c-noir-chaud);
  margin: 0 0 26px;
}
.chap-article-wrap > .chap-article__inner p i,
.chap-article-wrap > .chap-article__inner p em { font-style: italic; color: var(--c-brun-fonce); }
.chap-article-wrap > .chap-article__inner p strong,
.chap-article-wrap > .chap-article__inner p b { color: var(--c-cuivre-fonce); font-weight: 700; }
.chap-article-wrap > .chap-article__inner h2 {
  font-family: var(--font-titre);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  color: var(--c-brun-fonce);
  margin: 60px 0 26px;
  position: relative;
  padding-left: 22px;
}
.chap-article-wrap > .chap-article__inner h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 0.8em;
  background: var(--c-cuivre);
}

/* ==========================================================
   3. CITATION & EXERGUE - variantes pour fond clair
   Animation premium au scroll (style NYT)
   ========================================================== */
.chap-article-wrap .quote-block {
  max-width: 720px;
  margin: 70px auto;
  padding: 30px 0 30px 30px;
  border-left: 3px solid var(--c-cuivre);
  position: relative;
  /* État initial : barre cuivre invisible (en hauteur) */
}

/* La barre cuivre verticale se "dessine" du haut vers le bas */
.chap-article-wrap .quote-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: 0;
  background: var(--c-cuivre);
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.chap-article-wrap .quote-block.visible::after {
  height: 100%;
}
/* On masque la border-left native pendant l'animation */
.chap-article-wrap .quote-block {
  border-left-color: transparent;
}

/* Le gros guillemet ouvrant qui apparaît */
.chap-article-wrap .quote-block::before {
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
  transition: opacity 0.7s ease 0.5s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.chap-article-wrap .quote-block.visible::before {
  opacity: 0.18;
  transform: scale(1) rotate(0);
}

/* Le texte de la citation : reveal avec clip-path */
.chap-article-wrap .quote-block .quote-text {
  font-family: var(--font-titre);
  font-size: 26px;
  line-height: 1.3;
  font-style: italic;
  color: var(--c-brun-fonce);
  /* Animation initiale */
  opacity: 0;
  transform: translateY(20px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.chap-article-wrap .quote-block.visible .quote-text {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

/* L'auteur apparaît en dernier */
.chap-article-wrap .quote-block .quote-author {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cuivre-fonce);
  /* Animation initiale */
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s ease 1.0s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s;
}
.chap-article-wrap .quote-block.visible .quote-author {
  opacity: 1;
  transform: translateY(0);
}

/* On désactive l'ancienne animation de fade-up de la quote-block */
.chap-article-wrap .quote-block {
  opacity: 1 !important;
  transform: none !important;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .chap-article-wrap .quote-block::after {
    height: 100%;
    transition: none;
  }
  .chap-article-wrap .quote-block { border-left-color: var(--c-cuivre); }
  .chap-article-wrap .quote-block::before {
    opacity: 0.18;
    transform: scale(1) rotate(0);
    transition: none;
  }
  .chap-article-wrap .quote-block .quote-text,
  .chap-article-wrap .quote-block .quote-author {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ==========================================================
   4. CARROUSEL SCROLL-JACKÉ FULL-SCREEN
   ========================================================== */
.ll-scroll-carousel {
  position: relative;
  background: var(--c-noir-deep);
  /* La hauteur totale est définie en JS = nb_slides * 100vh */
}

.ll-scroll-carousel__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--c-noir-deep);
}

.ll-scroll-carousel__track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.ll-scroll-carousel__slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  position: relative;
  margin: 0;
  background: var(--c-noir-deep);
  display: flex;
  flex-direction: column;
}
.ll-scroll-carousel__slide-img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ll-scroll-carousel__slide figcaption {
  flex: 0 0 auto;
  background: #000;
  color: rgba(245, 240, 232, 0.85);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  padding: 16px 30px 18px;
  letter-spacing: 0.01em;
}

/* Compteur slides */
.ll-scroll-carousel__counter {
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 123, 63, 0.3);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-cuivre-clair);
  pointer-events: none;
}

/* Hint scroll horizontal au début du carrousel */
.ll-scroll-carousel__hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.85);
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.ll-scroll-carousel.has-progressed .ll-scroll-carousel__hint { opacity: 0; }
.ll-scroll-carousel__hint .arrow {
  display: inline-block;
  animation: hintBounce 1.6s ease-in-out infinite;
}
@keyframes hintBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Progress bar du carrousel */
.ll-scroll-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(201, 123, 63, 0.15);
  z-index: 4;
}
.ll-scroll-carousel__progress-bar {
  width: 0%;
  height: 100%;
  background: var(--c-cuivre);
  box-shadow: 0 0 8px var(--c-cuivre-glow);
  transition: width 0.05s linear;
}

@media (max-width: 768px) {
  .ll-scroll-carousel__counter { top: 16px; right: 16px; font-size: 11px; padding: 6px 10px; }
  .ll-scroll-carousel__slide figcaption { padding: 12px 18px 14px; font-size: 12px; }
  .ll-scroll-carousel__hint { bottom: 70px; font-size: 10px; padding: 8px 14px; }
}

/* ==========================================================
   5. AUDIO PLAYER
   ========================================================== */
.ll-audio {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 720px;
  margin: 70px auto;
  padding: 24px;
  background: var(--c-brun-fonce);
  border: 1px solid rgba(201, 123, 63, 0.25);
  color: var(--c-creme);
}
.ll-audio__play {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--c-cuivre);
  color: var(--c-creme);
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--t-base), background var(--t-base);
  margin-top: 2px;
}
.ll-audio__play:hover {
  background: var(--c-cuivre-clair);
  transform: scale(1.04);
}
.ll-audio__content { flex: 1; min-width: 0; }
.ll-audio__title {
  font-family: var(--font-titre);
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-creme);
  margin-bottom: 14px;
}
.ll-audio__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ll-audio__subtitle {
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  white-space: nowrap;
}
.ll-audio__progress-wrap { flex: 1; min-width: 100px; }
.ll-audio__progress {
  width: 100%;
  height: 5px;
  background: rgba(245, 240, 232, 0.15);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
}
.ll-audio__bar {
  width: 0%;
  height: 100%;
  background: var(--c-cuivre-clair);
  transition: width 0.1s linear;
}
.ll-audio__time {
  flex: 0 0 auto;
  min-width: 50px;
  text-align: right;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--c-cuivre-clair);
  font-weight: 600;
}

@media (max-width: 768px) {
  .ll-audio { gap: 14px; padding: 18px; margin: 50px 16px; }
  .ll-audio__play { flex: 0 0 44px; width: 44px; height: 44px; font-size: 14px; }
  .ll-audio__title { font-size: 15px; margin-bottom: 12px; }
  .ll-audio__bottom { flex-wrap: wrap; gap: 8px 12px; }
  .ll-audio__subtitle { order: 1; }
  .ll-audio__time { order: 2; margin-left: auto; }
  .ll-audio__progress-wrap { order: 3; flex: 0 0 100%; }
}

/* ==========================================================
   6. VIDEO PLAYER
   ========================================================== */
.ll-video {
  max-width: 1100px;
  margin: 80px auto;
  background: var(--c-noir-deep);
  border: 1px solid rgba(201, 123, 63, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ll-video__frame {
  position: relative;
  background: var(--c-noir-deep);
  aspect-ratio: 16 / 9;
}
.ll-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ll-video__center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: rgba(201, 123, 63, 0.92);
  color: var(--c-creme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform var(--t-base), background var(--t-base), opacity var(--t-base);
  z-index: 3;
}
.ll-video__center-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--c-cuivre-clair);
}
.ll-video.is-playing .ll-video__center-play {
  opacity: 0;
  pointer-events: none;
}
.ll-video.is-ended .ll-video__center-play {
  opacity: 1;
  pointer-events: auto;
}
.ll-video__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 14px;
  background: var(--c-noir-chaud);
  border-top: 1px solid rgba(201, 123, 63, 0.1);
}
.ll-video__btn {
  border: 0;
  background: transparent;
  color: var(--c-creme);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.ll-video__btn:hover {
  background: rgba(201, 123, 63, 0.15);
  color: var(--c-cuivre-clair);
}
.ll-video__time {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--c-cuivre-clair);
  min-width: 42px;
  text-align: center;
  font-weight: 600;
}
.ll-video__progress {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
}
.ll-video__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--c-cuivre);
}

@media (max-width: 767px) {
  .ll-video { margin: 50px 16px; }
  .ll-video__center-play { width: 60px; height: 60px; font-size: 18px; }
}

/* ==========================================================
   6.bis BLOC "POUR ALLER PLUS LOIN" (analyse en fin d'article)
   ========================================================== */
.chap-deep-dive {
  background: var(--c-brun-fonce);
  color: var(--c-creme);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

/* Petite texture grille subtile en fond */
.chap-deep-dive::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 123, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 123, 63, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}

/* Bord cuivre haut et bas pour cadrer le bloc */
.chap-deep-dive::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--c-cuivre);
}

.chap-deep-dive__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.chap-deep-dive__kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.chap-deep-dive__kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--c-cuivre);
}

.chap-deep-dive__title {
  font-family: var(--font-titre);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  color: var(--c-creme);
  margin: 0 0 38px;
}
.chap-deep-dive__title em {
  font-style: normal;
  color: var(--c-cuivre-clair);
}

.chap-deep-dive__body p {
  font-family: var(--font-corps);
  font-size: 19px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.92);
  margin: 0 0 22px;
}
.chap-deep-dive__body p strong {
  color: var(--c-cuivre-clair);
  font-weight: 700;
}
.chap-deep-dive__body p em {
  font-style: italic;
  color: rgba(245, 240, 232, 0.82);
}

/* Citation longue à l'intérieur du bloc */
.chap-deep-dive__quote {
  margin: 36px 0 30px;
  padding: 28px 30px 28px 32px;
  border-left: 3px solid var(--c-cuivre);
  background: rgba(14, 10, 9, 0.4);
  position: relative;
}
.chap-deep-dive__quote::before {
  content: "\201C";
  font-family: var(--font-titre);
  font-size: 90px;
  line-height: 1;
  color: var(--c-cuivre);
  position: absolute;
  top: -10px;
  right: 16px;
  opacity: 0.2;
  pointer-events: none;
}
.chap-deep-dive__quote p {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-creme);
  margin: 0 0 14px;
}
.chap-deep-dive__quote cite {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
}

.chap-deep-dive__source {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 232, 0.55);
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 123, 63, 0.2);
}
.chap-deep-dive__source em {
  font-style: italic;
  color: rgba(245, 240, 232, 0.75);
}

@media (max-width: 768px) {
  .chap-deep-dive { padding: 70px 20px; }
  .chap-deep-dive__title { margin-bottom: 28px; }
  .chap-deep-dive__body p { font-size: 17px; }
  .chap-deep-dive__quote { padding: 22px 20px 22px 24px; margin: 28px 0; }
  .chap-deep-dive__quote p { font-size: 16px; }
}



/* ==========================================================
   7. CHAPITRE SUIVANT - CONCEPT 2 (CARTES PLEINE LARGEUR)
   ========================================================== */
.chap-next {
  background: var(--c-noir-chaud);
  color: var(--c-creme);
  padding: 100px 0 60px;
}

.chap-next__header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 60px;
}
.chap-next__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cuivre);
  margin-bottom: 16px;
}
.chap-next__title {
  font-family: var(--font-titre);
  font-size: clamp(32px, 4vw, 50px);
  margin: 0;
}

.chap-next__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Carte de base (full-width) */
.chap-next-card {
  position: relative;
  display: block;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-creme);
  border-top: 1px solid rgba(201, 123, 63, 0.15);
  cursor: pointer;
  transition: color var(--t-base);
}
.chap-next-card:last-child { border-bottom: 1px solid rgba(201, 123, 63, 0.15); }

.chap-next-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.chap-next-card:hover .chap-next-card__bg { transform: scale(1.05); }

.chap-next-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 10, 9, 0.85) 0%,
    rgba(14, 10, 9, 0.6) 50%,
    rgba(14, 10, 9, 0.4) 100%
  );
  transition: background var(--t-base);
}
.chap-next-card:hover .chap-next-card__overlay {
  background: linear-gradient(
    90deg,
    rgba(14, 10, 9, 0.7) 0%,
    rgba(14, 10, 9, 0.45) 50%,
    rgba(14, 10, 9, 0.25) 100%
  );
}

.chap-next-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  max-width: 800px;
}

.chap-next-card__num {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.chap-next-card__num::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--c-cuivre);
  transition: width var(--t-base);
}
.chap-next-card:hover .chap-next-card__num::before { width: 50px; }

.chap-next-card__title {
  font-family: var(--font-titre);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.1;
  color: var(--c-creme);
  margin: 0 0 22px;
  max-width: 18ch;
  transition: transform var(--t-base);
}
.chap-next-card:hover .chap-next-card__title {
  transform: translateX(8px);
}

.chap-next-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cuivre-clair);
  transition: gap var(--t-base);
}
.chap-next-card:hover .chap-next-card__cta { gap: 18px; }
.chap-next-card__cta::after {
  content: "→";
  font-size: 18px;
  display: inline-block;
  transition: transform var(--t-base);
}
.chap-next-card:hover .chap-next-card__cta::after { transform: translateX(6px); }

/* État "chapitre actuel" : non cliquable, marqué */
.chap-next-card.is-current {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}
.chap-next-card.is-current .chap-next-card__cta {
  color: rgba(245, 240, 232, 0.65);
}
.chap-next-card.is-current .chap-next-card__cta::after {
  content: "•";
}
.chap-next-card.is-current .chap-next-card__num {
  color: rgba(201, 123, 63, 0.5);
}

/* État "suivant" mis en avant */
.chap-next-card.is-next {
  height: 70vh;
  min-height: 420px;
}
.chap-next-card.is-next .chap-next-card__title {
  font-size: clamp(32px, 4.4vw, 56px);
}
.chap-next-card.is-next .chap-next-card__num {
  color: var(--c-cuivre-clair);
}

/* Lien retour à l'accueil */
.chap-next__back {
  display: block;
  text-align: center;
  margin-top: 50px;
  padding: 14px 24px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  transition: color var(--t-fast);
}
.chap-next__back:hover { color: var(--c-cuivre-clair); }
.chap-next__back::before {
  content: "← ";
  margin-right: 6px;
}

@media (max-width: 768px) {
  .chap-next { padding: 70px 0 40px; }
  .chap-next__header { margin-bottom: 40px; }
  .chap-next-card { height: 45vh; min-height: 280px; }
  .chap-next-card.is-next { height: 55vh; min-height: 320px; }
  .chap-next-card__content { padding: 30px 24px; }
  .chap-next-card__title { margin-bottom: 18px; }
}

/* ==========================================================
   8. PROGRESS BAR DE LECTURE (article only)
   ========================================================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: 3px;
  z-index: 9500;
  background: rgba(201, 123, 63, 0.1);
  pointer-events: none;
}
.reading-progress__bar {
  width: 0%;
  height: 100%;
  background: var(--c-cuivre);
  box-shadow: 0 0 8px rgba(201, 123, 63, 0.5);
  transition: width 0.08s linear;
}
@media (max-width: 768px) {
  .reading-progress { left: 0; }
}
