/* This is Yan Haltey — portfolio (v2). Collage couleur, choisi par Yan le 28.11.2026 après la
   galerie sobre (« le site est nu ») : capitales énormes, photos posées de travers. Puis, à sa
   demande, ELLE ET LUI : l'écran coupé en deux, rose à gauche (le féminin, la diva) et noir à droite
   (le masculin, le crooner, le rocker), les grands titres coupés à la même ligne.
   Mêmes polices et mêmes couleurs que thisisyan v1 ; le filet or · rose · électrique devient une
   signature discrète au lieu d'un décor. Les classes sont écrites à la main et conservées par le
   compilateur (manifeste : prototypage.conserver_classes). Aucun actif chargé depuis un tiers. */

@font-face { font-family: 'Syne'; src: url('../assets/fonts/syne-latin-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('../assets/fonts/syne-latin-ext-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Instrument Serif'; src: url('../assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url('../assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../assets/fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../assets/fonts/figtree-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --papier: color-mix(in oklab, var(--papier-monde, #ff4fa3), #ff7a1f var(--soleil));
  --clair: color-mix(in oklab, var(--papier), #fff 45%);
  /* Les grands titres coupés : blanc côté rose, rose côté noir (Yan, 28.11.2026). */
  --blanc: #fff;
  /* Le blanc qui ne change jamais, même quand un monde clair fait passer --blanc au noir (js/site.js). */
  --neige: #fff;
  --encre: #0a0a0b;
  --encre-douce: rgb(10 10 11 / .8); /* .64 ne tient pas AA sur le rose */
  --encre-douce-rose: rgb(10 10 11 / .8); /* la même, pour la remettre là où un côté noir l'a changée */
  --filet-couleur: rgb(10 10 11 / .2);
  /* La coupure : rose à gauche, noir à droite. Une boîte centrée la porte au milieu de l'écran. */
  --coupe: linear-gradient(90deg, var(--papier) 50%, var(--encre) 50%);
  --coupe-texte: linear-gradient(90deg, var(--blanc) 50%, var(--papier) 50%);
  /* Le contenu d'une bande pleine largeur reste centré : la coupure tombe au milieu des deux côtés. */
  --gouttiere: max(var(--marge), calc((100% - var(--large)) / 2 + var(--marge)));
  --ombre: 0 1.6rem 3.4rem rgb(10 10 11 / .35);
  --or-vif: #ffb23f;
  --rose: #ff2e7e;
  --rose-ouverture: #ff4fa3;
  --electrique: #4de1ff;
  /* Les variantes lisibles en texte sur papier (contraste AA). */
  --or-profond: #9a5800;
  --rose-profond: #c8135a;
  --electrique-profond: #006e86;
  --signature: linear-gradient(90deg, var(--or-vif), var(--rose), var(--electrique));
  --f-titre: 'Syne', 'Arial Black', sans-serif;
  --f-voix: 'Instrument Serif', Georgia, serif;
  --f-texte: 'Figtree', system-ui, sans-serif;
  --marge: clamp(1rem, 4vw, 3.5rem);
  --large: 88rem;
  --lent: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; overflow-x: clip; background: var(--papier); color: var(--encre); font-family: var(--f-texte); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.surtitre { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--encre-douce); }
.surtitre::before { content: ''; flex: none; width: 1.6rem; height: 1px; background: var(--signature); }

.credit { font-size: .8rem; color: var(--encre-douce); }

/* ——— En-tête et pied. L'en-tête reste en haut (sticky), coupé comme l'accueil. Sur téléphone, il
   est noir : une coupure à 50 % y laisserait le menu sans place. */
.entete { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.2rem; padding: .6rem var(--marge); background: var(--encre); color: var(--papier); }
.entete__marque { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
/* LE LOGO À HAUTEUR VARIABLE (Yan, 28.11.2026) : grand en haut de page ; en descendant, la signature rapetisse et
   s'efface, et il ne reste que le « YH » manuscrit. js/site.js pose `est-replie` sur l'en-tête. */
.entete { transition: padding .5s var(--lent); }
.entete__signature { width: auto; height: 3.8rem; transition: height .5s var(--lent), opacity .35s; }
.entete__monogramme { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: auto; height: 2.2rem; opacity: 0; transition: opacity .35s .1s; }
.entete.est-replie .entete__signature { height: 2.2rem; opacity: 0; }
.entete.est-replie .entete__monogramme { opacity: 1; }
.entete__nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.entete__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; text-decoration: none; color: var(--papier); border-bottom: 1px solid transparent; }
.entete__nav a:hover, .entete__nav a[aria-current="page"] { border-bottom-color: var(--papier); }
@media (min-width: 48rem) {
  .entete { padding: .7rem var(--gouttiere); background: var(--coupe); }
  /* Signature blanche à l'origine : noire sur le côté rose. */
  .entete__signature { height: 6.4rem; filter: brightness(0); }
  .entete__monogramme { height: 2.8rem; filter: brightness(0); }
  .entete.est-replie { padding-block: .35rem; }
  .entete.est-replie .entete__signature { height: 2.8rem; }
}

/* Le pied : noir, deux blocs en grand — « Écouter » et les réseaux sociaux (Yan, 28.11.2026) —, puis le
   générique repris de thisisyan v1, puis la ligne des droits. Le corps est une colonne : le pied reste en
   bas même sur une page courte. */
body > main { flex: 1 0 auto; }
/* Les bandes qui arrivent en diagonale (js/site.js) débordent de côté. Le rognage de `body` ne suffit pas (mesuré :
   la page défilait encore de 800 px vers la droite) ; celui de la racine, oui. `clip` et non `hidden` : `sticky`
   continue de fonctionner. */
html { overflow-x: clip; }
.pied { display: grid; gap: clamp(3rem, 7vw, 5.5rem); padding: clamp(3.5rem, 8vw, 6.5rem) var(--gouttiere) 2rem; background: var(--encre); color: var(--papier); }
.pied a { color: inherit; }
.pied__reseaux { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 56rem) { .pied__reseaux { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; } }
.pied__titre { margin: 0 0 1.2rem; font-family: var(--f-titre); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clair); }
.pied__grands { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; container-type: inline-size; }
.pied__grands a { display: inline-flex; align-items: center; gap: .5em; min-height: 2.75rem; font-family: var(--f-titre); font-weight: 800; font-size: min(3.6rem, 6.6cqi); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; } /* « Apple Music » et « YouTube Music » tiennent sur une ligne (Yan) : la taille suit la colonne */
.pied__grands a::after { content: '\2197\FE0E'; font-size: .45em; opacity: 0; transform: translate(-.3em, .3em); transition: opacity .3s, transform .4s var(--lent); }
.pied__grands a:hover::after, .pied__grands a:focus-visible::after { opacity: 1; transform: none; }
/* Le défilé : toutes les œuvres glissent de gauche à droite, sans fin, juste avant le pied (Yan, 28.11.2026).
   Deux fois la même liste ; la piste glisse d'une liste exactement, puis recommence : la couture ne se voit pas.
   Le survol l'arrête, pour qu'on puisse cliquer. En mouvement réduit, elle ne bouge pas et se fait défiler à la main. */
.defile { overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem); background: var(--encre); }
.defile__piste { display: flex; width: max-content; animation: defile 180s linear infinite; }
.defile:hover .defile__piste, .defile:focus-within .defile__piste { animation-play-state: paused; }
.defile__liste { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); margin: 0; padding: 0 clamp(1rem, 2.5vw, 2rem) 0 0; list-style: none; }
.defile__lien { display: block; }
.defile__image { display: block; width: auto; height: clamp(10rem, 24vw, 20rem); transition: opacity .4s var(--lent); }
.defile__lien:hover .defile__image { opacity: .8; }
@keyframes defile { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* Les anomalies des mondes (js/site.js) : discrètes, elles ne se posent que sur l'ouverture qui les porte. `scale`
   et `translate` s'ajoutent à la rotation des photos au lieu de la remplacer. */
.defile--contre .defile__piste { animation-direction: reverse; }
.defile--lent .defile__piste { animation-duration: 420s; }
/* Le miroir retourne aussi le dégradé des lettres : on l'inverse d'avance, pour que chaque moitié garde sa couleur. */
.ouverture[data-monde~="miroir-titre"] .ouverture__titre { scale: -1 1; background-image: linear-gradient(90deg, var(--papier) 50%, var(--blanc) 50%); }

/* Le générique, repris de thisisyan v1 (Yan, 28.11.2026 : « on reprend ce principe »). Comme à la fin d'un film :
   les noms montent au rythme du défilement dans un écran fixé au milieu de la fenêtre, puis la signature de Yan se
   retrace à la plume (`js/site.js`). Sans le script, ou en mouvement réduit, il est simplement posé. */
.generique__ecran { position: relative; height: min(64vh, 38rem); overflow: hidden; -webkit-mask: linear-gradient(transparent, var(--encre) 18%, var(--encre) 82%, transparent); mask: linear-gradient(transparent, var(--encre) 18%, var(--encre) 82%, transparent); }
/* Le générique passe sur la coupure, comme l'ouverture (Yan, 28.11.2026 : pas d'écran tout noir) : la couleur du
   monde à gauche, le noir à droite, pleine largeur (border-image déborde de 100vw de chaque côté sans rien élargir).
   Les noms sont coupés à la même ligne que le grand titre, avec les mêmes couleurs. */
.generique { border-image: var(--coupe) fill 0 / 0 / 0 100vw; }
/* Les noms s'écrivent de gauche à droite en entrant au milieu de l'écran (js/site.js pose les deux classes). */
.generique--plume .generique__roles dt, .generique--plume .generique__roles dd { clip-path: inset(-.2em 100% -.2em 0); }
.generique--plume .generique__roles .est-ecrit { animation: ecrire 1.1s cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes ecrire { from { clip-path: inset(-.2em 100% -.2em 0); } to { clip-path: inset(-.2em 0 -.2em 0); } }
/* Le générique éclaté, à partir du deuxième monde (js/site.js) : un seul écran, chaque rôle de travers. */
.generique--eclate { height: auto; }
.generique--eclate .generique__ecran { position: static; height: auto; overflow: visible; -webkit-mask: none; mask: none; }
.generique--eclate .generique__defile { transform: none; padding-block: clamp(2.5rem, 7vh, 4.5rem); }
.generique--eclate .generique__roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.2rem, 3vh, 2.4rem) clamp(1.5rem, 4vw, 4rem); max-width: 72rem; }
.generique--eclate .generique__roles dt, .generique--eclate .generique__roles dd { clip-path: none; animation: none; }
.generique--eclate .generique__signature, .generique--eclate .generique__plume { width: min(40vw, 14rem); }
.generique.est-pret .generique__ecran { position: sticky; top: calc((100vh - min(64vh, 38rem)) / 2); }
.generique__defile { display: grid; justify-items: center; gap: clamp(2rem, 5vh, 3.2rem); padding-block: 2rem; }
.generique.est-pret .generique__defile { will-change: transform; }
/* LE DOUBLE GÉNÉRIQUE (Yan, 28.11.2026 : « trop long […] au milieu, ça ne va pas avec les textes […] un double
   générique gauche-droite, ça fait plus court »). Deux colonnes qui défilent ensemble, chacune entièrement de son
   côté de la coupure : à gauche sur la couleur, à droite sur le noir. Deux fois plus court. */
.generique__colonnes { justify-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--marge) * 2); align-items: start; }
.generique__colonnes .generique__roles dt, .generique__colonnes .generique__roles dd { background: none; -webkit-text-fill-color: currentColor; overflow-wrap: anywhere; }
.generique__colonnes .generique__roles--gauche dt { color: var(--encre-douce); }
.generique__colonnes .generique__roles--gauche dd { color: var(--blanc); }
.generique__colonnes .generique__roles--droite dt { color: var(--clair); }
.generique__colonnes .generique__roles--droite dd { color: var(--papier); }
.generique__roles { display: grid; gap: clamp(2rem, 5vh, 3.2rem); margin: 0; text-align: center; }
.generique__roles > div { display: grid; gap: .45rem; }
.generique__roles dt { margin-bottom: .4rem; font-family: var(--f-titre); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--encre-douce); background: linear-gradient(90deg, var(--encre-douce) 50%, var(--clair) 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.generique__roles dd { margin: 0; font-family: var(--f-voix); font-size: clamp(1.15rem, 2.8vw, 2.4rem); line-height: 1.15; color: var(--neige); background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.generique__roles dd a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: text-decoration-color .3s, color .3s; }
.generique__roles dd a:hover, .generique__roles dd a:focus-visible { text-decoration-color: var(--neige); }
.generique__signature, .generique__plume { display: block; width: min(70vw, 30rem); height: auto; filter: drop-shadow(0 0 1.4rem color-mix(in srgb, var(--papier) 40%, transparent)); }
.generique.est-pret .generique__signature { visibility: hidden; }
.generique__plume { position: relative; }
.generique__plume .generique__signature { width: 100%; filter: none; visibility: hidden; }
.generique__plume svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.generique__pointe { fill: var(--papier); }
.generique__devise { margin: 0; font-family: var(--f-voix); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--papier); background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; transition: opacity 1.2s; }
.generique.est-signe .generique__devise, .generique:not(.est-pret) .generique__devise { opacity: 1; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 2rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--papier) 25%, transparent); font-size: .85rem; color: var(--clair); }
.pied__droits { margin: 0; display: inline-flex; align-items: center; min-height: 2.75rem; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: 0; padding: 0; list-style: none; }
.pied__liens a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ——— Accueil : ouverture, ELLE à gauche sur le rose, LUI à droite sur le noir. Une grille sur les
   enfants DIRECTS de la section (la compilation aplatit les enveloppes). Le titre passe par-dessus les
   deux photos, blanc côté rose et rose côté noir : son dégradé est rogné au texte, et sa
   boîte, centrée, a son milieu au milieu de l'écran. */
.ouverture { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; column-gap: calc(var(--marge) * 2); row-gap: 0; padding: clamp(1.5rem, 5vh, 3.5rem) var(--gouttiere) clamp(3rem, 9vh, 6rem); background: var(--coupe); }
.ouverture { --titre-ouverture: clamp(2.6rem, 12vw, 13rem); }
.ouverture__titre { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; margin: 0 0 1.4rem; font-family: var(--f-titre); font-weight: 800; font-size: var(--titre-ouverture); line-height: .84; letter-spacing: -.04em; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; color: var(--blanc); background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ouverture__elle, .ouverture__lui { grid-row: 2; align-self: start; margin: 0; box-shadow: var(--ombre); } /* start : le cadre suit la photo, en largeur comme en hauteur */
.ouverture__elle { grid-column: 1; transform: rotate(-3deg); }
.ouverture__lui { grid-column: 2; transform: rotate(3deg); }
.ouverture__elle img, img.ouverture__elle, .ouverture__lui img, img.ouverture__lui { display: block; width: auto; max-width: 100%; height: auto; max-height: 82vh; } /* entière, jamais recadrée : la signature incrustée en bas à droite doit rester visible (Yan, 28.11.2026) */
.ouverture__elle, .ouverture__lui { width: fit-content; max-width: 100%; }
.ouverture__lui { justify-self: end; }
.ouverture__credit { grid-column: 1; grid-row: 3; margin: 1.4rem 0 0; font-family: var(--f-titre); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.ouverture__credit--lui { grid-column: 2; color: var(--clair); }
/* Le crédit juste sous sa photo, au même angle (Yan, 29.11.2026 : « ils devraient être juste dessous, avec l'angle
   de la photo »). js/site.js enveloppe chaque photo et son crédit dans un cadre qui porte la rotation ; sans script,
   les crédits restent sur leur rangée. Le crédit ne compte pas dans la largeur du cadre : il se plie à la photo. */
.ouverture__cadre { grid-row: 2; align-self: start; min-width: 0; width: fit-content; max-width: 100%; }
.ouverture__cadre--elle { grid-column: 1; transform: rotate(-3deg); }
.ouverture__cadre--lui { grid-column: 2; justify-self: end; transform: rotate(3deg); }
.ouverture__cadre .ouverture__elle, .ouverture__cadre .ouverture__lui { transform: none; margin-top: 0; }
.ouverture__cadre .ouverture__credit { contain: inline-size; margin: .9rem 0 0; }
.ouverture__phrase { grid-column: 1; grid-row: 4; margin: 1.6rem 0 0; font-family: var(--f-voix); font-style: italic; font-size: clamp(1.3rem, 2.8vw, 2.4rem); line-height: 1.2; }
@media (min-width: 56rem) {
  .ouverture { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; column-gap: 1.5rem; }
  /* Le titre SOUS les photos, jamais dessus (Yan, 28.11.2026 : « mon visage ne doit jamais être couvert »). Les photos
     ne sont plus recadrées : leurs visages tombent n'importe où, et la signature incrustée est dans leur coin bas.
     Le titre tient en deux lignes au plus (« THIS IS YAN / HALTEY »), sans lettre orpheline. */
  .ouverture { --titre-ouverture: clamp(2.6rem, 8.6vw, 7.8rem); }
  .ouverture__elle, .ouverture__lui { grid-row: 1; }
  .ouverture__elle { grid-column: 1 / 6; }
  .ouverture__lui { grid-column: 8 / 13; margin-top: 8vh; }
  .ouverture__credit { grid-column: 1 / 6; grid-row: 2; margin-top: 1.4rem; }
  .ouverture__titre { grid-row: 3; align-self: start; margin: clamp(1.4rem, 4vh, 2.6rem) 0 0; }
  .ouverture__credit--lui { grid-column: 8 / 13; }
  .ouverture__phrase { grid-column: 1 / 6; grid-row: 4; }
  .ouverture__cadre { grid-row: 1; }
  .ouverture__cadre--elle { grid-column: 1 / 6; }
  .ouverture__cadre--lui { grid-column: 8 / 13; margin-top: 8vh; }
}

/* ——— La galerie : la même pour l'accueil, le catalogue et les voisines d'une fiche.
   En colonnes, chaque œuvre garde son format : rien n'est rogné. */
.galerie { columns: 3 18rem; column-gap: clamp(1.2rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; }
.galerie--voisines { columns: 3 14rem; }
.oeuvre { break-inside: avoid; margin: 0 0 clamp(2rem, 5vw, 3.6rem); }
.oeuvre[hidden] { display: none; }
.oeuvre__lien { display: block; text-decoration: none; }
.oeuvre__image { width: 100%; background: rgb(10 10 11 / .1); transition: opacity .5s var(--lent); }
.oeuvre__lien:hover .oeuvre__image { opacity: .86; }
.oeuvre__legende { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; padding-top: .9rem; }
.oeuvre__titre { margin: 0; font-weight: 400; font-family: var(--f-voix); font-size: 1.4rem; line-height: 1.12; }
.oeuvre__discipline { margin: 0; grid-column: 2; grid-row: 1; align-self: baseline; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre-douce); }
.oeuvre__credit { margin: 0; grid-column: 1 / -1; font-size: .8rem; color: var(--encre-douce); }

/* ——— Accueil : sélection, coupée comme l'ouverture. Les œuvres impaires tombent côté rose, les
   paires côté noir : l'ordre de la sélection alterne elle et lui. Le HTML reste celui de la galerie. */
.selection { padding: clamp(2rem, 6vh, 4rem) var(--gouttiere) clamp(4rem, 12vh, 8rem); background: var(--coupe); }
.selection__tete { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 6vh, 4rem); }
.selection__titre { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.6rem, 11vw, 11rem); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; text-align: center; color: var(--blanc); background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Un morceau de la sélection entre deux textes : sans titre, moins d'air en haut. */
.selection--suite { padding-top: clamp(2.5rem, 7vh, 5rem); padding-bottom: clamp(1rem, 4vh, 3rem); }
.galerie--selection { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--marge) * 2); align-items: start; }
.galerie--selection .oeuvre { margin: 0 0 2.4rem; }
.galerie--selection .oeuvre:nth-child(odd) { grid-column: 1; }
.galerie--selection .oeuvre:nth-child(even) { grid-column: 2; --encre-douce: var(--clair); color: var(--papier); }
.galerie--selection .oeuvre__lien { transition: transform .6s var(--lent); }
.galerie--selection .oeuvre__image { box-shadow: var(--ombre); }
.galerie--selection .oeuvre__legende { grid-template-columns: minmax(0, 1fr); }
.galerie--selection .oeuvre__discipline { grid-column: 1; grid-row: auto; }
.galerie--selection .oeuvre__titre { font-family: var(--f-titre); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.galerie--selection .oeuvre:nth-child(odd) .oeuvre__lien { transform: rotate(-2deg); }
.galerie--selection .oeuvre:nth-child(even) .oeuvre__lien { transform: rotate(2.5deg); }
.galerie--selection .oeuvre .oeuvre__lien:hover { transform: rotate(0deg) scale(1.03); }
@media (min-width: 56rem) {
  .galerie--selection { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .galerie--selection .oeuvre { margin: 0 0 4rem; }
  .galerie--selection .oeuvre__legende { grid-template-columns: minmax(0, 1fr) auto; }
  .galerie--selection .oeuvre__discipline { grid-column: 2; grid-row: 1; }
  .galerie--selection .oeuvre:nth-child(6n+1) { grid-column: 1 / 6; }
  .galerie--selection .oeuvre:nth-child(6n+2) { grid-column: 8 / 12; margin-top: 8rem; }
  .galerie--selection .oeuvre:nth-child(6n+3) { grid-column: 2 / 6; margin-top: -4rem; }
  .galerie--selection .oeuvre:nth-child(6n+4) { grid-column: 9 / 13; margin-top: 2rem; }
  .galerie--selection .oeuvre:nth-child(6n+5) { grid-column: 1 / 5; margin-top: -2rem; }
  .galerie--selection .oeuvre:nth-child(6n) { grid-column: 8 / 13; margin-top: 4rem; }
}

/* ——— Accueil : disciplines. Des bandes pleine largeur, rose et noir en alternance. */
.discipline { display: grid; grid-template-columns: minmax(0, 1fr); padding: clamp(3rem, 9vh, 6rem) var(--gouttiere); background: var(--papier); }
.discipline--musique, .discipline--ecriture, .discipline--animateur, .discipline--nuit { --encre-douce: var(--clair); background: var(--encre); color: var(--papier); } /* les facettes reprises de thisisyan v1 (Orateur, Animateur) suivent l'alternance rose / noir */
.discipline__nom { margin: 0 0 .8rem; font-family: var(--f-titre); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-douce); }
.discipline { container-type: inline-size; }
/* La taille suit la LARGEUR DE LA BANDE (cqi), pas celle de l'écran : le mot le plus long des trois langues
   (« EINZIGARTIGER », treize lettres) doit tenir dans sa colonne — sur téléphone toute la bande, à partir de 56rem
   un peu plus de la moitié (mesuré le 28.11.2026 : il débordait sur le texte voisin). */
.discipline__accroche { margin: 0 0 1.4rem; font-family: var(--f-titre); font-weight: 800; font-size: min(3.2rem, 6.6cqi); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: break-word; }
@media (min-width: 56rem) { .discipline__accroche { font-size: min(4.6rem, 3.5cqi); } }
.discipline__texte { margin: 0 0 1.4rem; font-size: clamp(1.1rem, .9rem + .75vw, 1.5rem); line-height: 1.6; text-align: justify; } /* plus grand : lisible (Yan, 28.11.2026) */
/* Justifié (Yan, 28.11.2026) : la césure évite les trous entre les mots, en français seulement. */
:lang(fr) .discipline__texte { hyphens: auto; }
.discipline__lien { justify-self: start; display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--f-titre); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid currentColor; }
@media (min-width: 52rem) {
  .discipline { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto auto 1fr; column-gap: clamp(2rem, 6vw, 6rem);
    grid-template-areas: "nom texte" "accroche texte" "accroche lien"; }
  .discipline__nom { grid-area: nom; }
  .discipline__accroche { grid-area: accroche; }
  .discipline__texte { grid-area: texte; }
  .discipline__lien { grid-area: lien; align-self: start; }
}

/* ——— Catalogue */
.catalogue-tete { display: grid; gap: 1.6rem; max-width: var(--large); margin: 0 auto; padding: clamp(3rem, 9vh, 6rem) var(--marge) 1.5rem; }
.catalogue-tete__titre { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(3rem, 11vw, 11rem); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; }
.filtres { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; padding-top: 1rem; border-top: 1px solid var(--filet-couleur); }
.filtres button { min-height: 2.75rem; padding: .4rem 0; border: 0; border-bottom: 1px solid transparent; background: none; font: inherit; font-size: .95rem; color: var(--encre-douce); cursor: pointer; }
.filtres button:hover { color: var(--encre); }
.filtres button[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--encre); }
.catalogue { max-width: var(--large); margin: 0 auto; padding: 1.5rem var(--marge) clamp(4rem, 10vh, 7rem); }
.catalogue__vide { color: var(--encre-douce); }

/* ——— Fiche d'une œuvre */
.fiche { display: grid; gap: clamp(2rem, 5vw, 5rem); max-width: var(--large); margin: 0 auto; padding: clamp(2.5rem, 8vh, 5rem) var(--marge); align-items: start; }
@media (min-width: 56rem) {
  .fiche { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .fiche__texte { position: sticky; top: 2rem; }
}
.fiche__visuel { margin: 0; }
.fiche__visuel img { width: 100%; }
.fiche__titre { margin: 1rem 0 1.6rem; font-family: var(--f-voix); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.fiche__corps { max-width: 38rem; margin: 0 0 1.6rem; line-height: 1.75; }
.fiche__credit { margin: 0 0 2rem; font-size: .85rem; color: var(--encre-douce); }
.fiche__credit:has(+ .fiche__credit--artwork) { margin-bottom: .3rem; }
.fiche__ecouter { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; padding: .7rem 1.4rem; border: 1px solid var(--encre); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.fiche__ecouter::after { content: '↗'; }
.fiche__ecouter:hover { background: var(--encre); color: var(--papier); }
.voisines { max-width: var(--large); margin: 0 auto; padding: clamp(3rem, 8vh, 5rem) var(--marge) clamp(4rem, 10vh, 6rem); border-top: 1px solid var(--filet-couleur); }
.voisines__titre { margin: 0 0 2rem; font-family: var(--f-voix); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; }

/* ——— Pages légales */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 9vh, 6rem) var(--marge); }
.legal h1 { font-family: var(--f-voix); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
/* Les pages légales réelles (scripts/poser-legal.php) gardent le balisage de thisisyan.com, dont elles viennent :
   elles prennent ici la mise en page de .legal. */
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 9vh, 6rem) var(--marge); }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) .sb-c-titre { margin: 0 0 1rem; font-family: var(--f-voix); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) .sb-c-surtitre { margin: 0 0 .8rem; font-family: var(--f-titre); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-douce); }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) .sb-c-maj { margin: 0 0 .4rem; font-size: .85rem; color: var(--encre-douce); }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) .sb-c-chapo { margin: 1.6rem 0 2.4rem; font-family: var(--f-voix); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) h2 { margin: 2.6rem 0 .8rem; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) h3 { margin: 1.8rem 0 .5rem; font-size: 1.05rem; }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) .sb-c-texte, :is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) li { line-height: 1.7; }
:is(.sb-s-legal, .sb-s-cgu, .sb-s-donnees-personnelles) a { text-underline-offset: .2em; }

/* Mouvement réduit : les mêmes sélecteurs que les transitions, posés après elles — sans !important. */
@media (prefers-reduced-motion: reduce) {
  .oeuvre__image, .fiche__ecouter, .galerie--selection .oeuvre__lien, .pied__grands a::after, .generique__roles dd a { transition: none; }
  .generique__ecran { height: auto; -webkit-mask: none; mask: none; }
  .defile { overflow-x: auto; }
  .defile__piste { animation: none; }
  .entete, .entete__signature, .entete__monogramme, .entete__nav, .entete__burger span { transition: none; }
  .defile__image { transition: none; }
  .galerie--selection .oeuvre .oeuvre__lien:hover { transform: rotate(0deg); }
}

/* Le lien vers le site principal : la seule sortie de l'en-tête, encadrée pour qu'on la trouve. */
/* LE BURGER (Yan, 28.11.2026 : « optimise le menu avec juste un burger et le logo »). Sous 56rem, l'en-tête ne garde
   que le logo et le burger ; le menu s'ouvre en plein écran, sur le noir, en grand. Au-dessus, rien ne change. */
.entete__burger { display: none; }
@media (max-width: 55.99rem) {
  .entete { flex-wrap: nowrap; }
  .entete__burger { position: relative; z-index: 2; display: grid; place-content: center; gap: 6px; width: 2.9rem; height: 2.9rem; padding: 0; border: 2px solid var(--papier); border-radius: 50%; background: var(--encre); cursor: pointer; }
  .entete__burger span { display: block; width: 1.2rem; height: 2px; background: var(--papier); transition: rotate .35s var(--lent), translate .35s var(--lent), opacity .2s; }
  .entete__burger[aria-expanded="true"] span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
  .entete__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .entete__burger[aria-expanded="true"] span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }
  .entete__nav { position: fixed; inset: 0; z-index: 1; display: grid; place-content: center; padding: 5rem var(--marge) 2rem; background: var(--encre); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .entete.est-ouvert .entete__nav { opacity: 1; visibility: visible; transition: opacity .3s; }
  .entete__nav ul { flex-direction: column; align-items: center; gap: 1.6rem; }
  .entete__nav .entete__vues { flex-direction: column; gap: 1rem; }
  .entete .entete__nav .entete__vues a { font-size: clamp(1.8rem, 9vw, 2.6rem); letter-spacing: .02em; }
  .entete__nav .entete__langues { gap: 1rem; }
  .entete .entete__nav .entete__langues a { font-size: 1rem; }
}
.entete__nav .entete__principal { padding: 0 .9rem; border: 2px solid var(--papier); color: var(--papier); font-family: var(--f-titre); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.entete__vues { display: flex; align-items: center; gap: .9rem; }
.entete__nav .entete__vues a { font-family: var(--f-titre); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.entete__nav .entete__vues a[aria-current] { border-bottom-color: var(--papier); }
.entete__langues { display: flex; align-items: center; gap: .2rem; }
.entete__nav .entete__langues a { padding-inline: .35rem; font-family: var(--f-titre); font-weight: 700; font-size: .72rem; letter-spacing: .12em; }
.entete__nav .entete__langues a[aria-current] { border-bottom-color: var(--papier); }
/* « Tout Yan » (Yan, 29.11.2026, au QCM) : dit où mène le bouton — ici l'art, là-bas tout le reste. */
/* Rééquilibré (Yan, 29.11.2026 : « le Tout Yan prend un peu trop de place ») : une seule ligne, à la hauteur des
   langues, « Tout Yan » et l'adresse côte à côte. */
.entete__nav .entete__principal { flex-wrap: nowrap; align-items: center; column-gap: .6em; min-height: 2.4rem; padding: 0 .75rem; border-width: 1.5px; font-size: .7rem; }
.entete__nav .entete__surtitre { font-family: var(--f-texte); font-weight: 400; font-size: .78rem; letter-spacing: .02em; text-transform: none; }
.entete__nav .entete__surtitre::after { content: '·'; margin-left: .6em; }
.entete__nav .entete__principal::after { content: '\2197\FE0E'; margin-left: .5rem; font-family: var(--f-texte); }
.entete__nav .entete__principal:hover { background: var(--papier); color: var(--encre); border-bottom-color: var(--papier); }

/* ——— Le cookie qu'on croque (js/site.js) : le bandeau du module de consentement, mis en scène. */
/* Le voile (Yan : « que le reste devienne un peu opaque ») : la page s'efface derrière le cookie, sans être bloquée. */
/* Un voile simple, sans flou : le flou sur tout l'écran faisait tomber la page à 15 images par seconde pendant
   qu'on défilait (mesuré le 28.11.2026). */
#sbwp-cnst.croque { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) 1rem; background: rgb(10 10 11 / .74); border: 0; box-shadow: none; pointer-events: none; transition: background .4s, opacity .4s; }
#sbwp-cnst.croque.croque--repondu { background: rgb(10 10 11 / 0); }
/* Le module masque le bandeau une fois le choix fait (`hidden`, posé par le serveur ou par son script) et le fait
   partir pendant l'envoi (`data-sbwp-part`) : la mise en scène ne doit jamais le rallumer. */
#sbwp-cnst.croque[hidden] { display: none; }
#sbwp-cnst.croque[data-sbwp-part] { opacity: 0; }
#sbwp-cnst.croque .sbwp-cnst-boite { display: grid; justify-items: center; gap: 1.1rem; width: min(92vw, 30rem); max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: var(--neige); pointer-events: none; }
#sbwp-cnst.croque .sbwp-cnst-btn, #sbwp-cnst.croque .croque__lien, #sbwp-cnst.croque .sbwp-cnst-panneau { pointer-events: auto; }
#sbwp-cnst.croque .sbwp-cnst-barre { display: grid; justify-items: center; gap: .8rem; width: 100%; padding: 0; }
#sbwp-cnst.croque .sbwp-cnst-mot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#sbwp-cnst.croque .sbwp-cnst-form, #sbwp-cnst.croque .sbwp-cnst-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; width: 100%; margin: 0; }
#sbwp-cnst.croque .sbwp-cnst-detail { display: contents; }
#sbwp-cnst.croque .sbwp-cnst-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.3rem; border: 2px solid var(--papier); border-radius: 999px; background: var(--encre); color: var(--papier); font-family: var(--f-titre); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; list-style: none; box-shadow: 0 .6rem 1.6rem rgb(10 10 11 / .35); transition: background .25s, color .25s, transform .3s var(--lent); }
#sbwp-cnst.croque .sbwp-cnst-btn::-webkit-details-marker { display: none; }
#sbwp-cnst.croque .sbwp-cnst-btn:hover, #sbwp-cnst.croque .sbwp-cnst-btn:focus-visible { background: var(--papier); color: var(--encre); transform: translateY(-2px); }
/* « Ça dépend lesquels » : les choix prennent la place du cookie, au centre, au lieu de sortir au-dessus du bandeau
   comme le module les place (Yan, 28.11.2026 : « la fenêtre est un peu mal placée »). */
#sbwp-cnst.croque .sbwp-cnst-panneau { position: static; order: 0; width: 100%; max-height: min(60vh, 32rem); margin: 0 0 .4rem; padding: 1.2rem; overflow-y: auto; border: 2px solid var(--papier); border-radius: 1.2rem; background: var(--encre); color: var(--neige); box-shadow: 0 1rem 2.4rem rgb(10 10 11 / .5); text-align: left; }
/* L'interrupteur sur le fond noir : la pastille et le rail du module, noirs sur noir, ne se voyaient pas. Allumé :
   rail rose, pastille à droite ; éteint : rail gris, pastille à gauche (l'état se lit aussi à la position). */
#sbwp-cnst.croque .sbwp-cnst-rail { background: #3a3a3e; box-shadow: inset 0 0 0 1px #6b6b70; }
#sbwp-cnst.croque .sbwp-cnst-rail::after { background: var(--neige); }
#sbwp-cnst.croque .sbwp-cnst-bascule input:checked + .sbwp-cnst-rail { background: var(--papier); box-shadow: none; }
#sbwp-cnst.croque:has(.sbwp-cnst-detail[open]) :is(.croque__scene, .sbwp-cnst-btn[value="tout"], .sbwp-cnst-btn[value="refus"], .sbwp-cnst-plus) { display: none; }
/* « J'adore » et « Pas trop » d'abord, côte à côte et de même largeur ; « Ça dépend lesquels » dessous. */
#sbwp-cnst.croque .sbwp-cnst-btn[value="tout"] { order: 1; flex: 1 1 9rem; max-width: 13rem; }
#sbwp-cnst.croque .sbwp-cnst-btn[value="refus"] { order: 2; flex: 1 1 9rem; max-width: 13rem; }
#sbwp-cnst.croque .sbwp-cnst-plus { order: 3; flex-basis: 100%; max-width: 20rem; }
#sbwp-cnst.croque.croque--repondu .sbwp-cnst-barre, #sbwp-cnst.croque.croque--repondu .croque__lien { opacity: 0; transition: opacity .3s; pointer-events: none; }
#sbwp-cnst.croque .croque__lien { padding: .3rem .6rem; border-radius: 999px; background: rgb(10 10 11 / .7); color: var(--neige); font-size: .8rem; text-underline-offset: .2em; }
.croque__scene { width: min(62vw, 17rem); aspect-ratio: 1; filter: drop-shadow(0 1.4rem 2.2rem rgb(10 10 11 / .45)); animation: croque-flotte 5s ease-in-out infinite alternate; transition: opacity .35s, scale .35s; }
.croque__biscuit { display: block; width: 100%; height: 100%; overflow: visible; animation: croque-tourne 38s linear infinite; }
/* Un cookie glacé couleur électrique (Yan : « une couleur un petit peu funky »), pépites noires et roses. */
.croque__pate { fill: var(--electrique); }
.croque__cuisson { fill: none; stroke: #13a9c9; stroke-width: 10; opacity: .7; }
.croque__pepite { fill: var(--encre); }
.croque__pepite:nth-of-type(3n) { fill: var(--rose); }
.croque__question { font-family: var(--f-titre); font-weight: 800; font-size: 11.5px; text-transform: uppercase; fill: var(--encre); }
.croque__secousse { animation: croque-tourne 38s linear infinite, croque-secousse .3s ease-out; }
.croque__parti { opacity: 0; scale: .7; }
.croque__eclate { opacity: 0; scale: 1.25; }
.miette { position: fixed; z-index: 1001; border-radius: 45% 55% 40% 60%; background: var(--electrique); pointer-events: none; }
.miette--pepite { background: var(--rose); }
@keyframes croque-tourne { to { rotate: 360deg; } }
@keyframes croque-flotte { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes croque-secousse { 30% { translate: -6px 3px; } 60% { translate: 5px -2px; } }
@media (prefers-reduced-motion: reduce) {
  .croque__scene, .croque__biscuit { animation: none; }
}

/* ——— Le pied qui tourne (js/site.js). À chaque tour, une bande — les réseaux OU la musique — puis le générique ou le
   pied fou (Yan, 29.11.2026 : « mes réseaux doivent arriver plus souvent […] une bande pour les réseaux et une pour les
   plateformes de musique, l'un ou l'autre »). */
.pied[data-tour]:not([data-tour~="generique"]) > .generique,
.pied[data-tour]:not([data-tour~="pied"]) > .pied__bas { display: none; }
html[data-bande="reseaux"] .bande-sociale [aria-labelledby="pied-ecouter"],
html[data-bande="ecouter"] .bande-sociale [aria-labelledby="pied-reseaux"] { display: none; }
/* La bande, au milieu de l'Expérience (js/site.js) : sur le noir, en grand, centrée. */
.bande-sociale { display: grid; justify-items: center; padding: clamp(3rem, 9vh, 6rem) var(--gouttiere); background: var(--encre); color: var(--papier); text-align: center; }
.bande-sociale .pied__reseaux { grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; }
.bande-sociale .pied__bloc { width: min(100%, 56rem); }
.bande-sociale .pied__grands { justify-items: center; }

/* Le pied de page fou. */
.pied[data-tour~="pied"] .pied__bas { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: clamp(2rem, 6vh, 4rem); min-height: 60vh; padding-block: clamp(3rem, 8vh, 6rem); border-top: 0; text-align: center; }
.pied[data-tour~="pied"] .pied__droits { display: block; max-width: 100%; margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.8rem, 5.5vw, 4.6rem); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; } /* plus petit (Yan, 28.11.2026 : « c'est trop gros ») */
.pied__mot { display: inline-block; white-space: nowrap; }
.pied__lettre { display: inline-block; rotate: var(--r, 0deg); translate: 0 var(--y, 0); transition: rotate .6s var(--lent), translate .6s var(--lent); }
/* Le © redevient un petit signe, posé droit, sans tourner (Yan : « enlève ce gros rond »). */
.pied[data-tour~="pied"] .pied__lettre--copy { --r: 0deg; --y: -.35em; font-size: .4em; vertical-align: top; color: var(--neige); }
.pied[data-tour~="pied"] .pied__droits:hover .pied__lettre { --r: 0deg; --y: 0; }
.pied[data-tour~="pied"] .pied__liens { justify-content: center; gap: 1.8rem 1.4rem; width: 100%; max-width: 60rem; }
.pied[data-tour~="pied"] .pied__liens li { max-width: 100%; }
.pied[data-tour~="pied"] .pied__liens li { rotate: var(--r, 0deg); translate: var(--x, 0) var(--y, 0); transition: rotate .4s var(--lent), translate .4s var(--lent), scale .4s var(--lent); }
.pied[data-tour~="pied"] .pied__liens a { min-height: 2.9rem; padding: 0 1.2rem; border-radius: 999px; background: var(--papier); color: var(--encre); font-family: var(--f-titre); font-weight: 700; font-size: clamp(.68rem, 2.6vw, .85rem); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; box-shadow: .3rem .4rem 0 var(--neige); }
.pied[data-tour~="pied"] .pied__liens li[data-teinte="1"] a { background: var(--encre); color: var(--papier); box-shadow: inset 0 0 0 2px var(--papier), .3rem .4rem 0 var(--papier); }
.pied[data-tour~="pied"] .pied__liens li[data-teinte="2"] a { background: var(--neige); box-shadow: .3rem .4rem 0 var(--papier); }
.pied[data-tour~="pied"] .pied__liens li:hover, .pied[data-tour~="pied"] .pied__liens li:focus-within { --r: 0deg; --x: 0; --y: 0; scale: 1.08; }

/* ——— La page introuvable (templates/404.html). Carrée, sur la coupure du site : un « 404 » géant dont le zéro est le
   cookie de la bannière, qui tourne ; les deux 4 de travers se dérèglent de temps en temps. Deux sorties : Expérience
   et Index. Les mots sont ceux du gabarit d'origine (Yan, 28.11.2026 : « funky, mais carré »). */
.introuvable { display: grid; justify-items: center; align-content: center; gap: clamp(1rem, 3vh, 1.6rem); min-height: 84vh; padding: clamp(3rem, 10vh, 6rem) var(--gouttiere); background: var(--coupe); text-align: center; }
.introuvable__code { display: flex; align-items: center; justify-content: center; gap: .06em; margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(7rem, 28vw, 20rem); line-height: .8; letter-spacing: -.04em; }
.introuvable__chiffre { display: inline-block; }
.introuvable__chiffre:first-child { color: var(--blanc); rotate: -7deg; animation: introuvable-derape 7s steps(1, end) infinite; }
.introuvable__chiffre:last-child { color: var(--papier); rotate: 6deg; animation: introuvable-derape 7s steps(1, end) 3.4s infinite; }
.introuvable__zero { display: inline-block; width: .78em; aspect-ratio: 1; filter: drop-shadow(0 .06em .12em rgb(10 10 11 / .45)); }
.introuvable__zero svg { display: block; width: 100%; height: 100%; animation: croque-tourne 24s linear infinite; }
.introuvable__titre { margin: 0; font-family: var(--f-voix); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.05; color: var(--blanc); background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.introuvable__texte { margin: 0; max-width: 34ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--encre-douce); background: linear-gradient(90deg, var(--encre-douce) 50%, var(--clair) 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.introuvable__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.introuvable__liens li:first-child { rotate: -4deg; }
.introuvable__liens li:last-child { rotate: 3deg; }
.introuvable__liens a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.6rem; border-radius: 999px; background: var(--encre); color: var(--papier); font-family: var(--f-titre); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 0 0 2px var(--papier), .3rem .4rem 0 var(--neige); transition: rotate .4s var(--lent), scale .4s var(--lent); }
.introuvable__liens li:last-child a { background: var(--neige); color: var(--encre); box-shadow: .3rem .4rem 0 var(--papier); }
.introuvable__liens li:hover, .introuvable__liens li:focus-within { rotate: 0deg; scale: 1.06; }
@keyframes introuvable-derape { 0%, 90% { translate: 0 0; clip-path: none; } 92% { translate: -.04em 0; clip-path: inset(10% 0 55% 0); } 94% { translate: .05em 0; clip-path: inset(55% 0 8% 0); } 96% { translate: -.02em 0; clip-path: none; } }
@media (prefers-reduced-motion: reduce) {
  .introuvable__chiffre, .introuvable__zero svg { animation: none; }
}

/* ——— Le temps (js/site.js) : l'usure de la boucle, le déjà-vu, le générique vivant, l'heure du soleil. */
/* Une photo ne déteint JAMAIS : elle garde ses couleurs d'origine (Yan, 28.11.2026 : « cette photo est verte »).
   L'usure ne se voit qu'aux glitchs plus fréquents ; le déjà-vu penche autrement, sans toucher aux couleurs. */
/* Une photo n'est jamais retournée non plus (Yan, 29.11.2026 : « les photos inversées, j'aime pas ») : le déjà-vu
   penche les cadres dans l'autre sens, la photo reste telle qu'elle a été prise, signature lisible. */
.ouverture[data-monde~="deja-vu"] .ouverture__cadre--elle { transform: rotate(3deg); }
.ouverture[data-monde~="deja-vu"] .ouverture__cadre--lui { transform: rotate(-3deg); }
.galerie[data-monde~="deja-vu"] .oeuvre:nth-child(odd) .oeuvre__lien { transform: rotate(2.5deg); }
.galerie[data-monde~="deja-vu"] .oeuvre:nth-child(even) .oeuvre__lien { transform: rotate(-2deg); }
.generique__roles dd { transition: opacity .8s; }
.generique__roles dd.pas-vu { opacity: .38; }
/* L'heure du soleil teinte la couleur du monde vers l'orangé, puis la rend : le fond bouge, jamais les photos. */
@property --soleil { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
html.heure-du-soleil { animation: heure-du-soleil 22s ease-in-out forwards; }
@keyframes heure-du-soleil { 0% { --soleil: 0%; } 20%, 75% { --soleil: 70%; } 100% { --soleil: 0%; } }
@media (prefers-reduced-motion: reduce) {
  html.heure-du-soleil { animation: none; }
}

/* ——— D'une page à l'autre, un fondu (Yan, 28.11.2026 : « que les chargements de page soient smooth »). Le
   navigateur s'en charge (transitions entre documents, Chrome et Safari récents) ; ailleurs, la page change comme
   avant. Rien pour qui réduit les animations. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .32s ease-in both fondu-sortie; }
::view-transition-new(root) { animation: .45s ease-out both fondu-entree; }
@keyframes fondu-sortie { to { opacity: 0; } }
@keyframes fondu-entree { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ——— L'œuvre ouverte par-dessus l'Expérience (js/site.js) : plein écran, en fondu, défilement à elle seule ;
   sur la couleur du monde, comme la fiche ouverte seule. */
.calque { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--papier); color: var(--encre); animation: calque-entree .45s ease-out; }
.calque::backdrop { background: var(--encre); opacity: .6; }
.calque.se-ferme { animation: calque-sortie .32s ease-in forwards; }
@keyframes calque-entree { from { opacity: 0; translate: 0 1.5rem; } }
@keyframes calque-sortie { to { opacity: 0; } }
.calque__fermer { position: sticky; top: max(.8rem, env(safe-area-inset-top)); z-index: 3; float: right; display: grid; place-content: center; width: 2.9rem; height: 2.9rem; margin: .8rem var(--marge) 0 0; padding: 0; border: 2px solid var(--encre); border-radius: 50%; background: var(--papier); cursor: pointer; }
.calque__fermer::before, .calque__fermer::after { content: ""; grid-area: 1 / 1; width: 1.2rem; height: 2px; background: var(--encre); rotate: 45deg; }
.calque__fermer::after { rotate: -45deg; }
.calque__contenu { padding-bottom: clamp(3rem, 12vh, 8rem); }
@media (prefers-reduced-motion: reduce) {
  .calque, .calque.se-ferme { animation: none; }
}

/* Le volet tient l'œuvre dans l'écran : la photo entière, son titre à côté (ou dessous sur téléphone). */
.calque .fiche { min-height: 100%; align-content: center; padding-block: clamp(3.5rem, 8vh, 5rem); }
.calque .fiche__visuel img { max-height: 74vh; width: auto; max-width: 100%; }
@media (max-width: 55.99rem) { .calque .fiche__visuel img { max-height: 58vh; } }
/* « Image » à côté de chaque carte n'apprend rien (Yan, 29.11.2026 : « ça sert à rien, faut enlever »). L'Index le garde : on y filtre. */
.galerie--selection .oeuvre__discipline { display: none; }

/* Le volet d'un seul coup d'œil (Yan, 29.11.2026) : rien ne défile, tout tient dans l'écran ; le texte long d'une œuvre
   reste sur sa page à elle. Un geste quelconque ramène dans l'Expérience. */
.calque { overflow: hidden; cursor: s-resize; }
.calque .fiche { height: 100%; min-height: 0; box-sizing: border-box; }
.calque .fiche__corps { display: none; }
@media (max-width: 55.99rem) { .calque .fiche { align-content: center; gap: 1.2rem; } .calque .fiche__titre { margin-bottom: .6rem; } }
.calque__fermer { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; }
.calque__fermer:focus-visible { width: 2.9rem; height: 2.9rem; top: 1rem; right: 1rem; clip-path: none; outline: 2px solid var(--encre); }
.calque__fleche { position: fixed; left: 50%; bottom: max(1.2rem, env(safe-area-inset-bottom)); width: 1.1rem; height: 1.1rem; translate: -50% 0; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); rotate: 45deg; animation: calque-souffle 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes calque-souffle { 0%, 100% { opacity: .35; translate: -50% 0; } 50% { opacity: 1; translate: -50% .5rem; } }
@media (prefers-reduced-motion: reduce) { .calque__fleche { animation: none; opacity: .7; } }

/* L'œuvre au centre, en grand, avec un lent dézoom à l'ouverture — un Ken Burns (Yan, 29.11.2026 : « on devrait
   pouvoir zoomer plus, un effet Ken Burns qui dézoome la photo »). Elle arrive un peu plus grande, puis se pose
   entière : la signature dans son coin reste visible à l'arrivée. Le titre et le crédit dessous, centrés. */
.calque .fiche { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 1rem; max-width: none; text-align: center; }
.calque .fiche__visuel { margin: 0; overflow: hidden; box-shadow: var(--ombre); }
.calque .fiche__visuel img { display: block; max-height: 72vh; animation: ken-burns 9s cubic-bezier(.3, .15, .4, 1) both; /* plus doux (Yan, 29.11.2026) : moins de zoom, plus lent, sans élan au départ */ }
@media (max-width: 55.99rem) { .calque .fiche__visuel img { max-height: 66vh; } }
@keyframes ken-burns { from { scale: 1.1; } to { scale: 1; } }
.calque .fiche__texte { display: grid; justify-items: center; }
.calque .surtitre { display: none; }
.calque .fiche__titre { margin: 0 0 .3rem; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.calque:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .calque .fiche__visuel img { animation: none; } }

/* ——— Du magazine (Yan, 29.11.2026, au QCM) : trois idées reprises de la variante, dans le site lui-même. Toutes
   tiennent à des classes que js/site.js pose ; « ?version=avant » ne les pose pas, et l'on retrouve la version d'avant. */

/* 1. Les textes, seuls (sans photo, Yan, 29.11.2026), gardent la lettrine du magazine. */
.discipline--lettrine .discipline__texte:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; font-family: var(--f-voix); font-size: 4.4em; line-height: .78; }

/* 2. La planche : les œuvres entre deux textes, droites et alignées, légendées — deux de chaque côté de la coupe. */
.galerie--selection.galerie--planche { align-items: end; row-gap: 2.4rem; }
.galerie--selection.galerie--planche .oeuvre { margin: 0; }
.galerie--selection.galerie--planche .oeuvre:nth-child(n) .oeuvre__lien { transform: none; }
/* Le titre d'une planche reste dans sa moitié, avec de l'air avant la coupure (Yan, 29.11.2026 : « le titre déborde, il touche le bord ») : il passe à la ligne au lieu de buter. */
.planche__titre { max-width: calc(50% - var(--gouttiere) - 2rem); margin: 0 0 1.6rem; font-family: var(--f-voix); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.05; text-wrap: balance; color: var(--blanc); }
@media (max-width: 55.99rem) { .planche__titre { max-width: none; } }
@media (min-width: 56rem) {
  /* JAMAIS PLUS DE DEUX PHOTOS PAR RANGÉE (Yan, 29.11.2026 : « afin qu'elles puissent être un peu plus grandes ») :
     une sur la couleur, une sur le noir, chacune dans sa moitié ; la légende prend l'encre de son côté. Une photo
     en hauteur ne dépasse pas l'écran. */
  .galerie--selection.galerie--planche { grid-template-columns: repeat(var(--par-rangee, 2), minmax(0, 1fr)); column-gap: calc(var(--gouttiere) * 2); row-gap: 4rem; } /* le nombre vient de Gneiz › Gallery */
  .galerie--selection.galerie--planche .oeuvre:nth-child(n) { grid-column: auto; margin-top: 0; }
  .galerie--selection.galerie--planche .oeuvre:nth-child(odd) { --encre-douce: var(--encre-douce-rose); color: var(--encre); }
  .galerie--selection.galerie--planche .oeuvre:nth-child(even) { --encre-douce: var(--clair); color: var(--papier); }
  .galerie--selection.galerie--planche .oeuvre__lien img { width: auto; max-width: 100%; max-height: 80vh; }
}

/* Ce que l'image raconte (le texte de l'œuvre), sous sa légende : trois lignes, la suite sur sa fiche. */
.oeuvre__texte { display: -webkit-box; margin: .5rem 0 0; font-size: .9rem; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oeuvre__texte[hidden] { display: none; }
/* Le texte de l'œuvre revient dans le volet, court : quatre lignes au plus, le volet ne défile pas. */
.calque .fiche__corps { display: -webkit-box; max-width: 40rem; margin: .4rem auto 0; font-size: 1rem; line-height: 1.5; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* L'œuvre se désintègre (js/site.js) : la poussière passe par-dessus, le texte et la flèche s'effacent avec elle. */
.calque__poussiere { position: fixed; z-index: 4; pointer-events: none; }
.calque.se-desintegre .fiche__visuel { box-shadow: none; }
.calque .fiche__texte, .calque__fleche { transition: opacity 1.1s ease-in .3s; }
.calque.se-desintegre .fiche__texte, .calque.se-desintegre .calque__fleche { opacity: 0; animation: none; }

/* Les disques : une bande pleine largeur, sur le noir, la pochette d'un côté et le texte de l'autre ; elle arrive de
   biais comme les textes (js : biaiser). Le second disque inverse les côtés. */
.disque { display: grid; gap: 1.6rem; padding: clamp(3rem, 9vh, 6rem) var(--gouttiere); background: var(--encre); color: var(--papier); --encre-douce: var(--clair); }
.disque__pochette { display: block; justify-self: center; width: min(100%, 30rem); box-shadow: .6rem .7rem 0 var(--papier); }
.disque__image { display: block; width: 100%; height: auto; }
.disque__texte { display: grid; align-content: center; justify-items: start; min-width: 0; container-type: inline-size; }
.disque__nom { margin: 0 0 .8rem; font-family: var(--f-titre); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-douce); }
.disque__titre { margin: 0 0 .5rem; font-family: var(--f-titre); font-weight: 800; font-size: min(4rem, 7.4cqi); line-height: .92; /* un titre d'un seul mot (RENAISSANCES) passait sous la pochette */ letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: break-word; }
.disque__credit { margin: 0 0 1.2rem; font-size: .9rem; color: var(--encre-douce); }
.disque__corps { max-width: 38rem; margin: 0 0 1.4rem; font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); line-height: 1.6; }
.disque__ecouter { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.4rem; border-radius: 999px; background: var(--papier); color: var(--encre); font-family: var(--f-titre); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.disque__ecouter:hover { background: var(--neige); }
@media (min-width: 56rem) {
  .disque { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  .disque--inverse .disque__pochette { order: 2; }
  .disque--inverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* Remonter au début (js/site.js) : un rond à la flèche, dans l'en-tête, à côté de la signature. */
.entete__haut { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-content: center; width: 2.8rem; height: 2.8rem; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(90deg, var(--encre) 50%, var(--papier) 50%); box-shadow: 0 0 0 1.5px var(--papier); cursor: pointer; transition: scale .25s var(--lent); }
.entete:has(.entete__burger[aria-expanded="true"]) .entete__haut { display: none; } /* menu ouvert : l'en-tête grandit, le bouton n'y a plus sa place */
/* Au milieu, sur la coupure, en deux couleurs (Yan, 29.11.2026) : noir à gauche sur le rose, couleur à droite sur le
   noir ; la flèche prend l'inverse de chaque moitié. */
.entete__haut::before { content: ""; width: .75rem; height: .75rem; margin-top: .35rem; border-left: 2px solid var(--papier); border-top: 2px solid var(--encre); rotate: 45deg; }
.entete__haut:hover, .entete__haut:focus-visible { scale: 1.1; }
.entete__haut:focus-visible { outline: 2px solid var(--blanc); outline-offset: 3px; }
.entete__haut[hidden] { display: none; }

/* « THIS IS YAN HALTEY » en entier dans le premier écran (Yan, 29.11.2026 : « j'aimerais qu'il soit visible en haut,
   en gros »). Sur grand écran, les photos de l'ouverture cèdent la hauteur qu'il faut au titre — elles restent
   entières, jamais recadrées, seulement un peu plus petites sur un écran bas. */
@media (min-width: 56rem) {
  .ouverture { padding-top: clamp(1rem, 3vh, 2rem); }
  .ouverture__cadre--lui { margin-top: 4vh; }
  .ouverture__cadre img { max-height: var(--ouv-max, max(34vh, calc(100svh - var(--titre-ouverture) * 1.75 - 14rem))); }
}

/* ——— La page d'intro (js/site.js). Tant qu'elle se prépare, l'accueil reste caché ; si le script manque, il
   réapparaît de lui-même après quelques secondes. */
html.avec-intro .wp-site-blocks, html.avec-intro body > header, html.avec-intro body > main { visibility: hidden; animation: intro-secours 0s 4s forwards; }
@keyframes intro-secours { to { visibility: visible; } }
.intro { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; background: var(--coupe); cursor: s-resize; transition: translate 1.1s cubic-bezier(.65, 0, .25, 1); }
/* La coupure en deux moitiés qui se retourne (js/site.js) ; à la sortie, chacune part de son côté — un éclat, jamais
   un fondu (un fondu teinterait les photos de l'accueil). */
/* Rose et noir toujours (Yan, 29.11.2026 : « je l'avais pas verte, je l'avais rose ») : la couleur du monde courant
   ne déteint pas sur l'intro. */
.intro { --papier: var(--rose-ouverture); background: var(--encre); }
.intro.se-leve { translate: none; background: transparent; }
/* La coupure tourne sur elle-même, un sens puis l'autre, en accélérant et en freinant (Yan, 29.11.2026). Le carré
   dépasse la diagonale de l'écran : aucun coin ne se découvre pendant la rotation. */
.intro__fond { position: absolute; top: 50%; left: 50%; display: grid; grid-template-columns: 1fr 1fr; width: 150vmax; height: 150vmax; translate: -50% -50%; animation: intro-hesite 5.2s both; }
.intro__fond span:first-child { background: var(--papier); }
.intro__fond span:last-child { background: var(--encre); }
@keyframes intro-hesite {
  0% { rotate: 0deg; animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  42% { rotate: 540deg; animation-timing-function: linear; }
  50% { rotate: 540deg; animation-timing-function: cubic-bezier(.65, 0, .3, 1); }
  84% { rotate: -14deg; animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  92%, 100% { rotate: 0deg; }
}
/* La sortie (Yan, 29.11.2026 : « c'est quand ça tourne : ça fait un balayage, puis ça découvre ») : la coupure
   continue de tourner depuis l'angle où elle en est, et sa ligne balaie l'écran comme une aiguille. Derrière chacune
   des deux moitiés de la ligne, l'accueil apparaît ; après un demi-tour, tout est découvert. Le bord est franc : rien
   de semi-transparent ne passe sur les photos. */
@property --balaye { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.intro__fond { mask-image: repeating-conic-gradient(#000 0deg calc(180deg - var(--balaye)), transparent 0deg 180deg); }
.intro.se-leve .intro__fond { animation: intro-balaie 1.15s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes intro-balaie {
  from { rotate: var(--depart, 0deg); --balaye: 0deg; }
  to { rotate: calc(var(--depart, 0deg) + 180deg); --balaye: 180deg; }
}
.intro.se-leve .intro__centre { scale: 1.25; visibility: hidden; transition: scale .2s ease-out, visibility 0s .2s; }
.intro.se-leve .intro__entrer { visibility: hidden; }
.intro__centre { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; padding: var(--gouttiere); pointer-events: none; animation: intro-flotte 9s cubic-bezier(.3, .1, .4, 1) both; }
@keyframes intro-flotte { from { translate: 0 2vh; } to { translate: 0 -2vh; } }
.intro .generique__plume, .intro .intro__signature { width: min(78vw, 38rem); }
.intro__entrer { position: absolute; left: 50%; bottom: max(1.4rem, env(safe-area-inset-bottom)); z-index: 3; display: grid; place-content: center; width: 3rem; height: 3rem; translate: -50% 0; padding: 0; border: 1.5px solid var(--papier); border-radius: 50%; background: var(--encre); color: var(--papier); cursor: pointer; animation: calque-souffle 1.8s ease-in-out infinite; }
.intro__entrer::before { content: ""; width: .75rem; height: .75rem; margin-top: -.35rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; }
.intro__entrer:focus-visible { outline: 2px solid var(--papier); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .intro, .intro__centre, .intro__entrer, .intro__fond, .intro__fond span { animation: none; transition: none; }
}

/* Deux liens côte à côte sous un disque : écouter, et la vidéo (contour, pour rester second). */
.disque__liens { display: flex; flex-wrap: wrap; gap: .8rem; }
.disque__ecouter--video { background: transparent; color: var(--papier); box-shadow: inset 0 0 0 2px var(--papier); }
.disque__ecouter--video:hover { background: var(--papier); color: var(--encre); }
.fiche__ecouter--video { margin-left: .8rem; }

/* Tous les paragraphes justifiés (Yan, 29.11.2026), avec la césure pour éviter les rivières. */
.disque__corps, .fiche__corps, .calque .fiche__corps, .oeuvre__texte { text-align: justify; hyphens: auto; }

/* Pas de bande noire entre le générique et le haut de page qui revient (Yan, 29.11.2026) : sans ses liens du bas,
   le pied n'a pas de marge sous le générique. */
.pied[data-tour]:not([data-tour~="pied"]) { padding-bottom: 0; }

/* ——— L'artwork d'un personnage (js : planches), seul à gauche sur la couleur ; à droite, sur le noir, ses deux
   photos les plus impressionnantes, l'une sous l'autre (Yan, 29.11.2026). */
.galerie--selection.galerie--artwork .oeuvre:nth-child(n+2) { --encre-douce: var(--clair); color: var(--papier); }
@media (min-width: 56rem) {
  /* Douze colonnes : l'artwork dans la moitié couleur, les photos dans la moitié noire, selon leur gabarit. */
  .galerie--selection.galerie--planche.galerie--artwork { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1rem; row-gap: 2.4rem; align-items: start; }
  .galerie--selection.galerie--planche.galerie--artwork .oeuvre:first-child { grid-column: 1 / 6; grid-row: 1 / span 2; justify-self: center; }
  .galerie--selection.galerie--planche.galerie--artwork .oeuvre:first-child .oeuvre__lien img { max-height: 88vh; }
  .galerie--selection.galerie--planche.galerie--artwork .oeuvre:nth-child(n+2) .oeuvre__lien img { width: 100%; max-height: 52vh; object-fit: contain; }
  /* EN ESCALIER (Yan, 29.11.2026 : « trop serrées […] peut-être les décaler, à toi de choisir ») : de l'air entre les
     photos, et chacune un peu plus bas que la précédente. */
  .galerie--selection.galerie--planche.galerie--artwork { column-gap: 2rem; row-gap: 2.6rem; }
  .galerie--artwork[data-gabarit="p"] .oeuvre:nth-child(2) { grid-column: 8 / 12; }
  .galerie--artwork[data-gabarit="l"] .oeuvre:nth-child(2) { grid-column: 7 / 13; }
  .galerie--artwork[data-gabarit^="pp"] .oeuvre:nth-child(2) { grid-column: 7 / 10; grid-row: 1; }
  .galerie--artwork[data-gabarit^="pp"] .oeuvre:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / span 2; margin-top: 22vh; }
  .galerie--artwork[data-gabarit="ppp"] .oeuvre:nth-child(4) { grid-column: 7 / 10; grid-row: 2; }
  .galerie--artwork[data-gabarit="ll"] .oeuvre:nth-child(2) { grid-column: 7 / 12; grid-row: 1; }
  .galerie--artwork[data-gabarit="ll"] .oeuvre:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
  .galerie--artwork[data-gabarit="ll"] .oeuvre:nth-child(4) { grid-column: 7 / 12; grid-row: 3; }
  .galerie--artwork[data-gabarit="lp"] .oeuvre:nth-child(2) { grid-column: 7 / 13; grid-row: 1; }
  .galerie--artwork[data-gabarit="lp"] .oeuvre:nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
  .galerie--artwork[data-gabarit="lp"] .oeuvre:nth-child(4) { grid-column: 10 / 13; grid-row: 2 / span 2; margin-top: 14vh; }
}
}
@media (max-width: 55.99rem) {
  .galerie--selection.galerie--artwork .oeuvre:first-child { grid-column: 1 / -1; }
}

/* Le projet d'une planche, une seule fois, sous son titre. */
.planche__projet { display: block; margin-top: .35rem; font-family: var(--f-titre); font-style: normal; font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }


/* ——— Le pied de l'Index (js/site.js : tourner) : le pied fou, plus de travers, et qui danse — les lettres se
   balancent chacune à son rythme, les autocollants flottent. Au survol, tout se tient tranquille. */
.pied[data-allure="funky"] .pied__lettre:not(.pied__lettre--copy) { animation: pied-danse 2.6s ease-in-out calc(var(--i, 0) * -.31s) infinite alternate; }
.pied[data-allure="funky"] .pied__liens li { animation: pied-flotte 3.2s ease-in-out calc(var(--i, 0) * -.7s) infinite alternate; }
.pied[data-allure="funky"] .pied__droits:hover .pied__lettre, .pied[data-allure="funky"] .pied__liens li:hover, .pied[data-allure="funky"] .pied__liens li:focus-within { animation-play-state: paused; }
@keyframes pied-danse { from { rotate: var(--r, 0deg); translate: 0 var(--y, 0); } to { rotate: calc(var(--r, 0deg) * -.7); translate: 0 calc(var(--y, 0) * -1); } }
@keyframes pied-flotte { from { rotate: var(--r, 0deg); translate: var(--x, 0) var(--y, 0); } to { rotate: calc(var(--r, 0deg) * -.6); translate: calc(var(--x, 0) * -1) calc(var(--y, 0) * -1); } }
@media (prefers-reduced-motion: reduce) {
  .pied[data-allure="funky"] .pied__lettre, .pied[data-allure="funky"] .pied__liens li { animation: none; }
}

/* ——— Les choix de cookies (module gneiz-consentement, lien « Cookies » du pied). Yan, 29.11.2026 : « on pourrait faire
   un truc beaucoup plus original […] le bouton Mesure d'audience, il n'est pas lisible ». La coupure du site : le titre
   sur le rose, les choix sur le noir ; la carte arrive en tournant et se pose de travers. Les textes restent ceux du
   module. */
#sbwp-cnst-preferences .sbwp-cnst-voile { background: rgb(10 10 11 / .82); }
#sbwp-cnst-preferences .sbwp-cnst-modale-boite { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto 1fr; width: min(100%, 58rem); max-width: none; max-height: 90vh; margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 0; background: var(--papier); color: var(--encre); font-family: var(--f-texte); box-shadow: .7rem .9rem 0 var(--neige); rotate: -1.5deg; container-type: inline-size; animation: cookies-arrive .8s cubic-bezier(.3, 1.35, .5, 1) both; }
@keyframes cookies-arrive { from { rotate: 14deg; scale: .7; } to { rotate: -1.5deg; scale: 1; } }
#sbwp-cnst-preferences .sbwp-cnst-modale-titre { grid-column: 1; grid-row: 1; margin: 0; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2.2rem) 1rem; font-family: var(--f-titre); font-weight: 800; font-size: min(3.4rem, 2.7cqi); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; color: var(--encre); text-wrap: balance; }
#sbwp-cnst-preferences .sbwp-cnst-modale-texte { grid-column: 1; grid-row: 2; max-width: none; margin: 0; padding: 0 clamp(1.2rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 2.6rem); font-size: 1rem; line-height: 1.5; color: var(--encre); }
#sbwp-cnst-preferences .sbwp-cnst-modale-texte a { color: var(--encre); text-underline-offset: .2em; }
#sbwp-cnst-preferences .sbwp-cnst-form { grid-column: 2; grid-row: 1 / 3; display: grid; align-content: center; gap: 1.4rem; margin: 0; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2.2rem); background: var(--encre); color: var(--neige); }
#sbwp-cnst-preferences .sbwp-cnst-liste { display: grid; gap: 1rem; margin: 0; padding: 0; border: 0; }
#sbwp-cnst-preferences .sbwp-cnst-choix { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .3rem; align-items: center; margin: 0; padding: 1rem 1.1rem; border: 2px solid var(--papier); border-radius: 1rem; background: var(--encre); color: var(--neige); rotate: 1deg; }
#sbwp-cnst-preferences .sbwp-cnst-choix + .sbwp-cnst-choix { rotate: -1.2deg; }
#sbwp-cnst-preferences .sbwp-cnst-choix-titre { font-family: var(--f-titre); font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--papier); }
#sbwp-cnst-preferences .sbwp-cnst-choix-texte { font-size: .92rem; line-height: 1.45; color: var(--neige); }
#sbwp-cnst-preferences .sbwp-cnst-choix-etat { padding: .35rem .7rem; border: 1.5px solid var(--papier); border-radius: 999px; background: none; color: var(--papier); font-family: var(--f-titre); font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
/* L'interrupteur, lisible des deux côtés : éteint, un rond blanc sur le noir cerclé de blanc ; allumé, un rond noir
   poussé à droite sur le rose. */
#sbwp-cnst-preferences .sbwp-cnst-bascule { position: relative; display: block; width: 3.8rem; height: 2.1rem; }
#sbwp-cnst-preferences .sbwp-cnst-bascule input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#sbwp-cnst-preferences .sbwp-cnst-rail { position: absolute; inset: 0; display: block; border-radius: 999px; background: var(--encre); box-shadow: inset 0 0 0 2px var(--neige); transition: background .3s; }
#sbwp-cnst-preferences .sbwp-cnst-rail::after { content: ""; position: absolute; top: .35rem; left: .35rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--neige); transform: none; transition: transform .35s var(--lent), background .3s; }
#sbwp-cnst-preferences .sbwp-cnst-bascule input:checked + .sbwp-cnst-rail { background: var(--papier); box-shadow: inset 0 0 0 2px var(--papier); }
#sbwp-cnst-preferences .sbwp-cnst-bascule input:checked + .sbwp-cnst-rail::after { background: var(--encre); transform: translateX(1.7rem); }
#sbwp-cnst-preferences .sbwp-cnst-bascule input:focus-visible + .sbwp-cnst-rail { outline: 2px solid var(--neige); outline-offset: 3px; }
#sbwp-cnst-preferences .sbwp-cnst-modale-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem; margin: 0; }
#sbwp-cnst-preferences .sbwp-cnst-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 2.9rem; padding: 0 1.3rem; border: 2px solid var(--neige); border-radius: 999px; background: none; color: var(--neige); font-family: var(--f-titre); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
#sbwp-cnst-preferences .sbwp-cnst-btn--fort { border-color: var(--papier); background: var(--papier); color: var(--encre); box-shadow: .25rem .3rem 0 var(--neige); }
#sbwp-cnst-preferences .sbwp-cnst-btn:hover, #sbwp-cnst-preferences .sbwp-cnst-btn:focus-visible { translate: 0 -2px; }
@media (max-width: 40rem) {
  #sbwp-cnst-preferences .sbwp-cnst-modale-boite { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; rotate: -1deg; }
  #sbwp-cnst-preferences .sbwp-cnst-form { grid-column: 1; grid-row: auto; }
  #sbwp-cnst-preferences .sbwp-cnst-modale-titre { font-size: 6.3cqi; }
  #sbwp-cnst-preferences .sbwp-cnst-modale-texte { grid-row: auto; }
  #sbwp-cnst-preferences .sbwp-cnst-modale-actions .sbwp-cnst-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  #sbwp-cnst-preferences .sbwp-cnst-modale-boite { animation: none; }
}

/* ——— Les adresses masquées (inc/contact.php) : sans script, le texte à l'envers se lit à l'endroit. */
.courriel-masque__envers { unicode-bidi: bidi-override; direction: rtl; }

/* ——— La page Contact : l'adresse et WhatsApp, rien d'autre, sur la coupure. */
.contact { display: grid; justify-items: center; align-content: center; gap: clamp(1.6rem, 5vh, 3rem); min-height: 78vh; padding: clamp(3rem, 10vh, 6rem) var(--gouttiere); background: var(--coupe); text-align: center; }
.contact__titre { margin: 0; font-family: var(--f-voix); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; background: var(--coupe-texte); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.contact__liens { display: grid; justify-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.contact__liens li:first-child { rotate: -2deg; }
.contact__liens li:last-child { rotate: 3deg; }
.contact .contact__courriel { display: inline-block; max-width: 100%; padding: .25em .55em; white-space: nowrap; background: var(--encre); color: var(--papier); font-family: var(--f-titre); font-weight: 800; font-size: clamp(.8rem, 3.7vw, 3.1rem); letter-spacing: -.02em; text-decoration: none; box-shadow: .35rem .45rem 0 var(--neige); transition: rotate .4s var(--lent), scale .4s var(--lent); }
.contact__whatsapp { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.6rem; border-radius: 999px; background: var(--neige); color: var(--encre); font-family: var(--f-titre); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; box-shadow: .3rem .4rem 0 var(--papier); transition: scale .4s var(--lent); }
.contact__liens li:hover, .contact__liens li:focus-within { rotate: 0deg; scale: 1.05; }
.contact__whatsapp[hidden] { display: none; }

/* ——— Les pages sobres (inc/contact.php) : légales et Contact. Le texte, puis la ligne du bas ; rien d'autre. */
.page-sobre .defile, .page-sobre .pied > :not(.pied__bas) { display: none; }
.page-sobre .pied { padding-top: 0; }
