/* ==========================================================================
   Karibean Springbreak — case study
   Principe : une feuille de route. Colonne de repères en marge, chapitres
   datés, filets fins, un seul basculement en bleu nuit (J-14).
   Sommaire : 1 polices · 2 variables · 3 base · 4 composants · 5 en-tête ·
   6 hero · 7 chapitres · 8 blocs de contenu · 9 J-14 et frise ·
   10 graphiques · 11 archives · 12 contact · 13 lightbox · 14 mouvement
   ========================================================================== */

/* 1. Polices (hébergées localement, licence OFL) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* 2. Variables */
:root {
  /* Couleurs */
  --navy: #10233f;
  --deep: #0b1628;
  --gold: #b69a60;
  --gold-ink: #7a6130;           /* doré lisible en texte sur fond clair */
  --paper: #f8f7f4;
  --white: #ffffff;
  --text: #525a65;
  --ink: #171717;
  --rule: rgba(16, 35, 63, .16);
  --rule-strong: rgba(16, 35, 63, .42);
  --on-navy: #ffffff;
  --on-navy-soft: #c9d1de;
  --rule-on-navy: rgba(255, 255, 255, .2);

  /* Typographies */
  --font-title: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* Tailles */
  --fs-display: clamp(2.35rem, .9rem + 6.2vw, 6rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.9vw, 3.75rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --fs-lead: clamp(1.18rem, 1.06rem + .5vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;
  --fs-figure: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);

  /* Espacements */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 2rem + 3vw, 4.5rem);
  --space-section: clamp(4.5rem, 2.5rem + 7vw, 9rem);

  /* Divers */
  --radius: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --duration: .25s;
  --header-h: 4.5rem;
  --measure: 66ch;
}

/* 3. Base */
html { scroll-padding-top: calc(var(--header-h) + .5rem); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: clip;
}
.container { --bs-gutter-x: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 1400px) { .container { max-width: 1344px; } }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 {
  max-width: 18ch;
  margin-bottom: var(--space-4);
  font-size: var(--fs-h2);
  letter-spacing: -.033em;
  line-height: 1.04;
}
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1rem; letter-spacing: 0; }
p, ul, ol, dl, figure { margin: 0; }
dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
strong { color: var(--ink); font-weight: 650; }
a { color: var(--navy); text-underline-offset: .22em; }
a:hover { color: var(--deep); }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.turn :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: .75rem; left: .75rem;
  padding: .75rem 1.25rem; background: var(--navy); color: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { color: var(--white); transform: none; }

/* 4. Composants */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.25rem; padding: .8rem 1.5rem;
  border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  font-family: var(--font-title); font-size: var(--fs-small); font-weight: 700;
  line-height: 1.25; text-decoration: none;
  transition: background-color var(--duration), color var(--duration);
}
.button:hover { background: var(--deep); color: var(--white); }
.button .icon { transition: transform var(--duration) var(--ease); }
.button:hover .icon { transform: translateY(2px); }
.button--ghost { background: transparent; color: var(--navy); }
.button--ghost:hover { background: var(--navy); color: var(--white); }
.button--small { min-height: 2.75rem; padding: .55rem 1rem; font-size: .8125rem; }
.button[aria-disabled="true"] {
  border-style: dashed; background: transparent; color: var(--text); cursor: not-allowed;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-weight: 600; }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--space-2); }
.prose + .prose { margin-top: var(--space-3); }
.prose--lead { color: var(--navy); font-size: var(--fs-lead); line-height: 1.55; }

.prose + .checklist { margin-top: var(--space-4); }
.list-title { margin: var(--space-5) 0 var(--space-2); }
.list-title--flush { margin-top: 0; }
@media (max-width: 767.98px) { .list-title--flush { margin-top: var(--space-4); } }

/* Liste « feuille de route » : une ligne par point, repère losange */
.checklist { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
@media (min-width: 640px) { .checklist:not(.checklist--single) { grid-template-columns: 1fr 1fr; } }
.checklist li {
  position: relative; padding: .85rem 0 .85rem 1.6rem;
  border-top: 1px solid var(--rule); color: var(--ink); line-height: 1.45;
}
.checklist li::before {
  content: ""; position: absolute; top: 1.3rem; left: .15rem;
  width: .45rem; height: .45rem; background: var(--gold); transform: rotate(45deg);
}

/* 5. En-tête */
.site-header {
  position: sticky; z-index: 40; top: 0;
  border-bottom: 1px solid var(--rule); background: var(--paper);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  column-gap: 1.5rem; min-height: var(--header-h);
}
.identity { display: flex; flex-direction: column; justify-content: center; min-height: 2.75rem; text-decoration: none; }
.identity__name {
  font-family: var(--font-title); font-size: .9375rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.identity__role { color: var(--text); font-size: .75rem; line-height: 1.35; }
.site-nav ul { display: flex; flex-wrap: wrap; column-gap: 1.5rem; margin: 0; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  border-block: 2px solid transparent;
  color: var(--navy); font-size: .875rem; font-weight: 500; text-decoration: none;
  transition: border-color var(--duration);
}
.site-nav ul a:hover { border-bottom-color: var(--rule-strong); }
.site-nav ul a[aria-current="true"] { border-bottom-color: var(--gold); font-weight: 650; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; }
.menu-toggle { display: none; }
.progress { position: absolute; right: 0; bottom: -2px; left: 0; height: 2px; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

@media (max-width: 1199.98px) {
  /* Sans JavaScript : la navigation reste affichée sous l'identité */
  html:not(.js) .site-header { position: static; }
  html:not(.js) { scroll-padding-top: .5rem; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: .75rem; }

  .js .site-header__bar { flex-wrap: nowrap; column-gap: .75rem; }
  .js .identity { flex: 1 1 0; min-width: 0; }
  .js .menu-toggle {
    flex: none; display: inline-flex; align-items: center; gap: .5rem;
    min-width: 2.75rem; min-height: 2.75rem; padding: 0 .9rem;
    border: 1px solid var(--rule-strong); border-radius: var(--radius);
    background: transparent; color: var(--navy); font-size: .875rem; font-weight: 600;
  }
  .js .site-nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: .5rem clamp(1.25rem, 3vw, 2rem) 1.5rem;
    border-bottom: 1px solid var(--rule-strong); background: var(--paper);
    box-shadow: 0 18px 30px -22px rgba(11, 22, 40, .45);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { width: 100%; min-height: 3.25rem; border-width: 0 0 1px; border-bottom-color: var(--rule); font-size: 1.0625rem; }
  .js .site-nav ul a[aria-current="true"] { border-bottom: 2px solid var(--gold); }
}

/* 6. Hero */
@media (max-width: 767.98px) { :root { --fs-display: clamp(2.75rem, 13.6vw, 4.75rem); } }
.hero { padding-top: clamp(1.75rem, 1rem + 2.5vw, 3.25rem); }
.hero__label {
  padding-top: .9rem; border-top: 1px solid var(--rule-strong);
  color: var(--gold-ink); font-size: var(--fs-label); font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 {
  margin: clamp(.5rem, 1.2vw, 1rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  font-size: var(--fs-display); letter-spacing: -.04em; line-height: .98;
}
.hero__body { display: flex; flex-direction: column; }
.hero__text { display: contents; }
.hero__subtitle, .hero__intro, .hero__role, .hero__text .actions {
  width: 100%; padding-inline: clamp(1.25rem, 3vw, 2rem);
}
.hero__subtitle {
  order: 1; color: var(--navy); font-family: var(--font-title);
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2.05rem); font-weight: 500;
  letter-spacing: -.015em; line-height: 1.28; text-wrap: balance;
}
.hero__role strong { display: block; }
.hero__role { order: 2; margin-top: var(--space-2); font-size: var(--fs-small); line-height: 1.5; }
.hero__media { order: 4; margin-top: var(--space-3); }
.hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 30%; }
.hero__media figcaption {
  padding: .6rem clamp(1.25rem, 3vw, 2rem) 0;
  font-size: .75rem; line-height: 1.5;
}
.hero__intro { order: 5; margin-top: var(--space-3); }
.hero__text .actions { order: 3; margin-top: var(--space-2); }
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero__subtitle, .hero__intro, .hero__role, .hero__text .actions, .hero__media figcaption {
    max-width: calc(540px - clamp(2.5rem, 6vw, 4rem)); margin-inline: auto; padding-inline: 0;
  }
  .hero__media img { aspect-ratio: 16 / 9; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero__subtitle, .hero__intro, .hero__role, .hero__text .actions, .hero__media figcaption { max-width: calc(720px - clamp(2.5rem, 6vw, 4rem)); }
}
@media (min-width: 992px) {
  .hero__body {
    /* Marge gauche alignée sur le contenu du conteneur ; l'image file jusqu'au bord droit */
    --edge: calc((100% - 960px) / 2 + 1.86rem);
    display: grid; align-items: stretch;
    grid-template-columns: var(--edge) minmax(0, 28.5rem) minmax(0, 1fr);
    column-gap: 0;
  }
  .hero__text {
    display: flex; grid-column: 2; flex-direction: column; justify-content: center;
    padding: 0 2.5rem var(--space-2) 0;
  }
  .hero__subtitle, .hero__intro, .hero__role, .hero__text .actions { padding-inline: 0; }
  .hero__intro { order: 2; margin-top: var(--space-2); }
  .hero__role { order: 3; }
  .hero__text .actions { order: 4; }
  .hero__text .actions { gap: .6rem; }
  .hero__text .button { gap: .5rem; padding-inline: 1.05rem; }
  .hero__media { display: flex; grid-column: 3; flex-direction: column; margin: 0; }
  .hero__media img { height: clamp(25rem, 100svh - 20.5rem, 40rem); aspect-ratio: auto; }
  .hero__media figcaption { padding-inline: 0 var(--edge); }
}
@media (min-width: 1200px) { .hero__body { --edge: calc((100% - 1140px) / 2 + 2rem); } }
@media (min-width: 1400px) {
  .container { padding-inline: 2rem; }
  .hero__body { --edge: calc((100% - 1344px) / 2 + 2rem); }
}
.hero__facts { margin-top: var(--space-5); border-block: 1px solid var(--rule-strong); }
.hero__facts > div { padding-block: 1.1rem 1.25rem; padding-right: 1.25rem; border-top: 1px solid var(--rule); }
.hero__facts > div:nth-child(-n+2) { border-top: 0; }
@media (min-width: 992px) { .hero__facts > div { border-top: 0; } }
.hero__facts dt { color: var(--gold-ink); font-size: var(--fs-label); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.hero__facts dd { margin-top: .35rem; color: var(--ink); font-size: var(--fs-small); line-height: 1.5; }

/* Chiffres clés : quatre étapes sur une même ligne de route */
.figures { padding-block: var(--space-section) 0; padding-bottom: var(--space-section); }
.figures__title { max-width: none; margin-bottom: var(--space-4); font-size: var(--fs-h3); letter-spacing: -.01em; }
.figures__route { --bs-gutter-x: 0; counter-reset: none; }
.figures__route li { position: relative; border-top: 1px solid var(--rule-strong); }
.figures__route li::before {
  content: ""; position: absolute; top: -.375rem; left: 0;
  width: .7rem; height: .7rem; background: var(--gold); transform: rotate(45deg);
}
.figures__route a {
  display: flex; flex-direction: column; gap: .75rem; height: 100%;
  padding: var(--space-3) 1.25rem var(--space-3) 0; color: var(--text); text-decoration: none;
}
.figures__value {
  color: var(--navy); font-family: var(--font-title); font-size: var(--fs-figure);
  font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.figures__unit { font-size: .42em; letter-spacing: -.01em; }
.figures__text { max-width: 24ch; font-size: var(--fs-small); line-height: 1.5; }
.figures__route a:hover .figures__text { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }

/* 7. Chapitres */
.chapter { padding-block: var(--space-section); border-top: 1px solid var(--rule); }
.chapter--white { background: var(--white); }
.mark { margin-bottom: var(--space-3); }
.mark__label {
  color: var(--navy); font-family: var(--font-title); font-size: .8125rem;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.mark__label::before { content: ""; display: block; width: 2.5rem; height: 2px; margin-bottom: 1rem; background: var(--gold); }
.mark__note { margin-top: .5rem; font-size: .875rem; line-height: 1.6; }
@media (max-width: 991.98px) { .mark__note { display: none; } }
@media (min-width: 992px) {
  .mark { position: sticky; top: calc(var(--header-h) + 2.5rem); max-width: 14rem; padding-top: .5rem; }
}

/* 8. Blocs de contenu */
/* Galerie et emplacements d'archives */
.gallery { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; margin-top: var(--space-5); align-items: flex-start; }
.gallery figcaption { margin-top: .6rem; font-size: .8125rem; line-height: 1.5; }
.slot__frame {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; padding: 1rem; border: 1px solid var(--rule-strong); text-align: center;
  /* Croix de maquette : signale un emplacement réservé, sans simuler une image */
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)),
    linear-gradient(to bottom right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)),
    var(--paper);
}
.slot__status, .slot__name { max-width: 100%; padding: .1rem .5rem; background: var(--paper); line-height: 1.45; }
.slot__status { color: var(--gold-ink); font-size: .6875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.slot__name { color: var(--navy); font-family: var(--font-title); font-size: .9375rem; font-weight: 700; text-wrap: balance; }
.slot--portrait .slot__frame { aspect-ratio: 4 / 5; }
.slot--square .slot__frame { aspect-ratio: 1; }
.slot--landscape .slot__frame { aspect-ratio: 3 / 2; }
.slot--banner .slot__frame { aspect-ratio: 2.7 / 1; }
.shot img { display: block; width: 100%; }
.shot picture { display: block; overflow: hidden; }
.zoom { position: relative; display: block; overflow: hidden; }
.zoom img { transition: transform .6s var(--ease); }
.zoom:hover img { transform: scale(1.02); }
/* L'indication « Agrandir » ne couvre jamais l'archive au repos : elle n'apparaît
   qu'au survol ou au focus des grandes images, sur grand écran. */
.zoom__hint {
  position: absolute; right: 0; bottom: 0; padding: .45rem .8rem;
  background: var(--deep); color: var(--white); font-size: .75rem; font-weight: 600;
  opacity: 0; transition: opacity var(--duration);
}
@media (min-width: 992px) {
  .zoom:hover .zoom__hint, .zoom:focus-visible .zoom__hint { opacity: 1; }
  .gallery--proofs .zoom__hint { display: none; }
}
.gallery-note { margin-top: var(--space-5); font-size: .8125rem; }
.gallery-note + .gallery { margin-top: var(--space-2); }
html:not(.js) .gallery-note { display: none; }
.js .zoom { cursor: zoom-in; }

.gallery--proofs { margin-top: 0; align-items: flex-start; }
.gallery__stack { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; row-gap: 2rem; }
.gallery--mosaic { margin-top: 0; }

/* Parcours d'inscription */
.journey { margin-top: var(--space-5); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--rule-strong); background: var(--white); }
.journey__notice { margin-top: .4rem; font-size: .8125rem; }
.journey__steps { display: grid; grid-template-columns: 1fr; margin-top: var(--space-4); }
.journey__steps li {
  position: relative; display: flex; align-items: flex-start; gap: 1rem;
  padding-bottom: 1.75rem; color: var(--ink); font-weight: 550; line-height: 1.4;
}
.journey__steps li:last-child { padding-bottom: 0; }
.journey__steps li::after {
  content: ""; position: absolute; top: 2.5rem; bottom: 0; left: 1.25rem; width: 1px; background: var(--gold);
}
.journey__steps li:last-child::after { display: none; }
.journey__num {
  display: grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--navy); color: var(--navy); font-family: var(--font-title); font-weight: 800;
}
.journey__num + span { padding-top: .55rem; }
.journey__steps li:last-child .journey__num { background: var(--navy); color: var(--white); }
@media (min-width: 992px) {
  .journey__steps { grid-template-columns: repeat(5, 1fr); }
  .journey__steps li { flex-direction: column; padding: 0 1.25rem 0 0; }
  .journey__steps li::after { top: 1.25rem; right: 0; bottom: auto; left: 2.5rem; width: auto; height: 1px; }
  .journey__num + span { padding-top: 0; }
}

/* Étapes datées (acquisition) */
.stages { border-bottom: 1px solid var(--rule-strong); }
.stages > li { display: grid; grid-template-columns: 1fr; gap: .75rem 2rem; padding-block: var(--space-3); border-top: 1px solid var(--rule-strong); }
@media (min-width: 768px) { .stages > li { grid-template-columns: 15rem 1fr; } }
.stages h3 time { display: block; }
.stages h3 span { display: block; margin-top: .25rem; color: var(--gold-ink); font-family: var(--font-text); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.stages ul li { padding-block: .2rem; color: var(--ink); }

/* Incidents (relation client) */
.incidents h3 { margin-bottom: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--rule-strong); }
.incidents p + p { margin-top: var(--space-2); }
.incidents ul { margin-top: .5rem; }
.incidents ul li { position: relative; padding: .25rem 0 .25rem 1.1rem; color: var(--ink); }
.incidents ul li::before { content: "–"; position: absolute; left: 0; color: var(--gold-ink); }
.values { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--rule); }
.values li { display: flex; align-items: center; gap: .75rem; color: var(--navy); font-family: var(--font-title); font-size: 1.125rem; font-weight: 700; }
.values li::before { content: ""; width: .45rem; height: .45rem; background: var(--gold); transform: rotate(45deg); }

/* Changement d'échelle : composition en trois temps */
.surge { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-5); }
.surge__item { display: flex; flex-direction: column; padding-top: var(--space-2); border-top: 1px solid var(--rule-strong); }
.surge__value { color: var(--navy); font-family: var(--font-title); font-size: var(--fs-figure); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.surge__text { max-width: 26ch; margin-top: .5rem; color: var(--ink); line-height: 1.45; }
.surge__item--main .surge__value { font-size: clamp(4rem, 2rem + 6vw, 6rem); line-height: 1; }
.surge__note { color: var(--navy); font-family: var(--font-title); font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; text-wrap: balance; }
@media (min-width: 992px) { .surge { grid-template-columns: 3fr 5fr 4fr; align-items: start; column-gap: 2rem; } }

/* 9. J-14 : la rupture */
.turn {
  padding-block: var(--space-section); background: var(--navy); color: var(--on-navy-soft);
  --fs-count: clamp(7rem, 39vw, 24rem);
}
.turn h2, .turn h3, .turn strong { color: var(--on-navy); }
.turn__label {
  padding-top: 1rem; border-top: 1px solid var(--rule-on-navy);
  color: var(--gold); font-family: var(--font-title); font-size: .8125rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.turn h2 { max-width: none; margin: var(--space-3) 0 var(--space-5); }
.turn__count { display: block; font-size: var(--fs-count); letter-spacing: -.04em; line-height: .86; white-space: nowrap; }
.turn__dot { color: var(--gold); }
.turn__title { display: block; margin-top: .25em; font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1; }
.turn__story { color: var(--on-navy); font-size: var(--fs-lead); line-height: 1.55; }
.turn__story p { max-width: 32em; }
.turn__story p + p { margin-top: var(--space-3); }
.turn__facts li { padding-block: .9rem; border-top: 1px solid var(--rule-on-navy); color: var(--on-navy-soft); font-size: var(--fs-body); }
.turn__facts li:first-child { color: var(--on-navy); font-size: var(--fs-lead); }
.turn__facts strong { font-family: var(--font-title); font-size: 2.25em; font-weight: 800; letter-spacing: -.03em; }
.turn__verdict {
  margin-block: var(--space-section) var(--space-5); color: var(--on-navy);
  font-family: var(--font-title); font-size: var(--fs-h2); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.08; text-wrap: balance;
}
.turn__stakes-title { margin-bottom: var(--space-3); }
.turn__stakes { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
.turn__stakes li { padding-block: 1.1rem; border-top: 1px solid var(--rule-on-navy); color: var(--on-navy); line-height: 1.45; }
@media (min-width: 640px) { .turn__stakes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .turn__stakes { grid-template-columns: repeat(4, 1fr); }
  .turn__stakes li:last-child { grid-column: span 2; }
}

/* Frise de résolution */
.route { --route-progress: 1; position: relative; margin-top: var(--space-5); }
.route::before, .route::after {
  content: ""; position: absolute; top: .5rem; bottom: .5rem; left: .5rem; width: 2px;
}
.route::before { background: var(--rule); }
.route::after { background: var(--gold); transform: scaleY(var(--route-progress)); transform-origin: top; }
.route__stop { position: relative; display: grid; grid-template-columns: 1fr; gap: .35rem 2rem; padding: 0 0 var(--space-4) 2.75rem; }
.route__stop:last-child { padding-bottom: 0; }
.route__stop::before {
  content: ""; position: absolute; z-index: 1; top: .3rem; left: .125rem; width: .875rem; height: .875rem;
  border: 2px solid var(--navy); background: var(--white); transform: rotate(45deg);
}
.route__stop--bound::before { background: var(--navy); }
.route__stop--end::before { border-color: var(--gold); background: var(--gold); }
.route__when { color: var(--gold-ink); font-family: var(--font-title); font-weight: 800; line-height: 1.5; }
.route__stop--bound .route__when { color: var(--navy); font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.05; }
.route__body p { margin-top: .4rem; }
.route__body ul { margin-top: .75rem; }
.route__body li { padding-block: .55rem; border-top: 1px solid var(--rule); color: var(--ink); line-height: 1.45; }
.route__body li[data-qui="loic"]::after {
  content: "Loïc"; display: inline-block; margin-left: .6rem; padding: 0 .4rem;
  background: var(--navy); color: var(--white); font-size: .75rem; font-weight: 600;
}
@media (min-width: 768px) { .route__stop { grid-template-columns: 9rem 1fr; } }

/* 10. Graphiques (les valeurs sont toujours écrites en clair) */
.chart { margin-top: var(--space-5); }
.chart figcaption p { max-width: var(--measure); margin-top: .5rem; }
.chart__headline { color: var(--navy); font-size: var(--fs-lead); }
.chart__headline strong { display: block; color: var(--navy); font-family: var(--font-title); font-size: var(--fs-figure); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.chart h4 { margin: var(--space-4) 0 .25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--rule-strong); }
.chart--result .bars { margin-top: var(--space-3); }
.bar { display: grid; grid-template-columns: 1fr; gap: .35rem 1.5rem; padding-block: .75rem; }
.bar dt { color: var(--ink); font-size: var(--fs-small); font-weight: 550; }
.bar dd { display: flex; align-items: center; gap: 1rem; }
.bar__track { flex: 1; height: 1.75rem; }
.bar__fill { display: block; width: calc(var(--value) / var(--max) * 100%); height: 100%; transform-origin: left; }
.bar--target .bar__fill { border: 2px solid var(--navy); }
.bar--actual .bar__fill { background: var(--navy); }
.bar--booked .bar__fill {
  border: 2px solid var(--navy);
  background: repeating-linear-gradient(-45deg, var(--navy) 0 3px, transparent 3px 8px);
}
.bar__value {
  min-width: 3.4em; color: var(--navy); font-family: var(--font-title); font-size: 1.35rem; font-weight: 800;
  text-align: right; font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { .bar { grid-template-columns: 13rem 1fr; align-items: center; } }

/* Enseignements */
.lessons__group { display: grid; grid-template-columns: 1fr; gap: 1rem 2rem; padding-block: var(--space-4); border-top: 1px solid var(--rule-strong); }
@media (min-width: 768px) { .lessons__group { grid-template-columns: 13rem 1fr; } }
.lessons dl > div + div { margin-top: var(--space-3); }
.lessons dt { color: var(--ink); font-family: var(--font-title); font-size: 1.125rem; font-weight: 750; line-height: 1.35; }
.lessons dd { max-width: var(--measure); margin-top: .25rem; }
.conclusion { max-width: 46rem; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 2px solid var(--navy); }
.conclusion p + p { margin-top: var(--space-2); }
.conclusion__lead { color: var(--navy); font-family: var(--font-title); font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }

/* La marque en musique : liste de titres, séparés par des filets */
.music { margin-top: var(--space-5); }
.music__intro { max-width: var(--measure); }
.music__intro strong { color: var(--navy); }
.tracks { display: grid; grid-template-columns: minmax(0, 1fr); margin: var(--space-3) 0 0; padding: 0; border-top: 1px solid var(--rule-strong); list-style: none; }
.track { border-bottom: 1px solid var(--rule-strong); }
/* Le lecteur reprend le format carré de la pochette qu'il remplace */
.track iframe { display: block; width: 100%; max-width: 28rem; aspect-ratio: 1; margin-block: 1rem; border: 0; }
.track__facade { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; gap: 1rem 1.25rem; padding-block: 1rem; text-decoration: none; }
.track__cover { position: relative; display: grid; place-items: end; aspect-ratio: 1; padding: .5rem; background: var(--navy); }
.track__cover picture { position: absolute; inset: 0; }
.track__cover img { width: 100%; height: 100%; object-fit: cover; }
.track__facade .video__button { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; box-shadow: 0 .25rem .75rem rgba(11, 22, 40, .45); }
.track__facade:hover .video__button { background: var(--gold); transform: scale(1.06); }
.track__title { display: block; color: var(--navy); font-family: var(--font-title); font-size: 1.125rem; font-weight: 750; line-height: 1.35; }
.track__facade:hover .track__title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.track__note { display: block; margin-top: .15rem; color: var(--text); font-size: .875rem; line-height: 1.5; }
.track__plays { display: block; margin-top: .35rem; color: var(--text); font-size: .875rem; font-variant-numeric: tabular-nums; }
.track__plays strong { color: var(--navy); font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; }
@media (min-width: 768px) {
  .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 0; }
  .track { border-bottom: 0; }
  .track iframe { margin-block: 0 1rem; }
  .track__facade { grid-template-columns: minmax(0, 1fr); align-content: start; padding-block: 0 1rem; }
  .track__cover { padding: .75rem; }
  .track__facade .video__button { width: 3.5rem; height: 3.5rem; font-size: 1.5rem; }
}
.music__source { margin-top: var(--space-2); font-size: .8125rem; }

/* 11. Archives */
#archives h3:not(.visually-hidden) { margin: var(--space-3) 0 .5rem; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--deep); }
.video__facade, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade { display: grid; place-items: center; overflow: hidden; color: var(--white); text-decoration: none; }
.video__facade:hover { color: var(--white); }
.video__facade picture { position: absolute; inset: 0; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity var(--duration); }
.video__facade:hover img { opacity: 1; }
.video__button {
  position: relative; display: grid; place-items: center; width: 4.5rem; height: 4.5rem;
  border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.9rem;
  transition: transform var(--duration) var(--ease), background-color var(--duration);
}
.video__button .icon { margin-left: .1em; }
.video__facade:hover .video__button { background: var(--gold); transform: scale(1.06); }
.video__facade:focus-visible { outline-offset: 4px; }
.video__facade--plain { background: var(--navy); align-content: center; gap: 1.25rem; text-align: center; }
.video__channel { padding-inline: 1rem; color: var(--white); font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.video__note { display: block; margin-top: .35rem; font-family: var(--font-text); font-size: .875rem; font-weight: 400; }
.video__facade--plain .video__button { width: 3.5rem; height: 3.5rem; font-size: 1.5rem; }
.privacy-note { margin-top: var(--space-3); font-size: .8125rem; }
.social { display: grid; grid-template-columns: 1fr; column-gap: 2rem; margin-top: var(--space-4); }
@media (min-width: 992px) { .social { grid-template-columns: repeat(3, 1fr); } }
.social a { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; border-block: 1px solid var(--rule-strong); text-decoration: none; overflow-wrap: anywhere; }
.social a + a { border-top: 0; }
.social .icon { font-size: 1.5rem; }
.social strong { display: block; color: var(--navy); font-family: var(--font-title); }
.social a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
@media (max-width: 991.98px) { .social li + li a { border-top: 0; } }

/* 12. Contact et pied de page */
.about__mail { margin-top: var(--space-2); overflow-wrap: anywhere; }
.about__facts > div { padding-block: var(--space-3); border-top: 1px solid var(--rule-strong); }
.about__facts dt { color: var(--navy); font-family: var(--font-title); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.about__facts dd { margin-top: .25rem; }
.site-footer { padding-block: var(--space-4); background: var(--deep); color: var(--on-navy-soft); font-size: .875rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer strong, .site-footer a { color: var(--white); }
.site-footer a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; }

.to-top {
  position: fixed; z-index: 30; right: 1rem; bottom: 1rem;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius);
  background: var(--deep); color: var(--white); font-size: 1.15rem;
  opacity: 0; visibility: hidden; transform: translateY(.5rem);
  transition: opacity var(--duration), transform var(--duration), visibility var(--duration);
}
.to-top:hover { color: var(--gold); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .to-top { display: none; }

/* 13. Lightbox */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 4.5rem 1rem 1.5rem;
  border: 0; background: var(--deep); color: var(--white);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox::backdrop { background: var(--deep); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; flex: 1; width: 100%; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100% - 3.5rem); object-fit: contain; }
.lightbox figcaption { max-width: 60ch; margin-top: .75rem; color: var(--on-navy-soft); font-size: .875rem; text-align: center; }
.lightbox__controls { display: flex; align-items: center; gap: 1.5rem; font-variant-numeric: tabular-nums; }
.lightbox button {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid var(--rule-on-navy); border-radius: var(--radius); background: transparent; color: var(--white);
}
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__close { position: absolute; top: .75rem; right: 1rem; }
body.is-locked { overflow: hidden; }

/* 14. Mouvement : discret, et seulement si l'utilisateur l'accepte.
   Le contenu est visible par défaut ; sans prise en charge, rien ne change. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: develop 1.1s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .turn__title {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%;
    }
    .shot--archive a[href*="banniere"] picture {
      animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
  }
}
@keyframes develop { from { clip-path: inset(0 0 0 14%); } to { clip-path: inset(0); } }
@keyframes rise { from { transform: translateY(1.75rem); } to { transform: none; } }
@keyframes unveil { from { clip-path: inset(10% 0 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .to-top, .video, .track iframe, .menu-toggle { display: none; }
  .turn { background: var(--white); color: var(--ink); }
  .turn *, .turn__story { color: var(--ink) !important; }
}
