/* ECX Studio — direction artistique « éditoriale & cinématographique »
   Palette du logo : Nuit #0B0B0F · Papier #F5F3EE · Violet #7C5CFF · Gris #A9A7B3
   Typo du logo : Instrument Serif (titres) + Inter (texte) */
:root {
  --midnight: #0B0B0F;
  --surface: #111117;
  --surface-2: #17171F;
  --paper: #F5F3EE;
  --muted: #A9A7B3;
  --dim: #6E6C78;
  --violet: #7C5CFF;
  --violet-2: #A996FF;
  --line: rgba(245, 243, 238, .1);
  --line-2: rgba(245, 243, 238, .18);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.motion) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--midnight); color: var(--paper);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 500; color: var(--paper); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet-2); }
button { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--midnight); padding: 8px 14px; z-index: 2000; }
.skip:focus { left: 16px; }
:focus-visible { outline: 1px solid var(--violet-2); outline-offset: 4px; }

/* ---------- Typo ---------- */
.eyebrow, .index, .tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before, .tag::before { content: ""; width: 32px; height: 1px; background: var(--violet); }
.index span { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--violet-2); }
.index span::after { content: " —"; color: var(--dim); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 104px); line-height: .98; letter-spacing: -0.015em; margin: 0 0 28px; max-width: 14ch; }
.h2--xl { font-size: clamp(48px, 8vw, 132px); max-width: 16ch; }
.grad { font-family: var(--serif); font-style: italic; color: var(--violet-2); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); margin: 0 0 32px; max-width: 560px; }
.section__head { margin-bottom: clamp(56px, 8vw, 110px); }

/* ---------- Liens & boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer;
  padding: 20px 30px; border-radius: 2px; transition: color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn span { transition: transform .5s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary::before { background: var(--paper); }
.btn--primary:hover { color: var(--midnight); }
.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--midnight); }
.btn--round { width: 168px; height: 168px; border-radius: 50%; padding: 0 24px; text-align: center; line-height: 1.25; background: var(--violet); color: #fff; flex-direction: column; gap: 6px; }
.btn--round::before { background: var(--paper); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.btn--round:hover::before { transform: scale(1); }
.btn--round:hover { color: var(--midnight); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--paper), var(--paper)) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: var(--paper); }
.brand__word { display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: 28px; letter-spacing: .06em; }
.brand__x { width: .69em; height: .73em; margin-left: .08em; overflow: visible; }
.brand__x g { fill: none; stroke: var(--violet); stroke-width: 7; stroke-linecap: round; }
.brand__studio { font-family: var(--serif); font-style: italic; font-size: 10px; letter-spacing: .3em; margin-top: 2px; opacity: .8; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter); transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(11, 11, 15, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav .brand { justify-self: start; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; font-size: 14px; font-weight: 400; text-decoration: none; color: var(--muted); padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--paper); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-decoration: none; padding: 12px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, background .3s; }
.nav__cta:hover { background: var(--paper); color: var(--midnight); }
.nav__cta i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 0 rgba(124, 92, 255, .7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(124, 92, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); } }
.nav__burger { display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--paper); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Intro ---------- */
.intro { display: none; }
.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--midnight);
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io);
}
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro__logo { display: flex; flex-direction: column; align-items: center; }
.intro__word { display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: clamp(72px, 14vw, 180px); line-height: 1; letter-spacing: .06em; }
.intro__l { display: inline-block; opacity: 0; transform: translateY(.14em); animation: rise .9s var(--ease) forwards; }
.intro__l:nth-child(2) { animation-delay: .14s; }
.intro__x { width: .69em; height: .73em; margin-left: .08em; overflow: visible; }
.intro__x g { fill: none; stroke: var(--violet); stroke-width: 7; stroke-linecap: round; }
.intro__x path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) .35s forwards; }
.intro__x path + path { animation-delay: .6s; }
.intro__studio { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 30px); margin-top: 8px; opacity: 0; letter-spacing: .6em; animation: studio 1.1s var(--ease) 1s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes studio { to { opacity: .85; letter-spacing: .14em; } }

/* ---------- Curseur & grain ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .motion .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--paper); mix-blend-mode: difference;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
  }
  .motion .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .motion .cursor.has-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--violet); mix-blend-mode: normal; }
  .motion .cursor.is-hidden { opacity: 0; }
  .cursor__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.has-label .cursor__label { opacity: 1; }
}
.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Apparitions (actives seulement avec les animations) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.motion .line__in, .motion .w__in { display: inline-block; transform: translateY(110%); }
.line { display: block; }
.motion [data-split="lines"] .line, .motion .w { overflow: hidden; vertical-align: top; }
.w { display: inline-block; }
.motion [data-split] { padding-bottom: .06em; }
.motion [data-split="scrub"] .w__in { transform: none; opacity: .14; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 72px; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--midnight)); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11.5vw, 200px); line-height: .9; letter-spacing: -0.025em; margin: 0 0 56px; }
.hero__title em { color: var(--violet-2); }
.hero__title .soft { color: var(--dim); font-size: .5em; letter-spacing: -0.01em; margin-top: .3em; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: end; gap: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero__lead { margin: 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.hero__side { display: grid; gap: 22px; justify-items: end; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.delays { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--dim); letter-spacing: .04em; }
.delays li { display: flex; align-items: center; gap: 8px; }
.delays li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.delays strong { color: var(--paper); font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 56px; background: var(--line); overflow: hidden; z-index: 1; }
.scroll-cue span { position: absolute; inset: 0; background: var(--paper); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5vw, 72px); line-height: 1; white-space: nowrap; color: var(--paper); }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(245, 243, 238, .45); }
.marquee__track i {
  flex: none; width: 34px; height: 36px; background: var(--violet);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 74 78'><g fill='none' stroke='black' stroke-width='8' stroke-linecap='round'><path d='M0 0 C 34 0, 32 70, 66 70'/><path d='M0 70 C 34 70, 32 0, 66 0'/></g></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 74 78'><g fill='none' stroke='black' stroke-width='8' stroke-linecap='round'><path d='M0 0 C 34 0, 32 70, 66 70'/><path d='M0 70 C 34 70, 32 0, 66 0'/></g></svg>") center / contain no-repeat;
}
html:not(.motion) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(100px, 13vw, 180px) 0; }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.work { margin: 0; }
.work--offset { margin-top: clamp(40px, 8vw, 120px); }
.work--cta { margin-top: clamp(80px, 14vw, 220px); }
.work__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 4px; overflow: hidden;
  background: #000; cursor: pointer; text-decoration: none; clip-path: inset(0 round 4px);
}
.work__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.work__media:hover video { transform: scale(1.04); filter: none; }
.work__time { position: absolute; left: 14px; top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; background: rgba(11, 11, 15, .6); backdrop-filter: blur(6px); color: var(--paper); }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.work figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.work figcaption span { font-size: 13px; color: var(--muted); text-align: right; }
.work__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--paper); }
.work__placeholder span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); }
.work__x { width: 30%; overflow: visible; }
.work__x g { fill: none; stroke: var(--violet); stroke-width: 5; stroke-linecap: round; }
.work__x path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.work__placeholder:hover .work__x path { animation: redraw 1.1s var(--ease) both; }
.work__placeholder:hover .work__x path + path { animation-delay: .2s; }
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }

/* ---------- Méthode ---------- */
.method__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__aside { position: sticky; top: 110px; }
.method .section__head { margin-bottom: 48px; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }
.stage__count { position: absolute; left: 18px; top: 12px; font-family: var(--serif); z-index: 2; }
.stage__num { font-size: 40px; color: var(--paper); }
.stage__total { font-size: 18px; color: var(--dim); }
.vignette { position: absolute; inset: 14% 8% 8%; width: 84%; height: 78%; overflow: visible; opacity: 0; transform: scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); fill: none; stroke: var(--paper); stroke-width: 1.5; }
.vignette.is-active { opacity: 1; transform: none; }
.vignette text { fill: var(--muted); stroke: none; font: 400 12px var(--sans); text-anchor: middle; letter-spacing: .08em; }
.v-draw { stroke: var(--violet-2); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-active .v-draw { animation: draw 1.4s var(--ease) .2s forwards; }
.v-pulse { stroke: var(--violet); transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-active .v-pulse { animation: pulse 2.4s var(--ease) infinite; }
.is-active .v-pulse--b { animation-delay: 1.2s; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
.v-frames rect { transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-active .v-frames rect { animation: pop .6s var(--ease) forwards; }
.is-active .v-frames rect:nth-child(2) { animation-delay: .15s; } .is-active .v-frames rect:nth-child(3) { animation-delay: .3s; } .is-active .v-frames rect:nth-child(4) { animation-delay: .45s; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.v-lines rect { fill: rgba(245, 243, 238, .18); stroke: none; transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.is-active .v-lines rect { animation: grow 1s var(--ease) .6s forwards; }
.is-active .v-lines rect:nth-child(2) { animation-delay: .8s; } .is-active .v-lines rect:nth-child(3) { animation-delay: 1s; }
@keyframes grow { to { transform: none; } }
.v-check { stroke: var(--violet-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-active .v-check { animation: draw .6s var(--ease) 1.4s forwards; }
.v-grid { stroke: var(--line-2); stroke-width: 1; }
.v-keys rect { fill: var(--paper); stroke: none; }
.v-dot { fill: var(--violet); stroke: none; offset-path: path("M20 170 C 140 170, 150 30, 300 30"); offset-distance: 0%; }
.is-active .v-dot { animation: travel 2.4s var(--ease-io) .4s infinite alternate; }
@keyframes travel { to { offset-distance: 100%; } }
.v-wave rect { fill: var(--violet-2); stroke: none; transform-box: fill-box; transform-origin: center; transform: scaleY(.2); }
.is-active .v-wave rect { animation: wave .9s ease-in-out infinite alternate; }
.v-wave rect:nth-child(2n) { animation-delay: .2s !important; } .v-wave rect:nth-child(3n) { animation-delay: .4s !important; }
@keyframes wave { to { transform: scaleY(1); } }
.v-format { stroke: var(--violet-2); stroke-width: 2; vector-effect: non-scaling-stroke; fill: rgba(124, 92, 255, .12); transform-box: fill-box; transform-origin: center; transform: translate(80px, 45px); }
.is-active .v-format { animation: formats 4.5s var(--ease-io) infinite; }
@keyframes formats {
  0%, 22% { transform: translate(80px, 45px) scale(1, 1); }
  33%, 55% { transform: translate(80px, 45px) scale(.45, 1.25); }
  66%, 88% { transform: translate(80px, 45px) scale(.35, 1.45); }
  100% { transform: translate(80px, 45px) scale(1, 1); }
}
.v-jday { font-family: var(--serif) !important; font-size: 26px !important; fill: var(--violet-2) !important; text-anchor: end !important; letter-spacing: 0 !important; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--violet); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 40px clamp(28px, 4vw, 64px); opacity: .22; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--violet-2); margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 72px); line-height: 1; letter-spacing: -0.01em; margin: 0 0 18px; }
.step p { margin: 0; color: var(--muted); max-width: 440px; font-size: 18px; }

/* ---------- Studio ---------- */
.about { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__card { text-align: left; }
.seal { position: relative; width: 180px; height: 180px; margin-bottom: 28px; }
.seal svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal text { fill: var(--muted); font: 400 11.5px var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.seal__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 52px; color: var(--paper); }
.seal::after { content: ""; position: absolute; inset: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--violet-2), var(--violet)); z-index: -1; }
.seal__initials { z-index: 1; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__name { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.about__role { margin: 4px 0 20px; color: var(--muted); font-size: 15px; }
.about__link { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--violet-2), var(--violet-2)) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.about__link:hover { background-size: 0 1px; background-position: 100% 100%; }
.prose p { margin: 0 0 20px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 680px; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 56px 0 0; padding: 0; }
.about__facts li { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.about__facts strong { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--paper); }
.about__facts span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 6vw, 100px); margin-top: clamp(100px, 13vw, 180px); }
.faq__head { position: sticky; top: 120px; align-self: start; }
.faq__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; cursor: pointer; list-style: none; padding: 28px 56px 28px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; transition: color .3s; }
.faq__list summary:hover { color: var(--violet-2); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details[open] summary::before { transform: rotate(180deg); }
.faq__list p { margin: 0; padding: 0 56px 30px 0; color: var(--muted); max-width: 64ch; }
.faq__list a { color: var(--violet-2); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 30%; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .22), transparent 70%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 136px); line-height: .94; letter-spacing: -0.02em; margin: 0 0 32px; }
.contact__actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.contact__mail { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--paper), var(--paper)) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.contact__mail:hover { background-size: 0 1px; background-position: 100% 100%; }
.form { position: relative; display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.form input, .form textarea { width: 100%; font: 300 18px/1.5 var(--sans); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 10px 0; transition: border-color .3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet-2); }
.form textarea { resize: vertical; min-height: 110px; }
.form ::placeholder { color: var(--dim); }
.form .btn { justify-self: start; }

/* ---------- Pied de page ---------- */
.footer { position: relative; padding-top: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); overflow: hidden; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: var(--muted); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--paper); }
.footer__mark { display: flex; align-items: baseline; justify-content: center; font-family: var(--serif); font-size: 34vw; line-height: .78; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(245, 243, 238, .12); margin: 48px 0 -5vw; user-select: none; }
.footer__mark svg { width: .69em; height: .73em; margin-left: .06em; overflow: visible; }
.footer__mark g { fill: none; stroke: rgba(124, 92, 255, .5); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- Lecteur vidéo ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 11, 15, .96); color: var(--paper); display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fade .5s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__video { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 4px; animation: zoom .7s var(--ease); background: #000; }
.lightbox__close { position: absolute; top: 24px; right: var(--gutter); border: 0; background: none; cursor: pointer; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.lightbox__close:hover { color: var(--paper); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }

/* ---------- Pages secondaires (rendez-vous, mentions légales, 404) ---------- */
.hero__bg { position: absolute; inset: 0 0 auto; height: 70vh; pointer-events: none; background: radial-gradient(50% 60% at 20% 0%, rgba(124, 92, 255, .28), transparent 70%); }
.booking, .legal { position: relative; overflow: hidden; padding: 150px 0 100px; min-height: 100vh; }
.booking__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.booking__title, .legal__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 104px); line-height: .96; letter-spacing: -0.02em; margin: 0 0 24px; }
.booking__list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.booking__list li { display: grid; gap: 2px; padding: 18px 0 18px 40px; position: relative; border-bottom: 1px solid var(--line); }
.booking__list li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 16px; height: 1px; background: var(--violet); }
.booking__list strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.booking__list span { color: var(--muted); font-size: 15px; }
.booking__alt { color: var(--muted); font-size: 15px; }
.booking__alt a { color: var(--violet-2); }
.booking__cal { min-height: 660px; background: var(--surface); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
#cal-inline { width: 100%; min-height: 640px; height: 720px; overflow: auto; }
#cal-inline[hidden] { display: none; }
.booking__setup { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 620px; padding: 32px; }
.booking__setup[hidden] { display: none; }
.booking__setup-title { font: 400 32px var(--serif); margin: 0; }
.booking__setup p { color: var(--muted); margin: 0 0 18px; }
.legal__inner { position: relative; z-index: 1; max-width: 900px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 48px; }
.legal__toc a { font-size: 14px; text-decoration: none; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.legal__toc a:hover { color: var(--paper); border-color: var(--violet-2); }
.legal__card { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.legal__card h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 18px; }
.legal__card h3 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin: 28px 0 8px; }
.legal__card p, .legal__card li { color: var(--muted); font-size: 16px; }
.legal__card p { margin: 0 0 12px; }
.legal__card ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }
.legal__card a { color: var(--violet-2); }
.legal__list { display: grid; grid-template-columns: 220px 1fr; margin: 0 0 12px; }
.legal__list dt, .legal__list dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.legal__list dt { color: var(--muted); }
.page { padding: 160px 0 100px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 110px); line-height: .95; margin: 0 0 32px; }
.page p { color: var(--muted); max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gutter);
    background: var(--midnight); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); z-index: 1;
  }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
  .nav__links a { font-family: var(--serif); font-size: clamp(48px, 13vw, 84px); line-height: 1.05; color: var(--paper); }
  .nav__links a::after { display: none; }
  .nav .brand { position: relative; z-index: 2; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__side { justify-items: start; }
  .hero__cta { justify-content: flex-start; }
  .works { grid-template-columns: 1fr 1fr; }
  .work--cta { grid-column: span 2; margin-top: 0; }
  .work--cta .work__media { aspect-ratio: 16 / 8; }
  .method__grid { grid-template-columns: 1fr; gap: 0; }
  .method__aside { display: contents; }
  .stage { position: sticky; top: 64px; z-index: 2; aspect-ratio: auto; height: 190px; margin: 0 0 8px; background-color: var(--surface); }
  .step { min-height: 52vh; }
  .about, .faq, .contact__grid, .booking__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .about__facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 56px; }
  .hero__title { margin-bottom: 40px; }
  .hero__cta .btn { width: 100%; }
  .works { grid-template-columns: 1fr; }
  .work--offset { margin-top: 0; }
  .work--cta { grid-column: auto; }
  .about__facts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .legal__list { grid-template-columns: 1fr; }
  .legal__list dd { border-top: 0; padding-top: 0; }
  .btn--round { width: 140px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
.nav__menu-cta { display: none; }
@media (max-width: 960px) {
  .nav__links .nav__menu-cta { display: inline-block; margin-top: 28px; font-family: var(--sans); font-size: 18px; font-weight: 500; color: #fff; background: var(--violet); padding: 18px 28px; border-radius: 2px; align-self: flex-start; }
}
