/* ==========================================================================
   Seb & Barbolino font leur cinéma — thème public
   Style du dossier de diffusion (novembre 2026) : terracotta au grain de béton,
   titres très condensés en capitales crème (League Gothic), texte Raleway,
   photos de scène en noir et blanc, dessins blancs à la main.
   ========================================================================== */

:root {
  --terre: #B44420;          /* fond du dossier */
  --terre-sombre: #8A3016;   /* boutons, titres sur crème */
  --terre-nuit: #2B110A;     /* pied de page */
  --creme: #FAF9F4;          /* texte sur terracotta, cartes */
  --creme-2: #F1E9DC;        /* séparations sur crème */
  --encre: #1A0C07;          /* noir du dossier (traits, points) */
  --texte-carte: #3A2219;    /* texte courant sur crème */
  --champ: #FFFFFF;          /* seul le champ à saisir est blanc */
  --bord-champ: #CDBFAE;
  --titre: 'League Gothic', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --texte: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rayon: 26px;
  --ombre: 0 18px 44px rgba(43, 12, 2, .28);
  --large: 1200px;
  --etroit: 920px;
  --marge: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 500 1.0625rem/1.65 var(--texte);
  color: var(--creme);
  background-color: var(--terre);
  background-image: url(../img/texture.jpg);
  background-size: 1080px auto;
  background-blend-mode: multiply;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul { padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; border-radius: 4px; }
.carte-creme :focus-visible, .bio :focus-visible { outline-color: var(--terre-sombre); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9000; background: var(--creme); color: var(--terre-sombre); padding: .7rem 1.1rem; font-weight: 800; }
.skip-link:focus { left: 1rem; top: 1rem; }
.centre { text-align: center; }
.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding-inline: var(--marge); }
.conteneur-etroit { max-width: var(--etroit); }
.section { position: relative; padding-block: var(--section); }
.section + .section:not(.aplat) { padding-top: calc(var(--section) * .55); }
.aplat { background: var(--terre); }   /* aplat sans grain, comme la page « Pour nous contacter » */

/* ---------- Typographie du dossier ---------- */
.titre-geant {
  font-family: var(--titre);
  font-size: clamp(3.1rem, 8.2vw, 6.6rem);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--creme);
  margin-bottom: .35em;
  text-wrap: balance;
}
.titre-moyen {
  font-family: var(--titre);
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: .45em;
}
.chapeau { font-size: clamp(1.1rem, 1.9vw, 1.3rem); font-weight: 600; max-width: 46ch; }
.centre .chapeau, .chapeau.centre { margin-inline: auto; }
.accroche-noire { font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.35rem); margin-bottom: .9em; }
.surtitre { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .82rem; margin-bottom: .6rem; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ---------- Dessins à la main ---------- */
.doodle { display: inline-block; line-height: 0; color: var(--creme); pointer-events: none; }
.doodle svg { width: 100%; height: auto; display: block; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.55em; border-radius: 999px; border: 2px solid transparent;
  font: 800 .84rem/1.2 var(--texte); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-creme { background: var(--creme); color: var(--terre-sombre); box-shadow: 0 8px 22px rgba(43, 12, 2, .25); }
.btn-creme:hover { background: #fff; }
.btn-ligne { border-color: var(--creme); color: var(--creme); background: transparent; }
.btn-ligne:hover { background: rgba(250, 249, 244, .12); }
.btn-terre { background: var(--terre-sombre); color: var(--creme); }
.btn-terre:hover { background: #6F250F; }
.btn-ligne-terre { border-color: var(--terre-sombre); color: var(--terre-sombre); background: transparent; }
.btn-ligne-terre:hover { background: rgba(138, 48, 22, .08); }
.btn-note { font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .8; font-size: .78rem; }
@media (max-width: 400px) { .btn { white-space: normal; flex-wrap: wrap; justify-content: center; text-align: center; } }
.lien-telechargement { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.lien-telechargement .btn-note { opacity: .75; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 100; transition: background-color .25s ease, box-shadow .25s ease; }
.entete.defile, .entete:not(.entete-accueil) { background: rgba(138, 48, 22, .94); box-shadow: 0 6px 24px rgba(30, 8, 0, .25); }
.entete-accueil { position: fixed; left: 0; right: 0; }
body:has(#anr-adminbar) .entete { top: 42px; }
.entete-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .9; }
.logo-nom { font-family: var(--titre); font-size: 2.05rem; text-transform: uppercase; letter-spacing: .02em; }
.logo-sous { font-family: var(--titre); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .16em; opacity: .9; }
.nav-liste { list-style: none; margin: 0; display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.9rem); }
.nav-liste > li { position: relative; }
.nav-liste a:not(.btn) {
  display: inline-block; padding: .4rem 0; text-decoration: none;
  font-weight: 800; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav-liste a:not(.btn):hover, .nav-liste a[aria-current="page"]:not(.btn) { border-bottom-color: var(--creme); }
.nav-contact .btn { padding: .75em 1.35em; }
.nav-contact .btn[aria-current="page"] { box-shadow: 0 0 0 3px rgba(250, 249, 244, .45); }
.sous-menu { list-style: none; position: absolute; top: 100%; left: -1rem; min-width: 220px; margin: 0; padding: .6rem 1rem; background: var(--terre-sombre); border-radius: 14px; box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.a-sous-menu:hover .sous-menu, .a-sous-menu:focus-within .sous-menu { opacity: 1; visibility: visible; transform: none; }
.menu-bouton, .menu-fermer { display: none; }

@media (max-width: 1023px) {
  .menu-bouton {
    display: inline-flex; align-items: center; gap: .5rem; background: transparent; border: 2px solid var(--creme);
    border-radius: 999px; padding: .5rem 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; cursor: pointer;
  }
  .nav {
    position: fixed; inset: 0; z-index: 200; background: var(--terre-sombre);
    background-image: url(../img/texture.jpg); background-blend-mode: multiply; background-size: 1080px auto;
    padding: 5.5rem var(--marge) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
  }
  body:has(#anr-adminbar) .nav { top: 42px; }
  .nav.ouvert { opacity: 1; visibility: visible; }
  .menu-fermer {
    display: inline-flex; position: absolute; top: 1.1rem; right: var(--marge); width: 48px; height: 48px;
    align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--creme); background: transparent; cursor: pointer;
  }
  .nav-liste { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .nav-liste a:not(.btn) { font-family: var(--titre); font-size: 2.6rem; font-weight: 400; letter-spacing: .02em; }
  .nav-contact { margin-top: 1.2rem; }
  /* sous-menus dépliés à plat dans le panneau */
  .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; background: none; box-shadow: none; padding: 0 0 0 1rem; }
  .sous-menu a:not(.btn) { font-size: 1.7rem; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Bienvenue dans ma soirée quiz cinéma ---------- */
.quiz .titre-geant { max-width: 22ch; margin-inline: auto; margin-bottom: .7em; }
.quiz-coeur { position: absolute; width: clamp(54px, 6.5vw, 92px); left: clamp(10px, 6vw, 110px); top: clamp(56px, 8vw, 120px); transform: rotate(-6deg); }
.quiz-etoile { position: absolute; width: clamp(60px, 7.5vw, 116px); right: clamp(10px, 6vw, 110px); top: clamp(40px, 6vw, 96px); }
.trois-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 3.6rem); text-align: center; margin-bottom: 2.6rem; }
.colonne h3 { font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .8em; }
.colonne p { font-weight: 600; }
@media (max-width: 800px) {
  .trois-colonnes { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .quiz-coeur { top: 2.2rem; } .quiz-etoile { top: 1.4rem; }
}

/* ---------- Spectacle en image (mosaïque noir et blanc) ---------- */
.mosaique {
  position: relative; display: grid; gap: clamp(10px, 1.3vw, 16px);
  grid-template-columns: 1fr 2.2fr 1.3fr;
  grid-template-rows: repeat(2, clamp(200px, 23vw, 330px));
}
.mosaique-photo { display: block; overflow: hidden; border-radius: 3px; background: #111; }
/* Noir et blanc : seulement pour une photo en couleur ; celles du dossier gardent leur nez rouge. */
img.a-griser { filter: grayscale(1) contrast(1.08); }
.mosaique-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.mosaique-photo:hover img { transform: scale(1.04); }
.m1 { grid-area: 1 / 1; } .m2 { grid-area: 1 / 3; } .m3 { grid-area: 2 / 1; } .m4 { grid-area: 2 / 2; } .m5 { grid-area: 2 / 3; }
.mosaique-titre { grid-area: 1 / 2; align-self: center; text-align: center; margin: 0; font-size: clamp(3.2rem, 7.6vw, 7rem); }
.mosaique-titre a { text-decoration: none; }
.mosaique-eclats { position: absolute; width: clamp(60px, 8vw, 118px); left: clamp(-60px, -4vw, -20px); top: clamp(-70px, -5vw, -30px); transform: rotate(-90deg); }
@media (max-width: 700px) {
  .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(3, 42vw); }
  .mosaique-titre { grid-area: 1 / 1 / 2 / 3; padding: 1rem 0 .4rem; }
  .m1 { grid-area: 2 / 1; } .m2 { grid-area: 2 / 2; } .m4 { grid-area: 3 / 1 / 4 / 3; } .m3 { grid-area: 4 / 1; } .m5 { grid-area: 4 / 2; }
  .mosaique-eclats { left: 0; top: -.5rem; }
}

/* ---------- Comment i' m' parle… ! ---------- */
.parle-grille { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.parle-texte .titre-geant, #titre-programme { position: relative; display: inline-block; padding-left: clamp(54px, 7vw, 90px); padding-right: clamp(46px, 6vw, 80px); }
.parle-eclats-g { position: absolute; left: 0; top: .05em; width: clamp(46px, 6vw, 80px); transform: rotate(-112deg) scaleX(-1); }
.parle-eclats-d { position: absolute; right: 0; bottom: .05em; width: clamp(40px, 5vw, 70px); transform: rotate(80deg); }
.liste-creme ul { list-style: none; margin: 0; display: grid; gap: .7rem; }
.liste-creme li { position: relative; padding-left: 1.4em; font-weight: 700; }
.liste-creme li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .48em; height: .48em; border-radius: 50%; background: var(--creme); }
.parle-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.3vw, 16px); }
.parle-photo { margin: 0; overflow: hidden; border-radius: 3px; background: #111; aspect-ratio: 4 / 5; }
.parle-photo.p3 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.parle-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .parle-grille { grid-template-columns: 1fr; } }

/* ---------- Teaser ---------- */
.video-cadre { max-width: 880px; margin: 0 auto; border: clamp(6px, 1vw, 10px) solid var(--creme); background: #000; box-shadow: var(--ombre); }
.video-facade, .video-cadre iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-facade { position: relative; padding: 0; cursor: pointer; background: #000; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .3s ease, transform .6s ease; }
.video-facade:hover img { opacity: 1; transform: scale(1.02); }
.video-lecture {
  position: absolute; left: 50%; top: 50%; width: clamp(68px, 9vw, 96px); height: clamp(68px, 9vw, 96px); transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--creme); color: var(--terre); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.video-lecture .ico { width: 42%; height: 42%; fill: currentColor; margin-left: 8%; }
.video-legende { text-align: center; margin: 1.2rem auto 0; max-width: 60ch; font-weight: 600; }
.video-legende.petit { font-size: .88rem; font-weight: 500; margin-top: .4rem; }
.video-legende a { display: inline-flex; align-items: center; gap: .3em; }
.video-legende a .ico { width: .95em; height: .95em; }

/* ---------- Cartes crème ---------- */
.carte-creme { background: var(--creme); color: var(--texte-carte); border-radius: var(--rayon); padding: clamp(22px, 4vw, 46px); box-shadow: var(--ombre); }
.carte-creme + .carte-creme { margin-top: clamp(24px, 4vw, 40px); }
.titre-carte { font-family: var(--titre); text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; color: var(--terre-sombre); margin-bottom: .7em; }
.carte-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }

/* ---------- Agenda ---------- */
.dates-liste { list-style: none; margin: 0; }
.date-ligne { display: grid; grid-template-columns: 70px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 0; border-bottom: 2px dotted rgba(138, 48, 22, .3); }
.date-ligne:last-child { border-bottom: 0; }
.pastille { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 16px; background: var(--terre); color: var(--creme); line-height: 1; }
.pastille-jour { font-family: var(--titre); font-size: 2.3rem; }
.pastille-mois { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.date-corps p { margin: 0; }
.date-titre { font-weight: 800; font-size: 1.12rem; color: var(--encre); }
.date-titre a { color: var(--terre-sombre); }
.date-lieu { display: flex; align-items: center; gap: .35em; font-weight: 600; margin-top: .15rem !important; }
.date-lieu .ico { width: 1em; height: 1em; color: var(--terre-sombre); }
.date-extrait { font-size: .95rem; margin-top: .3rem !important; }
.date-quand { font-weight: 700; font-size: .88rem; color: var(--terre-sombre); text-align: right; }
.est-passee .pastille { background: #8F7B70; }
.est-passee .date-titre, .est-passee .date-quand { color: #5B463C; }
.dates-vide { font-weight: 600; font-size: 1.08rem; margin: 0; }
.annees { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.annee { border: 2px solid var(--terre-sombre); background: transparent; color: var(--terre-sombre); border-radius: 999px; padding: .45rem 1.2rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.annee[aria-selected="true"] { background: var(--terre-sombre); color: var(--creme); }
.js .annee-panneau[data-masque] { display: none; }
.mois { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--terre-sombre); margin: 1.4rem 0 .2rem; }
.annee-panneau .mois:first-child { margin-top: 0; }
.dates-accueil .titre-geant { margin-bottom: .45em; }
@media (max-width: 600px) {
  .date-ligne { grid-template-columns: 60px 1fr; }
  .pastille { width: 60px; height: 60px; }
  .date-quand { grid-column: 2; text-align: left; font-size: .82rem; margin-top: -.6rem; }
}

/* ---------- Pour nous contacter (fil noir et points) ---------- */
.contact-bandeau { overflow: hidden; }
.contact-bandeau .titre-geant { position: relative; display: inline-block; padding-right: clamp(70px, 9vw, 130px); }
.contact-zigzag { position: absolute; right: 0; top: -.35em; width: clamp(56px, 7.5vw, 110px); }
.fil-noir { position: relative; margin: 1.2rem 0 2.4rem; }
.fil-noir::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; background: var(--encre); }
.fil-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.6rem 2rem; width: auto; max-width: 900px; margin-left: max(var(--marge), calc((100vw - var(--large)) / 2 + var(--marge))); margin-right: var(--marge); padding: 0; }
.fil-contact { position: relative; }
.point { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--encre); flex: 0 0 auto; }
.fil-contact .point { position: relative; z-index: 1; margin-bottom: .55rem; }
.fil-contact p { font-weight: 700; font-size: 1.12rem; padding-left: .9rem; margin: 0; overflow-wrap: anywhere; }
.fil-contact a, .personne a { text-decoration: none; }
.fil-contact a:hover, .personne a:hover { text-decoration: underline; }
.points-infos { list-style: none; margin: 0 0 2rem; display: grid; gap: .9rem; }
.points-infos li { display: flex; align-items: center; gap: 1.1rem; font-weight: 600; font-size: 1.08rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }
.contact-actions.centre { justify-content: center; }
/* Mails et téléphones masqués : écrits à l'envers dans le code, remis à l'endroit à l'écran (voir sb_lien_masque) */
.envers { unicode-bidi: bidi-override; direction: rtl; }
.arobase::before { content: "@"; }
.leurre { display: none; }

/* ---------- Pages intérieures ---------- */
.banniere { padding: clamp(70px, 10vw, 130px) 0 clamp(20px, 4vw, 40px); }
.fil-ariane ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; font-weight: 700; }
.fil-ariane li + li::before { content: "/"; margin-right: .4rem; opacity: .7; }
.fil-ariane a { text-decoration: none; opacity: .9; }
.fil-ariane a:hover { text-decoration: underline; }
.banniere .titre-geant { position: relative; display: inline-block; padding-right: clamp(60px, 8vw, 120px); font-size: clamp(3.6rem, 10vw, 8rem); margin-bottom: .2em; }
.banniere-doodle { position: absolute; right: 0; top: -.25em; width: clamp(50px, 7vw, 104px); }
.date-grande { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-weight: 800; font-size: 1.2rem; }
.date-grande span { display: inline-flex; align-items: center; gap: .4em; }
.deux-colonnes { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.deux-colonnes-inverse { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 900px) { .deux-colonnes, .deux-colonnes-inverse { grid-template-columns: 1fr; } }
.prose-creme p { font-weight: 600; }
.photo-cadre { position: relative; margin: 0; }
.photo-cadre img { width: 100%; border-radius: 3px; box-shadow: var(--ombre); }
.distribution-zigzag { position: absolute; left: clamp(-40px, -3vw, -14px); top: clamp(-60px, -5vw, -30px); width: clamp(54px, 7vw, 96px); z-index: 1; transform: rotate(-12deg); }
.distribution p { font-weight: 600; font-size: 1.12rem; }
.distribution strong { display: inline-block; text-decoration: underline; text-underline-offset: .22em; font-weight: 800; margin-bottom: .2rem; }
.faits { list-style: none; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.faits li { display: inline-flex; align-items: center; gap: .4em; border: 2px solid rgba(250, 249, 244, .7); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .9rem; }
.tableau-fiche table { width: 100%; border-collapse: collapse; }
.tableau-fiche th, .tableau-fiche td { text-align: left; padding: .8rem .6rem .8rem 0; border-bottom: 2px dotted rgba(138, 48, 22, .3); vertical-align: top; }
.tableau-fiche th { width: 38%; color: var(--terre-sombre); font-weight: 800; }
.tableau-fiche tr:last-child th, .tableau-fiche tr:last-child td { border-bottom: 0; }
.appel .titre-geant { margin-inline: auto; max-width: 18ch; }
.appel .chapeau { margin-bottom: 1.8rem; }

/* ---------- Biographies ---------- */
.bios { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(3.4rem, 6vw, 4.6rem) clamp(1.6rem, 4vw, 3rem); align-items: start; padding-top: 2.4rem; }
.bio { position: relative; background: var(--creme); color: var(--texte-carte); border-radius: 34px; padding: clamp(26px, 3.6vw, 40px); text-align: center; box-shadow: var(--ombre); }
.bio-avec-photo { padding-top: 92px; }
.bio-photo { position: absolute; left: 50%; top: -70px; transform: translateX(-50%); width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 5px solid var(--terre); background: #111; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-nom { font-family: var(--titre); text-transform: uppercase; font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1; color: var(--terre-sombre); }
.bio-role { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--encre); margin: .5rem 0 1rem; }
.bio-texte p { font-weight: 600; margin-bottom: .8em; }
.etoiles { display: inline-flex; gap: .45rem; color: var(--terre); margin-top: .6rem; }
.etoiles svg { width: 26px; height: 26px; }
@media (max-width: 800px) { .bios { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; } }

/* ---------- Galerie ---------- */
.album + .album { padding-top: 0; }
.album-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; }
.album-nb { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin: 0; }
.album-texte { max-width: 65ch; font-weight: 600; }
.cms-gallery.galerie-mosaique { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.galerie-mosaique figure { margin: 0; }
.galerie-mosaique img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; transition: transform .4s ease, box-shadow .4s ease; }
.galerie-vignette { display: block; border-radius: 3px; }
.galerie-vignette:hover img { transform: translateY(-3px); box-shadow: var(--ombre); }
@media (max-width: 600px) { .cms-gallery.galerie-mosaique { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }
.galerie-inseree { margin: 2rem 0; }
.bandeau-apercu { background: #4A2A00; color: #fff; text-align: center; padding: .6rem 1rem; font-weight: 700; }

/* Visionneuse plein écran */
.visionneuse { position: fixed; inset: 0; z-index: 6000; background: rgba(16, 6, 3, .97); display: none; align-items: center; justify-content: center; padding: 4.5rem 1rem 3.5rem; }
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-width: min(94vw, 1500px); max-height: 82vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.visionneuse-legende { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font-weight: 600; padding: 0 4rem; }
.visionneuse button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--creme); background: rgba(26, 12, 7, .6); color: var(--creme); display: grid; place-items: center; cursor: pointer; }
.visionneuse button:hover { background: var(--terre); }
.visionneuse .v-fermer { top: 1rem; right: 1rem; }
.visionneuse .v-prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.visionneuse .v-suiv { right: 1rem; top: 50%; transform: translateY(-50%); }
.visionneuse-compteur { position: absolute; top: 1.4rem; left: 1.2rem; font-weight: 800; letter-spacing: .08em; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 950px) { .contact-grille { grid-template-columns: 1fr; } }
.contact-grille > * { min-width: 0; }
.contact-personnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.4rem 2rem; }
.contact-personne { border-left: 4px solid var(--terre); padding: .2rem 0 .2rem 1.1rem; }
.contact-personne p { margin: 0 0 .35rem; }
.contact-nom { font-family: var(--titre); text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--terre-sombre); margin-bottom: .6rem !important; }
.contact-lien { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.12rem; color: var(--encre); text-decoration: none; overflow-wrap: anywhere; }
.contact-lien a { color: var(--encre); text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
a.contact-lien:hover, .contact-lien a:hover { text-decoration: underline; }
.contact-lien .ico { color: var(--terre-sombre); }
.contact-infos-carte { font-weight: 600; margin: 1.6rem 0 0; }
.contact-direct .points-infos li { font-weight: 700; }
.contact-direct .personne { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-direct .personne p { margin: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.7; }
.contact-direct .personne .ico { width: 1em; height: 1em; margin-right: .45em; vertical-align: -.12em; }
.contact-infos { font-weight: 600; }
.contact-telechargements { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin: 1.6rem 0 2rem; }
.contact-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Texte courant sur crème (pages libres, mentions, fiche d'une date) ---------- */
.prose h2 { font-family: var(--titre); text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.4rem); line-height: 1; color: var(--terre-sombre); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 800; font-size: 1.2rem; color: var(--encre); margin: 1.3em 0 .4em; }
.prose a:not(.btn) { color: var(--terre-sombre); font-weight: 700; }
.prose ul { padding-left: 1.3rem; }
.prose img { border-radius: 6px; }
.prose figure { margin: 0 0 1.4rem; }
.date-image img { width: 100%; border-radius: 10px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--terre-nuit); color: var(--creme); padding: clamp(48px, 7vw, 80px) 0 1.6rem; font-size: .98rem; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) auto; grid-template-areas: "marque contacts liens"; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.pied-marque { grid-area: marque; }
.pied-contacts { grid-area: contacts; }
.pied-liens { grid-area: liens; }
@media (max-width: 1000px) { .pied-grille { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marque liens" "contacts contacts"; } }
@media (max-width: 600px) { .pied-grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: "marque" "contacts" "liens"; } }
.pied-logo { font-family: var(--titre); text-transform: uppercase; font-size: 2.5rem; line-height: .95; margin-bottom: 1rem; }
.pied-logo span { display: block; font-size: 1.2rem; letter-spacing: .16em; opacity: .85; }
.pied-etiquettes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pied-etiquettes li { border: 1px solid rgba(250, 249, 244, .3); border-radius: 999px; padding: .28em .8em; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.pied-dossier { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5em; border-radius: 999px; padding: .6em 1.1em; background: var(--creme); color: var(--terre-sombre); font-weight: 800; }
.pied-dossier .btn-note { opacity: .75; }
.pied .pied-dossier:hover { background: #fff; text-decoration: none; }
.pied-titre { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .85; margin-bottom: 1rem; }
.pied-personnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .pied-personnes { grid-template-columns: minmax(0, 1fr); } }
.pied-personne { border: 1px solid rgba(250, 249, 244, .16); border-radius: 18px; padding: 1.15rem 1.25rem 1rem; background: rgba(250, 249, 244, .035); }
.pied-personne p { margin: 0; }
.pied-nom { font-family: var(--titre); text-transform: uppercase; font-size: 1.65rem; line-height: 1; letter-spacing: .01em; }
.pied-role { font-size: .82rem; font-weight: 700; opacity: .7; margin: .3rem 0 .75rem !important; }
.pied-lien { display: inline-flex; align-items: center; gap: .6em; padding: .22rem 0; font-weight: 700; max-width: 100%; }
.pied-lien span { min-width: 0; overflow-wrap: anywhere; }
.pied-lien .ico { width: 1.05em; height: 1.05em; color: #F0A07C; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: .2em; }
.pied-liens ul { list-style: none; margin: 0; display: grid; gap: .45rem; font-weight: 700; }
.pied-bas { padding-right: 76px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid rgba(250, 249, 244, .2); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .88rem; opacity: .9; }
.pied-bas p { margin: 0; }

.haut-de-page { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--creme); background: var(--terre-sombre); color: var(--creme); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.haut-de-page.visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Apparition douce au défilement ---------- */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .apparait { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .entete, .pied, .haut-de-page, .couverture-actions, .video-cadre { display: none; }
  .carte-creme, .bio { box-shadow: none; border: 1px solid #ccc; }
}

/* ==========================================================================
   Site vivant (28/11/2026) : hero en forme, néon, bandeau d'ampoules, quiz jouable,
   mosaïque vivante, rideau et amorce du teaser, pellicule, apparitions, iris.
   Seuls transform et opacity bougent (sauf la forme qui ondule, mise en pause hors écran).
   Tout se fige avec « réduire les animations » (bloc en fin de section).
   ========================================================================== */

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:root { --entree: cubic-bezier(.22, 1, .36, 1); --rideau: cubic-bezier(.65, 0, .25, 1); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 116px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 48% 42% at 28% 44%, rgba(255, 222, 200, .22), transparent 70%); }
.hero-grain { position: absolute; inset: -60%; z-index: 4; pointer-events: none; background: url(../img/grain.png); opacity: .55; mix-blend-mode: overlay; animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-7%, 4%); } 40% { transform: translate(5%, -6%); } 60% { transform: translate(-3%, 7%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); } }
.hero-spot { position: absolute; left: 0; top: 0; width: 64vmax; height: 64vmax; margin: -32vmax 0 0 -32vmax; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 218, .2) 0%, rgba(255, 214, 190, .07) 38%, transparent 66%); transform: translate3d(38vw, 46vh, 0); will-change: transform; }
.hero-grille { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-texte { position: relative; z-index: 2; }
.neon { display: flex; flex-direction: column; align-items: center; font-family: var(--titre); font-weight: 400; text-transform: uppercase; line-height: .86; color: #FFF8F0; margin: 0 0 .5em; }
.neon-titre, .neon-sous { display: block; }
.neon-sous { margin-top: .06em; }
.hero .neon { align-items: flex-start; margin-bottom: .35em; }
.hero .neon-titre { font-size: clamp(2.9rem, 6.6vw, 8.6rem); }
.hero .neon-sous { font-size: clamp(2rem, 4vw, 5rem); }
.neon-titre > span, .neon-sous > span { white-space: nowrap; }   /* lettres animées : jamais coupées au milieu d'un mot */
.neon { --lueur: 0 0 6px rgba(255, 248, 240, .9), 0 0 22px rgba(255, 226, 205, .75), 0 0 52px rgba(255, 205, 175, .55), 0 0 110px rgba(255, 190, 150, .35); }
.neon span { text-shadow: var(--lueur); }
.neon .l { display: inline-block; white-space: pre; }
.js .neon[data-neon] .l { opacity: .1; text-shadow: none; }
.js .neon.allume .l { animation: allume 1.1s steps(1) var(--l, 0ms) forwards; }
@keyframes allume {
  0% { opacity: .1; text-shadow: none; }
  12% { opacity: 1; text-shadow: var(--lueur); }
  18% { opacity: .25; text-shadow: none; }
  30% { opacity: 1; text-shadow: var(--lueur); }
  36% { opacity: .4; text-shadow: none; }
  48%, 100% { opacity: 1; text-shadow: var(--lueur); }
}
.neon .l.gresille { animation: gresille .7s steps(1) 1 !important; }
@keyframes gresille { 0% { opacity: 1; } 15% { opacity: .2; } 25% { opacity: 1; } 40% { opacity: .35; } 55%, 100% { opacity: 1; } }
.hero-noms { margin: 0 0 .5rem; font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--encre); }
.esperluette { color: var(--creme); }
.hero-lignes { list-style: none; margin: 0 0 .2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-lignes li { font-weight: 800; font-size: .92rem; letter-spacing: .04em; border: 2px solid rgba(250, 249, 244, .7); border-radius: 999px; padding: .3rem .85rem; }
.couverture-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }
.hero-scene { position: relative; width: min(100%, 620px); aspect-ratio: 1; justify-self: center; }
.forme, .forme-anneau { position: absolute; border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
.forme { inset: 5%; overflow: hidden; background: #140806; box-shadow: 0 30px 80px rgba(40, 10, 0, .45); animation: morphe 16s ease-in-out infinite alternate; transform: translateZ(0); }
.forme-anneau { inset: 0; border: 3px solid rgba(250, 249, 244, .85); animation: morphe-anneau 21s ease-in-out infinite alternate; pointer-events: none; }
@keyframes morphe {
  0% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  33% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
  66% { border-radius: 55% 45% 36% 64% / 42% 58% 42% 58%; }
  100% { border-radius: 46% 54% 62% 38% / 50% 62% 38% 50%; }
}
@keyframes morphe-anneau {
  0% { border-radius: 48% 52% 40% 60% / 58% 42% 58% 42%; transform: rotate(-4deg); }
  50% { border-radius: 60% 40% 58% 42% / 40% 60% 44% 56%; transform: rotate(3deg); }
  100% { border-radius: 42% 58% 52% 48% / 52% 44% 56% 48%; transform: rotate(-2deg); }
}
.forme-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.3s ease; }
.forme-photo.est-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
video.forme-photo.est-active { animation: none; }
.video-cadre video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, -1.2%); } to { transform: scale(1.01) translate(0, 0); } }
.hero-etoile, .hero-coeur, .hero-eclats { position: absolute; z-index: 3; }
.hero-etoile { width: clamp(64px, 8vw, 110px); right: -2%; top: -4%; animation: flotte 6s ease-in-out infinite alternate; }
.hero-coeur { width: clamp(52px, 6vw, 84px); left: -4%; bottom: 6%; animation: flotte 7s ease-in-out -2s infinite alternate; }
.hero-eclats { width: clamp(56px, 7vw, 96px); left: 2%; top: 2%; transform: rotate(-100deg); }
@keyframes flotte { from { transform: translateY(-8px) rotate(-3deg); } to { transform: translateY(10px) rotate(4deg); } }
.hero-pause { position: absolute; right: 9%; bottom: 7%; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--creme); background: rgba(26, 12, 7, .55); color: var(--creme); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, transform .15s var(--entree); }
.hero-pause:hover { background: var(--terre-sombre); }
.hero-pause:active { transform: scale(.94); }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: inline; }
.hero-defiler { position: absolute; left: 50%; bottom: 22px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(250, 249, 244, .7); border-radius: 14px; z-index: 5; }
.hero-defiler span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--creme); animation: molette 1.8s var(--entree) infinite; }
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 104px 0 80px; }
  .hero-grille { grid-template-columns: 1fr; }
  .hero-scene { width: min(86vw, 460px); order: -1; margin-bottom: .5rem; }
  .hero-defiler { display: none; }
}

/* ---------- Dessins qui respirent : balancement lent et continu, chacun à son rythme ---------- */
.doodle svg { animation: respire 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.doodle:nth-of-type(2n) svg { animation-duration: 7s; animation-delay: -2.4s; }
.doodle:nth-of-type(3n) svg { animation-duration: 6.2s; animation-delay: -4.1s; animation-direction: reverse; }
@keyframes respire {
  0%, 100% { transform: rotate(-2.5deg) scale(1); }
  50% { transform: rotate(2.5deg) scale(1.045); }
}

/* ---------- Bandeau lumineux ---------- */
.bandeau { background: #1d0b06; color: var(--creme); position: relative; z-index: 1; }
.bandeau-cadre { position: relative; overflow: hidden; padding: 24px 0; }
.bandeau-piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.bandeau-serie { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font-family: var(--titre); text-transform: uppercase; font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: .04em; white-space: nowrap; line-height: 1; }
.bandeau-etoile svg { display: block; width: .62em; height: .62em; color: #E4683A; }
@keyframes defile { to { transform: translateX(-50%); } }
.ampoules { position: absolute; left: 0; right: 0; height: 10px; }
.ampoules-haut { top: 6px; }
.ampoules-bas { bottom: 6px; }
.ampoules::before, .ampoules::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #FFE7B0 0 3px, rgba(255, 210, 140, .25) 3.6px, transparent 5px); background-size: 26px 10px; background-repeat: repeat-x; }
.ampoules::after { background-position: 13px 0; animation: clignote 1.1s steps(1) infinite; }
.ampoules::before { animation: clignote 1.1s steps(1) .55s infinite; }
@keyframes clignote { 0% { opacity: 1; } 50% { opacity: .18; } }

/* ---------- Colonnes « Un musicien / Un clown / Une rencontre » ---------- */
.colonne { position: relative; }
.colonne-num { display: block; font-family: var(--titre); font-size: 4.5rem; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(250, 249, 244, .55); margin-bottom: .4rem; }

/* ---------- Le petit quiz ---------- */
.ecran { position: relative; background: #1d0b06; border-radius: 22px; padding: 26px 22px; box-shadow: var(--ombre); margin-top: 1.4rem; }
.ecran .ampoules-haut { top: 8px; left: 22px; right: 22px; }
.ecran .ampoules-bas { bottom: 8px; left: 22px; right: 22px; }
.ecran-toile { position: relative; background: var(--creme); color: var(--texte-carte); border-radius: 12px; padding: clamp(22px, 4vw, 42px); min-height: 320px; overflow: hidden; }
.jeu-progression { height: 6px; border-radius: 99px; background: rgba(138, 48, 22, .14); margin-bottom: 1.4rem; overflow: hidden; }
.jeu-progression span { display: block; height: 100%; background: var(--terre); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--entree); }
.jeu-questions { list-style: none; margin: 0; }
.jeu-question + .jeu-question { margin-top: 2rem; }
.js .jeu-question { display: none; margin: 0; }
.js .jeu-question.est-active { display: block; animation: entree .5s var(--entree); }
@keyframes entree { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.jeu-num { margin: 0 0 .5rem; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--terre-sombre); }
.jeu-enonce { margin: 0; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.35; color: var(--encre); }
.jeu-choix { display: grid; gap: .7rem; margin-top: 1.3rem; }
.jeu-bouton { position: relative; text-align: left; padding: .95rem 3rem .95rem 1.15rem; border-radius: 14px; border: 2px solid #D8C8B4; background: var(--creme-2); font: 700 1.05rem/1.3 var(--texte); color: var(--encre); cursor: pointer; transition: transform .16s var(--entree), border-color .2s ease, background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .jeu-bouton:not(:disabled):hover { border-color: var(--terre); transform: translateX(5px); } }
.jeu-bouton:active:not(:disabled) { transform: scale(.98); }
.jeu-bouton:disabled { cursor: default; }
.jeu-bouton.est-bon { background: #E5F2E7; border-color: #1E6B3A; color: #12401F; }
.jeu-bouton.est-faux { background: #FBE4DC; border-color: #B42318; color: #7A1E05; animation: secoue .4s; }
.jeu-bouton.est-bon::after, .jeu-bouton.est-faux::after { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 800; }
.jeu-bouton.est-bon::after { content: "✓"; }
.jeu-bouton.est-faux::after { content: "×"; }
@keyframes secoue { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.jeu-reponse-nojs { margin: .8rem 0 0; font-weight: 700; color: var(--terre-sombre); }
.js .jeu-reponse-nojs { display: none; }
.jeu-retour { margin: 1.1rem 0 0; min-height: 1.5em; font-weight: 800; color: var(--encre); }
.jeu-suivant { margin-top: 1rem; }
.jeu-fin { text-align: center; animation: entree .5s var(--entree); }
.jeu-score { margin: 0; font-family: var(--titre); font-size: clamp(4rem, 10vw, 6.5rem); line-height: 1; color: var(--terre); }
.jeu-verdict { font-weight: 800; font-size: 1.3rem; color: var(--encre); margin: .3rem 0 .8rem; }
.jeu-message { max-width: 44ch; margin: 0 auto 1.4rem; font-weight: 600; }
.jeu-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0; }
.confetti { position: absolute; left: 50%; top: 40%; width: 22px; height: 22px; color: var(--terre); pointer-events: none; animation: confetti 1.2s var(--entree) forwards; }
.confetti svg { width: 100%; height: 100%; display: block; }
@keyframes confetti { from { transform: translate(-50%, -50%) scale(.4) rotate(0); opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--r)); opacity: 0; } }

/* ---------- Mosaïque vivante ---------- */
.mosaique-photo { position: relative; }
.mosaique-photo img { position: absolute; inset: 0; }
.mosaique-photo img.entre { opacity: 0; transition: opacity 1.1s ease; }
.mosaique-photo img.entre.visible { opacity: 1; }

/* ---------- Teaser : rideau rouge et amorce ---------- */
.video-cadre { position: relative; overflow: hidden; }
.rideau, .rideau-cantonniere { display: none; }
/* Un vrai velours, repeint en terracotta mat (assets/img/rideau.jpg) : chaque pan montre sa moitié de l'image.
   En s'ouvrant, le pan se tasse vers le côté (scaleX) : les plis se resserrent comme un tissu qu'on tire. */
.js .rideau { display: block; position: absolute; top: 0; bottom: 0; width: calc(50% + 1px); z-index: 2; pointer-events: none;
  background: #4a190b url(../img/rideau.jpg) no-repeat;
  background-image: image-set(url(../img/rideau.jpg.webp) type("image/webp"), url(../img/rideau.jpg) type("image/jpeg"));
  background-size: 200% 100%;
  transition: transform 2.1s cubic-bezier(.6, 0, .2, 1); }
.js .rideau::after { content: ""; position: absolute; inset: 0; }
.js .rideau-g { left: 0; transform-origin: left center; background-position: left center; }
.js .rideau-d { right: 0; transform-origin: right center; background-position: right center; }
.js .rideau-g::after { background: linear-gradient(to left, rgba(20, 6, 2, .5), transparent 9%); }
.js .rideau-d::after { background: linear-gradient(to right, rgba(20, 6, 2, .5), transparent 9%); }
/* L'ombre de la tringle, en haut du cadre */
.js .rideau-cantonniere { display: block; position: absolute; left: 0; right: 0; top: 0; height: 16%; z-index: 3; pointer-events: none;
  background: linear-gradient(rgba(16, 5, 2, .6), rgba(16, 5, 2, .22) 45%, transparent); transition: opacity .9s ease; }
.video-cadre.ouvert .rideau-g, .video-cadre.ouvert .rideau-d { transform: scaleX(.17); }
.video-cadre.lecture .rideau-g { transform: translateX(-18%) scaleX(.17); transition-duration: 1s; }
.video-cadre.lecture .rideau-d { transform: translateX(18%) scaleX(.17); transition-duration: 1s; }
.video-cadre.lecture .rideau-cantonniere { opacity: 0; }
@property --balayage { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.amorce { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #CFC7B9; color: #1A0C07; overflow: hidden; }
.amorce::before, .amorce::after { content: ""; position: absolute; background: #1A0C07; }
.amorce::before { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.amorce::after { top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; }
.amorce-cercle { position: absolute; width: min(60%, 60vh); aspect-ratio: 1; border-radius: 50%; border: 5px solid #1A0C07; box-shadow: 0 0 0 14px #CFC7B9, 0 0 0 18px #1A0C07;
  background: conic-gradient(rgba(26, 12, 7, .35) var(--balayage), transparent 0); animation: balayage .6s linear infinite; }
@keyframes balayage { from { --balayage: 0deg; } to { --balayage: 360deg; } }
.amorce-chiffre { position: relative; z-index: 1; font-family: var(--titre); font-size: clamp(6rem, 22vw, 12rem); line-height: 1; }
.amorce-grain { position: absolute; inset: -50%; background: url(../img/grain.png); opacity: .9; mix-blend-mode: multiply; animation: grain .5s steps(4) infinite; }

/* ---------- Pellicule Super 8 ----------
   Une perforation par image, bande magnétique de son sur l'autre bord, images aux coins arrondis (format 5,79 × 4,01).
   Perforations et bande sont dessinées sur chaque image : elles avancent avec elle. Le script fait défiler la bande
   en continu, on peut la tirer à la main, et les réglages de la caméra changent sens, cadence et pellicule.
   Sans script, on la fait glisser au doigt. */
.pellicule-section { background: var(--terre-nuit); padding: 0 0 2.4rem; }
.pellicule { --h: clamp(140px, 17vw, 220px); position: relative; overflow-x: auto; background: #110704; scrollbar-width: none; touch-action: pan-y; }
.js .pellicule.pilotee { overflow: hidden; cursor: grab; }
.js .pellicule.tiree { cursor: grabbing; }
.pellicule-piste { display: flex; width: max-content; will-change: transform; }
.pellicule:not(.pilotee) .pellicule-image[aria-hidden="true"] { display: none; }
.pellicule-image { position: relative; flex: none; padding: calc(var(--h) * .27) calc(var(--h) * .035) calc(var(--h) * .12); }
.pellicule-image::before { content: ""; position: absolute; top: calc(var(--h) * .055); left: 50%; width: calc(var(--h) * .11); height: calc(var(--h) * .15);
  transform: translateX(-50%); border-radius: calc(var(--h) * .025); background: #EFE6D6; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); }
.pellicule-image::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--h) * .03); height: calc(var(--h) * .045); background: linear-gradient(#7a4a22, #4b2a12); }
.pellicule-image img { display: block; height: var(--h); width: auto; aspect-ratio: 579 / 401; object-fit: cover; border-radius: calc(var(--h) * .07);
  pointer-events: none; user-select: none; -webkit-user-drag: none; transition: filter .6s ease; }
/* Les pellicules au choix */
.pellicule[data-film="couleur"] img { filter: saturate(1.18) contrast(1.06) sepia(.14); }
.pellicule[data-film="nb"] img { filter: grayscale(1) contrast(1.2) brightness(1.04); }
.pellicule[data-film="sepia"] img { filter: sepia(.92) contrast(1.08) brightness(.96) saturate(1.15); }
/* La lumière du projecteur : bords dans l'ombre, grain et léger battement quand le film tourne */
.pellicule-lumiere { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(90deg, #110704, transparent 7%, transparent 93%, #110704); }
.pellicule-lumiere::before { content: ""; position: absolute; inset: -50%; background: url(../img/grain.png); opacity: 0; mix-blend-mode: overlay; transition: opacity .5s; }
.pellicule-lumiere::after { content: ""; position: absolute; inset: 0; background: rgba(255, 236, 210, .035); opacity: 0; }
.pellicule.tourne .pellicule-lumiere::before { opacity: .22; animation: grain .5s steps(4) infinite; }
.pellicule.tourne .pellicule-lumiere::after { animation: battement 1.3s steps(1) infinite; }
@keyframes battement { 0%, 100% { opacity: 0; } 12% { opacity: 1; } 19% { opacity: .2; } 47% { opacity: .8; } 53% { opacity: 0; } 78% { opacity: .6; } 84% { opacity: .1; } }

/* ---------- Réglages de la caméra ---------- */
.camera { display: grid; grid-template-columns: repeat(4, auto); grid-template-areas: "marque marque compteur compteur" "lecture sens cadence film"; align-items: end; justify-content: space-between; gap: 1.1rem 1.6rem; width: min(100% - 2.5rem, 1080px);
  margin: 1.4rem auto 0; padding: 1.1rem clamp(1rem, 3vw, 1.8rem) 1.2rem; color: var(--creme);
  background: linear-gradient(#1d0c06, #120603); border: 1px solid rgba(250, 249, 244, .12); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 34px rgba(0, 0, 0, .35); }
.camera[hidden] { display: none; }
.camera-marque { grid-area: marque; margin: 0; padding-bottom: .9rem; white-space: nowrap; font-family: var(--titre); text-transform: uppercase; font-size: 2.1rem; line-height: 1; letter-spacing: .03em; align-self: center; }
.camera-marque span { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-left: .12em; border-radius: 50%; background: var(--terre); font-size: .9em; vertical-align: .05em; }
.camera-lecture { grid-area: lecture; justify-self: start; display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.25em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--creme); color: var(--terre-sombre); font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.camera-lecture:hover { background: #fff; }
.camera-lecture .ico { width: 1.15em; height: 1.15em; }
.camera-lecture[aria-pressed="true"] .i-play, .camera-lecture[aria-pressed="false"] .i-pause { display: none; }
.camera-reglage { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.camera-reglage legend { float: left; width: 100%; margin-bottom: .45rem; padding: 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; opacity: .72; }
.camera-reglage legend small { font-size: 1em; text-transform: none; letter-spacing: .04em; font-weight: 700; }
.camera-reglage label { position: relative; }
.camera-reglage input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.camera-reglage label span { display: inline-block; padding: .42em .85em; border: 1px solid rgba(250, 249, 244, .28); border-radius: 999px; font-weight: 800; font-size: .85rem; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s; font-variant-numeric: tabular-nums; }
.camera-reglage label:hover span { border-color: var(--creme); }
.camera-reglage input:checked + span { background: var(--terre); border-color: var(--terre); color: #fff; }
.camera-reglage input:focus-visible + span { outline: 3px solid var(--creme); outline-offset: 2px; }
.camera-compteur { grid-area: compteur; justify-self: end; padding-bottom: .9rem; display: flex; align-items: center; gap: .5em; margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; align-self: center; }
.camera-compteur output { padding: .3em .55em; border-radius: 6px; background: #070201; color: #F7A77C; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.15rem; letter-spacing: .06em; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .8); }
.camera-voyant { width: 10px; height: 10px; border-radius: 50%; background: #5a1a10; }
.camera.tourne .camera-voyant { background: #ff4a2e; box-shadow: 0 0 8px #ff4a2e; animation: clignote 1.2s steps(1) infinite; }
.camera-sens { grid-area: sens; } .camera-cadence { grid-area: cadence; } .camera-film { grid-area: film; }
/* un filet entre la marque et les commandes */
.camera::before { content: ""; grid-column: 1 / -1; grid-row: 1; align-self: end; height: 1px; background: rgba(250, 249, 244, .12); }
@media (max-width: 900px) { .camera { grid-template-columns: repeat(2, auto); grid-template-areas: "marque compteur" "lecture sens" "cadence film"; } }
@media (max-width: 560px) { .camera { grid-template-columns: 1fr auto; grid-template-areas: "marque compteur" "lecture lecture" "sens sens" "cadence cadence" "film film"; }
  .camera-compteur span:last-child { display: none; } }
.pellicule-lien { margin: 1.6rem 0 0; }

/* ---------- Bannières des pages intérieures avec photo ---------- */
.banniere-avec-photo .banniere-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.banniere-scene { position: relative; width: min(100%, 380px); aspect-ratio: 1; justify-self: end; }
.forme-petite .forme-photo { opacity: 1; animation: kenburns 12s ease-out forwards; }
.banniere-etoile { position: absolute; width: clamp(48px, 6vw, 80px); right: -4%; top: -6%; z-index: 2; animation: flotte 6s ease-in-out infinite alternate; }
@media (max-width: 900px) {
  .banniere-avec-photo .banniere-inner { grid-template-columns: 1fr; }
  .banniere-scene { width: min(62vw, 300px); justify-self: center; }
}

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--entree) var(--d, 0ms), transform .8s var(--entree) var(--d, 0ms); }
.js [data-reveal="titre"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.05s var(--rideau) var(--d, 0ms); }
.js [data-reveal="photo"] { transform: scale(.93) rotate(-1.5deg); }
.js [data-reveal="fil"] { opacity: 1; transform: none; }
.js [data-reveal="fil"]::before { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--rideau); }
.js [data-reveal="fil"] .fil-contact { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--entree) var(--d, 0ms), transform .7s var(--entree) var(--d, 0ms); }
.js [data-reveal="liste"] { opacity: 1; transform: none; }
.js [data-reveal="liste"] li { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--entree), transform .6s var(--entree); }
.js [data-reveal="liste"] li:nth-child(2) { transition-delay: 80ms; }
.js [data-reveal="liste"] li:nth-child(3) { transition-delay: 160ms; }
.js [data-reveal="liste"] li:nth-child(4) { transition-delay: 240ms; }
.js [data-reveal="liste"] li:nth-child(n+5) { transition-delay: 320ms; }
.js [data-reveal].vu { opacity: 1; transform: none; }
.js [data-reveal="titre"].vu { clip-path: inset(-40% -25% -40% -12%); }
.js [data-reveal="fil"].vu::before { transform: scaleX(1); }
.js [data-reveal="fil"].vu .fil-contact, .js [data-reveal="liste"].vu li { opacity: 1; transform: none; }
.js [data-reveal="photo"] img, .js .bio[data-reveal] .etoiles svg { transition: transform .5s var(--entree); }
.js .bio[data-reveal] .etoiles svg { transform: scale(0); }
.js .bio[data-reveal].vu .etoiles svg { transform: scale(1); }
.js .bio[data-reveal].vu .etoiles svg:nth-child(1) { transition-delay: .35s; }
.js .bio[data-reveal].vu .etoiles svg:nth-child(2) { transition-delay: .45s; }
.js .bio[data-reveal].vu .etoiles svg:nth-child(3) { transition-delay: .55s; }
.js .bio[data-reveal].vu .etoiles svg:nth-child(4) { transition-delay: .65s; }
.machine-curseur { display: inline-block; width: .08em; height: 1em; margin-left: .06em; vertical-align: -.12em; background: currentColor; animation: clignote 1s steps(1) infinite; }

/* Cartes et photos qui se penchent vers la souris */
@media (hover: hover) and (pointer: fine) {
  .bio, .mosaique-photo, .parle-photo { transition: transform .35s var(--entree); }
  .bio:hover { transform: translateY(-6px) rotate(-.6deg); }
  .mosaique-photo:hover, .parle-photo:hover { transform: rotate(-1deg) scale(1.02); }
  .btn:hover .ico { transform: translateX(3px); }
  .btn .ico { transition: transform .2s var(--entree); }
}

/* ---------- En-tête qui s'efface quand on descend ---------- */
.entete { transition: transform .35s var(--entree), background-color .25s ease, box-shadow .25s ease; }
.entete.cache { transform: translateY(-110%); }

/* ---------- Passage d'une page à l'autre : ouverture à l'iris, comme au vieux cinéma ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: iris .75s var(--rideau) both; }
@keyframes iris { from { clip-path: circle(0% at 50% 45%); } to { clip-path: circle(75% at 50% 45%); } }
.entete { view-transition-name: entete; }

/* ---------- Dessins tracés au clic ---------- */
.dessin-vole { position: fixed; z-index: 60; pointer-events: none; color: var(--creme); transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: drop-shadow(0 3px 8px rgba(43, 12, 2, .35)); transition: opacity .9s ease, transform 1.1s cubic-bezier(.3, 0, .2, 1); }
.dessin-vole svg { display: block; width: 100%; height: auto; }
.dessin-vole.s-envole { opacity: 0; transform: translate(-50%, -110%) rotate(calc(var(--r, 0deg) * -1)) scale(.8); }
/* Un crayon pour curseur là où un clic dessine */
@media (hover: hover) and (pointer: fine) {
  .dessin-libre main { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cpath d='M21.17 6.81a1 1 0 0 0-3.99-3.99L3.84 16.17a2 2 0 0 0-.5.83l-1.32 4.35a.5.5 0 0 0 .62.62l4.35-1.32a2 2 0 0 0 .83-.5z' fill='%23FAF9F4' stroke='%231A0C07' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='m15 5 4 4' stroke='%231A0C07' stroke-width='1.4'/%3E%3C/svg%3E") 3 25, crosshair; }
  .dessin-libre main :is(.carte-creme, .bio, .jeu, .camera, .video-cadre, .forme, .mosaique) { cursor: auto; }
  .dessin-libre main :is(a, button, label, summary, .camera-reglage span) { cursor: pointer; }
}
.hero-astuce { margin: 1.1rem 0 0; font-weight: 700; font-size: .92rem; opacity: 0; animation: astuce .8s ease 3.2s forwards; }
.hero-astuce::before { content: "✎ "; }
@keyframes astuce { to { opacity: .8; } }
.pied-credit a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(250, 249, 244, .4); }

/* ---------- Actions artistiques ---------- */
.actions-titre { margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.actions-liste { list-style: none; margin: 0 0 clamp(2.4rem, 5vw, 3.6rem); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.action-carte { position: relative; display: flex; flex-direction: column; background: var(--creme); color: var(--texte-carte); border-radius: 30px; overflow: hidden; box-shadow: var(--ombre); }
.action-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.action-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.action-corps { position: relative; padding: clamp(22px, 3.2vw, 32px); }
.action-num { position: absolute; right: clamp(18px, 2.6vw, 26px); top: -2.1rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--terre); color: var(--creme); font-family: var(--titre); font-size: 2rem; line-height: 1; box-shadow: 0 6px 16px rgba(43, 12, 2, .3); }
.action-nom { font-family: var(--titre); text-transform: uppercase; font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; color: var(--terre-sombre); margin: 0 3.6rem .7rem 0; }
.action-public { display: inline-block; margin: 0 0 1rem; padding: .3em .85em; border-radius: 999px; background: rgba(180, 68, 32, .1); color: var(--terre-sombre); font-weight: 800; font-size: .88rem; }
.action-texte { margin: 0; font-weight: 600; color: var(--encre); }
.action-appel { max-width: 46rem; margin: 0 auto; text-align: center; }
.action-appel .carte-actions { justify-content: center; }
/* Tablette : une carte par ligne, photo à gauche, texte à droite (pas de carte seule sur sa ligne) */
@media (min-width: 640px) and (max-width: 1023px) {
  .actions-liste { grid-template-columns: 1fr; }
  .action-carte { flex-direction: row; }
  .action-photo { flex: 0 0 40%; aspect-ratio: auto; min-height: 240px; }
  .action-corps { flex: 1; align-self: center; }
  .action-num { top: clamp(18px, 2.6vw, 26px); }
}

/* ---------- Téléphone et tablette ---------- */
/* Le quiz : la liste des questions ne garde plus le retrait par défaut des listes (40 px perdus sur téléphone) */
.jeu-questions { padding: 0; }
/* Zones tactiles d'au moins 44 px sur écran tactile (WCAG 2.5.8 et recommandations Apple/Google) */
@media (pointer: coarse), (max-width: 1023px) {
  .fil-ariane ol { margin-bottom: .7rem; align-items: baseline; }
  .fil-ariane a { display: inline-block; padding: .75rem 0; }
  .pied-liens ul { gap: 0; }
  .pied-liens a, .pied-bas a { display: inline-block; padding: .65rem 0; }
  .pied-lien { padding: .6rem 0; }
  a.contact-lien, .contact-lien a, .fil-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .video-legende a { display: inline-block; padding: .6rem 0; }
  .nav-liste a:not(.btn) { padding-block: .7rem; }
  .camera-reglage label span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .pied-etiquettes li { font-size: .86rem; }
}
/* Écran tactile : pas de grain animé en mélange de calques (coûteux sur un téléphone), le grain reste fixe */
@media (pointer: coarse) {
  .hero-grain { animation: none; }
  .pellicule.tourne .pellicule-lumiere::before { animation: none; opacity: .14; }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 52px; }
}
@media (max-width: 600px) {
  /* Les dessins ne chevauchent plus les titres : plus petits, posés au-dessus */
  .quiz-coeur { width: 40px; top: .7rem; left: 10px; }
  .quiz-etoile { width: 44px; top: .3rem; right: 10px; }
  .mosaique-eclats { width: 42px; top: -2.6rem; left: 4px; }
  .banniere-doodle { width: 44px; top: -1.4em; }
  .contact-zigzag { width: 48px; top: -1.1em; }
  /* Panneau Super 8 plus court : le bouton Lecture partage la ligne du sens */
  .camera { grid-template-columns: auto 1fr; grid-template-areas: "marque compteur" "lecture sens" "cadence cadence" "film film"; gap: .9rem 1rem; padding: 1rem 1rem 1.1rem; }
  .camera-sens { justify-self: end; }
  .camera-reglage legend { margin-bottom: .3rem; }
  .camera-marque { font-size: 1.8rem; }
  .ecran { padding: 22px 12px; }
  .ecran .ampoules-haut, .ecran .ampoules-bas { left: 14px; right: 14px; }
}

/* ---------- Hors de l'écran : les boucles se mettent en pause ---------- */
.hors-champ, .hors-champ *, .hors-champ *::before, .hors-champ *::after { animation-play-state: paused !important; }

/* ---------- Réduire les animations : tout est immobile, tout est visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-grain, .hero-spot, .hero-defiler span, .doodle svg, .hero-etoile, .hero-coeur, .banniere-etoile,
  .forme, .forme-anneau, .forme-photo, .ampoules::before, .ampoules::after, .machine-curseur { animation: none !important; }
  .bandeau-piste, .pellicule-piste, .pellicule-lumiere::before, .pellicule-lumiere::after, .camera-voyant { animation: none !important; }
  .bandeau-cadre, .pellicule { overflow-x: auto; }
  .js .neon[data-neon] .l { opacity: 1; text-shadow: var(--lueur); animation: none !important; }
  .js [data-reveal], .js [data-reveal] li, .js [data-reveal] .fil-contact, .js .bio[data-reveal] .etoiles svg { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js [data-reveal="fil"]::before { transform: none !important; }
  .js .rideau, .js .rideau-cantonniere { display: none; }
  ::view-transition-new(root), ::view-transition-old(root) { animation: none !important; }
  .entete.cache { transform: none; }
}
