/* =========================================================
   Motif Studio — feuille de style
   Réglages principaux : couleurs et polices juste en dessous.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --bg: #0E0D0C;          /* fond principal */
  --bg-2: #161412;        /* fond des sections alternées */
  --bg-3: #1D1A17;        /* survol / sélection */
  --text: #F2EEE8;        /* texte principal */
  --soft: #CFC9C0;        /* texte secondaire */
  --muted: #A8A29A;       /* légendes, étiquettes */
  --line: rgba(242, 238, 232, 0.16);
  --line-strong: rgba(242, 238, 232, 0.4);
  --accent: #E21C21;      /* couleur d'accent (rouge Motif) */
  --on-accent: #FFFFFF;   /* texte sur l'accent */

  /* Polices */
  --f-title: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Typographie des titres — typo A (Archivo condensé) par défaut */
  --title-stretch: 72%;
  --title-weight: 700;
  --title-track: -0.005em;
  --title-lh: 0.9;
  --ts: 1;                /* échelle des titres */

  /* Mise en page */
  --wrap: 1600px;
  --gutter: clamp(20px, 4vw, 72px);
  --hdr: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: none; }

/* Typo B : Jost (activée par la classe title-jost sur <html>) */
.title-jost {
  --f-title: "Jost", "Futura", "Avenir Next", sans-serif;
  --title-stretch: 100%;
  --title-weight: 400;     /* 400 = B, 500 = B+, 600 = B++ */
  --title-track: 0.05em;
  --title-lh: 1;
  --ts: 0.72;
}

/* ---------- Typographie ---------- */
.t-display {
  font-family: var(--f-title);
  font-stretch: var(--title-stretch);
  font-weight: var(--title-weight);
  text-transform: uppercase;
  line-height: var(--title-lh);
  letter-spacing: var(--title-track);
}
.t-mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.dot { color: var(--accent); }
.kicker { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ul:hover { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 26px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: #c4151a; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; font-weight: 500; }
.btn--ghost:hover { border-color: var(--text); background: rgba(242,238,232,.06); }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line-light { border-color: currentColor; color: inherit; background: transparent; font-weight: 500; }
.btn--line-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { min-height: 56px; padding: 17px 30px; }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid, .page-solid .hdr {
  background: rgba(14, 13, 12, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr-logo img { width: 52px; height: auto; }
.hdr-nav ul { display: flex; gap: 34px; }
.hdr-nav a { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--text); transition: color .2s; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.lang { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.lang a { padding: 6px 2px; }
.lang a[aria-current="true"] { color: var(--text); }
.lang a:hover { color: #fff; }
.ext::after { content: " ↗"; font-size: 0.85em; }

.burger { display: none; width: 44px; height: 44px; padding: 12px 9px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.burger span:not(.sr) { display: block; height: 1.5px; background: var(--text); transition: transform .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 20px) var(--gutter) 40px;
}
.mnav[hidden] { display: none; }
.mnav li + li { margin-top: 6px; }
.mnav a.t-display { font-size: calc(clamp(44px, 13vw, 72px) * var(--ts)); display: inline-block; padding: 4px 0; }
.mnav-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 26px; color: var(--soft); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; filter: grayscale(0.15); }
.hero-scrim { background: linear-gradient(180deg, rgba(14,13,12,.72) 0%, rgba(14,13,12,.15) 35%, rgba(14,13,12,.55) 70%, var(--bg) 100%); }
.hero-content { width: 100%; position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: calc(var(--hdr) + 40px); padding-bottom: 56px; }
.hero-text { max-width: 980px; }
.hero .t-mono { color: #D9D3CA; margin-bottom: 22px; }
.hero h1 { font-size: calc(clamp(68px, 11vw, 176px) * var(--ts)); line-height: calc(var(--title-lh) - 0.04); }
.hero-lead { margin-top: 30px; max-width: 560px; font-size: 19px; line-height: 1.5; color: #E6E1D9; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.film-btn { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); }
.film-btn .circle { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(242,238,232,.6); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.film-btn:hover .circle { background: var(--accent); border-color: var(--accent); }
.film-btn svg { width: 16px; height: 16px; margin-left: 3px; }
.specs { position: relative; z-index: 1; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); color: #BDB7AE; }
.specs li { padding: 20px var(--gutter); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.specs li + li { border-left: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 130px); }
.section--alt { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 56px; }
.sec-head h2 { font-size: calc(clamp(48px, 6.4vw, 92px) * var(--ts)); }
.sec-head .t-mono { color: var(--muted); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: end; }
.intro .kicker { margin-bottom: 26px; }
.intro-text { font-size: clamp(26px, 3vw, 42px); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--bg); padding: 26px 24px; }
.stats strong { display: block; font-family: var(--f-title); font-stretch: var(--title-stretch); font-weight: var(--title-weight); letter-spacing: var(--title-track); font-size: calc(clamp(44px, 4.2vw, 60px) * var(--ts)); line-height: 1; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Studios */
.studios { padding-top: 0; }
.studio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.studio + .studio { margin-top: 110px; }
.studio--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.studio--rev .studio-media { order: 2; }
.studio-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-info { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.studio-info h3 { font-size: calc(clamp(48px, 4.6vw, 64px) * var(--ts)); line-height: 1; }
.studio-info > p { color: #D6D0C7; font-size: 17px; }
.spec-list { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list div:last-child { border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); text-transform: uppercase; }
.spec-list dd { text-align: right; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Services */
.svc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.svc-link {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
  padding: 26px 12px; border-bottom: 1px solid var(--line); transition: background-color .25s;
}
.svc:first-child .svc-link { border-top: 1px solid var(--line); }
.svc-num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); transition: color .25s; }
.svc-title { display: block; font-size: calc(clamp(30px, 3vw, 40px) * var(--ts)); line-height: 1; }
.svc-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease, margin .35s ease; color: var(--soft); font-size: 15px; }
.svc-desc > span { overflow: hidden; }
.svc-cta { font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .25s; }
.svc.is-active .svc-link { background: var(--bg-3); }
.svc.is-active .svc-num { color: var(--accent); }
.svc.is-active .svc-desc { grid-template-rows: 1fr; margin-top: 10px; }
.svc.is-active .svc-cta { color: var(--text); }
.svc-figure { position: sticky; top: calc(var(--hdr) + 24px); }
.svc-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .3s; }
.svc-figure figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--bg); padding: 8px 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Références */
.refs-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px 20px; }
.refs-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.refs-grid li:hover img { filter: none; }
.refs-grid p { margin-top: 12px; font-weight: 500; }
.clients { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-block: 1px solid var(--line); }
.clients p { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--soft); text-transform: uppercase; }
.clients a { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; white-space: nowrap; }
.clients a:hover { color: #fff; }

/* Appel à réserver */
.cta { background: var(--accent); color: var(--on-accent); }
.cta-in { padding-block: clamp(80px, 9vw, 110px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta .t-mono { margin-bottom: 22px; }
.cta h2 { font-size: calc(clamp(56px, 8vw, 128px) * var(--ts)); line-height: calc(var(--title-lh) - 0.02); }
.cta-actions { display: flex; flex-direction: column; gap: 16px; min-width: min(100%, 320px); }
.cta-actions .btn { width: 100%; font-size: 17px; }
.cta-actions p { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Pied de page ---------- */
.ftr { padding-block: 80px 40px; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.ftr-grid .t-mono { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.ftr-logo img { width: 64px; height: auto; }
.ftr-tag { margin-top: 18px; color: var(--muted); font-size: 14px; }
.ftr-label { margin-top: 18px; font-size: 14px; }
.ftr-links { display: flex; flex-direction: column; gap: 4px; }
.ftr a:hover { color: #fff; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* Barre mobile « Appeler / Réserver » */
.mbar { display: none; }

/* ---------- Film ---------- */
.film { width: min(1200px, 94vw); padding: 0; border: 0; background: #000; color: var(--text); }
.film::backdrop { background: rgba(0, 0, 0, 0.88); }
.film video { width: 100%; height: auto; max-height: 82vh; background: #000; }
.film-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(14,13,12,.75); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.film-close:hover { background: var(--accent); }

/* ---------- Page réservation ---------- */
.page-head { padding-top: calc(var(--hdr) + 70px); }
.page-head h1 { font-size: calc(clamp(56px, 7.4vw, 104px) * var(--ts)); margin: 18px 0 56px; }
.refs-head { padding-bottom: clamp(56px, 7vw, 100px); }
.booking { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; padding-bottom: 110px; }
.booking[hidden] { display: none; }
.booking-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.booking fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.booking legend { padding: 0; margin-bottom: 18px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.card-opt { position: relative; display: block; cursor: pointer; border: 1px solid var(--line); transition: border-color .2s, background-color .2s; overflow: hidden; }
.card-opt input { position: absolute; opacity: 0; pointer-events: none; }
.card-opt img { width: 100%; height: 120px; object-fit: cover; opacity: .55; transition: opacity .2s; }
.card-opt .opt-body { display: block; padding: 16px 18px 18px; }
.card-opt .opt-title { display: block; font-family: var(--f-title); font-stretch: var(--title-stretch); font-weight: var(--title-weight); letter-spacing: var(--title-track); font-size: calc(28px * var(--ts)); line-height: 1; text-transform: uppercase; }
.card-opt .opt-sub { display: block; margin-top: 6px; font-size: 14px; color: var(--soft); }
.card-opt:hover { border-color: var(--line-strong); }
.card-opt:has(input:checked) { border-color: var(--accent); background: var(--bg-3); }
.card-opt:has(input:checked) img { opacity: 1; }
.card-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cards--text .card-opt { padding: 18px 20px; }
.cards--text .opt-title { font-family: var(--f-body); font-stretch: 100%; font-size: 17px; font-weight: 600; text-transform: none; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover span { border-color: var(--text); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0; font-size: 16px; outline: none; color-scheme: dark; resize: vertical;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #8E887F; }
.field .is-invalid { border-bottom-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: calc(var(--hdr) + 24px); border: 1px solid var(--line); background: var(--bg-2); padding: 30px 28px; }
.summary .t-mono { color: var(--muted); margin-bottom: 20px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.summary dl div:last-child { border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { text-align: right; }
.summary .btn { width: 100%; margin-top: 26px; }
.summary .note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.summary .phone { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.form-status { margin-top: 14px; min-height: 20px; font-size: 14px; }
.form-status.err { color: #FF6B6E; }
.done { border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px); max-width: 760px; margin-bottom: 110px; }
.done[hidden] { display: none; }
.done .kicker { margin-bottom: 12px; }
.done h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; font-weight: 500; margin-bottom: 18px; }
.done p { color: var(--soft); margin-bottom: 30px; }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 22px; color: var(--accent); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 56px 28px 0; color: var(--soft); max-width: 820px; }

/* Pages de texte (mentions légales, 404) */
.prose { max-width: 820px; padding-bottom: 110px; }
.prose h2 { font-family: var(--f-title); font-stretch: var(--title-stretch); font-weight: var(--title-weight); letter-spacing: var(--title-track); text-transform: uppercase; font-size: calc(32px * var(--ts)); line-height: 1; margin: 56px 0 18px; }
.prose p, .prose li { color: var(--soft); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.todo { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr-nav ul { gap: 22px; }
  .intro-grid, .studio, .studio--rev, .svc-grid, .booking { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .studio--rev .studio-media { order: 0; }
  .svc-figure { display: none; }
  .summary { position: static; }
  .refs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs li:nth-child(3) { border-left: 0; }
  .specs li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --hdr: 72px; }
  .hdr-nav, .hdr-right .btn { display: none; }
  .burger { display: flex; }
  .hdr-logo img { width: 44px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero h1 { font-size: calc(clamp(62px, 21vw, 110px) * var(--ts)); }
  .hero-lead { font-size: 17px; }
  .hero-content { padding-bottom: 36px; }
  .film-btn .label { font-size: 12px; }
  .specs { display: none; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: calc(clamp(44px, 13vw, 64px) * var(--ts)); }
  .studio + .studio { margin-top: 70px; }
  .svc-link { grid-template-columns: 34px minmax(0, 1fr); padding: 20px 4px; }
  .svc-cta { display: none; }
  .svc-desc { grid-template-rows: 1fr; margin-top: 8px; }
  .refs-grid { display: flex; overflow-x: auto; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-snap-type: x mandatory; }
  .refs-grid li { flex: 0 0 132px; scroll-snap-align: start; }
  .fields, .fields--3 { grid-template-columns: minmax(0, 1fr); }
  .ftr { padding-bottom: 110px; }
  .mbar {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mbar.is-visible { transform: none; }
  .mbar a { height: 56px; display: flex; align-items: center; justify-content: center; }
  .mbar .mbar-call { flex: 0 0 56px; background: var(--text); color: var(--bg); }
  .mbar .mbar-call svg { width: 20px; height: 20px; }
  .mbar .mbar-book { flex: 1; background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
  .page-solid .mbar { display: none; }
}

@media (hover: none) {
  .refs-grid img { filter: grayscale(0.4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Fiches techniques & références ---------- */
.sheet-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: end; padding-bottom: 80px; }
.sheet-head h1 { margin: 18px 0 24px; }
.sheet-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet-lead { color: var(--soft); font-size: 17px; max-width: 600px; }
.sheet-date { color: var(--muted); font-size: 12px; margin: 18px 0 26px; }
.sheet-sec { padding-bottom: 80px; }
.sheet-h2 { font-size: calc(clamp(32px, 3.4vw, 48px) * var(--ts)); border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 36px; }
.sheet-note { color: var(--muted); margin: -18px 0 32px; }
.sheet-cols { columns: 3 260px; column-gap: 48px; }
.sheet-block { break-inside: avoid; margin-bottom: 36px; }
.sheet-block h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.sheet-block li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet-other { padding-bottom: 100px; }
.refs-count { color: var(--muted); font-size: 12px; margin-left: 8px; white-space: nowrap; }
.refs-cols { columns: 4 200px; column-gap: 40px; }
.refs-cols li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.clients-line { color: var(--soft); font-size: 17px; max-width: 900px; }
.print-only { display: none; }
@media (max-width: 1100px) {
  .sheet-head { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 56px; }
}

/* ---------- Impression / « Télécharger en PDF » ---------- */
@media print {
  /* marge de page à 0 : le navigateur n'a plus la place d'ajouter date, titre, adresse et numéro de page */
  @page { size: A4; margin: 0; }
  :root { --text: #111; --soft: #333; --muted: #666; --line: rgba(0,0,0,.14); --bg: #fff; }
  html, body { background: #fff !important; color: #111 !important; font-size: 10pt; }
  body { padding: 13mm 14mm 11mm; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hdr, .mnav, .ftr, .mbar, .no-print, .skip { display: none !important; }
  .print-only { display: block; }
  .wrap { max-width: none; padding: 0; }
  .page-head { padding-top: 0 !important; }
  .refs-head { padding-bottom: 4px; }
  .print-brand { display: block; margin-bottom: 12px; }
  .print-brand img { width: 34px; height: auto; }
  .sheet-head { grid-template-columns: minmax(0, 1fr) 30%; gap: 22px; padding-bottom: 6px; align-items: start; }
  .sheet-head h1, .page-head h1 { font-size: calc(34pt * var(--ts)); margin: 2px 0 6px; color: #111; }
  .sheet-lead { font-size: 9pt; line-height: 1.45; color: #333; max-width: none; }
  .sheet-date { margin: 6px 0 0; font-size: 7.5pt; }
  .sheet-sec { padding-bottom: 8px; }
  .sheet-h2 { font-size: calc(15pt * var(--ts)); padding-top: 8px; margin-bottom: 8px; color: #111; border-top-color: #bbb; }
  .sheet-note { margin: -4px 0 8px; font-size: 8pt; }
  .sheet-cols { columns: 4; column-gap: 14px; }
  .sheet-block { margin-bottom: 9px; break-inside: auto; }
  .sheet-block h3 { break-after: avoid; }
  .sheet-block li { break-inside: avoid; }
  .sheet-block h3 { font-size: 7.2pt; margin-bottom: 3px; color: #E21C21; }
  .sheet-block li { padding: 2px 0; font-size: 8.2pt; line-height: 1.3; border-bottom-color: #ececec; }
  .refs-cols { columns: 4; column-gap: 16px; }
  .refs-cols li { padding: 2px 0; font-size: 9pt; border-bottom-color: #e3e3e3; }
  .clients-line { font-size: 9pt; color: #333; }
  .kicker, .dot { color: #E21C21 !important; }
  .print-foot { margin-top: 10px; padding-top: 6px; border-top: 1px solid #ddd; font-size: 7pt; letter-spacing: .02em; color: #888; text-align: center; }
  a { color: inherit !important; text-decoration: none !important; }
}
