/* =====================================================================
   RBTI — feuille de style unique
   Sommaire
   01 · Jetons & réinitialisation      08 · Chiffres
   02 · Typographie & primitives       09 · Services (cartes empilées)
   03 · Mouvement (apparitions)        10 · Méthode (rail épinglé)
   04 · Chrome (préchargeur, curseur)  11 · Avantages (champ 3D)
   05 · En-tête & navigation           12 · Locataires (section claire)
   06 · Hero                           13 · Passage à l'action
   07 · Bandeau & à propos             14 · Pied de page & réglages
   ===================================================================== */

@import url("./fonts.css");

/* ============================ 01 · Jetons ========================== */
:root {
  /* Encres */
  --ink:      #05060a;
  --ink-2:    #090b14;
  --ink-3:    #0e1120;
  --ink-4:    #161a2b;
  --paper:    #f4f1ea;
  --paper-2:  #e7e2d6;

  /* Marque */
  --flame:    #ff6100;
  --ember:    #ff914d;
  --halo:     #6c5cff;
  --mint:     #34d99b;

  /* Texte */
  --text:     #edeff5;
  --muted:    #98a0b3;
  --line:     rgba(255, 255, 255, .10);
  --line-2:   rgba(255, 255, 255, .06);

  /* Typographie */
  --ff-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --ff-serif:   "Instrument Serif", Georgia, "Times New Roman", serif;

  --fs-mega:  clamp(2.6rem, 1.15rem + 5.2vw, 6.4rem);
  --fs-h2:    clamp(2rem, 1.15rem + 3.5vw, 4.3rem);
  --fs-h3:    clamp(1.18rem, 1.02rem + 0.7vw, 1.62rem);
  --fs-lead:  clamp(1.02rem, 0.95rem + 0.42vw, 1.28rem);
  --fs-body:  clamp(0.96rem, 0.93rem + 0.16vw, 1.06rem);
  --fs-sm:    0.875rem;
  --fs-xs:    0.75rem;

  /* Rythme */
  --shell:    1280px;
  --gutter:   clamp(20px, 4.4vw, 56px);
  --section:  clamp(88px, 11vw, 176px);
  --header-h: 76px;

  /* Rayons & ombres */
  --r-sm: 10px;  --r-md: 18px;  --r-lg: 28px;  --r-xl: 40px;  --r-pill: 999px;
  --sh-1: 0 2px 8px rgba(0, 0, 0, .28);
  --sh-2: 0 18px 50px rgba(0, 0, 0, .45);
  --sh-3: 0 40px 120px rgba(0, 0, 0, .6);
  --sh-flame: 0 14px 40px rgba(255, 97, 0, .34);

  /* Mouvement */
  --e-out:    cubic-bezier(.16, 1, .3, 1);
  --e-spring: cubic-bezier(.34, 1.36, .64, 1);
  --t-1: .2s;  --t-2: .42s;  --t-3: .9s;

  color-scheme: dark;
}

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html.is-loading { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }
::selection { background: var(--flame); color: #fff; }

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

/* Grain global : donne de la matière aux aplats sombres */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9;
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ===================== 02 · Typographie & primitives ================ */
.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}
.shell-wide { width: min(100% - var(--gutter) * 2, 1560px); margin-inline: auto; }

.section { position: relative; padding-block: var(--section); }
.section + .section { padding-top: 0; }

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

.skip-link {
  position: fixed;
  top: 10px; left: 50%;
  transform: translate(-50%, -160%);
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--flame);
  color: #fff; font-weight: 600;
  transition: transform var(--t-2) var(--e-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h-mega { font-size: var(--fs-mega); font-weight: 500; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.16; }

.serif {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.01em;
  color: var(--ember);
}

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.62; max-width: 62ch; }
.muted { color: var(--muted); }

/* Sur-titre numéroté */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: attr(data-num);
  color: var(--flame);
  font-variant-numeric: tabular-nums;
}
.eyebrow::after {
  content: "";
  width: clamp(28px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, var(--flame), transparent);
}

.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 82px); }
.section-head .h2 { max-width: 20ch; }
.section-head--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 70px);
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* Boutons */
.btn {
  --mag-x: 0px; --mag-y: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(var(--mag-x), var(--mag-y), 0);
  transition: transform var(--t-2) var(--e-spring), box-shadow var(--t-2) var(--e-out),
              color var(--t-1) linear, border-color var(--t-2) var(--e-out);
}
.btn .ico { width: 18px; height: 18px; transition: transform var(--t-2) var(--e-spring); }
.btn:hover .ico { transform: translateX(4px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform var(--t-2) var(--e-out), opacity var(--t-2) var(--e-out);
}

.btn-primary { color: #fff; box-shadow: var(--sh-flame); }
.btn-primary::before { background: linear-gradient(120deg, var(--flame), #ff8a2b 60%, var(--ember)); }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--halo), #8f7bff);
  opacity: 0;
  transition: opacity var(--t-2) var(--e-out);
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(108, 92, 255, .38); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }

.btn-lg { padding: 18px 32px; font-size: 1rem; }

/* Lien fléché */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}
.link .ico { width: 16px; height: 16px; color: var(--flame); transition: transform var(--t-2) var(--e-spring); }
.link::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-2) var(--e-out);
}
.link:hover .ico { transform: translateX(5px); }

/* Pastille clignotante */
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 217, 155, .55);
  animation: pulse 2.4s var(--e-out) infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 217, 155, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 217, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 217, 155, 0); }
}

/* Surface vitrée */
.glass {
  background: linear-gradient(170deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .018));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}

/* ======================== 03 · Mouvement =========================== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity var(--t-3) var(--e-out), transform var(--t-3) var(--e-out),
              filter var(--t-3) var(--e-out), clip-path var(--t-3) var(--e-out);
  filter: blur(6px);
  will-change: transform, opacity;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal="scale"] { transform: translate3d(0, 40px, 0) scale(.94); }
[data-reveal="left"]  { transform: translate3d(-44px, 0, 0); }
[data-reveal="right"] { transform: translate3d(44px, 0, 0); }
/* Le volet se lève sur l'image, pas sur l'élément observé : un clip-path
   sur la cible d'un IntersectionObserver annule son rectangle d'intersection. */
[data-reveal="clip"] { filter: none; transform: translate3d(0, 22px, 0); }
[data-reveal="clip"] img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1.1s var(--e-out), transform 1.4s var(--e-out);
}
[data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); transform: none; }
[data-reveal="flip"] {
  transform: perspective(1200px) rotateX(24deg) translate3d(0, 46px, 0);
  transform-origin: top center;
}
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }

/* Texte découpé */
.split { display: inline; }
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.split-unit {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(4deg);
  opacity: 0;
  transition: transform .95s var(--e-out), opacity .6s linear;
  transition-delay: calc(var(--i) * 32ms);
}
[data-reveal].is-in .split-unit,
.is-in > .split .split-unit { transform: none; opacity: 1; }
.no-js .split-unit { transform: none; opacity: 1; }

/* Inclinaison 3D */
[data-tilt] {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: box-shadow var(--t-2) var(--e-out);
}
[data-tilt] > * { transform-style: preserve-3d; }

/* Halo au curseur */
.spot { position: relative; overflow: hidden; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 97, 0, .22), transparent 68%);
  transition: opacity var(--t-2) var(--e-out);
}
.spot.is-tilting::after, .spot:hover::after { opacity: 1; }

/* ========================== 04 · Chrome ============================ */
/* Préchargeur */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: clip-path 1s var(--e-out), opacity .4s linear .7s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
.no-js .preloader { display: none; }
.preloader-inner { display: grid; justify-items: center; gap: 26px; text-align: center; }
.preloader-mark { width: clamp(64px, 12vw, 104px); animation: markIn 1.2s var(--e-spring) both; }
@keyframes markIn {
  from { opacity: 0; transform: translateY(18px) scale(.86) rotate(-6deg); }
  to   { opacity: 1; transform: none; }
}
.preloader-word {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--muted);
}
.preloader-count {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--flame), var(--ember) 55%, var(--halo));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.preloader-bar {
  width: min(240px, 52vw);
  height: 2px;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.preloader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--flame), var(--halo));
  transform-origin: left;
  animation: barGo 1.25s var(--e-out) forwards;
}
@keyframes barGo { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Curseur */
.cursor { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-in { opacity: 1; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  margin: -4px 0 0 -4px;
}
.cursor-dot { width: 8px; height: 8px; background: var(--flame); }
.cursor-ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, .5);
  transition: width .3s var(--e-spring), height .3s var(--e-spring), margin .3s var(--e-spring),
              border-color .3s, background-color .3s;
}
.cursor.is-hot .cursor-ring {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-color: var(--flame);
  background: rgba(255, 97, 0, .12);
}
.cursor.is-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor-ring { display: grid; place-items: center; }
.cursor-label {
  font-family: var(--ff-display);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity var(--t-1) linear, transform var(--t-2) var(--e-spring);
  white-space: nowrap;
}
.cursor.has-label .cursor-ring {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  background: rgba(255, 97, 0, .9);
  border-color: transparent;
}
.cursor.has-label .cursor-label { opacity: 1; transform: none; }
.cursor.has-label .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Barre de progression */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--ember) 40%, var(--halo));
  transform: scaleX(0);
  transform-origin: left;
}

/* Indicateur de chapitre */
.chapter {
  position: fixed;
  right: calc(var(--gutter) + 62px);
  bottom: 26px;
  opacity: 0;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(6, 8, 14, .6);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.chapter b { color: var(--flame); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapter { transition: opacity var(--t-2) var(--e-out), transform var(--t-2) var(--e-out); }
.is-ready .chapter { opacity: 1; }
.is-ready .chapter.is-gone { opacity: 0; transform: translateY(12px); }
.chapter span { color: var(--text); }
@media (max-width: 1100px) { .chapter { display: none; } }

/* Retour en haut */
.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: 26px;
  z-index: 110;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: rgba(6, 8, 14, .66);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px) scale(.85);
  transition: opacity var(--t-2) var(--e-out), transform var(--t-2) var(--e-spring),
              background-color var(--t-2), border-color var(--t-2);
}
.to-top.is-in { opacity: 1; transform: none; }
.to-top:hover { background: var(--flame); border-color: var(--flame); }
.to-top .ico { width: 18px; height: 18px; }

/* ==================== 05 · En-tête & navigation ==================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  padding-top: 16px;
  transition: transform var(--t-2) var(--e-out), padding var(--t-2) var(--e-out);
}
.header.is-hidden { transform: translateY(-130%); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background-color var(--t-2) var(--e-out), border-color var(--t-2) var(--e-out),
              box-shadow var(--t-2) var(--e-out), backdrop-filter var(--t-2);
}
.header.is-stuck .header-inner {
  background: rgba(7, 9, 16, .72);
  border-color: var(--line);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text b {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-text span {
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: block;
  padding: 10px 13px;
  white-space: nowrap;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t-1) linear;
}
.nav-link::before {
  content: "";
  position: absolute;
  inset: auto 14px 6px;
  height: 1px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-2) var(--e-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::before, .nav-link.is-active::before { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta { padding: 12px 22px; }

.burger {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .04);
}
.burger i {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-2) var(--e-spring), opacity var(--t-1);
}
.nav-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Tiroir mobile */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 88vw);
  z-index: 140;
  padding: calc(var(--header-h) + 34px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink));
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform .7s var(--e-out);
  overflow-y: auto;
  visibility: hidden;
}
.nav-open .drawer { transform: none; visibility: visible; }
.drawer-list { display: grid; gap: 4px; }
.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .5s var(--e-out), transform .6s var(--e-out), color var(--t-1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.nav-open .drawer-link { opacity: 1; transform: none; }
.drawer-link em {
  font-family: var(--ff-body);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--flame);
}
.drawer-link:hover { color: var(--ember); }
.drawer-contact { display: grid; gap: 12px; margin-top: auto; color: var(--muted); font-size: .92rem; }
.drawer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.drawer-contact a:hover { color: var(--text); }
.drawer-close {
  position: absolute;
  top: 24px; right: var(--gutter);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.drawer-close .ico { width: 18px; height: 18px; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 135;
  background: rgba(3, 4, 8, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-2) var(--e-out), visibility var(--t-2);
}
.nav-open .overlay { opacity: 1; visibility: visible; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta { display: none; }
}

/* =========================== 06 · Hero ============================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: clamp(22px, 4vh, 48px);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  background: radial-gradient(120% 80% at 50% 12%, #151a33 0%, #070911 55%, var(--ink) 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(75% 55% at 28% 52%, rgba(5, 6, 10, .62), transparent 72%),
    linear-gradient(180deg, rgba(5, 6, 10, .84) 0%, rgba(5, 6, 10, .16) 24%, rgba(5, 6, 10, .62) 70%, var(--ink) 100%);
}
.hero-grid { display: grid; gap: clamp(22px, 3.2vw, 40px); }
.hero-title { max-width: 15ch; text-shadow: 0 8px 40px rgba(5, 6, 10, .55); }
.hero .lead { color: #c9cfdd; text-shadow: 0 2px 20px rgba(5, 6, 10, .8); }
.hero-title .serif { display: inline-block; }
.hero-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: rgba(8, 10, 18, .58);
  backdrop-filter: blur(10px);
  font-family: var(--ff-display);
  font-size: .92rem;
  font-weight: 500;
  transition: background-color var(--t-2) var(--e-out);
}
.hero-fact:hover { background: rgba(255, 97, 0, .1); }
.hero-fact .ico { width: 20px; height: 20px; color: var(--flame); flex: none; }

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(18px, 3vh, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hero-status { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-1);
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue i {
  position: relative;
  display: block;
  width: 54px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--flame);
  transform-origin: left;
  animation: cue 2.4s var(--e-out) infinite;
}
@keyframes cue {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@media (max-width: 860px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
/* Ordinateurs portables 13-14 pouces : on resserre le hero pour qu'il tienne
   dans la hauteur visible, invite de défilement comprise. */
@media (min-width: 861px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero-title { font-size: clamp(2.4rem, 1rem + 4.2vw, 4.4rem); }
  .hero .lead { font-size: 1rem; }
  .hero-grid { gap: 18px; }
  .hero-fact { padding: 12px 16px; font-size: .86rem; }
  .hero-actions { margin-top: 16px; }
  .hero-foot { margin-top: 14px; padding-top: 14px; }
}

/* ====================== 07 · Bandeau & à propos ==================== */
.marquee {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(255, 97, 0, .07), rgba(108, 92, 255, .07));
  overflow: hidden;
  --marquee-speed: 38s;
}
.marquee-track { display: flex; width: max-content; animation: slide var(--marquee-speed) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  padding-right: clamp(26px, 4vw, 56px);
  font-family: var(--ff-display);
  font-size: clamp(.92rem, .8rem + .5vw, 1.24rem);
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee-group span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-group b { color: var(--flame); font-size: 1.1em; line-height: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.about-media { position: relative; }
.about-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  transform: translate3d(0, var(--py, 0px), 0);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, .55));
}
.about-float {
  position: absolute;
  right: -6%;
  bottom: 8%;
  width: 46%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  transform: translate3d(0, var(--py, 0px), 0);
  aspect-ratio: 4 / 3;
}
.about-float img { width: 100%; height: 100%; object-fit: cover; }
.about-mark {
  position: absolute;
  right: -9%;
  top: -7%;
  width: 40%;
  aspect-ratio: 1;
  z-index: 3;
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .6));
}
.about-badge {
  position: absolute;
  left: -5%;
  bottom: 9%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: rgba(9, 11, 20, .82);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-2);
}
.about-badge .ico { width: 22px; height: 22px; color: var(--flame); }
.about-badge b { font-family: var(--ff-display); font-size: .95rem; display: block; }
.about-badge span { font-size: var(--fs-xs); color: var(--muted); }

.about-text { margin-top: 26px; }
.about-list { display: grid; gap: 2px; margin-top: 34px; }
.about-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, rgba(255, 255, 255, .035), transparent);
  border-left: 1px solid var(--line-2);
  transition: transform var(--t-2) var(--e-out), border-color var(--t-2), background-color var(--t-2);
}
.about-item:hover {
  transform: translateX(8px);
  border-left-color: var(--flame);
  background: linear-gradient(90deg, rgba(255, 97, 0, .1), transparent);
}
.about-item .ico { width: 22px; height: 22px; color: var(--flame); flex: none; }
.about-item p { font-size: .98rem; }
.about-item b { font-family: var(--ff-display); font-weight: 600; }

.callout {
  position: relative;
  margin-top: 36px;
  padding: 26px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 97, 0, .1), rgba(108, 92, 255, .08));
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem);
  line-height: 1.35;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--flame), var(--halo));
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; margin-bottom: 26px; }
  .about-mark { right: -4%; width: 34%; }
  .about-badge { left: 0; }
}

/* ========================= 08 · Chiffres =========================== */
.stats { position: relative; padding-block: clamp(60px, 8vw, 110px); overflow: hidden; }
.stats-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.stats::before, .stats::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: -1;
  pointer-events: none;
}
.stats::before { top: 0; background: linear-gradient(180deg, var(--ink), transparent); }
.stats::after { bottom: 0; background: linear-gradient(0deg, var(--ink), transparent); }
.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: clamp(26px, 3vw, 42px) clamp(20px, 2.4vw, 32px);
  background: rgba(7, 9, 16, .62);
  backdrop-filter: blur(14px);
  transition: background-color var(--t-2) var(--e-out);
}
.stat:hover { background: rgba(255, 97, 0, .09); }
.stat-value {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
  background: linear-gradient(110deg, #fff, var(--ember));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-value em { font-style: normal; font-size: .46em; margin-left: 2px; }
.stat-label { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); max-width: 22ch; }
@media (max-width: 880px) { .stats-list { grid-template-columns: 1fr 1fr; } }

/* ========================= 09 · Services =========================== */
.services-stack { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.service {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  --stack-p: 0;
  transform: scale(calc(1 - var(--stack-p) * .055)) translateY(calc(var(--stack-p) * -10px));
  transition: box-shadow var(--t-2);
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3.4vw, 54px);
  padding: clamp(26px, 3.4vw, 52px);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink-3), var(--ink-2) 60%);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 80%) var(--my, 10%), rgba(255, 97, 0, .16), transparent 65%);
  opacity: 0;
  transition: opacity var(--t-2) var(--e-out);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 2rem + 3vw, 5rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .26);
  transition: -webkit-text-stroke-color var(--t-2);
}
.service:hover .service-num { -webkit-text-stroke-color: var(--flame); }
.service-body { position: relative; }
.service-body p { color: var(--muted); margin-top: 12px; max-width: 58ch; }
.service-icon {
  width: clamp(78px, 8vw, 108px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 -10px 24px rgba(255, 97, 0, .1);
  transform: translateZ(40px);
  transition: transform var(--t-2) var(--e-spring), box-shadow var(--t-2) var(--e-out);
}
.service:hover .service-icon { transform: translateZ(40px) rotate(-4deg) scale(1.05); }
.service-icon img { width: 74%; mix-blend-mode: multiply; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}
@media (max-width: 860px) {
  .service { position: static; transform: none; }
  .service-card { grid-template-columns: auto 1fr; }
  .service-icon { grid-row: 1; grid-column: 2; justify-self: end; width: 64px; }
  .service-body { grid-column: 1 / -1; }
}

/* ========================= 10 · Méthode ============================ */
.method { position: relative; background: var(--ink); }
.method-sticky {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.method.is-pinned .method-sticky { position: sticky; top: 0; }
.method-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.method-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 6, 10, .1) 30%, rgba(5, 6, 10, .1) 70%, var(--ink) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 22%, transparent 64%, var(--ink) 100%);
}
.method-head {
  position: relative;
  z-index: 3;
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin: 0 auto clamp(26px, 4vh, 54px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.method-head .h2 { max-width: 14ch; }
.method-count {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.method-count b { color: var(--flame); }
.method-count span { color: var(--muted); font-size: .5em; }
.rail-viewport { position: relative; z-index: 3; }
.rail-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  will-change: transform;
}
.method:not(.is-pinned) .rail-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--flame) transparent;
}
.method:not(.is-pinned) .step { scroll-snap-align: center; }

.step {
  position: relative;
  flex: none;
  width: clamp(268px, 27vw, 372px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(9, 11, 20, .72);
  backdrop-filter: blur(16px);
  transition: transform var(--t-2) var(--e-out), border-color var(--t-2), box-shadow var(--t-2);
}
.step.is-current { border-color: rgba(255, 97, 0, .55); box-shadow: 0 24px 70px rgba(255, 97, 0, .18); }
.step-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.step-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.06) brightness(.8);
  transform: scale(1.04);
  transition: transform .9s var(--e-out), filter .6s var(--e-out);
}
.step:hover .step-media img, .step.is-current .step-media img { filter: none; transform: scale(1.1); }
.step-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9, 11, 20, .92));
}
.step-num {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .5);
}
.step.is-current .step-num { color: var(--flame); -webkit-text-stroke-color: transparent; }
.step-chip {
  position: absolute;
  bottom: 14px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(5, 6, 10, .6);
  border: 1px solid var(--line);
}
.step-chip .ico { width: 14px; height: 14px; color: var(--flame); }
.step-body { padding: 22px 24px 28px; }
.step-body p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

.rail-progress {
  position: relative;
  z-index: 3;
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin: clamp(22px, 3vh, 38px) auto 0;
  height: 2px;
  background: var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.rail-progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--halo));
  transform: scaleX(0);
  transform-origin: left;
}
@media (max-width: 919px) {
  .method-sticky { height: auto; padding-block: var(--section); }
  .method-head { flex-direction: column; align-items: flex-start; }
}

/* ======================== 11 · Avantages =========================== */
.perks { position: relative; overflow: hidden; }
.perks-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.perks::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(5, 6, 10, .45) 30%, rgba(5, 6, 10, .55) 70%, var(--ink) 100%);
}
.perks-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.perk {
  position: relative;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
  transition: transform var(--t-2) var(--e-out), border-color var(--t-2), box-shadow var(--t-2);
}
.perk:hover { border-color: rgba(255, 97, 0, .4); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.perk-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 97, 0, .22), rgba(108, 92, 255, .16));
  border: 1px solid var(--line);
  margin-bottom: 22px;
  transform: translateZ(30px);
}
.perk-icon .ico { width: 24px; height: 24px; color: var(--ember); }
.perk h3 { margin-bottom: 10px; }
.perk p { color: var(--muted); font-size: .96rem; }
.perk-index {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--ff-display);
  font-size: .78rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .28);
}
@media (max-width: 980px) { .perks-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .perks-list { grid-template-columns: 1fr; } }

/* ======================== 12 · Locataires ========================== */
.tenants {
  background: var(--paper);
  color: #12141b;
  --text: #12141b;
  --muted: #5d6472;
  --line: rgba(10, 12, 20, .14);
  --line-2: rgba(10, 12, 20, .08);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  margin-top: clamp(40px, 6vw, 90px);
  position: relative;
  overflow: hidden;
}
.tenants::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 12% 0%, rgba(255, 97, 0, .12), transparent 70%),
    radial-gradient(50% 40% at 92% 100%, rgba(108, 92, 255, .12), transparent 70%);
}
.tenants .eyebrow { color: #6a7182; }
.tenants .serif { color: var(--flame); }
.tenants-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
}
.tenant { position: relative; }
.tenant-media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.tenant-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--e-out);
}
.tenant:hover .tenant-media img { transform: scale(1.06); }
.tenant-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(255, 97, 0, .16), transparent 55%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity var(--t-2) var(--e-out);
}
.tenant:hover .tenant-media::after { opacity: 1; }
.tenant-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(244, 241, 234, .9);
  color: #12141b;
  backdrop-filter: blur(8px);
}
.tenant h3 { margin: 22px 0 10px; }
.tenant p { color: var(--muted); font-size: .97rem; }
.tenant-rule {
  margin-top: 20px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.tenant-rule::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--e-out);
}
.tenant:hover .tenant-rule::after { transform: scaleX(1); }
@media (max-width: 900px) { .tenants-list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ==================== 13 · Passage à l'action ====================== */
.cta {
  position: relative;
  background: var(--paper);
  padding-bottom: 0;
}
.cta-inner {
  position: relative;
  border-radius: clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, var(--ink-3), var(--ink) 65%);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  padding: clamp(40px, 5.5vw, 84px) clamp(26px, 4.4vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  grid-template-areas: "copy stage" "lines lines";
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
  box-shadow: var(--sh-3);
}
.cta-copy { grid-area: copy; }
.cta-stage {
  grid-area: stage;
  position: relative;
  min-height: clamp(240px, 26vw, 360px);
}
.cta-lines {
  grid-area: lines;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 3vw, 40px);
  padding-top: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line-2);
}
.cta-canvas {
  position: absolute;
  inset: -6%;
  width: 112%; height: 112%;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 78% 50%, rgba(108, 92, 255, .22), transparent 70%);
}
.cta-title { font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem); max-width: 16ch; }
.cta-inner p { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-line { height: 100%; }
.cta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  transition: transform var(--t-2) var(--e-out), border-color var(--t-2);
}
.cta-line:hover { transform: translateX(6px); border-color: rgba(255, 97, 0, .5); }
.cta-line .ico { width: 20px; height: 20px; color: var(--flame); flex: none; }
.cta-line b { display: block; font-family: var(--ff-display); font-size: 1rem; }
.cta-line span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "lines"; }
  .cta-lines { grid-template-columns: 1fr; }
  .cta-stage { min-height: 240px; }
}

/* =================== 14 · Pied de page & réglages ================== */
.footer {
  position: relative;
  background: var(--ink);
  padding-top: clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255, 97, 0, .14), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .8fr));
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(50px, 6vw, 80px);
}
.footer-brand p { color: var(--muted); margin: 22px 0 28px; max-width: 42ch; font-size: .96rem; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact a, .footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
  transition: color var(--t-1);
}
.footer-contact a:hover { color: var(--flame); }
.footer-contact .ico { width: 18px; height: 18px; color: var(--flame); flex: none; }
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-col span { color: var(--muted); font-size: .95rem; transition: color var(--t-1), padding-left var(--t-2) var(--e-out); }
.footer-col a:hover { color: var(--text); padding-left: 6px; }

.footer-word {
  position: relative;
  display: block;
  width: 100%;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(4rem, 19vw, 21rem);
  line-height: .8;
  letter-spacing: -.055em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .19);
  user-select: none;
  padding-bottom: .06em;
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.footer-bottom a:hover { color: var(--flame); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Icônes en ligne */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Canvas indisponible : le dégradé CSS prend le relais, rien ne casse */
canvas[data-gl="unsupported"], canvas[data-gl="error"], canvas[data-gl="off"] { opacity: 0; }

/* Accessibilité : on coupe tout mouvement superflu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .split-unit { transform: none !important; opacity: 1 !important; }
  .hero-canvas, .method-canvas, .perks-canvas, .stats-canvas, .cta-canvas, .about-mark { display: none; }
  .service { position: static; transform: none; }
  .method-sticky { height: auto; padding-block: var(--section); }
}
