/* UNISSON · version blanche, haute couture
   Blanc pur, encre noire, un seul gris. Bodoni Moda pour les titres, Jost pour tout ce qui se lit.
   Lisibilité : courant 18 px minimum, libellés 13 px en graisse 500.
   Fluidité : tout ce qui bouge passe par transform et opacity, rien d'autre. */

:root {
  --blanc: #ffffff;
  --encre: #0b0b0b;
  --gris: #555555;
  --fil: #e3e1dc;
  --voile: #f5f4f1;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --marge: clamp(20px, 5.2vw, 88px);
  --entete: 76px;
  --doux: cubic-bezier(.22, .8, .2, 1);
  --lent: cubic-bezier(.65, 0, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--entete); overflow-x: clip; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: var(--sans); font-size: 18px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; padding: 0; }
ol { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 1px solid var(--encre); outline-offset: 5px; }
::selection { background: var(--encre); color: var(--blanc); }

.sauter { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--encre); color: var(--blanc); padding: 12px 18px; font-size: 14px; }
.sauter:focus { left: 12px; top: 12px; }
.cache { position: absolute; left: -9999px; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Voix ─────────────────────────────────────────── */
.surtitre {
  font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; font-style: normal;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gris);
}
.surtitre a { display: inline-block; border-bottom: 1px solid currentColor; padding: 10px 0 3px; }
.courant { font-size: clamp(18px, 1.32vw, 20px); line-height: 1.7; color: #2a2a2a; max-width: 34em; }
.titre-geant, .titre-maison, .titre-section { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
/* Les tailles se plient toujours à la largeur : jamais un mot par ligne sur un écran étroit. */
.titre-geant { font-size: min(clamp(46px, 9.4vw, 148px), 12.2vw); line-height: .98; }
.titre-geant .ligne { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.titre-geant .ligne > * { display: inline-block; }
.titre-geant .surtitre { display: block; }
.titre-maison { font-size: min(clamp(36px, 5vw, 76px), 10vw); line-height: 1.04; }
.titre-maison > span, .titre-maison > em { display: block; }
.titre-section { font-size: min(clamp(44px, 7.6vw, 120px), 12vw); line-height: 1; }

/* ── Générique ────────────────────────────────────── */
.generique {
  position: fixed; inset: 0; z-index: 100; background: var(--blanc);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.js .generique { display: flex; animation: lever 1s var(--lent) 2.15s forwards; }
.js.deja-vu .generique { display: none; }
.generique-nom { font-family: var(--serif); font-size: min(clamp(30px, 5.2vw, 68px), 9vw); letter-spacing: .44em; margin-right: -.44em; line-height: 1; display: flex; }
.generique-nom span { opacity: 0; transform: translateY(.5em); animation: lettre .9s var(--doux) forwards; }
.generique-nom span:nth-child(1) { animation-delay: .10s; }
.generique-nom span:nth-child(2) { animation-delay: .17s; }
.generique-nom span:nth-child(3) { animation-delay: .24s; }
.generique-nom span:nth-child(4) { animation-delay: .31s; }
.generique-nom span:nth-child(5) { animation-delay: .38s; }
.generique-nom span:nth-child(6) { animation-delay: .45s; }
.generique-nom span:nth-child(7) { animation-delay: .52s; }
.generique-fil { width: 72px; height: 1px; background: var(--encre); transform: scaleX(0); animation: fil 1s var(--lent) .7s forwards; }
.generique-sous { font-size: 13px; font-weight: 500; letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; color: var(--gris); opacity: 0; animation: fondu 1s var(--doux) 1s forwards; }
@keyframes lettre { to { opacity: 1; transform: none; } }
@keyframes fil { to { transform: scaleX(1); } }
@keyframes fondu { to { opacity: 1; } }
@keyframes lever { to { transform: translateY(-100%); visibility: hidden; } }

/* ── En-tête ──────────────────────────────────────── */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--entete);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--marge); background: var(--blanc);
  border-bottom: 1px solid transparent; transition: border-color .5s var(--doux);
}
.entete.plein { border-bottom-color: var(--fil); }
.entete a { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1; }
.entete-gauche { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.entete-droite { display: flex; gap: clamp(16px, 2.2vw, 36px); justify-content: flex-end; align-items: center; }
.entete-gauche a, .reserver { position: relative; padding: 12px 0; }
.entete-gauche a::after, .reserver::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--encre);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--doux);
}
.reserver::after, .entete-gauche a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.entete-gauche a:hover::after { transform: scaleX(1); transform-origin: left; }
.reserver:hover::after { transform: scaleX(0); transform-origin: right; }
.marque { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px) !important; font-weight: 400 !important; letter-spacing: .42em !important; margin-right: -.42em; text-transform: none !important; padding: 12px 0; }
.langues { display: flex; gap: 2px; }
.langues a { padding: 12px 6px; color: #6f6f6f; transition: color .4s var(--doux); }
.langues a[aria-current], .langues a:hover { color: var(--encre); }
.reserver .bref { display: none; }

/* ── Ouvertures ───────────────────────────────────── */
.ouverture, .collection-tete, .film-tete { padding-top: calc(var(--entete) + clamp(40px, 8vh, 96px)); text-align: center; }
.ouverture-sur, .collection-tete > .surtitre, .film-tete > .surtitre { margin-bottom: clamp(20px, 3.2vh, 36px); }
.ouverture-sous { margin: clamp(22px, 3.4vh, 40px) auto 0; padding: 0 var(--marge); max-width: 34em; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: #2a2a2a; }
.titre-geant { padding: 0 var(--marge); }
.film-tete .titre-geant, .ouverture-page .titre-geant { font-size: min(clamp(40px, 7.4vw, 116px), 11vw); }

.js .titre-geant .ligne > * { transform: translateY(110%); animation: monter 1.3s var(--doux) forwards; animation-delay: 2.5s; }
.js .titre-geant .ligne + .ligne > * { animation-delay: 2.62s; }
.js .ouverture-sur, .js .ouverture-sous, .js .ecran, .js .collection-tete > .surtitre, .js .film-tete > .surtitre { opacity: 0; animation: apparaitre 1.4s var(--doux) forwards; animation-delay: 2.45s; }
.js .ouverture-sous { animation-delay: 2.85s; }
.js .ecran { animation-delay: 3s; }
.js.deja-vu .titre-geant .ligne > * { animation-delay: .1s; }
.js.deja-vu .titre-geant .ligne + .ligne > * { animation-delay: .22s; }
.js.deja-vu .ouverture-sur, .js.deja-vu .collection-tete > .surtitre, .js.deja-vu .film-tete > .surtitre { animation-delay: .05s; }
.js.deja-vu .ouverture-sous { animation-delay: .45s; }
.js.deja-vu .ecran { animation-delay: .6s; }
@keyframes monter { to { transform: none; } }
@keyframes apparaitre { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* L'écran */
.ecran { margin-top: clamp(40px, 7vh, 84px); }
.ecran-cadre {
  position: relative; display: block; width: calc(100% - 2 * var(--marge)); margin: 0 auto;
  aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--voile);
}
.ecran-film { width: 100%; height: 100%; object-fit: cover; }
.ecran-lecture {
  position: absolute; left: 50%; bottom: clamp(18px, 3vw, 40px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  padding: 13px 22px 13px 16px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(11, 11, 11, .64);   /* voile assez dense pour rester lisible sur un plan clair du film */
  transition: background .5s var(--doux), color .5s var(--doux), border-color .5s var(--doux), opacity .4s var(--doux);
}
.ecran-lecture svg { width: 18px; height: 18px; fill: currentColor; }
.ecran-cadre:hover .ecran-lecture, .ecran-cadre:focus-visible .ecran-lecture { background: #fff; color: var(--encre); border-color: #fff; }
.ecran-cartel { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; padding: 18px var(--marge) 0; text-align: left; }
.ecran-nom { display: flex; align-items: baseline; gap: 8px 22px; flex-wrap: wrap; }
.ecran-cartel em { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); }
.ecran-cartel .lien-film { margin-top: 0; }

/* Sur grand écran, le cadre s'épingle et avance vers vous jusqu'au plein écran pendant qu'on défile (transform seul, donc fluide). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) and (min-height: 560px) {
    .ecran:not(.ecran-simple) {
      --hbox: calc(100vh - var(--entete));
      --h0: calc((100vw - 2 * var(--marge)) / 2.39);
      --vide: max(0px, calc((var(--hbox) - var(--h0)) / 2));
      position: relative; height: calc(var(--h0) + 120vh + var(--vide) + 92px); padding-bottom: calc(var(--vide) + 92px);
      view-timeline-name: --ecran; view-timeline-inset: calc(var(--entete) + var(--vide)) 0px;
    }
    .ecran:not(.ecran-simple) .ecran-cadre {
      position: sticky; top: calc(var(--entete) + var(--vide)); height: var(--h0); aspect-ratio: auto; z-index: 1;
      will-change: transform; animation: avancer linear both; animation-timeline: --ecran; animation-range: contain 0% contain 76%;
    }
    .ecran:not(.ecran-simple) .ecran-cartel { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; align-items: center; padding-top: 0; }
    @keyframes avancer { from { transform: none; } to { transform: scale(var(--zoom, 1.5)); } }
  }
}

/* ── Cadres et apparitions ────────────────────────── */
.cadre { position: relative; overflow: hidden; background: var(--voile); }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.js [data-vu] { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--doux), transform 1.2s var(--doux); }
.js [data-vu].vu { opacity: 1; transform: none; }
.js .cadre[data-vu] { transform: translateY(46px); transition-duration: 1.5s; }
.js .cadre[data-vu].vu { transform: none; }

/* Les titres montent mot à mot */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .2em; margin: 0 -.07em -.2em; }
.mot > span { display: inline-block; }
.js .mot > span { transform: translateY(112%); transition: transform 1.25s var(--doux); transition-delay: calc(var(--i, 0) * 75ms); }
.js .vu .mot > span { transform: none; }
.js .titre-maison[data-vu], .js .titre-section[data-vu], .js .monde-texte h2[data-vu] { opacity: 1; transform: none; }

/* ── La maison ────────────────────────────────────── */
.maison {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 128px);
  align-items: start; padding: clamp(96px, 15vw, 232px) var(--marge) 0;
}
.maison-portrait { aspect-ratio: 4 / 5; }
.maison-texte { padding-top: clamp(0px, 5vw, 88px); }
.maison-texte .surtitre { margin-bottom: clamp(20px, 2.4vw, 34px); }
.maison-texte .titre-maison { margin-bottom: clamp(26px, 3vw, 44px); }
.maison-texte .courant + .courant { margin-top: 1.1em; }
.maison-detail { margin-top: clamp(44px, 6vw, 96px); width: min(100%, 440px); aspect-ratio: 1920 / 1012; margin-left: auto; }

/* ── Les films ────────────────────────────────────── */
.films { padding: clamp(110px, 16vw, 248px) var(--marge) 0; }
.films-tete {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap;
  padding-bottom: clamp(28px, 3.4vw, 48px); border-bottom: 1px solid var(--encre);
}
.films-tete .courant { max-width: 24em; }
.film {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 8fr) minmax(0, 2.9fr);
  gap: clamp(20px, 3vw, 52px); align-items: start;
  padding: clamp(40px, 6vw, 92px) 0; border-bottom: 1px solid var(--fil);
}
.film-numero { font-family: var(--serif); font-size: clamp(54px, 6.6vw, 108px); line-height: .82; letter-spacing: -.03em; }
.film-numero em { font-size: .36em; vertical-align: top; letter-spacing: 0; margin-right: .08em; position: relative; top: .12em; }
.film-affiche { display: block; width: 100%; aspect-ratio: 1920 / 1012; }
.film-affiche .lecture {
  position: absolute; left: clamp(14px, 1.8vw, 28px); bottom: clamp(14px, 1.8vw, 28px); width: 68px; height: 68px;
  display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .85); border-radius: 50%;
  color: #fff; background: rgba(11, 11, 11, .2);
  transition: transform .7s var(--doux), background .5s var(--doux), color .5s var(--doux), opacity .4s var(--doux);
}
.film-affiche .lecture svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.film-affiche:hover .lecture, .film-affiche:focus-visible .lecture { transform: scale(1.1); background: #fff; color: var(--encre); }
.film-affiche img { transition: transform 1.6s var(--doux); }
.film-affiche:hover img { transform: scale(1.035); }
.film-fiche h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.1; margin-bottom: clamp(18px, 2vw, 30px); }
.film-fiche h3 a { display: inline-block; padding: 4px 0; }
.film-fiche dl div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--fil); }
.film-fiche dl div:last-child { border-bottom: 1px solid var(--fil); }
.film-fiche dt { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); padding-top: 4px; }
.film-fiche dd { font-size: 18px; text-align: right; }
.lien-film {
  display: inline-block; margin-top: clamp(22px, 2.4vw, 34px); position: relative; padding: 10px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
}
.lien-film::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--encre); transform-origin: left; transition: transform .6s var(--doux); }
.lien-film:hover::after { transform: scaleX(.35); }
.film-inverse { grid-template-columns: minmax(0, 2.9fr) minmax(0, 8fr) minmax(0, 1.5fr); }
.film-inverse .film-numero { order: 3; text-align: right; }
.film-inverse .film-affiche { order: 2; }
.film-inverse .film-fiche { order: 1; }
.films-suite { text-align: center; padding-top: clamp(36px, 5vw, 72px); }
.films-suite .lien-film { margin-top: 0; }

/* ── Images de films : quatre planches, dans leur cadrage d'origine ── */
.planches { padding: clamp(110px, 16vw, 248px) var(--marge) 0; }
.planches-tete { text-align: center; margin-bottom: clamp(56px, 8vw, 128px); }
.planches-tete .surtitre { margin-bottom: clamp(20px, 2.4vw, 34px); }
.planches-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); row-gap: clamp(28px, 6vw, 104px); }
.planche { aspect-ratio: 1920 / 1012; }
.p-a { grid-column: 1 / span 7; }
.p-b { grid-column: 8 / span 5; margin-top: clamp(40px, 12vw, 200px); }
.p-c { grid-column: 2 / span 5; }
.p-d { grid-column: 7 / span 6; margin-top: clamp(28px, 7vw, 120px); }

/* ── Étapes ───────────────────────────────────────── */
.etapes { padding: clamp(110px, 16vw, 248px) var(--marge) 0; }
.etapes .titre-section { font-size: min(clamp(38px, 5.6vw, 88px), 10vw); max-width: 12em; }
.etapes-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 60px); margin-top: clamp(48px, 6vw, 96px); }
.etapes-liste li { border-top: 1px solid var(--encre); padding-top: clamp(20px, 2.2vw, 32px); }
.js .etapes-liste li:nth-child(2) { transition-delay: .12s; }
.js .etapes-liste li:nth-child(3) { transition-delay: .24s; }
.etape-chiffre { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2vw, 30px); line-height: 1; color: var(--gris); margin-bottom: clamp(30px, 4vw, 64px); }
.etapes-liste h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; margin-bottom: 16px; }

/* ── Questions ────────────────────────────────────── */
.questions { padding: clamp(110px, 16vw, 248px) var(--marge) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 128px); }
.questions-liste div { border-top: 1px solid var(--encre); padding: clamp(22px, 2.6vw, 36px) 0 clamp(28px, 3.4vw, 48px); }
.questions-liste dt { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-bottom: 12px; font-optical-sizing: none; font-variation-settings: "opsz" 26; }

/* ── Monde ────────────────────────────────────────── */
.monde { position: relative; margin-top: clamp(110px, 16vw, 248px); height: min(92vh, 56vw); min-height: min(440px, 120vw); overflow: hidden; background: #111; }
.monde-image { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.monde::after { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 8, .42); }
.monde-texte { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0 var(--marge); text-align: center; color: #fff; }
/* Sur une photo, les déliés du Bodoni disparaissent : on prend la coupe optique des petits corps, aux traits plus pleins. */
.monde-texte h2 { width: 100%; font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 16; font-size: min(clamp(28px, 5.4vw, 86px), 7.6vw); line-height: 1.08; }
.monde-texte h2 > span, .monde-texte h2 > em { display: block; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    .monde-image { will-change: transform; animation: glisser linear both; animation-timeline: view(); }
    @keyframes glisser { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
  }
}

/* ── Réserver votre date : une lettre à compléter ── */
.date { padding: clamp(110px, 15vw, 232px) var(--marge) clamp(96px, 13vw, 200px); text-align: center; }
.date-tete .surtitre { margin-bottom: clamp(20px, 2.4vw, 34px); }
.date-tete .titre-maison { margin-bottom: clamp(22px, 2.6vw, 38px); }
.date-tete .courant { margin: 0 auto; }
.lettre { position: relative; max-width: 1080px; margin: clamp(56px, 7vw, 112px) auto 0; padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--encre); }
/* Texte long en Bodoni : coupe optique des petits corps, aux déliés plus pleins, pour rester lisible. */
.lettre-phrase { font-family: var(--serif); font-size: min(clamp(26px, 3.3vw, 48px), 7.4vw); line-height: 1.85; letter-spacing: -.004em; text-wrap: balance; font-optical-sizing: none; font-variation-settings: "opsz" 26; }
.blanc { position: relative; display: inline-block; vertical-align: baseline; }
.blanc input {
  font: inherit; font-style: italic; color: var(--encre); background: transparent; text-align: center;
  width: 7.2em; max-width: 100%; min-height: 48px; padding: 0 .15em; margin: 0 .12em;
  border: 0; border-bottom: 1px solid var(--encre); border-radius: 0; outline: 0;
  field-sizing: content; min-width: 5.2em;
  transition: box-shadow .4s var(--doux), background-color .4s var(--doux);
  -webkit-appearance: none; appearance: none;
}
.b-long input { width: 9.6em; min-width: 7em; }
.blanc input::placeholder { color: #6f6f6f; opacity: 1; font-style: italic; }
.blanc input:focus { box-shadow: 0 1px 0 0 var(--encre); background: var(--voile); }
.blanc input[aria-invalid="true"] { border-bottom-color: #a4161a; box-shadow: 0 1px 0 0 #a4161a; }
.ponct { margin-left: -.1em; }
.lettre-histoire { max-width: 720px; margin: clamp(48px, 6vw, 88px) auto 0; text-align: left; }
.lettre-histoire label { display: block; text-align: center; margin-bottom: 14px; }
.lettre-histoire textarea {
  font: inherit; font-size: 19px; line-height: 1.7; color: var(--encre); background: transparent; width: 100%; min-height: 112px;
  border: 0; border-bottom: 1px solid var(--encre); border-radius: 0; padding: 10px 0; outline: 0; resize: vertical;
  transition: box-shadow .4s var(--doux); -webkit-appearance: none; appearance: none;
}
.lettre-histoire textarea:focus { box-shadow: 0 1px 0 0 var(--encre); }
.lettre-pied { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(44px, 5vw, 76px); }
.lettre-note { letter-spacing: .26em; }
.formulaire-erreur { font-size: 17px; color: #a4161a; }
.bouton {
  position: relative; display: inline-block; overflow: hidden; width: min(100%, 420px); min-height: 66px; padding: 22px 34px;
  background: var(--encre); color: var(--blanc); border: 1px solid var(--encre); text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1.5;
  transition: color .6s var(--doux);
}
.bouton::before { content: ""; position: absolute; inset: 0; background: var(--blanc); transform: translateY(101%); transition: transform .7s var(--lent); }
.bouton span { position: relative; }
.bouton:hover { color: var(--encre); }
.bouton:hover::before { transform: none; }
.bouton:active { transform: scale(.99); }
.bouton:disabled { opacity: .5; cursor: default; }
.merci { position: absolute; inset: 0; background: var(--blanc); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; outline: 0; }
.merci[hidden] { display: none; }
.merci-titre { font-family: var(--serif); font-size: min(clamp(52px, 7vw, 104px), 16vw); line-height: 1; }

/* ── Page « Les films » ───────────────────────────── */
.collection { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 7vw, 120px) clamp(24px, 5vw, 88px); padding: clamp(64px, 9vw, 144px) var(--marge) 0; }
.carte-film { display: flex; flex-direction: column; gap: 14px; }
.carte-film:nth-child(even) { margin-top: clamp(0px, 9vw, 160px); }
.carte-affiche { display: block; aspect-ratio: 1920 / 1012; }
.js .carte-affiche[data-vu] { opacity: 1; transform: none; }
.carte-affiche img { transition: transform 1.6s var(--doux); }
.carte-film:hover .carte-affiche img { transform: scale(1.035); }
.carte-ligne { display: flex; align-items: baseline; gap: 18px; padding-top: 8px; }
.carte-numero { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); color: var(--gris); }
.carte-numero em { font-size: .6em; vertical-align: top; margin-right: .1em; }
.carte-noms { font-family: var(--serif); font-size: clamp(28px, 2.7vw, 42px); line-height: 1.1; }

/* ── Page d'un film ───────────────────────────────── */
.film-notes { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 128px); align-items: start; padding: clamp(64px, 8vw, 128px) var(--marge) 0; }
.film-notes .courant { font-size: clamp(19px, 1.6vw, 23px); max-width: 30em; }
.suivant { padding: clamp(110px, 15vw, 232px) var(--marge) 0; text-align: center; }
.suivant-lien { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; padding: 8px 24px; }
.suivant-lien .titre-maison { border-bottom: 1px solid transparent; transition: border-color .5s var(--doux); }
.suivant-lien:hover .titre-maison { border-bottom-color: var(--encre); }
.appel { padding: clamp(110px, 15vw, 232px) var(--marge) clamp(96px, 13vw, 200px); text-align: center; }
.appel .titre-maison { margin-bottom: clamp(32px, 4vw, 56px); }

/* ── Page introuvable ─────────────────────────────── */
.perdue { min-height: 78vh; padding-bottom: clamp(96px, 13vw, 200px); }
.perdue-liens { margin-top: clamp(32px, 4vw, 56px); }

/* ── Pied ─────────────────────────────────────────── */
.pied { border-top: 1px solid var(--encre); padding: clamp(40px, 6vw, 88px) var(--marge) clamp(26px, 3vw, 40px); overflow: hidden; }
.pied-marque { font-family: var(--serif); font-size: 12.4vw; line-height: .9; letter-spacing: .2em; margin-right: -.2em; text-align: center; white-space: nowrap; overflow: hidden; padding: .06em 0 .04em; }
.pied-marque span { display: inline-block; }
.js .pied-marque[data-vu] { opacity: 1; transform: none; }
.js .pied-marque span { transform: translateY(108%); transition: transform 1.5s var(--doux); transition-delay: calc(var(--i, 0) * 85ms); }
.js .pied-marque.vu span { transform: none; }
.pied-liens { display: flex; justify-content: center; gap: 10px clamp(22px, 4vw, 64px); flex-wrap: wrap; margin-top: clamp(36px, 5vw, 76px); }
.pied-ligne { display: flex; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; margin-top: clamp(28px, 3.6vw, 52px); padding-top: 20px; border-top: 1px solid var(--fil); }
.pied-ligne p, .pied-liens a { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #444; padding: 8px 0; }
.pied-liens a { position: relative; color: var(--encre); }
.pied-liens a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--encre); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--doux); }
.pied-liens a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── La salle ─────────────────────────────────────── */
.salle {
  position: fixed; inset: 0; z-index: 90; background: #060606; color: #fff;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center;
  padding: clamp(14px, 2vw, 28px) clamp(14px, 4vw, 64px) clamp(18px, 2.4vw, 34px);
  opacity: 0; transition: opacity .7s var(--doux);
}
.salle[hidden] { display: none; }
.salle.ouverte { opacity: 1; }
.salle-fermer { justify-self: end; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; padding: 14px 4px; min-height: 44px; }
.salle-fermer:focus-visible { outline-color: #fff; }
.salle-ecran { width: min(100%, calc((100vh - 190px) * 1.897)); transform: scale(.965); transition: transform 1.1s var(--doux); }
.salle.ouverte .salle-ecran { transform: none; }
.salle-ecran video { width: 100%; aspect-ratio: 1.897 / 1; background: #000; }
.salle-cartel { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; justify-content: center; padding-top: 16px; }
.salle-cartel em { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); }
.salle-cartel span { font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #cfcfcf; }
/* L'affiche devient l'écran de la salle (transition de vue) */
.salle.directe, .salle.directe .salle-ecran { transition: none; }
.salle.directe .salle-ecran { transform: none; }
::view-transition-group(film) { animation-duration: .9s; animation-timing-function: cubic-bezier(.65, 0, .15, 1); }
::view-transition-old(film), ::view-transition-new(film) { height: 100%; object-fit: cover; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .6s; }

/* ── Le curseur de lecture ────────────────────────── */
.curseur { position: fixed; left: 0; top: 0; z-index: 80; width: 116px; height: 116px; margin: -58px 0 0 -58px; pointer-events: none; display: none; will-change: transform; }
.curseur-on .curseur { display: block; }
.curseur span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; color: var(--encre);
  font-size: 13px; font-weight: 500; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase;
  transform: scale(0); transition: transform .55s var(--doux);
}
.curseur.visible span { transform: scale(1); }
.curseur.appuye span { transform: scale(.86); }
.curseur-on .ecran-cadre, .curseur-on .film-affiche { cursor: none; }
.curseur-on .ecran-lecture, .curseur-on .film-affiche .lecture { opacity: 0; }
.curseur-on .ecran-cadre:focus-visible .ecran-lecture, .curseur-on .film-affiche:focus-visible .lecture { opacity: 1; }

/* ── Téléphone et tablette ────────────────────────── */
@media (max-width: 900px) {
  :root { --entete: 64px; }
  .entete-gauche a:nth-child(2) { display: none; }
  .maison, .questions, .film-notes { grid-template-columns: 1fr; }
  .maison-portrait { width: 82%; }
  .maison-detail { width: 72%; }
  .film, .film-inverse { grid-template-columns: 1fr; gap: 22px; }
  .film-inverse .film-numero { order: 0; text-align: left; }
  .film-inverse .film-affiche { order: 1; }
  .film-inverse .film-fiche { order: 2; }
  .etapes-liste { grid-template-columns: 1fr; gap: 44px; }
  .etape-chiffre { margin-bottom: 22px; }
  .ecran-cadre { aspect-ratio: 16 / 10; }
  .monde { height: 78vh; }
  .p-a, .p-d { grid-column: 1 / span 12; margin-top: 0; }
  .p-b { grid-column: 3 / span 10; margin-top: 0; }
  .p-c { grid-column: 1 / span 10; }
  .collection { grid-template-columns: 1fr; }
  .carte-film:nth-child(even) { margin-top: 0; }
}
@media (max-width: 620px) {
  .entete { grid-template-columns: 1fr auto 1fr; grid-template-areas: "langue marque action"; }
  .entete-gauche { display: none; }
  .entete-droite { display: contents; }
  .langues { grid-area: langue; justify-self: start; margin-left: -6px; }
  .marque { grid-area: marque; font-size: min(18px, 5vw) !important; letter-spacing: .32em !important; margin-right: -.32em; }
  .reserver { grid-area: action; justify-self: end; letter-spacing: .16em !important; }
  .reserver .long { display: none; }
  .reserver .bref { display: inline; }
  .lettre-phrase { line-height: 2; }
  .blanc { display: block; }
  .blanc input, .b-long input { width: 100%; min-width: 0; margin: 0; field-sizing: fixed; }
  .ponct { display: none; }
  .ecran-lecture { padding: 11px 16px 11px 12px; letter-spacing: .2em; }
  .film-affiche .lecture { width: 56px; height: 56px; }
  .pied-marque { font-size: 11.6vw; letter-spacing: .16em; margin-right: -.16em; }
  .pied-liens { flex-direction: column; align-items: center; }
  .pied-ligne { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .generique { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
