/* Polices auto-hébergées. Aucune requête vers un tiers.
   Archivo et Instrument Serif, SIL Open Font License 1.1. */

@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"),
       url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

/* =========================================================
   Maison des Cultures Digitales
   Noir et blanc, un accent. Classique, respirant, animé.
   ========================================================= */

:root {
  --ink: #0B0B0B;
  --ink-soft: #3A3A3A;
  --ink-mute: #767676;
  --paper: #FFFFFF;
  --paper-warm: #F6F4F1;
  --rule: #E2DFDA;
  --accent: #FF3B1F;

  --ff-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ff-text: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
  --step-4: clamp(2.5rem, 1.9rem + 3vw, 4.6rem);
  --step-5: clamp(3.1rem, 2rem + 5.6vw, 7.4rem);

  --gutter: clamp(1rem, 0.5rem + 3vw, 2.5rem);
  --wrap: 78rem;
  --wrap-text: 44rem;
  --vspace: clamp(4.5rem, 3rem + 7vw, 9.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root:not([data-theme="dark"]) { color-scheme: light; }

/* Le site suit le reglage d'affichage du poste. Le bouton de l'en-tete
   permet de passer outre, dans un sens comme dans l'autre. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F2F0EC;
    --ink-soft: #C5C1BA;
    --ink-mute: #8C8882;
    --paper: #121110;
    --paper-warm: #1C1B19;
    --rule: #2E2C29;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #F2F0EC;
  --ink-soft: #C5C1BA;
  --ink-mute: #8C8882;
  --paper: #121110;
  --paper-warm: #1C1B19;
  --rule: #2E2C29;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-text);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }

.vsection { padding-block: var(--vspace); }
.vsection--tight { padding-block: calc(var(--vspace) * 0.58); }
.vsection--warm { background: var(--paper-warm); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- Skip link ---------- */

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--rule); }

@supports not (backdrop-filter: blur(4px)) {
  .masthead { background: var(--paper); }
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--ff-text);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: var(--step--1);
  line-height: 1.15;
  text-transform: uppercase;
}

.brand__mark {
  width: 1.45rem; height: 1.45rem;
  flex: 0 0 auto;
  position: relative;
}
.brand__mark::before,
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  border: 1.5px solid var(--ink);
}
.brand__mark::after {
  border-color: var(--accent);
  transform: translate(4px, 4px);
}

.brand__txt span { display: block; }
.brand__txt span:last-child {
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.68em;
}

.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 2rem); }

.nav a {
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.themebtn {
  background: none; border: 1px solid var(--rule);
  width: 2.1rem; height: 2.1rem;
  display: inline-grid; place-items: center;
  padding: 0; cursor: pointer; color: var(--ink-mute);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.4s var(--ease);
}
.themebtn:hover { color: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
.themebtn svg { width: 1.05rem; height: 1.05rem; fill: none; }
.themebtn__disc { fill: none; stroke: currentColor; stroke-width: 1.5; }
:root[data-theme="dark"] .themebtn__disc { fill: currentColor; }
:root[data-theme="dark"] .themebtn__rays { opacity: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .themebtn__disc { fill: currentColor; }
  :root:not([data-theme="light"]) .themebtn__rays { opacity: 0; }
}
:root[data-theme="light"] .themebtn__disc { fill: none; }
:root[data-theme="light"] .themebtn__rays { opacity: 1; }
.themebtn__rays { transition: opacity 0.3s var(--ease); }

.navtoggle {
  display: none;
  background: none; border: 0; padding: 0.5rem; margin: -0.5rem;
  cursor: pointer; color: inherit;
}
.navtoggle svg { width: 1.6rem; height: 1.6rem; }

@media (max-width: 62rem) {
  .navtoggle { display: block; }
  .nav {
    position: fixed; inset: 4.75rem 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease);
    max-height: calc(100vh - 4.75rem);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    width: 100%;
    font-size: var(--step-1);
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
  }
  .nav a::after { display: none; }
  .themebtn { margin-top: 1.2rem; width: 2.5rem; height: 2.5rem; }
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}

.kicker {
  font-family: var(--ff-text);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 clamp(1.2rem, 2vw, 2rem);
}
.kicker::before {
  content: ""; width: clamp(1.5rem, 4vw, 3rem); height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.chapo {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: clamp(1.2rem, 2.5vw, 2rem) 0 0;
  text-wrap: pretty;
}

.prose { max-width: 40rem; }
.prose p {
  margin: 0 0 1.35em;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }

.accent { color: var(--accent); }

/* ---------- Bandeau défilant ---------- */

.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
  overflow: hidden;
  padding-block: 0.85rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6rem, #000 calc(100% - 6rem), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6rem, #000 calc(100% - 6rem), transparent);
}
.ticker__track {
  display: flex; width: max-content;
  animation: glisse 46s linear infinite;
}
.ticker__track > div { display: flex; }
.ticker span {
  display: inline-flex; align-items: center;
  padding-inline: 1.5rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker span::before {
  content: ""; width: 5px; height: 5px;
  background: var(--accent);
  margin-right: 1.5rem;
  flex: 0 0 auto;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes glisse { to { transform: translateX(-50%); } }

/* ---------- Bande de références ---------- */

.logos {
  padding-block: clamp(2.8rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
.logos__tete {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 0.6rem 2rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.logos__titre {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.logos__note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-mute);
}
.logos__piste {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
}
.logos__rail {
  display: flex; align-items: center; width: max-content;
  animation: glisse 44s linear infinite;
}
.logos__item {
  display: flex; align-items: center; justify-content: center;
  width: clamp(10.5rem, 18vw, 14rem);
  height: clamp(5.7rem, 8vw, 6.7rem);
  padding: 1rem clamp(1.15rem, 2vw, 1.7rem);
  margin-right: clamp(0.75rem, 1.5vw, 1.25rem);
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  box-shadow: 0 0.35rem 1.4rem rgb(18 18 18 / 0.045);
  filter: saturate(0.82);
  opacity: 0.9;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease),
              transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.logos__item:hover {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-0.18rem);
  box-shadow: 0 0.65rem 1.8rem rgb(18 18 18 / 0.09);
}
.logos__mark {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}
.logos__item--france-24 .logos__mark,
.logos__item--mgen .logos__mark,
.logos__item--maif .logos__mark { max-width: 5.2rem; }
.logos__item--caisse-des-depots .logos__mark { max-width: 8.2rem; }
.logos__piste:hover .logos__rail { animation-play-state: paused; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 3rem + 7vw, 9rem) clamp(3rem, 2rem + 5vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__grid span {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--rule);
}
.hero__grid span:nth-child(1) { left: 16.666%; }
.hero__grid span:nth-child(2) { left: 50%; }
.hero__grid span:nth-child(3) { left: 83.333%; }

@media (max-width: 48rem) {
  .hero__grid span:nth-child(1),
  .hero__grid span:nth-child(3) { display: none; }
}

.hero__inner {
  position: relative;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

/*
   Un objet editorial unique plutot qu'une photo illustrative : journal,
   cadre, son et calcul restent pris dans la meme composition.
*/
.hero__art {
  --art-x: 0px;
  --art-y: 0px;
  position: absolute;
  z-index: 1;
  right: clamp(-8rem, -6vw, -3rem);
  bottom: clamp(-10rem, -9vw, -5rem);
  width: clamp(27rem, 48vw, 43rem);
  aspect-ratio: 1;
  margin: 0;
  pointer-events: none;
  transform: translate3d(var(--art-x), var(--art-y), 0);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: artIn 1.25s var(--ease) 0.48s forwards;
  will-change: transform;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--paper) 96%, transparent) 0 46%, transparent 72%);
}
.hero__art img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2rem 2.8rem color-mix(in srgb, var(--ink) 15%, transparent));
  animation: artFloat 8s ease-in-out 1.8s infinite alternate;
}

.hero__orbit {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid var(--accent);
  transform-origin: center;
}
.hero__orbit--one {
  width: 3.5rem; height: 3.5rem;
  right: 10%; top: 8%;
  animation: orbitSquare 11s linear infinite;
}
.hero__orbit--two {
  width: 1rem; height: 1rem;
  left: 7%; top: 42%;
  background: var(--accent);
  animation: orbitDot 5s var(--ease) infinite alternate;
}
.hero__orbit--three {
  width: 7rem; height: 7rem;
  right: 0; bottom: 17%;
  border-color: color-mix(in srgb, var(--ink) 34%, transparent);
  border-radius: 50%;
  animation: orbitRing 13s linear infinite;
}

@keyframes artIn {
  to { opacity: 1; clip-path: inset(0); }
}
@keyframes artFloat {
  from { transform: translate3d(0, 0, 0) rotate(-1deg); }
  to { transform: translate3d(0, -1rem, 0) rotate(1.5deg); }
}
@keyframes orbitSquare { to { transform: rotate(360deg); } }
@keyframes orbitDot {
  from { transform: translate3d(-0.4rem, -0.7rem, 0) scale(0.75); }
  to { transform: translate3d(0.8rem, 0.8rem, 0) scale(1.2); }
}
@keyframes orbitRing { to { transform: rotate(-360deg) scale(1.08); } }

.hero h1 {
  font-size: var(--step-5);
  margin: 0;
  letter-spacing: -0.03em;
  position: relative;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.05s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.24s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.36s; }

@keyframes riseIn { to { transform: translateY(0); } }

/* Deux repères d'angle. L'idée du cadrage, sans le cadre. */
.hero__mark {
  position: absolute;
  width: 1.05rem; height: 1.05rem;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  opacity: 0;
  animation: markIn 0.9s var(--ease) 0.55s forwards;
}
.hero__mark--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero__mark--br { bottom: 0.5rem; right: 0; border-left: 0; border-top: 0; }
@media (max-width: 40rem) {
  .hero__mark--tl { left: 0.3rem; }
  .hero__mark--br { right: 0.3rem; }
}
@keyframes markIn { to { opacity: 1; } }

/* Sept barres, le niveau d'un micro. La radio passe devant. */
.signal {
  position: absolute;
  right: 0; bottom: 0.4rem;
  display: flex; align-items: flex-end; gap: clamp(5px, 0.7vw, 9px);
  height: clamp(3.5rem, 8vw, 7rem);
  pointer-events: none;
  opacity: 0;
  animation: markIn 1s var(--ease) 0.6s forwards;
}
.signal span {
  width: clamp(4px, 0.55vw, 7px);
  background: var(--accent);
  height: 30%;
  transform-origin: bottom;
  animation: niveau 1.5s var(--ease) infinite alternate;
}
.signal span:nth-child(even) { background: var(--ink); opacity: 0.16; }
.signal span:nth-child(1) { animation-delay: 0s;    height: 34%; }
.signal span:nth-child(2) { animation-delay: 0.14s; height: 62%; }
.signal span:nth-child(3) { animation-delay: 0.28s; height: 100%; }
.signal span:nth-child(4) { animation-delay: 0.1s;  height: 48%; }
.signal span:nth-child(5) { animation-delay: 0.36s; height: 84%; }
.signal span:nth-child(6) { animation-delay: 0.22s; height: 40%; }
.signal span:nth-child(7) { animation-delay: 0.05s; height: 66%; }
@keyframes niveau {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
@media (max-width: 52rem) { .signal { display: none; } }

.hero__intro {
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
  text-wrap: pretty;
  position: relative;
  z-index: 2;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.75rem);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.9s forwards;
  position: relative;
  z-index: 2;
}

@media (max-width: 62rem) {
  .hero { padding-bottom: 0; }
  .hero__art {
    position: relative;
    right: auto; bottom: auto;
    width: min(92vw, 36rem);
    margin: -3.5rem -7vw -4rem auto;
  }
}

@media (max-width: 38rem) {
  .hero__art {
    width: 112vw;
    margin-top: -1rem;
    margin-right: -24vw;
  }
  .hero__orbit--three { display: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: none; }
}

/* ---------- Boutons ---------- */

.btn {
  --btn-ink: var(--paper);
  --btn-bg: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-ink);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }

.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); }
.btn--ghost:hover { color: #fff; }

.btn__arrow { transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(0.3rem); }

/* ---------- En-tête de page ---------- */

.pagehead {
  padding-block: clamp(3rem, 2rem + 6vw, 7rem) clamp(2.5rem, 2rem + 4vw, 5rem);
  position: relative;
}
.pagehead h1 { font-size: var(--step-4); max-width: 24ch; }
.pagehead__deco {
  position: absolute;
  right: var(--gutter); top: clamp(3rem, 6vw, 6rem);
  width: clamp(3.5rem, 8vw, 7rem); height: clamp(3.5rem, 8vw, 7rem);
  border: 1px solid var(--accent);
  transform: rotate(-8deg);
  animation: pageShape 9s ease-in-out infinite alternate;
}
.pagehead__deco::before,
.pagehead__deco::after {
  content: "";
  position: absolute;
}
.pagehead__deco::before {
  width: 42%; height: 42%;
  right: -28%; top: -24%;
  border-radius: 50%;
  background: var(--accent);
}
.pagehead__deco::after {
  inset: 23%;
  border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  transform: rotate(34deg);
}
@keyframes pageShape {
  from { transform: rotate(-8deg) translate3d(0, 0, 0); }
  to { transform: rotate(12deg) translate3d(-0.7rem, 0.8rem, 0); }
}
@media (max-width: 48rem) { .pagehead__deco { display: none; } }

/* ---------- Section ---------- */

.sechead { margin-bottom: clamp(2.2rem, 4vw, 4rem); }
.sechead h2 { font-size: var(--step-3); max-width: 26ch; }
.sechead .chapo { max-width: 46ch; }

/* ---------- Principes ---------- */

.principes { display: grid; gap: 0; border-top: 1px solid var(--rule); }

.principe {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.principe::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.principe:hover::before { transform: scaleX(1); }

.principe__num {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  color: var(--accent);
  line-height: 1;
  transition: transform 0.45s var(--ease);
}
.principe:hover .principe__num { transform: translateX(0.3rem); }

.principe h3 {
  font-size: var(--step-2);
  max-width: 22ch;
}
.principe p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 50ch;
  text-wrap: pretty;
}

@media (max-width: 62rem) {
  .principe {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }
  .principe p { grid-column: 2; }
}

/* ---------- Cartes ---------- */

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.carte {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}
.carte::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.carte:hover::after { transform: scaleX(1); }
.carte:hover {
  background: var(--paper-warm);
  transform: translateY(-0.45rem) rotate(-0.18deg);
  box-shadow: 0 1.2rem 2.8rem color-mix(in srgb, var(--ink) 10%, transparent);
  z-index: 2;
}

.carte__num {
  font-family: var(--ff-text);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.carte h3 { font-size: var(--step-2); }
.carte__meta {
  font-size: var(--step--1);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.carte p { margin: 0; color: var(--ink-soft); text-wrap: pretty; }
.carte__lien {
  margin-top: auto; padding-top: 1.1rem;
  font-size: var(--step--1);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.carte__lien svg { transition: transform 0.4s var(--ease); }
.carte:hover .carte__lien svg { transform: translateX(0.35rem); }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.8rem, 3vw, 2.8rem);
}
.stat__val {
  font-family: var(--ff-display);
  font-size: var(--step-4);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.stat__val em { font-style: normal; color: var(--accent); }
.stat__lab {
  margin-top: 0.7rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 24ch;
}

/* ---------- Valeurs ---------- */

.valeurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.8rem, 3.5vw, 3.5rem);
}
.valeur h3 {
  font-size: var(--step-2);
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.valeur h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 2.5rem; height: 1px; background: var(--accent);
}
.valeur p { margin: 0; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Valeurs vérifiées ---------- */

.vlist { border-top: 1px solid var(--rule); }
.vitem {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(1.7rem, 3vw, 2.8rem);
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
.vitem__num {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  color: var(--accent);
  line-height: 1;
}
.vitem h3 { font-size: var(--step-2); max-width: 26ch; margin-bottom: 0.8rem; }
.vitem p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 58ch; text-wrap: pretty; }
.vitem__verif {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-mute);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 58ch;
}
.vitem__verif b {
  display: block;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-size: 0.92em;
  margin-bottom: 0.2rem;
}
@media (max-width: 40rem) {
  .vitem { grid-template-columns: 1fr; gap: 0.7rem; }
}

/* ---------- Atelier ---------- */

.atelier {
  border-top: 2px solid var(--ink);
  padding-top: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: var(--vspace);
  scroll-margin-top: 6rem;
}
.atelier:last-of-type { margin-bottom: 0; }

.atelier__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 58rem) { .atelier__top { grid-template-columns: 1fr; } }

.atelier__num {
  font-family: var(--ff-text);
  font-size: var(--step--1);
  font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.atelier h2 { font-size: var(--step-3); max-width: 20ch; }
.atelier__accroche {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  line-height: 1.2;
  margin: 1.2rem 0 0;
  max-width: 34ch;
  text-wrap: pretty;
}

.fiche { list-style: none; margin: 0; padding: 0; }
.fiche li {
  display: grid;
  grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step--1);
}
.fiche li:first-child { border-top: 1px solid var(--rule); }
.fiche dt, .fiche b {
  color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600;
}

.atelier__prose { margin-top: clamp(1.8rem, 3vw, 2.6rem); }

.seances {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  display: grid;
  /* Six seances. Trois colonnes remplissent deux rangs pleins, sans trou. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  counter-reset: seance;
}
@media (min-width: 52rem) {
  .seances { grid-template-columns: repeat(3, 1fr); }
}
.seance {
  background: var(--paper);
  padding: clamp(1.2rem, 2vw, 1.7rem);
  counter-increment: seance;
}
.seance__num {
  font-size: var(--step--1);
  font-weight: 700; letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
}
.seance__num::before { content: "Séance " counter(seance); }
.seance h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--step-1);
  line-height: 1.12;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.seance p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); text-wrap: pretty; }
.seance { transition: background 0.35s var(--ease); }
.seance:hover { background: var(--paper-warm); }
.seance:hover .seance__num { color: var(--accent); }

/* ---------- Liste numérotée ---------- */

.listnum { counter-reset: ln; list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.listnum li {
  counter-increment: ln;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding-block: clamp(0.9rem, 1.6vw, 1.3rem);
  border-bottom: 1px solid var(--rule);
  text-wrap: pretty;
}
.listnum li:first-child { border-top: 1px solid var(--rule); }
.listnum li::before {
  content: counter(ln, decimal-leading-zero);
  font-family: var(--ff-text);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 0.3em;
}

/* ---------- Tableau ---------- */

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; border-collapse: collapse;
  font-size: var(--step--1);
  min-width: 40rem;
}
thead th {
  text-align: left;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; font-size: 0.92em;
  color: var(--ink-mute);
  padding: 0 1rem 0.8rem 0;
  border-bottom: 1px solid var(--ink);
}
tbody td {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-soft);
}
tbody tr:hover td { color: var(--ink); }
tbody td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Note ---------- */

.note {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: clamp(1.2rem, 2.5vw, 1.9rem);
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.note p { margin: 0; text-wrap: pretty; }

/* ---------- Contact ---------- */

.contactgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.contactcell {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.contactcell__lab {
  font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.contactcell__val {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  hyphens: none;
}
.contactcell__val--long {
  font-size: var(--step-1);
  letter-spacing: -0.005em;
}

/* Deux cases seulement. L'adresse occupe la moitie, elle porte la page. */
@media (min-width: 48rem) {
  .contactgrid--duo { grid-template-columns: 1fr 1fr; }
  .contactgrid--duo .contactcell__val--long { font-size: var(--step-2); }
}
.contactcell a { position: relative; }
.contactcell a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.contactcell a:hover::after { transform: scaleX(1); }

/* ---------- CTA ---------- */

.cta {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  position: relative;
  overflow: hidden;
}
.cta__deco {
  position: absolute;
  right: calc(var(--gutter) * 1.5); top: 50%;
  width: clamp(7rem, 14vw, 13rem); aspect-ratio: 1;
  transform: translateY(-50%) rotate(-10deg);
  pointer-events: none;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.cta__deco::before,
.cta__deco::after {
  content: ""; position: absolute; inset: 14%;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.cta__deco::after {
  inset: 34%;
  border-color: var(--accent);
  animation: souffle 7s var(--ease) infinite alternate;
}
@keyframes souffle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(90deg); }
}
@media (max-width: 62rem) { .cta__deco { display: none; } }
.cta h2 {
  font-size: var(--step-3);
  max-width: 26ch;
  position: relative;
}
.cta p {
  margin: 1.2rem 0 2rem;
  max-width: 44ch;
  color: color-mix(in srgb, var(--paper) 74%, transparent);
  position: relative;
  text-wrap: pretty;
}
.cta .btn {
  --btn-bg: var(--paper); --btn-ink: var(--ink);
  border-color: var(--paper);
  position: relative;
}
.cta .btn:hover { color: #fff; }

/* Le noir reste pour un seul moment du site. Ailleurs, la même bande en clair. */
.cta--clair {
  background: var(--paper-warm);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta--clair p { color: var(--ink-soft); }
.cta--clair .btn {
  --btn-bg: var(--ink); --btn-ink: var(--paper);
  border-color: var(--ink);
}
.cta--clair .btn:hover { color: var(--ink); }

/* ---------- Pied ---------- */

.foot {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 4vw, 4rem) 2rem;
  font-size: var(--step--1);
}
.foot__top {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 4rem);
  justify-content: space-between; align-items: flex-start;
}
.foot__brand {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 14ch;
}
.foot__cols { display: flex; flex-wrap: wrap; gap: clamp(1.8rem, 4vw, 4rem); }
.foot__col h4 {
  font-family: var(--ff-text);
  font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--ink-mute);
}
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot__col a { color: var(--ink-soft); }
.foot__col a:hover { color: var(--accent); }
.foot__bottom {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

/* ---------- Révélation au défilement ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Barre de progression ---------- */

.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 150;
  transition: width 0.12s linear;
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero h1 .line > span { transform: none; }
  .hero__intro, .hero__actions { opacity: 1; }
  .hero__mark, .signal { opacity: 1; }
  .hero__art { opacity: 1; clip-path: none; transform: none; }
  .hero__art img, .hero__orbit { animation: none; }
  .ticker__track, .logos__rail { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .masthead, .cta, .progress, .ticker, .hero__art { display: none; }
  body { color: #000; background: #fff; }
}

/* ---------- Ancres sous l'en-tête collant ---------- */

.sechead[id], .atelier[id], [id] { scroll-margin-top: 6.5rem; }

/* ---------- Ajustements fins ---------- */

.atelier__accroche { color: var(--ink); }

.hero h1 { text-wrap: balance; }

@media (min-width: 48rem) {
  /* Sept barres, le niveau d'un micro. La radio passe devant. */
.signal {
  position: absolute;
  right: 0; bottom: 0.4rem;
  display: flex; align-items: flex-end; gap: clamp(5px, 0.7vw, 9px);
  height: clamp(3.5rem, 8vw, 7rem);
  pointer-events: none;
  opacity: 0;
  animation: markIn 1s var(--ease) 0.6s forwards;
}
.signal span {
  width: clamp(4px, 0.55vw, 7px);
  background: var(--accent);
  height: 30%;
  transform-origin: bottom;
  animation: niveau 1.5s var(--ease) infinite alternate;
}
.signal span:nth-child(even) { background: var(--ink); opacity: 0.16; }
.signal span:nth-child(1) { animation-delay: 0s;    height: 34%; }
.signal span:nth-child(2) { animation-delay: 0.14s; height: 62%; }
.signal span:nth-child(3) { animation-delay: 0.28s; height: 100%; }
.signal span:nth-child(4) { animation-delay: 0.1s;  height: 48%; }
.signal span:nth-child(5) { animation-delay: 0.36s; height: 84%; }
.signal span:nth-child(6) { animation-delay: 0.22s; height: 40%; }
.signal span:nth-child(7) { animation-delay: 0.05s; height: 66%; }
@keyframes niveau {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
@media (max-width: 52rem) { .signal { display: none; } }

.hero__intro { max-width: 40ch; }
}

/* Le pied garde du souffle sur très grand écran */
@media (min-width: 100rem) {
  :root { --wrap: 84rem; }
}
