/* ==========================================================================
   Template « Réparation de smartphones » — feuille de styles
   Créé par Ayoub Chouaf · https://ayoubchouaf.fr
   Couleurs, polices, arrondis et ombres : section 1 (Tokens). Fichiers des polices : section 0.
   Pour changer la couleur d’accent, modifiez --blue, --blue-strong, --blue-soft et --blue-deep.

   Sommaire
    0. Polices
    1. Tokens
    2. Base
    3. Layout & typographie
    4. Boutons & liens
    5. Révélations au scroll
    6. Header
    7. Menu mobile
    8. Hero
    9. Cartes flottantes
   10. Bande de confiance
   11. Services
   12. Formulaire de devis
   13. Fonctionnement
   14. Transparence (bento)
   15. Atelier
   16. Récupération & livraison
   17. Reconditionnés
   18. Avant / après
   19. Avis
   20. FAQ
   21. Dernier CTA
   22. Footer
   23. Barre d’actions mobile
   24. Pages légales
   25. États d’interaction complémentaires
   26. Curseur personnalisé
   27. Photos à remplacer
   28. Bouton de crédit
   29. Page 404
   30. Mouvement réduit
   ========================================================================== */

/* ---------- 0. Polices ----------
   Hébergées sur le site, dans assets/fonts : aucune requête vers Google Fonts.
   Licence SIL Open Font License (fichiers LICENCE-*.txt dans assets/fonts).
   Pour changer de police : remplacez les fichiers .woff2 et les règles ci-dessous,
   puis --font-display, --font-sans et --font-mono (section 1). */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #17191c;
  --ink-soft: #26292e;
  --paper: #ffffff;
  --mist: #f2f2f3;
  --fog: #fafafb;
  --slate: #777b86;
  --ash: #979799;
  --smoke: #a3a6af;
  --blue: #2f6bff;
  --blue-strong: #1b4bd8;
  --blue-soft: #e9f0ff;
  --blue-deep: #10265e;
  --line: #ececec;
  --line-strong: #e1e1e4;

  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-card: 24px;
  --radius-elevated: 20px;
  --radius-input: 16px;
  --radius-image: 12px;
  --radius-pill: 9999px;

  --shadow-float: 0 0 0 1px rgba(4, 23, 43, .05), 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-pop: 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 40px rgba(0, 0, 0, .1);
  --shadow-soft: 0 0 0 1px rgba(0, 0, 0, .05), 0 4px 24px rgba(0, 0, 0, .08);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(88px, 11vw, 144px);
  --header-h: 76px;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 68px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
strong { font-weight: 550; }
::selection { background: var(--blue-soft); color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--radius-pill); transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout & typographie ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--fog { background: var(--fog); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: grid; justify-items: center; gap: 18px;
  max-width: 780px; margin: 0 auto clamp(48px, 6vw, 76px);
  text-align: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
}
.eyebrow--warm { color: var(--blue-deep); }
.eyebrow--warm::before { background: var(--blue-deep); box-shadow: 0 0 0 4px rgba(16, 38, 94, .12); }
.eyebrow--light { color: rgba(255, 255, 255, .62); }
.eyebrow--light::before { background: var(--blue-soft); box-shadow: 0 0 0 4px rgba(47, 107, 255, .25); }

.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(42px, 5.8vw, 76px); line-height: 1;
  letter-spacing: -0.02em; text-wrap: balance;
}
.h3-display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 3.8vw, 50px); line-height: 1.02; letter-spacing: -0.015em;
}
.lead {
  max-width: 620px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5;
  color: var(--slate); text-wrap: pretty;
}

/* ---------- 4. Boutons & liens ---------- */
.btn {
  --btn-h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 15.5px; font-weight: 480; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
    border-color .35s, box-shadow .4s var(--ease-out), translate .6s var(--ease-out), scale .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn__arrow { transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { scale: .97; }
.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.btn--lg { --btn-h: 56px; padding: 0 26px; font-size: 16px; }
.btn--xl { --btn-h: 64px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 24px -12px rgba(23, 25, 28, .55);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform 1s var(--ease-out);
}
.btn--primary:hover { background: var(--ink-soft); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 34px -14px rgba(23, 25, 28, .6), 0 0 28px -6px rgba(47, 107, 255, .6); }
.btn--primary:hover::after { transform: translateX(110%); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(102%); transition: transform .55s var(--ease-out);
}
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover::before { transform: none; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); color: var(--blue-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding-block: 8px;
  font-weight: 480;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: calc(100% - 26px) 1px; }
.link-arrow:hover .icon { transform: translateX(4px); }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- 5. Révélations au scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms),
    filter 1s var(--ease-out) var(--d, 0ms), scale 1s var(--ease-spring) var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.965); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal="pop"] { transform: none; scale: .86; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="pop"].is-in { scale: 1; }
@media (hover: hover) and (min-width: 900px) {
  .js [data-reveal]:not(.is-in) { filter: blur(8px); }
}

.js [data-split]:not(.is-split) { opacity: 0; }
[data-split] .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 .07em .14em; margin: 0 -.07em -.14em;
}
[data-split] .wi {
  display: inline-block; transform: translate3d(0, 115%, 0) rotate(5deg); transform-origin: 0 100%;
  transition: transform 1.15s var(--ease-out) var(--wd, 0ms);
}
[data-split].is-in .wi { transform: none; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 10px var(--gutter) 0; pointer-events: none;
  transition: translate .5s var(--ease-out);
}
.site-header__inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--container); height: calc(var(--header-h) - 10px);
  margin-inline: auto; padding: 0 8px 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out),
    max-width .7s var(--ease-out), border-color .5s;
}
.site-header.is-scrolled .site-header__inner {
  max-width: 1140px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-soft);
}
.menu-open .site-header .site-header__inner { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 25px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }

.nav { position: relative; }
.nav__list { position: relative; z-index: 1; display: flex; gap: 2px; }
.nav__link {
  display: block; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 450; color: var(--ink); white-space: nowrap;
}
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 100%;
  width: var(--w, 0px); translate: var(--x, 0px) 0;
  background: var(--mist); border-radius: var(--radius-pill); opacity: 0;
  transition: translate .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}
.nav.show-indicator .nav__indicator { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: #fff;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .header-actions .btn { display: none; }
  .site-header__inner { padding-left: 14px; padding-right: 6px; }
}

/* ---------- 7. Menu mobile ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--paper); overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path .75s var(--ease-in-out), visibility 0s; }
.mobile-menu__list { display: grid; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(36px, 10vw, 54px); line-height: 1.1; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.mobile-menu__link span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ash); }
.menu-open .mobile-menu__link { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) .mobile-menu__link { transition-delay: .22s; }
.menu-open .mobile-menu__list li:nth-child(2) .mobile-menu__link { transition-delay: .28s; }
.menu-open .mobile-menu__list li:nth-child(3) .mobile-menu__link { transition-delay: .34s; }
.menu-open .mobile-menu__list li:nth-child(4) .mobile-menu__link { transition-delay: .40s; }
.menu-open .mobile-menu__list li:nth-child(5) .mobile-menu__link { transition-delay: .46s; }
.menu-open .mobile-menu__list li:nth-child(6) .mobile-menu__link { transition-delay: .52s; }
.mobile-menu__actions {
  display: grid; gap: 10px; opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.menu-open .mobile-menu__actions { opacity: 1; transform: none; transition-delay: .55s; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(44px, 6.5vw, 92px));
  padding-bottom: clamp(88px, 10vw, 150px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -34%;
  width: min(1500px, 160vw); aspect-ratio: 1.5; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .22), rgba(47, 107, 255, 0));
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 900px;
  background-image: linear-gradient(to right, rgba(23, 25, 28, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 25, 28, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px 6px 14px;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .75); box-shadow: var(--shadow-soft);
  font-size: 14px; font-weight: 450;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__title {
  margin-top: 26px; max-width: 1120px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(50px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; }
.hero__lead {
  margin-top: 26px; max-width: 640px;
  font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; color: var(--slate); text-wrap: pretty;
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__proofs { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.proof { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 450; }
.proof .icon {
  width: 14px; height: 14px; padding: 4px; box-sizing: content-box;
  border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.6;
}

@media (max-width: 640px) {
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; width: 100%; }
  .proof { align-items: flex-start; font-size: 14px; line-height: 1.35; }
  .btn--lg { --btn-h: 54px; font-size: 15.5px; padding: 0 20px; }
}

/* ---------- 9. Cartes flottantes ---------- */
.artifact { position: absolute; z-index: 2; translate: var(--px, 0px) var(--py, 0px); }
.artifact__body {
  background: #fff; border-radius: var(--radius-elevated); box-shadow: var(--shadow-float); padding: 16px;
  animation: float 8s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 10. Bande de confiance ---------- */
.trust { padding-top: clamp(40px, 5vw, 64px); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { display: grid; align-content: start; gap: 10px; padding: 36px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value {
  display: flex; align-items: baseline;
  font-family: var(--font-display); font-size: clamp(54px, 6.2vw, 88px); line-height: .95; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__value small { margin-left: 6px; font-size: .42em; letter-spacing: 0; }
.stat__value em { font-style: italic; }
.stat__label { font-size: 15px; color: var(--slate); }

@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .stat { padding: 26px 14px; } .stat__label { font-size: 14px; } }

.marquee {
  margin-top: clamp(36px, 5vw, 60px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; gap: clamp(40px, 5.5vw, 76px); padding-right: clamp(40px, 5.5vw, 76px); }
.marquee__item { display: inline-flex; align-items: center; justify-content: center; height: 44px; flex: none; }
.brand-logo {
  display: block; flex: none; fill: var(--ink); opacity: .3;
  transition: opacity .6s var(--ease-out), fill .6s var(--ease-out), filter .6s var(--ease-out);
}
.marquee__item:hover .brand-logo { opacity: 1; fill: var(--blue); filter: drop-shadow(0 8px 18px rgba(47, 107, 255, .4)); }

/* ---------- 11. Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px; min-height: 232px; padding: 24px;
  border-radius: var(--radius-card); background: var(--mist);
  transition: background-color .9s var(--ease-out), box-shadow .9s var(--ease-out), translate .9s var(--ease-out);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, .2), transparent 65%);
  opacity: 0; transition: opacity .8s var(--ease-out);
}
.service-card:hover { background: #fff; box-shadow: var(--shadow-float); translate: 0 -6px; }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
  position: relative; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  transition: color .7s var(--ease-out), box-shadow .9s var(--ease-out);
}
.service-card__icon::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(150deg, var(--blue), var(--blue-strong));
  clip-path: circle(0% at 50% 125%); transition: clip-path 1s var(--ease-out);
}
.service-card__icon .icon { position: relative; z-index: 1; width: 24px; height: 24px; }
.service-card:hover .service-card__icon { color: #fff; box-shadow: 0 16px 32px -16px rgba(47, 107, 255, .95); }
.service-card:hover .service-card__icon::before { clip-path: circle(150% at 50% 125%); }
.service-card:hover .service-card__icon .icon { animation: icon-draw 1.5s var(--ease-out); }
@keyframes icon-draw {
  from { stroke-dasharray: 100; stroke-dashoffset: 100; }
  to { stroke-dasharray: 100; stroke-dashoffset: 0; }
}
.service-card__title { margin-top: auto; padding-top: 28px; font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -0.012em; }
.service-card__text { font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.service-card__arrow {
  position: absolute; top: 24px; right: 22px; opacity: 0; transform: translate(-8px, 8px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.service-card:hover .service-card__arrow { opacity: 1; transform: none; }

.services-note {
  margin-top: 16px; display: flex; align-items: center; gap: 18px;
  padding: 14px 14px 14px 18px; border-radius: var(--radius-card); border: 1px dashed #d6d7db;
}
.services-note__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); }
.services-note p { flex: 1; font-size: 16px; color: var(--slate); }
.services-note strong { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .service-card { min-height: 0; padding: 16px; border-radius: 20px; }
  .service-card__icon { width: 42px; height: 42px; border-radius: 12px; }
  .service-card__icon .icon { width: 21px; height: 21px; }
  .service-card__title { padding-top: 18px; font-size: 15.5px; }
  .service-card__text { font-size: 13px; }
  .service-card__arrow { display: none; }
  .services-note { flex-direction: column; align-items: flex-start; padding: 18px; }
  .services-note .btn { width: 100%; }
}

/* ---------- 12. Formulaire de devis ---------- */
.devis__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.devis-form {
  position: relative; padding: clamp(20px, 3.4vw, 44px);
  border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-float);
}

.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 36px; }
.stepper__item {
  position: relative; display: flex; align-items: baseline; gap: 8px; padding-top: 14px;
  font-size: 13px; font-weight: 450; color: var(--smoke); transition: color .4s;
}
.stepper__item span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; }
.stepper__item::before, .stepper__item::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--mist);
}
.stepper__item::after { background: linear-gradient(90deg, var(--blue), var(--blue-strong)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease-out); }
.stepper__item.is-done { color: var(--ink); }
.stepper__item.is-done::after { transform: scaleX(1); }

.form-step { padding-block: 28px; border-top: 1px solid var(--line); }
.form-step:first-of-type { padding-top: 0; border-top: 0; }
.form-step__legend {
  float: left; width: 100%; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 18px;
  font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.01em;
}
.form-step__legend + * { clear: both; }
.form-step__num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; align-self: center;
  background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0;
}
.form-step__legend small { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; color: var(--ash); }

.field { position: relative; display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 480; }
.field__label small { font-size: 13px; font-weight: 400; color: var(--ash); }
.field__input {
  width: 100%; height: 54px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-input); background: var(--fog);
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field__input::placeholder { color: var(--smoke); }
.field__input:hover { border-color: #cfd0d5; }
.field__input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .16); }
.field__input--area { height: auto; min-height: 116px; padding: 16px 18px 26px; line-height: 1.5; resize: vertical; }
.field__count { position: absolute; right: 14px; bottom: 9px; font-family: var(--font-mono); font-size: 11px; color: var(--smoke); pointer-events: none; }
.is-invalid .field__input, .field__input.is-invalid { border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(16, 38, 94, .1); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 22px; }
.chip-option, .problem, .mode { position: relative; }
.chip-option input, .problem input, .mode input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-option span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
  font-size: 15px; font-weight: 450;
  transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--ease-spring);
}
.chip-option:hover span { border-color: var(--ink); }
.chip-option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-option input:active + span, .problem input:active + .problem__box, .mode input:active + .mode__box { transform: scale(.96); }
.chip-option input:focus-visible + span, .problem input:focus-visible + .problem__box, .mode input:focus-visible + .mode__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.chips.is-invalid .chip-option span { border-color: var(--blue-deep); }

.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.problems.is-invalid .problem__box { border-color: rgba(16, 38, 94, .5); }
.problem__box {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; height: 100%;
  padding: 10px 42px 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-input); background: #fff;
  font-size: 14.5px; font-weight: 450; line-height: 1.25;
  transition: border-color .3s, background-color .3s, box-shadow .3s, transform .45s var(--ease-spring);
}
.problem__box > .icon { width: 22px; height: 22px; color: var(--slate); transition: color .3s; }
.problem__tick {
  position: absolute; top: 50%; right: 12px; translate: 0 -50%;
  display: grid; place-items: center; width: 22px; height: 22px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: #fff;
  transition: background-color .3s, border-color .3s;
}
.problem__tick .icon { width: 13px; height: 13px; color: #fff; stroke-width: 2.8; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-out) .05s; }
.problem:hover .problem__box { border-color: var(--ink); }
.problem input:checked + .problem__box { border-color: var(--ink); background: var(--fog); box-shadow: inset 0 0 0 1px var(--ink); }
.problem input:checked + .problem__box > .icon { color: var(--ink); }
.problem input:checked + .problem__box .problem__tick { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .16); }
.problem input:checked + .problem__box .problem__tick .icon { stroke-dashoffset: 0; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.mode__box {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px; height: 100%; padding: 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-input); background: #fff;
  transition: border-color .3s, background-color .3s, box-shadow .3s, transform .45s var(--ease-spring);
}
.mode__box .icon {
  grid-row: span 2; width: 44px; height: 44px; padding: 11px; box-sizing: border-box;
  border-radius: 13px; background: var(--mist); transition: background-color .35s, color .35s;
}
.mode__box strong { align-self: end; font-size: 15px; font-weight: 500; line-height: 1.3; }
.mode__box small { align-self: start; font-size: 13px; color: var(--slate); }
.mode:hover .mode__box { border-color: var(--ink); }
.mode input:checked + .mode__box { border-color: var(--ink); background: var(--fog); box-shadow: inset 0 0 0 1px var(--ink); }
.mode input:checked + .mode__box .icon { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(47, 107, 255, .9); }

.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; }

.form-error {
  display: none; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 12px 16px;
  border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); font-size: 14.5px; font-weight: 450;
}
.form-error.is-visible { display: flex; }
.devis-form__submit { margin-top: 6px; }
.devis-form__hint { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ash); text-wrap: balance; }
.shake { animation: shake .5s var(--ease-out); }
@keyframes shake {
  10%, 90% { translate: -1px 0; } 20%, 80% { translate: 3px 0; }
  30%, 50%, 70% { translate: -6px 0; } 40%, 60% { translate: 6px 0; }
}

/* Aperçu WhatsApp */
.devis-preview { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.wa-phone { overflow: hidden; border: 7px solid var(--ink); border-radius: 36px; background: #fff; box-shadow: var(--shadow-float); }
.wa-phone__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.wa-phone__avatar svg { width: 38px; height: 38px; }
.wa-phone__who { display: grid; line-height: 1.25; }
.wa-phone__who strong { font-size: 15px; font-weight: 500; }
.wa-phone__who small { font-size: 12px; color: var(--slate); }
.wa-phone__body {
  display: flex; flex-direction: column; gap: 12px; height: 380px; overflow-y: auto; padding: 16px 14px;
  background-color: var(--fog); background-image: radial-gradient(rgba(23, 25, 28, .07) 1px, transparent 1px); background-size: 16px 16px;
}
.wa-phone__day {
  align-self: center; margin-top: auto; padding: 4px 10px; border-radius: 8px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); font-size: 11.5px; color: var(--slate);
}
.wa-bubble {
  position: relative; align-self: flex-end; max-width: 94%; padding: 10px 12px 24px;
  border-radius: 16px 16px 4px 16px; color: #fff; box-shadow: 0 8px 20px -12px rgba(47, 107, 255, .9);
  background: linear-gradient(150deg, var(--blue), var(--blue-strong));
  font-size: 13.5px; line-height: 1.45;
}
.wa-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-bubble__time { position: absolute; right: 10px; bottom: 5px; font-size: 10.5px; color: rgba(255, 255, 255, .72); }
.wa-bubble.is-updating { animation: bubble .4s var(--ease-out); }
@keyframes bubble { from { scale: .97; } }
.wa-phone__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; margin: 10px;
  padding: 0 5px 0 16px; border-radius: var(--radius-pill); background: var(--mist); font-size: 14px; color: var(--smoke);
}
.devis-assurance { display: grid; gap: 10px; padding-left: 6px; }
.devis-assurance li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 450; }
.devis-assurance .icon { width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }

@media (max-width: 1000px) {
  .devis__layout { grid-template-columns: minmax(0, 1fr); }
  .devis-preview { display: none; }
}
@media (max-width: 720px) {
  .stepper { margin-bottom: 28px; }
  .stepper__item { font-size: 0; }
  .stepper__item span { font-size: 11px; }
  .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .problem__box { padding: 10px 36px 10px 12px; font-size: 14px; }
  .problem__tick { right: 10px; }
  .modes { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: minmax(0, 1fr) 118px; }
  .chip-option span { height: 40px; padding: 0 15px; font-size: 14.5px; }
  .devis-form__submit.btn--xl { --btn-h: 60px; height: auto; min-height: var(--btn-h); padding: 10px 18px; font-size: 16px; white-space: normal; text-align: center; }
  .devis-form__submit .btn__arrow { display: none; }
}

/* ---------- 13. Fonctionnement ---------- */
.process { --progress: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process__line { position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--line-strong); }
.process__line-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-strong)); box-shadow: 0 0 14px rgba(47, 107, 255, .5); transform-origin: 0 50%; transform: scaleX(var(--progress)); }
.process__step { position: relative; display: grid; align-content: start; gap: 10px; }
.process__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-strong);
  transition: background-color .5s var(--ease-out), color .5s, box-shadow .5s var(--ease-out), scale .7s var(--ease-spring);
}
.process__dot .icon { width: 22px; height: 22px; }
.process__step.is-active .process__dot { background: var(--blue); color: #fff; box-shadow: 0 0 0 7px rgba(47, 107, 255, .12), 0 16px 32px -14px rgba(47, 107, 255, .95); scale: 1.04; }
.process__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ash); }
.process__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(27px, 2.4vw, 33px); line-height: 1.06; letter-spacing: -0.012em; }
.process__text { max-width: 270px; font-size: 15.5px; color: var(--slate); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__line { top: 28px; bottom: 64px; left: 27.5px; right: auto; width: 1px; height: auto; }
  .process__line-fill { transform-origin: 50% 0; transform: scaleY(var(--progress)); }
  .process__step { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding-bottom: 40px; }
  .process__step:last-child { padding-bottom: 0; }
  .process__dot { grid-row: span 3; margin-bottom: 0; }
  .process__num { padding-top: 4px; }
  .process__text { max-width: none; }
}

/* ---------- 14. Transparence (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.bento__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 460px;
  border-radius: var(--radius-card); background: var(--mist);
}
.bento__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .9), transparent 65%);
}
.bento__card:hover::before { opacity: 1; }
.bento__card--scan, .bento__card--seal { grid-column: span 5; }
.bento__card--notif, .bento__card--media { grid-column: span 7; }
.bento__visual { position: relative; flex: 1; display: grid; place-items: center; min-height: 270px; padding: 32px 28px; }
.bento__body { display: grid; gap: 8px; padding: 0 30px 30px; }
.bento__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 2.7vw, 38px); line-height: 1.04; letter-spacing: -0.012em; }
.bento__text { max-width: 460px; font-size: 15.5px; color: var(--slate); }

.scan { position: relative; }
.scan__phone {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: 124px; height: 228px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-float);
}
.scan__phone::before { content: ""; position: absolute; inset: 9px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.scan__icon { width: 36px; height: 36px; }
.scan__line {
  position: absolute; top: 0; left: 0; right: 0; height: 64px;
  background: linear-gradient(to bottom, rgba(47, 107, 255, 0), rgba(47, 107, 255, .5));
  border-bottom: 2px solid var(--blue-deep);
  animation: scan 3.2s var(--ease-in-out) infinite;
}
@keyframes scan { 0%, 100% { translate: 0 -66px; } 50% { translate: 0 164px; } }
.scan__price {
  position: absolute; top: 22px; right: -70px; padding: 9px 18px 7px;
  border-radius: var(--radius-pill); background: var(--ink); color: #fff; box-shadow: var(--shadow-float);
  font-family: var(--font-display); font-size: 36px; line-height: 1; white-space: nowrap;
  rotate: 8deg; animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -8px; } }

.notif {
  width: min(100%, 410px); padding: 16px; border-radius: var(--radius-elevated);
  background: #fff; box-shadow: var(--shadow-float); animation: bob 6s ease-in-out infinite;
}
.notif__head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.notif__head time { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--ash); }
.notif__app { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; }
.notif__app .icon { width: 16px; height: 16px; }
.notif__text { margin-top: 10px; font-size: 15px; line-height: 1.45; }
.notif__photo { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--line); }
.notif__thumb {
  position: relative; overflow: hidden; flex: none; width: 56px; height: 56px; border-radius: 10px;
  background: #141518 url("../img/notification-photo.jpg") center / cover no-repeat;
}
.notif__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .0) 40%, rgba(0, 0, 0, .25));
}
.notif__photo strong { display: block; font-size: 13.5px; font-weight: 500; }
.notif__photo small { display: block; font-size: 12px; color: var(--slate); }
.notif__actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.notif__btn { position: relative; overflow: hidden; display: grid; place-items: center; height: 42px; border-radius: 12px; background: var(--mist); font-size: 14px; font-weight: 480; }
.notif__btn--ok { background: var(--ink); color: #fff; }
.notif__btn--ok::after {
  content: ""; position: absolute; top: 50%; right: 22px; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; background: rgba(255, 255, 255, .4); animation: tap 2.6s var(--ease-out) infinite; right: 12px;
}
@keyframes tap { 0% { scale: .2; opacity: 0; } 15% { opacity: 1; } 60%, 100% { scale: 2.8; opacity: 0; } }

.media { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 8px; width: min(100%, 440px); }
.media__thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; background: #fff; box-shadow: var(--shadow-float); }
.media__thumb--1 { rotate: -7deg; translate: 14px 12px; background: linear-gradient(160deg, #3a3d44, #141518); }
.media__thumb--1::before { content: ""; position: absolute; inset: 40% 24% 14%; border-radius: 8px; background: var(--blue-soft); }
.media__thumb--1::after { content: ""; position: absolute; inset: 14% 24% 64%; border-radius: 6px; background: #50545d; }
.media__thumb--2 { z-index: 1; aspect-ratio: 3 / 4.3; background: radial-gradient(90% 60% at 30% 100%, var(--blue-soft), transparent 70%), linear-gradient(160deg, #2c2f36, #111215 60%); }
.media__thumb--3 { rotate: 7deg; translate: -14px 12px; }
.media__thumb--3::before { content: ""; position: absolute; inset: 16% 28%; border: 2px solid var(--ink); border-radius: 12px; }
.media__thumb--3::after { content: ""; position: absolute; top: 40%; left: 40%; width: 20%; height: 12%; border-radius: 4px; background: var(--blue-deep); opacity: .8; }
.media__play { position: absolute; inset: 0; display: grid; place-items: center; }
.media__play .icon {
  width: 54px; height: 54px; padding: 15px; box-sizing: border-box; border-radius: 50%;
  background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-soft); animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.1; } }
.media__meta {
  position: absolute; z-index: 2; left: 50%; bottom: -40px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: #fff; box-shadow: var(--shadow-soft); font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap;
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .15; } }

.seal { position: relative; display: grid; place-items: center; width: 210px; height: 210px; }
.seal__text { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 24s linear infinite; }
.seal__text text { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: .3em; fill: var(--ink); }
.seal__core {
  display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep); box-shadow: 0 0 0 10px rgba(255, 255, 255, .75), var(--shadow-float);
}
.seal__core .icon { width: 42px; height: 42px; stroke-width: 1.4; }
.bento__card--seal:hover .seal__text { animation-duration: 6s; }
@keyframes spin { to { rotate: 360deg; } }

@media (max-width: 1000px) {
  .bento__card--scan, .bento__card--seal, .bento__card--notif, .bento__card--media { grid-column: span 6; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--scan, .bento__card--seal, .bento__card--notif, .bento__card--media { grid-column: auto; }
  .bento__card { min-height: 0; }
  .bento__visual { min-height: 250px; padding: 28px 20px; }
  .bento__body { padding: 0 22px 24px; }
  .scan__price { right: -58px; font-size: 30px; }
}

/* ---------- 15. Atelier ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.about__media { position: relative; }
.photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-card); background: var(--mist); }
.photo__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-out); }
.photo.has-photo .photo__img { opacity: 1; }
.photo__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-color: var(--mist);
  background-image: linear-gradient(rgba(23, 25, 28, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 25, 28, .065) 1px, transparent 1px),
    linear-gradient(rgba(23, 25, 28, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 25, 28, .03) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; background-position: center;
}
.photo.has-photo .photo__fallback { visibility: hidden; }
.bench { width: 88%; height: auto; overflow: visible; }
.bench__screen { transform-box: fill-box; transform-origin: 0% 50%; animation: lift 7s var(--ease-in-out) infinite; }
.bench__driver { transform-box: fill-box; transform-origin: 50% 50%; animation: driver 6s ease-in-out infinite; }
@keyframes lift { 0%, 100% { transform: none; } 50% { transform: translate(8px, -8px) rotate(4deg); } }
@keyframes driver { 0%, 100% { transform: none; } 50% { transform: translate(12px, -6px) rotate(-3deg); } }

.artifact--about { right: -24px; bottom: 40px; }
.artifact--about .artifact__body { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; }
.artifact__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; }
.artifact--about strong { display: block; font-size: 15px; font-weight: 500; }
.artifact--about small { display: block; font-size: 13px; color: var(--slate); }

.about__content { display: grid; justify-items: start; gap: 22px; }
.about__text { max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--slate); }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 4px; }
.about__list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-input); background: var(--mist); font-size: 15px; font-weight: 450; line-height: 1.3; }
.about__list span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { width: 100%; max-width: 520px; margin-inline: auto; }
  .artifact--about { right: 14px; bottom: 16px; }
}
@media (max-width: 520px) { .about__list { grid-template-columns: 1fr; } }

/* ---------- 16. Récupération & livraison ---------- */
#recuperation { padding-bottom: 12px; }
.delivery {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px;
  padding: clamp(28px, 5.4vw, 76px); border-radius: var(--radius-card);
  background: linear-gradient(145deg, #eef3ff 0%, #dde8ff 55%, #cfdcff 100%); color: var(--blue-deep);
}
.delivery::before {
  content: ""; position: absolute; z-index: 0; top: -35%; right: -12%; width: 75%; aspect-ratio: 1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .25), rgba(47, 107, 255, 0));
}
.delivery > * { position: relative; z-index: 1; }
.delivery__content { display: grid; justify-items: start; gap: 22px; }
.delivery__text { max-width: 500px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.delivery__note {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .55); font-size: 14px; font-weight: 450;
}
.delivery__note .icon { width: 18px; height: 18px; }
.delivery .btn { margin-top: 4px; }

.delivery__radar { display: grid; place-items: center; }
.radar { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.radar__ring {
  position: absolute; top: 50%; left: 50%; width: calc(var(--r) * 21%); aspect-ratio: 1; translate: -50% -50%;
  border: 1px solid rgba(16, 38, 94, .2); border-radius: 50%;
}
.radar__ring:nth-child(4) { border: 1.5px dashed rgba(16, 38, 94, .5); background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 72%); }
.radar__ring em {
  position: absolute; top: -11px; left: 50%; translate: -50% 0; padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--blue-soft); font-family: var(--font-mono); font-size: 11px; font-style: normal; white-space: nowrap;
}
.radar__sweep {
  position: absolute; top: 50%; left: 50%; width: 84%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 38, 94, 0) 0deg, rgba(16, 38, 94, 0) 280deg, rgba(16, 38, 94, .26) 360deg);
  animation: spin 7s linear infinite;
}
.radar__sweep::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 1.5px; height: 50%;
  background: linear-gradient(to top, rgba(16, 38, 94, .7), rgba(16, 38, 94, 0));
}
.radar__center {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-float); font-size: 13.5px; font-weight: 500;
}
.radar__center i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); }
.radar__center i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue-soft); animation: pulse 2s var(--ease-out) infinite; }
.radar__town {
  position: absolute; z-index: 1; top: var(--y); left: var(--x); translate: -4px -50%;
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 480; white-space: nowrap;
}
.radar__town::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.js .radar__town { opacity: 0; scale: .6; transition: opacity .6s var(--ease-out), scale .8s var(--ease-spring); }
.js .is-in .radar__town { opacity: 1; scale: 1; }
.js .is-in .radar__town:nth-child(8) { transition-delay: .1s; }
.js .is-in .radar__town:nth-child(9) { transition-delay: .2s; }
.js .is-in .radar__town:nth-child(10) { transition-delay: .3s; }
.js .is-in .radar__town:nth-child(11) { transition-delay: .4s; }
.js .is-in .radar__town:nth-child(12) { transition-delay: .5s; }
.js .is-in .radar__town:nth-child(13) { transition-delay: .6s; }
.js .is-in .radar__town:nth-child(14) { transition-delay: .7s; }
.js .is-in .radar__town:nth-child(15) { transition-delay: .8s; }
.js .is-in .radar__town:nth-child(16) { transition-delay: .9s; }

@media (max-width: 900px) {
  .delivery { grid-template-columns: 1fr; }
  .delivery__radar { order: -1; }
}
@media (max-width: 520px) {
  .radar__town { font-size: 11px; }
  .delivery .btn { width: 100%; }
  .delivery__note { border-radius: 14px; align-items: flex-start; }
}

/* ---------- 17. Reconditionnés ---------- */
.refurb {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 32px;
  padding: clamp(28px, 4.4vw, 60px); border-radius: var(--radius-card); background: var(--mist);
}
.refurb__content { display: grid; justify-items: start; gap: 16px; }
.refurb__text { max-width: 470px; font-size: 17px; color: var(--slate); }
.refurb__content .btn { margin-top: 8px; }
.refurb__visual { position: relative; height: 250px; }
.mini-phone {
  position: absolute; top: 50%; left: 50%; width: 108px; height: 220px; margin: -110px 0 0 -54px;
  border-radius: 24px; box-shadow: var(--shadow-float);
  transition: rotate .9s var(--ease-out), translate .9s var(--ease-out);
}
.mini-phone--1 { rotate: -15deg; translate: -84px 12px; background: #fff; }
.mini-phone--2 { rotate: 14deg; translate: 84px 14px; background: linear-gradient(160deg, #3a3d44, #17191c 65%); }
.mini-phone--1::before, .mini-phone--2::before {
  content: ""; position: absolute; top: 10px; left: 10px; width: 40px; height: 42px; border-radius: 13px;
  background: rgba(23, 25, 28, .06); box-shadow: inset 0 0 0 1px rgba(23, 25, 28, .08);
}
.mini-phone--2::before { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mini-phone--3 {
  z-index: 1; overflow: hidden; background: #111215;
  box-shadow: var(--shadow-float), inset 0 0 0 5px #0b0c0e;
}
.mini-phone--3::before {
  content: ""; position: absolute; inset: 5px; border-radius: 19px;
  background: radial-gradient(90% 55% at 25% 100%, rgba(47, 107, 255, .3), transparent 70%), radial-gradient(70% 45% at 95% 25%, rgba(16, 38, 94, .7), transparent 70%);
}
.mini-phone__time { position: absolute; z-index: 1; top: 34px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: 34px; line-height: 1; color: #fff; }
.refurb:hover .mini-phone--1 { rotate: -22deg; translate: -104px 4px; }
.refurb:hover .mini-phone--2 { rotate: 21deg; translate: 104px 6px; }
.refurb__tag {
  position: absolute; z-index: 2; right: 16%; bottom: 8px; display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px 0 8px; border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow-float);
  font-size: 13.5px; font-weight: 500;
}
.refurb__tag .icon { width: 20px; height: 20px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.8; }

@media (max-width: 820px) {
  .refurb { grid-template-columns: 1fr; }
  .refurb__visual { order: -1; height: 240px; }
}
@media (max-width: 520px) { .refurb .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding-block: 10px; } }

/* ---------- 18. Avant / après ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ba { display: grid; gap: 14px; }
.ba__frame {
  --pos: 50%;
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5;
  border-radius: var(--radius-card); background: var(--mist); cursor: ew-resize;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.ba__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none;
}
.ba__img--before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; z-index: 2; top: 14px; padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-soft); pointer-events: none;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--ink); color: #fff; }
.ba__handle {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 20px rgba(47, 107, 255, .7); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: flex; align-items: center; justify-content: center; width: 50px; height: 50px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-float); transition: scale .5s var(--ease-spring);
}
.ba__knob .icon { width: 15px; height: 15px; stroke-width: 2.2; color: var(--blue); }
.ba__knob .icon:first-child { transform: scaleX(-1); }
.ba__frame:hover .ba__knob, .ba__frame.is-dragging .ba__knob { scale: 1.12; }
.ba__frame:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--blue); outline-offset: 3px; }
.ba__range { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ba__caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-inline: 4px; }
.ba__caption strong { font-size: 16px; font-weight: 500; }
.ba__caption span { font-size: 14px; color: var(--slate); }

@media (max-width: 900px) {
  .ba-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(80%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .ba-grid::-webkit-scrollbar { display: none; }
  .ba { scroll-snap-align: start; }
}

/* ---------- 19. Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; min-height: 290px; padding: 28px;
  border-radius: var(--radius-card); background: #fff; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .5s var(--ease-out), translate .6s var(--ease-out);
}
.review::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, .14), transparent 65%);
}
.review:hover { box-shadow: var(--shadow-float); translate: 0 -4px; }
.review:hover::before { opacity: 1; }
.review__mark { height: 34px; font-family: var(--font-display); font-size: 84px; line-height: .8; }
.review__text { font-family: var(--font-display); font-size: clamp(22px, 2vw, 27px); line-height: 1.22; letter-spacing: -0.005em; }
.review__stars { color: var(--blue); font-size: 14px; letter-spacing: 3px; }
.review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.reviews__summary { display: inline-flex; align-items: center; gap: 12px; }
.reviews__score { font-family: var(--font-display); font-size: 38px; line-height: 1; }
.reviews__stars { color: var(--blue); letter-spacing: 3px; font-size: 17px; }
.reviews__count { font-size: 15px; color: var(--slate); }
.reviews__source { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ash); }
.reviews__g { height: 14px; opacity: .65; }
.reviews .review { animation: review-in .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes review-in { from { opacity: 0; transform: translateY(26px); } }
.review__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-weight: 500; }
.review__meta strong { display: block; font-size: 15px; font-weight: 500; }
.review__meta small { display: block; font-size: 13px; color: var(--slate); }
.reviews__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; text-align: center; font-size: 15.5px; color: var(--slate); }
.reviews__cta .link-arrow { color: var(--ink); }

@media (max-width: 900px) {
  .reviews { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; min-height: 260px; }
  .review:hover { translate: none; }
}

/* ---------- 20. FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; justify-items: start; gap: 20px; }
.faq__intro { max-width: 380px; font-size: 17px; color: var(--slate); }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__head { margin: 0; font: inherit; }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 26px 0;
  text-align: left; color: inherit; font-size: clamp(18px, 1.6vw, 21px); font-weight: 480; line-height: 1.35; letter-spacing: -0.01em;
  transition: color .4s var(--ease-out);
}
.faq-item__q:hover .faq-item__icon { background: var(--blue-soft); color: var(--blue); }
.faq-item__icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--mist);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), rotate .7s var(--ease-out);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px;
  border-radius: 2px; background: currentColor; transition: rotate .7s var(--ease-out);
}
.faq-item__icon::after { rotate: 90deg; }
.faq-item.is-open .faq-item__icon { background: var(--blue); color: #fff; rotate: 180deg; }
.faq-item.is-open .faq-item__icon::after { rotate: 0deg; }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__inner { overflow: hidden; }
.faq-item__inner p {
  max-width: 620px; padding: 0 64px 28px 0; font-size: 16.5px; color: var(--slate);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.faq-item.is-open .faq-item__inner p { opacity: 1; transition-delay: .1s; }

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq-item__inner p { padding-right: 0; }
}

/* ---------- 21. Dernier CTA ---------- */
.cta-final {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 24px; padding: clamp(60px, 9vw, 130px) clamp(20px, 5vw, 64px);
  border-radius: var(--radius-card); background: var(--ink); color: #fff; text-align: center;
}
.cta-final__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
}
.cta-final__glow {
  position: absolute; z-index: -1; top: 100%; left: 50%; width: 80%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, .5), rgba(47, 107, 255, 0));
  animation: glow 10s ease-in-out infinite;
}
@keyframes glow { 50% { scale: 1.25; translate: -44% -62%; } }
.cta-final__title { max-width: 920px; font-size: clamp(46px, 7vw, 100px); }
.cta-final__text { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .7); }
.cta-final .btn { margin-top: 8px; }
.cta-final__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.cta-final__meta span { color: var(--blue); }
.cta-final__alt { font-size: 14.5px; color: rgba(255, 255, 255, .5); }
.cta-final__alt a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .3s; }
.cta-final__alt a:hover { border-color: #fff; }
.cta-final :focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .cta-final .btn--xl { width: 100%; height: auto; min-height: 60px; padding: 12px 18px; font-size: 16px; white-space: normal; }
  .cta-final .btn__arrow { display: none; }
}

/* ---------- 22. Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(56px, 6vw, 80px); background: var(--fog); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer__brand { display: grid; align-content: start; justify-items: start; gap: 10px; }
.footer__tagline { margin-top: 8px; font-size: 16px; }
.footer__area { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--slate); }
.footer__area .icon { width: 18px; height: 18px; }
.footer__title { margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col li > span { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; }
.footer__col a { transition: color .3s, translate .45s var(--ease-out); }
.footer__col a:hover { color: var(--slate); translate: 4px 0; }
.footer__col .icon { width: 18px; height: 18px; color: var(--slate); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.footer__up { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.footer__up .icon { width: 16px; height: 16px; rotate: -90deg; transition: translate .45s var(--ease-out); }
.footer__up:hover .icon { translate: 0 -3px; }
.footer__giant {
  margin: 8px 0 -.18em; text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(64px, 15.5vw, 250px); line-height: .9; letter-spacing: -0.04em;
  background: linear-gradient(to bottom, #e3e3e6 20%, rgba(227, 227, 230, 0) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 23. Barre d’actions mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: auto 1fr; gap: 6px; padding: 6px;
    border-radius: var(--radius-pill); background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-pop);
    -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    translate: 0 calc(100% + 32px); transition: translate .7s var(--ease-out);
  }
  .mobile-bar.is-visible { translate: 0 0; }
  .mobile-bar__call { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--mist); font-size: 15px; font-weight: 480; }
  .mobile-bar__call .icon { width: 18px; height: 18px; }
  .mobile-bar__cta { --btn-h: 48px; }
  .site-footer { padding-bottom: 76px; }
}

/* ---------- 24. Pages légales ---------- */
.legal { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); }
.legal__inner { max-width: 780px; margin-inline: auto; }
.legal__title { margin: 18px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6.5vw, 80px); line-height: 1; letter-spacing: -0.02em; }
.legal__updated { margin-bottom: 40px; font-size: 14px; color: var(--ash); }
.legal h2 { margin: 44px 0 12px; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 16.5px; color: #43464d; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.todo { padding: 1px 6px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-deep); font-style: normal; }
.site-header--static .site-header__inner { max-width: 1140px; background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-soft); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }

/* ---------- 25. États d’interaction complémentaires ---------- */
.form-step .form-error { margin: 16px 0 0; }
.problem.is-flash .problem__box, .mode.is-flash .mode__box { animation: flash 1.3s var(--ease-out); }
@keyframes flash {
  0% { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 0 rgba(16, 38, 94, .45); }
  100% { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 16px rgba(16, 38, 94, 0); }
}

/* ---------- 26. Curseur personnalisé ---------- */
.cursor, .cursor-fx { display: none; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button,
  html.has-cursor label, html.has-cursor input, html.has-cursor textarea, html.has-cursor .ba__frame { cursor: none; }

  .cursor-fx { display: block; position: fixed; inset: 0; z-index: 998; pointer-events: none; }
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
  .cursor.is-active { opacity: 1; }
  .cursor__dot {
    position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
    background: var(--ink); translate: var(--x, 0) var(--y, 0);
    transition: scale .35s var(--ease-out), background-color .35s;
  }
  .cursor__ring {
    position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1.5px solid rgba(47, 107, 255, .65); background: rgba(47, 107, 255, .04);
    box-shadow: 0 0 20px rgba(47, 107, 255, .3), inset 0 0 14px rgba(47, 107, 255, .12);
    translate: var(--rx, 0) var(--ry, 0);
    transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out),
      border-radius .4s var(--ease-out), background-color .4s, border-color .4s, box-shadow .4s;
  }
  .cursor.is-hover .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(47, 107, 255, .12); border-color: rgba(47, 107, 255, .9); }
  .cursor.is-hover .cursor__dot { scale: .35; }
  .cursor.is-down .cursor__ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .cursor.is-text .cursor__ring {
    width: 2px; height: 26px; margin: -13px 0 0 -1px; border-radius: 2px;
    background: var(--ink); border-color: transparent; box-shadow: none;
  }
  .cursor.is-text .cursor__dot { scale: 0; }
}

/* ---------- 27. Photos à remplacer ----------
   Tout cadre photo qui porte l’attribut data-a-remplacer est flouté, avec l’étiquette « Photo à remplacer ».
   Une fois votre photo en place, retirez l’attribut : le flou disparaît. */
[data-a-remplacer] { position: relative; isolation: isolate; }
[data-a-remplacer]::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(6px) saturate(.85); backdrop-filter: blur(6px) saturate(.85);
  background:
    repeating-linear-gradient(-45deg, rgba(23, 25, 28, .07) 0 12px, rgba(23, 25, 28, 0) 12px 24px),
    rgba(23, 25, 28, .12);
}
[data-a-remplacer]::before {
  content: "Photo à remplacer"; position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px 0 38px; white-space: nowrap; pointer-events: none;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317191c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m20.5 15.5-4.3-4.3a1.5 1.5 0 0 0-2.1 0L5 19.5'/%3E%3C/svg%3E") 14px 50% / 16px 16px no-repeat;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; color: var(--ink);
}
/* Avant / après : l’étiquette passe en bas pour laisser la poignée du curseur libre */
.ba__frame[data-a-remplacer]::before { top: auto; bottom: 18px; translate: -50% 0; }

/* ---------- 28. Bouton de crédit ----------
   Dans le style des boutons d’ayoubchouaf.fr (pilule noire, photo ronde, reflet intérieur).
   Le texte est une image vectorielle (assets/img/credit-design-par.svg) dessinée avec la police Switzer :
   aucune police extérieure n’est chargée.
   Réglage dans assets/js/main.js → CONFIG.credit (show: false pour le masquer).
   Il flotte en bas à gauche sur ordinateur ; sur mobile, il est placé dans le pied de page.
   Avec floating: false, il reste dans le pied de page sur tous les écrans. */
.credit {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 8px 16px 8px 8px;
  border-radius: 24px; background: #000; color: #fff; white-space: nowrap;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.12;
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, .4), 0 .741px .741px -.75px rgba(0, 0, 0, .33), 0 2.018px 2.018px -1.5px rgba(0, 0, 0, .32),
    0 4.431px 4.431px -2.25px rgba(0, 0, 0, .3), 0 9.835px 9.835px -3px rgba(0, 0, 0, .25), 0 25px 25px -3.75px rgba(0, 0, 0, .11), 0 0 0 1px #545454;
  transition: box-shadow .45s var(--ease-out), opacity .7s var(--ease-out), translate .7s var(--ease-out);
}
a.credit:hover {
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, .4), 0 .741px .741px -.75px rgba(0, 0, 0, 0), 0 2.018px 2.018px -1.5px rgba(0, 0, 0, 0),
    0 4.431px 4.431px -2.25px rgba(0, 0, 0, 0), 0 9.835px 9.835px -3px rgba(0, 0, 0, 0), 0 25px 25px -3.75px rgba(0, 0, 0, 0), 0 0 0 1px #707070;
}
/* Trait noir de 1 px par-dessus le reflet : il détache l’anneau gris du bord, comme sur ayoubchouaf.fr */
.credit::after { content: ""; position: absolute; inset: 0; border: 1px solid #000; border-radius: inherit; pointer-events: none; }
.credit__avatar { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.credit__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.credit__wordmark { display: block; width: auto; height: 17.22px; }
.credit--floating { position: fixed; z-index: 85; left: 20px; bottom: 20px; opacity: 0; translate: 0 14px; }
.credit--floating.is-in { opacity: 1; translate: 0 0; }
.credit--footer { display: none; }
/* Pied de page seul : le bouton se place juste après le copyright */
.credit--footer.credit--always { display: inline-flex; margin-right: auto; }
@media (max-width: 720px) {
  .credit--floating { display: none; }
  .credit--footer { display: inline-flex; }
}

/* ---------- 29. Page 404 ----------
   Reprend le fond de l’accueil (halo bleu et grille). */
.notfound { display: flex; align-items: center; min-height: 100svh; }
.notfound .hero__inner { width: 100%; }
.notfound__title { font-size: clamp(46px, 6.6vw, 92px); }
.notfound__text { max-width: 520px; margin-top: 20px; font-size: 18px; color: var(--slate); text-wrap: balance; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) {
  .notfound__actions { flex-direction: column; width: 100%; max-width: 340px; }
}

/* ---------- 30. 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-split]:not(.is-split) { opacity: 1; transform: none; filter: none; scale: 1; }
  [data-split] .wi { transform: none; }
}
