/* ==========================================================================
   L'Atelier du Détail · V2
   Charte : carte de visite. Outfit partout, Inter 500 pour les libellés.
   ========================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Polices de secours calées sur les métriques des vraies polices : pas de saut à leur arrivée */
@font-face { font-family: "Outfit Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 99.5%; ascent-override: 100.5%; descent-override: 26.1%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 108.1%; ascent-override: 89.6%; descent-override: 22.3%; line-gap-override: 0%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 107.3%; ascent-override: 93.7%; descent-override: 27.5%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  /* Noirs et bleus nuit */
  --ink: #03050B;
  --night-1: #060C1D;
  --night-2: #0A1838;
  --night-3: #08132E;
  --night-4: #10295E;

  /* Bleu de la marque */
  --blue-500: #2F7BFF;
  --blue-600: #1E5FE0;
  --blue-700: #1546B8;
  --blue-800: #0D2F86;
  --blue-900: #061436;

  /* Accents clairs */
  --sky: #6AA8FF;
  --sky-2: #4F9BFF;
  --mist: #9FB8E6;
  --ice: #DCE7FF;

  /* Textes */
  --on-dark: #E8EEF8;
  --on-dark-2: rgba(232, 238, 248, .74);
  --on-dark-3: rgba(232, 238, 248, .58);
  --text: #0B1A3A;
  --text-2: #3D5683;
  --text-3: #5B6B8A;
  --line-light: #D3DDF0;
  --line-dark: rgba(160, 190, 255, .16);

  /* Dégradés */
  --g-chrome: linear-gradient(180deg, #FFFFFF 0%, #D5DCE8 50%, #8E9AB0 100%);
  --g-marine: linear-gradient(180deg, #2A4C96 0%, #0D2F86 45%, #061436 100%);
  --g-panel: linear-gradient(155deg, #3A86FF 0%, #1E5FE0 32%, #0D2F86 68%, #061436 100%);
  --g-panel-halo: radial-gradient(110% 70% at 85% 0%, rgba(150, 200, 255, .35), transparent 60%);
  --g-dark: linear-gradient(135deg, #03050B 0%, #060C1D 55%, #0A1838 100%);
  --g-dark-r: linear-gradient(225deg, #03050B 0%, #060C1D 55%, #0A1838 100%);
  --g-light: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, #F4F8FF 100%);
  --g-light-r: linear-gradient(160deg, #FFFFFF 0%, #FFFFFF 55%, #F4F8FF 100%);
  --g-btn: linear-gradient(145deg, #2F6FF0 0%, #1546B8 100%);
  --g-icon: linear-gradient(145deg, #3D86FF 0%, #1546B8 100%);

  /* Motif hexagonal 24.249 × 42 */
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.249' height='42' viewBox='0 0 24.249 42'%3E%3Cpath d='M12.1245 0L24.249 7v14L12.1245 28 0 21V7zM12.1245 28v14' fill='none' stroke='rgba(190,215,255,.13)' stroke-width='.7'/%3E%3C/svg%3E");
  --hex-size: 24.249px 42px;
  /* Motif lumineux du hero (traits clairs à 55 %) */
  --hex-glow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.249' height='42' viewBox='0 0 24.249 42'%3E%3Cpath d='M12.1245 0L24.249 7v14L12.1245 28 0 21V7zM12.1245 28v14' fill='none' stroke='rgba(225,236,255,.55)' stroke-width='.32'/%3E%3C/svg%3E");

  /* Typo */
  --font: "Outfit", "Outfit Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-btn: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: clamp(16px, .25vw + 15px, 18px);
  --fs-lead: clamp(17px, .5vw + 15px, 21px);
  --fs-h2: clamp(32px, 3.9vw, 60px);
  --fs-h3: clamp(22px, 1.4vw + 16px, 30px);

  /* Espaces et formes : un seul rayon, celui du bouton principal */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 168px);
  --section-top: clamp(56px, 6.5vw, 104px); /* haut de section resserré : le titre arrive plus vite */
  --r-sm: 14px;
  --r-md: 14px;
  --r-lg: 14px;
  --r-xl: 14px;
  --r-2xl: 14px;

  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 200ms;
  --t-mid: 260ms;

  --shadow-btn: 0 10px 30px rgba(47, 123, 255, .35);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--blue-700);
  color: #fff;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform var(--t-mid) var(--ease);
}
.skip-link:focus-visible { transform: none; }

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

/* ---------- Fonds de section (alternance sombre / clair) ---------- */
.section { position: relative; padding-block: var(--section-top) var(--section-y); isolation: isolate; }
.section--dark { background: var(--g-dark); color: var(--on-dark); }
.section--dark-r { background: var(--g-dark-r); color: var(--on-dark); }
.section--light { background: var(--g-light); color: var(--text); }
.section--light-r { background: var(--g-light-r); color: var(--text); }

/* ---------- Typographie ---------- */
.chrome, .marine, .shine {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* évite que les jambages sortent de la zone peinte */
  padding-bottom: .08em;
}
.chrome { background-image: var(--g-chrome); }
.marine { background-image: var(--g-marine); }

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .96;
  text-wrap: balance;
}
.h2 > span { display: inline-block; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 54ch;
  text-wrap: pretty;
}
.section--dark .lead, .section--dark-r .lead { color: var(--on-dark-2); }
.section--light .lead, .section--light-r .lead { color: var(--text-2); }
.accent { color: var(--sky-2); font-weight: 500; }
.section--light .accent, .section--light-r .accent { color: var(--blue-700); }

/* Libellé : Inter 500, capitales espacées, triangle effilé */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}
.section--light .eyebrow, .section--light-r .eyebrow { color: var(--blue-700); }
.eyebrow__tri { width: 34px; height: 6px; flex: none; color: var(--sky-2); }
.section--light .eyebrow__tri, .section--light-r .eyebrow__tri { color: var(--blue-500); }

.label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.num { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-btn);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease),
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: var(--g-btn);
  color: #fff;
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(47, 123, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .26); }
.btn--primary:active { transform: scale(.96); box-shadow: 0 6px 18px rgba(47, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }

/* Blanc chromé : CTA du hero, reprend le dégradé du titre */
.btn--chrome {
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF3FB 45%, #C9D3E3 100%);
  color: var(--blue-900);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 30px rgba(220, 231, 255, .22), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(142, 154, 176, .55);
}
.btn--chrome:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(220, 231, 255, .32), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(142, 154, 176, .55); }
.btn--chrome:active { transform: scale(.96); background: linear-gradient(180deg, #F4F7FC 0%, #DCE4F1 100%); box-shadow: 0 6px 18px rgba(220, 231, 255, .2), inset 0 1px 2px rgba(142, 154, 176, .45); }

.btn--glass {
  background: rgba(10, 24, 56, .42);
  border-color: rgba(160, 190, 255, .24);
  color: var(--on-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { transform: translateY(-2px); border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .55); }
.btn--glass:active { transform: scale(.96); background: rgba(16, 41, 94, .7); }

.btn--ghost-light {
  background: #fff;
  border-color: var(--line-light);
  color: var(--text);
}
.btn--ghost-light:hover { transform: translateY(-2px); border-color: #A9BCE0; box-shadow: 0 10px 26px rgba(13, 47, 134, .10); }
.btn--ghost-light:active { transform: scale(.96); box-shadow: none; }

.btn--white {
  background: #fff;
  color: var(--blue-800);
  box-shadow: 0 12px 34px rgba(3, 5, 11, .28);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(3, 5, 11, .34); }
.btn--white:active { transform: scale(.96); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: var(--r-md); }
.btn--block { width: 100%; }

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn:active { transition-duration: 120ms; }
.btn__arrow { transition: transform var(--t-mid) var(--ease); }
/* Alignement optique : la flèche paraît décalée avec une marge symétrique */
.btn:has(> .btn__arrow) { padding-right: 24px; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Verre dépoli */
.glass {
  background: rgba(6, 12, 29, .5);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

/* Panneau bleu signature */
.panel-blue {
  position: relative;
  background: var(--g-panel);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.panel-blue::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.panel-blue::after { background: var(--g-panel-halo); }

/* ==========================================================================
   0. Menu flottant
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: var(--container);
  height: var(--nav-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 13px 0 16px;
  position: relative;
  border-radius: 18px; /* plus tendu : 10 (bouton) + marge, l'arrondi suit le bouton */
  /* verre bleu nuit dense : reste bleu, même posé sur une section blanche */
  background:
    radial-gradient(60% 140% at 88% 130%, rgba(47, 123, 255, .26), transparent 60%),
    radial-gradient(40% 120% at 8% -30%, rgba(220, 231, 255, .1), transparent 70%),
    linear-gradient(180deg, rgba(22, 42, 92, .94) 0%, rgba(6, 12, 29, .96) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 22px 44px -12px rgba(3, 5, 11, .45),
    0 2px 6px rgba(3, 5, 11, .25),
    inset 0 -1px 0 rgba(0, 0, 0, .35);
}
/* Contour chromé : blanc en haut, il s'éteint puis se rallume en bleu en bas */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(160, 190, 255, .14) 45%, rgba(106, 168, 255, .4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* Reflet de la rampe de lumière sur le bord haut */
.nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85) 50%, transparent);
  pointer-events: none;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  border-radius: var(--r-md);
}
.nav__brand img { width: 76px; height: 56px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(47, 123, 255, .25)); }
/* Le numéro, comme sur la vitrine d'un artisan : visible avant le bouton */
.nav__brand + .nav__phone { margin-left: auto; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 6px;
  font-family: var(--font-btn);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  border-radius: var(--r-sm);
}
.nav__phone svg { width: 16px; height: 16px; fill: currentColor; color: #8FB6FF; }
.nav__phone:hover .num { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .nav__phone { display: none; } } /* la barre du bas porte déjà le téléphone */

/* Menu burger (téléphone et tablette) */
.nav__burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 10px;
  border: 1px solid rgba(160, 190, 255, .28);
  background: rgba(10, 24, 56, .55);
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FFFFFF, #B4C0D6);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 27px; right: 19px; }
.nav__burger:active { transform: scale(.96); }
@media (max-width: 860px) { .nav__burger { display: block; } }

.menu {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: 14px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  border: 0;
  color: #fff;
  background:
    radial-gradient(80% 50% at 85% 0%, rgba(47, 123, 255, .35), transparent 65%),
    linear-gradient(180deg, #0A1838 0%, #060C1D 55%, #03050B 100%);
  overflow-y: auto;
  isolation: isolate;
}
/* Motif hexagonal de la charte, très discret, qui s'éteint vers le bas */
.menu::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: var(--hex-glow);
  background-size: 48px 84px;
  opacity: .18;
  -webkit-mask: radial-gradient(90% 60% at 80% 0%, #000, transparent 75%);
  mask: radial-gradient(90% 60% at 80% 0%, #000, transparent 75%);
  pointer-events: none;
}
.menu[open] { display: flex; flex-direction: column; animation: menu-in 320ms var(--ease) both; }
.menu.is-closing { animation: menu-out 220ms var(--ease) both; }
.menu::backdrop { background: transparent; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-8px); } }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 2px 0 6px; }
.menu__top .nav__brand { margin: 0; }
.menu__top .nav__brand img { width: 62px; height: 46px; }
.menu__close {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(160, 190, 255, .28);
  background: rgba(10, 24, 56, .55);
  color: #fff;
  cursor: pointer;
}
.menu__close svg { width: 18px; height: 18px; }
.menu__links { display: flex; flex-direction: column; margin-top: 28px; }
.menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid rgba(160, 190, 255, .14);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
  animation: menu-link 420ms var(--ease) both;
}
.menu__links a:nth-child(2) { animation-delay: 40ms; }
.menu__links a:nth-child(3) { animation-delay: 80ms; }
.menu__links a:nth-child(4) { animation-delay: 120ms; }
.menu__links a:nth-child(5) { animation-delay: 160ms; }
.menu__links a svg { width: 20px; height: 20px; color: #8FB6FF; flex: none; transition: transform var(--t-fast) var(--ease); }
.menu__links a:active svg { transform: translateX(4px); }
@keyframes menu-link { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.menu__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; }
.menu__meta { margin-top: 6px; text-align: center; font-size: 13.5px; color: var(--on-dark-3); }
.is-menu-open, .is-menu-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .menu[open], .menu.is-closing, .menu__links a { animation: none; } }

.nav__brand-name {
  padding-left: 12px;
  border-left: 1px solid rgba(220, 231, 255, .18);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 400;
  color: var(--on-dark-2);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover { color: #fff; background: rgba(160, 190, 255, .08); }
.nav__links a[aria-current="true"] { color: #fff; }
.nav .btn { border-radius: 10px; min-height: 50px; padding: 0 22px; }
/* Chromé plus lumineux que celui des titres : il doit briller en petit */
.nav__brand-name.chrome { background-image: linear-gradient(180deg, #FFFFFF 0%, #EEF3FB 50%, #B4C0D6 100%); }
.nav .btn--primary {
  background: linear-gradient(180deg, #5596FF 0%, #2F7BFF 42%, #1546B8 100%);
  box-shadow:
    0 0 0 1px rgba(106, 168, 255, .45),
    0 8px 22px -4px rgba(47, 123, 255, .6),
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -1px 0 rgba(6, 20, 54, .45);
}
.nav .btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(150, 195, 255, .6),
    0 12px 30px -4px rgba(47, 123, 255, .7),
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(6, 20, 54, .45);
}

/* ==========================================================================
   1. Accueil
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 132px 0 clamp(64px, 9vw, 128px);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media picture { display: contents; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 5, 11, .35) 0%, rgba(3, 5, 11, 0) 22%, rgba(3, 5, 11, 0) 58%, #03050B 100%),
    linear-gradient(90deg, #03050B 0%, rgba(3, 5, 11, .88) 34%, rgba(3, 5, 11, .25) 68%, rgba(3, 5, 11, .45) 100%);
}
.hero__hex {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--hex-glow);
  background-size: 97px 168px;
  -webkit-mask-image: radial-gradient(60% 70% at 88% 4%, #000 0%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  mask-image: radial-gradient(60% 70% at 88% 4%, #000 0%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  opacity: .55;
  animation: breathe 6s var(--ease) infinite alternate;
}
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }

.hero__inner { position: relative; }

/* Preuve sociale Google : note réelle de la fiche (5,0 · 10 avis au 26/10/2026) */
.proof {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 9px 22px 9px 9px;
  border-radius: 19px; /* concentrique : 10 (carré Google) + 9 (marge) */
  background: linear-gradient(135deg, rgba(16, 41, 94, .55), rgba(6, 12, 29, .6));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 40px rgba(3, 5, 11, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
/* Liseré chromé */
.proof::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .55), rgba(106, 168, 255, .25) 40%, rgba(255, 200, 61, .5) 75%, rgba(255, 255, 255, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* Reflet qui balaie le badge, au même rythme que le titre */
.proof::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0;
  animation: proof-shine 5.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes proof-shine {
  0% { background-position: 160% 0; }
  42%, 100% { background-position: -60% 0; }
}
.proof:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(3, 5, 11, .45), 0 0 0 1px rgba(255, 200, 61, .25), inset 0 1px 0 rgba(255, 255, 255, .1); }
.proof:focus-visible { outline-offset: 4px; }
.proof__g {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(3, 5, 11, .35);
}
.proof__g svg { width: 24px; height: 24px; }
.proof__body { display: flex; flex-direction: column; gap: 4px; }
.proof__stars { display: flex; gap: 2px; color: #FFC83D; }
.proof__stars svg {
  width: 18px; height: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 200, 61, .55));
  animation: star-in 600ms var(--ease) both;
}
.proof__stars svg:nth-child(2) { animation-delay: 80ms; }
.proof__stars svg:nth-child(3) { animation-delay: 160ms; }
.proof__stars svg:nth-child(4) { animation-delay: 240ms; }
.proof__stars svg:nth-child(5) { animation-delay: 320ms; }
@keyframes star-in {
  from { opacity: 0; transform: scale(.4) rotate(-30deg); }
  to { opacity: 1; transform: none; }
}
.proof__txt { font-size: 15px; line-height: 1.2; color: var(--on-dark-2); white-space: nowrap; }
.proof__txt b { font-weight: 600; color: #fff; font-size: 17px; }
.proof__sep { margin: 0 4px; color: var(--on-dark-3); }
.proof__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding-left: 22px;
  align-self: stretch;
  border-left: 1px solid rgba(160, 190, 255, .2);
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--ice);
  white-space: nowrap;
}
.proof__arrow { width: 16px; height: 16px; color: var(--mist); flex: none; transition: transform var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
.proof:hover .proof__arrow { transform: translate(2px, -2px); color: #fff; }

/* Version claire du badge Google (sections blanches) : même structure, nacre et or */
.proof--light {
  background: linear-gradient(135deg, #FFFFFF 0%, #F6F9FF 55%, #EAF1FF 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 14px 34px -10px rgba(13, 47, 134, .28), 0 2px 6px rgba(13, 47, 134, .08), inset 0 1px 0 #fff;
  color: var(--text);
}
.proof--light::before {
  background: linear-gradient(120deg, rgba(47, 123, 255, .45), rgba(211, 221, 240, .9) 40%, rgba(255, 200, 61, .8) 75%, rgba(47, 123, 255, .3));
}
.proof--light::after { background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%); }
.proof--light:hover { box-shadow: 0 20px 44px -10px rgba(13, 47, 134, .36), 0 0 0 1px rgba(255, 200, 61, .35), inset 0 1px 0 #fff; }
.proof--light .proof__g { box-shadow: 0 4px 14px rgba(13, 47, 134, .18), inset 0 0 0 1px rgba(13, 47, 134, .08); }
.proof--light .proof__stars { color: #F5B400; }
.proof--light .proof__stars svg { filter: drop-shadow(0 1px 3px rgba(245, 180, 0, .45)); }
.proof--light .proof__txt { color: var(--text-2); }
.proof--light .proof__txt b { color: var(--blue-900); }
.proof--light .proof__sep { color: var(--text-3); }
.proof--light .proof__cta { border-left-color: var(--line-light); color: var(--blue-700); font-size: 14px; gap: 8px; margin-left: auto; }
.proof--light .proof__arrow { color: var(--blue-500); }
.proof--light:hover .proof__arrow { color: var(--blue-700); }
.works__ctas .proof--light { min-height: 68px; }

.hero__title {
  margin-top: 26px;
  font-size: clamp(46px, 5vw, 80px); /* ordinateur : 72 px en 1440, 80 px au plus */
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .92;
  text-wrap: balance;
}
.hero__title > span { display: block; }
.hero__title .chrome { padding-bottom: .04em; }
.shine {
  background-image:
    linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, #BFD3FF 52%, #6AA8FF 100%);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0, 0 0;
  animation: shine 5.5s var(--ease) infinite;
}
@keyframes shine {
  0% { background-position: 160% 0, 0 0; }
  42%, 100% { background-position: -60% 0, 0 0; }
}
.hero__lead {
  margin-top: 26px;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-dark-2);
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }


/* ==========================================================================
   2. Bandeau défilant
   ========================================================================== */
.marquee { padding-block: clamp(22px, 2.6vw, 34px); }
.marquee__viewport { overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding-right: clamp(18px, 2vw, 32px);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  white-space: nowrap;
}
.marquee__star { width: .5em; height: .5em; color: #BFD3FF; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Avis Google : extraits réels sur le panneau bleu de la charte, défilement lent, pause au survol */
.reviews { padding-block: var(--section-top) clamp(64px, 8vw, 112px); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 40px; }
.reviews .h2 { margin-top: 22px; }
.reviews__side { display: flex; align-items: center; gap: 14px; }
.reviews__nav { display: flex; gap: 8px; }
.reviews__btn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 6px 16px -8px rgba(13, 47, 134, .3);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.reviews__btn svg { width: 18px; height: 18px; }
.reviews__btn[data-rail="-1"] svg { transform: rotate(180deg); }
.reviews__btn:hover { border-color: var(--blue-500); }
.reviews__btn:active { transform: scale(.96); }
.reviews__btn:disabled { opacity: .35; cursor: default; }
/* Carrousel : on fait défiler au doigt ou au trackpad, les cartes s'aimantent */
.reviews__viewport {
  --rail-pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  margin-top: clamp(36px, 4.5vw, 56px);
  padding: 8px var(--rail-pad) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.reviews__viewport::-webkit-scrollbar { display: none; }
.reviews__viewport:focus-visible { outline: 2px solid var(--blue-500); outline-offset: -2px; }
.reviews__track { display: flex; width: max-content; }
.reviews__group { display: flex; gap: 16px; flex: none; }
.review { scroll-snap-align: start; }
/* Carte nacrée : même matière que le badge Google clair (blanc, liseré bleu et or) */
.review {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: clamp(280px, 30vw, 380px);
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #FFFFFF 0%, #F6F9FF 60%, #EEF3FF 100%);
  box-shadow: 0 16px 34px -14px rgba(13, 47, 134, .26), 0 2px 6px rgba(13, 47, 134, .06), inset 0 1px 0 #fff;
}
.review::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(47, 123, 255, .35), rgba(211, 221, 240, .9) 45%, rgba(255, 200, 61, .55) 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.review__stars { display: flex; gap: 3px; color: #F5B400; }
.review__stars svg { width: 17px; height: 17px; filter: drop-shadow(0 1px 3px rgba(245, 180, 0, .4)); }
.review__text { margin: 0; flex: 1; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.review__by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.review__g { width: 22px; height: 22px; flex: none; padding: 5px; box-sizing: content-box; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(13, 47, 134, .14), inset 0 0 0 1px rgba(13, 47, 134, .08); }
.review__by > span { display: flex; flex-direction: column; gap: 2px; }
.review__by b { font-size: 15.5px; font-weight: 600; color: var(--blue-900); }
.review__by span span { font-size: 13px; color: var(--text-3); }
@media (max-width: 640px) {
  .reviews__side { width: 100%; }
  .reviews__side .proof { flex: 1; min-width: 0; }
  .reviews__nav { display: none; }
  .review { width: 82vw; padding: 20px; }
  .review__text { font-size: 15.5px; }
}

/* ==========================================================================
   3. L'atelier
   ========================================================================== */
.intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.intro .h2 { margin-top: 22px; }
.intro__text {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.gallery {
  margin-top: clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  gap: clamp(16px, 2.2vw, 32px);
  align-items: start;
}
.shot { position: relative; }
.shot__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #E6EDF9;
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
/* Liseré intérieur neutre : noir à 10 % sur fond clair, jamais teinté */
.shot__frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  pointer-events: none;
}
.shot--a .shot__frame { aspect-ratio: 4 / 5; }
.shot--b { margin-top: 48px; }
.shot--b .shot__frame { aspect-ratio: 3 / 5; }
.shot figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--text-3);
}
.shot figcaption::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--blue-500);
}

.promise { padding-top: 6px; }
.promise__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 20px 0;
}
/* Filet chromé : clair au centre, il s'éteint sur les bords */
.promise__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, #2F7BFF 0%, #A9C4F5 35%, #D3DDF0 100%);
}
.promise__title { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--text); }
.promise__text { font-size: 15.5px; line-height: 1.5; color: var(--text-3); }

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--g-dark);
}
.signature img { width: 64px; height: 48px; }
.signature__name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.signature__role { margin-top: 4px; font-size: 14px; color: var(--on-dark-2); }

/* ==========================================================================
   4. Prestations en mosaïque
   ========================================================================== */
.head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.head-split .h2 { margin-top: 22px; }
/* Le titre prend toute la largeur pour tenir sur une ligne ; le paragraphe reste à une longueur lisible */
.head-stack .lead { margin-top: 22px; max-width: 640px; }

.mosaic {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(160, 190, 255, .14);
  background: var(--night-3);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tile:hover {
  border-color: rgba(106, 168, 255, .5);
  box-shadow: 0 0 0 1px rgba(106, 168, 255, .12);
}
.tile:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.tile:hover .tile__media img { transform: scale(1.05); }
/* Lustrage : photo calée par le bas et agrandie, la polisseuse et le logo Porsche remontent au-dessus du texte */
.tile--b .tile__media img {
  position: absolute;
  left: 0; bottom: 0;
  height: 150%;
  object-position: 8% 100%;
  transform-origin: 50% 100%;
}
.tile--b .tile__shade { background: linear-gradient(180deg, rgba(3, 5, 11, 0) 50%, rgba(3, 5, 11, .32) 72%, rgba(3, 5, 11, .78) 100%); }
/* Canapés : la buse de la shampouineuse reste dans le cadre, même en bandeau */
.tile--d .tile__media img { object-position: 68% 55%; }
/* Intérieur complet : volant, levier et assise dans le cadre, quel que soit l'écran */
.tile--a .tile__media img { object-position: 50% 45%; }
.tile__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 5, 11, 0) 35%, rgba(3, 5, 11, .3) 60%, rgba(3, 5, 11, .78) 100%); /* voile allégé : la photo respire, le texte reste lisible */
}
.tile__kicker { color: var(--ice); }
.tile__title {
  font-size: clamp(26px, 1.6vw + 8px, 36px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: .98;
}
.tile--sm .tile__title { font-size: clamp(24px, 1.2vw + 10px, 30px); }
.tile__title, .tile__text, .tile__kicker { text-shadow: 0 1px 12px rgba(3, 5, 11, .55); }
.tile__text { max-width: 40ch; font-size: 15.5px; line-height: 1.45; color: rgba(232, 238, 248, .82); }
.tile__price {
  position: absolute;
  top: clamp(18px, 2vw, 24px);
  right: clamp(18px, 2vw, 24px);
  padding: 9px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.tile__price small { font-size: 12px; color: var(--ice); margin-right: 3px; font-weight: 400; }
.tile__go {
  position: absolute;
  top: clamp(18px, 2vw, 24px);
  left: clamp(18px, 2vw, 24px);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(160, 190, 255, .28);
  background: rgba(6, 12, 29, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}
.tile__go svg { width: 16px; height: 16px; }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--blue-600); }

.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--b { grid-column: span 5; grid-row: span 2; }
.tile--x, .tile--c, .tile--d { grid-column: span 4; }
.tile--e { grid-column: 1 / -1; }
.tile.panel-blue { background: var(--g-panel); }

.tile--e { background: var(--g-dark-r); justify-content: space-between; gap: 14px; }
.fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fleet__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 8px 10px 0;
  border-radius: var(--r-sm);
  transition: transform var(--t-fast) var(--ease);
}
.fleet__item:active { transform: scale(.96); }
.fleet__car {
  width: 100%;
  max-width: 76px;
  height: auto;
  margin-bottom: 8px;
  fill: none;
  stroke: #A9C4F5;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.fleet__item:hover .fleet__car { stroke: #fff; transform: translateX(3px); }
.fleet__name { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.fleet__price { font-size: 13.5px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================================
   5. Réalisations
   ========================================================================== */
.works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--night-3);
  box-shadow: 0 40px 80px rgba(13, 47, 134, .18), 0 0 0 1px rgba(0, 0, 0, .1);
  touch-action: pan-y;
  user-select: none;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 300ms var(--ease);
}
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba.is-loading .ba__img { opacity: .4; }
.ba__line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 18px rgba(106, 168, 255, .9);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%; left: var(--pos);
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6, 12, 29, .38);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(106, 168, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
  color: #fff;
  transition: transform var(--t-fast) var(--ease);
}
.ba__handle svg { width: 26px; height: 26px; }
.ba:hover .ba__handle, .ba:has(.ba__range:focus-visible) .ba__handle { transform: scale(1.08); }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--sky); outline-offset: 4px; }
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}
.ba__tag {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  pointer-events: none;
}
.ba__tag--before { left: 18px; background: rgba(3, 5, 11, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ba__tag--after { right: 18px; background: var(--g-btn); color: #fff; box-shadow: 0 6px 18px rgba(47, 123, 255, .4); }
.ba__caption {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 2;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  pointer-events: none;
}

.works__copy .h2 { margin-top: 22px; }
.works__copy .lead { margin-top: 22px; }
.picker { margin-top: 36px; border-top: 1px solid var(--line-light); }
.picker__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: var(--text-2);
  font-size: 17.5px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.picker__num { width: 26px; font-size: 14px; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }
.picker__bar {
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--line-light);
  transition: width var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}
.picker__label { transition: transform var(--t-mid) var(--ease); }
.picker__btn:hover { color: var(--text); }
.picker__btn:hover .picker__bar { width: 22px; background: #A9BCE0; }
.picker__btn[aria-pressed="true"] { color: var(--text); font-weight: 500; }
.picker__btn[aria-pressed="true"] .picker__num { color: var(--blue-700); }
.picker__btn[aria-pressed="true"] .picker__bar { width: 44px; background: var(--blue-500); }
.picker__btn[aria-pressed="true"] .picker__label { transform: translateX(6px); }
.picker__btn:focus-visible { outline-offset: -2px; }
.picker__thumb { display: none; }
.works__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn__g { width: 18px; height: 18px; }

/* ==========================================================================
   6. Configurateur
   ========================================================================== */
.section--config {
  background: radial-gradient(70% 80% at 80% 30%, #10295E, #08132E 45%, #03050B 85%);
  color: var(--on-dark);
}
.section--config::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--hex);
  background-size: var(--hex-size);
  -webkit-mask-image: radial-gradient(80% 70% at 80% 30%, #000, transparent 80%);
  mask-image: radial-gradient(80% 70% at 80% 30%, #000, transparent 80%);
}
.config-head .h2 { margin-top: 22px; }
.config-head .lead { margin-top: 20px; }

.cfg {
  margin-top: clamp(44px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.cfg__steps { min-width: 0; }
.step + .step { margin-top: 38px; }
.step__legend {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
  font-size: clamp(22px, 1vw + 16px, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.step__num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.step__hint { font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: var(--on-dark-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  min-width: 138px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(160, 190, 255, .2);
  background: rgba(6, 12, 29, .45);
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.chip__name { font-size: 17px; font-weight: 500; line-height: 1.2; }
.chip__meta { font-size: 14px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.chip__desc { font-size: 13.5px; line-height: 1.3; color: var(--on-dark-3); }
.chip__save { color: #8FB6FF; white-space: nowrap; }
.included__list + .included__title { margin-top: 22px; }
.chip:hover { border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .45); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] {
  background: var(--g-btn);
  border-color: var(--sky);
  box-shadow: 0 10px 28px rgba(47, 123, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.chip[aria-pressed="true"] .chip__meta { color: var(--ice); }
.chip[aria-pressed="true"] .chip__desc { color: rgba(232, 238, 248, .85); }
.chip[aria-pressed="true"] .chip__save { color: #fff; }
.chip--opt { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.chip__box {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(160, 190, 255, .5);
  flex: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.chip__box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.chip--opt[aria-pressed="true"] .chip__box { background: #fff; border-color: #fff; color: var(--blue-700); }
.chip--opt[aria-pressed="true"] .chip__box svg { opacity: 1; transform: none; }
.chip--opt .chip__txt { display: flex; flex-direction: column; gap: 2px; }
/* Pastilles illustrées : photo de la prestation à gauche, texte à droite */
.chip--img { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 10px 18px 10px 10px; }
.chip--opt.chip--img { padding-left: 16px; }
.chip--img .chip__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chip__img {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .14);
  outline-offset: -1px;
  transition: transform var(--t-mid) var(--ease);
}
.chip--img:hover .chip__img { transform: scale(1.04); }
.chip--img[aria-pressed="true"] .chip__img { outline-color: rgba(255, 255, 255, .5); }

.quote-note {
  margin-top: 38px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(106, 168, 255, .35);
  background: rgba(16, 41, 94, .35);
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 56ch;
}

.included {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.included__title { color: var(--mist); }
.included__list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.included__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--on-dark-2); }
.included__list svg { width: 20px; height: 20px; flex: none; }

/* Récapitulatif façon tableau de bord */
.recap {
  position: sticky;
  top: 98px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(10, 24, 56, .72), rgba(3, 5, 11, .78));
  border: 1px solid rgba(160, 190, 255, .18);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px rgba(3, 5, 11, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.gauge { position: relative; width: min(280px, 100%); aspect-ratio: 1; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge__track { stroke: rgba(160, 190, 255, .12); }
.gauge__ticks { stroke: rgba(160, 190, 255, .38); }
.gauge__fill {
  filter: drop-shadow(0 0 8px rgba(47, 123, 255, .7));
  transition: stroke-dasharray 600ms var(--ease);
}
.gauge__center {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6px;
}
.gauge__vehicle { color: var(--mist); }
.gauge__total {
  margin-top: 6px;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gauge__sub { margin-top: 6px; font-size: 14px; color: var(--on-dark-3); }

.recap__lines {
  margin-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.recap__lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15.5px;
  color: var(--on-dark-2);
}
.recap__lines li span:last-child { color: var(--on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap__ctas { display: grid; gap: 10px; margin-top: 22px; }
.recap__note { margin-top: 14px; font-size: 13.5px; text-align: center; color: var(--on-dark-3); }

/* ==========================================================================
   7. Finitions
   ========================================================================== */
.finish {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}
.finish__aside { position: sticky; top: 120px; }
.finish__aside .h2 { margin-top: 22px; }
.head-stack .h2, .works__head .h2 { margin-top: 22px; }
.final .eyebrow + .final__title { margin-top: 22px; }
.finish__aside .lead { margin-top: 22px; }
.finish__aside .btn { margin-top: 32px; }

.rates__group + .rates__group { margin-top: 44px; }
.rates__label { color: var(--blue-700); margin-bottom: 4px; }
.rate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  transition: transform var(--t-mid) var(--ease);
}
.rate:hover { transform: translateX(6px); }
/* Chaque ligne ouvre le configurateur avec ce soin déjà choisi : toute la ligne est cliquable */
.rate { position: relative; }
.rate__go { position: absolute; inset: -4px 0; z-index: 1; border-radius: var(--r-sm); }
.rate__go:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.rate:hover .rate__name { color: var(--blue-700); }
.rate:active { transform: translateX(6px) scale(.99); }
.rate__name { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; color: var(--text); }
.rate__desc { margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: var(--text-3); max-width: 38ch; }
.rate__dots {
  align-self: end;
  height: 2px;
  margin-bottom: 11px;
  min-width: 24px;
  background-image: radial-gradient(circle, #A9BCE0 1px, transparent 1.2px);
  background-size: 7px 2px;
  background-repeat: repeat-x;
  background-position: 0 50%;
}
.rate__price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--blue-800);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rate__price--quote { font-size: 24px; letter-spacing: -.02em; }

/* ==========================================================================
   9. Appel final
   ========================================================================== */
/* Fond uni identique au départ du pied de page : aucune couture entre les deux */
/* L'appel final suit de près la carte des finitions : un seul petit écart entre les deux */
#finitions { padding-bottom: clamp(28px, 3vw, 44px); }
.final { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(64px, 8vw, 120px); background: #F4F8FF; }
.final__block {
  background:
    linear-gradient(100deg, rgba(6, 20, 54, .4) 0%, rgba(6, 20, 54, .12) 55%, transparent 80%),
    var(--g-panel);
  border-radius: var(--r-2xl);
  padding: clamp(40px, 4.6vw, 72px) clamp(24px, 5vw, 80px);
  box-shadow: 0 14px 28px -10px rgba(13, 47, 134, .3); /* ombre courte : elle s'éteint bien avant le pied de page */
}
.final__glow {
  position: absolute;
  right: -10%; bottom: -40%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 168, 255, .45), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.final__title {
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .92;
  color: #fff;
  max-width: 20ch;
  text-wrap: balance;
}
.final__text { margin-top: 26px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.final .eyebrow { color: var(--ice); }
.final .eyebrow__tri { color: #BFD3FF; }

/* ==========================================================================
   10. Pied de page : fondu du clair vers le bleu nuit de la charte, logo en filigrane coupé à 50 %
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(320px, 28vw, 400px); /* le contenu démarre sur le bleu nuit, après le fondu */
  background:
    radial-gradient(70% 45% at 82% 100%, rgba(47, 123, 255, .28), transparent 70%),
    linear-gradient(180deg,
      #F4F8FF 0,
        #EAF1FF 50px,
        #CFDFFF 100px,
        #9DBDF7 150px,
        #5B8BE6 200px,
        #2F62CC 240px,
        #1A3C95 280px,
        #0F2662 320px,
        #0A1838 360px,
        #060C1D 62%,
        #03050B 100%);
  color: #fff;
  /* recouvre l'arrondi de hauteur entre la section précédente et le pied de page */
  margin-top: -1px;
}
@supports (background: linear-gradient(in oklab, red, blue)) {
  .footer {
    background:
      radial-gradient(70% 45% at 82% 100%, rgba(47, 123, 255, .28), transparent 70%),
      linear-gradient(in oklab 180deg,
        #F4F8FF 0,
        #EAF1FF 50px,
        #CFDFFF 100px,
        #9DBDF7 150px,
        #5B8BE6 200px,
        #2F62CC 240px,
        #1A3C95 280px,
        #0F2662 320px,
        #0A1838 360px,
        #060C1D 62%,
        #03050B 100%);
  }
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  align-items: start;
}
.footer__home { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.footer__home img { width: 54px; height: 40px; }
.footer__home span { font-size: clamp(24px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.footer__tagline { margin-top: 14px; max-width: 24ch; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.35; color: rgba(255, 255, 255, .9); }
.footer__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .1);
  font-family: var(--font-btn);
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__pill svg { width: 16px; height: 16px; }
.footer__pill .btn__g { width: 18px; height: 18px; }
.footer__pill:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.footer__pill:active { transform: scale(.96); }

.footer__title { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .95); margin-bottom: 10px; }
.footer__col ul { display: grid; gap: 0; }
.footer__col li a, .footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .88);
  transition: color var(--t-fast) var(--ease);
}
.footer__col li a:hover, .footer__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__addr { font-style: normal; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.footer__note { font-size: 14px; color: rgba(255, 255, 255, .78); }
.footer__link { margin-top: 2px; word-break: break-all; }

.footer__copy { margin-top: clamp(40px, 5vw, 64px); font-size: 13.5px; color: rgba(255, 255, 255, .78); }

/* Pages légales : même fondu, version courte */
.footer--mini { padding-top: clamp(160px, 16vw, 220px); }
.footer__mini-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer__mini-row .footer__copy { margin-top: 0; }
.footer__mini-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__mini-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .88); }
.footer__mini-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Logo en filigrane : ses vraies couleurs à faible opacité, on n'en voit que la moitié haute */
.footer__mark {
  position: relative;
  z-index: -1;
  width: min(1100px, 92vw);
  margin: clamp(8px, 2vw, 24px) auto 0;
  aspect-ratio: 1600 / 596; /* moitié de 1600 × 1193 */
  overflow: hidden;
  pointer-events: none;
}
.footer__mark img {
  width: 100%;
  height: auto;
  opacity: .32;
}

/* ==========================================================================
   Barre mobile collante
   ========================================================================== */
.mbar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  padding: 8px;
  gap: 8px;
  border-radius: 22px; /* concentrique : 14 (bouton) + 8 (marge) */
  background: linear-gradient(180deg, rgba(22, 42, 92, .94) 0%, rgba(6, 12, 29, .96) 100%);
  border: 1px solid rgba(160, 190, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px rgba(3, 5, 11, .45);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.mbar .btn { border-radius: var(--r-md); flex: 1; }
.mbar__call {
  flex: none !important;
  width: 52px;
  padding: 0;
}
.mbar__call svg { width: 22px; height: 22px; fill: currentColor; }
.mbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Barre de prix de la page : même coque que la barre mobile, contenu de la mini-jauge */
.pdock {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 91;
  max-width: 560px;
  margin-inline: auto;
  padding: 8px;
  gap: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 42, 92, .94) 0%, rgba(6, 12, 29, .96) 100%);
  border: 1px solid rgba(160, 190, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px rgba(3, 5, 11, .45);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms var(--ease), opacity 280ms var(--ease);
}
.pdock.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.pdock .sheet-mini {
  flex: 1;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 6px 8px 6px 10px;
  border-radius: var(--r-md);
  background: none;
}
.pdock .mini-gauge { width: 44px; height: 44px; flex: none; }
.pdock .sheet-mini__total { font-size: 24px; }
.gauge__from { font-size: .5em; font-weight: 500; letter-spacing: -.01em; margin-right: .14em; vertical-align: .35em; } /* centré sur la hauteur des chiffres */
.pdock .sheet-mini__veh { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .08em; }
.pdock__call { display: none !important; }

/* ==========================================================================
   Prise de rendez-vous : étapes 04 (créneau) et 05 (coordonnées)
   ========================================================================== */
.demo-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(255, 200, 61, .45);
  background: rgba(255, 200, 61, .07);
  font-size: 14px;
  line-height: 1.4;
  color: #FFE3A3;
}
.demo-flag svg { width: 18px; height: 18px; flex: none; color: #FFC83D; }

.days { display: flex; align-items: stretch; gap: 8px; }
.days__track {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.days__track::-webkit-scrollbar { display: none; }
.days__nav {
  display: grid; place-items: center;
  width: 44px;
  flex: none;
  border: 1px solid rgba(160, 190, 255, .2);
  border-radius: var(--r-md);
  background: rgba(6, 12, 29, .45);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.days__nav svg { width: 18px; height: 18px; }
.days__nav[data-days-nav="-1"] svg { transform: rotate(180deg); }
.days__nav:hover { border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .45); }
.day {
  position: relative; /* garde la date lue par les lecteurs d'écran dans le bouton */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: none;
  width: 76px;
  padding: 10px 6px 9px;
  scroll-snap-align: start;
  border: 1px solid rgba(160, 190, 255, .2);
  border-radius: var(--r-md);
  background: rgba(6, 12, 29, .45);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease);
}
.day__wd, .day__mo { font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.day__num { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.day__meta { margin-top: 4px; font-size: 11.5px; color: var(--on-dark-3); white-space: nowrap; }
.day:hover:not(:disabled) { border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .45); }
.day:active:not(:disabled) { transform: scale(.96); }
.day[aria-pressed="true"] {
  background: var(--g-btn);
  border-color: var(--sky);
  box-shadow: 0 10px 28px rgba(47, 123, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.day[aria-pressed="true"] .day__wd, .day[aria-pressed="true"] .day__mo, .day[aria-pressed="true"] .day__meta { color: var(--ice); }
.day:disabled { opacity: .38; cursor: not-allowed; }

.slots__day { margin-top: 18px; font-size: 15px; color: var(--on-dark-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 10px; }
.slot {
  min-height: 48px;
  border: 1px solid rgba(160, 190, 255, .2);
  border-radius: var(--r-md);
  background: rgba(6, 12, 29, .45);
  color: var(--on-dark);
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease);
}
.slot:hover { border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .45); }
.slot:active { transform: scale(.96); }
.slot[aria-pressed="true"] {
  background: var(--g-btn);
  border-color: var(--sky);
  box-shadow: 0 10px 28px rgba(47, 123, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.slots__empty { margin-top: 12px; font-size: 15px; color: var(--on-dark-2); }

/* Coordonnées */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--on-dark); }
.field__opt { margin-left: 6px; font-weight: 400; font-size: 13px; color: var(--on-dark-3); }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(160, 190, 255, .22);
  border-radius: var(--r-md);
  background: rgba(6, 12, 29, .55);
  color: #fff;
  font: inherit;
  font-size: 16px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(232, 238, 248, .38); }
.field input:hover, .field textarea:hover { border-color: rgba(160, 190, 255, .4); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--sky);
  background: rgba(10, 24, 56, .7);
  box-shadow: 0 0 0 3px rgba(106, 168, 255, .25);
}
.field input[aria-invalid="true"] { border-color: #FF8A8A; box-shadow: 0 0 0 3px rgba(255, 138, 138, .18); }
.field__error { font-size: 13.5px; color: #FFB4B4; }
.form__legal { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--on-dark-3); }
.form__legal a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }

/* Récapitulatif : ligne rendez-vous, aide et bouton */
.recap__lines .recap__slot span:last-child { color: var(--sky); }
.recap__hint { margin: -2px 0 2px; font-size: 13.5px; text-align: center; color: var(--on-dark-3); }
.recap__note a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.btn.is-loading { opacity: .75; cursor: progress; }
#confirm-btn:not(.is-ready) { filter: saturate(.75); }

/* Écran de confirmation */
.cfg.is-booked > .cfg__steps, .cfg.is-booked > .recap { display: none; }
.cfg > .cfg__steps, .cfg > .recap { transition: opacity 280ms var(--ease), transform 300ms var(--ease); }
.cfg.is-leaving > .cfg__steps, .cfg.is-leaving > .recap { opacity: 0; transform: translateY(12px) scale(.985); pointer-events: none; }
.booked {
  grid-column: 1 / -1;
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(10, 24, 56, .78), rgba(3, 5, 11, .82));
  border: 1px solid rgba(160, 190, 255, .2);
  box-shadow: 0 40px 90px rgba(3, 5, 11, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  text-align: left;
  animation: booked-in 600ms var(--ease) both;
}
.booked:focus { outline: none; }
@keyframes booked-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.booked__check {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--g-btn);
  border: 1px solid var(--sky);
  box-shadow: 0 0 0 8px rgba(47, 123, 255, .12), 0 0 40px rgba(47, 123, 255, .55);
  color: #fff;
}
.booked__check svg { width: 30px; height: 30px; }
.booked__title { margin-top: 14px; font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.booked__when { margin-top: 14px; font-size: 19px; color: #fff; }
.booked__lines { margin-top: 22px; border-top: 1px solid var(--line-dark); }
.booked__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; color: var(--on-dark-2); }
.booked__lines li span:last-child { color: #fff; font-variant-numeric: tabular-nums; }
.booked__info { margin-top: 18px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-2); }
.booked__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sheet.is-booked .sheet__sticky, .sheet.is-booked .sheet__foot { display: none; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
  .day { width: 68px; }
  .days__nav { display: none; }
  .booked__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Mini-jauge collante + animation du total
   ========================================================================== */
.gauge__total, .sheet-mini__total { display: inline-block; transform-origin: center; }
.is-bump { animation: bump 520ms var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.gauge.is-bump { animation: none; }
.gauge.is-bump .gauge__fill { animation: gauge-flash 700ms var(--ease); }
@keyframes gauge-flash {
  0% { filter: drop-shadow(0 0 8px rgba(47, 123, 255, .7)); }
  40% { filter: drop-shadow(0 0 18px rgba(106, 168, 255, 1)); }
  100% { filter: drop-shadow(0 0 8px rgba(47, 123, 255, .7)); }
}

.mini-gauge { width: 52px; height: 52px; flex: none; overflow: visible; }
.mini-gauge__track { stroke: rgba(160, 190, 255, .14); }
.mini-gauge__fill { filter: drop-shadow(0 0 5px rgba(47, 123, 255, .75)); transition: stroke-dasharray 600ms var(--ease); }

/* Mini-jauge collante en bas de la pop-up, au-dessus du bouton SMS : se replie quand le vrai récapitulatif est visible */
.sheet__sticky {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows 380ms var(--ease), border-color 380ms var(--ease);
}
.sheet__sticky.is-visible { grid-template-rows: 1fr; border-top-color: var(--line-dark); }
.sheet-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  padding: 0 16px 0 20px;
  border: 0;
  background: linear-gradient(90deg, rgba(16, 41, 94, .55), rgba(3, 5, 11, .2));
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms var(--ease), transform 380ms var(--ease), padding 380ms var(--ease);
  visibility: hidden;
}
.sheet__sticky.is-visible .sheet-mini { opacity: 1; transform: none; padding-block: 10px; visibility: visible; }
.sheet-mini__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sheet-mini__veh { font-size: 10.5px; color: var(--mist); }
.sheet-mini__total { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1; align-self: flex-start; }
.sheet-mini__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(160, 190, 255, .24);
  background: rgba(6, 12, 29, .5);
  font-family: var(--font-btn);
  font-size: 14px;
  font-weight: 500;
}
.sheet-mini__cta svg { width: 16px; height: 16px; transform: rotate(90deg); }
.sheet-mini:hover .sheet-mini__cta { border-color: rgba(160, 190, 255, .5); }

/* ==========================================================================
   Configurateur en pop-up (bottom sheet mobile)
   ========================================================================== */
.is-sheet-open, .is-sheet-open body { overflow: hidden; }
.sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  max-height: 92dvh;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(160, 190, 255, .18);
  border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: radial-gradient(90% 60% at 80% 0%, #10295E, #08132E 50%, #03050B 100%);
  color: var(--on-dark);
  box-shadow: 0 -30px 80px rgba(3, 5, 11, .6);
  overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in 380ms var(--ease) both; }
.sheet.is-closing { animation: sheet-out 220ms var(--ease) both; }
.sheet::backdrop { background: rgba(3, 5, 11, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { from { transform: none; } to { transform: translateY(100%); } }

/* Pop-up éclaircie : surfaces lisibles, contours ≥ 3:1, lumière en haut */
.sheet {
  isolation: isolate;
  background:
    radial-gradient(90% 45% at 85% 0%, rgba(58, 134, 255, .3), transparent 62%),
    linear-gradient(180deg, #102658 0%, #0B1B40 42%, #091631 100%);
}
.sheet::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--hex);
  background-size: var(--hex-size);
  -webkit-mask-image: radial-gradient(90% 55% at 80% 0%, #000, transparent 80%);
  mask-image: radial-gradient(90% 55% at 80% 0%, #000, transparent 80%);
}
.sheet::backdrop { background: rgba(3, 5, 11, .45); }

.sheet .chip:not([aria-pressed="true"]),
.sheet .day:not([aria-pressed="true"]),
.sheet .slot:not([aria-pressed="true"]),
.sheet .field input,
.sheet .field textarea {
  background: rgba(22, 50, 112, .5);
  border-color: rgba(160, 190, 255, .5);
}
.sheet .chip:not([aria-pressed="true"]):hover,
.sheet .day:not([aria-pressed="true"]):hover:not(:disabled),
.sheet .slot:not([aria-pressed="true"]):hover {
  background: rgba(32, 68, 148, .6);
  border-color: rgba(190, 210, 255, .75);
}
.sheet .field input:focus-visible, .sheet .field textarea:focus-visible { background: rgba(16, 41, 94, .8); border-color: var(--sky); }
.sheet .chip:not([aria-pressed="true"]) .chip__meta { color: rgba(232, 238, 248, .8); }
.sheet .chip__box { border-color: rgba(200, 218, 255, .7); }
.sheet .day:disabled { opacity: .45; }

/* Étapes séparées par un filet clair */
.sheet .step + .step { margin-top: 26px; }
.sheet .step + .step > .step__legend { width: 100%; padding-top: 26px; border-top: 1px solid rgba(160, 190, 255, .16); }
.sheet .step__num { color: var(--sky); font-weight: 600; }
.sheet .included { border-top-color: rgba(160, 190, 255, .16); }

/* Zone de réservation : la plus sombre, pour ancrer le bas */
.sheet .sheet__sticky { background: rgba(5, 11, 28, .96); }
.sheet .sheet-mini { background: linear-gradient(90deg, rgba(16, 41, 94, .6), rgba(5, 11, 28, 0)); }
.sheet .sheet__foot { background: #050B1C; }

.sheet__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 16px 14px 20px;
  border-bottom: 1px solid var(--line-dark);
}
.sheet__grip {
  position: absolute;
  top: 8px; left: 50%;
  width: 40px; height: 4px;
  margin-left: -20px;
  border-radius: 4px;
  background: rgba(160, 190, 255, .3);
}
.sheet__title { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.sheet__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(6, 12, 29, .5);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.sheet__close svg { width: 20px; height: 20px; }
.sheet__close:hover { border-color: rgba(160, 190, 255, .45); background: rgba(16, 41, 94, .5); }
.sheet__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 20px 28px;
}
.sheet .cfg { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.sheet .recap { position: relative; top: 0; max-width: none; margin-top: 8px; }
.sheet .recap__ctas, .sheet .recap__note { display: none; }
.sheet .chip { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); }
.sheet .chip--opt { flex-basis: 100%; }
.sheet .chip--img { flex-basis: 100%; }
.sheet .included__list { grid-template-columns: 1fr; }
.sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 20px;
  border-top: 1px solid var(--line-dark);
  background: rgba(3, 5, 11, .88);
}
.sheet__foot .btn { flex: 1; }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal-page { background: var(--g-light); color: var(--text); }
.legal { padding: 140px 0 96px; }
.legal__inner { max-width: 780px; }
.legal h1 { margin-top: 20px; font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.035em; line-height: .96; }
.legal h2 { margin-top: 48px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.legal p, .legal li { margin-top: 12px; color: var(--text-2); line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { background: #FFF4D6; color: #6B4A00; padding: 1px 6px; border-radius: 5px; font-weight: 500; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 40px; }

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */
@keyframes reveal {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal linear both;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}
@supports not (animation-timeline: view()) {
  .js .reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Les tuiles et les groupes de tarifs arrivent l'un après l'autre (même courbe, léger décalage) */
@supports (animation-timeline: view()) {
  .mosaic > .reveal:nth-child(3n + 2), .rates > .reveal:nth-child(2n) { animation-range: entry 6% cover 34%; }
  .mosaic > .reveal:nth-child(3n + 3) { animation-range: entry 12% cover 40%; }
}
@supports not (animation-timeline: view()) {
  .js .mosaic > .reveal:nth-child(3n + 2), .js .rates > .reveal:nth-child(2n) { transition-delay: 90ms; }
  .js .mosaic > .reveal:nth-child(3n + 3) { transition-delay: 180ms; }
}

/* Aperçu photo des tarifs : petite carte qui suit le curseur */
.rate-peek {
  position: fixed;
  top: 0; left: 0;
  z-index: 80;
  width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: .9;
  box-shadow: 0 24px 50px -18px rgba(13, 47, 134, .45), 0 0 0 1px rgba(255, 255, 255, .6);
  transition: opacity 220ms var(--ease), scale 320ms var(--ease);
  will-change: transform;
}
.rate-peek.is-on { opacity: 1; scale: 1; }
.rate-peek img { width: 100%; height: 100%; object-fit: cover; }

/* Témoignage vidéo : vignette 9:16 au contour dégradé bleu nuit de la charte */
.ugc {
  --ugc-ring: linear-gradient(160deg, #6AA8FF 0%, #2F7BFF 22%, #1546B8 52%, #0A1838 100%);
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 89;
  width: 148px;
  aspect-ratio: 9 / 16;
  padding: 2px;
  border-radius: 18px;
  background: var(--ugc-ring);
  box-shadow: 0 22px 44px -14px rgba(3, 5, 11, .6), 0 0 28px -6px rgba(47, 123, 255, .45);
  transition: opacity 360ms var(--ease), transform 460ms var(--ease), visibility 0s linear 0s;
}
.ugc.is-hidden { opacity: 0; transform: translateY(24px) scale(.92); visibility: hidden; pointer-events: none; transition: opacity 260ms var(--ease), transform 360ms var(--ease), visibility 0s linear 360ms; }
/* Réduite : la vignette laisse place à une pastille ronde (visage du client + lecture) qui la fait revenir */
.ugc { transition: opacity 360ms var(--ease), transform 460ms var(--ease), width 420ms var(--ease), border-radius 420ms var(--ease), visibility 0s linear 0s; }
.ugc__restore {
  display: none;
  position: relative;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #03050B url("../video/temoignage-client-poster.webp") 50% 22% / 180% auto no-repeat;
  cursor: pointer;
}
.ugc__restore::after { content: ""; position: absolute; inset: -8px; } /* zone tactile */
.ugc__dot {
  position: absolute;
  right: -2px; bottom: -2px;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-500, #2F7BFF);
  color: #fff;
  box-shadow: 0 0 0 2px #0A1838;
}
.ugc__dot svg { width: 10px; height: 10px; margin-left: 1px; }
.ugc.is-min { width: 60px; aspect-ratio: 1; border-radius: 50%; }
.ugc.is-min .ugc__open, .ugc.is-min .ugc__close { display: none; }
.ugc.is-min .ugc__restore { display: block; }
.ugc.is-min::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(47, 123, 255, .5);
  animation: ugc-ping 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes ugc-ping { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ugc.is-min::before { animation: none; } }
.ugc__open {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #03050B;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.ugc__open:active { transform: scale(.97); }
.ugc__open:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ugc__preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.ugc__open::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 5, 11, .75) 100%);
  pointer-events: none;
}
.ugc__badge {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 30px;
  border-radius: 10px;
  background: rgba(10, 24, 56, .55);
  border: 1px solid rgba(160, 190, 255, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-btn);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.ugc__badge svg { width: 12px; height: 12px; }
.ugc__close {
  position: absolute;
  top: -10px; right: -10px;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(160, 190, 255, .35);
  background: #0A1838;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(3, 5, 11, .45);
}
.ugc__close::before { content: ""; position: absolute; inset: -8px; } /* zone tactile de 44 px */
.ugc__close svg { width: 12px; height: 12px; }

.ugc-player {
  width: min(92vw, calc(min(86vh, 780px) * 9 / 16));
  max-width: none; max-height: none;
  padding: 2px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(160deg, #6AA8FF 0%, #2F7BFF 22%, #1546B8 52%, #0A1838 100%);
  overflow: visible;
  box-shadow: 0 40px 90px -20px rgba(3, 5, 11, .8), 0 0 50px -10px rgba(47, 123, 255, .5);
}
.ugc-player::backdrop { background: rgba(3, 5, 11, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ugc-player__frame { aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #03050B; }
.ugc-player__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ugc-player__close {
  position: absolute;
  top: -14px; right: -14px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(160, 190, 255, .4);
  background: #0A1838;
  color: #fff;
  cursor: pointer;
}
.ugc-player__close svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .ugc { left: 14px; bottom: calc(100px + env(safe-area-inset-bottom)); width: 104px; border-radius: 16px; }
  .ugc.is-min { width: 54px; border-radius: 50%; }
  .ugc__open { border-radius: 14px; }
  .ugc__badge { font-size: 10.5px; min-height: 26px; left: 6px; right: 6px; bottom: 6px; gap: 4px; }
  .ugc-player__close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ugc, .ugc.is-hidden { transition: none; } }

/* ==========================================================================
   Points de rupture : ≤1100, ≤860, ≤640
   ========================================================================== */
@media (max-width: 1100px) {
  .pdock { display: flex; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .nav__links a { padding: 0 12px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .promise { grid-column: 1 / -1; }
  .promise__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .signature { max-width: 420px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .tile--a, .tile--b { grid-column: 1 / -1; grid-row: span 2; }
  .tile--x, .tile--c { grid-column: span 1; }
  .tile--d { grid-column: 1 / -1; }
  .tile--e { grid-column: 1 / -1; }
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .recap { position: relative; top: 0; max-width: 560px; width: 100%; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav { gap: 10px; }
  .mbar { display: flex; }
  .pdock__call { display: inline-flex !important; }
  .hero { padding-bottom: 112px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .intro, .head-split { grid-template-columns: 1fr; align-items: start; }
  .works { grid-template-columns: 1fr; gap: 0; }
  .works__copy { display: contents; }
  .works__head { order: -1; margin-bottom: 32px; }

  /* Les réalisations deviennent une bande de vignettes avant/après, collée sous le comparateur */
  .picker {
    display: flex;
    gap: 10px;
    margin: 16px calc(var(--gutter) * -1) 0;
    padding: 4px var(--gutter) 6px;
    border-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .picker::-webkit-scrollbar { display: none; }
  .picker__btn {
    flex: 0 0 96px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
    font-size: 13px;
    line-height: 1.3;
    scroll-snap-align: start;
  }
  .picker__num, .picker__bar { display: none; }
  .picker__thumb {
    display: block;
    width: 96px;
    height: 120px;
    border-radius: var(--r-sm);
    object-fit: cover;
    outline: 1px solid rgba(13, 47, 134, .12);
    outline-offset: -1px;
    transition: outline-color var(--t-fast) var(--ease), outline-offset var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .picker__btn:active .picker__thumb { transform: scale(.96); }
  .picker__btn[aria-pressed="true"] .picker__thumb { outline: 2px solid var(--blue-500); outline-offset: 2px; }
  .picker__btn[aria-pressed="true"] .picker__label { transform: none; }
  .ba { max-width: 560px; width: 100%; }
  .finish { grid-template-columns: 1fr; }
  .finish__aside { position: static; }
}

@media (max-width: 640px) {
  .nav { padding: 0 8px 0 10px; }
  .nav__brand img { width: 62px; height: 46px; }
  .nav__brand-name { font-size: 12.5px; letter-spacing: .04em; }
  .nav .btn--sm { padding: 0 16px; }
  .hero { padding-top: 112px; }
  .hero__media img { object-position: 64% 30%; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(3, 5, 11, .55) 0%, rgba(3, 5, 11, .2) 26%, rgba(3, 5, 11, .62) 52%, #03050B 82%),
      linear-gradient(90deg, rgba(3, 5, 11, .7) 0%, rgba(3, 5, 11, .25) 100%);
  }
  .proof { gap: 12px; padding-right: 14px; }
  .proof__cta { margin-left: 4px; padding-left: 12px; font-size: 0; gap: 0; }
  .proof__txt { font-size: 13.5px; }
  .proof__txt b { font-size: 15px; }
  .proof__g { width: 40px; height: 40px; }
  .proof__stars svg { width: 16px; height: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr; }
  .shot--b { margin-top: 0; }
  .shot--b .shot__frame { aspect-ratio: 4 / 5; }
  .promise__list { column-gap: 20px; }
  .promise__item { padding: 16px 0 18px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tile--a, .tile--b { min-height: 380px; }
  .tile--x, .tile--c, .tile--d { min-height: 240px; }
  .tile--e { min-height: 0; }
  .fleet { gap: 4px; }
  .chip { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); }
  .chip--opt { flex-basis: 100%; }
  .chip--img { flex-basis: 100%; }
  .included__list { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 1fr auto; }
  .rate__dots { display: none; }
  .rate__price { font-size: 28px; }
  .works__ctas .btn, .final__ctas .btn { flex: 1 1 100%; }
  .works__ctas .proof--light { flex: 1 1 100%; padding-right: 18px; }
  .proof--light .proof__cta { padding-left: 14px; font-size: 0; gap: 0; }
  .proof--light .proof__arrow { width: 18px; height: 18px; }
}

/* Pied de page sur téléphone : deux colonnes de liens, l'adresse en pleine largeur */
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__col--place { grid-column: 1 / -1; order: 1; }
  /* fondu resserré : même dégradé, sur 220 px au lieu de 340 */
  .footer {
    padding-top: 250px;
    background:
      radial-gradient(70% 45% at 82% 100%, rgba(47, 123, 255, .28), transparent 70%),
      linear-gradient(in oklab 180deg, #F4F8FF 0, #EAF1FF 30px, #CFDFFF 60px, #9DBDF7 90px, #5B8BE6 120px, #2F62CC 144px, #1A3C95 168px, #0F2662 192px, #0A1838 216px, #060C1D 62%, #03050B 100%);
  }
  .footer__top { row-gap: 24px; }
  .footer__tagline { margin-top: 10px; }
  .footer__pills { margin-top: 18px; }
  .footer__col li a { min-height: 36px; }
  .footer__copy { margin-top: 28px; }
}

/* Échelle typographique téléphone : titres ≈ 2 × le texte courant */
@media (max-width: 640px) {
  .rate__price { font-size: 22px; }
  .rate__price--quote { font-size: 18px; }
  .rate__name { font-size: 18px; }
  .tile__title { font-size: 26px; }
  .tile--sm .tile__title { font-size: 22px; }
  .step__legend { font-size: 20px; }
  .gauge__total { font-size: 54px; }
  .sheet__title { font-size: 22px; }
  .booked__title { font-size: 32px; }
  .promise__title { font-size: 17px; }
  .promise__text { font-size: 14.5px; }
}

/* Mosaïque des prestations : cinq cases photo de même hauteur, puis les gabarits en bandeau fin */
.mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
.mosaic .tile { grid-column: span 2 !important; grid-row: auto !important; min-height: 0; height: 340px; }
.mosaic .tile--c, .mosaic .tile--d { grid-column: span 3 !important; }
.tile--sm .tile__title { font-size: inherit; }
.mosaic .tile__title { font-size: clamp(24px, 1.2vw + 12px, 30px); }
/* Gabarits : bandeau pleine largeur, les 4 silhouettes alignées sur une ligne */
.mosaic .tile--e {
  grid-column: 1 / -1 !important;
  height: auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px;
}
.mosaic .tile--e .fleet { flex: 0 1 720px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mosaic .tile--e .fleet__item { padding: 0; }
.mosaic .tile--e .fleet__car { max-width: 92px; margin-bottom: 6px; }
.mosaic .tile--e .fleet__name { font-size: 16.5px; }
@media (max-width: 1100px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .tile, .mosaic .tile--c { grid-column: span 1 !important; height: 320px; }
  .mosaic .tile--d { grid-column: 1 / -1 !important; height: 240px; }
  /* Tablette et téléphone : les deux nettoyages (intérieur, extérieur) passent en tête */
  .mosaic .tile--a { order: 1; }
  .mosaic .tile--x { order: 2; }
  .mosaic .tile--b { order: 3; }
  .mosaic .tile--c { order: 4; }
  .mosaic .tile--d { order: 5; }
  .mosaic .tile--e { order: 6; }
  .mosaic .tile--e { grid-column: 1 / -1 !important; height: auto; }
}
@media (max-width: 640px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .mosaic .tile, .mosaic .tile--c, .mosaic .tile--d { grid-column: 1 / -1 !important; height: 300px; }
  .mosaic .tile__title { font-size: 24px; }
  .mosaic .tile--e { height: auto; flex-direction: column; align-items: stretch; gap: 16px; padding-block: 20px; }
  .mosaic .tile--e .fleet { flex: none; gap: 8px; }
  .mosaic .tile--e .fleet__name { font-size: 15px; }
}

/* Configurateur pas à pas (téléphone) : une étape à l'écran, progression en haut, Retour / Suivant en bas */
.stepper-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.stepper-top[hidden], .stepper[hidden] { display: none; }
.stepper-top__count { flex: none; color: var(--mist); }
.stepper-top__bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(160, 190, 255, .16); overflow: hidden; }
.stepper-top__bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #6AA8FF, #2F7BFF);
  transform-origin: 0 50%;
  transform: scaleX(.16);
  transition: transform 420ms var(--ease);
}
.stepper { display: flex; gap: 10px; margin-top: 30px; }
.stepper .btn { min-height: 54px; }
.stepper__prev { flex: none; padding: 0 18px; }
.stepper__prev svg { width: 16px; height: 16px; transform: rotate(180deg); }
.stepper__next { flex: 1; }
.stepper__next:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.cfg.is-stepped .cfg__steps > .step:not(.is-current) { display: none; }
.cfg.is-stepped .cfg__steps > .step + .step { margin-top: 0; }
.cfg.is-stepped .step.is-current { animation: step-in 360ms var(--ease) both; }
.sheet .cfg.is-stepped .step + .step > .step__legend { padding-top: 0; border-top: 0; }
.cfg.is-stepped .cfg__steps { display: flex; flex-direction: column; }
.cfg.is-stepped .stepper { order: 1; }
.cfg.is-stepped .included { order: 2; display: none; }
.cfg.is-stepped.show-included .included { display: block; margin-top: 32px; }
.cfg.is-stepped:not(.is-last) > .recap { display: none; }
.cfg.is-stepped.is-last .stepper { margin-bottom: 8px; }
.sheet:has(.cfg.is-stepped:not(.is-last)) .sheet__foot { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Mouvement réduit : tout est coupé
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { transform: none; }
  .hero__hex { opacity: .8; }
}
