/* ---------- Réglages ---------- */
:root {
  --fond: #ffffff;
  --encre: #000000;
  --gris: #808080;
  --trait: #d4d4d4;
  --accent: #000000;     /* détails (curseur, point du menu) : noir, ou blanc sur les images */
  --blanc: #ffffff;
  --police: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --marge: clamp(16px, 2.2vw, 28px);
  --gouttiere: clamp(10px, 1.4vw, 20px);
  --rayon: 12px;
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
  --glisse: cubic-bezier(0.77, 0, 0.18, 1);
  --duree-film: 8s;       /* temps d'affichage de chaque film sur l'accueil */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: light; }
body {
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; text-transform: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.masque {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gouttiere);
}

/* Texte qui apparaît en glissant de sous une ligne invisible */
.aplat { width: 100%; height: 100%; }
.ligne { display: block; overflow: hidden; }
.ligne > span { display: block; }

/* ---------- Transition entre les pages : la nouvelle page monte comme un rideau ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: 800ms var(--glisse) both rideau; }
@keyframes rideau { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- En-tête ---------- */
.entete {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: var(--marge);
  color: var(--couleur-entete, var(--encre));
  pointer-events: none;
}
.entete > * { pointer-events: auto; }
.logo { display: block; width: 34px; }
.logo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* le blanc du logo disparaît sur le fond blanc */
  transition: scale 300ms var(--sortie);
}
.logo:hover img { scale: 1.08; }
.baseline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0;
  text-align: center;
  padding-top: 1px;
}
.nav { justify-self: end; list-style: none; text-align: right; font-size: 12px; line-height: 1.6; }
.nav a { position: relative; display: inline-block; }
/* Petit point lilas devant la page en cours, et au survol */
.nav a::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  scale: 0;
  transition: scale 250ms var(--sortie);
}
.nav a:hover::before, .nav a[aria-current]::before { scale: 1; }

/* ---------- Curseur personnalisé ---------- */
.curseur {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  pointer-events: none;
  translate: var(--x, -100px) var(--y, -100px);
}
.curseur span {
  display: block;
  padding: 7px 11px 6px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 300ms var(--sortie);
}
.curseur.visible span { transform: translate(-50%, -50%) scale(1); }
@media (pointer: fine) {
  body.a-curseur [data-curseur] { cursor: none; }
}
@media (pointer: coarse) { .curseur { display: none; } }

/* ---------- Écran de chargement (première visite) ---------- */
.chargement {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--fond);
  transition: opacity 900ms ease;
}
.chargement.sortie { opacity: 0; pointer-events: none; }
/* Le logo, en petit au centre. Il apparaît, puis se dilue comme une tache d'encre :
   il s'étale, se trouble (filtre SVG "encre" dans site.js) et s'efface. */
.chargement-logo {
  position: relative;
  width: clamp(44px, 4.5vw, 64px);
  mix-blend-mode: multiply; /* le blanc du logo disparaît sur le fond */
  animation: logo-arrive 700ms var(--sortie) 150ms both;
}
.chargement-logo img { display: block; width: 100%; height: auto; }
.chargement.dilue .chargement-logo {
  filter: url(#encre);
  animation: logo-dilue 1500ms cubic-bezier(0.2, 0.6, 0.3, 1) both;
}
@keyframes logo-arrive { from { opacity: 0; scale: 0.92; } }
@keyframes logo-dilue {
  0% { scale: 1; opacity: 1; }
  60% { opacity: 0.85; }
  100% { scale: 2.6; opacity: 0; }
}
.chargement svg { position: absolute; width: 0; height: 0; }

/* Pendant le chargement, l'en-tête et les commandes sont cachés, puis apparaissent en douceur */
body.logo-cache .entete .logo img { opacity: 0; }
.logo img { transition: scale 300ms var(--sortie), opacity 400ms; }
body.accueil .entete nav, body.accueil .baseline, body.accueil .diapo-bas {
  transition: opacity 700ms var(--sortie) 500ms, translate 900ms var(--sortie) 500ms;
}
body.en-chargement .entete nav, body.en-chargement .baseline { opacity: 0; translate: 0 -8px; }
body.en-chargement .diapo-bas { opacity: 0; translate: 0 8px; }
/* Le premier film ne passe pas par le rideau : il recule doucement pendant que le blanc s'efface */
.diapo-film.actif.premier { animation: none; }
.diapo-film.actif.premier .diapo-media > * { animation-duration: 2.4s; }
@keyframes devoile {
  from { clip-path: inset(100% 0 0 0); translate: 0 12px; }
  to { clip-path: inset(0 0 0 0); translate: 0 0; }
}
@keyframes monte { to { translate: 0 0; } }

/* ---------- Accueil : le diaporama plein écran ---------- */
body.accueil { overflow: hidden; }
body.accueil .entete { position: fixed; }
.diapo { position: fixed; inset: 0; color: var(--encre); --cadre-haut: 96px; --cadre-bas: 150px; }
.diapo-film {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
  background: var(--fond);
}
.diapo-film.precedent { visibility: visible; z-index: 1; }
/* Le film suivant est déjà là, caché sous le film en cours : sa vidéo se prépare */
.diapo-film.suivant { visibility: visible; z-index: 0; }
.diapo-film.actif { visibility: visible; z-index: 2; animation: rideau 1.1s var(--glisse) both; }
/* Le film est posé dans un grand cadre arrondi, sur le fond blanc */
.diapo-media { position: absolute; top: var(--cadre-haut); bottom: var(--cadre-bas); left: var(--marge); right: var(--marge); overflow: hidden; border-radius: var(--rayon); background: #e6e6e6; }
.diapo-film.actif .diapo-media > * { animation: recule 1.6s var(--sortie) both; }
/* La vidéo a déjà sa propre taille ("scale") pour la 4K : son zoom passe par "transform", qui s'y ajoute */
.diapo-film.actif .diapo-media > iframe { animation-name: recule-video; }
@keyframes recule { from { scale: 1.18; } }
@keyframes recule-video { from { transform: scale(1.18); } }
.diapo-media img, .diapo-media .aplat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diapo-media iframe { opacity: 0; transition: opacity 800ms; }
.diapo-media iframe.pret { opacity: 1; }

.diapo-infos {
  position: absolute;
  left: var(--marge); right: var(--marge);
  top: auto; bottom: calc(var(--cadre-bas) - 44px);
  z-index: 1;
  align-items: start;
  font-size: 16px;
  line-height: 1.1;
}
.diapo-infos .num { grid-column: 1 / 2; font-size: 11px; padding-top: 3px; }
.diapo-infos .t { grid-column: 2 / 8; font-size: 16px; font-weight: 500; }
.diapo-infos .client { grid-column: 8 / 11; }
.diapo-infos .annee { grid-column: 12 / 13; text-align: right; }
.diapo-film .ligne > span { translate: 0 105%; }
.diapo-film.actif .ligne > span { animation: monte 900ms var(--sortie) both; animation-delay: 0.45s; }
.diapo-film.actif .client .ligne > span { animation-delay: 0.52s; }
.diapo-film.actif .annee .ligne > span { animation-delay: 0.58s; }

.diapo-bas {
  position: fixed;
  left: var(--marge); right: var(--marge);
  bottom: var(--marge);
  z-index: 5;
  color: var(--encre);
}
.pause { font-size: 11px; margin-bottom: 12px; opacity: 0.85; }
.pause:hover { opacity: 1; }
/* Barre de progression en segments, comme des stories */
.progression { display: flex; gap: 6px; }
.progression button { flex: 1; height: 14px; display: flex; align-items: center; }
.progression i {
  position: relative;
  display: block;
  width: 100%; height: 2px;
  background: rgb(0 0 0 / 0.12);
  overflow: hidden;
}
.progression i::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--encre);
  transform-origin: left;
  transform: scaleX(0);
}
.progression .vu i::after { transform: scaleX(1); }
.progression .encours i::after { animation: remplit var(--duree-film) linear both; }
.diapo.en-pause .progression .encours i::after { animation-play-state: paused; }
@keyframes remplit { to { transform: scaleX(1); } }

/* ---------- Pages claires : structure commune ---------- */
.page { padding: calc(var(--marge) + 110px) var(--marge) 0; min-height: 100svh; }

/* ---------- Works : la liste des films ---------- */
.liste { list-style: none; border-top: 1px solid var(--trait); }
.liste a {
  display: block;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--trait);
  transition: opacity 250ms var(--sortie);
}
.liste .t { display: block; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.liste .infos { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; }
.liste .infos span:first-child { color: var(--gris); }
.liste:has(a:hover, a:focus-visible) a:not(:hover, :focus-visible) { opacity: 0.3; }
.liste .vignette { display: none; }

/* Vignette qui suit la souris sur la liste */
.apercu {
  position: fixed;
  top: 0; left: 0;
  z-index: 20;
  width: clamp(220px, 24vw, 380px);
  aspect-ratio: 4 / 3;
  border-radius: var(--rayon);
  overflow: hidden;
  pointer-events: none;
  translate: var(--x, 0) var(--y, 0);
  opacity: 0;
  scale: 0.9;
  transition: opacity 200ms, scale 400ms var(--sortie);
}
.apercu.visible { opacity: 1; scale: 1; }
.apercu > div { position: absolute; inset: 0; opacity: 0; }
.apercu > div.actif { opacity: 1; }
.apercu img, .apercu .aplat, .vignette img, .vignette .aplat { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page d'un film ---------- */
.film-tete { align-items: end; margin-bottom: 20px; }
.film-tete h1 {
  grid-column: 1 / 13;
  font-size: clamp(40px, 7.5vw, 120px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.88;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.film-tete h1 .ligne > span { translate: 0 105%; animation: monte 1s var(--sortie) 0.35s both; }
.faits { grid-column: span 3; font-size: 12px; }
.faits dt { color: var(--gris); }

/* Vidéo YouTube recadrée pour remplir son cadre sans bandes noires.
   --r est le format de l'image du film (1.3333 pour du 4:3), réglé dans contenu.js. */
.cadre-video { container-type: size; }
.cadre-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* Le lecteur est dessiné 2 fois plus grand puis réduit de moitié :
     YouTube croit jouer sur un très grand écran et choisit une meilleure qualité (jusqu'à la 4K). */
  height: calc(max(100cqh, calc(100cqw / var(--r, 1.7778))) * 2);
  width: calc(max(100cqh, calc(100cqw / var(--r, 1.7778))) * 16 / 9 * 2);
  translate: -50% -50%;
  scale: 0.51; /* 0.5 pour la réduction, +2 % de marge pour cacher les liserés des bandes noires */
  border: 0;
  pointer-events: none;
}
/* Films plus larges que 16:9 (bandes noires en haut et en bas) */
.cadre-video.large iframe {
  width: calc(max(100cqw, calc(100cqh * var(--r))) * 2);
  height: calc(max(100cqw, calc(100cqh * var(--r))) * 9 / 16 * 2);
}

/* Le lecteur de la page film */
.lecteur {
  position: relative;
  width: 100%;
  aspect-ratio: var(--r, 16 / 9);
  max-height: 84svh;
  border-radius: var(--rayon);
  overflow: hidden;
  background: #000;
}
.lecteur-affiche { position: absolute; inset: 0; z-index: 1; transition: opacity 600ms; }
.lecteur-affiche img, .lecteur-affiche .aplat, .lecteur > img, .lecteur > .aplat { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--sortie); }
.lecteur:not(.lance):hover .lecteur-affiche img { scale: 1.03; }
.lecteur.pret .lecteur-affiche { opacity: 0; pointer-events: none; }
.lecteur-zone { position: absolute; inset: 0; z-index: 2; width: 100%; }
.lecteur-zone:focus-visible { outline-offset: -6px; }

.lecteur-barre {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.5), transparent);
  color: var(--blanc);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 300ms, translate 400ms var(--sortie);
  pointer-events: none;
}
.lecteur.lance:not(.en-lecture) .lecteur-barre,
.lecteur.lance.barre-visible .lecteur-barre,
.lecteur.lance:focus-within .lecteur-barre { opacity: 1; translate: 0 0; pointer-events: auto; }
.lecteur-barre button:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb-temps { min-width: 88px; font-variant-numeric: tabular-nums; }
.lb-progression { position: relative; flex: 1; height: 16px; cursor: pointer; }
.lb-progression::before, .lb-progression i {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 2px;
}
.lb-progression::before { background: rgb(255 255 255 / 0.3); }
.lb-progression i { background: var(--blanc); transform-origin: left; transform: scaleX(var(--avance, 0)); }

.lecteur:fullscreen { max-height: none; aspect-ratio: auto; border-radius: 0; }

/* Les images du film, sous le texte */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gouttiere);
  margin-top: clamp(40px, 6vw, 90px);
}
.galerie img { width: 100%; aspect-ratio: var(--r, 4 / 3); object-fit: cover; border-radius: var(--rayon); }
/* Nombre impair d'images : la dernière prend toute la largeur */
.galerie img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.absent {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 24px; text-align: center;
  color: var(--gris);
  font-size: 12px;
}

.film-corps { padding-top: clamp(28px, 4vw, 56px); }
.description {
  grid-column: 1 / 7;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 40ch;
}
.credits {
  grid-column: 8 / 13;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: var(--gouttiere); row-gap: 4px;
  align-content: start;
  font-size: 12px;
}
.credits dt { color: var(--gris); }

.suivant {
  display: block;
  margin-top: clamp(80px, 12vw, 160px);
  padding: 14px 0 var(--marge);
  border-top: 1px solid var(--encre);
  font-size: 12px;
}
.suivant .t {
  display: block;
  margin-top: 8px;
  font-size: clamp(40px, 7.5vw, 120px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.88;
  color: var(--trait);
  transition: color 300ms var(--sortie);
}
.suivant:hover .t, .suivant:focus-visible .t { color: var(--encre); }

/* ---------- Info : fond lilas, grande phrase ---------- */
.accroche {
  font-size: clamp(34px, 6.2vw, 104px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  max-width: 16ch;
}
.accroche .mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.accroche .mot > span { display: inline-block; translate: 0 105%; animation: monte 1s var(--sortie) both; }
.info-corps { margin-top: clamp(48px, 7vw, 110px); align-items: start; }
.portrait { grid-column: 1 / 7; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); background: #e6e6e6; }
body.info .info-corps { margin-top: 0; }
.info-texte { grid-column: 8 / 13; min-width: 0; }
.bio p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.3; max-width: 44ch; margin-bottom: 1em; text-transform: none; }
.contact { margin-top: clamp(32px, 4vw, 56px); padding-top: 12px; border-top: 1px solid var(--encre); font-size: 12px; }
.email {
  display: inline-block;
  margin: 8px 0 14px;
  font-size: clamp(20px, 2.2vw, 34px);
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: none;
}
.email:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-actions a:hover, .copier:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
footer {
  display: flex; justify-content: space-between;
  margin-top: clamp(64px, 9vw, 140px);
  padding: 14px var(--marge) var(--marge);
  font-size: 11px;
}
footer a:hover { text-decoration: underline; }

/* ---------- Écrans tactiles et téléphone ---------- */
@media (hover: none), (max-width: 720px) {
  .apercu { display: none; }
  .liste .vignette { display: block; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; margin-bottom: 14px; }
}
@media (max-width: 720px) {
  .entete { grid-template-columns: 1fr auto; }
  .baseline { display: none; }
  .diapo { --cadre-haut: 110px; --cadre-bas: 190px; }
  .diapo-infos { bottom: calc(var(--marge) + 64px); row-gap: 6px; }
  .diapo-infos .num { grid-column: 1 / 13; }
  .diapo-infos .t { grid-column: 1 / 13; font-size: 22px; }
  .diapo-infos .client { grid-column: 1 / 9; }
  .diapo-infos .annee { grid-column: 9 / 13; }
  .faits { grid-column: span 6; margin-bottom: 10px; }
  .description, .credits, .portrait, .info-texte { grid-column: 1 / 13; }
  .credits { margin-top: 28px; }
  .galerie { grid-template-columns: 1fr; }
  .portrait { margin-bottom: 28px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .progression .encours i::after { animation: none !important; transform: scaleX(1); }
}

/* ---------- Petits détails ---------- */
::selection { background: var(--encre); color: var(--blanc); }
.suivant:hover .t::after, .suivant:focus-visible .t::after { content: "."; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(32px, 5vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: clamp(32px, 5vw, 64px); }
.legal h1 span { color: var(--gris); }
.legal section { padding: 14px 0 28px; border-top: 1px solid var(--trait); }
.legal h2 { font-size: 12px; font-weight: 500; margin-bottom: 10px; }
.legal p { text-transform: none; font-size: 15px; line-height: 1.45; max-width: 60ch; margin-bottom: 0.8em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); }
.legal .legal-date { color: var(--gris); font-size: 12px; }
.pied-liens { display: flex; gap: 18px; }

/* ===========================================================
   Accueil plein cadre : le film remplit l'écran, avec une fine marge blanche
   et des coins arrondis. Le texte et le menu sont posés en blanc sur l'image.
   =========================================================== */
body.accueil { --cadre: clamp(10px, 1.3vw, 20px); }
.diapo { color: var(--blanc); }
.diapo-media {
  top: var(--cadre); bottom: var(--cadre);
  left: var(--cadre); right: var(--cadre);
  border-radius: clamp(14px, 2vw, 30px);
  background: #111;
}
/* Un léger voile sombre en haut et en bas, pour que le texte blanc reste lisible */
.diapo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.1) 28%, rgb(0 0 0 / 0.1) 68%, rgb(0 0 0 / 0.45));
  pointer-events: none;
}
/* Numéro, client, titre et année sur une ligne, au milieu de l'image */
.diapo-infos {
  top: 50%; bottom: auto;
  translate: 0 -50%;
  left: calc(var(--cadre) + var(--marge));
  right: calc(var(--cadre) + var(--marge));
  z-index: 2;
  color: var(--blanc);
  font-size: clamp(16px, 1.6vw, 24px);
  align-items: center; /* tout sur la même ligne */
}
.diapo-infos .num { grid-column: 1 / 2; }
.diapo-infos .client { grid-column: 2 / 7; }
.diapo-infos .t { grid-column: 7 / 12; font-size: inherit; font-weight: 400; text-align: right; }
.diapo-infos .annee { grid-column: 12 / 13; font-size: 11px; }
.diapo-infos > * { grid-row: 1; }
/* En-tête et commandes, à l'intérieur du cadre, en blanc */
body.accueil .entete { color: var(--blanc); padding: calc(var(--cadre) + 18px) calc(var(--cadre) + var(--marge)); }
body.accueil .logo img { filter: invert(1); mix-blend-mode: screen; }
.diapo-bas {
  left: calc(var(--cadre) + var(--marge));
  right: calc(var(--cadre) + var(--marge));
  bottom: calc(var(--cadre) + 16px);
  color: var(--blanc);
}
.progression i { background: rgb(255 255 255 / 0.28); }
.progression i::after { background: var(--blanc); }
@media (max-width: 720px) {
  .diapo-infos { top: auto; bottom: calc(var(--cadre) + 70px); translate: none; row-gap: 6px; }
  .diapo-infos > * { grid-row: auto; }
  .diapo-infos .num { grid-column: 1 / 13; }
  .diapo-infos .t { grid-column: 1 / 13; font-size: 24px; text-align: left; }
  .diapo-infos .client { grid-column: 1 / 9; }
  .diapo-infos .annee { grid-column: 9 / 13; text-align: right; }
}
/* Sur l'accueil, le menu est posé sur l'image : le petit point devient blanc */
body.accueil .nav a::before { background: var(--blanc); }

/* ---------- Quand GSAP est actif, c'est lui qui anime : on coupe les animations CSS équivalentes ---------- */
.gsap .diapo-film.actif,
.gsap .diapo-film.actif .diapo-media > *,
.gsap .diapo-film.actif .ligne > span,
.gsap .film-tete h1 .ligne > span,
.gsap .accroche .mot > span { animation: none; }
.gsap .diapo-film .ligne > span,
.gsap .film-tete h1 .ligne > span,
.gsap .accroche .mot > span { translate: none; }
