/* anaismunoz.fr — feuille de style unique.
   Reprise fidèle des styles en ligne de la maquette src/design/Anais Munoz.dc.html,
   regroupés en classes pour être mis en cache et partagés entre les pages. */

/* ---------------------------------------------------------------- polices */
/* Auto-hébergées : pas de requête vers fonts.gstatic.com (RGPD) et un LCP
   qui ne dépend plus d'un tiers. */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-var.woff2') format('woff2');
}

/* ------------------------------------------------------------------ socle */
:root {
  --acc: #A6453A;
  --acc2: #C98A7A;
  --bg: #08070A;
  --tx: #EDE8E0;
  --mu: #938C84;
  --ln: rgba(237, 232, 224, .14);
  /* #5F5A60 dans la maquette : 2,98:1 sur le fond, sous le minimum
     WCAG AA de 4,5:1. Remonte en conservant la teinte violacee. */
  --dim: #7D767E;
  --soft: #C9C2B9;
  --panel: #100E12;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

a { color: var(--tx); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--acc2); }

::selection { background: var(--acc); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26232a; }

:focus-visible { outline: 2px solid var(--acc2); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--acc);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.skip:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------- apparitions */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}

@keyframes kb { 0% { transform: scale(1.04); } 100% { transform: scale(1.13); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.r1 { animation: rise .9s .1s both; }
.r2 { animation: rise 1s .2s both; }
.r3 { animation: rise 1s .35s both; }
.r4 { animation: rise 1s .5s both; }
.rA { animation: rise .8s .05s both; }
.rB { animation: rise .9s .15s both; }
.rC { animation: rise .9s .25s both; }
.rD { animation: rise .9s .3s both; }
.fade { animation: fadein .8s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- curseur suivi */
#cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(237, 232, 224, .5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .25s ease, background .25s ease;
  mix-blend-mode: difference;
}

/* ------------------------------------------------------------- en-tête */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(8, 7, 10, .92) 0%, rgba(8, 7, 10, .55) 60%, rgba(8, 7, 10, 0) 100%);
  backdrop-filter: blur(10px);
}
.hdr__logo { flex: 0 0 auto; }
.hdr__logo img { height: clamp(30px, 3vw, 40px); width: auto; opacity: .95; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.1vw, 34px);
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav a {
  position: relative;
  padding: 6px 0;
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  transition: color .3s ease;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--acc2);
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .35s ease, transform .35s ease;
}
.nav a:hover { color: var(--tx); }
.nav a:hover::after { opacity: .6; transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--tx); }
.nav a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: .16em;
}
.lang a { padding: 4px 2px; color: var(--dim); transition: color .3s ease; }
.lang a:hover { color: var(--tx); }
.lang a[aria-current="true"] { color: var(--tx); }
.lang span { color: var(--dim); opacity: .55; }

/* ------------------------------------------------------------- accueil */
main { display: block; min-height: 100vh; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  min-height: 100svh;
  align-items: stretch;
}
.hero__txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 34px);
  padding: clamp(96px, 14vh, 150px) clamp(20px, 5vw, 72px) clamp(48px, 8vh, 80px);
  order: 1;
}
.hero__img {
  position: relative;
  overflow: hidden;
  min-height: 56svh;
  order: 2;
  background: var(--panel);
}
.hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(.28) contrast(1.06) brightness(.92);
  animation: kb 22s ease-out both alternate infinite;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 10, .92) 0%, rgba(8, 7, 10, .25) 38%, rgba(8, 7, 10, 0) 70%),
    linear-gradient(0deg, rgba(8, 7, 10, .6), rgba(8, 7, 10, 0) 45%);
}
.hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ln); }

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mu);
}
.h1 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 124px);
  /* La maquette serrait a .86. Sur « ANAÏS / MUÑOZ » et « BIENVENUE / À PERSÉ »,
     le tilde et l'accent de la seconde ligne venaient toucher la premiere :
     le nom se lisait MUNOZ. .96 laisse juste la place aux diacritiques. */
  line-height: .96;
  letter-spacing: -.03em;
}
.lede {
  margin: 0;
  max-width: 34ch;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.15;
  color: var(--soft);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid var(--ln);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.btn:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn-quiet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 6px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  transition: color .4s ease;
}
.btn-quiet:hover { color: var(--tx); }

.tally { display: flex; align-items: center; gap: 14px; margin-top: clamp(10px, 3vh, 30px); }
.tally i { width: 34px; height: 1px; background: var(--ln); }
.tally span {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ------------------------------------------------------------- sections */
.sec { padding: clamp(72px, 11vh, 150px) clamp(20px, 5vw, 72px); border-top: 1px solid var(--ln); }
.sec--tint { padding: clamp(72px, 12vh, 160px) clamp(20px, 5vw, 72px); background: #0B0A0E; }
.sec--slim { padding: clamp(40px, 6vh, 68px) clamp(20px, 5vw, 72px); }
.wrap { max-width: 1360px; margin: 0 auto; }
.wrap--mid { max-width: 1200px; margin: 0 auto; }
.wrap--tight { max-width: 1100px; margin: 0 auto; }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vh, 64px);
}
.h2 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
}
.h2--big {
  font-size: clamp(36px, 6vw, 96px);
  line-height: .98;
}
.link-ul {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  border-bottom: 1px solid var(--ln);
  padding-bottom: 6px;
  transition: color .35s ease, border-color .35s ease;
  align-self: flex-start;
}
.link-ul:hover { color: var(--tx); border-color: var(--acc2); }

/* ------------------------------------------------------- grille affiches */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}
.card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--ln);
  color: var(--tx);
}
.card:hover { border-color: rgba(237, 232, 224, .34); color: var(--tx); }
.card__shot { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.15);
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__shot img { transform: scale(1.06); }
.card__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 7, 10, .9) 0%, rgba(8, 7, 10, .1) 55%); }
.card__year {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tx);
  background: rgba(8, 7, 10, .5);
  padding: 6px 10px;
  border: 1px solid var(--ln);
}
.card__body { padding: 18px 18px 22px; }
.card__body h3 {
  margin: 0 0 8px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
}
.card__body p { margin: 0; font-size: 12px; letter-spacing: .06em; color: var(--mu); }

/* --------------------------------------------------------- texte courant */
.cols2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3vw, 56px);
}
.cols2--wide { gap: clamp(28px, 4vw, 72px); }
.body-txt {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
  color: var(--soft);
}
.body-lg { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.8; color: var(--soft); }
.body-lg--airy { line-height: 1.85; }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: clamp(28px, 4vh, 48px); }
.gap-xl { gap: clamp(40px, 6vh, 72px); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(18px, 2vw, 32px);
}
.fact p:first-child {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.fact p:last-child { margin: 0; font-family: 'Instrument Serif', serif; font-size: 26px; }

/* ------------------------------------------------------- liste projets */
.rows { max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vh, 40px) 0;
  border-top: 1px solid var(--ln);
  color: var(--tx);
}
.row:last-child { border-bottom: 1px solid var(--ln); }
.row:hover { background: rgba(237, 232, 224, .03); color: var(--tx); }
.row__shot { position: relative; overflow: hidden; aspect-ratio: 16/10; max-width: 420px; }
.row__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.2);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.row:hover .row__shot img { transform: scale(1.05); }
.row__meta {
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.row h2 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1;
}
.row p.row__note { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.7; color: var(--mu); }
.row__go {
  justify-self: end;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
}

/* ---------------------------------------------------------- page en-tête */
.page-head { padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 72px) clamp(40px, 6vh, 72px); }
.page-head--tight { padding-bottom: clamp(32px, 5vh, 56px); }
.page-head .eyebrow { margin-bottom: 18px; }
.h1--page {
  font-size: clamp(44px, 7vw, 116px);
  line-height: .9;
  max-width: 22ch;
}
.h1--prose {
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .94;
  max-width: 24ch;
}

/* ------------------------------------------------------------ page film */
.film-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 72px) clamp(40px, 6vh, 64px);
  overflow: hidden;
}
.film-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kb 26s ease-out both alternate infinite;
}
.film-hero__veil { position: absolute; inset: 0; }
.film-hero__inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.back {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  transition: color .3s ease;
}
.back:hover { color: var(--tx); }
.h1--film {
  font-size: clamp(48px, 10vw, 168px);
}
.h1--film-2l { font-size: clamp(42px, 8vw, 132px); }
.film-quote {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 32px);
  color: var(--soft);
}

.player {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--ln);
}
.player button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Le contour par defaut deborde du cadre et .player le rogne : on le rentre. */
.player button:focus-visible { outline-offset: -4px; }
.player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), filter .6s ease;
  filter: brightness(.8);
}
.player button:hover img { transform: scale(1.04); filter: brightness(1); }
.player__label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(8, 7, 10, .6);
  border: 1px solid var(--ln);
  padding: 10px 16px;
}
.player__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border: 1px solid rgba(237, 232, 224, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 7, 10, .35);
  transition: background .4s ease, border-color .4s ease;
}
.player__mark::after {
  content: '';
  border-left: 15px solid var(--tx);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.player button:hover .player__mark { background: var(--acc); border-color: var(--acc); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.yt-link {
  align-self: flex-start;
  margin-top: calc(-1 * clamp(24px, 4vh, 48px));
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  border-bottom: 1px solid var(--ln);
  padding-bottom: 4px;
}
.yt-link:hover { color: var(--tx); }

.credits { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; color: var(--soft); }
.credits dt { color: var(--dim); font-size: 12px; letter-spacing: .08em; }
.credits dd { margin: 0; }
.credits-box { display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.6; }
.pull {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.45;
  color: var(--tx);
  border-left: 1px solid var(--acc);
  padding-left: 22px;
}
.poster-mini {
  margin-top: 12px;
  aspect-ratio: 2/3;
  max-width: 220px;
  overflow: hidden;
  border: 1px solid var(--ln);
}
.poster-mini img { width: 100%; height: 100%; object-fit: cover; }

.bts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.bts--dense { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.bts button { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--panel); width: 100%; }
.bts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.3);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s cubic-bezier(.2, .8, .2, 1);
}
.bts button:hover img { transform: scale(1.06); filter: grayscale(0); }
.bts--colour img { filter: none; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--ln);
}
.pager a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.pager a:hover { color: var(--tx); }

/* ---------------------------------------------------------------- book */
.book-top {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.shot-btn {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ln);
  width: 100%;
  background: var(--panel);
}
.shot-btn--tall { aspect-ratio: 3/4; }
.shot-btn--port { aspect-ratio: 2/3; }
.shot-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.shot-btn:hover img { transform: scale(1.05); }
.shot-btn span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tx);
  background: rgba(8, 7, 10, .5);
  padding: 7px 10px;
}
.shot-btn--tall span { left: 14px; bottom: 14px; letter-spacing: .18em; background: rgba(8, 7, 10, .55); padding: 8px 12px; }
.book-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.spec { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 15px; color: var(--soft); }
.spec dt { color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.spec dd { margin: 0; font-family: 'Instrument Serif', serif; font-size: 22px; }
.spec--plain dd { font-family: 'Jost', system-ui, sans-serif; font-size: 15px; }
.spec--plain { gap: 12px 22px; }

/* -------------------------------------------------------------- contact */
.contact-sec {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 72px) clamp(60px, 9vh, 110px);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--ln);
  padding-top: clamp(28px, 4vh, 48px);
}
.contact-grid > div { display: flex; flex-direction: column; gap: 12px; }
.contact-grid p.k {
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-grid a, .contact-grid p.v {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
}
/* L'adresse est le plus long mot insecable du site : a 30px elle se coupait
   apres « gmail.co », laissant un « m » seul sur la ligne suivante. */
.contact-grid a[href^="mailto:"] { font-size: clamp(17px, 1.45vw, 22px); }
.contact-grid p.note { margin: 0; font-size: 13px; color: var(--dim); }

/* ------------------------------------------------------- pied de page */
.ftr { border-top: 1px solid var(--ln); padding: clamp(36px, 5vh, 60px) clamp(20px, 5vw, 72px); }
.ftr__in {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ftr img { height: 32px; width: auto; opacity: .55; }
.ftr__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 30px);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.ftr__links a { color: var(--dim); }
.ftr__links a:hover { color: var(--tx); }
.ftr p { margin: 0; font-size: 11px; letter-spacing: .14em; color: var(--dim); }

/* ---------------------------------------------------------- visionneuse */
.lb {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 5, 8, .97);
  display: flex;
  flex-direction: column;
  animation: fadein .35s both;
}
.lb[hidden] { display: none; }
.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 40px);
  flex: 0 0 auto;
}
.lb__count { font-size: 11px; letter-spacing: .2em; color: var(--mu); }
.lb__close { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.lb__close:hover { color: var(--tx); }
.lb__stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  padding: 0 clamp(12px, 3vw, 32px) clamp(24px, 5vh, 48px);
  min-height: 0;
}
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; animation: fadein .4s both; }
.lb__nav { flex: 0 0 auto; font-size: 22px; color: var(--mu); padding: 16px; }
.lb__nav:hover { color: var(--tx); }

/* ------------------------------------------------------ page juridique */
.legal { padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 72px) clamp(72px, 10vh, 120px); }
.legal .wrap--tight { display: flex; flex-direction: column; gap: 28px; }
.legal h2 {
  margin: 24px 0 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}
.legal p, .legal li { margin: 0; font-size: 15px; line-height: 1.8; color: var(--soft); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal a { border-bottom: 1px solid var(--ln); }

/* ------------------------------------------------------------ page 404 */
.nf {
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 72px);
  max-width: 1360px;
  margin: 0 auto;
}

/* ================================================================ mobile */
/* Sur petit écran les cinq entrées ne tiennent pas sur une ligne à côté du
   logo : la maquette d'origine les laissait déborder sous overflow:hidden,
   ce qui rendait « À propos » et « Contact » inatteignables au doigt.
   L'en-tête passe donc sur deux rangées, la navigation centrée en dessous. */
@media (max-width: 900px) {
  .hdr {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hdr__logo { order: 1; }
  .lang { order: 2; margin-left: auto; }
  .nav {
    order: 3;
    width: 100%;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
  }
  .nav a { font-size: 10px; letter-spacing: .14em; }

  /* L'en-tête fixe est plus haut : on dégage le haut de chaque page.
     Ce bloc est en fin de feuille parce que .hero__txt et .page-head
     déclarent leur padding en écriture courte : à spécificité égale, c'est
     la dernière règle qui gagne. Placé plus haut, ce dégagement était
     silencieusement annulé et l'en-tête recouvrait la première ligne. */
  .hero__txt { padding-top: 156px; }
  .page-head,
  .contact-sec,
  .legal,
  .nf { padding-top: 156px; }
  .film-hero { padding-top: 156px; }
}
