/* =========================================================================
   DYRO WEB — feuille de style
   Layout : colonne centrée 1200px · hero 2 colonnes (texte | maquette 3D vivante)
   · bento · méthode en défilement horizontal · l'anneau lumineux du logo
   revient comme scène (hero, contact).
   Grammaire couleur : bleu/cyan = voix de la marque (mots clés, anneau,
   labels) · chrome = action (le bouton principal, un par écran).
   ========================================================================= */

:root {
  /* Couleurs (échantillonnées sur le logo) */
  --ink: #03050a;          /* Nuit — fond */
  --ink-2: #0a0f1c;        /* Acier nuit — cartes */
  --ink-3: #111829;        /* Panneau surélevé */
  --chrome: #f3f5f9;       /* Haut du D — texte principal */
  --steel: #b4bccb;        /* Texte secondaire */
  --slate: #8d97aa;        /* Bas du D — texte discret */
  --iron: #2a3245;         /* Traits au repos */
  --volt: #0076ff;         /* Bleu « WEB » */
  --arc: #01f7ff;          /* Cyan du swoosh */
  --deep: #0060ed;         /* Bleu profond de l'anneau */
  --line: rgba(178, 200, 240, .11);
  --line-2: rgba(178, 200, 240, .2);
  --on-chrome: #05070c;

  --grad-volt: linear-gradient(100deg, #0060ed 0%, #0076ff 40%, #01f7ff 100%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, #e8ecf2 46%, #b9c1ce 54%, #f1f3f7 100%);

  /* Typo : Archivo (axe de largeur pour l'écho au wordmark étendu) + mono utilitaire */
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-card: 20px;
  --r-btn: 12px;
  --r-sm: 8px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 68px;

  color-scheme: dark;
}

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--chrome);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 420;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 110;
  background: var(--ink);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--volt); color: #fff; }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 6px; }
section[id], main[id] { scroll-margin-top: 80px; }
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Typo commune ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--arc);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 10px;
  background: var(--grad-volt);
  clip-path: polygon(0 100%, 100% 0, 100% 34%, 26% 100%);
}
.eyebrow--center { justify-content: center; }

.section { position: relative; padding-block: clamp(88px, 11vw, 150px); }
.section__head { max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .section__lead { margin-inline: auto; }
.section__title {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 720;
  font-stretch: 112%;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section__lead {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--steel);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
}
.hl {
  background: var(--grad-volt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: 560 15px/1 var(--font);
  letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--xl { padding: 20px 32px; font-size: 18px; border-radius: 14px; }
.btn__arrow {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--chrome {
  color: var(--on-chrome);
  background: var(--grad-chrome);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .22), 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 30px -10px rgba(0, 118, 255, .55);
}
.btn--chrome::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .95) 47%, rgba(1, 247, 255, .35) 53%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease-out);
}
.btn--chrome:hover::after { transform: translateX(130%); }
.btn--chrome:hover {
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .22), 0 0 0 1px rgba(1, 247, 255, .7), 0 0 22px rgba(0, 118, 255, .7), 0 0 70px rgba(0, 118, 255, .35);
}
.btn--ghost {
  color: var(--chrome);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { border-color: rgba(1, 247, 255, .55); background: rgba(0, 118, 255, .1); }

/* ---------- Préchargement ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
  clip-path: inset(0 0 0 0);
  animation: loaderFailsafe 0s 4.2s forwards;
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }
.loader__stage { position: relative; width: min(260px, 60vw); aspect-ratio: 1; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 6px var(--volt)) drop-shadow(0 0 18px rgba(0, 118, 255, .7)); }
.loader__ring circle { fill: none; stroke: var(--volt); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawRing 1.15s var(--ease-io) .1s forwards; }
.loader__mark { width: 58%; clip-path: polygon(0 100%, 0 100%, 0 100%); animation: markIn .9s var(--ease-out) .35s forwards; }
.loader__meta {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px));
  font: 500 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}
.loader__count { color: var(--chrome); font-variant-numeric: tabular-nums; }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes markIn {
  0% { clip-path: polygon(0 100%, 0 100%, 0 100%); }
  100% { clip-path: polygon(0 100%, 0 -110%, 210% 100%); }
}

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 190; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-on { opacity: 1; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--arc); box-shadow: 0 0 10px var(--arc); transition: opacity .3s; }
.cursor__circle {
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(243, 245, 249, .45);
  display: grid;
  place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label { font: 600 12px/1 var(--font); color: var(--on-chrome); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__circle { width: 58px; height: 58px; border-color: rgba(1, 247, 255, .8); background: rgba(0, 118, 255, .12); }
.cursor.is-label .cursor__circle { width: 84px; height: 84px; background: var(--chrome); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__circle { width: 30px; height: 30px; }

/* ---------- Barre de progression + grain ---------- */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad-volt); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--volt); }
.grain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Bandeau ---------- */
.banner {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, rgba(0, 96, 237, .16), rgba(1, 247, 255, .06) 50%, rgba(0, 96, 237, .16));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: max-height .6s var(--ease-io), opacity .4s;
  max-height: 120px;
}
.banner.is-closed { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.banner__inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 9px; }
.banner__text { font-size: 13px; color: var(--steel); text-align: center; text-wrap: balance; }
.banner__dot { display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--arc); box-shadow: 0 0 8px var(--arc); vertical-align: 2px; }
.banner__link { color: var(--chrome); font-weight: 600; margin-left: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.banner__link:hover { background-size: 100% 1px; }
.banner__close { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--slate); transition: color .2s, background-color .2s; }
.banner__close:hover { color: var(--chrome); background: rgba(255, 255, 255, .06); }
.banner__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  transition: transform .55s var(--ease-out), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.is-scrolled .header {
  background: rgba(3, 5, 10, .62);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { height: 30px; width: auto; transition: transform .6s var(--ease-out), filter .4s; }
.brand__word { height: 13px; width: auto; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 10px rgba(0, 118, 255, .8)); }

.nav { position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 15, 28, .45); }
.nav__link { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 480; color: var(--steel); transition: color .3s; }
.nav__link:hover, .nav__link.is-active { color: var(--chrome); }
.nav__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: rgba(0, 118, 255, .16); box-shadow: inset 0 0 0 1px rgba(1, 247, 255, .3); opacity: 0; transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s; }

.header__cta { display: flex; align-items: center; gap: 10px; }
/* Le bouton devis reste discret tant que le bouton du hero est visible : une seule action chromée par écran. */
.header__quote { color: var(--chrome); border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.header__quote:hover { border-color: rgba(1, 247, 255, .55); background: rgba(0, 118, 255, .1); }
.is-past-hero .header__quote {
  color: var(--on-chrome);
  background: var(--grad-chrome);
  border-color: transparent;
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px -10px rgba(0, 118, 255, .6);
}
.is-past-hero .header__quote:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(1, 247, 255, .7), 0 0 22px rgba(0, 118, 255, .6); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--chrome); border-radius: 2px; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 5, 10, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  clip-path: circle(0% at var(--ox, calc(100% - 42px)) var(--oy, 34px));
  transition: clip-path .8s var(--ease-io);
}
.menu-open .menu { clip-path: circle(150% at var(--ox, calc(100% - 42px)) var(--oy, 34px)); }
.menu__inner { display: flex; flex-direction: column; gap: 6px; }
.menu__link {
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 720;
  font-stretch: 112%;
  letter-spacing: -.035em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), color .3s;
  transition-delay: calc(.15s + var(--i) * 50ms);
}
.menu__link:hover { color: var(--arc); }
.menu-open .menu__link, .menu-open .menu__foot { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--steel); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out) .5s, transform .8s var(--ease-out) .5s; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(178, 200, 240, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(178, 200, 240, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 72% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 72% 45%, #000 10%, transparent 75%);
}
.hero__aurora {
  position: absolute;
  width: 900px; height: 900px;
  left: 72%; top: 45%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 96, 237, .42), rgba(0, 96, 237, .12) 55%, transparent 75%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__aurora--2 {
  width: 520px; height: 520px;
  left: 18%; top: 85%;
  background: radial-gradient(closest-side, rgba(1, 247, 255, .16), transparent 72%);
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.12); }
}
.hero__ringwrap { position: absolute; left: 73%; top: 50%; width: min(980px, 125vw); aspect-ratio: 1; translate: -50% -50%; opacity: .5; will-change: transform; }
.hero__streaks { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Anneau du logo (réutilisé hero + contact) */
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 118, 255, .85);
  box-shadow: 0 0 16px rgba(0, 118, 255, .75), 0 0 60px rgba(0, 96, 237, .4), inset 0 0 16px rgba(0, 118, 255, .55), inset 0 0 60px rgba(0, 96, 237, .22);
}
.ring__comet { position: absolute; inset: -2px; filter: drop-shadow(0 0 6px #01f7ff) drop-shadow(0 0 18px rgba(1, 247, 255, .8)); animation: spin 9s linear infinite; }
.ring__comet i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 240deg, rgba(1, 247, 255, .15) 290deg, #01f7ff 345deg, #ffffff 357deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero__copy { min-width: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 15, 28, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--steel);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--arc); box-shadow: 0 0 10px var(--arc); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--arc); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
  margin-top: 24px;
  font-size: clamp(42px, 5.7vw, 82px);
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -.042em;
  line-height: .98;
  text-wrap: balance;
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; padding-right: .02em; }
.w__in { display: inline-block; }
.hl--swoosh { position: relative; display: inline-block; }
.swoosh { position: absolute; left: -2%; right: -4%; bottom: -.16em; width: 106%; height: .24em; }
.js .hero__title .w__in { transform: translateY(130%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 65ms + 80ms); }
.is-ready .hero__title .w__in { transform: none; }
.js .swoosh { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease-io) 1.05s; }
.is-ready .swoosh { clip-path: inset(0 0 0 0); }

.hero__lead { margin-top: 26px; max-width: 52ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--steel); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--steel); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; fill: none; stroke: var(--arc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.js [data-intro] { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.is-ready [data-intro] { opacity: 1; transform: none; filter: none; }

.hero__scroll { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 52px); margin-left: max(20px, calc((100% - 1200px) / 2)); font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); transition: color .3s; }
.hero__scroll:hover { color: var(--chrome); }
.hero__scrollline { position: relative; width: 1px; height: 42px; background: var(--line-2); overflow: hidden; }
.hero__scrollline::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--arc); box-shadow: 0 0 6px var(--arc); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* --- Maquette 3D --- */
.hero__visual { position: relative; min-width: 0; aspect-ratio: 1 / .9; container-type: inline-size; perspective: 1500px; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-8deg) rotateX(5deg); will-change: transform; }

.mock {
  position: absolute;
  left: 0; top: 7%;
  width: 86%;
  border-radius: 2.6cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 30%), var(--ink-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 90px rgba(0, 118, 255, .18);
  overflow: hidden;
  transform: translateZ(0);
}
.mock__bar { display: flex; align-items: center; gap: 2.4cqw; padding: 1.7cqw 2.4cqw; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.mock__dots { display: flex; gap: 1cqw; }
.mock__dots i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--iron); }
.mock__dots i:first-child { background: #3b4458; }
.mock__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1cqw; padding: 1cqw 2cqw; border-radius: 99px; background: rgba(255, 255, 255, .04); font: 400 max(9px, 1.9cqw)/1 var(--mono); color: var(--slate); white-space: nowrap; overflow: hidden; }
.mock__url svg { width: max(9px, 1.9cqw); height: max(9px, 1.9cqw); fill: none; stroke: var(--arc); stroke-width: 1.4; }
.mock__body { position: relative; padding: 3cqw 3.4cqw 3.6cqw; }
.mock__nav { display: flex; align-items: center; gap: 2cqw; }
.mock__navlinks { display: flex; gap: 2cqw; margin-left: auto; }
.mock__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3cqw; margin-top: 4.4cqw; align-items: center; }
.mock__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3cqw; min-width: 0; }
.mock__h { font-size: 4.3cqw; font-weight: 720; font-stretch: 106%; line-height: 1.04; letter-spacing: -.03em; min-height: 3.15em; display: flex; align-items: flex-end; }
.mock__cta { position: relative; margin-top: 1.2cqw; padding: 1.5cqw 2.4cqw; border-radius: 1.3cqw; background: var(--grad-chrome); color: var(--on-chrome); font-size: max(8px, 1.8cqw); font-weight: 650; white-space: nowrap; transition: transform .25s var(--ease-out); }
.mock__cta::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--arc); opacity: 0; }
.mock__cta.is-press { transform: scale(.92); }
.mock__cta.is-press::after { animation: ripple .7s var(--ease-out); }
@keyframes ripple { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.mock__img { position: relative; aspect-ratio: 1 / 1.05; border-radius: 2cqw; overflow: hidden; background: radial-gradient(circle at 28% 26%, rgba(1, 247, 255, .55), transparent 46%), radial-gradient(circle at 72% 82%, rgba(0, 96, 237, .9), transparent 60%), linear-gradient(160deg, #0e1c40, #050a18); }
.mock__orb { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: .4cqw solid rgba(1, 247, 255, .7); box-shadow: 0 0 3cqw rgba(1, 247, 255, .6), inset 0 0 3cqw rgba(1, 247, 255, .35); animation: orb 6s ease-in-out infinite; }
.mock__slash { position: absolute; left: 18%; top: 22%; width: 64%; height: 56%; background: linear-gradient(60deg, transparent 46%, rgba(255, 255, 255, .85) 49.5%, rgba(1, 247, 255, .9) 50.5%, transparent 54%); filter: blur(.2cqw); }
@keyframes orb { 50% { transform: scale(1.08); } }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 4cqw; }
.mcard { display: flex; flex-direction: column; gap: 1cqw; padding: 1.8cqw; border-radius: 1.6cqw; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.mcard__ic { width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; background: linear-gradient(135deg, rgba(0, 118, 255, .55), rgba(1, 247, 255, .25)); margin-bottom: .6cqw; }

.sk { display: block; height: 1.1cqw; border-radius: 99px; background: linear-gradient(90deg, rgba(178, 200, 240, .12), rgba(178, 200, 240, .24), rgba(178, 200, 240, .12)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.sk--logo { width: 7cqw; height: 2.2cqw; border-radius: .6cqw; background: var(--grad-volt); animation: none; }
.sk--xs { width: 5.5cqw; }
.sk--btn { width: 9cqw; height: 3cqw; border-radius: .9cqw; background: rgba(243, 245, 249, .85); animation: none; }
.sk--kicker { width: 14cqw; height: 1cqw; background: rgba(1, 247, 255, .5); animation: none; }
.sk--line { width: 100%; }
.sk--short { width: 62%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.js .bld { opacity: 0; transform: translateY(1.4cqw) scale(.97); }
.is-ready .bld { animation: build .8s var(--ease-out) forwards; animation-delay: calc(.75s + var(--d) * 110ms); }
@keyframes build { to { opacity: 1; transform: none; } }

.fcursor { position: absolute; left: 0; top: 0; width: max(14px, 3.4cqw); height: auto; z-index: 3; fill: var(--chrome); stroke: var(--on-chrome); stroke-width: 1.2; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); transform: translate(70cqw, 60cqw); transition: transform 1.1s var(--ease-io); opacity: 0; }
.is-ready .fcursor { opacity: 1; transition: transform 1.1s var(--ease-io), opacity .4s 1.8s; }

.code {
  position: absolute;
  right: 0; bottom: 3%;
  width: 56%;
  border-radius: 2.2cqw;
  background: rgba(7, 11, 22, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(1, 247, 255, .05), 0 0 50px rgba(0, 118, 255, .16);
  transform: translateZ(70px);
}
.code__bar { display: flex; gap: .6cqw; padding: 1.2cqw 1.6cqw 0; border-bottom: 1px solid var(--line); }
.code__tab { padding: 1.1cqw 1.6cqw; font: 500 max(8px, 1.7cqw)/1 var(--mono); color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.code__tab.is-active { color: var(--chrome); border-bottom-color: var(--volt); }
.code__pre { margin: 0; padding: 2.2cqw 2.6cqw 2.8cqw; font: 400 max(8px, 1.85cqw)/1.7 var(--mono); color: var(--slate); white-space: pre; overflow: hidden; height: calc(7 * 1.7em + 5cqw); }
.tk-p { color: var(--slate); }
.tk-t { color: #4fd8ff; }
.tk-a { color: #8fb3ff; }
.tk-s { color: #9fffd9; }
.tk-x { color: var(--chrome); }
.caret { display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: -.22em; background: var(--arc); box-shadow: 0 0 8px var(--arc); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.langchip {
  position: absolute;
  right: 3%; top: 0;
  display: flex;
  padding: .8cqw;
  border-radius: 99px;
  background: rgba(10, 15, 28, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8);
  transform: translateZ(110px);
}
.langchip button { position: relative; z-index: 1; padding: 1.3cqw 2.3cqw; border-radius: 99px; font: 600 max(10px, 1.9cqw)/1 var(--mono); color: var(--slate); transition: color .35s; }
.langchip button:hover { color: var(--chrome); }
.langchip button[aria-pressed="true"] { color: var(--on-chrome); }
.langchip__pill { position: absolute; z-index: 0; top: .8cqw; bottom: .8cqw; left: 0; width: 0; border-radius: 99px; background: var(--grad-chrome); box-shadow: 0 0 16px rgba(0, 118, 255, .5); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }

.toast {
  position: absolute;
  left: -3%; bottom: 25%;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.5cqw 2.4cqw 1.5cqw 1.5cqw;
  border-radius: 2cqw;
  background: rgba(12, 18, 34, .94);
  border: 1px solid rgba(1, 247, 255, .28);
  box-shadow: 0 24px 44px -12px rgba(0, 0, 0, .85), 0 0 30px rgba(0, 118, 255, .3);
  transform: translateZ(140px);
  opacity: 0;
  translate: 0 2cqw;
  scale: .9;
  transition: opacity .5s var(--ease-out), translate .7s var(--ease-out), scale .7s var(--ease-out);
}
.toast.is-on { opacity: 1; translate: 0 0; scale: 1; }
.toast__ic { flex: none; width: 4.4cqw; height: 4.4cqw; min-width: 20px; min-height: 20px; border-radius: 50%; background: var(--grad-volt); display: grid; place-items: center; box-shadow: 0 0 14px rgba(0, 118, 255, .7); }
.toast__ic svg { width: 55%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast__txt { display: flex; flex-direction: column; gap: .4cqw; }
.toast strong { font-size: max(10px, 2cqw); font-weight: 650; white-space: nowrap; }
.toast__txt span { font-size: max(9px, 1.65cqw); color: var(--slate); white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); padding-block: clamp(28px, 4vw, 52px); border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 118, 255, .045), transparent); overflow: hidden; }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__row--a .marquee__track { font-size: clamp(38px, 6.4vw, 92px); gap: .42em; padding-right: .42em; }
.marquee__row--a span { font-weight: 760; font-stretch: 116%; letter-spacing: -.035em; line-height: 1.12; white-space: nowrap; transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee__row--a span.o { color: transparent; -webkit-text-stroke: 1px rgba(200, 215, 240, .42); }
.marquee__row--a span:hover { color: var(--arc); -webkit-text-stroke-color: transparent; }
.slash { flex: none; width: .42em; height: .7em; background: var(--grad-volt); clip-path: polygon(68% 0, 100% 0, 32% 100%, 0 100%); filter: drop-shadow(0 0 10px rgba(0, 118, 255, .7)); }
.marquee__row--b .marquee__track { gap: 28px; padding-right: 28px; }
.marquee__row--b span { font: 500 clamp(12px, 1.2vw, 15px)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.marquee__row--b .dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }

/* ---------- Cartes ---------- */
.card {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .008)), var(--ink-2);
  padding: 32px;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -30%), rgba(0, 118, 255, .14), transparent 62%);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -30%), rgba(1, 247, 255, .75), rgba(0, 118, 255, .25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
[data-spotlight-group]:hover .card::after { opacity: 1; }
.card:hover::before { opacity: 1; }

/* Révélations au scroll */
.js [data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 85ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal].is-settled { transition-delay: 0s; }
/* Une fois révélées, les cartes retrouvent leurs effets de survol */
.js .svc[data-reveal].is-in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
.js .svc[data-reveal].is-settled { transition: transform .6s var(--ease-out), border-color .4s; }
.js .price[data-reveal].is-in:hover { transform: translateY(-6px); }
.js .price[data-reveal].is-settled { transition: transform .6s var(--ease-out), border-color .4s; }
.js .contact__card[data-reveal].is-in:hover { transform: translateY(-4px); }
.js .contact__card[data-reveal].is-settled { transition: transform .6s var(--ease-out), border-color .4s; }
.js [data-split] .w__in { transform: translateY(130%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w__in { transform: none; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.svc {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .7s var(--ease-out), border-color .4s, opacity 1s var(--ease-out), filter 1s var(--ease-out);
}
.js .svc[data-reveal]:not(.is-in) { transform: perspective(1000px) translateY(40px); }
.svc:hover { --lift: -6px; border-color: var(--line-2); }
.svc__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--arc); background: linear-gradient(180deg, rgba(0, 118, 255, .2), rgba(0, 118, 255, .04)); border: 1px solid rgba(0, 118, 255, .32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: box-shadow .5s, transform .6s var(--ease-out); }
.svc:hover .svc__icon { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 26px rgba(0, 118, 255, .55); transform: translateZ(30px) rotate(-6deg); }
.svc__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc:hover .svc__icon svg * { animation: draw 1.1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.svc h3 { margin-top: 12px; font-size: 22px; font-weight: 660; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.2; }
.svc p { color: var(--steel); font-size: 15px; line-height: 1.6; }
.svc__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { font: 500 12px/1 var(--mono); letter-spacing: .05em; color: var(--slate); padding: 7px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); white-space: nowrap; }
.svc__go { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s, color .4s, transform .6s var(--ease-out), border-color .4s; }
.svc__go::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.svc__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__go { background: var(--chrome); color: var(--on-chrome); border-color: transparent; transform: rotate(-45deg); }

/* ---------- Manifeste ---------- */
.statement { position: relative; padding-block: clamp(96px, 14vw, 210px); }
.statement::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); height: 420px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(0, 96, 237, .16), transparent); pointer-events: none; }
.statement__text { position: relative; max-width: 1100px; font-size: clamp(30px, 4.5vw, 66px); font-weight: 660; font-stretch: 106%; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.statement__text em { font-style: normal; }
.js .sw { opacity: calc(.14 + .86 * var(--o, 0)); }
.sw.em { background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.js .sw.em { filter: drop-shadow(0 0 calc(var(--o, 0) * 18px) rgba(0, 118, 255, .55)); }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "speed speed mobile" "lang seo mobile" "own care care";
  gap: 20px;
  margin-top: 64px;
}
.bento__item { display: flex; flex-direction: column; gap: 26px; min-width: 0; overflow: hidden; }
.bento__txt h3 { font-size: 21px; font-weight: 660; font-stretch: 106%; letter-spacing: -.02em; }
.bento__txt p { margin-top: 10px; color: var(--steel); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.b-speed { grid-area: speed; flex-direction: row; align-items: center; gap: 40px; }
.b-mobile { grid-area: mobile; justify-content: space-between; }
.b-lang { grid-area: lang; }
.b-seo { grid-area: seo; }
.b-own { grid-area: own; }
.b-care { grid-area: care; }

.b-speed__viz { position: relative; flex: none; width: 260px; display: flex; flex-direction: column; align-items: center; }
.gauge { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__track { stroke: rgba(178, 200, 240, .1); }
.gauge__val { stroke: url(#gg); stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(0, 118, 255, .7)); transition: stroke-dashoffset 2s var(--ease-out) .2s; }
.is-in .gauge__val, html:not(.js) .gauge__val { stroke-dashoffset: 8; }
.gauge__num { margin-top: -62px; font-size: 58px; font-weight: 780; font-stretch: 112%; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__num sup { font-size: .45em; color: var(--arc); vertical-align: .9em; margin-left: 2px; }
.gauge__cap { margin-top: 10px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.mini-list { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.mini-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--steel); }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; background: var(--grad-volt); clip-path: polygon(0 100%, 100% 0, 100% 34%, 26% 100%); }

.phone { position: relative; align-self: center; width: min(210px, 70%); aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #d9dee7, #6b7488 40%, #c9cfda 60%, #5c6477); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 50px rgba(0, 118, 255, .2); transition: transform .8s var(--ease-out); }
.b-mobile:hover .phone { transform: rotate(-4deg) translateY(-6px); }
.phone__notch { position: absolute; z-index: 2; top: 15px; left: 50%; width: 34%; height: 16px; translate: -50% 0; border-radius: 99px; background: #000; }
.phone__screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: var(--ink); }
.phone__feed { display: flex; flex-direction: column; gap: 9px; padding: 38px 14px 14px; animation: feed 12s linear infinite; }
.phone__feed .sk { height: 6px; }
.pf-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pf-nav .sk--logo { width: 38px; height: 11px; }
.pf-burger { width: 16px; height: 8px; border-block: 2px solid var(--steel); }
.pf-h { font-size: 19px; font-weight: 720; font-stretch: 106%; line-height: 1.05; letter-spacing: -.03em; }
.pf-cta { align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 8px; background: var(--grad-chrome); color: var(--on-chrome); font-size: 11px; font-weight: 650; }
.pf-img { height: 110px; border-radius: 12px; margin-top: 6px; background: radial-gradient(circle at 30% 30%, rgba(1, 247, 255, .5), transparent 50%), radial-gradient(circle at 70% 80%, rgba(0, 96, 237, .9), transparent 60%), #0b1530; }
.pf-img--2 { background: radial-gradient(circle at 70% 30%, rgba(0, 118, 255, .7), transparent 55%), #0b1530; }
.pf-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
@keyframes feed { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(-52%); } }

.langdemo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 5, 10, .5); min-height: 150px; }
.langdemo__pills { display: flex; gap: 6px; }
.langdemo__pills span { padding: 6px 10px; border-radius: 99px; font: 600 11px/1 var(--mono); color: var(--slate); border: 1px solid var(--line); transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s; }
.langdemo__pills span.is-on { color: var(--on-chrome); background: var(--chrome); border-color: transparent; box-shadow: 0 0 14px rgba(0, 118, 255, .5); }
.langdemo__h { font-size: 30px; font-weight: 740; font-stretch: 110%; letter-spacing: -.035em; line-height: 1.05; }
.langdemo__p { font-size: 14px; color: var(--steel); }

.serp { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 5, 10, .5); min-height: 150px; }
.serp__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font: 400 13px/1 var(--mono); color: var(--chrome); min-height: 38px; }
.serp__bar svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; }
.serp__caret { width: 1px; height: 14px; background: var(--arc); animation: blink 1s steps(1) infinite; }
.serp__res { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; }
.serp__res .sk { height: 6px; }
.serp__res--hit { border-color: rgba(1, 247, 255, .4); background: rgba(0, 118, 255, .1); box-shadow: 0 0 24px rgba(0, 118, 255, .2); }
.js .serp__res { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.serp.is-shown .serp__res { opacity: 1; transform: none; }
.serp.is-shown .serp__res:nth-child(3) { transition-delay: .15s; }
.serp__url { font: 400 11px/1 var(--mono); color: var(--arc); }
.serp__title { font-size: 14px; font-weight: 600; color: var(--chrome); }

.own { display: flex; flex-direction: column; gap: 10px; }
.own li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(3, 5, 10, .5); font-size: 15px; font-weight: 520; }
.own__chk { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad-volt); box-shadow: 0 0 12px rgba(0, 118, 255, .6); transform: scale(.4); opacity: .3; transition: transform .6s var(--ease-out), opacity .4s; }
.own__chk svg { width: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.is-in .own__chk, html:not(.js) .own__chk { transform: none; opacity: 1; }
.is-in .own__chk svg, html:not(.js) .own__chk svg { stroke-dashoffset: 0; }
.own li:nth-child(1) .own__chk, .own li:nth-child(1) .own__chk svg { transition-delay: .5s; }
.own li:nth-child(2) .own__chk, .own li:nth-child(2) .own__chk svg { transition-delay: .8s; }
.own li:nth-child(3) .own__chk, .own li:nth-child(3) .own__chk svg { transition-delay: 1.1s; }

.pulseviz { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 5, 10, .5); }
.pulseviz svg { width: 100%; height: 80px; overflow: visible; }
.pulseviz path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulseviz__base { stroke: rgba(178, 200, 240, .14); }
.pulseviz__run { stroke: var(--arc); stroke-dasharray: .22 .78; filter: drop-shadow(0 0 6px var(--arc)); animation: run 3.2s linear infinite; }
@keyframes run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pulseviz__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pulseviz__tags span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--steel); }
.pulseviz__tags i { width: 6px; height: 6px; border-radius: 50%; background: #3dffa8; box-shadow: 0 0 8px #3dffa8; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 50% { opacity: .35; } }

/* ---------- Méthode ---------- */
.process { position: relative; padding-block: clamp(88px, 10vw, 140px); }
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.process__head .section__title { max-width: 18ch; }
.process__bar { width: min(320px, 100%); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.process:not(.is-horizontal) .process__bar { display: none; }
.process__bar i { display: block; height: 100%; background: var(--grad-volt); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--volt); }
.process__viewport { margin-top: 56px; }
.process__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.step__num { position: relative; display: inline-block; align-self: flex-start; font-size: clamp(76px, 8.5vw, 128px); font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .86; color: transparent; -webkit-text-stroke: 1px rgba(200, 215, 240, .28); margin-bottom: 18px; }
.step__num::after { content: attr(data-n); position: absolute; inset: 0; background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-io); }
.step.is-active .step__num::after, html:not(.js) .step__num::after { clip-path: inset(0 0 0 0); }
.step h3 { font-size: 24px; font-weight: 680; font-stretch: 108%; letter-spacing: -.02em; }
.step p { color: var(--steel); font-size: 15px; line-height: 1.6; max-width: 46ch; }
.step__tag { margin-top: auto; align-self: flex-start; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--arc); padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid rgba(1, 247, 255, .25); background: rgba(0, 118, 255, .08); }
.step--end { justify-content: center; align-items: flex-start; gap: 24px; padding: 32px; }
.step__endtxt { font-size: clamp(28px, 3vw, 40px); font-weight: 720; font-stretch: 110%; letter-spacing: -.035em; line-height: 1.08; max-width: 12ch; }

/* Mode horizontal (desktop) */
.process.is-horizontal { padding-block: 0; }
.process.is-horizontal .process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.process.is-horizontal .process__viewport { margin-top: clamp(32px, 5vh, 56px); }
.process.is-horizontal .process__track { display: flex; width: max-content; gap: 22px; padding-left: max(20px, calc((100vw - 1200px) / 2)); padding-right: max(20px, calc((100vw - 1200px) / 2)); will-change: transform; }
.process.is-horizontal .step { width: clamp(320px, 31vw, 430px); min-height: clamp(340px, 50vh, 440px); }
.process.is-horizontal .step--end { width: clamp(300px, 26vw, 360px); }

/* ---------- Offres ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 20px; transition: transform .7s var(--ease-out), border-color .4s, opacity 1s var(--ease-out), filter 1s var(--ease-out); }
.price:hover { transform: translateY(-6px); border-color: var(--line-2); }
.price h3 { font-size: 22px; font-weight: 680; font-stretch: 108%; letter-spacing: -.02em; }
.price__for { margin-top: 6px; color: var(--slate); font-size: 14px; }
.price__amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__from { font-size: 14px; color: var(--slate); }
.price__n { font-size: clamp(44px, 4.6vw, 62px); font-weight: 780; font-stretch: 110%; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__pre { font-size: clamp(30px, 3.2vw, 42px); font-weight: 760; font-stretch: 110%; line-height: 1; margin-right: -6px; }
.price__pre:empty { display: none; }
.price__cur { font-size: 15px; color: var(--steel); font-weight: 560; }
.price__range { margin-top: -10px; font: 400 12px/1.4 var(--mono); color: var(--slate); }
.price__list { display: flex; flex-direction: column; gap: 11px; padding-top: 20px; border-top: 1px solid var(--line); }
.price__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--steel); }
.price__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 118, 255, .16); box-shadow: inset 0 0 0 1px rgba(1, 247, 255, .35); }
.price__list li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 4px; height: 8px; border: solid var(--arc); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.price__btn { margin-top: auto; width: 100%; }
.price--featured { background: linear-gradient(180deg, rgba(0, 118, 255, .14), rgba(0, 118, 255, .02) 45%), var(--ink-2); border-color: rgba(0, 118, 255, .45); box-shadow: 0 30px 90px -30px rgba(0, 118, 255, .5); }
.price__glow { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 62%, rgba(1, 247, 255, .9) 80%, #0076ff 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: angle 5s linear infinite; pointer-events: none; }
@keyframes angle { to { --ang: 360deg; } }
.badge { position: absolute; top: 24px; right: 24px; padding: 7px 11px; border-radius: 99px; background: var(--grad-volt); color: #fff; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 18px rgba(0, 118, 255, .6); }

.pricing__extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.extra { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label val" "note note"; gap: 6px 16px; align-items: baseline; padding: 22px 26px; border-radius: var(--r-card); border: 1px dashed var(--line-2); transition: border-color .4s, background-color .4s; }
.extra:hover { border-color: rgba(1, 247, 255, .45); background: rgba(0, 118, 255, .05); }
.extra__label { grid-area: label; font-weight: 640; font-size: 17px; }
.extra__val { grid-area: val; font-weight: 700; font-stretch: 108%; font-size: 17px; white-space: nowrap; }
.extra__note { grid-area: note; color: var(--slate); font-size: 14px; }
.pricing__note { margin: 36px auto 0; max-width: 72ch; text-align: center; font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 880px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__q { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; text-align: left; font-size: clamp(17px, 1.6vw, 21px); font-weight: 580; font-stretch: 104%; letter-spacing: -.012em; transition: color .3s, padding-left .5s var(--ease-out); }
.faq__q::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad-volt); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.faq__q:hover { padding-left: 12px; }
.faq__q:hover::after, .faq__item.is-open .faq__q::after { transform: scaleX(1); }
.faq__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .6s var(--ease-out), background-color .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: currentColor; translate: -50% -50%; border-radius: 2px; }
.faq__icon::after { rotate: 90deg; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--volt); border-color: transparent; box-shadow: 0 0 18px rgba(0, 118, 255, .6); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 64px 28px 4px; color: var(--steel); line-height: 1.65; max-width: 68ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Contact ---------- */
.cta { position: relative; overflow: clip; padding-block: clamp(80px, 10vw, 140px) clamp(96px, 11vw, 160px); text-align: center; border-top: 1px solid var(--line); }
.cta__glow { position: absolute; left: 50%; top: 22%; width: min(1100px, 150vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 96, 237, .3), rgba(0, 96, 237, .08) 55%, transparent 72%); pointer-events: none; }
.cta__stage { position: relative; width: min(400px, 74vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; perspective: 900px; }
.cta__ringwrap { position: absolute; inset: 0; }
.ring--big { border-width: 2.5px; }
.cta__markwrap { position: relative; width: 62%; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; animation: float 6s ease-in-out infinite; }
.cta__mark { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .7)); }
.cta__sheen { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .9) 49%, rgba(1, 247, 255, .5) 52%, transparent 62%); background-size: 260% 100%; background-position: 140% 0; -webkit-mask: url("../img/dyro-mark-480.webp") center / contain no-repeat; mask: url("../img/dyro-mark-480.webp") center / contain no-repeat; mix-blend-mode: overlay; animation: sheen 4.5s var(--ease-io) infinite; pointer-events: none; }
@keyframes sheen { 0%, 35% { background-position: 140% 0; } 75%, 100% { background-position: -40% 0; } }
@keyframes float { 50% { translate: 0 -10px; } }
.cta__inner { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.cta__title { margin-top: 18px; font-size: clamp(40px, 6.2vw, 92px); font-weight: 760; font-stretch: 110%; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.cta__lead { margin: 22px auto 0; max-width: 54ch; color: var(--steel); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.cta__actions { margin-top: 36px; display: flex; justify-content: center; }

.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 56px auto 0; max-width: 980px; text-align: left; }
.contact__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 15, 28, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); min-width: 0; transition: border-color .4s, transform .6s var(--ease-out); }
.contact__card:hover { border-color: rgba(1, 247, 255, .4); transform: translateY(-4px); }
.contact__label { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.contact__val { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; user-select: all; }
a.contact__val:hover { color: var(--arc); }
.contact__sub { font-size: 13px; color: var(--slate); }
.copy { align-self: flex-start; margin-top: 4px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); color: var(--steel); transition: color .3s, border-color .3s, background-color .3s; }
.copy:hover { color: var(--chrome); border-color: rgba(1, 247, 255, .5); }
.copy.is-done { color: var(--on-chrome); background: var(--arc); border-color: transparent; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: clamp(64px, 8vw, 100px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), #02040a); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.brand--lg .brand__mark { height: 40px; }
.brand--lg .brand__word { height: 17px; }
.footer__brand p { margin-top: 18px; max-width: 36ch; color: var(--slate); font-size: 14px; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--steel); }
.footer__nav a:hover { color: var(--chrome); }
.footer__h { margin-bottom: 6px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }

.giant { position: relative; margin-top: clamp(48px, 7vw, 90px); padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); font-size: 15.2vw; font-weight: 800; font-stretch: 118%; letter-spacing: -.05em; line-height: .9; text-align: center; white-space: nowrap; user-select: none; padding-bottom: .14em; }
.giant__base { display: block; color: transparent; -webkit-text-stroke: 1px rgba(200, 215, 240, .16); }
.giant__fill { position: absolute; left: 0; right: 0; top: 0; display: block; background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; -webkit-mask-image: radial-gradient(circle var(--gr, 0px) at var(--gx, 50%) var(--gy, 50%), #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); mask-image: radial-gradient(circle var(--gr, 0px) at var(--gx, 50%) var(--gy, 50%), #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); margin-top: 8px; font-size: 13px; color: var(--slate); }
.footer__top-link:hover { color: var(--chrome); }

/* Effet « roulement » des liens */
.roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; }
.roll__row { display: inline-flex; }
.roll__row--b { position: absolute; left: 0; top: 100%; }
.roll__c { display: inline-block; white-space: pre; transition: transform .55s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
a:hover > .roll .roll__c { transform: translateY(-100%); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header__phone { display: none; }
  .nav__link { padding: 8px 11px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; width: 100%; margin-inline: auto; margin-top: 8px; }
  .hero__ringwrap { left: 50%; top: 74%; width: min(900px, 150vw); }
  .hero__aurora { left: 50%; top: 70%; }
  .hero__grid { -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 10%, transparent 75%); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "speed speed" "mobile lang" "mobile seo" "own care"; }
  .b-speed { flex-direction: column; align-items: flex-start; }
  .b-speed__viz { align-self: center; }
  .pricing__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .pricing__extra { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .contact { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .header__quote { display: none; }
  .brand__mark { height: 26px; }
  .brand__word { height: 11px; }
  .card { padding: 24px; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "speed" "mobile" "lang" "seo" "own" "care"; }
  .b-speed__viz { width: 220px; }
  .process__track { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }
  .hero__facts { gap: 10px 18px; font-size: 13px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .extra { grid-template-columns: 1fr; grid-template-areas: "label" "val" "note"; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .banner__text { font-size: 12px; text-align: left; }
  .faq__a p { padding-right: 8px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-intro], .js .bld { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hero__title .w__in, .js [data-split] .w__in { transform: none !important; }
  .js .swoosh { clip-path: none; }
  .js .sw { opacity: 1; }
  .phone__feed { animation: none; }
}

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  font: 600 13px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--chrome);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: rgba(1, 247, 255, .55); background: rgba(0, 118, 255, .1); box-shadow: 0 0 18px rgba(0, 118, 255, .25); }
.lang__globe { width: 16px; height: 16px; fill: none; stroke: var(--arc); stroke-width: 1.5; transition: transform 1s var(--ease-out); }
.lang__btn:hover .lang__globe, .lang.is-open .lang__globe { transform: rotate(180deg); }
.lang__cur { min-width: 2ch; }
.lang__chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 5;
  min-width: 220px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(10, 15, 28, .95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 40px rgba(0, 118, 255, .16);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.96);
  transition: opacity .25s, transform .45s var(--ease-out), visibility 0s .45s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s var(--ease-out), visibility 0s; }
.lang__opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: left;
  opacity: 0;
  transform: translateX(10px);
  transition: background-color .25s, opacity .3s, transform .4s var(--ease-out);
}
.lang.is-open .lang__opt { opacity: 1; transform: none; transition: background-color .25s, opacity .4s calc(var(--i) * 45ms + 60ms), transform .5s var(--ease-out) calc(var(--i) * 45ms + 60ms); }
.lang__opt:hover { background: rgba(0, 118, 255, .14); }
.lang__opt[aria-current="true"] { background: rgba(0, 118, 255, .09); }
.lang__code { width: 28px; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--arc); }
.lang__name { flex: 1; font-size: 15px; font-weight: 520; color: var(--chrome); }
.lang__check { width: 16px; height: 16px; fill: none; stroke: var(--arc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); }
.lang__opt[aria-current="true"] .lang__check { opacity: 1; transform: none; }

.menu__langs { display: flex; gap: 8px; margin-top: 24px; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(.15s + var(--i) * 50ms); }
.menu-open .menu__langs { opacity: 1; transform: none; }
.menu__langs button { flex: 1; padding: 14px 0; border-radius: 12px; border: 1px solid var(--line-2); font: 600 14px/1 var(--mono); letter-spacing: .06em; color: var(--steel); transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.menu__langs button[aria-current="true"] { background: var(--chrome); color: var(--on-chrome); border-color: transparent; box-shadow: 0 0 18px rgba(0, 118, 255, .45); }

/* Bascule de langue : un volet en biais, à l'angle du swoosh du logo */
.lang-wipe { position: fixed; inset: 0; z-index: 180; pointer-events: none; visibility: hidden; overflow: hidden; }
.lang-wipe.is-run { visibility: visible; pointer-events: auto; }
.lang-wipe__panel {
  position: absolute;
  top: -10vh;
  bottom: -10vh;
  left: -50vh;
  width: calc(100vw + 100vh);
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 96, 237, .3), transparent 62%), var(--ink);
  transform: translateX(-102%) skewX(-16deg);
}
.lang-wipe__panel::before, .lang-wipe__panel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #01f7ff, #0076ff 50%, #0060ed); box-shadow: 0 0 18px #0076ff, 0 0 50px rgba(1, 247, 255, .6); }
.lang-wipe__panel::before { left: 0; }
.lang-wipe__panel::after { right: 0; }
.lang-wipe.is-run .lang-wipe__panel { animation: wipe 1.3s var(--ease-io) forwards; }
@keyframes wipe {
  0% { transform: translateX(-102%) skewX(-16deg); }
  45%, 55% { transform: translateX(0) skewX(-16deg); }
  100% { transform: translateX(102%) skewX(-16deg); }
}
.lang-wipe__label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; }
.lang-wipe.is-run .lang-wipe__label { animation: wipeLabel 1.3s var(--ease-out) forwards; }
.lang-wipe__code { font-size: clamp(96px, 16vw, 210px); font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .85; background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lang-wipe__name { font: 500 13px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--steel); }
@keyframes wipeLabel {
  0%, 30% { opacity: 0; transform: scale(.9); }
  42%, 58% { opacity: 1; transform: none; }
  72%, 100% { opacity: 0; transform: scale(1.06); }
}

@media (max-width: 640px) {
  .lang__btn { height: 44px; padding: 0 11px; }
  .header__cta { gap: 8px; }
}
@media (max-width: 360px) {
  .lang__globe { display: none; }
}

/* ---------- Footer : liens légaux, contact à deux boutons ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { color: var(--slate); transition: color .3s; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--chrome); }
.cta__actions { gap: 12px; flex-wrap: wrap; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 100px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__bg .hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 10%, transparent 75%); }
.page-hero__glow { position: absolute; right: -10%; top: 50%; width: 760px; height: 760px; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 96, 237, .32), transparent 72%); animation: drift 16s ease-in-out infinite alternate; }
.page-hero__ring { position: absolute; right: max(-160px, -12vw); top: 50%; width: min(560px, 90vw); aspect-ratio: 1; translate: 0 -50%; opacity: .5; }
.page-hero .container { position: relative; }
.page-hero__title { margin-top: 18px; max-width: 16ch; font-size: clamp(40px, 6vw, 84px); font-weight: 760; font-stretch: 110%; letter-spacing: -.045em; line-height: 1; text-wrap: balance; overflow-wrap: break-word; }
.page-hero__lead { margin-top: 20px; max-width: 56ch; color: var(--steel); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.page-hero__meta { margin-top: 20px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

/* ---------- Pages légales ---------- */
.legal { padding-block: clamp(44px, 6vw, 88px) clamp(80px, 10vw, 140px); }
.legal__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 15, 28, .55); }
.legal__toc-h { margin-bottom: 8px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.legal__toc a { position: relative; padding: 7px 10px 7px 14px; border-radius: 8px; font-size: 14px; color: var(--steel); transition: color .3s, background-color .3s; }
.legal__toc a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--grad-volt); transform: scaleY(0); transition: transform .45s var(--ease-out); }
.legal__toc a:hover { color: var(--chrome); }
.legal__toc a.is-active { color: var(--chrome); background: rgba(0, 118, 255, .09); }
.legal__toc a.is-active::before { transform: scaleY(1); }
.legal__notice { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(1, 247, 255, .3); background: rgba(0, 118, 255, .08); color: var(--chrome); font-size: 14px; }
html[lang="fr"] .legal__notice { display: none; }
.prose { max-width: 74ch; min-width: 0; color: var(--steel); font-size: 16px; line-height: 1.75; }
.prose > section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 680; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.2; color: var(--chrome); }
.prose h2 .num { flex: none; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--arc); }
.prose p + p, .prose p + ul, .prose ul + p, .prose dl + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 7px; background: var(--grad-volt); clip-path: polygon(0 100%, 100% 0, 100% 34%, 26% 100%); }
.prose strong { color: var(--chrome); font-weight: 600; }
.prose a { color: var(--chrome); text-decoration: underline; text-decoration-color: rgba(1, 247, 255, .5); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--arc); }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 6px 0 0; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 15, 28, .5); }
.prose dt { font-size: 14px; color: var(--slate); }
.prose dd { margin: 0; color: var(--chrome); overflow-wrap: anywhere; }
.todo { padding: 1px 7px; border-radius: 6px; border: 1px dashed rgba(255, 196, 0, .55); background: rgba(255, 196, 0, .12); color: #ffd666; font-size: .92em; }

/* ---------- Page devis ---------- */
.quote { padding-block: clamp(36px, 5vw, 72px) clamp(80px, 10vw, 140px); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote__form { position: relative; min-width: 0; padding: clamp(22px, 3vw, 38px); border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)), var(--ink-2); }
.quote fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 30px; }
.steps li { position: relative; padding-top: 14px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); transition: color .4s; }
.steps li::before, .steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; }
.steps li::before { background: var(--line); }
.steps li::after { background: var(--grad-volt); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); box-shadow: 0 0 10px rgba(0, 118, 255, .6); }
.steps li.is-done::after, .steps li.is-current::after { transform: scaleX(1); }
.steps li.is-current, .steps li.is-done { color: var(--chrome); }
.steps button { display: block; width: 100%; text-align: left; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.steps button:disabled { cursor: default; }
.steps__n { display: block; margin-bottom: 4px; color: var(--arc); }
.step-panel { animation: panelIn .6s var(--ease-out); }
.step-panel.is-back { animation-name: panelBack; }
@keyframes panelIn { from { opacity: 0; transform: translateX(26px); filter: blur(4px); } }
@keyframes panelBack { from { opacity: 0; transform: translateX(-26px); filter: blur(4px); } }
.q-title { display: block; margin-bottom: 20px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 720; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.15; color: var(--chrome); outline: none; }
.q-sub { margin: 28px 0 12px; font-size: 16px; font-weight: 640; color: var(--chrome); }
.q-hint { margin-top: 16px; max-width: 62ch; font-size: 14px; color: var(--slate); line-height: 1.6; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 54px 20px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .45); cursor: pointer; transition: border-color .3s, background-color .3s, transform .45s var(--ease-out), box-shadow .3s; }
.choice.card { padding: 20px 54px 20px 20px; }
.choice:hover { border-color: rgba(1, 247, 255, .4); transform: translateY(-2px); }
.choice input, .pill-check input, .check input, .chip input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice.is-checked { border-color: rgba(1, 247, 255, .8); background: rgba(0, 118, 255, .13); box-shadow: 0 0 0 1px rgba(1, 247, 255, .35), 0 0 34px rgba(0, 118, 255, .25); }
.choice:focus-within, .pill-check:focus-within, .check:focus-within, .chip:focus-within, .consent:focus-within .consent__box { outline: 2px solid var(--arc); outline-offset: 3px; }
.choice__name { font-size: 17px; font-weight: 660; color: var(--chrome); }
.choice__desc { font-size: 14px; color: var(--steel); line-height: 1.5; }
.choice__price { margin-top: 4px; font: 500 12px/1.4 var(--mono); color: var(--arc); }
.choice__check, .check__box, .consent__box { flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .5); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.choice__check { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; }
.choice__check svg, .check__box svg, .consent__box svg { width: 60%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease-out); }
.is-checked > .choice__check, .is-checked > .check__box, .consent.is-checked .consent__box { background: var(--grad-volt); border-color: transparent; box-shadow: 0 0 14px rgba(0, 118, 255, .6); }
.is-checked > .choice__check svg, .is-checked > .check__box svg, .consent.is-checked .consent__box svg { stroke-dashoffset: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-check { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .45); cursor: pointer; font-size: 15px; color: var(--chrome); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out), box-shadow .3s; }
.pill-check:hover { border-color: rgba(1, 247, 255, .45); transform: translateY(-2px); }
.pill-check__code { font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--arc); transition: color .3s; }
.pill-check.is-checked { background: var(--chrome); color: var(--on-chrome); border-color: transparent; box-shadow: 0 0 22px rgba(0, 118, 255, .45); }
.pill-check.is-checked .pill-check__code { color: var(--volt); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .45); cursor: pointer; font-size: 15px; color: var(--chrome); transition: border-color .3s, background-color .3s; }
.check:hover { border-color: rgba(1, 247, 255, .45); }
.check.is-checked { border-color: rgba(1, 247, 255, .6); background: rgba(0, 118, 255, .1); }
.check__box { width: 20px; height: 20px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .45); cursor: pointer; font-size: 14px; color: var(--steel); transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: rgba(1, 247, 255, .45); color: var(--chrome); }
.chip.is-checked { background: rgba(0, 118, 255, .16); border-color: rgba(1, 247, 255, .7); color: var(--chrome); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--site { margin-top: 26px; }
.field label { font-size: 14px; color: var(--steel); }
.field .opt { color: var(--slate); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .6); font: inherit; font-size: 16px; color: var(--chrome); transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(141, 151, 170, .7); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 4px rgba(0, 118, 255, .2); }
.field.has-error input { border-color: #ff7a7a; }
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--steel); line-height: 1.55; cursor: pointer; }
.consent__box { width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; }
.consent a { color: var(--chrome); text-decoration: underline; text-decoration-color: rgba(1, 247, 255, .5); text-underline-offset: 3px; }
.field-error { min-height: 0; margin-top: 10px; font-size: 13px; color: #ff8a8a; }
.field-error:empty { display: none; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote__nav .btn:only-child, .quote__nav [data-prev][hidden] + .btn { margin-left: auto; }
.btn__arrow--back { transform: rotate(180deg); }
.btn:hover .btn__arrow--back { transform: rotate(180deg) translateX(4px); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn__arrow { animation: spin .9s linear infinite; }

.summary { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); overflow: hidden; padding: 28px; border-radius: 24px; border: 1px solid rgba(0, 118, 255, .4); background: radial-gradient(120% 80% at 100% 0%, rgba(0, 96, 237, .25), transparent 60%), var(--ink-2); box-shadow: 0 30px 80px -30px rgba(0, 118, 255, .45); isolation: isolate; }
.summary__ring { position: absolute; right: -90px; top: -90px; width: 220px; aspect-ratio: 1; opacity: .55; z-index: -1; }
.summary__h { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--arc); }
.summary__label { margin-top: 20px; font-size: 13px; color: var(--slate); }
.summary__range { margin-top: 6px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 780; font-stretch: 110%; letter-spacing: -.04em; line-height: 1.08; font-variant-numeric: tabular-nums; }
.summary__sub { margin-top: 8px; font-size: 14px; color: var(--steel); }
.summary__sub:empty { display: none; }
.summary__rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.summary__rows dt { color: var(--slate); }
.summary__rows dd { margin: 0; color: var(--chrome); text-align: right; overflow-wrap: anywhere; }
.summary__extra { margin-top: 16px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(1, 247, 255, .4); font-size: 13px; color: var(--chrome); }
.summary__note { margin-top: 18px; font-size: 12px; color: var(--slate); line-height: 1.55; }

.quote__done { padding: clamp(20px, 4vw, 40px) 0 6px; text-align: center; }
.done-mark { position: relative; width: 120px; height: 120px; margin: 0 auto 26px; }
.done-mark .ring { border-width: 2px; }
.done-mark svg { position: absolute; inset: 28%; width: 44%; fill: none; stroke: var(--arc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px var(--arc)); animation: drawCheck .8s var(--ease-out) .3s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.quote__done h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 740; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.quote__done p { margin: 14px auto 0; max-width: 52ch; color: var(--steel); }
.quote__done .btn { margin-top: 26px; }
.fb-text { width: 100%; min-height: 220px; margin-top: 22px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(3, 5, 10, .6); font: 400 13px/1.6 var(--mono); color: var(--chrome); resize: vertical; text-align: left; }
.fb-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1040px) {
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: relative; top: 0; }
}
@media (max-width: 960px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
}
@media (max-width: 640px) {
  .choice-grid, .checks, .fields { grid-template-columns: minmax(0, 1fr); }
  .steps li { font-size: 10px; letter-spacing: .06em; }
  .quote__nav .btn { flex: 1 1 auto; }
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prose dd { margin-bottom: 10px; }
  .footer__legal { order: 3; width: 100%; }
}

/* ---------- Chargement : première visite seulement · attente des traductions ---------- */
.no-loader .loader { display: none !important; }
html.i18n-wait body { visibility: hidden; }

/* ---------- Curseur normal dans les champs de saisie ---------- */
.has-cursor :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea) { cursor: text !important; }
.has-cursor :is(select, input[type="checkbox"], input[type="radio"]) { cursor: pointer !important; }
.has-cursor .cursor.is-native { opacity: 0; }

/* ---------- Titres des pages intérieures : animés en CSS, visibles sans attendre le JS ---------- */
.intro { animation: introUp 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }
@keyframes introUp { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }

/* ---------- Lien d'évitement (clavier) ---------- */
.skip { position: fixed; left: 16px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 210; padding: 10px 14px; border-radius: 10px; background: var(--chrome); color: var(--on-chrome); font-weight: 600; transform: translateY(-180%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }
main:focus { outline: none; }

/* ---------- WhatsApp dans la carte téléphone ---------- */
.contact__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.contact__actions .copy { margin-top: 0; }
.copy--wa { display: inline-flex; align-items: center; gap: 7px; }
.copy--wa::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #25d366; box-shadow: 0 0 8px #25d366; }

/* ---------- Barre d'actions fixe (mobile) ---------- */
.mbar { display: none; }
.mbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 14px; font-weight: 600; color: var(--chrome); white-space: nowrap; }
.mbar__btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mbar__btn--quote { color: var(--on-chrome); background: var(--grad-chrome); border-color: transparent; box-shadow: inset 0 1px 0 #fff, 0 8px 24px -10px rgba(0, 118, 255, .6); }
.mbar__btn--wa svg { stroke: none; fill: #25d366; }
@media (max-width: 760px) {
  .mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 85;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(3, 5, 10, .86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .55s var(--ease-out);
  }
  .is-past-hero .mbar { transform: none; }
  .menu-open .mbar { transform: translateY(110%); }
  body:has(.mbar) .footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Suggestion de langue ---------- */
.lang-hint { position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; max-width: min(540px, calc(100vw - 32px)); padding: 10px 10px 10px 12px; border-radius: 16px; border: 1px solid rgba(1, 247, 255, .35); background: rgba(10, 15, 28, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .9), 0 0 30px rgba(0, 118, 255, .2); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.lang-hint.is-on { opacity: 1; transform: none; }
.lang-hint__code { flex: none; padding: 7px 8px; border-radius: 8px; background: rgba(0, 118, 255, .15); font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--arc); }
.lang-hint__text { min-width: 0; font-size: 14px; color: var(--chrome); }
.lang-hint__go { flex: none; padding: 9px 12px; border-radius: 10px; background: var(--grad-chrome); color: var(--on-chrome); font-size: 13px; font-weight: 650; white-space: nowrap; }
.lang-hint__x { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--slate); transition: color .2s, background-color .2s; }
.lang-hint__x:hover { color: var(--chrome); background: rgba(255, 255, 255, .06); }
.lang-hint__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 760px) {
  .lang-hint { left: 16px; right: 16px; max-width: none; flex-wrap: wrap; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body:not(:has(.mbar)) .lang-hint { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .lang-hint__text { flex: 1 1 55%; }
}

/* ---------- Page 404 ---------- */
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.e404__code { font-size: clamp(110px, 18vw, 220px); font-weight: 800; font-stretch: 125%; letter-spacing: -.06em; line-height: .85; background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.e404__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Réalisations (concepts de démonstration) ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.work__card { --rx: 0deg; --ry: 0deg; display: flex; flex-direction: column; gap: 18px; padding: 14px 14px 24px; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease-out), border-color .4s, opacity 1s var(--ease-out), filter 1s var(--ease-out); }
.js .work__card[data-reveal].is-in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.js .work__card[data-reveal].is-settled { transition: transform .6s var(--ease-out), border-color .4s; }
.work__card:hover { border-color: var(--line-2); }
.work__screen { position: relative; height: 300px; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .07); background: var(--wb); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.work__bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.work__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.work__bar span { margin: 0 auto; font: 400 10px/1 var(--mono); color: rgba(255, 255, 255, .45); }
.work__page { padding: 14px; transition: transform 4.5s cubic-bezier(.45, .05, .3, 1); }
.work__card:hover .work__page { transform: translateY(calc(-100% + 268px)); }
@media (hover: none) { .work__card.is-in .work__page { animation: workScroll 10s ease-in-out 1s infinite alternate; } }
@keyframes workScroll { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(calc(-100% + 268px)); } }
.wp-nav { display: flex; align-items: center; justify-content: space-between; }
.wp-logo { width: 46px; height: 10px; border-radius: 3px; background: var(--wa); }
.wp-links i { display: inline-block; width: 22px; height: 5px; margin-left: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.wp-langs { font: 600 8px/1 var(--mono); letter-spacing: .12em; color: var(--wa); }
.wp-hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 150px; margin-top: 14px; padding: 16px; border-radius: 10px; background: var(--wimg); }
.wp-h { max-width: 78%; font-size: 19px; font-weight: 720; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.wp-cta { align-self: flex-start; padding: 7px 12px; border-radius: 8px; background: var(--wa); color: var(--wink); font-size: 11px; font-weight: 650; }
.wp-section { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.wp-line { display: block; width: 100%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.wp-line--s { width: 55%; }
.wp-line--accent { width: 32%; background: var(--wa); opacity: .85; }
.wp-menu { margin-top: 12px; }
.wp-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.wp-item b { flex: none; width: 26px; height: 6px; border-radius: 3px; background: var(--wa); }
.wp-gallery, .wp-zone { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.wp-gallery i { height: 58px; border-radius: 8px; background: var(--wimg); }
.wp-zone { grid-template-columns: 1fr; position: relative; height: 90px; border-radius: 10px; background: var(--wc); overflow: hidden; }
.wp-zone i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--wa); translate: -50% -50%; opacity: .5; }
.wp-zone i:nth-child(1) { width: 30px; height: 30px; background: var(--wa); opacity: .9; }
.wp-zone i:nth-child(2) { width: 70px; height: 70px; }
.wp-zone i:nth-child(3) { width: 120px; height: 120px; opacity: .3; }
.wp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.wp-tile { display: flex; flex-direction: column; gap: 6px; padding: 9px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .06); background: var(--wc); }
.wp-tile i { width: 16px; height: 16px; border-radius: 5px; background: var(--wa); opacity: .85; }
.wp-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin-top: 12px; }
.wp-search span { height: 22px; border-radius: 6px; background: var(--wc); }
.wp-search b { width: 54px; height: 22px; border-radius: 6px; background: var(--wa); }
.wp-props { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wp-prop { overflow: hidden; border-radius: 8px; background: var(--wc); }
.wp-prop .ph { display: block; height: 56px; background: var(--wimg2); }
.wp-prop .tx { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.wp-foot { height: 40px; margin-top: 18px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.work--resto { --wa: #e9b56f; --wink: #1a1008; --wb: #140e0a; --wc: #221812; --wimg: radial-gradient(circle at 75% 30%, rgba(233, 181, 111, .55), transparent 55%), linear-gradient(160deg, #3a2414, #120b07); }
.work--build { --wa: #ff8a3d; --wink: #1b0d03; --wb: #0f1316; --wc: #182027; --wimg: linear-gradient(120deg, rgba(255, 138, 61, .38), transparent 62%), repeating-linear-gradient(45deg, #1b252e 0 10px, #16202a 10px 20px); }
.work--immo { --wa: #4fd1c5; --wink: #04201d; --wb: #0b1416; --wc: #13211f; --wimg: radial-gradient(circle at 30% 30%, rgba(79, 209, 197, .45), transparent 55%), linear-gradient(160deg, #123230, #081110); --wimg2: linear-gradient(135deg, #1d3d3a, #0e2220); }
.work__meta { padding: 0 8px; }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.work__top h3 { font-size: 20px; font-weight: 660; font-stretch: 106%; letter-spacing: -.02em; }
.work__badge { flex: none; padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(1, 247, 255, .5); font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--arc); }
.work__tags { margin-top: 8px; font: 500 12px/1.5 var(--mono); color: var(--steel); }
.work__note { margin-top: 6px; font-size: 13px; color: var(--slate); }
@media (max-width: 960px) { .work__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* ---------- Réservation d'appel ---------- */
.btn__cal { transform: none !important; }
.step__link { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--chrome); text-decoration: underline; text-decoration-color: rgba(1, 247, 255, .5); text-underline-offset: 4px; transition: color .3s; }
.step__link:hover { color: var(--arc); }
.summary__book { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel); }
.summary__book a { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--chrome); text-decoration: underline; text-decoration-color: rgba(1, 247, 255, .5); text-underline-offset: 4px; }
.summary__book a:hover { color: var(--arc); }

/* ---------- Transition entre les pages de langue ---------- */
.wipe-in .lang-wipe { visibility: visible; pointer-events: none; }
.wipe-in .lang-wipe__panel { transform: translateX(0) skewX(-16deg); animation: wipeOut .75s var(--ease-io) .12s forwards; }
.wipe-in .lang-wipe__label { display: none; }
@keyframes wipeOut { to { transform: translateX(102%) skewX(-16deg); } }
