/* V3 « Void » : la direction artistique du générique d'Enter the Void (Tom Kan pour Gaspar Noé).
   Fond noir, un nom par carte, chaque nom dans sa propre typo et sa propre lumière,
   les fonctions en ambre condensé. Polices libres (OFL, Apache), servies par le site. */

@font-face { font-family: "Anton"; src: url(fonts/anton.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Monoton"; src: url(fonts/monoton.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bungee Shade"; src: url(fonts/bungee-shade.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bungee Outline"; src: url(fonts/bungee-outline.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url(fonts/bebas-neue.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url(fonts/yellowtail.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Abril Fatface"; src: url(fonts/abril-fatface.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url(fonts/press-start-2p.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Orbitron"; src: url(fonts/orbitron.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url(fonts/archivo-black.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Righteous"; src: url(fonts/righteous.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Black Ops One"; src: url(fonts/black-ops-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "UnifrakturMaguntia"; src: url(fonts/unifrakturmaguntia.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Codystar"; src: url(fonts/codystar.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Russo One"; src: url(fonts/russo-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Major Mono Display"; src: url(fonts/major-mono-display.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik Mono One"; src: url(fonts/rubik-mono-one.woff2) format("woff2"); font-display: swap; }

.variant-v3 {
  --bg: #000;
  --fg: #ecebe6;
  --dim: #7d7a73;
  --line: rgba(255, 255, 255, 0.16);
  --red: #ff1d25;
  --amber: #e0a10f;
  --magenta: #ff2bd6;
  --green: #3dff4a;
  --cyan: #27e1ff;
  --violet: #7a5cff;
  --teal: #1fa595;
  --blue: var(--cyan);
  background: #000;
  color: var(--fg);
}
.variant-v3 [hidden] { display: none !important; }

/* ---------- Les cartes du générique ---------- */
.cr { display: inline-block; font-weight: 400; line-height: 0.92; letter-spacing: 0; }
.cr__line { display: block; }
.cr-amber { font-family: Anton, Impact, sans-serif; color: var(--amber); text-transform: uppercase; }
.cr-red { font-family: Anton, Impact, sans-serif; color: var(--red); text-transform: uppercase; text-shadow: 0 0 0.12em rgba(255, 0, 20, 0.45); }
.cr-rgb { font-family: "Archivo Black", sans-serif; color: #fff; text-transform: uppercase; text-shadow: -0.04em 0 #ff0040, 0.04em 0 #00e5ff; }
.cr-monoton { font-family: Monoton, sans-serif; color: var(--magenta); text-transform: uppercase; text-shadow: 0 0 0.06em var(--magenta), 0 0 0.25em rgba(255, 43, 214, 0.6); }
.cr-box { font-family: "Bebas Neue", sans-serif; color: var(--green); text-transform: uppercase; letter-spacing: 0.03em; border: 0.05em solid currentColor; padding: 0.08em 0.16em 0; line-height: 0.9; }
.cr-script { font-family: Yellowtail, cursive; color: #ff4fe0; line-height: 1.05; text-shadow: 0 0 0.05em #ff4fe0, 0 0 0.22em rgba(255, 43, 214, 0.7); padding: 0 0.1em; }
.cr-pixel { font-family: "Press Start 2P", monospace; color: var(--cyan); text-transform: uppercase; font-size: 0.55em; line-height: 1.25; text-shadow: 0.09em 0.09em 0 var(--magenta); }
.cr-serif { font-family: "Abril Fatface", serif; color: #fff; border-top: 0.04em solid var(--red); border-bottom: 0.04em solid var(--red); padding: 0.06em 0.1em; line-height: 1; }
.cr-outline { font-family: "Bungee Outline", sans-serif; color: var(--green); text-transform: uppercase; text-shadow: 0 0 0.08em var(--green), 0 0 0.3em rgba(61, 255, 74, 0.5); }
.cr-grad { font-family: Righteous, sans-serif; text-transform: uppercase; color: #ffe000; background: linear-gradient(180deg, #ffe000 15%, #ff2bd6 60%, #7a5cff 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cr-helv { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; color: var(--teal); letter-spacing: -0.035em; line-height: 0.95; }
.cr-stencil { font-family: "Black Ops One", sans-serif; color: var(--red); text-transform: uppercase; }
.cr-speed { font-family: "Russo One", sans-serif; color: #fff; text-transform: uppercase; font-style: normal; transform: skewX(-12deg); padding: 0.05em 0.2em;
  background: repeating-linear-gradient(180deg, transparent 0 0.07em, rgba(255, 30, 60, 0.9) 0.07em 0.1em) left center / 55% 100% no-repeat; }
.cr-dots { font-family: Codystar, sans-serif; color: var(--magenta); text-transform: uppercase; font-weight: 400; text-shadow: 0 0 0.1em var(--magenta); }
.cr-orbit { font-family: Orbitron, sans-serif; font-weight: 800; color: #fff; text-transform: uppercase; border-bottom: 0.06em solid var(--green); padding-bottom: 0.05em; letter-spacing: 0.02em; }
.cr-shade { font-family: "Bungee Shade", sans-serif; color: #f3f1ff; text-transform: uppercase; text-shadow: 0 0 0.2em rgba(122, 92, 255, 0.8); }
.cr-fraktur { font-family: UnifrakturMaguntia, serif; color: #e6b04a; line-height: 1; text-shadow: 0.03em 0.03em 0 #6b2a00; }
.cr-rubik { font-family: "Rubik Mono One", sans-serif; color: var(--violet); text-transform: uppercase; -webkit-text-stroke: 0.015em #fff; }
.cr-mono { font-family: "Major Mono Display", monospace; color: #ff8a00; text-transform: lowercase; border-top: 0.03em solid currentColor; padding-top: 0.08em; }

/* ---------- Accueil : le générique ---------- */
.page-home.variant-v3 { height: 100svh; overflow: hidden; }
.void { position: fixed; inset: 0; display: grid; place-items: center; overflow: hidden; }
/* trame vidéo par-dessus tout, comme la copie du film */
.void::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.28) 2px 3px); }
.void__screen { position: absolute; inset: 0; display: grid; place-items: center; }
.void__card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4vh; text-align: center; color: inherit; text-decoration: none; }
.void__card:hover { text-decoration: none; }
.void__card .cr { font-size: min(17vw, 30vh); animation: jolt 0.12s steps(2) both; }
.void__card .cr-pixel { font-size: min(9vw, 15vh); }
/* le stroboscope : un éclair inversé à l'arrivée de la carte, des coupes au noir sur le temps */
.void__screen.is-flash { background: #000; filter: invert(1) contrast(1.4); }
.void__screen.is-off .void__card { visibility: hidden; }
.void.is-calm .void__card .cr { animation: calmin 0.35s ease both; }
@keyframes jolt { 0% { transform: translate(-1.5%, 1%) scale(1.06); opacity: 0.6; } 100% { transform: none; opacity: 1; } }
@keyframes calmin { from { opacity: 0; } to { opacity: 1; } }
.void__card .cr-speed { animation: none; }
/* fonds de la finale : cercles concentriques (NOE) et soleil rouge (GASPAR) */
.bg-rings { background: repeating-radial-gradient(circle at 50% 50%, #000 0 5px, #8a8a8a 5px 7px); }
.bg-sun { background: repeating-conic-gradient(from 0deg at 50% 50%, #b3000c 0 9deg, #0a0a0a 9deg 18deg); }
.bg-rings .cr, .bg-sun .cr { -webkit-text-stroke: 0.025em #000; paint-order: stroke fill; }
.bg-rings .cr-outline { color: #7dff86; background: #000; padding: 0 0.15em; }
.void.is-calm .bg-sun { background: #0a0a0a; }

.void__gate, .void__end { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 3vh; padding: 0 16px; text-align: center; }
.void__enter { font-size: clamp(90px, 22vw, 360px); cursor: pointer; animation: amberflicker 2.6s steps(1) infinite; }
.void__enter:hover { color: #fff; }
@keyframes amberflicker { 0%, 100% { color: var(--amber); } 70% { color: #b8470c; } 76% { color: #d97a10; } 82% { color: var(--amber); } }
.void__warn { margin: 0; color: var(--dim); font-size: 13px; }
.void__warn button, .void__replay { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.void__title { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.6vh; }
.void__title .cr { font-size: clamp(64px, 17vw, 300px); }
.void__sub { font: 500 13px/1.3 var(--font); color: var(--fg); letter-spacing: 0.02em; }
.void__nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2vh 6vw; margin-top: 2vh; }
.void__nav .cr { font-size: clamp(32px, 5vw, 84px); }
.void__nav a:hover { text-decoration: none; animation: jolt 0.12s steps(2) both; filter: brightness(1.35); }
.void__replay { font-size: 13px; color: var(--dim); }
.void__sound { position: fixed; z-index: 30; left: var(--pad); bottom: var(--pad); color: #fff; font-size: var(--small); text-decoration: underline; text-underline-offset: 3px; }
.void__skip { position: fixed; z-index: 30; right: var(--pad); bottom: var(--pad); color: #fff; font-size: var(--small); text-decoration: underline; text-underline-offset: 3px; }
.void__warm { position: absolute; left: -9999px; top: 0; font-size: 10px; }
.page-home.variant-v3 .corners--bottom .bl { visibility: hidden; }
/* pendant le générique, rien d'autre à l'écran que les cartes */
.is-credits .corners { opacity: 0; }
.is-credits .corners .c { pointer-events: none; }

/* ---------- Archive : le mur des noms, chacun dans sa typo ---------- */
.variant-v3 .names__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35em 0.7em; font-size: clamp(28px, 4.4vw, 68px); line-height: 1; letter-spacing: 0; }
.variant-v3 .names__list .cr-pixel { font-size: 0.5em; }
.variant-v3 .names__list a:hover { background: none; color: inherit; text-decoration: none; animation: jolt 0.12s steps(2) both; filter: brightness(1.4); }
.variant-v3 .names__list .cr-grad:hover { color: transparent; }
.variant-v3 .filters button { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em; }
.variant-v3 .filters button.is-on, .variant-v3 .filters button:hover { color: var(--amber); }
.variant-v3 .table th { font-family: Anton, Impact, sans-serif; text-transform: uppercase; color: var(--amber); font-size: 16px; letter-spacing: 0.02em; }
.variant-v3 .table tbody tr:hover td { color: #fff; border-color: var(--red); }

/* ---------- Fiche projet : le carton du titre, puis le générique de fin ---------- */
.variant-v3 .project__title { gap: 2.5vh; }
.variant-v3 .project__title .cr { font-size: clamp(48px, 10vw, 170px); max-width: 100%; overflow-wrap: anywhere; }
.variant-v3 .project__title .cr-pixel { font-size: clamp(24px, 5vw, 80px); }
.variant-v3 .project__title .project__work { font: 400 clamp(22px, 3.4vw, 54px)/1 Anton, Impact, sans-serif; color: var(--red); text-transform: uppercase; }
.variant-v3 .meta dt { font-family: Anton, Impact, sans-serif; text-transform: uppercase; color: var(--amber); font-size: 16px; letter-spacing: 0.02em; }
.variant-v3 .meta__credits .dim { color: var(--amber); }
.variant-v3 .pager a:hover { color: var(--amber); text-decoration: none; }

/* ---------- Studio et contact : la phrase change de typo à chaque mot fort ---------- */
.variant-v3.page-studio { background: #000; color: var(--fg); }
.variant-v3 .w.k, .variant-v3 mark.k { background: none; color: var(--red); font-family: Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }
.variant-v3 .w.g, .variant-v3 mark.g { background: none; color: #ff4fe0; font-family: Yellowtail, cursive; text-shadow: 0 0 0.2em rgba(255, 43, 214, 0.6); padding: 0 0.08em; }
.variant-v3 .w.b, .variant-v3 mark.b { background: none; color: var(--green); font-family: "Bungee Outline", sans-serif; text-transform: uppercase; text-shadow: 0 0 0.1em var(--green); }
.variant-v3 .w.u { color: var(--cyan); }
.variant-v3 .big a, .variant-v3 .cta a, .variant-v3 .contact__mail a { color: var(--green); text-shadow: 0 0 0.15em rgba(61, 255, 74, 0.5); }
.variant-v3 .label { font-family: Anton, Impact, sans-serif; text-transform: uppercase; color: var(--amber); font-size: 18px; letter-spacing: 0.02em; }
.variant-v3 .formats li .formats__t { font-size: clamp(34px, 6.4vw, 110px); line-height: 1; }
.variant-v3 .formats li:nth-child(1) .formats__t { font-family: "Archivo Black", sans-serif; text-transform: uppercase; color: #fff; text-shadow: -0.04em 0 #ff0040, 0.04em 0 #00e5ff; }
.variant-v3 .formats li:nth-child(2) .formats__t { font-family: Monoton, sans-serif; text-transform: uppercase; color: var(--magenta); text-shadow: 0 0 0.2em rgba(255, 43, 214, 0.6); }
.variant-v3 .formats li:nth-child(3) .formats__t { font-family: "Bebas Neue", sans-serif; color: var(--green); border: 0.05em solid currentColor; padding: 0.06em 0.16em 0; text-transform: uppercase; }
.variant-v3 .formats li:nth-child(4) .formats__t { font-family: "Abril Fatface", serif; color: #fff; border-top: 0.04em solid var(--red); border-bottom: 0.04em solid var(--red); }
.variant-v3 .formats li:nth-child(5) .formats__t { font-family: "Bungee Shade", sans-serif; text-transform: uppercase; color: #f3f1ff; text-shadow: 0 0 0.2em rgba(122, 92, 255, 0.8); }
.variant-v3 .formats li:hover .formats__t { background: none; animation: jolt 0.12s steps(2) both; }
.variant-v3 .card h3, .variant-v3 .steps h3 { font-family: Anton, Impact, sans-serif; text-transform: uppercase; color: var(--amber); letter-spacing: 0.02em; }
.variant-v3 .steps__n { font-family: "Black Ops One", sans-serif; }
.variant-v3 .cta p { font-family: Monoton, sans-serif; color: var(--magenta); text-transform: uppercase; font-size: 0.7em; text-shadow: 0 0 0.2em rgba(255, 43, 214, 0.6); }
.variant-v3 .contact .w:nth-child(4n+1) { font-family: Anton, Impact, sans-serif; color: var(--red); text-transform: uppercase; }
.variant-v3 .contact .w:nth-child(4n+2) { font-family: Yellowtail, cursive; color: #ff4fe0; }
.variant-v3 .contact .w:nth-child(4n+3) { font-family: "Bungee Outline", sans-serif; color: var(--green); text-transform: uppercase; }
.variant-v3 .contact .w:nth-child(4n) { font-family: "Archivo Black", sans-serif; color: #fff; text-shadow: -0.04em 0 #ff0040, 0.04em 0 #00e5ff; }
.variant-v3 .playhead--loop { display: none; }
/* V4, page Studio : deux typos seulement (Antoine, 06/11), celle de « creative » (Anton) et la blanche (Helvetica) ;
   les mots forts et les formats gardent leur couleur */
.variant-v4.page-studio .w.g, .variant-v4.page-studio mark.g, .variant-v4.page-studio .w.b, .variant-v4.page-studio mark.b,
.variant-v4.page-studio .formats li .formats__t, .variant-v4.page-studio .steps__n, .variant-v4.page-studio .cta p {
  font-family: Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }
.variant-v4.page-studio .w.g, .variant-v4.page-studio mark.g { padding: 0; }
.variant-v4.page-studio .cta p { font-size: 1em; }

@media (prefers-reduced-motion: reduce) {
  .void__enter, .void__card .cr, .variant-v3 a:hover, .variant-v3 .formats li:hover .formats__t { animation: none !important; }
}
.variant-v3 .player__play span { background: var(--red); font-family: Anton, Impact, sans-serif; text-transform: uppercase; }
.variant-v3 .player__play:hover span { background: var(--amber); color: #000; }

/* ---------- Projets : la ruelle de Tokyo rendue dans Blender (assets/ruelle.js) ---------- */
.has-ruelle { overflow: hidden; height: 100svh; }
.has-ruelle .names, .has-ruelle .archive, .has-ruelle .cursor-preview { display: none; }
.ruelle { position: fixed; inset: 0; z-index: 1; background: #000; overflow: hidden; }
.ruelle__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.ruelle__layer { position: absolute; inset: 0; transform-origin: var(--zx, 50%) var(--zy, 50%); }
/* une zone-projet : un rectangle de 320 x 180 px que la matrice 3D plaque sur l'écran suspendu */
.ruelle__spot { position: absolute; left: 0; top: 0; width: 320px; height: 180px; transform-origin: 0 0; outline: 0; cursor: pointer; }
.ruelle__spot video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.25s; }
.ruelle__spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ruelle__spot video { position: relative; }
.ruelle__spot.is-on video { opacity: 1; animation: spotflash 0.18s steps(1) both; }
.ruelle__spot:focus-visible { outline: 3px solid var(--amber); }
@keyframes spotflash { 0% { filter: invert(1) contrast(1.4); } 50% { filter: none; } 75% { filter: invert(1); } 100% { filter: none; } }
.ruelle.is-plunging .ruelle__canvas, .ruelle.is-plunging .ruelle__layer { transform: scale(5); transition: transform 0.7s cubic-bezier(0.6, 0, 0.9, 0.4); }
.ruelle.is-plunging::after { content: ""; position: absolute; inset: 0; background: #fff; mix-blend-mode: difference; animation: plungeflash 0.72s steps(1) both; pointer-events: none; }
@keyframes plungeflash { 0%, 80% { opacity: 0; } 85% { opacity: 1; } 92% { opacity: 0; } 100% { opacity: 1; } }
.ruelle__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; font: 400 18px/1 Anton, Impact, sans-serif; color: var(--amber); text-transform: uppercase; letter-spacing: 0.06em; animation: amberflicker 1.6s steps(1) infinite; }
.ruelle__hint { position: absolute; left: 50%; bottom: calc(var(--pad) + 28px); transform: translateX(-50%); margin: 0; font: 400 14px/1 Anton, Impact, sans-serif; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0; transition: opacity 0.6s; z-index: 4; }
.ruelle.is-walking .ruelle__hint { opacity: 0.7; animation: hintout 1s 5s forwards; }
@keyframes hintout { to { opacity: 0; } }
.ruelle__list { position: absolute; left: var(--pad); bottom: calc(var(--pad) + 28px); z-index: 4; color: #fff; font-size: var(--small); text-decoration: underline; text-underline-offset: 3px; }
.ruelle__credits { z-index: 4; }
/* V4 : Mara, le guide (assets/mara.js) : dans la rue, au-dessus des écrans, sous l'interface. Pas de bulle (choix
   d'Antoine) : son texte n'existe que pour les lecteurs d'écran ; le bouton Son lui donne sa voix */
/* La vie des rues (assets/vie.js) : au-dessus des écrans, sous Mara (même étage, placée avant lui). */
.vie__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; }
.mara__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; transition: opacity 0.3s; }
.mara__texte { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mara__son { position: absolute; right: 16px; bottom: 16px; z-index: 5; padding: 8px 12px; font: 400 13px/1 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: #111014; border: 2px solid #fff; border-radius: 999px; cursor: pointer; }
.mara__son[aria-pressed="true"] { background: #ff2bd6; }
.mara__parler { position: absolute; right: 92px; bottom: 16px; z-index: 5; padding: 8px 12px; font: 400 13px/1 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: #111014; background: #2fe0cf; border: 2px solid #fff; border-radius: 999px; cursor: pointer; }
.mara__parler[aria-pressed="true"] { background: #ff2bd6; color: #fff; }
.city__credits { position: absolute; left: 50%; bottom: calc(var(--pad) + 64px); transform: translateX(-50%); z-index: 4; width: min(720px, calc(100vw - 32px)); pointer-events: none;
  font: 700 clamp(13px, 1.25vw, 18px)/1.45 Arial, Helvetica, sans-serif; color: #ffe81a; letter-spacing: 0.04em; word-spacing: 0.3em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
.city__credits dl { display: grid; grid-template-columns: 1fr auto; gap: 0 3em; margin: 0; }
.city__credits dt { margin: 0; }
.city__credits dd { margin: 0; text-align: right; text-transform: uppercase; }
.city__credits .gap { height: 0.9em; grid-column: 1 / -1; }
@media (max-width: 760px) {
        .city__credits { bottom: calc(var(--pad) + 112px); }
  }

/* V5 : la page Studio se lit en défilant, et ça se voit (Antoine, 11/11 : « on comprend pas qu'on doit scroll »). Le
   manifeste ne prend plus tout l'écran : la suite dépasse en bas ; un repère « Scroll » dessous ; un trait en haut qui
   avance avec la page ; chaque bloc se pose quand il arrive (assets/site.js pose .a-etapes, .is-vu, .is-parti). */
/* (Antoine, 12/11 : le manifeste tient tout l'écran, le repère Scroll en bas, et la suite ne se voit pas avant de défiler) */
.variant-v3.page-studio .kinetic-wrap { min-height: 100svh; padding-bottom: clamp(96px, 16svh, 150px); }
.defile { position: absolute; left: 50%; bottom: clamp(16px, 3.5svh, 34px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: 400 15px/1 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber); text-decoration: none; transition: opacity 0.3s; }
.defile:hover { text-decoration: none; color: #fff; }
.defile span { font-size: 30px; line-height: 1; animation: defile 1.1s ease-in-out infinite; }
@keyframes defile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.is-parti .defile { opacity: 0; pointer-events: none; }
.avance { position: fixed; left: 0; top: 0; z-index: 50; width: 100%; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
/* (ni le manifeste, ni le bloc qui le suit : celui-là doit dépasser en bas de l'écran dès l'arrivée) */
/* (seconde revue du 19/11, N10) le contenu est visible par défaut ; la pose est une amélioration, liée au défilement
   (animation-timeline: view()) là où le navigateur la connaît : un bloc qu'on n'a pas fait défiler, une capture pleine
   page, un navigateur sans elle, montrent tout. (Avant : chaque bloc restait invisible tant que l'observateur ne l'avait
   pas vu passer.) */
@keyframes pose-bloc { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .a-etapes .block[data-etape] > *, .a-etapes .cta[data-etape] > * { animation: pose-bloc linear forwards; animation-timeline: view(); animation-range: entry 0% entry 60%;      /* (sans remplissage arrière : avant son entrée, le bloc reste visible) */ }
  }
}
@media (prefers-reduced-motion: reduce) { .defile span { animation: none; } }

/* V5 : « How we work » suit les formats dans le même bloc (Antoine, 12/11) */
.variant-v3.page-studio .formats + .label { margin-top: 9vh; }

/* V5 (Antoine, 12/11) : les formats sur une seule ligne, chacun avec son détail dessous ; ils passent à la ligne sur un
   écran étroit */
.variant-v4.page-studio .formats { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: space-between; gap: clamp(10px, 2vw, 32px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.variant-v4.page-studio .formats li { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; min-width: 0; }
.variant-v4.page-studio .formats li:last-child { border: 0; }
.variant-v4.page-studio .formats .formats__n { display: none; }
.variant-v4.page-studio .formats li .formats__t { font-size: clamp(20px, 3.5vw, 60px); white-space: nowrap; width: fit-content; }
.variant-v4.page-studio .formats .formats__d { font-size: clamp(10px, 0.85vw, 13px); }
@media (max-width: 720px) {
  .variant-v4.page-studio .formats { flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; }
  .variant-v4.page-studio .formats li .formats__t { font-size: clamp(26px, 8vw, 40px); }
}

/* les mots forts ne se coupent pas (« savoir-faire » sur une ligne, Antoine, 12/11) */
.page-studio mark { white-space: nowrap; }
