/* ==================================================================
   ÉDOUARD LAMARRE — DESIGN SYSTEM v2
   « Le Pop Art rencontre le graphisme éditorial contemporain. »
   ------------------------------------------------------------------
   VOICE   Catalogue d'exposition qui ne se prend pas au sérieux : mise en page
           rigoureuse, contenu absurde. L'humour est dans les mots, pas dans le décor.
   IDEA    Chaque projet est une salle d'exposition pleine largeur, avec son cartel.
           Les miniatures sont les œuvres; la typographie est la scénographie.
   PICTURE La grille sérigraphiée 4 couleurs du portrait, puis les miniatures
           répétées façon Warhol (Shift Key) — la répétition comme signature.
   COLOUR  4 couleurs de base + le jaune en accent (logique des primaires, sans faire « Mondrian ») :
           crème → rouge (bande) → noir → bleu (série) → crème → rouge → noir → crème → jaune → bleu → rouge → noir.
           Le jaune sert au surlignage, aux étiquettes, au bouton Surprends-moi, au curseur et à un seul fond (Hors champ).
           Rouge ajusté à #E94A3A pour que le texte noir y passe AA (4,6:1).
           Règles : texte crème sur bleu/noir, texte noir sur rouge/crème;
           le rouge sur crème est réservé aux très grands caractères.
   TYPE    Une seule famille : Archivo (axe de largeur 62–125).
           Display = Archivo 62 % / 900, capitales, interligne .84.
           Texte = Archivo 100 % / 400–600. Métadonnées = 13 px / 600, capitales.
   GRID    12 colonnes, gouttière 24 px (16 px mobile), marges 5 vw, max 1440 px.
           Espacements sur une échelle de 8 : 8 · 16 · 24 · 40 · 64 · 104 · 168.
   MOTION  Une seule courbe (--ease), trois durées. Révélations par masque,
           translations au défilement, zoom lent des images. Aucun rebond.
   TEXTURE Grain d'impression global + papier sur les fonds crème + bruit de sérigraphie sur les aplats
           + encre usée (.inked) sur les grands titres. Toujours sous le seuil de lisibilité.
   ACCENTS Surlignage jaune (.hl) qui se trace à l'apparition; tirages « print » légèrement de travers,
           utilisés avec parcimonie (index de l'accueil, 2 vidéos We Tried, Storytime, Hors champ).
   ================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  color-scheme: light;
  --noir: #191919; --creme: #F2EFE6; --papier: #F0E9D6; --papier-2: #EAE5D8; --rouge: #E94A3A; --bleu: #2854DB; --jaune: #F7C82B; --blanc: #FBF9F3;

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Archivo", "Helvetica Neue Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --t-mega: clamp(76px, 15.5vw, 272px);
  --t-1: clamp(54px, 9vw, 160px);
  --t-2: clamp(40px, 5.6vw, 96px);
  --t-3: clamp(26px, 2.8vw, 42px);
  --t-lead: clamp(19px, 1.6vw, 24px);
  --t-body: 17px;
  --t-meta: 13px;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 168px;
  --m: max(5vw, 20px); --gut: 24px; --max: 1440px;
  --sec: clamp(72px, 10vw, 168px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --d1: .25s; --d2: .6s; --d3: 1.1s;

  --dots: radial-gradient(rgba(25,25,25,.16) 1.3px, transparent 1.7px) 0 0 / 7px 7px;
  --dots-light: radial-gradient(rgba(242,239,230,.12) 1.3px, transparent 1.7px) 0 0 / 7px 7px;
}
/* Easter egg : « chaos » inverse rouge et bleu sur tout le site */
:root.chaos { --rouge: #2854DB; --bleu: #F7C82B; --jaune: #E94A3A; }

/* Textures (SVG générés, aucun fichier image) */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .25 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='i'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -30 24.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23i)'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--noir); font: 400 var(--t-body)/1.55 var(--f); font-stretch: 100%; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::after { /* grain d'impression, très léger, constant sur tout le site */
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
.plain { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 200; background: var(--noir); color: var(--creme); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

/* ---------- 3. Typographie ---------- */
.mega, .h1, .h2, .h3, .hero-name, .serie-line, .poster-title, .bd-year, .fb-title, .pc-client, .ir-client, .logo, .tagline {
  font-family: var(--f-cond); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -.005em;
}
.mega { font-size: var(--t-mega); }
.h1 { font-size: var(--t-1); }
.h2 { font-size: var(--t-2); line-height: .88; text-wrap: balance; }
.h3 { font-size: var(--t-3); line-height: .95; }
.lead { font-size: var(--t-lead); line-height: 1.4; font-weight: 500; max-width: 34ch; text-wrap: pretty; }
.meta { font: 600 var(--t-meta)/1.35 var(--f); font-stretch: 100%; text-transform: uppercase; letter-spacing: .04em; }
.note { font-weight: 600; font-style: italic; max-width: 40ch; }
.outline { color: transparent; -webkit-text-stroke: max(1.5px, .012em) currentColor; }
.outline.shift, .serie-line.outline { -webkit-text-stroke-color: var(--fg, currentColor); }

/* Révélation de titres par masque (ligne par ligne) */
.lines > span { display: inline-block; clip-path: inset(-25% -2% -12% -2%); }
.lines > span { transform: translateY(105%); transition: transform var(--d3) var(--ease); }
.lines > span:nth-child(2) { transition-delay: .08s; }
.lines.in > span { transform: none; }

/* ---------- 4. Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 12px 20px;
  border: 2px solid currentColor; background: transparent; color: inherit; text-decoration: none; cursor: pointer;
  font: 700 14px/1 var(--f); font-stretch: 100%; text-transform: uppercase; letter-spacing: .04em;
  transition: background var(--d1) var(--ease), color var(--d1) var(--ease), border-color var(--d1) var(--ease);
}
.btn .arr { display: inline-block; transition: transform var(--d1) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--solid { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--solid:hover { background: var(--rouge); color: var(--noir); border-color: var(--rouge); }
.btn--red { background: var(--rouge); color: var(--noir); border-color: var(--rouge); }
.btn--red:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--light:hover { background: var(--creme); color: var(--noir); border-color: var(--creme); }
.btn--yellow { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
.btn--yellow:hover { background: var(--noir); color: var(--jaune); border-color: var(--noir); }
.btn--paper { background: var(--creme); color: var(--noir); border-color: var(--creme); }
.btn--paper:hover { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 12px; }
.btn--xl { min-height: 72px; padding: 20px 28px; font-size: 18px; min-width: min(100%, 360px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font: 600 14px/1.3 var(--f); }
.link-btn:hover { text-decoration-thickness: 3px; }

.tag { display: inline-block; vertical-align: .35em; padding: 5px 8px 4px; font: 700 11px/1 var(--f); font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; background: var(--noir); color: var(--creme); }
.tag--a-venir { background: var(--rouge); color: var(--noir); }
.tag--en-cours { background: var(--bleu); color: var(--creme); }

/* ---------- 5. Médias : traitement unique des images ---------- */
.media { position: relative; display: block; overflow: hidden; background: var(--noir); isolation: isolate; }
.media.r-h { aspect-ratio: 16 / 9; }
.media.r-v { aspect-ratio: 9 / 16; }
.media img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; transition: transform var(--d3) var(--ease); }
.media img.ok { opacity: 1; transform: none; }
.c-rouge { --fbg: var(--rouge); --ffg: var(--noir); }
.c-bleu { --fbg: var(--bleu); --ffg: var(--creme); }
.c-noir { --fbg: var(--noir); --ffg: var(--creme); }
.c-jaune { --fbg: var(--jaune); --ffg: var(--noir); }
/* Composition de remplacement : un aplat, une trame, un titre. Jamais une fausse image. */
.fb { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(10px, 1.4vw, 20px); background: var(--fbg, var(--noir)); color: var(--ffg, var(--creme)); }
.fb::before { content: ""; position: absolute; inset: 0; background: var(--dots); opacity: .9; -webkit-mask: linear-gradient(115deg, transparent 40%, #000 95%); mask: linear-gradient(115deg, transparent 40%, #000 95%); }
.c-noir .fb::before, .c-bleu .fb::before { background: var(--dots-light); }
.fb-num { font: 600 var(--t-meta)/1 var(--f); letter-spacing: .04em; position: relative; }
.fb-title { align-self: end; position: relative; font-size: clamp(20px, 2.4vw, 40px); line-height: .9; overflow-wrap: anywhere; }
.r-v .fb-title { font-size: clamp(16px, 1.6vw, 24px); }
.fb-plat { position: relative; margin-top: 8px; font: 600 11px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; }

/* Cartes vidéo */
.vcard { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.vcard .media::after { /* voile + mention au survol */
  content: "Lire"; position: absolute; z-index: 2; inset: auto auto 0 0; padding: 10px 14px; background: var(--rouge); color: var(--noir);
  font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; transform: translateY(100%); transition: transform var(--d1) var(--ease);
}
a.vcard .media::after { content: "Ouvrir ↗"; }
.vcard:hover .media::after, .vcard:focus-visible .media::after { transform: none; }
.vcard:hover .media img.ok { transform: scale(1.045); }
.vc-cap { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: baseline; padding-top: 12px; border-top: 0; }
.vc-num, .vc-plat { font: 600 var(--t-meta)/1.2 var(--f); text-transform: uppercase; letter-spacing: .04em; }
.vc-plat { opacity: .7; }
.vc-title { font-weight: 700; line-height: 1.2; }
.vcard.big .vc-title { font-family: var(--f-cond); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: var(--t-3); line-height: .95; }

/* Apparition des cartes au défilement */
.vcard, .pcard, .ix, .irow { opacity: 0; transform: translateY(28px); transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.vcard.in, .pcard.in, .ix.in, .irow.in { opacity: 1; transform: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* Mentions d'emplacement d'œuvre (désactivables dans site.js) */
.slot-tag { display: inline-block; margin-top: var(--s2); padding: 6px 10px; border: 1px dashed currentColor; font: 600 11px/1.3 var(--f); text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.slot-tag--corner { position: absolute; z-index: 3; left: 0; bottom: -34px; margin: 0; }
.artwork { margin-top: var(--s4); }
.artwork img { width: 100%; height: auto; }
.artwork figcaption { margin-top: 10px; }

/* Cartel (étiquette d'exposition) — le même partout */
.cartel { display: grid; gap: 0; margin: var(--s3) 0; border-top: 1.5px solid currentColor; }
.cartel > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.cartel dt { font: 600 var(--t-meta)/1.5 var(--f); text-transform: uppercase; letter-spacing: .04em; }
.cartel dd { font-weight: 600; }

/* ---------- 6. En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: var(--s3);
  padding: 12px var(--m); background: var(--papier); border-bottom: 1.5px solid var(--noir);
}
.logo { margin-right: auto; font-size: 26px; line-height: 1; text-decoration: none; letter-spacing: 0; }
.logo img { height: 36px; width: auto; }
.nav ul { list-style: none; display: flex; gap: var(--s4); margin: 0; padding: 0; }
.nav a { position: relative; text-decoration: none; font: 600 14px/1 var(--f); text-transform: uppercase; letter-spacing: .04em; padding: 10px 0; display: inline-block; }
.nav a span { font-size: 11px; vertical-align: super; margin-right: 2px; opacity: .55; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--d1) var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* ---------- 7. Accueil (crème) ---------- */
.hero { position: relative; padding: var(--s5) 0 var(--sec); background: var(--creme) var(--fond, none); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; }
.hero-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-bottom: var(--s3); margin-bottom: var(--s4); border-bottom: 1.5px solid var(--noir); }
.hero-name { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 2; font-size: var(--name-size, clamp(80px, 15vw, 270px)); line-height: .8; pointer-events: none; align-self: start; }
.hero-name img { width: 100%; height: auto; }
.nl { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.nl-1 { padding-left: .5em; }
.nl-in > span { display: inline-block; transform: translateY(105%); transition: transform var(--d3) var(--ease); transition-delay: calc(var(--i) * 35ms); }
.ready .nl-in > span { transform: none; }
/* Impression décalée : signature réservée au nom */
.nl-in { text-shadow: .022em .018em 0 var(--rouge), -.016em -.012em 0 var(--bleu); }
.hero-portrait { grid-column: 7 / -1; grid-row: 2 / 4; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-self: start; margin-top: 1.2vw; cursor: pointer; box-shadow: 14px 14px 0 rgba(25,25,25,.12); }
.pane { position: relative; aspect-ratio: 640 / 703; overflow: hidden; background: var(--c-bg); transition: background var(--d2) var(--ease); }
.pane[data-c=rouge] { --c-bg: var(--rouge); }
.pane[data-c=bleu] { --c-bg: var(--bleu); }
.pane[data-c=creme] { --c-bg: #e4dfd2; }
.pane[data-c=jaune] { --c-bg: var(--jaune); }
.pane[data-c=noir] { --c-bg: var(--noir); }
.pane img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d2) var(--ease), filter var(--d2) var(--ease); }
.pane[data-c=noir] img { filter: invert(.93); }
.pane::after { content: ""; position: absolute; inset: 0; background: var(--dots); mix-blend-mode: multiply; opacity: .5; pointer-events: none; }
.portrait-art { grid-column: 1 / -1; width: 100%; height: auto; }
.hero-lead { grid-column: 1 / 7; grid-row: 3; padding-top: var(--s4); align-self: start; }
.tagline { display: block; width: 100%; max-width: 15ch; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; font-size: var(--t-2); line-height: .9; transition: opacity var(--d1) var(--ease), transform var(--d1) var(--ease); }
.tagline.swap { opacity: 0; transform: translateY(10px); }
.hero-lead .btn-row { margin-top: var(--s4); }

.hero-index { margin-top: var(--s6); padding: var(--s3) 0 0; border-top: 1.5px solid var(--noir); list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.ix { display: block; text-decoration: none; }
.ix:hover .media img.ok { transform: scale(1.045); }
.ix-cap { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding-top: 12px; }
.ix-num { font: 600 var(--t-meta)/1.4 var(--f); grid-row: span 2; }
.ix-name { font-weight: 800; line-height: 1.15; }
.ix-kind { font: 600 var(--t-meta)/1.3 var(--f); text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.hero-index li:nth-child(2) { transition-delay: .06s; }

/* ---------- 8. Bande (rouge) ---------- */
.band { overflow: hidden; background: var(--rouge); color: var(--noir); border-block: 1.5px solid var(--noir); }
.band-track { display: flex; gap: 28px; width: max-content; padding: 16px 0 13px; font: 900 clamp(26px, 3.2vw, 48px)/1 var(--f-cond); font-stretch: 62%; text-transform: uppercase; animation: band 60s linear infinite; }
.band-track i { font-style: normal; font-weight: 300; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- 9. Salles d'exposition (projets vedettes) ---------- */
.ft { position: relative; padding: var(--sec) 0; overflow: hidden; }
.sec-num { margin-bottom: var(--s3); }

/* 01 — We Tried (noir) */
.ft-wt { background: var(--noir); color: var(--creme); --fg: var(--creme); }
.wt-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .04em .2em; line-height: .86; margin-bottom: var(--s5); white-space: nowrap; }
.wt-title .shift { display: inline-block; will-change: transform; }
.wt-lead { row-gap: var(--s4); align-items: start; }
.wt-main { grid-column: 1 / 9; }
.wt-side { grid-column: 9 / -1; padding-top: var(--s1); }
.wt-reps { margin-top: var(--s6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--gut); }
.wt-reps li:nth-child(3n+2) { transform: translateY(var(--s5)); }
.wt-reps li:nth-child(3n+3) { transform: translateY(calc(var(--s5) * 2)); }
.ft-wt .wt-reps { padding-bottom: calc(var(--s5) * 2); }
.ft-wt .vcard .media::after { background: var(--creme); color: var(--noir); }

/* Série rattachée (TBU dans We Tried) — bloc bleu pleine largeur en fin de salle */
.ft-wt.has-serie { padding-bottom: 0; }
.serie { position: relative; margin-top: var(--sec); padding: var(--sec) 0; background: var(--bleu); color: var(--creme); --fg: var(--creme); overflow: hidden; }
.serie-stack { grid-column: 1 / 8; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.serie-line { display: block; white-space: nowrap; font-size: clamp(34px, 4.6vw, 80px); line-height: .9; will-change: transform; }
.serie-fig { margin-top: var(--s3); }
.serie-side { grid-column: 9 / -1; align-self: center; position: relative; z-index: 1; }
.serie-side .h2 { margin-bottom: var(--s3); }
.serie-vids { grid-column: 1 / -1; }
.wt-kids { margin: var(--s3) 0; }
.wt-kids a { text-decoration: none; }

/* 03 — Bon Débarras (crème, affiche de cinéma) */
.ft-bd { background: var(--creme); color: var(--noir); }
.bd-poster { grid-column: 1 / 7; }
.poster { position: relative; aspect-ratio: 2 / 3; display: grid; grid-template-rows: auto 1fr auto auto; gap: var(--s3); padding: clamp(20px, 3vw, 44px); background: var(--noir); color: var(--creme); overflow: hidden; }
.poster::before { content: ""; position: absolute; inset: 0; background: var(--dots-light); -webkit-mask: radial-gradient(circle at 80% 20%, #000, transparent 60%); mask: radial-gradient(circle at 80% 20%, #000, transparent 60%); }
.poster > * { position: relative; }
.poster-top { font: 600 var(--t-meta)/1.3 var(--f); text-transform: uppercase; letter-spacing: .12em; text-align: center; }
.poster-title { align-self: center; text-align: center; font-size: clamp(52px, 7.4vw, 128px); line-height: .84; transform: scaleY(1.06); }
.poster-bar { justify-self: stretch; padding: 12px; background: var(--rouge); color: var(--noir); text-align: center; font: 900 clamp(20px, 2.2vw, 32px)/1 var(--f-cond); font-stretch: 62%; text-transform: uppercase; letter-spacing: .02em; }
.poster-credits { font: 600 11px/1.6 var(--f); font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; text-align: center; opacity: .85; }
.poster .poster-title { clip-path: inset(0 0 100% 0); transition: clip-path var(--d3) var(--ease); }
.poster.in .poster-title { clip-path: inset(-10% 0 -10% 0); }
.poster-art img { width: 100%; height: auto; }
.bd-side { grid-column: 8 / -1; align-self: center; }
.bd-year { font-size: clamp(110px, 16vw, 260px); line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--rouge); margin-bottom: var(--s3); }
.bd-side .h2 { margin-bottom: var(--s3); }
.bd-side .note { margin-bottom: var(--s3); }

/* 04 — Shift Key (rouge) */
.ft-sk { background: var(--rouge); color: var(--noir); --fg: var(--noir); }
.sk-side { grid-column: 1 / 6; align-self: start; position: relative; }
.sk-glyph { display: block; width: clamp(120px, 15vw, 240px); height: auto; color: var(--noir); margin-bottom: var(--s4); }
.sk-lead { max-width: 92%; }
.sk-side .h2 { margin-bottom: var(--s3); }
.sk-media { grid-column: 7 / -1; }
.ft-sk .vcard .media::after { background: var(--noir); color: var(--creme); }
.pop4 { margin-top: var(--s4); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pop4-cell { position: relative; }
.pop4-cell .media { aspect-ratio: 1; }
.pop4-cell .media img { filter: grayscale(1) contrast(1.35); }
.pop4-cell::after { content: ""; position: absolute; inset: 0; z-index: 2; mix-blend-mode: multiply; pointer-events: none; }
.t-rouge::after { background: var(--rouge); }
.t-bleu::after { background: var(--bleu); mix-blend-mode: screen; }
.t-creme::after, .t-jaune::after { background: var(--jaune); }
.t-noir::after { background: var(--noir); mix-blend-mode: color; }
.pop4-cell .fb-title, .pop4-cell .fb-plat, .pop4-cell .fb-num { display: none; }
.pop4-cell:nth-child(1) .fb { --fbg: var(--noir); } .pop4-cell:nth-child(2) .fb { --fbg: var(--bleu); }
.pop4-cell:nth-child(3) .fb { --fbg: var(--jaune); --ffg: var(--noir); } .pop4-cell:nth-child(4) .fb { --fbg: var(--noir); }
.pop4 .pop4-cell { opacity: 0; transition: opacity var(--d2) var(--ease); }
.pop4.in .pop4-cell { opacity: 1; }
.pop4.in .pop4-cell:nth-child(2) { transition-delay: .12s; } .pop4.in .pop4-cell:nth-child(3) { transition-delay: .24s; } .pop4.in .pop4-cell:nth-child(4) { transition-delay: .36s; }
.sk-fig { margin-top: 12px; }

/* ---------- 10. Interlude (noir) ---------- */
.interlude { background: var(--noir); color: var(--creme); padding: var(--sec) 0; }
.interlude-text { font: 900 var(--t-1)/.86 var(--f-cond); font-stretch: 62%; text-transform: uppercase; max-width: 14ch; }
.interlude-text em { font-style: normal; color: var(--rouge); }

/* ---------- 11. Collaborations (crème) ---------- */
.pro { background: var(--creme) var(--fond, none); padding: var(--sec) 0; }
.sec-head { row-gap: var(--s3); margin-bottom: var(--s5); align-items: end; }
.sec-head .sec-num { grid-column: 1 / -1; margin: 0; }
.sec-head .h1 { grid-column: 1 / 9; }
.sec-lead { grid-column: 9 / -1; font-size: var(--t-lead); line-height: 1.4; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: var(--s2) 0; border-block: 1.5px solid var(--noir); }
.filter { position: relative; min-height: 44px; padding: 8px 0; background: none; border: 0; cursor: pointer; font: 700 15px/1 var(--f); text-transform: uppercase; letter-spacing: .03em; opacity: .5; transition: opacity var(--d1) var(--ease); }
.filter sup { font-size: 10px; margin-left: 3px; }
.filter:hover, .filter.on { opacity: 1; }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform var(--d1) var(--ease); }
.filter.on::after { transform: scaleX(1); }
.filter-count { margin: var(--s2) 0 var(--s5); }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--gut); }
.pcard { grid-column: span 4; }
.pcard[data-size="7"] { grid-column: span 7; } .pcard[data-size="5"] { grid-column: span 5; } .pcard[data-size="12"] { grid-column: span 12; } .pcard[data-size="6"] { grid-column: span 6; }
.pcard[data-off] { padding-top: var(--s6); }
.pcard[data-size="12"] .media { aspect-ratio: 21 / 9; }
.pcard-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.pcard-btn:hover .media img.ok { transform: scale(1.045); }
.pcard-btn .media::after { content: "Ouvrir la fiche"; position: absolute; z-index: 3; left: 0; bottom: 0; padding: 10px 14px; background: var(--noir); color: var(--creme); font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; transform: translateY(100%); transition: transform var(--d1) var(--ease); }
.pcard-btn:hover .media::after, .pcard-btn:focus-visible .media::after { transform: none; }
.vstrip { display: flex; justify-content: center; gap: 4px; background: var(--fbg); }
.vstrip > .media { height: 100%; flex: 0 0 auto; }
.vstrip > .media .fb { border-inline: 1px solid color-mix(in srgb, var(--ffg) 25%, transparent); }
.pc-cap { display: grid; gap: 6px; padding-top: var(--s2); }
.pc-client { font-size: var(--t-3); line-height: .95; }
.pc-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.pc-meta { opacity: .7; }

.index-wrap { margin-top: var(--s7); }
.index-title { margin-bottom: var(--s3); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--noir); }
.irow { border-bottom: 1px solid var(--noir); }
.irow button { display: grid; grid-template-columns: 2.2fr 3.4fr 1.4fr 2.6fr 80px 24px; gap: 8px 24px; align-items: baseline; width: 100%; min-height: 64px; padding: 18px 0; background: none; border: 0; text-align: left; cursor: pointer; transition: background var(--d1) var(--ease), color var(--d1) var(--ease), padding var(--d1) var(--ease); }
.irow button:hover, .irow button:focus-visible { background: var(--noir); color: var(--creme); padding-inline: 16px; }
.ir-client { font-size: clamp(22px, 2vw, 30px); line-height: .95; }
.ir-name { font-weight: 700; }
.ir-name em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 4px; }
.ir-period, .ir-roles { font: 600 var(--t-meta)/1.4 var(--f); text-transform: uppercase; letter-spacing: .04em; }
.ir-go { font-weight: 700; transition: transform var(--d1) var(--ease); }
.irow button:hover .ir-go { transform: translateX(4px); }
.empty { font-size: var(--t-lead); font-weight: 600; padding: var(--s4) 0; }

/* ---------- 12. À propos (bleu) ---------- */
.about { background: var(--bleu) var(--fond, none); color: var(--creme); padding: var(--sec) 0; }
.about-grid { row-gap: var(--s5); align-items: start; }
.about-art { grid-column: 1 / 6; position: sticky; top: 100px; }
.about-art > img { width: 100%; height: auto; }
.about-art figcaption { margin-top: var(--s2); max-width: 36ch; }
.print-stack { position: relative; display: block; }
.print-layer { position: absolute; inset: 0; background: var(--rouge); transform: translate(14px, 14px); }
.print-stack img { position: relative; width: 100%; background: var(--creme); filter: contrast(1.05); }
.print-stack::after { content: ""; position: absolute; inset: 0; background: var(--dots); mix-blend-mode: multiply; opacity: .5; }
.about-text { grid-column: 7 / -1; }
.about-text .h1 { margin-bottom: var(--s5); }
.pull { font: 900 var(--t-3)/1 var(--f-cond); font-stretch: 62%; text-transform: uppercase; margin-bottom: var(--s4); padding-left: var(--s3); border-left: 4px solid var(--rouge); }
.about-body p { font-size: var(--t-lead); line-height: 1.45; margin-bottom: var(--s3); max-width: 40ch; }
.skills-title { margin: var(--s5) 0 var(--s2); }
.skills { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gut); border-top: 1.5px solid var(--creme); counter-reset: sk; }
.skills li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--creme) 35%, transparent); font-weight: 600; counter-increment: sk; display: flex; gap: 12px; }
.skills li::before { content: counter(sk, decimal-leading-zero); font: 600 var(--t-meta)/1.9 var(--f); opacity: .6; }


/* ---------- 13. Contact (rouge) ---------- */
.contact { background: var(--rouge) var(--fond, none); color: var(--noir); padding: var(--sec) 0; }
.contact-grid { row-gap: var(--s4); align-items: end; }
.contact-grid > .sec-num { grid-column: 1 / -1; margin: 0; }
.contact-title { grid-column: 1 / 9; font-size: clamp(64px, 11vw, 196px); line-height: .88; }
.contact-side { grid-column: 9 / -1; display: grid; gap: var(--s3); justify-items: start; }
.contact-side .sec-lead { grid-column: auto; }
.mail-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; font-weight: 700; font-size: 18px; }
.socials { grid-column: 1 / -1; margin-top: var(--s5); list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); column-gap: var(--gut); border-top: 1.5px solid var(--noir); }
.socials a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--noir); text-decoration: none; font-weight: 700; transition: padding var(--d1) var(--ease); }
.socials a:hover { padding-left: 10px; }

/* ---------- 14. Pied (noir) ---------- */
.foot { background: var(--noir); color: var(--creme); padding: var(--s5) 0 var(--s6); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: var(--s2); align-items: end; }
.foot-name { grid-column: 1 / -1; font: 900 clamp(60px, 12vw, 200px)/.8 var(--f-cond); font-stretch: 62%; text-transform: uppercase; padding-bottom: var(--s4); margin-bottom: var(--s2); border-bottom: 1.5px solid var(--creme); }
.foot-grid > p:nth-child(2) { grid-column: 1 / 6; }
.foot-ig { grid-column: 6 / 9; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }
.foot-ig span:first-of-type { padding: 2px 6px; background: var(--jaune); color: var(--noir); }
.foot-ig:hover span:first-of-type { background: var(--creme); }
.foot-grid > .meta { grid-column: 9 / 11; }
.dont { grid-column: 11 / -1; justify-self: end; opacity: .6; }
.dont:hover { opacity: 1; }

.fab { display: none; }

/* Curseur « Lire » (souris seulement) */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; }
.cursor span { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--noir); font: 700 13px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; transform: scale(0); transition: transform var(--d1) var(--ease); }
.cursor.on span { transform: scale(1); }

/* ---------- 15. Fiche projet ---------- */
.modal { width: min(960px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--papier); color: var(--noir); overflow: auto; }
.modal[open] { animation: modal-in var(--d2) var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } }
.modal::backdrop { background: color-mix(in srgb, var(--noir) 88%, transparent); }
.modal-inner { position: relative; padding: clamp(24px, 4vw, 56px); }
.modal-x { position: sticky; top: 0; float: right; z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; margin: -8px -8px 0 16px; background: var(--noir); color: var(--creme); border: 0; cursor: pointer; font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; }
.modal-x span { font-size: 20px; }
.modal-x:hover { background: var(--rouge); color: var(--noir); }
.m-title { margin: 10px 0 var(--s2); }
.m-desc { max-width: 52ch; }
.player { position: relative; margin: var(--s4) auto var(--s1); background: var(--noir); }
.player.r-h { aspect-ratio: 16 / 9; }
.player.r-v { aspect-ratio: 9 / 16; max-width: 360px; }
.player--instagram { aspect-ratio: auto !important; height: min(78vh, 760px); max-width: 420px; background: #fff; }
.player--tiktok { max-width: 340px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-alt { text-align: center; }
.m-sub { margin: var(--s4) 0 var(--s1); }
.m-vids { border-top: 1.5px solid var(--noir); }
.m-vids li { border-bottom: 1px solid var(--noir); }
.m-vids button, .m-vids a { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 12px; align-items: baseline; width: 100%; min-height: 48px; padding: 12px 0; background: none; border: 0; text-align: left; text-decoration: none; cursor: pointer; transition: background var(--d1) var(--ease), padding var(--d1) var(--ease); }
.m-vids button:hover, .m-vids a:hover, .m-vids .on button { background: var(--noir); color: var(--creme); padding-inline: 12px; }
.mv-num, .mv-plat { font: 600 var(--t-meta)/1.4 var(--f); text-transform: uppercase; letter-spacing: .04em; }
.mv-title { font-weight: 700; }
.modal .btn-row { margin-top: var(--s4); }
.modal .note { margin-top: var(--s3); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; max-width: min(92vw, 520px); padding: 14px 20px; background: var(--noir); color: var(--creme); font: 600 15px/1.35 var(--f); text-align: center; transform: translate(-50%, 160px); visibility: hidden; transition: transform var(--d2) var(--ease), visibility var(--d2); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }


/* ==================================================================
   v3 — TEXTURE, SURLIGNAGE, TIRAGES, JAUNE
   ================================================================== */
:root {
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Variation lente de l'encre dans les aplats (sérigraphie) */
  --flood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .008' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
/* Papier sur les fonds crème */
.hero, .ft-bd { background: var(--fond, none), var(--paper) 0 0 / 600px, var(--grain-soft) 0 0 / 260px, var(--papier); }
/* Variation de papier d'une grande section à l'autre : les collaborations sont sur un papier un peu plus dense */
.pro { background: var(--fond, none), var(--paper) 0 0 / 600px, var(--grain-soft) 0 0 / 260px, var(--papier-2); }
/* Sérigraphie sur les aplats de couleur */
.serie, .about { background: var(--fond, none), var(--flood) 0 0 / 100% 100% no-repeat, var(--grain-soft) 0 0 / 260px, var(--bleu); }
.ft-sk, .contact, .band { background: var(--fond, none), var(--flood) 0 0 / 100% 100% no-repeat, var(--grain-soft) 0 0 / 260px, var(--rouge); }
.hors { background: var(--fond, none), var(--flood) 0 0 / 100% 100% no-repeat, var(--grain-soft) 0 0 / 260px, var(--jaune); }
.ft-wt, .interlude, .foot { background: var(--grain-light) 0 0 / 260px, var(--noir); }
.ft-wt .serie { background: var(--flood) 0 0 / 100% 100% no-repeat, var(--grain-soft) 0 0 / 260px, var(--bleu); }

/* Encre usée sur les grands titres : quelques manques, comme une sérigraphie */
.inked { -webkit-mask-image: var(--ink); mask-image: var(--ink); -webkit-mask-size: 300px; mask-size: 300px; }

/* Surlignage : un aplat jaune qui se trace quand le mot apparaît */
mark { background: none; color: inherit; }
.hl {
  color: var(--noir); padding: 0 .1em; margin: 0 -.04em;
  background-image: linear-gradient(var(--jaune), var(--jaune)); background-repeat: no-repeat;
  background-position: 0 88%; background-size: 0% 84%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s var(--ease) .15s;
}
.hl.in { background-size: 100% 84%; }
.h1 .hl, .h2 .hl, .tagline .hl { background-position: 0 92%; background-size: 0% 90%; }
.h1 .hl.in, .h2 .hl.in, .tagline .hl.in { background-size: 100% 90%; }
.lines.in .hl { background-size: 100% 90%; }
.about .pull .hl, .about-body .hl { color: var(--noir); }

/* Étiquettes de salle / série (métadonnées surlignées) */
.salle { display: inline-block; margin-right: 10px; padding: 4px 8px 3px; background: var(--jaune); color: var(--noir); }
.tag--serie { background: var(--jaune); color: var(--noir); }

/* Tirages « print » : cadre papier, légendes dans la marge, légèrement de travers.
   Utilisés avec parcimonie. La rotation passe par la propriété rotate pour ne pas
   entrer en conflit avec les animations d'apparition. */
.print { --tilt: -1.6deg; background: var(--blanc); color: var(--noir); padding: 10px 10px 0; rotate: var(--tilt);
  box-shadow: 0 1px 0 rgba(25,25,25,.08), 12px 14px 0 rgba(25,25,25,.16); transition: rotate var(--d2) var(--ease), translate var(--d2) var(--ease), box-shadow var(--d2) var(--ease), opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.print:hover, .print:focus-visible { rotate: 0deg; translate: 0 -6px; box-shadow: 0 1px 0 rgba(25,25,25,.08), 18px 22px 0 rgba(25,25,25,.18); }
.print .vc-cap, .print .ix-cap { padding: 14px 4px 18px; }
.print .vc-plat, .print .ix-kind { opacity: .6; }
.print .media::after { display: none; }
.hero-index li:nth-child(1) .print { --tilt: -1.8deg; }
.hero-index li:nth-child(2) .print { --tilt: 1.1deg; translate: 0 18px; }
.hero-index li:nth-child(2) .print:hover { translate: 0 10px; }
.hero-index li:nth-child(3) .print { --tilt: -.6deg; }
.wt-reps li:nth-child(2) .print { --tilt: 1.8deg; }
.wt-reps li:nth-child(5) .print { --tilt: -2.2deg; }
.sk-lead .print { --tilt: 1.4deg; }
.hors-media .print { --tilt: -2.4deg; }
.vc-note { grid-column: 1 / -1; margin-top: 8px; font: 700 15px/1.35 var(--f); }
.ft-wt .vc-note .hl, .ft-sk .vc-note .hl { color: var(--noir); }

/* Origine d'un projet (lien entre Bon Débarras et le Storytime) */
.origine { display: grid; gap: 6px; margin: var(--s3) 0; max-width: 46ch; }
.origine a { font-weight: 700; font-size: 17px; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.origine a:hover { text-decoration-thickness: 3px; }
.player-note { text-align: center; margin-top: var(--s2); font-weight: 700; }
.mv-title small { display: block; font-weight: 500; font-size: 13px; opacity: .75; }

/* ---------- Hors champ (jaune) ---------- */
.hors { color: var(--noir); padding: var(--sec) 0; }
.hors-grid { row-gap: var(--s5); align-items: start; }
.hors-head { grid-column: 1 / -1; max-width: 900px; }
.hors-head .sec-num { margin-bottom: var(--s3); }
.hors-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.hors-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut) var(--s4); align-items: start; }
.hors-media { max-width: 260px; }
.hors-text .lead { font-size: 18px; }
.hors-list > li:nth-child(even) { padding-top: var(--s6); }
.hors-text .h3 { margin: 10px 0 var(--s2); }
.hors .btn:hover { background: var(--noir); color: var(--jaune); }


/* ---------- v4 : logo de marque, bouton contact, repères d'impression ---------- */
.wt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--gut); margin-bottom: var(--s5); }
.wt-head .wt-title { margin-bottom: 0; }
.brand-logo { width: clamp(110px, 12vw, 190px); aspect-ratio: 1; display: grid; place-items: center; margin: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo--empty { align-content: center; gap: 8px; padding: 12px; text-align: center; border: 1.5px solid color-mix(in srgb, var(--creme) 45%, transparent);
  background: linear-gradient(to top right, transparent calc(50% - .5px), color-mix(in srgb, var(--creme) 22%, transparent) 50%, transparent calc(50% + .5px)),
              linear-gradient(to top left, transparent calc(50% - .5px), color-mix(in srgb, var(--creme) 22%, transparent) 50%, transparent calc(50% + .5px)); }
.brand-logo--empty .meta { background: var(--noir); padding: 2px 6px; }
.brand-path { font: 600 10px/1.3 var(--f); letter-spacing: .03em; opacity: .7; background: var(--noir); padding: 2px 4px; }

/* « Écris-moi » du contact : un vrai changement d'état sur le fond rouge */
.contact .btn--solid:hover, .contact .btn--solid:focus-visible { background: var(--bleu); border-color: var(--bleu); color: var(--creme); }

/* Barre de repérage couleur, comme en marge d'une feuille d'imprimerie */
.reg { display: inline-flex; gap: 0; margin-left: auto; align-self: center; }
.reg i { width: 14px; height: 14px; display: block; }
.reg i:nth-child(1) { background: var(--rouge); } .reg i:nth-child(2) { background: var(--jaune); }
.reg i:nth-child(3) { background: var(--bleu); } .reg i:nth-child(4) { background: var(--noir); }
.reg i:nth-child(5) { background: var(--creme); outline: 1px solid var(--noir); outline-offset: -1px; }


/* ---------- v6 : carrousel We Tried, collage, capsules Shift Key ---------- */
.carousel { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid var(--jaune); outline-offset: 6px; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel .vcard { opacity: 1; transform: none; }
.car-ctrl { display: flex; align-items: center; gap: 14px; margin-top: var(--s3); }
.car-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--creme); border: 2px solid var(--creme); font: 700 20px/1 var(--f); cursor: pointer; transition: background var(--d1) var(--ease), color var(--d1) var(--ease), border-color var(--d1) var(--ease); }
.car-btn:hover, .car-btn:focus-visible { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
.car-count { min-width: 5.5em; text-align: center; }
.car-count b { font-weight: 800; }

/* Collage : six tirages, inclinaisons variées, sans numéros */
.wt-collage .vc-cap { grid-template-columns: 1fr auto; }
.wt-collage .fb-num, .sk-caps .fb-num { display: none; }
.wt-collage .fb-title, .sk-caps .fb-title { grid-row: 2; }
.wt-collage .fb-plat, .sk-caps .fb-plat { grid-row: 3; }
.wt-collage li:nth-child(1) .print { --tilt: -2deg; }
.wt-collage li:nth-child(2) .print { --tilt: 1.6deg; }
.wt-collage li:nth-child(3) .print { --tilt: -1deg; }
.wt-collage li:nth-child(4) .print { --tilt: 2.2deg; }
.wt-collage li:nth-child(5) .print { --tilt: -2.4deg; }
.wt-collage li:nth-child(6) .print { --tilt: 1.2deg; }

/* Shift Key : quatre capsules verticales, en quinconce */
.sk-lead .vc-cap { grid-template-columns: 1fr auto; }
.sk-caps-wrap { margin-top: var(--s5); }
.sk-caps-label { margin-bottom: var(--s3); }
.sk-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) clamp(20px, 2.4vw, 36px); align-items: start; padding-bottom: var(--s5); }
.sk-caps .print { padding: 7px 7px 0; }
.sk-caps .vc-cap { grid-template-columns: 1fr; padding: 10px 2px 12px; gap: 2px; }
.sk-caps .vc-title { font-size: 14px; }
.sk-caps .fb-title { font-size: clamp(14px, 1.3vw, 20px); }
.sk-caps li:nth-child(1) .print { --tilt: -1.8deg; }
.sk-caps li:nth-child(2) { margin-top: var(--s5); } .sk-caps li:nth-child(2) .print { --tilt: 1.8deg; }
.sk-caps li:nth-child(3) { margin-top: var(--s2); } .sk-caps li:nth-child(3) .print { --tilt: -1.2deg; }
.sk-caps li:nth-child(4) { margin-top: var(--s4); } .sk-caps li:nth-child(4) .print { --tilt: 2deg; }

/* Contact : plus d'air entre le texte et le bouton */
.contact-side { gap: var(--s4); }
.contact-side .btn--xl { margin-top: var(--s2); }


/* ==================================================================
   v7 — CONTRATS EN CARROUSELS, EN ATTENTE, TRANSITION, WE TRIED ORANGÉ
   ================================================================== */
/* Cartes de contrats : un cadre, une vidéo à la fois */
.pcard { display: flex; flex-direction: column; }
.pc-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fbg, var(--noir)); isolation: isolate; }
.pc-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dots); opacity: .8; }
.pc-frame.c-noir::before, .pc-frame.c-bleu::before { background: var(--dots-light); }
.pcard[data-size="12"] .pc-frame { aspect-ratio: 21 / 9; }
.pcard[data-size="4"] .pc-frame.is-v { aspect-ratio: 4 / 5; }
.pc-frame > .media { width: 100%; height: 100%; aspect-ratio: auto; }
.pc-frame .car-track { height: 100%; }
.pc-frame .car-slide { height: 100%; }
.pslide { position: relative; display: grid; place-items: center; text-align: left; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; color: inherit; }
.is-h .pslide .media { width: 100%; height: 100%; aspect-ratio: auto; }
.is-v .pslide .media { height: 86%; width: auto; aspect-ratio: 9 / 16; border: 6px solid var(--blanc); box-shadow: 10px 12px 0 rgba(25,25,25,.22); }
.is-v .pslide .fb-title { font-size: clamp(14px, 1.4vw, 20px); }
.pslide:hover .media img.ok { transform: scale(1.045); }
.pslide .media::after { content: "Lire"; position: absolute; z-index: 2; left: 0; bottom: 0; padding: 10px 14px; background: var(--noir); color: var(--creme); font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; transform: translateY(100%); transition: transform var(--d1) var(--ease); }
a.pslide .media::after { content: "Ouvrir ↗"; }
.pslide:hover .media::after, .pslide:focus-visible .media::after { transform: none; }
.pcard .car-ctrl { margin-top: 12px; gap: 10px; }
.pcard .car-btn { width: 40px; height: 40px; font-size: 17px; }
.car-btn { color: inherit; border-color: currentColor; }
.pc-cap { display: grid; gap: 6px; padding-top: var(--s2); }
.pc-client { font-family: var(--f-cond); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: var(--t-3); line-height: .95; }
.pc-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.pc-name em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 4px; }
.pc-meta { opacity: .75; }
.pc-vid { font-size: 15px; line-height: 1.4; }
.pc-vid span[data-car-title] { font-weight: 700; margin-right: 8px; }
.pc-vid a { white-space: nowrap; text-underline-offset: 3px; }
.pc-mention { font-size: 16px; line-height: 1.45; max-width: 60ch; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px; }
.pcard[hidden] { display: none !important; }

/* Voir plus / voir moins */
.more-row { display: flex; justify-content: center; margin-top: var(--s6); }
.btn--more { min-width: min(100%, 300px); min-height: 60px; font-size: 15px; }
.btn--more .arr { transition: transform var(--d2) var(--ease); }
.btn--more.is-open .arr { transform: rotate(180deg); }
.btn--more.is-open:hover .arr { transform: rotate(180deg) translateY(4px); }

/* En attente de publication */
.attente { margin-top: var(--s7); padding-top: var(--s4); border-top: 1.5px solid var(--noir); }
.attente-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s2) var(--s5); margin-bottom: var(--s5); }
.attente-head .meta { max-width: 38ch; }
.attente-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--s4) var(--gut); }
.acard { opacity: 0; transform: translateY(28px); transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.acard.in { opacity: 1; transform: none; }
.acard button { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.acard .media { margin-bottom: 8px; }
.acard .fb-title { font-size: clamp(26px, 2.6vw, 40px); }
.acard button:hover .fb { background: var(--rouge); color: var(--noir); }
.acard .fb { transition: background var(--d1) var(--ease), color var(--d1) var(--ease); }
.ac-client { font-family: var(--f-cond); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: .95; }
.ac-name { font-weight: 700; }
.ac-meta { opacity: .75; }

/* Transition : « Maintenant, ce qui vient 100 % de moi » */
.univers { position: relative; overflow: hidden; padding: var(--sec) 0; color: var(--creme);
  background: var(--flood) 0 0 / 100% 100% no-repeat, var(--grain-soft) 0 0 / 260px, var(--bleu); }
.univers-bg { position: absolute; right: -4vw; bottom: -6vw; z-index: 0; font: 900 46vw/.78 var(--f-cond); font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--creme) 38%, transparent); white-space: nowrap; pointer-events: none; will-change: transform; }
.univers-wrap { position: relative; z-index: 1; }
.univers .sec-num { margin-bottom: var(--s4); }
.univers-title { font: 900 clamp(64px, 11.5vw, 210px)/.84 var(--f-cond); font-stretch: 62%; text-transform: uppercase; }
.univers-title > span { display: block; }
.univers-title { line-height: .9; }
.univers-title > span:last-child { margin-top: .08em; }
.univers-title .hl { background-position: 0 100%; background-size: 0% 86%; }
.univers-title.in .hl, .univers-title .hl.in { background-size: 100% 86%; }
.univers-title > span:nth-child(2) { padding-left: 1.2em; }
.univers-title .hl { color: var(--noir); }
.univers-toc { margin-top: var(--s6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); border-top: 1.5px solid var(--creme); }
.univers-toc a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: var(--s3) 0; text-decoration: none; transition: color var(--d1) var(--ease); }
.toc-n { grid-column: 1 / -1; font: 600 var(--t-meta)/1 var(--f); text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.toc-name { font: 900 var(--t-3)/.95 var(--f-cond); font-stretch: 62%; text-transform: uppercase; }
.toc-arr { font-weight: 700; transition: transform var(--d1) var(--ease); }
.univers-toc a:hover { color: var(--jaune); }
.univers-toc a:hover .toc-arr { transform: translateY(4px); }

/* We Tried : l'ambiance du logo (jaune chaud → orange → rouge), en aplat d'impression */
.ft-wt { color: var(--noir); --fg: var(--noir);
  background: var(--grain-soft) 0 0 / 260px, radial-gradient(130% 95% at 50% 42%, #F7C431 0%, #F5A12B 34%, #F07A2A 64%, #E94A3A 100%); }
.ft-wt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(25,25,25,.16) 1.4px, transparent 1.8px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(130% 95% at 50% 42%, transparent 55%, #000 100%); mask: radial-gradient(130% 95% at 50% 42%, transparent 55%, #000 100%); }
.ft-wt > .wrap { position: relative; z-index: 1; }
.ft-wt .salle { background: var(--noir); color: var(--jaune); }
.ft-wt .vcard .media::after { background: var(--noir); color: var(--creme); }
.ft-wt .btn:hover { background: var(--noir); color: var(--jaune); border-color: var(--noir); }
.ft-wt .car-btn:hover, .ft-wt .car-btn:focus-visible { background: var(--noir); color: var(--jaune); border-color: var(--noir); }
.ft-wt .vc-plat { opacity: .8; }

/* Shift Key : disposition v6 (capsules sous le Storytime); aucun titre dans les vignettes */
.sk-caps .fb-title { display: none; }
.m-mention { margin-top: var(--s2); font-weight: 600; }


/* ==================================================================
   v8 — GALERIE SELON LES FORMATS, LOGO ENCADRÉ, COLLAGE MIXTE, TRAMES FINES
   ================================================================== */
:root {
  --dots-fine: radial-gradient(rgba(25,25,25,.075) .7px, transparent 1.05px) 0 0 / 5px 5px;
  --dots-fine-dark: radial-gradient(rgba(242,239,230,.075) .7px, transparent 1.05px) 0 0 / 5px 5px;
}
/* Trame d'impression fine sur les fonds crème et noirs */
.top { background: var(--dots-fine), var(--papier); }
.hero, .ft-bd { background: var(--fond, none), var(--dots-fine), var(--paper) 0 0 / 600px, var(--grain-soft) 0 0 / 260px, var(--papier); }
.pro { background: var(--fond, none), var(--dots-fine), var(--paper) 0 0 / 600px, var(--grain-soft) 0 0 / 260px, var(--papier-2); }
.foot { background: var(--dots-fine-dark), var(--grain-light) 0 0 / 260px, var(--noir); }
.modal { background: var(--dots-fine), var(--papier); }

/* Galerie des contrats : chaque miniature dans son format, sans cadre ni fond ajouté */
.pgrid { align-items: start; row-gap: var(--s6); }
.pcard[data-off="drop"] { margin-top: var(--s6); }
.pcard[data-off="half"] { margin-top: var(--s4); }
.pc-frame { background: var(--noir); }
.pc-frame::before { display: none; }
.pc-frame.is-h, .pcard[data-size] .pc-frame.is-h { aspect-ratio: 16 / 9; }
.pc-frame.is-v, .pcard[data-size] .pc-frame.is-v { aspect-ratio: 9 / 16; }
.pc-frame.is-s { aspect-ratio: 1; background: #fff; }
.is-v .pslide .media, .is-h .pslide .media { width: 100%; height: 100%; aspect-ratio: auto; border: 0; box-shadow: none; }
.pslide .media.r-v, .pslide .media.r-h { aspect-ratio: auto; }
.pvisuel img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform var(--d3) var(--ease); }
.pvisuel:hover img { transform: scale(1.03); }
.pvisuel::after { content: "Ouvrir ↗"; position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: var(--noir); color: var(--creme); font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; transform: translateY(100%); transition: transform var(--d1) var(--ease); }
.pvisuel:hover::after, .pvisuel:focus-visible::after { transform: none; }
.pvisuel { overflow: hidden; }
.pcard--v .pc-client, .pcard--s .pc-client { font-size: clamp(24px, 2.3vw, 34px); }
.pcard--v .pc-name, .pcard--s .pc-name { font-size: 16px; }

/* En attente de publication : la liste de l'ancien index */
.attente { margin-top: var(--s7); padding-top: 0; border-top: 0; }

/* Logo We Tried : cadre blanc, ombre portée, lien vers YouTube */
.brand-logo--framed { padding: 10px; background: var(--blanc); box-shadow: 12px 14px 0 rgba(25,25,25,.32); transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease); }
a.brand-logo--framed:hover, a.brand-logo--framed:focus-visible { transform: translate(-3px, -4px); box-shadow: 16px 19px 0 rgba(25,25,25,.4); }
.brand-logo--framed img { display: block; }

/* Collage We Tried : 3 horizontales + 3 verticales, deux rangées équilibrées */
.wt-collage { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5) var(--gut); align-items: center; padding-bottom: var(--s5) !important; }
.wt-collage li { transform: none !important; }
.wt-collage li:nth-child(1) { grid-column: 1 / span 3; }
.wt-collage li:nth-child(2) { grid-column: 4 / span 6; }
.wt-collage li:nth-child(3) { grid-column: 10 / span 3; }
.wt-collage li:nth-child(4) { grid-column: 1 / span 5; }
.wt-collage li:nth-child(5) { grid-column: 6 / span 3; }
.wt-collage li:nth-child(6) { grid-column: 9 / span 4; }
.wt-collage li:nth-child(2) .print, .wt-collage li:nth-child(4) .print, .wt-collage li:nth-child(6) .print { margin-inline: 4%; }
.wt-collage .vc-cap { gap: 2px 10px; }
.wt-collage li:has(.r-v) .vc-title { font-size: 14px; }


/* ==================================================================
   v9 — POLISH : GRILLE DES CONTRATS DENSE, LOGO WE TRIED, AIR DANS LE COLLAGE
   ================================================================== */
.pgrid { row-gap: var(--s5); column-gap: var(--gut); align-items: start; }
.pcard[data-off] { margin-top: 0; padding-top: 0; }
.pcard--v .pc-cap, .pcard--s .pc-cap { gap: 4px; padding-top: 12px; }
.pcard--v .pc-client { font-size: clamp(20px, 1.7vw, 26px); }
.pcard--v .pc-name, .pcard--s .pc-name { font-size: 14px; line-height: 1.3; }
.pcard--v .pc-name em { display: block; margin: 2px 0 0; }
.pcard--v .pc-meta { font-size: 11px; }
.pcard--v .pc-vid, .pcard--s .pc-vid { font-size: 13px; }
.pcard--v .pc-vid a { display: inline-block; white-space: normal; }
.pcard--v .pc-actions { gap: 4px 14px; font-size: 13px; }
.pcard--v .pc-actions .link-btn { font-size: 13px; }
.pcard--v .car-ctrl { gap: 6px; }
.pcard--v .car-btn { width: 34px; height: 34px; font-size: 15px; }
.pcard--v .car-count { min-width: 4.5em; font-size: 12px; }
.more-cell { list-style: none; align-self: start; display: flex; aspect-ratio: 16 / 9; }
/* Le bouton remplit la case : un bloc noir plein, au lieu d'une case vide */
.more-cell .btn--more { flex: 1; min-height: 0; margin: 0; padding: var(--s4); flex-direction: column; align-items: flex-start; justify-content: space-between;
  font: 900 clamp(34px, 3.4vw, 56px)/.9 var(--f-cond); font-stretch: 62%; letter-spacing: 0; }
.more-cell .btn--more .arr { font: 700 28px/1 var(--f); align-self: flex-end; }
.more-sub { text-align: left; align-self: flex-start; font: 600 var(--t-meta)/1.5 var(--f); font-stretch: 100%; letter-spacing: .04em; text-transform: uppercase; opacity: .75; margin-top: auto; max-width: 34ch; }
.more-cell .btn--more:hover .more-sub { opacity: 1; }

/* Logo We Tried : plus grand, centré dans la colonne de droite (alignée sur le texte sous le carrousel) */
.wt-head { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; column-gap: var(--gut); }
.wt-head .brand-logo { justify-self: center; width: clamp(200px, 21vw, 320px); padding: 12px; }

/* Collage : un peu plus d'air pour que les tirages inclinés ne se touchent pas */
.wt-collage { gap: var(--s6) clamp(36px, 3.4vw, 56px); }
.wt-collage li:nth-child(2) .print, .wt-collage li:nth-child(4) .print, .wt-collage li:nth-child(6) .print { margin-inline: 2%; }

/* ---------- 16. Tablette ---------- */
@media (max-width: 1024px) {
  .nav ul { gap: var(--s3); }
  .wt-main, .wt-side { grid-column: 1 / -1; }
  .wt-side { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gut); }
  .wt-side .lead { grid-column: 1 / -1; max-width: 40ch; }
  .serie-stack { grid-column: 1 / -1; margin-bottom: var(--s5); }
  .serie-side { grid-column: 1 / -1; max-width: 640px; }
  .bd-poster { grid-column: 1 / 8; } .bd-side { grid-column: 8 / -1; }
  .sk-side { grid-column: 1 / -1; } .sk-media { grid-column: 1 / -1; margin-top: var(--s5); }
  .sk-glyph { position: absolute; right: 0; top: 0; margin: 0; }
  .sec-head .h1, .sec-lead { grid-column: 1 / -1; }
  .irow button { grid-template-columns: 1.6fr 2.6fr 1.2fr 80px 24px; }
  .ir-roles { display: none; }
  .about-art { grid-column: 1 / 6; } .about-text { grid-column: 6 / -1; }
  .hors-head, .hors-list { grid-column: 1 / -1; }
  .univers-toc { grid-template-columns: 1fr; }
  .univers-toc li + li a { border-top: 1px solid color-mix(in srgb, var(--creme) 35%, transparent); }
  .hors-list { grid-template-columns: 1fr; }
  .hors-list > li:nth-child(even) { padding-top: 0; }
  .contact-title, .contact-side { grid-column: 1 / -1; }
}

/* ---------- 17. Téléphone : composition propre au mobile ---------- */
@media (max-width: 720px) {
  :root { --gut: 16px; --sec: 88px; }
  body { font-size: 16px; }
  .top { padding: 10px var(--m); gap: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; background: none; border: 1.5px solid var(--noir); font: 700 12px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; position: relative; z-index: 70; }
  #menu { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: var(--m); background: var(--noir); color: var(--creme); opacity: 0; visibility: hidden; transition: opacity var(--d1) var(--ease), visibility var(--d1); }
  #menu.open { opacity: 1; visibility: visible; }
  .menu-open .nav-toggle { color: var(--creme); border-color: var(--creme); }
  #menu a { font: 900 clamp(52px, 16vw, 84px)/.95 var(--f-cond); font-stretch: 62%; text-transform: uppercase; padding: 6px 0; letter-spacing: 0; }
  #menu a span { font: 600 13px/1 var(--f); vertical-align: top; margin-right: 10px; }
  #menu a::after { display: none; }
  .top .btn--sm { padding: 8px 10px; font-size: 11px; min-height: 40px; white-space: nowrap; }
  .logo { white-space: nowrap; font-size: 20px; }

  .hero { padding-top: var(--s4); }
  .hero-meta { gap: 4px 16px; margin-bottom: var(--s3); }
  .hero-meta span[data-metiers] { flex-basis: 100%; }
  .hero-name { font-size: 23vw; }
  .nl-1 { padding-left: 0; text-align: right; }
  .hero-portrait { grid-column: 1 / -1; grid-row: 3; margin-top: -4vw; }
  .contact-title { font-size: 17.5vw; }
  .slot-tag--corner { position: static; grid-column: 1 / -1; margin-top: 8px; }
  .hero-lead { grid-column: 1 / -1; grid-row: 4; }
  .tagline { max-width: none; font-size: clamp(38px, 11vw, 56px); }
  .hero-lead .btn-row .btn { flex: 1 1 100%; }
  .hero-index { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin: var(--s5) calc(var(--m) * -1) 0; padding: var(--s3) var(--m) var(--s3); scrollbar-width: none; }
  .hero-index li { flex: 0 0 74%; scroll-snap-align: center; }

  .wt-title { flex-direction: column; margin-bottom: var(--s4); font-size: 20vw; }
  .poster-title { font-size: 19vw; }
  .wt-side { display: block; }
  .wt-reps { margin-top: var(--s5); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--gut); margin-inline: calc(var(--m) * -1); padding: 0 var(--m) var(--s2); scrollbar-width: none; }
  .wt-reps li { flex: 0 0 78%; scroll-snap-align: start; transform: none !important; }
  .wt-collage { padding: 22px var(--m) 34px !important; }
  .sk-caps { grid-template-columns: 1fr 1fr; row-gap: var(--s4); }
  .sk-caps li:nth-child(n) { margin-top: 0; }
  .sk-caps li:nth-child(even) { margin-top: var(--s4); }
  .contact-side { margin-top: var(--s4); }
  .ft-wt .wt-reps { padding-bottom: var(--s2); }
  .serie-line { font-size: 13.4vw; }
  .bd-poster, .bd-side { grid-column: 1 / -1; }
  .bd-side { margin-top: var(--s5); }
  .bd-year { font-size: 40vw; }
  .sk-glyph { position: static; width: 34vw; margin-bottom: var(--s3); }
  .pop4 { grid-template-columns: 1fr 1fr; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); gap: 22px; scrollbar-width: none; }
  .filter { flex: none; }
  .pgrid { row-gap: var(--s5); }
  .pcard, .pcard[data-size] { grid-column: 1 / -1 !important; padding-top: 0 !important; margin-top: 0 !important; }
  .pcard--v .pc-frame, .pcard--s .pc-frame { width: 64%; }
  .pcard--v { display: grid; grid-template-columns: 52% minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .pcard--v .pc-frame { width: 100%; grid-row: 1 / 3; }
  .pcard--v .car-ctrl { grid-column: 2; margin-top: 0; }
  .pcard--v .pc-cap { grid-column: 2; padding-top: 8px; }
  .more-cell { min-height: 0; }
  .more-cell { aspect-ratio: auto; }
  .more-cell .btn--more { padding: var(--s3); font-size: 30px; gap: 10px; }
  .more-sub { margin-top: 0; }
  .wt-head .brand-logo { justify-self: start; width: 170px; }
  .wt-collage { gap: var(--s3); }
  .wt-collage li { grid-column: auto !important; }
  .wt-collage li:has(.r-v) { flex-basis: 52% !important; }
  .pcard[data-size="12"] .pc-frame.is-h { aspect-ratio: 16 / 9; }
  .univers-title { font-size: 17vw; }
  .univers-title > span:nth-child(2) { padding-left: 0; }
  .univers-bg { font-size: 70vw; bottom: 0; }
  .attente-list { grid-template-columns: 1fr 1fr; }
  .pc-vid a { white-space: normal; }
  .pcard[data-size="12"] .media { aspect-ratio: 16 / 9; }
  .irow button { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; }
  .ir-client { grid-column: 1; } .ir-name { grid-column: 1; } .ir-period { grid-column: 1; }
  .ir-tag { grid-column: 2; grid-row: 1; } .ir-go { grid-column: 2; grid-row: 3; justify-self: end; }

  .about-art, .about-text { grid-column: 1 / -1; position: static; }
  .hors-item { grid-template-columns: 1fr; }
  .wt-head { grid-template-columns: 1fr; gap: var(--s3); }
  .brand-logo { width: 104px; }
  .reg { display: none; }
  .hors-media { max-width: 240px; margin-inline: auto; }
  .hero-index li:nth-child(2) .print { translate: none; }
  .about-art { max-width: 420px; }
  .skills { columns: 1; }
  .foot-grid > * { grid-column: 1 / -1 !important; justify-self: start !important; }
  .fab { display: block; position: fixed; right: var(--m); bottom: 16px; z-index: 55; padding: 14px 18px; background: var(--noir); color: var(--creme); font: 700 13px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
  .modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .cartel > div { grid-template-columns: 7.5em 1fr; }
}

/* ---------- 18. Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .lines > span, .nl-in > span, [data-reveal], .vcard, .pcard, .ix, .irow, .pop4 .pop4-cell { opacity: 1 !important; transform: none !important; }
  .hl { background-size: 100% 84% !important; }
  .poster .poster-title { clip-path: none !important; }
  .band-track { flex-wrap: wrap; width: auto; }
}

/* ---------- 19. Lecteurs vidéo : toujours entiers à l'écran (téléphone vertical/horizontal, ordinateur) ----------
   --lecteur-h = hauteur disponible dans la fiche, moins la place du bouton Fermer et du lien « Voir sur… »
   (140 px sur téléphone : la phrase du lien y tient sur deux lignes).
   La largeur découle de cette hauteur, donc le format 16:9 ou 9:16 est conservé sans jamais dépasser l'écran. */
.modal { --lecteur-h: calc(92vh - 120px); }
@supports (height: 1dvh) { .modal { --lecteur-h: calc(92dvh - 120px); } }
.player.r-h { width: min(100%, calc(var(--lecteur-h) * 16 / 9)); }
.player.r-v { width: min(360px, 100%, calc(var(--lecteur-h) * 9 / 16)); }
/* Instagram : largeur fixe (son lecteur a besoin d'au moins 326 px), hauteur limitée à l'écran */
.player.r-v.player--instagram { width: min(360px, 100%); height: min(78vh, 760px, var(--lecteur-h)); }
/* Lien de secours : zone tactile de 44 px de haut, sans changer le texte */
.player-alt a { display: inline-block; padding-block: 15px; }
@media (max-width: 720px) {
  .modal { --lecteur-h: calc(100vh - 140px); }
  @supports (height: 1dvh) { .modal { --lecteur-h: calc(100dvh - 140px); } }
}
/* Téléphone à l'horizontale : très peu de hauteur, on réserve moins de marge */
@media (max-height: 500px) {
  .modal { --lecteur-h: calc(92vh - 64px); }
  @supports (height: 1dvh) { .modal { --lecteur-h: calc(92dvh - 64px); } }
}

/* ---------- 20. Fenêtre de contact (« Écris-moi ») ----------
   Même matière que la fiche projet (papier tramé, cadre noir) + ombre pleine rouge façon tirage pop-art. */
.cmodal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 2px solid var(--noir);
  background: var(--dots-fine), var(--papier); color: var(--noir); overflow: auto; box-shadow: 12px 14px 0 var(--rouge); }
.cmodal[open] { animation: cm-in var(--d2) var(--ease); }
@keyframes cm-in { from { opacity: 0; transform: translateY(24px) rotate(-1.2deg); } }
.cmodal::backdrop { background: color-mix(in srgb, var(--noir) 80%, transparent); }
.cm-inner { position: relative; display: grid; gap: var(--s3); padding: clamp(24px, 5vw, 48px); }
.cm-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: var(--noir); color: var(--creme); border: 0; cursor: pointer; font: 700 26px/1 var(--f); transition: background var(--d1) var(--ease), color var(--d1) var(--ease); }
.cm-x:hover, .cm-x:focus-visible { background: var(--rouge); color: var(--noir); }
.cm-title { padding-right: 56px; }
.cm-mail { padding: 14px 16px; background: var(--blanc); border: 1.5px solid var(--noir); font: 800 clamp(19px, 4.6vw, 28px)/1.2 var(--f); overflow-wrap: anywhere; user-select: all; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cm-actions .btn { flex: 1 1 220px; }
.cm-status { min-height: 1.4em; font-weight: 700; }
