/* =====================================================================
   DIRECTION ARTISTIQUE — « LOW-KEY »
   Noir profond, contraste fort, grain argentique, texture.
   ===================================================================== */
:root {
  --black: #070707;
  --ink: #0d0d0c;
  --cell: #151413;
  --line: #24221f;
  --bone: #ebe5d8;
  --text: #cfc8bb;
  --muted: #7d776d;
  --red: #b8281c;
  /* Typographie — valeurs par défaut, remplacées par l'éditeur (section Typographie) */
  --display: "EB Garamond", Georgia, serif;   /* titres */
  --serif: "EB Garamond", Georgia, serif;     /* texte courant */
  --mono: "IBM Plex Mono", ui-monospace, monospace; /* étiquettes techniques */
  --tw: 400;      /* graisse des titres */
  --ts: 1;        /* échelle des titres */
  --tc: none;     /* casse des titres : none | uppercase */
  --tls: 0em;     /* interlettrage ajouté aux titres */
  --pad: clamp(20px, 5vw, 80px);
  --max: 1480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--bone); color: var(--black); }

/* ---------- Grain argentique (toute la page) ---------- */
.grain {
  position: fixed; inset: -150%; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0  .33 .33 .33 0 0  .33 .33 .33 0 0  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; /* grain dans les tons moyens, noirs préservés */
  opacity: .55;
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-4%,3%) } 40% { transform: translate(3%,-4%) }
  60% { transform: translate(-3%,-2%) } 80% { transform: translate(4%,4%) }
}

/* ---------- Typo utilitaires ---------- */
.label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.label.red::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.tech { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
em, .it { font-style: italic; }

/* ---------- NAV ---------- */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  color: var(--bone);
  background: linear-gradient(rgba(7,7,7,.95) 0%, rgba(7,7,7,.85) 60%, transparent);
}
.logo { font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); font-size: 21px; letter-spacing: .01em; }
.logo em { font-style: italic; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--pad) clamp(40px, 6vw, 72px);
  isolation: isolate; overflow: hidden; background: var(--black);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%;
  filter: contrast(1.06) saturate(.92);
  transform: scale(1.04); animation: drift 24s ease-out forwards;
}
@keyframes drift { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,7,.92) 0%, rgba(7,7,7,.55) 38%, rgba(7,7,7,0) 70%),
    linear-gradient(0deg, var(--black) 0%, rgba(7,7,7,0) 45%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}
.hero-media.empty { background: radial-gradient(ellipse 40% 50% at 72% 40%, #2a2219, transparent 70%), var(--black); }

.hero .label { margin-bottom: 26px; color: var(--text); }
.hero h1 {
  font-family: var(--display); font-weight: var(--tw); color: var(--bone); text-transform: var(--tc);
  font-size: calc(clamp(60px, 11.5vw, 188px) * var(--ts)); line-height: .86; letter-spacing: calc(-.025em + var(--tls));
}
.hero h1 em { display: block; font-style: italic; padding-left: .5em; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 520px) 1fr auto; gap: 40px; align-items: end;
  margin-top: clamp(36px, 5vw, 64px);
}
.hero-foot p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--text); }
.hero-meta { display: grid; gap: 6px; justify-self: end; text-align: right; }
.scroll-cue { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }

/* ---------- SECTIONS ---------- */
section { padding: clamp(90px, 13vw, 180px) var(--pad); position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 80px); }
.head .label { margin-bottom: 18px; }
h2 {
  font-family: var(--display); font-weight: var(--tw); color: var(--bone); text-transform: var(--tc);
  font-size: calc(clamp(46px, 7vw, 104px) * var(--ts)); line-height: .92; letter-spacing: calc(-.02em + var(--tls));
}
h2 em { font-style: italic; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); border-bottom: 1px solid var(--bone); padding-bottom: 6px;
  transition: color .2s, border-color .2s;
}
.btn:hover { color: var(--red); border-color: var(--red); }

/* ---------- Filmographie ---------- */
.filters { display: flex; gap: 22px; }
.filters button {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted);
  padding: 0 0 6px; cursor: pointer; transition: color .2s, border-color .2s;
}
.filters button:hover { color: var(--bone); }
.filters button.active { color: var(--bone); border-color: var(--red); }

.films { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(64px, 8vw, 120px) clamp(20px, 3vw, 44px); }
.film { display: block; }
.film:first-child { grid-column: 1 / -1; }
.film.hidden { display: none; }
.frame {
  position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--ink);
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) brightness(.92);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .8s;
}
.film:hover .frame img { transform: scale(1.025); filter: contrast(1.08) brightness(1.02); }
.frame::after { /* vignettage + bord de pellicule */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0,0,0,.6), inset 0 0 0 1px rgba(235,229,216,.04);
}
.frame.empty {
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 30% 45% at 60% 45%, rgba(184,40,28,.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    var(--ink);
}
.frame.empty span { font-family: var(--display); font-style: italic; font-size: clamp(22px, 3vw, 40px); color: #2e2b27; }

.film-info { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: baseline; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.film-num { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .1em; }
.film h3 { font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); letter-spacing: var(--tls); font-size: clamp(24px, 2.4vw, 34px); color: var(--bone); line-height: 1.1; }
.film:first-child h3 { font-size: clamp(28px, 3.4vw, 48px); }
.film .role { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.film .credit { grid-column: 2 / -1; font-size: 17px; color: var(--muted); font-style: italic; }
.film .tech { grid-column: 2 / -1; }

/* ---------- Bande démo ---------- */
.reel-frame {
  position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden;
  display: grid; place-items: center;
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-frame .soon { font-family: var(--display); font-style: italic; font-size: clamp(24px, 3vw, 42px); color: #34302b; }
.reel-meta { display: flex; justify-content: space-between; margin-top: 14px; gap: 12px; flex-wrap: wrap; }

/* ---------- Services : fiches techniques ---------- */
.intro { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: var(--bone); max-width: 30ch; }
.fiches { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.fiche h3 { font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); letter-spacing: var(--tls); color: var(--bone); font-size: clamp(32px, 3.6vw, 52px); line-height: 1; margin: 16px 0 20px; }
.fiche h3 em { font-style: italic; }
.fiche > p { max-width: 46ch; margin-bottom: 30px; }
.table { display: grid; gap: 3px; }
.table .tr { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.table .tr > * { background: var(--cell); padding: 12px 14px; }
.table .tr > :first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; }
.table .tr > :last-child { font-style: italic; color: var(--bone); font-size: 17px; }
.formats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); }
.formats span { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--text); }
.formats span + span::before { content: "/"; color: var(--red); margin-right: 28px; font-style: normal; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step b { display: block; font-family: var(--display); font-weight: var(--tw); font-style: italic; font-size: 54px; line-height: 1; color: var(--red); margin-bottom: 22px; }
.step h4 { font-family: var(--display); font-weight: 500; font-size: 23px; color: var(--bone); margin-bottom: 10px; line-height: 1.2; }
.step p { font-size: 17px; color: var(--muted); }

/* ---------- Matériel ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.kit { background: var(--cell); padding: 22px 22px 26px; }
.kit .label { margin-bottom: 16px; color: var(--bone); }
.kit li { list-style: none; padding: 5px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.kit li:last-child { border: 0; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.portrait { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--ink); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.portrait.empty { display: grid; place-items: center; }
.portrait.empty span { font-style: italic; color: #34302b; font-size: 26px; }
.about-text p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; margin-bottom: 1em; }
.about-text p strong { color: var(--bone); font-weight: 500; font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 40px; }
.facts div { background: var(--cell); padding: 18px 16px; }
.facts b { display: block; font-family: var(--display); font-weight: var(--tw); font-size: 42px; line-height: 1; color: var(--bone); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact h2 { font-size: calc(clamp(58px, 11vw, 176px) * var(--ts)); }
.contact h2 a { font-style: italic; color: var(--bone); background: linear-gradient(var(--red), var(--red)) 0 92% / 0 2px no-repeat; transition: background-size .5s; }
.contact h2 a:hover { background-size: 100% 2px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3px; margin-top: clamp(56px, 7vw, 96px); }
.contact-grid > div { background: var(--cell); padding: 18px 18px 20px; font-size: 18px; color: var(--bone); }
.contact-grid .label { display: flex; margin-bottom: 10px; }
.contact-grid a:hover { color: var(--red); }

footer { padding: 26px var(--pad); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-anim .reveal { opacity: 1; transform: none; transition: none; }
.no-anim .grain, .no-anim .hero-media img { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-meta { justify-self: start; text-align: left; }
  .scroll-cue { display: none; }
  .fiches, .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .kit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  nav { padding-top: 16px; padding-bottom: 16px; }
  .hero h1 { font-size: calc(13vw * var(--ts)); }
  .hero h1 em { padding-left: 0; }
  .hero-media img, .hero-media video { object-position: var(--hero-x, 62%) 50%; }
  .hero-media::after { background: linear-gradient(0deg, var(--black) 8%, rgba(7,7,7,.55) 55%, rgba(7,7,7,.25) 100%); }
  .films { grid-template-columns: 1fr; }
  .steps, .kit-grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .table .tr { grid-template-columns: 1fr; gap: 0; }
  .table .tr > :first-child { padding-bottom: 2px; }
  .table .tr > :last-child { padding-top: 2px; }
  .facts b { font-size: 32px; }
  .formats span + span::before { margin-right: 14px; }
  .formats { gap: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   PROJETS — badges, fenêtre projet, visionneuse
   ===================================================================== */
.badges { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.badges span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone); background: rgba(7,7,7,.72); border: 1px solid rgba(235,229,216,.14);
  padding: 5px 9px; backdrop-filter: blur(4px);
}
.film.has-detail { cursor: pointer; }
.film.has-detail .frame::before {
  content: "Ouvrir"; position: absolute; z-index: 2; right: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.film.has-detail:hover .frame::before, .film.has-detail:focus-visible .frame::before { opacity: 1; transform: none; }

body.locked { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 90; background: rgba(5,5,5,.97);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(64px, 8vw, 100px) var(--pad) 80px;
  animation: fade .35s ease;
}
.modal[hidden], .lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } }
.modal-close {
  position: fixed; top: 18px; right: var(--pad); z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(7,7,7,.8); color: var(--bone); border: 1px solid var(--line); padding: 9px 14px; cursor: pointer;
}
.modal-close:hover { border-color: var(--red); color: var(--red); }
.pv { max-width: var(--max); margin: 0 auto; }
.pv-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: end; padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.pv-head h3 { font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); letter-spacing: var(--tls); color: var(--bone); font-size: calc(clamp(34px, 5vw, 72px) * var(--ts)); line-height: 1; }
.pv-head .credit { color: var(--muted); font-style: italic; margin-top: 8px; }
.pv-meta { display: grid; gap: 10px; justify-items: end; text-align: right; }
.pv-meta .role { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); }
.pv-video { position: relative; aspect-ratio: 16 / 9; background: #000; margin-bottom: 3px; }
.pv-video iframe, .pv-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pv-stills { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.pv-stills.single, .pv-stills .pv-still:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.pv-stills.single { grid-template-columns: 1fr; }
.pv-still { display: block; border: 0; padding: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; }
.pv-still img { width: 100%; height: auto; transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s; filter: brightness(.94); }
.pv-still:hover img { transform: scale(1.02); filter: brightness(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 95; background: #000; display: grid; place-items: center; animation: fade .25s ease; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--bone); cursor: pointer;
  font-family: var(--mono); font-size: 22px; padding: 18px; opacity: .65; transition: opacity .2s;
}
.lightbox button:hover { opacity: 1; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 8px; right: 8px; font-size: 18px !important; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); }

/* =====================================================================
   ÉTALONNAGE — comparateur avant / après
   ===================================================================== */
.compares { display: grid; gap: clamp(48px, 6vw, 88px); }
.cmp { position: relative; overflow: hidden; background: var(--ink); user-select: none; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-empty { display: grid; place-items: center; background: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), #121110; }
.cmp-empty.after { background: radial-gradient(ellipse 40% 50% at 60% 45%, rgba(184,40,28,.12), transparent 70%), #0b0b0a; }
.cmp-empty span { font-family: var(--display); font-style: italic; color: #36322d; font-size: clamp(20px, 2.6vw, 34px); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--bone); pointer-events: none; transform: translateX(-.5px); }
.cmp-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,7,7,.75); border: 1px solid var(--bone); color: var(--bone); font-size: 16px;
}
.cmp-label {
  position: absolute; top: 14px; z-index: 1; pointer-events: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone); background: rgba(7,7,7,.65); padding: 5px 9px;
}
.cmp-label.l { left: 14px; } .cmp-label.r { right: 14px; }
.cmp input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.cmp:has(input:focus-visible) .cmp-handle::after { outline: 2px solid var(--red); outline-offset: 3px; }
.compare figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cmp-title { font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); color: var(--bone); font-size: clamp(22px, 2.2vw, 30px); }

@media (max-width: 680px) {
  .pv-head { grid-template-columns: auto 1fr; }
  .pv-meta { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .pv-stills { grid-template-columns: 1fr; }
  .badges { left: 10px; bottom: 8px; }
  .cmp-handle::after { width: 34px; height: 34px; font-size: 13px; }
}

/* =====================================================================
   FIDÉLITÉ COULEUR (réglable dans l'éditeur → « Image & couleur »)
   ===================================================================== */
/* Couleurs exactes : aucun filtre, vignettage ni grain ajouté sur tes images */
body.couleurs-exactes .hero-media img, body.couleurs-exactes .hero-media video,
body.couleurs-exactes .frame img, body.couleurs-exactes .pv-still img,
body.couleurs-exactes .portrait img, body.couleurs-exactes .cmp-img,
body.couleurs-exactes .pv-video video { filter: none !important; }
body.couleurs-exactes .frame::after { box-shadow: none; }

/* Grain : partout (par-dessus les images) / fond seulement / désactivé */
body.grain-off .grain { display: none; }
body.grain-fond .grain { z-index: 0; mix-blend-mode: normal; opacity: .055; }
body.grain-fond .hero, body.grain-fond section, body.grain-fond footer { position: relative; z-index: 1; }

/* =====================================================================
   AUTRES PROJETS — vignettes discrètes sous la filmographie
   ===================================================================== */
.autres-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; margin-bottom: 30px; border-top: 1px solid var(--line);
}
.autres-head .label { margin-bottom: 12px; }
.autres-titre {
  font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); letter-spacing: var(--tls);
  color: var(--bone); font-size: calc(clamp(26px, 3vw, 40px) * var(--ts)); line-height: 1;
}
.autres-intro { max-width: 46ch; color: var(--muted); font-size: 17px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 18px; }
.thumb { display: block; }
.thumb-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
a.thumb:hover .thumb-img img { transform: scale(1.035); }
.thumb-img.empty { display: grid; place-items: center; padding: 12px; text-align: center;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), var(--ink); }
.thumb-img.empty span { font-family: var(--display); font-style: italic; color: #36322d; font-size: 18px; line-height: 1.1; }
.statut {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.statut::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.statut.s-tournage { color: var(--bone); } .statut.s-tournage::before { background: var(--red); border-color: var(--red); animation: rec 1.6s infinite; }
.statut.s-postprod { color: var(--bone); } .statut.s-postprod::before { background: var(--bone); }
.statut.s-termine::before { background: var(--muted); }
@keyframes rec { 50% { opacity: .25; } }
.thumb h4 {
  font-family: var(--display); font-weight: var(--tw); text-transform: var(--tc); letter-spacing: var(--tls);
  color: var(--bone); font-size: 19px; line-height: 1.2; margin-top: 6px;
}
.thumb h4 span { color: var(--muted); font-size: .8em; }
.thumb .tech { font-size: 10.5px; margin-top: 5px; letter-spacing: .1em; }
.thumb .credit { font-size: 15px; font-style: italic; color: var(--muted); margin-top: 3px; }
@media (max-width: 680px) {
  .thumbs { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .thumb h4 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .statut.s-tournage::before { animation: none; } }

/* État d'avancement en pastille sur l'image d'un film */
.statut.on-frame {
  position: absolute; z-index: 2; top: 12px; left: 14px; margin: 0;
  background: rgba(7,7,7,.72); border: 1px solid rgba(235,229,216,.14); padding: 5px 9px; backdrop-filter: blur(4px);
}
.pv-meta .statut { margin-top: 0; }
@media (max-width: 680px) { .statut.on-frame { top: 8px; left: 10px; } }


/* =====================================================================
   IMAGE D'ACCUEIL SUR TÉLÉPHONE — mode « image entière »
   L'image garde son format (aucun recadrage), en bande en haut ; le texte passe dessous.
   ===================================================================== */
@media (max-width: 680px) {
  .hero-m-entiere { min-height: 0; justify-content: flex-start; padding-top: 64px; }
  .hero-m-entiere .hero-media {
    position: relative; inset: auto; z-index: 0; overflow: hidden;
    margin: 0 calc(-1 * var(--pad)) 30px;
  }
  .hero-m-entiere .hero-media img, .hero-m-entiere .hero-media video {
    height: auto; aspect-ratio: auto; object-fit: contain; transform: none; animation: none;
  }
  .hero-m-entiere .hero-media::after { background: linear-gradient(0deg, var(--black) 0%, rgba(7,7,7,0) 22%); }
  .hero-m-entiere .hero-media.empty { display: none; }
  .hero-m-entiere .hero-foot { margin-top: 28px; }
}
