/* ============================================================================
   MELCO — Feuille de style principale
   Identité : brandbook Melco v1.0 (Softriver)
   Navy #00244F · Violet #5E4EFF · Dégradé #4D4CFF → #371ABB
   Aucune dépendance externe : pas de CDN, pas de police distante (RGPD + perf).
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */

:root {
  /* Marque — valeurs issues du brandbook */
  --navy-900: #00152F;
  --navy-800: #001E42;
  --navy-700: #00244F;   /* Primary charte */
  --navy-600: #003773;

  --violet-700: #26038A;
  --violet-600: #371ABB;
  --violet-500: #4D4CFF;
  --violet-400: #5E4EFF; /* Secondary charte */
  --violet-300: #8A80FF;
  --violet-200: #B9BCFF;
  --violet-100: #E7E3F7;
  --violet-050: #F4F1FE;

  /* Surfaces */
  --paper:      #FBFAFF;
  --paper-warm: #F7F5FF;
  --white:      #FFFFFF;

  /* Texte */
  --ink:        #00244F;
  --ink-muted:  #55617A;
  --ink-subtle: #8A93A8;
  --ink-invert: #FFFFFF;
  --ink-invert-muted: #A9B4C6;

  /* Lignes */
  --line:       #E4E0F4;
  --line-strong:#D2CCEC;
  --line-dark:  rgba(255, 255, 255, .12);

  /* Verre */
  --glass-bg:      rgba(255, 255, 255, .62);
  --glass-bg-hi:   rgba(255, 255, 255, .82);
  --glass-border:  rgba(255, 255, 255, .78);
  --glass-blur:    18px;
  --glass-bg-dark:     rgba(255, 255, 255, .055);
  --glass-bg-dark-hi:  rgba(255, 255, 255, .10);
  --glass-border-dark: rgba(255, 255, 255, .14);

  /* Ombres — teintées violet plutôt que noires */
  --shadow-sm: 0 2px 8px rgba(0, 36, 79, .06), 0 1px 2px rgba(0, 36, 79, .04);
  --shadow-md: 0 12px 32px -12px rgba(28, 20, 90, .18), 0 2px 8px rgba(0, 36, 79, .05);
  --shadow-lg: 0 32px 64px -24px rgba(28, 20, 90, .28), 0 8px 20px -12px rgba(0, 36, 79, .12);
  --shadow-brand: 0 16px 40px -14px rgba(94, 78, 255, .55);

  /* Rythme */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-full: 999px;

  --container: 1200px;
  --container-narrow: 780px;

  /* Mouvement */
  --ease-out:   cubic-bezier(.22, .61, .36, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --ease-spring:cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 520ms;

  /* Typographie — Helvetica (charte) avec repli grotesque système.
     Pour self-héberger Inter : décommenter le bloc @font-face plus bas. */
  --font-sans: "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/*
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap; font-style: normal;
}
*/

/* ------------------------------------------------------------- 2. Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--violet-400);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible { outline-color: var(--violet-300); }

::selection { background: var(--violet-400); color: #fff; }

/* --------------------------------------------------------- 3. Utilitaires */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

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

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--navy-700); color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; text-decoration: none;
  transition: transform var(--t-base) var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ------------------------------------------------------- 4. Typographie */

.display {
  font-size: clamp(2.35rem, 1.5rem + 3vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.h2 {
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.h3 { font-size: clamp(1.14rem, 1.05rem + .4vw, 1.35rem); line-height: 1.25; }

.lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-muted);
}
.section--dark .lead { color: var(--ink-invert-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--violet-600);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--violet-400), var(--violet-600));
}
.section--dark .eyebrow { color: var(--violet-300); }
.section--dark .eyebrow::before {
  background: linear-gradient(90deg, var(--violet-300), var(--violet-500));
}

.text-grad {
  background: linear-gradient(102deg, var(--violet-500) 0%, var(--violet-600) 55%, var(--violet-700) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--dark .text-grad {
  background: linear-gradient(102deg, #A9A0FF 0%, var(--violet-300) 50%, var(--violet-500) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ------------------------------------------------------------ 5. Boutons */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: var(--violet-400); color: #fff;
  font-size: .97rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 80ms; }

.btn--primary {
  background: linear-gradient(135deg, var(--violet-500) 0%, var(--violet-600) 100%);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 22px 48px -14px rgba(94, 78, 255, .68); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--violet-400); color: var(--violet-600); background: var(--violet-050); }

.section--dark .btn--ghost,
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  color: #fff; border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
}

.btn__arrow { transition: transform var(--t-base) var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ------------------------------------------------- 6. Fond & auras */

.aura-field {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
  background: var(--paper);
}
.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.aura--1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -14vw; right: -10vw;
  background: radial-gradient(circle at 40% 40%, rgba(94, 78, 255, .5), rgba(94, 78, 255, 0) 70%);
}
.aura--2 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  top: 42vh; left: -14vw;
  background: radial-gradient(circle at 60% 40%, rgba(55, 26, 187, .3), rgba(55, 26, 187, 0) 70%);
}
.aura--3 {
  width: 52vw; height: 52vw; min-width: 400px; min-height: 400px;
  bottom: -18vw; right: -8vw;
  background: radial-gradient(circle at 50% 50%, rgba(0, 55, 115, .24), rgba(0, 55, 115, 0) 70%);
}

/* -------------------------------------------------------- 7. En-tête */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: padding var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  padding: .6rem 0;
  background: rgba(251, 250, 255, .72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(0, 36, 79, .35);
}

/* Jauge de progression de lecture */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet-400), var(--violet-600), var(--violet-300));
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
}
.header.is-stuck .progress { opacity: 1; }

.header__inner { display: flex; align-items: center; gap: var(--sp-5); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 132px; }
.brand__dark { display: none; }

/* En-tête posé sur un hero sombre : inverser tant qu'il n'est pas figé */
.header--on-dark:not(.is-stuck) .brand__light { display: none; }
.header--on-dark:not(.is-stuck) .brand__dark  { display: block; }
.header--on-dark:not(.is-stuck) .nav__link { color: rgba(255, 255, 255, .76); }
.header--on-dark:not(.is-stuck) .nav__link:hover,
.header--on-dark:not(.is-stuck) .nav__link.is-active { color: #fff; }
.header--on-dark:not(.is-stuck) .nav__link:hover { background: rgba(255, 255, 255, .1); }
.header--on-dark:not(.is-stuck) .burger {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}
.header--on-dark:not(.is-stuck) .burger__bars,
.header--on-dark:not(.is-stuck) .burger__bars::before,
.header--on-dark:not(.is-stuck) .burger__bars::after { background: #fff; }
.header--on-dark:not(.is-stuck) .burger[aria-expanded="true"] .burger__bars { background: transparent; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 .95rem;
  border-radius: var(--r-full);
  font-size: .93rem; font-weight: 500;
  color: var(--ink-muted); text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav__link:hover { color: var(--ink); background: rgba(94, 78, 255, .08); }
.nav__link.is-active { color: var(--violet-600); font-weight: 600; }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 46px; height: 46px; margin-left: auto;
  align-items: center; justify-content: center;
  background: var(--glass-bg); border: 1px solid var(--line);
  border-radius: var(--r-md); cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.burger__bars { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: background-color var(--t-fast) var(--ease-out); }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out);
}
.burger__bars::before { top: -6px; }
.burger__bars::after  { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  display: grid; align-content: start;
  gap: .25rem;
  padding: 6.5rem clamp(1.25rem, 5vw, 2rem) 2rem;
  background: rgba(251, 250, 255, .92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility var(--t-base);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a:not(.btn) {
  padding: 1rem .25rem;
  font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: var(--sp-5); }

/* Le tiroir est clair : l'en-tête repasse en version sombre-sur-clair */
.header--on-dark.is-drawer-open .brand__light { display: block; }
.header--on-dark.is-drawer-open .brand__dark  { display: none; }
.header--on-dark.is-drawer-open .burger { background: var(--glass-bg); border-color: var(--line); }
.header--on-dark.is-drawer-open .burger__bars::before,
.header--on-dark.is-drawer-open .burger__bars::after { background: var(--ink); }

/* ---------------------------------------------------------- 8. Sections */

.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--dark {
  color: var(--ink-invert);
  background: linear-gradient(168deg, var(--navy-900) 0%, #001A38 45%, #10105E 100%);
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 82% 8%,  rgba(94, 78, 255, .28), transparent 65%),
    radial-gradient(55% 55% at 10% 92%, rgba(55, 26, 187, .26), transparent 68%);
}
.section--dark > .container { position: relative; z-index: 1; }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head .lead { margin-top: var(--sp-4); }

/* ------------------------------------------------------------- 9. Hero */

.hero {
  position: relative;
  padding: clamp(8.5rem, 16vh, 11rem) 0 clamp(4rem, 8vw, 7rem);
  color: #fff;
  background: linear-gradient(158deg, var(--navy-900) 0%, var(--navy-700) 38%, #24169C 78%, var(--violet-600) 100%);
  overflow: hidden;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 46% at 88% 6%, rgba(138, 128, 255, .42), transparent 62%),
    radial-gradient(60% 50% at 6% 96%, rgba(0, 55, 115, .5), transparent 68%);
}
.hero > .container { position: relative; z-index: 2; }

/* L'emblème de la charte, poussé bien au-delà des bords du hero : il n'en
   reste que des lignes et des courbes qui traversent tout le fond coloré.
   max-width:none est indispensable — le reset plafonne sinon les SVG à 100 %
   de leur conteneur, et l'agrandissement n'a plus aucun effet. */
.hero__mark {
  position: absolute;
  top: -38%; left: -108%;
  width: 265%;
  max-width: none;
  height: auto;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, var(--mark-y, 0px), 0);
}

.hero__grid {
  display: grid; gap: clamp(2.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: center;
}
/* Les sauts de ligne du titre sont voulus : on désactive l'équilibrage auto */
.hero h1 { text-wrap: initial; color: #fff; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .55rem;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .84rem; font-weight: 500; color: rgba(255, 255, 255, .92);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
  flex-shrink: 0;
}

.hero h1 .text-grad {
  background: linear-gradient(100deg, #FFFFFF 0%, #C7C0FF 42%, var(--violet-300) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__lead {
  max-width: 50ch; margin-top: var(--sp-5);
  font-size: clamp(1.06rem, 1rem + .4vw, 1.28rem);
  line-height: 1.6; color: rgba(255, 255, 255, .84);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin-top: var(--sp-6);
  font-size: .87rem; color: rgba(255, 255, 255, .7);
}
.hero__meta li { display: flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--violet-300); flex-shrink: 0; }

/* Carte « console » en verre */
.hero__panel {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 40px 80px -32px rgba(0, 8, 40, .7);
}
.hero__panel-top {
  display: flex; align-items: center; gap: .5rem;
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.hero__panel-top .dots { display: flex; gap: .35rem; }
.hero__panel-top .dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.hero__panel-top span {
  margin-left: auto;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .06em; color: rgba(255, 255, 255, .5);
}

.stack-list { display: grid; gap: .55rem; }
.stack-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: .85rem;
  padding: .75rem .9rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.stack-row:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  transform: translateX(3px);
}
.stack-row__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(94, 78, 255, .38), rgba(55, 26, 187, .38));
  border: 1px solid rgba(255, 255, 255, .14);
  color: #C7C0FF;
}
.stack-row__icon svg { width: 17px; height: 17px; }
.stack-row__label { font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .94); }
.stack-row__label small {
  display: block; font-size: .76rem; font-weight: 400;
  color: rgba(255, 255, 255, .5);
}
.stack-row__state {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: var(--r-full);
  color: #86EFAC; background: rgba(74, 222, 128, .12);
  border: 1px solid rgba(74, 222, 128, .24);
}

/* --------------------------------------------- 10. Bandeau de confiance */

.trustbar { position: relative; z-index: 3; margin-top: -2.75rem; }
.trustbar__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}
.trustbar__item {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.trustbar__value {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700; letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--violet-600);
}
.trustbar__label {
  margin-top: .3rem;
  font-size: .85rem; line-height: 1.4; color: var(--ink-muted);
}

/* ---------------------------------------------------- 11. Proximité */

.proximity {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
}
.proximity__quote {
  font-size: clamp(1.3rem, 1.1rem + 1.1vw, 1.85rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--sp-5);
}
.proximity p + p { margin-top: var(--sp-4); }
.proximity p { color: var(--ink-muted); }

.signature {
  display: flex; align-items: center; gap: 1rem;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.signature__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  flex-shrink: 0;
}
.signature__mark img { width: 24px; }
.signature__name { display: block; font-weight: 600; letter-spacing: -.02em; }
.signature__role { display: block; font-size: .87rem; color: var(--ink-muted); }

.proximity__points { display: grid; gap: .9rem; }
.proximity__point {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.proximity__point svg { width: 20px; height: 20px; color: var(--violet-500); flex-shrink: 0; margin-top: 2px; }
.proximity__point strong { display: block; font-weight: 600; letter-spacing: -.015em; }
.proximity__point span { font-size: .9rem; color: var(--ink-muted); }

/* ----------------------------------------------- 11b. Deux publics
   Entreprises et particuliers ne cherchent pas la même chose : deux colonnes
   de poids visuel égal, chacune avec sa propre sortie.                     */

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.audience__card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.audience__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet-400), var(--violet-600));
}
.audience__card--perso::before {
  background: linear-gradient(90deg, var(--navy-600), var(--violet-400));
}

.audience__kicker {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: var(--sp-4);
}
.audience__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  box-shadow: 0 10px 22px -10px rgba(94, 78, 255, .7);
}
.audience__card--perso .audience__icon {
  background: linear-gradient(135deg, var(--navy-600), var(--violet-500));
  box-shadow: 0 10px 22px -10px rgba(0, 55, 115, .7);
}
.audience__icon svg { width: 21px; height: 21px; }
.audience__label {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-subtle);
}
.audience__card h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -.03em; }
.audience__pitch { margin-top: .6rem; color: var(--ink-muted); font-size: .97rem; }

.audience__link {
  display: inline-flex; align-items: center; gap: .5rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto; padding-top: var(--sp-5);
  font-size: .95rem; font-weight: 600;
  color: var(--violet-600); text-decoration: none;
}
.audience__link svg { transition: transform var(--t-base) var(--ease-spring); }
.audience__link:hover svg { transform: translateX(4px); }
.audience__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------- 12. Cartes verre */

.card {
  position: relative;
  padding: clamp(1.5rem, 2.2vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .55), transparent 45%);
}
.card > * { position: relative; }

.card--link { cursor: default; }
.card--link:hover, .card--link:focus-within {
  transform: translateY(-5px);
  background: var(--glass-bg-hi);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  color: #fff;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  box-shadow: 0 10px 24px -10px rgba(94, 78, 255, .7);
  transition: transform var(--t-base) var(--ease-spring);
}
.card__icon svg { width: 23px; height: 23px; }
.card--link:hover .card__icon { transform: scale(1.06) rotate(-3deg); }

.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-muted); font-size: .95rem; }

.card__list { margin-top: var(--sp-4); display: grid; gap: .45rem; }
.card__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .89rem; line-height: 1.5;
  color: var(--ink-muted);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 6px; height: 6px; border-radius: 2px;
  background: linear-gradient(135deg, var(--violet-400), var(--violet-600));
}

/* ------------------------------------------------------- 13. Prestations */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 1.6vw, 1.4rem);
}

.services-note {
  margin-top: var(--sp-6);
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, .5);
  font-size: .93rem; color: var(--ink-muted);
}
.services-note strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------- 14. Parcours (le fil)
   Une ligne continue, tracée au fil du défilement, qui relie les étapes du
   projet. Le tracé est généré en JS à partir de la position réelle des
   jalons : il reste juste quelle que soit la hauteur du contenu.          */

.journey {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: start;
}
.journey__intro { position: sticky; top: 8rem; }

.journey__track { position: relative; padding-left: 76px; }

.journey__line {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journey__line path {
  fill: none;
  stroke: url(#journeyGradient);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.journey__line .journey__rail { stroke: rgba(255, 255, 255, .1); }
.journey__line .journey__draw {
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 0));
  filter: drop-shadow(0 0 7px rgba(138, 128, 255, .55));
}

.journey__steps { display: grid; gap: clamp(2.25rem, 4vw, 3.25rem); }

.journey__step { position: relative; }
.journey__step::before {
  content: "";
  position: absolute;
  left: -76px; top: .45rem;
  width: 14px; height: 14px;
  margin-left: 21px;              /* centre du rail : 56/2 - 14/2 */
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid rgba(255, 255, 255, .22);
  transition: background-color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-spring);
}
.journey__step.is-reached::before {
  background: var(--violet-400);
  border-color: var(--violet-200);
  box-shadow: 0 0 0 6px rgba(94, 78, 255, .18);
  transform: scale(1.15);
}

.journey__num {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .14em;
  color: var(--violet-300);
  opacity: .65;
  transition: opacity var(--t-base) var(--ease-out);
}
.journey__step.is-reached .journey__num { opacity: 1; }
.journey__step h3 { margin: .35rem 0 .5rem; }
.journey__step p { font-size: .96rem; color: var(--ink-invert-muted); }

/* --------------------------------------------------- 15. Engagements */

.included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.included__item {
  display: flex; gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.included__check {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-400), var(--violet-600));
}
.included__check svg { width: 16px; height: 16px; }
.included__item h3 { font-size: 1rem; margin-bottom: .25rem; }
.included__item p { font-size: .89rem; color: var(--ink-muted); }

/* ------------------------------------------------------- 16. Réalisation */

.case {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.case__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-5); }
.tag {
  padding: .35rem .8rem;
  border-radius: var(--r-full);
  font-size: .8rem; font-weight: 500;
  color: var(--violet-600);
  background: var(--violet-050);
  border: 1px solid var(--violet-100);
}
.section--dark .tag {
  color: #C7C0FF;
  background: rgba(94, 78, 255, .14);
  border-color: rgba(138, 128, 255, .3);
}

.case__metrics {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.case__metric {
  padding: 1.5rem;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.case__metric dt { font-size: .82rem; color: var(--ink-muted); margin-bottom: .3rem; }
.case__metric dd {
  margin: 0;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink);
}

/* ---------------------------------------------------------------- 17. FAQ */

.faq { display: grid; gap: .75rem; }
.faq__item {
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}
.faq__item.is-open { border-color: var(--violet-200); background: rgba(255, 255, 255, .82); }
.faq__btn {
  width: 100%; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink);
}
.faq__icon { flex-shrink: 0; position: relative; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--violet-500);
  transition: transform var(--t-base) var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 1.35rem 1.25rem; font-size: .95rem; color: var(--ink-muted); }

/* ------------------------------------------------------------ 18. Contact */

.contact {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
}
.contact__info .lead { margin-bottom: var(--sp-6); }
.contact__direct { display: grid; gap: 1rem; }
.contact__direct a, .contact__direct p {
  display: flex; align-items: center; gap: .85rem;
  font-size: .97rem; color: var(--ink-invert-muted);
  text-decoration: none;
}
.contact__direct a:hover { color: #fff; }
.contact__direct svg { width: 18px; height: 18px; color: var(--violet-300); flex-shrink: 0; }
.contact__direct strong { color: #fff; font-weight: 600; }

.form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 40px 80px -32px rgba(0, 8, 40, .6);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .45rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }

.field label { font-size: .87rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.field .hint { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: .8rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: border-color var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23A9B4C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field select option { background: var(--navy-800); color: #fff; }
.field select optgroup { background: var(--navy-900); color: var(--violet-200); font-style: normal; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--violet-300);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 4px rgba(94, 78, 255, .22);
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }

.form__consent {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .62);
}
.form__consent input {
  width: 18px; height: 18px; min-height: 0;
  margin-top: .15rem; padding: 0;
  accent-color: var(--violet-400); flex-shrink: 0;
}
.form__consent a { color: var(--violet-300); }

/* Piège à robots : sorti du flux, jamais annoncé, jamais focusable */
.form__trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* Widget antibot Turnstile. Reste masqué tant qu'aucune clé de site n'est
   renseignée sur le formulaire — l'attribut [hidden] suffit, mais on le
   double ici pour couvrir une éventuelle surcharge de display. */
.form__turnstile[hidden] { display: none; }
.form__turnstile {
  min-height: 65px;                /* réserve la place : évite un décalage de mise en page */
  display: flex; justify-content: center;
}
.form__turnstile iframe { border-radius: var(--r-sm); }

.form .btn { width: 100%; }
.form__status { font-size: .88rem; min-height: 1.2em; color: var(--violet-300); }

/* ------------------------------------------------------- 19. CTA final */

.cta-band {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(130deg, var(--violet-500) 0%, var(--violet-600) 50%, var(--violet-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
  text-align: center;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: var(--sp-4) auto 0; max-width: 50ch; color: rgba(255, 255, 255, .85); }
.cta-band .btn {
  margin-top: var(--sp-6);
  background: #fff; color: var(--violet-600);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .4);
}
.cta-band .btn:hover { background: #fff; color: var(--violet-700); }

/* ---------------------------------------------------------- 20. Pied de page */

.footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  background: var(--navy-900);
  color: var(--ink-invert-muted);
}
.footer__top {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line-dark);
}
.footer .brand img { width: 128px; }
.footer__tagline { margin-top: var(--sp-4); max-width: 40ch; font-size: .92rem; }
.footer h4 {
  margin: 0 0 var(--sp-4);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: #fff;
}
.footer__links { display: grid; gap: .6rem; }
.footer__links a {
  font-size: .91rem; text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__links a:hover { color: #fff; }

.footer__area {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line-dark);
}
.footer__area p { font-size: .86rem; line-height: 1.7; max-width: 78ch; }
.footer__area span { color: var(--ink-subtle); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  font-size: .82rem; color: var(--ink-subtle);
}
.footer__legal { max-width: 68ch; line-height: 1.6; }

/* ------------------------------------------------- 21. Page mentions légales */

.legal { padding: clamp(8rem, 15vh, 10rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h1 { margin-bottom: var(--sp-6); }
.legal h2 { margin: var(--sp-7) 0 var(--sp-3); font-size: 1.3rem; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--ink-muted); font-size: .97rem; }
.legal p + p { margin-top: var(--sp-3); }
.legal ul { margin-top: var(--sp-3); display: grid; gap: .5rem; }
.legal li { position: relative; padding-left: 1.35rem; }
.legal li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--violet-400);
}
.legal a { color: var(--violet-600); }
.legal__back {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: var(--sp-5);
  font-size: .92rem; font-weight: 500; color: var(--violet-600);
  text-decoration: none;
}
.legal__back:hover { text-decoration: underline; }

/* ------------------------------------------------------ 22. Animations */

/* Apparition au défilement. La variante par défaut monte ; les variantes
   directionnelles servent aux blocs qui se font face, pour que le mouvement
   suive la lecture au lieu de la contrarier. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal--left  { transform: translate3d(-30px, 0, 0); }
.reveal--right { transform: translate3d(30px, 0, 0); }
.reveal--scale { transform: translate3d(0, 20px, 0) scale(.965); }

.reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* Entrée du hero au chargement, en cascade.
   fill-mode backwards (et non both) : une fois l'animation terminée, les
   styles normaux reprennent la main — sinon le transform figé casserait
   les effets de survol des lignes du panneau. */
@keyframes enter-up {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: none; }
}
.hero__enter {
  animation: enter-up .72s var(--ease-out) backwards;
  animation-delay: var(--enter-delay, 0ms);
}
.hero__panel .stack-row {
  animation: enter-up .6s var(--ease-out) backwards;
}
.hero__panel .stack-row:nth-child(1) { animation-delay: .40s; }
.hero__panel .stack-row:nth-child(2) { animation-delay: .47s; }
.hero__panel .stack-row:nth-child(3) { animation-delay: .54s; }
.hero__panel .stack-row:nth-child(4) { animation-delay: .61s; }
.hero__panel .stack-row:nth-child(5) { animation-delay: .68s; }

/* Repli sans JS : tout est visible, rien n'est animé */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero__enter, .no-js .hero__panel .stack-row { animation: none; }
.no-js .journey__draw { stroke-dashoffset: 0; }
.no-js .journey__step::before { background: var(--violet-400); border-color: var(--violet-200); }

@keyframes float-slow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -26px, 0); }
}
.aura--1 { animation: float-slow 17s var(--ease-soft) infinite; }
.aura--2 { animation: float-slow 22s var(--ease-soft) infinite reverse; }
.aura--3 { animation: float-slow 26s var(--ease-soft) infinite; }

/* --------------------------------------------------------- 23. Responsive */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .hero__mark { top: -14%; left: -170%; width: 400%; }
  .contact, .case, .proximity, .audience { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey__intro { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  .hero { padding-top: 7.5rem; }
  .hero__actions .btn { width: 100%; }
  .trustbar { margin-top: -1.5rem; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .case__metrics { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Le libellé passe sur deux lignes : l'état descend sous le texte */
  .stack-row { grid-template-columns: auto 1fr; align-items: start; row-gap: .45rem; }
  .stack-row__icon { margin-top: 1px; }
  .stack-row__state { grid-column: 2; justify-self: start; }

  /* Fil resserré */
  .journey__track { padding-left: 46px; }
  .journey__line { width: 32px; }
  .journey__step::before { left: -46px; margin-left: 9px; }
}

/* --------------------------------------------- 24. Préférences & impression */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__enter, .hero__panel .stack-row { animation: none; }
  .journey__draw { stroke-dashoffset: 0; }
  .journey__step::before { background: var(--violet-400); border-color: var(--violet-200); }
  .hero__mark { transform: none; }
}

/* Repli si backdrop-filter n'est pas supporté : on opacifie les surfaces */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .trustbar__item, .included__item, .faq__item, .proximity__point {
    background: rgba(255, 255, 255, .94);
  }
  .header.is-stuck { background: rgba(251, 250, 255, .97); }
  .hero__panel, .form { background: rgba(255, 255, 255, .12); }
  .drawer { background: var(--paper); }
}

@media print {
  .header, .drawer, .aura-field, .hero__mark, .hero__panel, .form, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
