/* ==========================================================================
   VÉLIN — V1.1
   Concept : LE PLI. Une feuille de chrome noir, une lumière rasante, la règle des 18°.
   Typographie : Instrument Sans (titres), Manrope (texte), Geist Mono (détails), Bodoni Moda (logotype).
   ========================================================================== */

/* ---------- Polices (SIL Open Font License, auto-hébergées, sous-ensemble latin) ---------- */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Logotype : Bodoni Moda réduite aux capitales A–Z (8 Ko). */
@font-face {
  font-family: "Bodoni Logo";
  src: url("../fonts/bodoni-logo.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Polices de repli aux métriques ajustées : pas de saut de mise en page au chargement. */
@font-face {
  font-family: "Instrument fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 104.4%;
  ascent-override: 92.9%;
  descent-override: 23.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 103.8%;
  ascent-override: 102.7%;
  descent-override: 28.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Bodoni fallback";
  src: local("Times New Roman"), local("Liberation Serif"), local("Times");
  size-adjust: 109.2%;
  ascent-override: 103%;
  descent-override: 36.6%;
  line-gap-override: 0%;
}

/* ---------- Jetons ---------- */

:root {
  --carbone: #07080c;
  --anthracite: #14161e;
  --graphite: #2e3242;
  --acier: #8e93a8;
  --ivoire: #ece8df;
  --violet: #b6a6e0;

  --ivoire-84: rgb(236 232 223 / 0.84); /* texte secondaire */
  --ivoire-28: rgb(236 232 223 / 0.28);
  --ivoire-06: rgb(236 232 223 / 0.06);
  --ivoire-voile: #4e4d4f; /* ivoire voilé : départ de l'intro (≈ 2,4:1 sur le carbone) */

  --font-display: "Instrument Sans", "Instrument fallback", system-ui, sans-serif;
  --font-text: "Manrope", "Manrope fallback", system-ui, sans-serif;
  --font-logo: "Bodoni Logo", "Bodoni fallback", Georgia, serif;
  --text-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Langage de mouvement : trois courbes. */
  --ease-pli: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-rev: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-rep: cubic-bezier(0.3, 0, 0, 1);

  --gutter: clamp(20px, 4.4vw, 72px);
  --header-h: 84px;
  --tilt: 18deg;
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--carbone);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font: 400 var(--text-body)/1.65 var(--font-text);
  font-feature-settings: "kern", "liga", "calt";
  color: var(--ivoire);
  background: var(--carbone);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Grain photographique, statique et très discret. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  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='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: soft-light;
}

::selection { background: var(--violet); color: var(--carbone); }

a { color: inherit; }
img { display: block; max-width: 100%; }

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acier);
}

.sr-only,
.sr-space {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ivoire);
  color: var(--carbone);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-rep);
}
.skip:focus { transform: none; }

/* ---------- Logotype ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ivoire);
}
.logo__word {
  font-family: var(--font-logo);
  /* V1.1 : 24 px au lieu de 22 et graisse 560 au lieu de 500, pour tenir face aux titres pleins. */
  font-weight: 560;
  font-variation-settings: "opsz" 28;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}
.logo__accented { position: relative; display: inline-block; }
/* Le trait de lumière : l'accent devenu fine lame violette, inclinée à 18°. */
.logo__stroke {
  position: absolute;
  left: calc(50% - 0.09em);
  top: -0.2em;
  width: max(0.66em, 82%);
  height: max(1.5px, 0.07em);
  background: var(--violet);
  box-shadow: 0 0 10px rgb(182 166 224 / 0.55);
  transform: translateX(-50%) rotate(calc(var(--tilt) * -1));
  transition: box-shadow 0.4s var(--ease-rep), background-color 0.4s var(--ease-rep);
}
.logo:hover .logo__stroke,
.logo:focus-visible .logo__stroke {
  background: #d9cff5;
  box-shadow: 0 0 16px rgb(182 166 224 / 0.95), 0 0 2px #fff;
}

/* ---------- Boutons ---------- */

.btn {
  --tx: 0px;
  --ty: 0px;
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 2px;
  font: 600 0.9375rem/1 var(--font-text);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition:
    transform 0.5s var(--ease-rev),
    background-color 0.3s var(--ease-rep),
    border-color 0.3s var(--ease-rep),
    color 0.3s var(--ease-rep);
  -webkit-tap-highlight-color: transparent;
}
.btn.is-magnet { transition-duration: 0.12s, 0.3s, 0.3s, 0.3s; }
.btn__label,
.btn__icon {
  position: relative;
  z-index: 2;
  transform: translate3d(calc(var(--tx) * 0.35), calc(var(--ty) * 0.35), 0);
  transition: transform 0.5s var(--ease-rev);
}
.btn.is-magnet .btn__label,
.btn.is-magnet .btn__icon { transition-duration: 0.12s; }
.btn__icon {
  font-family: var(--font-mono);
  font-size: 1rem;
}

/* Éclat qui traverse le bouton à 18° de la verticale. */
.btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55) 50%, transparent);
  transform: translateX(-120%) skewX(calc(var(--tilt) * -1));
  pointer-events: none;
}
/* Lumière qui suit le pointeur à l'intérieur du bouton. */
.btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgb(182 166 224 / 0.32), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-rep);
  pointer-events: none;
}

.btn--primary {
  background: var(--ivoire);
  color: var(--carbone);
}
.btn--primary::after {
  background: radial-gradient(160px circle at var(--mx) var(--my), rgb(255 255 255 / 0.9), rgb(182 166 224 / 0.35) 45%, transparent 75%);
  mix-blend-mode: soft-light;
}

.btn--ghost {
  color: var(--ivoire);
  border: 1px solid var(--ivoire-28);
  background: rgb(7 8 12 / 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost::before { background: linear-gradient(90deg, transparent, rgb(182 166 224 / 0.35) 50%, transparent); }

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
}

@media (hover: hover) {
  .btn:hover::after { opacity: 1; }
  .btn:hover::before {
    transform: translateX(520%) skewX(calc(var(--tilt) * -1));
    transition: transform 0.9s var(--ease-pli);
  }
  .btn--primary:hover { background: #f6f3ec; }
  .btn--ghost:hover { border-color: var(--ivoire); background: var(--ivoire-06); }
  .btn:hover .btn__icon { translate: 4px 0; }
}
.btn__icon { transition: transform 0.5s var(--ease-rev), translate 0.45s var(--ease-rev); }
.btn:active { transform: translate3d(var(--tx), var(--ty), 0) scale(0.985); }

.link {
  color: var(--ivoire);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--violet);
}

/* ---------- En-tête ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease-rep), border-color 0.5s var(--ease-rep), height 0.5s var(--ease-rep);
}
.header.is-scrolled {
  background: rgb(7 8 12 / 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: rgb(46 50 66 / 0.7);
}

.nav { justify-self: center; }
.nav__list {
  display: flex;
  gap: clamp(20px, 2.6vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--acier);
  text-decoration: none;
  transition: color 0.3s var(--ease-rep);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: var(--ivoire);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease-pli);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--ivoire); }
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  color: var(--ivoire);
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-pli), top 0.5s var(--ease-pli);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 9px; width: 70%; left: 30%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 5px; transform: rotate(calc(90deg - var(--tilt))); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 5px; width: 100%; left: 0; transform: rotate(calc(var(--tilt) * -1 - 0deg)); }

@media (max-width: 899px) {
  .nav { display: none; }
  .header { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header__cta { display: none; }
  .js .menu-toggle { display: inline-flex; grid-column: 3; }

  /* Sans JavaScript : la navigation reste disponible, sous le logotype. */
  .no-js .header { position: relative; height: auto; grid-template-columns: 1fr; gap: 4px; padding-block: 10px; }
  .no-js .hero__inner { padding-top: 18px; }
  .no-js .hero__stage { top: -10px; }
  .no-js .nav { display: block; justify-self: start; }
  .no-js .nav__list { flex-wrap: wrap; gap: 4px 20px; }
}

/* ---------- Menu mobile : il se déplie comme une feuille, bord incliné à 18° ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 32px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 60% at 0% 0%, rgb(182 166 224 / 0.08), transparent 60%),
    var(--anthracite);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-unfold 0.7s var(--ease-pli) both; }
.menu.is-closing { animation: menu-fold 0.45s var(--ease-pli) both; }
@keyframes menu-unfold {
  from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
  55% { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 78%); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes menu-fold {
  from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  to { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
}
.menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(46 50 66 / 0.8);
}
.menu__list li { border-bottom: 1px solid rgb(46 50 66 / 0.8); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.9rem, 8.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.024em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivoire);
}
.menu__num { font: 400 0.75rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--violet); }
.menu.is-open .menu__list li {
  animation: menu-item 0.7s var(--ease-rev) both;
  animation-delay: calc(0.22s + var(--n) * 0.05s);
}
@keyframes menu-item {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
}
.menu__cta { margin-top: auto; width: 100%; }
.menu__foot { margin: 20px 0 0; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  --p: 0;
  position: relative;
  display: flex;
  min-height: max(100vh, 680px);
  min-height: max(100svh, 680px);
  overflow: clip;
  background:
    radial-gradient(70% 90% at 4% 40%, rgb(236 232 223 / 0.045), transparent 60%),
    radial-gradient(40% 50% at 74% 34%, rgb(182 166 224 / 0.07), transparent 70%),
    var(--carbone);
}
/* Ligne de sol : la limite du studio. */
.hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--graphite), rgb(46 50 66 / 0.2));
}

.hero__stage {
  position: absolute;
  z-index: 0;
  top: calc(var(--header-h) * 0.35);
  right: -12vw; /* V1.1 : le bloc de titre (≈ 52 % de la largeur) ne chevauche plus la feuille */
  width: min(66vw, 1240px);
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: calc(1 - clamp(0, (var(--p) - 0.7) * 3.4, 1));
}
/* Sur ordinateur, la feuille reste en scène pendant que la page défile au-dessus d'elle :
   elle se plie, s'efface, puis la section suivante la recouvre. Le défilement reste natif. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .hero__stage {
    position: fixed;
    translate: 0 calc(var(--sy, 0) * -0.1px);
    will-change: translate, opacity;
  }
}
.sheet { position: absolute; inset: 0; }
.sheet__still,
.sheet__still img,
.sheet canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sheet__still img { object-fit: contain; }
.sheet canvas {
  opacity: 0;
  transition: opacity 0.6s var(--ease-rep);
}
.sheet.is-gl canvas { opacity: 1; }
.sheet.is-gl .sheet__still { opacity: 0; transition: opacity 0.6s var(--ease-rep) 0.08s; }
.sheet.is-gl .sheet__sheen { display: none; }

/* Reflet animé en CSS pour l'image fixe (mobile, repli) : une bande de lumière
   masquée par la silhouette même de la feuille. */
.sheet__sheen {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../img/sheet-800.webp") center / contain no-repeat;
  mask: url("../img/sheet-800.webp") center / contain no-repeat;
  background: linear-gradient(108deg, transparent 38%, rgb(236 232 223 / 0.22) 47%, rgb(182 166 224 / 0.16) 52%, transparent 60%);
  background-size: 280% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .sheet:not(.is-gl) .sheet__sheen {
    opacity: 1;
    animation: sheen 7s var(--ease-pli) 1.6s infinite;
  }
}
@keyframes sheen {
  0% { background-position: 120% 0; }
  45%, 100% { background-position: -40% 0; }
}

/* Le trait de l'intro : la feuille vue de profil. */
.sheet__trait {
  position: absolute;
  left: 50%;
  top: 22%;
  height: 56%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--violet) 18%, #efeaff 50%, var(--violet) 82%, transparent);
  box-shadow: 0 0 14px rgb(182 166 224 / 0.8);
  transform: rotate(var(--tilt)) scaleY(0);
  opacity: 0;
}

/* Voile de lisibilité : le texte ne lutte jamais contre un reflet. */
.hero__light {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(7 8 12 / 0.9) 0%, rgb(7 8 12 / 0.62) 34%, rgb(7 8 12 / 0) 58%),
    linear-gradient(0deg, rgb(7 8 12 / 0.85) 0%, rgb(7 8 12 / 0) 26%);
}

.hero__inner {
  position: relative;
  z-index: 2; /* au-dessus du fondu de la section suivante : texte et boutons jamais voilés */
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: calc(var(--header-h) + clamp(20px, 5vh, 56px)) var(--gutter) clamp(22px, 3.6vh, 36px);
}

.hero__index {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--violet);
  transform: rotate(calc(var(--tilt) * -1));
}

.hero__title {
  margin: auto 0 0;
  padding-top: clamp(28px, 6vh, 72px);
  font-family: var(--font-display);
  font-weight: 680;
  /* Les trois lignes ont presque la même chasse (6,3 / 6,0 / 5,8 em) : un bloc aligné au fer gauche. */
  font-size: clamp(3.3rem, 8.2vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  color: var(--ivoire);
  font-kerning: normal;
  font-feature-settings: "kern", "case";
}
.hero__line {
  display: block;
  white-space: nowrap;
  transform: translate3d(0, calc(var(--p) * (-36px - var(--i) * 30px)), 0);
  will-change: transform;
}
.hero__line-inner { display: block; }

/* Ombre de lisibilité : une ombre carbone serrée autour des lettres. Invisible sur le fond noir,
   elle n'apparaît que lorsqu'un reflet vif du chrome passe derrière le titre. */
.seg {
  position: relative;
  display: inline-block;
  white-space: pre;
  text-shadow:
    0 0 0.012em rgb(7 8 12 / 0.85),
    0 0 0.05em rgb(7 8 12 / 0.55),
    0 0 0.14em rgb(7 8 12 / 0.35);
}
/* « Ordinaire » : lettres pleines en acier. L'opposition se lit par la valeur, jamais par des lettres creuses. */
.seg--mute { color: var(--acier); }
.seg__glint {
  position: absolute;
  inset: 0;
  display: none;
  color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  background: linear-gradient(108deg, transparent 0 40%, rgb(255 255 255 / 0.95) 48%, rgb(182 166 224 / 0.9) 52%, transparent 60% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 56px;
  margin-top: clamp(28px, 4.6vh, 52px);
  padding-top: clamp(22px, 3vh, 30px);
  border-top: 1px solid rgb(46 50 66 / 0.9);
  max-width: 1180px;
  transform: translate3d(0, calc(var(--p) * -44px), 0);
}
.hero__subtitle {
  margin: 0;
  max-width: 32rem;
  font-size: var(--text-lead);
  line-height: 1.55;
  color: rgb(236 232 223 / 0.86);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(28px, 5vh, 56px);
}
/* Séparateurs placés à gauche de chaque secteur et masqués en début de ligne :
   sur téléphone, la ligne suivante ne commence jamais par un point orphelin. */
.hero__sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 31px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.hero__sectors li { position: relative; }
.hero__sectors li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  width: 3px;
  height: 3px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--graphite);
}
.hero__figure {
  display: flex;
  gap: 22px;
  margin: 0;
  color: rgb(142 147 168 / 0.85);
}
.hero__angle { color: var(--ivoire-84); font-variant-numeric: tabular-nums; }
.hero__axis { color: var(--acier); }

/* ---------- Grand écran ---------- */


/* ---------- Tablette et téléphone ---------- */

@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero__stage {
    position: absolute;
    top: calc(var(--header-h) - 2px);
    left: 50%;
    right: auto;
    width: min(124vw, 760px);
    transform: translateX(-47%);
  }
  /* Le bas de la feuille s'enfonce dans l'ombre là où commence le titre. */
  .hero__stage {
    -webkit-mask-image: linear-gradient(180deg, #000 52%, rgb(0 0 0 / 0.22) 80%, transparent 97%);
    mask-image: linear-gradient(180deg, #000 52%, rgb(0 0 0 / 0.22) 80%, transparent 97%);
  }
  .hero__light {
    background:
      linear-gradient(180deg, rgb(7 8 12 / 0) 0%, rgb(7 8 12 / 0) 40%, rgb(7 8 12 / 0.6) 56%, var(--carbone) 72%);
  }
  .hero__inner {
    padding-top: calc(var(--header-h) + 18px);
  }
  .hero__title {
    margin-top: 0;
    /* La feuille occupe le haut ; le titre la chevauche légèrement. */
    padding-top: clamp(150px, 66vw, 470px);
    font-size: clamp(2.6rem, 14.2vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
  }
  .hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    margin-top: 24px;
    padding-top: 22px;
  }
  .hero__subtitle { max-width: 36rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: space-between; min-height: 54px; }
  .hero__foot { margin-top: 34px; }
  .hero__figure { display: none; }
}

@media (max-width: 899px) and (min-width: 600px) {
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { width: auto; flex: 1 1 0; }
}

/* Écrans courts (téléphone en paysage, petits portables). */
@media (max-height: 700px) and (min-width: 900px) {
  .hero__title { font-size: clamp(2.8rem, 6.4vw, 8rem); padding-top: 20px; }
  .hero__row { margin-top: 22px; }
  .hero__foot { margin-top: 22px; }
}

/* ==========================================================================
   Sections 02 à 08 — même langage que le hero : carbone, ivoire, trait, 18°.
   Chaque section a sa lumière (data-light) ; les révélations partent d'un état visible
   sans JavaScript et ne masquent que ce qui se trouve encore sous l'écran.
   ========================================================================== */

/* ---------- Charpente commune ---------- */

.sec {
  position: relative;
  z-index: 1; /* recouvre la feuille du hero, fixée sur grand écran */
  padding-block: clamp(96px, 14vh, 184px);
  background: var(--carbone);
  overflow-x: clip;
}
.sec__inner {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1800px) {
  .sec__inner { max-width: 1480px; }
}

/* Lumières de section. */
.sec[data-light="zenith"] { background: radial-gradient(70% 55% at 50% 0%, rgb(236 232 223 / 0.055), transparent 70%), var(--carbone); }
.sec[data-light="diffuse"] { background: linear-gradient(180deg, var(--carbone), #0a0b10 60%, var(--carbone)); }
.sec[data-light="lateral"] { background: radial-gradient(60% 50% at 0% 30%, rgb(70 39 45 / 0.42), transparent 70%), radial-gradient(50% 40% at 100% 70%, rgb(70 39 45 / 0.22), transparent 70%), var(--carbone); }
.sec[data-light="backlight"] { background: radial-gradient(55% 45% at 50% 6%, rgb(182 166 224 / 0.12), transparent 70%), radial-gradient(40% 30% at 50% 0%, rgb(236 232 223 / 0.06), transparent 70%), var(--carbone); }
.sec[data-light="front"] { background: radial-gradient(60% 60% at 72% 40%, rgb(236 232 223 / 0.05), transparent 70%), var(--carbone); }

/* Première section après le hero : son bord supérieur se fond dans la scène du hero. */
.sec--manifeste::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: clamp(120px, 22vh, 220px);
  background: linear-gradient(180deg, rgb(7 8 12 / 0), var(--carbone));
  pointer-events: none;
}

/* Filet entre sections, plié à 18° à son extrémité. */
.sec + .sec::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: min(42vw, 520px);
  height: 1px;
  background: linear-gradient(90deg, var(--graphite), rgb(46 50 66 / 0));
}

/* ---------- Typographie des sections ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(20px, 3vh, 32px);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--violet);
  transform: rotate(calc(var(--tilt) * -1));
}

.display {
  --wp: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 680;
  /* La graisse suit l'entrée du titre dans l'écran : 560 → 680. */
  font-variation-settings: "wght" calc(560 + var(--wp) * 120);
  font-size: clamp(2.5rem, 7.2vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.026em;
  text-transform: uppercase;
  color: var(--ivoire);
  font-feature-settings: "kern", "case";
}
.display--md { font-size: clamp(2.2rem, 5vw, 5.75rem); }
/* Titre placé dans une colonne latérale : il tient sur sa colonne sans couper les mots. */
.display--col { font-size: clamp(2rem, 3.5vw, 3.75rem); letter-spacing: -0.022em; }
.display--contact { font-size: clamp(2.3rem, 6.2vw, 7.25rem); }
.ln { display: block; padding-bottom: 0.04em; }
.ln__in { display: inline-block; }
.br-m { display: none; }
.ln--gap { margin-top: 0.22em; color: var(--violet-clair, #d9cff5); }

/* Mot d'accent des titres : plein, en acier (même logique que « ordinaire » dans le hero). */
.mute { color: var(--acier); }

.sub {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ivoire);
}

.sec__head { margin-bottom: clamp(48px, 8vh, 96px); }
.sec__head--center { text-align: center; }
.sec__head--center .kicker { justify-content: center; }
.sec__note { margin: 0; max-width: 34rem; color: var(--ivoire-84); }
.sec__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(40px, 6vh, 72px);
}

/* ---------- Révélations ---------- */
/* Armées par JavaScript uniquement pour les éléments encore sous l'écran ; sinon visibles. */

.rv-armed:not(.is-in)[data-reveal]:not([data-reveal="lines"]):not([data-reveal="fold"]):not([data-reveal="draw"]) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.rv-armed[data-reveal]:not([data-reveal="lines"]):not([data-reveal="fold"]):not([data-reveal="draw"]) {
  transition: opacity 0.8s var(--ease-rev), transform 0.9s var(--ease-rev);
  transition-delay: var(--rd, 0s);
}
/* Lignes de titre : un masque incliné à 18° balaie chaque ligne de gauche à droite. */
.rv-armed[data-reveal="lines"] .ln {
  clip-path: polygon(-0.4em -10%, -0.4em -10%, -0.75em 110%, -0.75em 110%);
  transition: clip-path 1s var(--ease-pli);
  transition-delay: calc(var(--li, 0) * 0.09s);
}
.rv-armed[data-reveal="lines"] .ln__in {
  transform: translate3d(-0.12em, 0, 0);
  transition: transform 1.1s var(--ease-rev);
  transition-delay: calc(var(--li, 0) * 0.09s);
}
.rv-armed.is-in[data-reveal="lines"] .ln { clip-path: polygon(-0.4em -10%, 120% -10%, 110% 110%, -0.75em 110%); }
.rv-armed.is-in[data-reveal="lines"] .ln__in { transform: none; }

/* ---------- 02 Manifeste ---------- */

.manifeste {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.manifeste__head { position: sticky; top: calc(var(--header-h) + 40px); }
.manifeste__text { display: grid; gap: clamp(22px, 3.4vh, 40px); padding-top: clamp(8px, 2vh, 24px); }
.manifeste__line {
  --ink: 1;
  margin: 0;
  max-width: 26ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ivoire);
  color: color-mix(in srgb, var(--ivoire) calc(var(--ink) * 100%), #3a3e50);
  text-wrap: pretty;
}
.manifeste__line:nth-child(3) { max-width: 32ch; }
.manifeste__sign {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(24px, 4vh, 48px) 0 0;
}
.fold-tick {
  width: 40px;
  height: 1px;
  background: var(--graphite);
  position: relative;
}
.fold-tick::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 14px;
  height: 1px;
  background: var(--violet);
  transform-origin: 0 50%;
  transform: rotate(calc(var(--tilt) * -1 - 54deg));
}

/* ---------- 03 Services ---------- */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--graphite);
}
.service {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr);
  gap: 8px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(24px, 3.6vh, 38px) 0;
  border-bottom: 1px solid var(--graphite);
}
.service::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(var(--gutter) * -0.5);
  background: linear-gradient(90deg, rgb(20 22 30 / 0.95), rgb(20 22 30 / 0.4));
  clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%);
  transition: clip-path 0.7s var(--ease-pli);
}
.service__num { color: var(--acier); transition: color 0.3s var(--ease-rep); }
.service__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.08rem + 1.1vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: transform 0.6s var(--ease-rev);
}
.service__text { margin: 0; max-width: 48ch; color: var(--ivoire-84); }
@media (hover: hover) and (pointer: fine) {
  .service:hover::before { clip-path: polygon(0 0, 112% 0, 100% 100%, 0 100%); }
  .service:hover .service__num { color: var(--violet); }
  .service:hover .service__title { transform: translate3d(8px, 0, 0); }
}

/* ---------- 04 Projet signature (V1.2) ---------- */
/* Courte, sombre, précise : Maison Sauge est une preuve, pas une étude de cas. Langage VÉLIN uniquement
   (carbone, graphite, ivoire, acier, un trait violet à 18°) ; la capture réelle est atténuée dans la vignette seule. */

.sig__flag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px 14px;
  border: 1px solid var(--graphite);
  color: var(--ivoire);
}
.sig__tick { width: 18px; height: 1px; background: var(--violet); transform: rotate(calc(var(--tilt) * -1)); }

.sig {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "kicker kicker" "title preview" "body preview" "cta preview";
  grid-template-rows: auto auto auto 1fr;
  gap: 0 clamp(40px, 6vw, 112px);
  align-items: start;
}
.sig__kicker { grid-area: kicker; }
.sig__title { grid-area: title; font-size: clamp(2.6rem, 5.6vw, 6.25rem); }
.sig__body { grid-area: body; margin-top: clamp(28px, 4vh, 44px); }
.sig__body p:last-child { margin: 0; max-width: 40ch; color: var(--ivoire-84); }
.sig__cta { grid-area: cta; margin-top: clamp(28px, 4vh, 40px); }
.sig__preview { grid-area: preview; margin: 0; align-self: center; }
/* Provenance : discrète mais lisible (acier sur carbone, 6,6:1). */
.sig__source { margin-top: 12px; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.01em; color: var(--acier); }
.sig__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--graphite);
  border-radius: 6px;
  background: #0d0e13;
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.02) inset;
}
.sig__bar { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 12px; border-bottom: 1px solid #1f2230; }
.sig__dots { display: flex; gap: 6px; }
.sig__dots i { width: 7px; height: 7px; border-radius: 50%; background: #2a2e3d; }
.sig__url { flex: 1; margin-right: 46px; font: 400 0.6875rem/1 var(--font-mono); letter-spacing: 0.04em; color: var(--acier); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig__frame picture,
.sig__frame img { display: block; width: 100%; height: auto; }
/* La vignette seule est atténuée (le site réel n'est pas modifié ; la légende le signale). */
.sig__frame img { filter: saturate(0.55) brightness(0.9) contrast(1.04); }
/* Trait à 18° dans l'angle du cadre : la signature VÉLIN posée sur la capture. */
.sig__frame::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 44px;
  height: 1px;
  background: var(--violet);
  box-shadow: 0 0 10px rgb(182 166 224 / 0.6);
  transform: rotate(calc(var(--tilt) * -1));
}
.sig__light {
  position: absolute;
  inset: 30px 0 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 38%, rgb(236 232 223 / 0.10) 47%, rgb(182 166 224 / 0.08) 52%, transparent 60%);
  background-size: 280% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
}

/* Apparition : le cadre s'ouvre le long d'une diagonale à 18°, avance légèrement en profondeur,
   puis une lumière unique le traverse. Rien n'est épinglé, aucune séquence au défilement. */
.rv-armed[data-reveal="fold"] .sig__frame {
  clip-path: polygon(0 0, 0 0, -24% 100%, -24% 100%);
  transform: perspective(1600px) rotateX(5deg) translate3d(0, 26px, 0) scale(0.975);
  transition: clip-path 1.2s var(--ease-pli), transform 1.3s var(--ease-rev);
}
.rv-armed.is-in[data-reveal="fold"] .sig__frame { clip-path: polygon(0 0, 124% 0, 100% 100%, -24% 100%); transform: none; }
.rv-armed[data-reveal="fold"] .sig__light { transition: background-position 1.6s var(--ease-pli) 0.7s; }
.rv-armed.is-in[data-reveal="fold"] .sig__light { background-position: -40% 0; }
.rv-armed[data-reveal="fold"] .sig__source { opacity: 0; transition: opacity 0.8s var(--ease-rep) 0.9s; }
.rv-armed.is-in[data-reveal="fold"] .sig__source { opacity: 1; }

@media (max-width: 899px) {
  .sig { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "body" "preview" "cta"; grid-template-rows: none; }
  .sig__preview { margin-top: 32px; }
  .sig__cta .btn { width: 100%; justify-content: space-between; min-height: 54px; }
}
@media (max-width: 767px) {
  /* Téléphone : un rythme resserré (titre → mention → texte → vignette → bouton), sans réduire textes ni vignette. */
  .sig__title { font-size: clamp(2.75rem, 14.5vw, 4.75rem); }
  .sig__body { margin-top: 20px; }
  .sig__flag { margin-bottom: 14px; padding: 8px 12px; font-size: 0.6875rem; letter-spacing: 0.08em; text-wrap: balance; }
  .sig__preview { margin-top: 26px; }
  .sig__source { margin-top: 8px; }
  .sig__cta { margin-top: 22px; }
  .sig__url { margin-right: 0; }
}

/* ---------- 05 Méthode ---------- */

.methode {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.methode__head { position: sticky; top: calc(var(--header-h) + 40px); }
.methode__intro { margin: 28px 0 0; max-width: 34ch; color: var(--ivoire-84); font-size: 1.0625rem; }
.steps { position: relative; padding-left: 80px; }
/* Sans JavaScript : un simple filet vertical. */
.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--graphite);
}
.steps.is-drawn::before { display: none; }
.steps__fold { position: absolute; left: 0; top: 0; width: 72px; height: 100%; overflow: visible; }
.steps__track { fill: none; stroke: var(--graphite); stroke-width: 1; }
.steps__ink { fill: none; stroke: var(--violet); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgb(182 166 224 / 0.6)); }
.steps__list { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(36px, 6vh, 64px); }
.step { position: relative; }
.step__node {
  position: absolute;
  left: -71px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--carbone);
  border: 1px solid var(--graphite);
  transform: rotate(45deg);
  transition: background-color 0.4s var(--ease-rep), border-color 0.4s var(--ease-rep), box-shadow 0.4s var(--ease-rep);
}
.step.is-on .step__node { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 14px rgb(182 166 224 / 0.7); }
.step__num { margin: 0 0 6px; color: var(--acier); }
.step.is-on .step__num { color: var(--violet); }
.step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.08rem + 0.8vw, 1.875rem);
  line-height: 1.12;
  letter-spacing: -0.016em;
}
.step__text { margin: 0; max-width: 48ch; color: var(--ivoire-84); }
.step__you {
  margin: 14px 0 0;
  padding: 12px 16px;
  max-width: 52ch;
  border-left: 1px solid var(--violet);
  background: rgb(20 22 30 / 0.7);
  font-size: 0.9375rem;
}
.step__you .mono { margin-right: 10px; color: var(--violet); }
.methode__notes {
  grid-column: 2;
  display: grid;
  gap: 10px;
  margin: clamp(40px, 6vh, 64px) 0 0;
  padding: 24px 0 0 80px;
  list-style: none;
  border-top: 1px solid var(--graphite);
  color: var(--ivoire-84);
}

/* ---------- 06 Notre modèle ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(180deg, rgb(20 22 30 / 0.95), rgb(20 22 30 / 0.55));
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 92px, 100% 100%, 0 100%);
}
.pillar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 97px;
  height: 1px;
  background: var(--violet);
  transform-origin: 100% 0;
  transform: translateX(-30px) rotate(72deg);
  opacity: 0.7;
}
.pillar__num { display: block; margin-bottom: 26px; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--violet); text-transform: none; }
.pillar__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.016em;
}
.pillar p { margin: 0; color: var(--ivoire-84); }
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(48px, 8vh, 88px);
}
.ledger__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--graphite);
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivoire);
}
.ledger__mark { width: 18px; height: 1px; background: var(--acier); }
.ledger__mark--in { background: var(--violet); transform: rotate(calc(var(--tilt) * -1)); }
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { padding: 14px 0; border-bottom: 1px solid rgb(46 50 66 / 0.55); color: var(--ivoire-84); }
.modele__fine { margin: clamp(32px, 5vh, 56px) auto 0; max-width: 72ch; color: var(--acier); font-size: 0.9375rem; text-align: center; text-wrap: pretty; }

/* ---------- 07 Questions ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__list { border-top: 1px solid var(--graphite); }
.qa { border-bottom: 1px solid var(--graphite); }
.qa__q {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ivoire);
  transition: color 0.3s var(--ease-rep);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::marker { content: ""; }
.qa__q:focus-visible { outline-offset: 6px; }
.qa__icon { position: relative; width: 20px; height: 20px; justify-self: end; }
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-pli), background-color 0.3s var(--ease-rep);
}
.qa__icon::after { transform: rotate(90deg); }
details[open] > summary .qa__icon::after { transform: rotate(calc(180deg - var(--tilt))); background: var(--violet); }
details[open] > summary .qa__icon::before { transform: rotate(calc(var(--tilt) * -1)); background: var(--violet); }
@media (hover: hover) {
  .qa__q:hover { color: #fff; }
}
.qa__a { overflow: hidden; }
.qa__a p { margin: 0 0 26px; max-width: 60ch; color: var(--ivoire-84); }

/* ---------- 08 Contact ---------- */

.sec--contact { padding-block: clamp(112px, 18vh, 220px) clamp(96px, 14vh, 160px); overflow: clip; }
.contact__side { position: relative; display: grid; }
/* La feuille pliée en V se pose au-dessus du bloc de contact : sa pointe désigne l'appel à l'action. */
.contact__stage {
  position: relative;
  z-index: 0;
  width: 140%;
  margin: -16% -20% -14%;
  aspect-ratio: 4 / 3;
  pointer-events: none;
}
.contact { position: relative; z-index: 1; }
.display--contact .ln--gap { color: var(--ivoire); }
.display--contact .ln:not(.ln--gap) { text-shadow: 0 0 0.018em rgb(7 8 12 / 0.8), 0 0 0.06em rgb(7 8 12 / 0.55); }
.contact__body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(48px, 8vh, 96px);
  align-items: start;
}
.contact__lead { margin: 0 0 32px; max-width: 36ch; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); line-height: 1.5; color: var(--ivoire); }
.contact__hint-title { margin: 0 0 12px; }
.contact__hints { margin: 0; padding: 0; list-style: none; color: var(--ivoire-84); }
.contact__hints li { position: relative; max-width: 56ch; padding: 8px 0 8px 28px; }
.contact__hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 14px;
  height: 1px;
  background: var(--violet);
  transform: rotate(calc(var(--tilt) * -1));
}
.contact__panel {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(180deg, rgb(20 22 30 / 0.92), rgb(20 22 30 / 0.7));
  border: 1px solid var(--graphite);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.contact__prepub { color: var(--ivoire-84); }
.contact__prepub p { margin: 0; }
.contact__prepub-label { margin-bottom: 12px !important; color: var(--violet) !important; }
.contact__coords { display: grid; gap: 28px; }
.contact__row { display: grid; gap: 10px; }
.contact__value {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 2rem);
  overflow-wrap: anywhere;
  color: var(--ivoire);
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
/* Instagram : lien secondaire, plus discret que l'e-mail et le téléphone. */
.contact__social { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; justify-self: start; font-size: 1.0625rem; font-weight: 500; }
.contact__ext { font-size: 0.85em; color: var(--acier); transition: transform 0.3s var(--ease-rep), color 0.3s var(--ease-rep); }
.contact__social:hover .contact__ext, .footer__contact a:hover .contact__ext { color: var(--violet); transform: translate(2px, -2px); }
.contact__status { min-height: 1.5em; margin: 14px 0 0; color: var(--violet); font-size: 0.9375rem; }

/* ---------- Pied de page ---------- */

.footer {
  position: relative;
  z-index: 1;
  background: var(--anthracite);
  border-top: 1px solid var(--graphite);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: 40px clamp(24px, 4vw, 72px);
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(56px, 9vh, 96px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.footer__tag { margin: 14px 0 0; }
.footer__contact { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.45em; min-height: 36px; color: var(--ivoire-84); text-decoration: none; overflow-wrap: anywhere; transition: color 0.3s var(--ease-rep); }
.footer__contact a:hover { color: var(--ivoire); }
.footer__nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer__nav a,
.footer__base a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ivoire-84);
  text-decoration: none;
  transition: color 0.3s var(--ease-rep);
}
.footer__legal ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ivoire-84); text-decoration: none; transition: color 0.3s var(--ease-rep); }
.footer__legal a[aria-current="page"] { color: var(--ivoire); text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 0.3em; }
.footer__legal-title { margin: 0; min-height: 36px; display: flex; align-items: center; color: var(--ivoire); }
.footer__nav a:hover,
.footer__legal a:hover,
.footer__base a:hover { color: var(--ivoire); }
.legal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  color: var(--ivoire);
}
.legal__summary::-webkit-details-marker { display: none; }
.legal__summary::marker { content: ""; }
.legal__list { display: grid; gap: 10px; margin: 16px 0 0; }
.legal__list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; }
.legal__list dt { color: var(--acier); font-size: 0.875rem; }
.legal__list dd { margin: 0; font-size: 0.875rem; color: var(--ivoire-84); overflow-wrap: anywhere; }
.legal__todo { color: #e8c37a !important; }
.legal__note { margin: 16px 0 0; color: var(--acier); font-size: 0.8125rem; }
.footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--graphite);
}
.footer__base p { margin: 0; }
.footer__top { gap: 0.6em; }
.footer__base p a { min-height: 0; display: inline; text-decoration: underline; text-decoration-color: var(--graphite); text-underline-offset: 0.2em; }
.logo--footer .logo__word { font-size: 1.875rem; }

/* ---------- Navigation : section active et rail de progression ---------- */

.nav__link.is-active { color: var(--ivoire); }
.nav__link.is-active::after { transform: scaleX(1); background: var(--violet); }
.rail {
  position: fixed;
  z-index: 30;
  right: max(18px, env(safe-area-inset-right));
  top: 50%;
  display: none;
  gap: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-rep);
}
.rail i {
  display: block;
  width: 10px;
  height: 1px;
  background: var(--graphite);
  transition: width 0.5s var(--ease-pli), background-color 0.4s var(--ease-rep);
}
.rail i.is-on { width: 22px; background: var(--violet); }
@media (min-width: 1200px) {
  .js .rail { display: grid; justify-items: end; }
}

/* ---------- Tablette ---------- */

@media (max-width: 1023px) {
  .manifeste,
  .methode,
  .faq { grid-template-columns: minmax(0, 1fr); }
  .manifeste__head,
  .methode__head,
  .faq__head { position: static; }
  .manifeste__sign,
  .methode__notes { grid-column: 1; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .contact__body { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .legal { grid-column: 1 / -1; }
}

/* ---------- Téléphone ---------- */

@media (max-width: 767px) {
  .sec { padding-block: clamp(80px, 12vh, 112px); }
  .display { font-size: clamp(2.25rem, 11vw, 4.25rem); line-height: 0.94; letter-spacing: -0.024em; }
  .display--md { font-size: clamp(2rem, 9.2vw, 3.4rem); }
  .display--contact { font-size: clamp(2.05rem, 9.8vw, 3.75rem); }
  .display--col { font-size: clamp(2rem, 9.4vw, 3.4rem); }
  .br-m { display: inline; }
  .manifeste__line { max-width: none !important; font-size: clamp(1.3rem, 1rem + 1.6vw, 1.7rem); }
  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service__text { grid-column: 2; }
  .sec__foot .btn { width: 100%; justify-content: space-between; }
  .steps { padding-left: 56px; }
  .steps__fold { width: 52px; }
  .step__node { left: -55px; }
  .methode__notes { padding-left: 0; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .modele__fine { text-align: left; }
  .sec__head--center { text-align: left; }
  .sec__head--center .kicker { justify-content: flex-start; }
  .contact__stage { width: 124%; margin: -6% -12% -12%; }
  .contact__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mouvement réduit : tout en place, rien ne bouge ---------- */

@media (prefers-reduced-motion: reduce) {
  .manifeste__line { --ink: 1 !important; }
  .display { --wp: 1 !important; }
}

/* ==========================================================================
   Introduction scénarisée (≈ 1,4 s) — seulement si le mouvement est autorisé.
   Elle est entièrement en CSS : si le JavaScript échoue, elle se termine quand même.
   Le titre est peint dès la première image (il sort de l'ombre, il n'est jamais masqué).
   ========================================================================== */

.intro .sheet__trait { animation: trait 1.35s var(--ease-pli) 0.05s both; }
@keyframes trait {
  0% { opacity: 1; transform: rotate(var(--tilt)) scaleY(0); }
  28% { opacity: 1; transform: rotate(var(--tilt)) scaleY(1); }
  55% { opacity: 0.9; transform: rotate(var(--tilt)) scaleY(1); }
  100% { opacity: 0; transform: rotate(var(--tilt)) scaleY(1.04); }
}

/* Repli de l'intro de la feuille (image fixe) : la même rotation autour de l'axe à 18°. */
.intro .sheet:not(.is-gl) .sheet__still { animation: still-open 1.05s var(--ease-pli) 0.3s both; }
@keyframes still-open {
  from { transform: perspective(1400px) rotate(var(--tilt)) rotateY(88deg) rotate(calc(var(--tilt) * -1)); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

/* Point de départ : un ivoire voilé (≈ 2,4:1), pas du graphite. Les formes se devinent dès la
   première image, puis sortent de l'ombre ; elles sont lisibles en moins de 0,3 s. */
.intro .logo__word { animation: from-shadow 0.7s var(--ease-rev) 0s both; }
.intro .logo__stroke { animation: stroke-draw 0.5s var(--ease-pli) 0s both; }
@keyframes stroke-draw {
  from { transform: translateX(-50%) rotate(calc(var(--tilt) * -1)) scaleX(0); }
}

.intro .hero__line-inner { animation: line-in 1s var(--ease-rev) both; animation-delay: calc(0.05s + var(--i) * 0.06s); }
@keyframes line-in {
  from { color: var(--ivoire-voile); transform: translate3d(0, 0.09em, 0); }
}
.intro .seg--mute { animation: mute-in 1s var(--ease-rev) 0.08s both; }
@keyframes mute-in { from { color: var(--ivoire-voile); } }
/* L'éclat passe ensuite sur un titre déjà lisible : il le révèle sans le cacher. */
.intro .seg__glint { display: block; animation: glint 1.15s var(--ease-pli) both; animation-delay: calc(0.3s + var(--i) * 0.09s); }
.intro .hero__line--1 .seg + .seg .seg__glint { animation-delay: 0.36s; }
@keyframes glint {
  from { background-position: 100% 0; opacity: 1; }
  80% { opacity: 1; }
  to { background-position: 0% 0; opacity: 0; }
}

.intro .hero__index { animation: rise 0.8s var(--ease-rev) 0.15s both; }
.intro .nav__list li { animation: drop 0.7s var(--ease-rev) both; animation-delay: calc(0.28s + var(--n) * 0.04s); }
.intro .header__cta,
.intro .menu-toggle { animation: drop 0.7s var(--ease-rev) 0.44s both; }
.intro .hero__row { animation: rule-in 1s var(--ease-pli) 0.38s both; }
.intro .hero__subtitle { animation: rise 0.9s var(--ease-rev) 0.48s both; }
.intro .hero__actions .btn:nth-child(1) { animation: rise 0.9s var(--ease-rev) 0.56s both; }
.intro .hero__actions .btn:nth-child(2) { animation: rise 0.9s var(--ease-rev) 0.62s both; }
.intro .hero__foot { animation: fade 0.9s var(--ease-rep) 0.8s both; }

@keyframes from-shadow { from { color: var(--ivoire-voile); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -8px, 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rule-in { from { border-top-color: transparent; } }

/* Un bouton atteint au clavier pendant l'intro est immédiatement visible. */
.btn:focus-visible,
.nav__link:focus-visible { animation: none !important; opacity: 1 !important; }
.hero__actions:focus-within .btn { animation: none; }

/* ---------- Mouvement réduit : tout est présent, rien n'est imposé ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .hero__line,
  .hero__row { transform: none !important; }
  .hero__stage { translate: none !important; opacity: 1 !important; }
}

/* ---------- Impression ---------- */

@media print {
  .hero__stage,
  .header,
  body::after { display: none; }
  .hero { min-height: auto; background: none; }
}


/* ==========================================================================
   Pages d'information (mentions légales, confidentialité) — V1.2.4
   Même charpente que les sections : colonne de lecture, index mono, filets graphite.
   ========================================================================== */

/* Le défilement au clavier garde une marge sous l'élément ciblé : son contour de focus reste entier. */
html.page { scroll-padding-bottom: 40px; }
.header--page { grid-template-columns: 1fr auto; }
.header__back .btn__icon { margin-right: 2px; }
.doc { padding-top: calc(var(--header-h) + clamp(56px, 10vh, 120px)); min-height: 70vh; }
.doc__inner { max-width: 880px; }
.doc__title { font-size: clamp(1.75rem, 0.6rem + 5.4vw, 4.75rem); overflow-wrap: break-word; }
.doc__meta { margin: clamp(18px, 3vh, 28px) 0 0; }
.doc__lead { margin: clamp(28px, 5vh, 48px) 0 0; max-width: 62ch; font-size: var(--text-lead); line-height: 1.6; color: var(--ivoire-84); }
.doc__notice {
  margin: clamp(28px, 5vh, 44px) 0 0;
  padding: 20px 24px;
  border: 1px solid var(--graphite);
  border-left: 2px solid #e8c37a;
  background: linear-gradient(180deg, rgb(20 22 30 / 0.92), rgb(20 22 30 / 0.7));
  color: var(--ivoire-84);
}
.doc__notice p { margin: 0; }
.doc__notice-label { margin-bottom: 8px !important; color: #e8c37a !important; }
.doc__summary { margin: clamp(32px, 5vh, 48px) 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.doc__summary li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--ivoire-84); }
.doc__tick { width: 16px; height: 1px; margin-top: 0.85em; background: var(--violet); transform: rotate(calc(var(--tilt) * -1)); }
.doc__part { margin-top: clamp(48px, 8vh, 80px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--graphite); }
.doc__h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ivoire);
}
.doc__num { flex: none; font-size: 0.75rem; }
.doc__h3 { margin: 32px 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--ivoire); }
.doc__part p { margin: 0 0 14px; max-width: 68ch; color: var(--ivoire-84); }
.doc__list { display: grid; gap: 0; margin: 0; }
.doc__list div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 8px 24px; padding: 12px 0; border-bottom: 1px solid rgb(46 50 66 / 0.55); }
.doc__list div:last-child { border-bottom: 0; }
.doc__list dt { color: var(--acier); font-size: 0.9375rem; }
.doc__list dd { margin: 0; color: var(--ivoire-84); overflow-wrap: anywhere; }
.doc .link { overflow-wrap: anywhere; }
.doc__back { margin: clamp(56px, 9vh, 96px) 0 0; }
@media (max-width: 639px) {
  .doc__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc__list dt { font-size: 0.8125rem; }
  .header__back .btn__label { font-size: 0.875rem; }
  .doc__back .btn { width: 100%; justify-content: space-between; min-height: 54px; }
}
