/* ============================================================
   Physio MVMT Villeurbanne — redesign
   Palette : encre / papier froid + bleu & graphite du logo
   Typo : Suisse Intl (display 500 + light 300), Manrope fallback
   ============================================================ */

:root {
  --ink: #121417;
  --ink-2: #1A1D22;
  --paper: #F3F5F8;
  --paper-2: #E8ECF1;
  --graphite: #4D4D4D;
  --blue: #5D8DC6;
  --blue-deep: #2E5E99;
  --mist: #C9D3E0;

  /* thème courant (piloté par body[data-theme]) */
  --bg: var(--ink);
  --fg: #F3F5F8;
  --fg-muted: rgba(243,245,248,.58);
  --line: rgba(243,245,248,.14);
  --card: rgba(243,245,248,.05);

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1680px;
  --font: "Suisse Intl", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 18px;
}

body[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: rgba(18,20,23,.58);
  --line: rgba(18,20,23,.12);
  --card: rgba(18,20,23,.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .9s var(--ease-io), color .9s var(--ease-io);
}
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- Canvas particules (fixe, derrière tout) ---------- */
#particles {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}
main, .nav, .footer { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fg);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), background-color .4s, opacity .3s;
  will-change: transform;
}
.cursor-label {
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: var(--bg);
  opacity: 0; transform: scale(.6);
  transition: opacity .25s, transform .4s var(--ease);
  white-space: nowrap;
}
.cursor.is-link { width: 44px; height: 44px; background: var(--blue); }
.cursor.is-label { width: 86px; height: 86px; background: var(--blue); }
.cursor.is-label .cursor-label { opacity: 1; transform: none; color: #fff; }
.cursor.is-hidden { width: 0; height: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Barre de progression ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--blue);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: transform .5s var(--ease), padding .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.scrolled { padding-block: 14px; }
.nav-wordmark { font-size: 19px; font-weight: 500; letter-spacing: -.02em; display: flex; gap: 2px; }
.nav-wordmark span { color: var(--blue); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--fg-muted);
  position: relative; padding: 6px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-size: 14px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, color .3s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger span {
  position: absolute; left: 10px; width: 20px; height: 1.5px;
  background: var(--fg); transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.nav-burger.is-open span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-burger.is-open span:last-child { top: 19.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 140;
  background: var(--ink);
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a {
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .06s }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .12s }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .18s }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .24s }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .30s }
.mobile-menu.is-open a:nth-child(7) { transition-delay: .36s }
.mobile-menu .mobile-cta {
  margin-top: 30px; font-size: 16px; font-weight: 500;
  color: var(--blue); letter-spacing: 0;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); }

.section-title {
  font-size: clamp(40px, 6.4vw, 104px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.section-title .thin, .hero-title .thin { font-weight: 300; color: var(--fg-muted); }
.smile {
  display: inline-block;
  width: .6em; height: .6em;
  color: var(--blue);
  vertical-align: .12em;
  margin-left: .16em;
}

.section-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--fg-muted);
  max-width: 560px;
  margin-top: 28px;
  line-height: 1.55;
}

/* Split lines (reveal par ligne, masque) */
.split .l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
/* JS enveloppe le texte de chaque .l dans un span .li */
.split .li {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
.split.is-in .li { transform: translateY(0); }
.split .l:nth-child(2) .li { transition-delay: .08s; }
.split .l:nth-child(3) .li { transition-delay: .16s; }
.split .l:nth-child(4) .li { transition-delay: .24s; }

.reveal-line, .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-line.is-in, .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease-io);
  will-change: transform;
}
.btn-txt { position: relative; z-index: 2; }
.btn-ico {
  position: relative; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .45s var(--ease-io), transform .45s var(--ease);
}
.btn-ico svg { width: 18px; height: 18px; }
.btn-fill { background: var(--fg); color: var(--bg); }
.btn-fill .btn-ico { background: var(--blue); color: #fff; }
.btn-fill .btn-bg {
  position: absolute; inset: 0; z-index: 1;
  background: var(--blue);
  border-radius: 999px;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn-fill:hover .btn-bg { transform: translateY(0); }
.btn-fill:hover { color: #fff; }
.btn-fill:hover .btn-ico { background: #fff; color: var(--blue); transform: rotate(-45deg); }
.btn-fill.light { background: var(--paper); color: var(--ink); }
.btn-fill.light:hover { color: #fff; }
.btn-ghost {
  padding: 16px 26px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--fg); background: var(--card); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(100px, 14vh, 180px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.section-head .eyebrow { grid-column: 1 / -1; grid-row: 1; }
.section-head .section-title { grid-column: 1; grid-row: 2; }
.section-head .section-sub { grid-column: 1; grid-row: 3; }
.section-head .logo-zone { grid-column: 2; grid-row: 2 / 4; justify-self: end; align-self: center; }

/* Zones où le logo en particules vient se reconstituer (vides, mesurées par JS) */
.logo-zone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 580 / 396;
  pointer-events: none;
}
.hero-logo-zone { max-width: 600px; justify-self: end; }

/* Variante : logo à gauche, titre à droite */
.head-left { grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); }
.head-left .logo-zone { grid-column: 1; grid-row: 2 / 4; justify-self: start; align-self: start; margin-top: .3em; }
.head-left .section-title, .head-left .section-sub { grid-column: 2; }

/* Variante : centré, logo au-dessus du titre */
.head-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head-center .eyebrow { justify-content: center; }
.head-center .logo-zone { grid-column: 1; grid-row: 2; max-width: 300px; margin-bottom: 36px; justify-self: center; }
.head-center .section-title { grid-row: 3; text-align: center; }
.head-center .section-sub { grid-row: 4; margin-top: 24px; }
/* Sous-texte du cabinet : assez large pour tenir sur 2 lignes */
.cabinet .section-sub { max-width: 760px; }

/* Variante : logo dans la ligne du titre */
.head-inline { grid-template-columns: 1fr; }
.head-inline .section-title { grid-column: 1; }
.head-inline .li { display: flex; align-items: center; width: 100%; gap: .2em; }
.logo-inline {
  display: block; flex: 1 1 auto; min-width: 1.4em;
  height: 2.4em; aspect-ratio: auto; max-width: none;
}
@media (max-width: 900px) { .logo-inline { height: 2.1em; } }
.app-side .logo-zone { max-width: 300px; margin: 0 0 40px auto; }
.footer-zone { grid-column: 1 / -1; max-width: 320px; margin: 0 auto 36px; justify-self: center; }
.footer-cta .section-title { text-align: center; grid-column: 1 / -1; }
.footer-cta .btn { grid-column: 1 / -1; justify-self: center; margin-top: 28px; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; row-gap: 0; }
  .section-head .eyebrow { grid-row: 1; }
  .section-head .logo-zone { grid-column: 1; grid-row: 2; justify-self: start; max-width: 42vw; margin-bottom: 28px; }
  .section-head .section-title { grid-row: 3; }
  .section-head .section-sub { grid-row: 4; margin-top: 24px; }
  .app-side .logo-zone { max-width: 42vw; margin: 0 0 32px 0; }
  .head-left { grid-template-columns: 1fr; }
  .head-left .logo-zone, .head-left .section-title, .head-left .section-sub { grid-column: 1; }
  .head-left .logo-zone { grid-row: 2; margin-top: 0; }
  .head-center .logo-zone { justify-self: center; max-width: 46vw; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(120px, 18vh, 200px) var(--gutter) 28px;
  max-width: var(--max); margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(62.5px, 10.25vw, 170px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.04em;
  margin-bottom: 40px;
}
.hero-sub {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--fg-muted);
  max-width: 520px; line-height: 1.55;
  /* Hauteur verrouillée (3 lignes) : les modifs de texte ne doivent pas
     déplacer la mise en page ni les animations (particules, reveals). */
  min-height: 4.65em;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-foot { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 18px; }
.hero-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-marquee { cursor: grab; touch-action: pan-y; user-select: none; }
.hero-marquee.is-drag { cursor: grabbing; }
.marquee-track {
  display: flex; gap: 0; width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0 28px; position: relative; white-space: nowrap;
}
.marquee-track span::after {
  content: ""; position: absolute; right: -2px; top: 50%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transform: translateY(-50%);
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px; color: var(--fg-muted);
}

@media (max-width: 900px) {
  .hero { padding-top: 15vh; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo-zone { order: -1; max-width: 66vw; justify-self: center; margin-top: 4vh; }
  .hero-title { font-size: clamp(55px, 15.6vw, 100px); }
}

/* ---------- Approche ---------- */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 32px; align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .5s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: var(--blue); transition: width .5s var(--ease);
}
@media (hover: hover) {
  .step:hover { padding-left: 24px; }
  .step:hover::before { width: 3px; }
}
.step-n { font-size: 13px; font-weight: 500; color: var(--blue); letter-spacing: .06em; padding-top: 6px; }
.step-body { max-width: 720px; }
.step-body h3 { font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px; }
.step-body p { color: var(--fg-muted); font-size: 16px; max-width: 600px; }
.step-tag {
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; white-space: nowrap; margin-top: 6px;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 44px 1fr; gap: 16px; padding: 30px 0; }
  .step-tag { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ---------- Cabinet : scène épinglée ---------- */
.cabinet { padding-bottom: 0; }
.cabinet .section-head { margin-bottom: 0; }
.cab-pin { height: 260vh; position: relative; margin-top: -20px; }
.cab-stage {
  position: sticky; top: 0; height: 100vh;
  display: grid; place-items: center;
  overflow: visible;
}
.cab-main, .cab-side {
  position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius);
  will-change: transform, opacity; cursor: pointer;
}
.cab-main { width: min(90vw, 1180px); aspect-ratio: 16 / 9; transform-origin: center; }
.cab-side { width: clamp(150px, 16vw, 250px); aspect-ratio: 3 / 4; opacity: 0; }
.cab-side.s1 { left: 6%;  top: 12%; }
.cab-side.s2 { right: 6%; top: 10%; }
.cab-side.s3 { left: 12%; bottom: 10%; aspect-ratio: 4 / 3; width: clamp(170px, 20vw, 300px); }
.cab-side.s4 { right: 10%; bottom: 8%; }
.cab-main .ph, .cab-side .ph, .cab-main img, .cab-side img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(93,141,198,.18), transparent 60%), var(--paper-2);
}
body[data-theme="dark"] .ph { background: linear-gradient(135deg, rgba(93,141,198,.22), transparent 60%), var(--ink-2); }
.ph span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.cab-main figcaption, .cab-side figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--fg); background: var(--bg);
  padding: 6px 10px; border-radius: 999px;
}
@media (max-width: 900px) {
  .cab-pin { height: 190vh; }
  .cab-main { width: 92vw; aspect-ratio: 4 / 5; }
  .cab-side { width: 34vw; }
  .cab-side.s1 { left: 4%; top: 14%; }
  .cab-side.s2 { right: 4%; top: 18%; }
  .cab-side.s3 { left: 6%; bottom: 14%; width: 40vw; }
  .cab-side.s4 { right: 4%; bottom: 10%; }
}

/* ---------- Équipe : deck ---------- */
.deck {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 0; padding: 30px 0 10px;
}
.card {
  position: relative; width: 19%; max-width: 250px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -30px rgba(18,20,23,.35);
  cursor: pointer;
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  margin: 0 -1.2%;
}
.card:nth-child(1) { --rot: -6deg; --ty: 34px; z-index: 1; }
.card:nth-child(2) { --rot: -3deg; --ty: 12px; z-index: 2; }
.card:nth-child(3) { --rot: 0deg;  --ty: 0;    z-index: 3; }
.card:nth-child(4) { --rot: 3deg;  --ty: 12px; z-index: 2; }
.card:nth-child(5) { --rot: 6deg;  --ty: 34px; z-index: 1; }
@media (hover: hover) {
  .card:hover { transform: rotate(0deg) translateY(-14px) scale(1.04); z-index: 10; box-shadow: 0 40px 80px -30px rgba(18,20,23,.5); }
}
.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.card-ph { aspect-ratio: 3 / 4; }
.card-ph .ph, .card-ph img { width: 100%; height: 100%; object-fit: cover; }
.card-txt {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 16px;
  background: linear-gradient(to top, rgba(18,20,23,.88), transparent);
  color: #fff;
}
.card-txt h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.card.is-open { visibility: hidden; }
@media (max-width: 900px) {
  .deck { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0; }
  .card { width: auto; max-width: none; margin: 0; transform: none; }
  .card:nth-child(1) { grid-column: 1 / 3; }
  .card:nth-child(2) { grid-column: 3 / 5; }
  .card:nth-child(3) { grid-column: 5 / 7; }
  .card:nth-child(4) { grid-column: 2 / 4; margin-top: -34px; z-index: 5; }
  .card:nth-child(5) { grid-column: 4 / 6; margin-top: -34px; z-index: 5; }
  .card:nth-child(2) .card-txt { padding-bottom: 29px; }
  .card:nth-child(3) .card-txt { text-align: right; }
  .card-txt { padding: 16px 10px 12px; }
  .card-txt h3 { font-size: 16px; }
}

/* PC/tablette : noms de Geoffroy (4) & Lucie (5) alignés à droite
   pour rester visibles malgré l'éventail (chevauchement côté gauche). */
@media (min-width: 901px) {
  .card:nth-child(4) .card-txt,
  .card:nth-child(5) .card-txt { text-align: right; }
}

/* ---------- Fiche kiné (overlay) ---------- */
.sheet, .lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  visibility: hidden;
}
.sheet.is-on, .lightbox.is-on { visibility: visible; }
.sheet-bg, .lb-bg {
  position: absolute; inset: 0;
  background: rgba(18,20,23,.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s var(--ease-io);
}
.is-on .sheet-bg, .is-on .lb-bg { opacity: 1; }
.sheet-panel {
  position: relative;
  width: min(92vw, 880px);
  background: var(--paper); color: var(--ink);
  border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 300px 1fr;
  transform-origin: top left;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2,.9,.25,1), border-radius .55s;
}
.sheet-ph { aspect-ratio: 3 / 4; }
.sheet-ph .ph, .sheet-ph img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body {
  padding: 40px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease) .25s, transform .5s var(--ease) .25s;
}
.is-on .sheet-body { opacity: 1; transform: none; }
.sheet-body .eyebrow { margin-bottom: 4px; }
.sheet-body h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.m-spec { font-size: 17px; font-weight: 600; }
.m-bio { font-size: 15px; color: rgba(18,20,23,.62); line-height: 1.55; }
.sheet-cta { align-self: flex-start; margin-top: auto; background: var(--ink); color: var(--paper); }
.sheet-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(18,20,23,.6); color: #fff;
  display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.sheet-close svg { width: 16px; height: 16px; }
.sheet-close:hover { transform: rotate(90deg); background: var(--blue); }
.lightbox .sheet-close { position: fixed; top: 18px; right: 18px; }
@media (max-width: 720px) {
  .sheet { align-items: end; }
  .sheet-panel { width: 100vw; grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 92vh; overflow-y: auto; }
  .sheet-ph { aspect-ratio: 1 / 1; }
  .sheet-body { padding: 20px 20px 28px; }
}
.lb-fig {
  position: relative; margin: 0;
  width: min(94vw, 1300px); max-height: 88vh; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  transform-origin: top left; will-change: transform;
  transition: transform .5s cubic-bezier(.2,.9,.25,1);
}
.lb-fig .ph, .lb-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- PR-Zero ---------- */
.app-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(40px, 8vw, 120px); align-items: end;
}
/* Titre PR-Zero : taille réduite pour que « structurés & évolutifs » tienne sur une ligne */
.app .section-title { font-size: clamp(34px, 4vw, 58px); }
.app .btn { margin-top: 36px; }
.app-list { border-top: 1px solid var(--line); }
.app-list li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 400;
}
.app-list li span { font-size: 12px; color: var(--blue); letter-spacing: .06em; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.testimonials { max-width: 1100px; }
.t-rail { position: relative; min-height: 260px; }
.t {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease-io), visibility 0s .8s;
}
.t.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease-io) .15s, visibility 0s; }
.t p {
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-indent: -.35em;
}
.t p::before { content: "« "; color: var(--blue); }
.t p::after { content: " »"; color: var(--blue); }
.t footer {
  margin-top: 32px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
}
.t-name { font-size: 15px; font-weight: 500; }
.t-meta { font-size: 13px; color: var(--fg-muted); }
.t-meta::before { content: "— "; }
.t-controls {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.t-dots { display: flex; gap: 8px; }
.t-dots button {
  width: 34px; height: 3px; border-radius: 2px;
  background: var(--line); position: relative; overflow: hidden;
  transition: background .3s;
}
.t-dots button::after {
  content: ""; position: absolute; inset: 0; background: var(--fg);
  transform: scaleX(0); transform-origin: left;
}
.t-dots button[aria-selected="true"]::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.t-link {
  font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center;
  color: var(--fg-muted); transition: color .3s;
}
.t-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.t-link:hover { color: var(--fg); }
.t-link:hover svg { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .t-dots button[aria-selected="true"]::after { animation: none; transform: scaleX(1); } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; gap: 22px;
  padding: 26px 0; text-align: left;
  font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.015em; line-height: 1.25;
  transition: color .3s;
}
.faq-q:hover { color: var(--blue); }
.faq-plus {
  position: relative; flex: 0 0 auto; width: 22px; height: 22px; margin-top: .25em;
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-plus::before { width: 10px; height: 1.5px; }
.faq-plus::after { width: 1.5px; height: 10px; transition: transform .4s var(--ease); }
.faq-q[aria-expanded="true"] .faq-plus { transform: rotate(180deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-q[aria-expanded="true"] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p + p { padding-top: 0; }
.faq-a p {
  padding: 0 0 22px 44px; max-width: 720px;
  font-size: 16px; color: var(--fg-muted); line-height: 1.6;
  opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a.is-open p { opacity: 1; transform: none; transition-delay: .15s; }

/* ---------- Footer ---------- */
.footer {
  padding: clamp(100px, 14vh, 180px) var(--gutter) 28px;
  max-width: var(--max); margin: 0 auto;
}
.footer-cta {
  display: grid; grid-template-columns: 1fr;
  justify-items: center; align-items: center;
  padding-bottom: clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}
.footer-note {
  width: 100%; text-align: center; font-style: italic; font-weight: 300;
  font-size: clamp(13px, 1.1vw, 16px); color: var(--fg-muted);
  padding: 36px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 48px 0;
}
.footer-grid h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; margin-bottom: 12px; }
.footer-grid p { font-size: 16px; line-height: 1.6; }
.footer-grid a { border-bottom: 1px solid var(--blue); transition: color .3s; }
.footer-grid a.social { border: 0; display: inline-block; opacity: .8; transition: opacity .3s, transform .4s var(--ease); }
.footer-grid a.social svg { width: 22px; height: 22px; }
.footer-grid a.social:hover { opacity: 1; transform: translateY(-2px); }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--fg-muted);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .split .li { transform: none; }
  .reveal, .reveal-line { opacity: 1; transform: none; }
  #particles { opacity: .6; }
}
