/* ============================================================
   PORTFOLIO MONTEUR VIDÉO — feuille de style
   Inspiré des codes des grands portfolios vidéo : vidéo plein
   écran, palette noir & blanc (la couleur vient des images),
   crédits de projet, liste façon générique.
   Les couleurs et les tailles se règlent dans :root.
   ============================================================ */

/* --- 1. VARIABLES --- */
:root {
  --bg:     #0A0A0A;   /* noir de fond */
  --bg-2:   #121212;   /* noir un peu plus clair */
  --text:   #EDECE8;   /* blanc cassé */
  --muted:  #8D8C87;   /* gris secondaire */
  --line:   rgba(237,236,232,0.14);  /* traits fins */
  --accent: #FF4F1F;   /* rouge-orangé "REC", utilisé avec parcimonie */

  --font:   "Inter Tight", "Inter", system-ui, sans-serif;
  --serif:  "Instrument Serif", Georgia, serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- 2. BASES --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--text); color: var(--bg); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 4px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.muted { color: var(--muted); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 6px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Petit point "en ligne" */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3DDC84;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(61,220,132,0.18);
}

/* Titres de section */
.title {
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.title sup {
  font-size: 12px;
  vertical-align: top;
  margin-left: 6px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* --- 3. RIDEAU D'OUVERTURE --- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg);
  transition: transform 0.9s var(--ease-in-out);
  /* sécurité : se retire tout seul si le script ne tourne pas */
  animation: intro-out 0.9s var(--ease-in-out) 3s forwards;
}
.intro__tc { color: var(--muted); }
.intro__name { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.is-loaded .intro { transform: translateY(-100%); }
@keyframes intro-out { to { transform: translateY(-100%); } }

/* --- 4. NAVIGATION --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;  /* reste lisible sur fond clair comme sombre */
  color: #fff;
}
.nav__brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; justify-self: start; }
.nav__brand-role { font-weight: 400; opacity: 0.6; }
.nav__links { display: flex; gap: 28px; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__status { justify-self: end; font-size: 14px; display: flex; align-items: center; }

.nav__burger {
  display: none;
  justify-self: end;
  width: 44px; height: 44px;
  background: none; border: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav__burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* --- 5. HERO (vidéo plein écran) --- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }

/* Fausse "image" animée en attendant ta vidéo */
.footage { position: absolute; inset: -10%; background: #0d0b0a; overflow: hidden; }
.footage__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: drift 18s ease-in-out infinite alternate;
}
.footage__layer--a { width: 60%; height: 70%; left: -5%; top: 10%; background: #6b2a10; }
.footage__layer--b { width: 50%; height: 60%; right: 0; top: -5%; background: #173a44; animation-duration: 22s; animation-delay: -6s; }
.footage__layer--c { width: 45%; height: 55%; left: 35%; bottom: -15%; background: #3a1c3f; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8%, -6%) scale(1.15); }
  100% { transform: translate(-6%, 8%) scale(0.95); }
}
.is-paused .footage__layer { animation-play-state: paused; }

.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, transparent 30%, transparent 50%, rgba(10,10,10,0.85) 100%);
}

.hero__hud {
  position: absolute;
  top: 84px; left: var(--gutter); right: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(237,236,232,0.75);
}
.rec {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.hero__content { position: relative; z-index: 2; }
.hero__role { color: rgba(237,236,232,0.8); margin-bottom: 14px; }
.hero__name {
  font-size: clamp(4.2rem, 16vw, 15.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.82;
}
/* Chaque ligne du nom monte depuis un masque */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: block; }
.js .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .line:nth-child(2) > span { transition-delay: 0.08s; }
.is-loaded .line > span { transform: none; }

/* Badge rond qui tourne */
.reel-badge {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(90px, 16vh, 150px);
  width: clamp(110px, 11vw, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.reel-badge__ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spin 16s linear infinite;
}
.reel-badge__ring text {
  fill: var(--text);
  font-family: var(--mono);
  font-size: 9.6px;
  letter-spacing: 0.18em;
}
.reel-badge__play {
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--text);
  color: var(--bg);
  padding-left: 3px;
  transition: transform 0.5s var(--ease);
}
.reel-badge:hover .reel-badge__play { transform: scale(1.12); }
.is-paused .reel-badge__ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__pause {
  position: absolute;
  z-index: 2;
  bottom: clamp(28px, 5vh, 56px);
  color: rgba(237,236,232,0.75);
  transition: color 0.2s;
}
.hero__pause {
  right: var(--gutter);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 36px;
  cursor: pointer;
}
.hero__pause:hover { color: var(--text); }

/* --- 6. PHRASE D'INTRODUCTION --- */
.statement {
  padding: clamp(100px, 18vh, 200px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px 40px;
}
.statement__label { color: var(--muted); padding-top: 0.9em; }
.statement__text {
  font-size: clamp(1.7rem, 4.1vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 24ch;
}
.statement__text em { font-size: 1.08em; }
/* Les mots s'allument au défilement (le script les découpe) */
.statement__text .w { opacity: 0.16; transition: opacity 0.3s linear; }
.statement__text .w.is-lit { opacity: 1; }
.statement__meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  color: var(--muted);
  margin-top: 24px;
}
.statement__meta a { color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.statement__meta a:hover { border-color: var(--text); }

/* --- 7. TRAVAUX --- */
.work { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); }
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 6vh, 64px);
}
.view-toggle { display: flex; gap: 6px; }
.view-toggle__btn {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.view-toggle__btn:hover { border-color: var(--text); }
.view-toggle__btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.work__cols,
.project a {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.3fr 0.4fr;
  gap: 24px;
  align-items: center;
}
.work__cols { color: var(--muted); padding-bottom: 14px; }
.work__cols span:last-child { text-align: right; }

/* --- Vue LISTE --- */
.work__list { border-bottom: 1px solid var(--line); }
.project { border-top: 1px solid var(--line); }
.project a {
  padding: clamp(22px, 3.4vh, 36px) 0;
  transition: opacity 0.35s var(--ease), padding 0.5s var(--ease);
}
.project__thumb { display: none; }
.project__title {
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.project__cat, .project__role { color: var(--muted); font-size: 15px; }
.project__year { text-align: right; color: var(--muted); }
/* Au survol : les autres lignes s'effacent, la ligne survolée glisse */
@media (hover: hover) {
  .work__list:hover .project a { opacity: 0.32; }
  .work__list .project a:hover,
  .work__list .project a:focus-visible { opacity: 1; }
  .project a:hover .project__title { transform: translateX(14px); }
}

/* Aperçu qui suit la souris */
.cursor-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  width: clamp(260px, 24vw, 380px);
  aspect-ratio: 16 / 10;
  pointer-events: none;
  border-radius: 6px;
  overflow: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0);
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.cursor-preview.is-visible { transform: translate3d(-50%, -50%, 0) scale(1); }
.cursor-preview__inner { width: 100%; height: 100%; background-size: cover; background-position: center; }

/* --- Vue GRILLE (décalée, façon planche contact) --- */
.work.is-grid .work__cols { display: none; }
.work.is-grid .work__list {
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 40px);
}
.work.is-grid .project { border: 0; }
.work.is-grid .project:nth-child(even) { margin-top: clamp(60px, 12vw, 160px); }
.work.is-grid .project a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 0;
  opacity: 1;
}
.work.is-grid .project__thumb {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 14px;
}
.work.is-grid .project__title { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.work.is-grid .project__cat { grid-column: 1; }
.work.is-grid .project__role { display: none; }
.work.is-grid .project__year { grid-row: 2; grid-column: 2; }
.work.is-grid .project a:hover .project__title { transform: none; }

/* Vignette (grille + mobile) */
.project__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease), border-radius 0.8s var(--ease);
}
.project a:hover .project__thumb { transform: scale(0.97); border-radius: 12px; }
.project__dur {
  position: absolute;
  bottom: 10px; right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(10,10,10,0.7);
  font-size: 11px;
}

/* Dégradés de remplacement (à remplacer par tes images) */
.ph-1 { background-image: radial-gradient(120% 90% at 20% 20%, #a3461a, transparent 60%), linear-gradient(135deg, #2b130a, #120a09); }
.ph-2 { background-image: radial-gradient(120% 90% at 80% 20%, #8a2f5e, transparent 60%), linear-gradient(135deg, #1d0f1c, #0e0a10); }
.ph-3 { background-image: radial-gradient(120% 90% at 30% 70%, #23606a, transparent 60%), linear-gradient(135deg, #0b1d22, #0a0f10); }
.ph-4 { background-image: radial-gradient(120% 90% at 70% 60%, #c26a1e, transparent 60%), linear-gradient(135deg, #2a1606, #100b07); }
.ph-5 { background-image: radial-gradient(120% 90% at 40% 30%, #4b3a8c, transparent 60%), linear-gradient(135deg, #15102a, #0b0a12); }
.ph-6 { background-image: radial-gradient(120% 90% at 60% 40%, #2d7a63, transparent 60%), linear-gradient(135deg, #0b2019, #090f0d); }
.ph-photo { background-image: radial-gradient(90% 70% at 50% 35%, #4a3a32, transparent 70%), linear-gradient(160deg, #1d1715, #0e0c0b); }

/* --- 8. SHOWREEL --- */
.reel { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); }
.reel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 6vh, 56px);
}
.reel__lead { max-width: 36ch; color: var(--muted); font-size: 1.05rem; }
.reel__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2);
}
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__poster {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 90% at 30% 30%, rgba(163,70,26,0.45), transparent 60%),
    radial-gradient(60% 80% at 75% 70%, rgba(35,96,106,0.45), transparent 60%),
    #0e0d0c;
}
.reel__play {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--text);
  color: var(--bg);
  padding-left: 4px;
  transition: transform 0.5s var(--ease);
}
.reel__frame:hover .reel__play { transform: scale(1.1); }
.reel__hint { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); }

.breakdown {
  margin-top: clamp(28px, 5vh, 48px);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 16px 40px;
}
.breakdown__label { color: var(--muted); padding-top: 14px; }
.breakdown__list li {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.breakdown__list li:last-child { border-bottom: 1px solid var(--line); }
.breakdown__list li .mono { color: var(--accent); }

/* --- 9. SERVICES --- */
.services { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); }
.services .title { margin-bottom: clamp(32px, 6vh, 64px); }
.services__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service { border-top: 1px solid var(--text); padding-top: 20px; }
.service__num { display: block; color: var(--muted); margin-bottom: clamp(32px, 7vh, 72px); }
.service__name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 10px; }
.service__desc { color: var(--muted); max-width: 28ch; }

/* --- 10. À PROPOS --- */
.about {
  padding: 0 var(--gutter) clamp(100px, 16vh, 180px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  position: sticky;
  top: 90px;
}
.about__body .title { margin-bottom: clamp(28px, 5vh, 48px); }
.about__lead {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 20px;
}
.about__body > p:not(.about__lead) { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.facts { margin-top: clamp(36px, 6vh, 56px); }
.facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-top: 3px; }

/* --- 11. BANDEAU DÉFILANT --- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vh, 28px) 0;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  white-space: nowrap;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  animation: ticker 30s linear infinite;
}
.ticker__dot { width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- 12. CONTACT / PIED DE PAGE --- */
.contact { padding: clamp(100px, 18vh, 200px) var(--gutter) 32px; }
.contact__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(40px, 7vh, 72px);
  border-bottom: 1px solid var(--line);
}
.contact__title {
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}
.contact__title em { letter-spacing: -0.02em; }
.contact__button {
  flex-shrink: 0;
  width: clamp(140px, 14vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.contact__button:hover { background: var(--accent); color: #fff; }
.contact__button span { display: block; transition: transform 0.2s linear; }

.contact__links { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(28px, 5vh, 44px) 0 clamp(64px, 12vh, 120px); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.pill:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.contact__bottom {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  font-size: 15px;
}
.contact__col p.mono { margin-bottom: 10px; }
.contact__col--end { text-align: right; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.socials a, .contact__col--end a { position: relative; }
.socials a:hover, .contact__col--end a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --- 13. APPARITION AU DÉFILEMENT --- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --- 14. RESPONSIVE --- */
@media (max-width: 1024px) {
  .services__list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .work__cols, .project a { grid-template-columns: 2fr 1fr 0.4fr; }
  .work__cols span:nth-child(3), .project__role { display: none; }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto;
    mix-blend-mode: normal;
    padding-top: 12px;
    padding-bottom: 12px;
    background: linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 70%, transparent 100%);
  }
  .nav__status { display: none; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--gutter);
    background: var(--bg);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease-in-out);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); }
  .nav__links a { font-size: clamp(2.6rem, 12vw, 4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
  .nav__links a::after { display: none; }
  .nav__brand { position: relative; z-index: 2; }

  .hero__hud { top: 76px; }
  .reel-badge { bottom: auto; top: 120px; right: var(--gutter); }

  .statement, .breakdown { grid-template-columns: 1fr; }
  .statement__meta { grid-column: 1; }
  .statement__label, .breakdown__label { padding-top: 0; }

  /* Liste de projets → cartes avec vignette */
  .work__cols { display: none; }
  .work__list { border: 0; display: grid; gap: 40px; }
  .project { border: 0; }
  .project a,
  .work.is-grid .project a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 0; opacity: 1; }
  .project__thumb,
  .work.is-grid .project__thumb { display: block; grid-column: 1 / -1; margin-bottom: 14px; }
  .project__title { font-size: 1.5rem; }
  .project__year { grid-row: 2; grid-column: 2; }
  .work.is-grid .work__list { grid-template-columns: 1fr; }
  .work.is-grid .project:nth-child(even) { margin-top: 0; }
  .view-toggle { display: none; }

  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 420px; }

  .contact__top { flex-direction: column; align-items: flex-start; }
  .contact__bottom { grid-template-columns: 1fr 1fr; }
  .contact__col:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 520px) {
  .services__list { grid-template-columns: 1fr; }
  .service__num { margin-bottom: 20px; }
  .breakdown__list li { grid-template-columns: 56px 1fr; }
  .breakdown__list li .muted { grid-column: 2; font-size: 14px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .hero__name { font-size: clamp(3.6rem, 21vw, 6rem); }
}

/* --- 15. MOUVEMENT RÉDUIT (accessibilité) --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .intro { display: none; }
  .js .line > span, .js [data-reveal] { transform: none; opacity: 1; }
  .statement__text .w { opacity: 1; }
  .ticker__track, .reel-badge__ring, .footage__layer { animation: none; }
  .cursor-preview { display: none; }
}

/* ============================================================
   16. LOGO + NOUVELLES SECTIONS (méthode, confiance, avis, FAQ)
   ============================================================ */

/* --- Sécurité : si script.js ne se charge pas, le nom du hero apparaît quand même --- */
@keyframes hero-line-fallback { to { transform: translateY(0); } }
.js:not(.is-loaded) .line > span { animation: hero-line-fallback 0.6s var(--ease) 2.6s forwards; }

/* --- Logo dans la barre de navigation --- */
.nav__brand { display: inline-flex; align-items: center; gap: 9px; }
.logo { flex-shrink: 0; }
.logo__play { transition: transform 0.4s var(--ease); transform-origin: 20px 20px; }
.nav__brand:hover .logo__play { transform: scale(1.18); }
.nav__brand-name { white-space: nowrap; }

/* --- Méthode --- */
.method { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); }
.method__head { margin-bottom: clamp(32px, 6vh, 64px); }
.method__lead { color: var(--muted); font-size: 1.05rem; margin-top: 16px; max-width: 46ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { border-top: 1px solid var(--text); padding-top: 20px; }
.step__num { display: block; color: var(--muted); margin-bottom: clamp(28px, 6vh, 64px); }
.step__name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 10px; }
.step__desc { color: var(--muted); font-size: 15px; }

/* --- Ils m'ont fait confiance --- */
.clients { padding: clamp(60px, 10vh, 110px) var(--gutter); border-top: 1px solid var(--line); }
.clients__label { color: var(--muted); text-align: center; margin-bottom: clamp(28px, 5vh, 44px); }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 72px); }
.clients__list li { font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; color: var(--muted); opacity: 0.6; transition: opacity 0.3s, color 0.3s; }
.clients__list li:hover { opacity: 1; color: var(--text); }

/* --- Témoignages --- */
.quotes { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); }
.quotes .title { margin-bottom: clamp(32px, 6vh, 64px); }
.quotes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.quote { margin: 0; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; }
.quote__name { font-weight: 600; }
.quote__role { color: var(--muted); }

/* --- FAQ --- */
.faq { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 90px; }
.faq__lead { color: var(--muted); margin-top: 16px; max-width: 34ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 2.4vh, 26px) 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--muted); }
.qa__sign { position: relative; flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; background: currentColor; transition: transform 0.3s var(--ease); }
.qa__sign::before { left: 0; top: 7px; width: 16px; height: 2px; }
.qa__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.qa[open] .qa__sign::after { transform: scaleY(0); }
.qa__body { padding-bottom: clamp(18px, 2.4vh, 26px); color: var(--muted); max-width: 60ch; }
.qa__body p { font-size: 1rem; }
.qa[open] .qa__body { animation: fade-in 0.35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --- Responsive des nouvelles sections --- */
@media (max-width: 1040px) {
  .nav__links { gap: 18px; }
  .nav__status { display: none; }
}
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step__num { margin-bottom: 16px; }
  .quotes__grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
