/* Poppins + Cinzel (serif du logo) hébergées sur le site (SIL Open Font License) : aucun appel à Google Fonts */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cinzel-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cinzel-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/cinzel-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/cinzel-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =========================================================
   NoxLine — v3 « nuit », accordée au logo (Nox = la nuit en latin)
   Noir prune, violet royal du logo en aplat, ivoire du slogan · serif Cinzel pour les titres · coins quasi droits · aucun dégradé ni halo
   (version claire archivée dans _archive/v2-clair/)
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #0c0a0f;          /* nuit */
  --bg-2: #110e14;        /* sections alternées */
  --surface: #16131a;     /* cartes */
  --surface-2: #1f1a23;   /* éléments en relief, champs */
  --soft: #1f1a23;
  --ink: #f3eee8;
  --ink-2: #b3aba5;
  --ink-3: #857d78;
  --line: rgba(230, 220, 205, .09);
  --line-2: rgba(230, 220, 205, .18);

  --mauve: #a77bd6;       /* violet du logo, éclairci pour rester lisible sur la nuit */
  --mauve-btn: #64258a;   /* violet royal du logo : fonds pleins sous texte blanc */
  --mauve-btn-h: #74309c;
  --mauve-d: #5a1d80;     /* violet du logo sur fond clair */
  --mauve-l: #c9a6ea;
  --cream: #e6dccd;       /* ivoire du slogan « Le luxe du détail » */
  --mauve-t: rgba(167, 123, 214, .14);
  --mauve-tt: rgba(167, 123, 214, .07);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --hdr: 72px;
  --r: 20px;
  --ease: cubic-bezier(.25, .8, .25, 1);
  --shadow: none;
  --shadow-lg: 0 24px 48px -28px rgba(0, 0, 0, .8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { list-style: none; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: rgba(167, 123, 214, .35); color: #fff; }
:focus-visible { outline: 2.5px solid var(--mauve-l); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--mauve-btn); color: #fff; border-radius: 2px; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px;
  border-radius: 2px;
  font: 600 12.5px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.btn svg { font-size: 19px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--mauve-btn); color: #fff; }
.btn--primary:hover { background: var(--mauve-btn-h); }
.btn--soft { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--soft:hover { background: #29232e; }
.btn--white { background: var(--ink); color: var(--bg); }
.btn--white:hover { background: var(--cream); }
.btn--outline-white { border: 1px solid var(--line-2); color: var(--ink); }
.btn--outline-white:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 11.5px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 13px; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--mauve); }
.link svg { font-size: 19px; }
.link:hover { color: var(--mauve-l); }

/* ---------- Titres ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--mauve); }
.h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: .01em; text-wrap: balance; }
.sub { color: var(--ink-2); margin-top: 12px; }
.sub a { color: var(--mauve); font-weight: 500; }
.head { margin-bottom: clamp(28px, 4vw, 44px); }
.head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.head--center { text-align: center; }

.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec--soft { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec--tight { padding-block: clamp(32px, 5vw, 64px); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  height: var(--hdr);
  background: rgba(12, 10, 15, .8);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__mark { width: 28px; height: 28px; color: var(--mauve); }
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .03em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 1px; background: var(--mauve); }
.hdr__end { display: flex; align-items: center; gap: 18px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; }
.hdr__tel svg { color: var(--mauve); font-size: 17px; }
.burger { display: none; width: 42px; height: 42px; position: relative; border-radius: 2px; background: var(--soft); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
  max-height: calc(100svh - var(--hdr));
  overflow: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: flex; flex-direction: column; padding-block: 8px 20px; }
.menu__nav > a { padding: 15px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu__cta { display: grid; gap: 10px; margin-top: 18px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Intro : rideau mauve, bouclier dessiné + nom, puis le rideau remonte ---------- */
.intro { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--bg); color: #fff; box-shadow: 0 1px 0 var(--mauve); animation: introOut .5s cubic-bezier(.76, 0, .24, 1) 1.1s forwards; }
.intro__in { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: introAway .5s cubic-bezier(.76, 0, .24, 1) 1.1s forwards; }
.intro__mark { width: 62px; height: 62px; margin-bottom: 4px; color: var(--mauve); }
.intro__shield { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: introDraw .6s cubic-bezier(.65, 0, .35, 1) .05s forwards; }
.intro__star { fill: currentColor; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: introPop .4s cubic-bezier(.34, 1.56, .64, 1) .45s forwards; }
.intro__name { display: flex; overflow: hidden; padding-bottom: 2px; font-family: var(--serif); font-size: 42px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; }
.intro__tag { font-size: 11.5px; font-weight: 500; letter-spacing: .36em; text-transform: uppercase; color: var(--cream); opacity: 0; animation: introFade .5s ease .5s forwards; }
@keyframes introFade { to { opacity: 1; } }
.intro__name span { display: block; transform: translateY(110%); animation: introRise .5s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: calc(.2s + var(--i) * .04s); }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introPop { to { transform: scale(1); } }
@keyframes introRise { to { transform: none; } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes introAway { to { transform: translateY(-48px); opacity: 0; } }
/* le contenu du hero monte doucement quand le rideau s'ouvre */
.hero__text > * { animation: heroIn .6s var(--ease) both; animation-delay: calc(1.1s + var(--d, 0s)); }
.hero__text > :nth-child(2) { --d: .06s; }
.hero__text > :nth-child(3) { --d: .12s; }
.hero__text > :nth-child(4) { --d: .18s; }
.hero__text > :nth-child(5) { --d: .3s; }
.hero__media { animation: heroImg .9s var(--ease) 1.2s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes heroImg { from { opacity: 0; transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero__text > *, .hero__media { animation: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); overflow: hidden; text-align: center; }
.hero__in { display: flex; flex-direction: column; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: center; }
/* photo de réalisation : cadre net + légende en capitales */
.hero__media { position: relative; width: 100%; max-width: 640px; margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 2px; background: rgba(12, 10, 15, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
/* phare : fondu dans la nuit (le noir de la photo prend la couleur du fond) + balayage « scan » mauve qui suit la souris */
.hero__media.hero__scan { --x: -200px; aspect-ratio: 1360 / 1125; max-height: none; border: 0; border-radius: 0; background: none; mix-blend-mode: lighten; }
.hero__scan img { position: absolute; inset: 0; object-position: 50% 50%; }
/* tout l'effet reste dans un ovale qui épouse le phare et s'éteint avant les bords de l'image */
.scan__fx { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 52% 49% at 48% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 49% at 48% 50%, #000 58%, transparent 100%); }
.scan__lit {
  filter: grayscale(1) brightness(1.55) sepia(1) hue-rotate(222deg) saturate(2.6);
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--x) - 90px), #000 var(--x), transparent calc(var(--x) + 90px));
  mask-image: linear-gradient(90deg, transparent calc(var(--x) - 90px), #000 var(--x), transparent calc(var(--x) + 90px));
}
.scan__fx::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(205, 170, 245, .12) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--x) - 46px), #000 var(--x), transparent calc(var(--x) + 46px));
  mask-image: linear-gradient(90deg, transparent calc(var(--x) - 46px), #000 var(--x), transparent calc(var(--x) + 46px));
}
.scan__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; margin-left: -.5px; background: #dcc2f7; box-shadow: 0 0 10px 1px rgba(167, 123, 214, .9), 0 0 34px 6px rgba(120, 60, 180, .35); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.scan__lit, .scan__line, .scan__fx::after { opacity: 0; transition: opacity .35s var(--ease); }
.hero__scan.is-scanning .scan__lit, .hero__scan.is-scanning .scan__line, .hero__scan.is-scanning .scan__fx::after { opacity: 1; }
.hero__title { font-family: var(--serif); font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 700; line-height: 1.04; letter-spacing: .01em; margin-bottom: 22px; text-wrap: balance; }
.hero__title span { color: var(--mauve); }
.hero__eyebrow { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 24px; font-family: var(--font); font-size: 11.5px; font-weight: 500; line-height: 1.4; letter-spacing: .32em; text-transform: uppercase; color: var(--cream); }
.hero__title .hero__eyebrow { color: var(--cream); }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--line-2); }
.hero__lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 50ch; margin: 0 auto 30px; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* clin d'œil au nom : entrée de dictionnaire discrète */
.hero__nox { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 30px; font-size: 13px; color: var(--ink-3); }
.hero__nox b { font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--cream); }
.hero__nox-ph { letter-spacing: .04em; }
.hero__nox-def { padding-left: 10px; border-left: 1px solid var(--line-2); }

/* Défilé des marques */
.brands { --k: 1px; --gap: clamp(44px, 5vw, 76px); margin-top: clamp(52px, 7vw, 88px); text-align: center; }
.brands__row {
  overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brands__track { display: flex; width: max-content; animation: brands 70s linear infinite; }
.brands__row--rev .brands__track { animation-name: brandsRev; animation-duration: 80s; }
.brands__row:hover .brands__track { animation-play-state: paused; }
.brands__set { display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); }
/* logos en « pochoir » : la forme du logo remplie du mauve du site, blanc au survol */
.brand-logo {
  display: block; flex: none;
  width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k));
  background-color: var(--mauve);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: background-color .3s var(--ease);
}
.brand-logo:hover { background-color: #fff; }
@keyframes brands { to { transform: translateX(-50%); } }
@keyframes brandsRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; width: auto; justify-content: center; }
  .brands__set { flex-wrap: wrap; justify-content: center; row-gap: 18px; padding: 0 var(--gut); }
  .brands__set[aria-hidden="true"] { display: none; }
}

/* ---------- Calculateur guidé (une question à la fois) ---------- */
.config { position: relative; padding: 8px 0 0; }
.calc {
  max-width: 980px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--hdr) + 16px);
}
.calc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.calc__title { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }

/* progression 1 · 2 · 3 */
.calc__progress { display: flex; align-items: center; gap: 8px; }
.calc__progress li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.calc__progress li + li::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--line); margin-right: 2px; transition: background-color .3s; }
.calc__progress b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 2px; background: var(--soft); font-size: 12.5px; font-weight: 600; transition: background-color .3s, color .3s; }
.calc__progress b svg { display: none; font-size: 15px; }
.calc__progress em { font-style: normal; font-weight: 500; }
.calc__progress li.is-active { color: var(--ink); }
.calc__progress li.is-active b { background: var(--mauve-btn); color: #fff; box-shadow: 0 0 0 4px var(--mauve-t); }
.calc__progress li.is-done { color: var(--ink-2); cursor: pointer; }
.calc__progress li.is-done b { background: var(--mauve-t); color: var(--mauve); }
.calc__progress li.is-done b span { display: none; }
.calc__progress li.is-done b svg { display: block; }
.calc__progress li.is-done + li::before { background: var(--mauve); }
.calc__progress li.is-done:hover em { color: var(--mauve); }

/* étapes */
.cstep[hidden] { display: none; }
.cstep.is-in { animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; translate: 18px 0; } }
.cstep__q { font-family: var(--serif); font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; letter-spacing: .02em; text-align: center; margin-bottom: 6px; outline: none; }
.cstep__ctx { text-align: center; font-size: 14px; color: var(--ink-3); margin-bottom: 4px; }
.cstep__ctx b { color: var(--ink-2); font-weight: 600; }
.choices { display: grid; gap: 12px; margin-top: 20px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }
.choice {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 16px 20px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  text-align: center;
  transition: border-color .2s, background-color .2s, box-shadow .2s, translate .2s var(--ease);
}
.choice:hover { border-color: var(--mauve); translate: 0 -2px; box-shadow: var(--shadow); }
.choice[aria-checked="true"] { border-color: var(--mauve); background: var(--mauve-tt); box-shadow: 0 0 0 3px var(--mauve-t); }
.choice__ico { width: 64px; height: 34px; color: var(--ink-3); transition: color .2s; }
.choice:hover .choice__ico, .choice[aria-checked="true"] .choice__ico { color: var(--mauve); }
.choice__txt { display: flex; flex-direction: column; gap: 2px; }
.choice__txt strong { font-size: 16px; font-weight: 600; }
.choice__txt small { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

/* cartes formule */
.choice--plan { align-items: stretch; text-align: left; gap: 8px; padding: 22px; }
.choice__badge { position: absolute; top: -11px; right: 18px; padding: 4px 11px; border-radius: 2px; background: var(--mauve-btn); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.choice__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.choice__head strong { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .03em; }
.choice__head em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.choice__head em svg { color: var(--mauve); font-size: 14px; }
.choice__pitch { font-size: 13.5px; color: var(--ink-3); }
.choice__price { display: flex; align-items: baseline; gap: 5px; font-size: 18px; font-weight: 600; margin: 4px 0 2px; }
.choice__price small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.choice__price b { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: 0; }
.choice[aria-checked="true"] .choice__price b, .choice--plan:hover .choice__price b { color: var(--mauve); }
.choice__list { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.choice__list li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.choice__list li svg { color: var(--mauve); font-size: 15px; margin-top: 2px; }
.choice__list li.is-more { color: var(--ink-3); padding-left: 23px; }

.cstep__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.cstep__back { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 8px 8px; border-radius: 2px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.cstep__back svg { font-size: 17px; scale: -1 1; }
.cstep__back:hover { background: var(--soft); color: var(--ink); }
.cstep__help { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }
.cstep__foot .cstep__help { margin-top: 0; }
.cstep__help a { color: var(--mauve); font-weight: 500; }
.cstep__help a:hover { text-decoration: underline; }

/* résultat */
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.result__main { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 4px; background: var(--mauve-tt); border: 1px solid var(--mauve-t); }
.result__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve-l); outline: none; }
.total { display: flex; align-items: baseline; gap: 6px; line-height: 1; margin: 10px 0 16px; }
.total small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.total b { font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: 0; color: var(--mauve); }
.total span { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--mauve); }
.total i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.recap { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.recap button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 2px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s; }
.recap button svg { font-size: 13px; color: var(--ink-3); }
.recap button:hover { border-color: var(--mauve); color: var(--mauve); }
.recap button:hover svg { color: var(--mauve); }
.result__restart { align-self: center; margin-top: 10px; padding: 6px 10px; border-radius: 2px; font-size: 13.5px; font-weight: 500; color: var(--mauve); }
.result__restart:hover { background: var(--mauve-t); }
.result__incl { padding-top: 6px; }
.result__incl .list { margin: 14px 0 16px; }
.result__note { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* Contrôle segmenté avec pastille glissante */
.seg {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 3px;
  background: var(--soft);
}
.seg__pill {
  position: absolute; top: 0; left: 0;
  width: var(--w, 0); height: var(--h, 0); transform: translate(var(--x, 0), var(--y, 0));
  border-radius: 2px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), width .35s var(--ease), height .35s var(--ease);
}
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 14px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { color: var(--mauve); font-weight: 600; }
.seg--light { background: var(--surface); border: 1px solid var(--line); min-width: 340px; }
.seg--light .seg__pill { background: var(--mauve-btn); box-shadow: none; }
.seg--light button[aria-checked="true"] { color: #fff; }

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; }
.plan--feat { border-color: var(--mauve); box-shadow: 0 0 0 1px var(--mauve); }
/* en-têtes des cartes : nom de la formule sur un fond coloré doux */
.ph {
  position: relative;
  min-height: 132px; padding: 22px 24px 20px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px;
  color: var(--ink);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.ph--prime { color: #fff; background: var(--mauve-btn); border-bottom-color: transparent; }
.ph__title { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .03em; line-height: 1.1; }
.ph__dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; opacity: .8; }
.ph__dur svg { font-size: 15px; }
.ph:not(.ph--prime) .ph__dur svg { color: var(--mauve); }
.ph .plan__badge { top: 16px; left: auto; right: 18px; }
.ph--prime .plan__badge { background: #fff; color: var(--mauve-d); }
.plan__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 2px; background: var(--mauve-btn); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.plan__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.plan__desc { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; min-height: 3.3em; }

.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
.size {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 10px 4px;
  border-radius: 3px;
  background: var(--soft);
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.size span { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.size b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.size:hover { border-color: var(--line-2); }
.size[aria-pressed="true"] { background: var(--mauve-tt); border-color: var(--mauve); }
.size[aria-pressed="true"] span { color: var(--mauve); }
.size[aria-pressed="true"] b { color: var(--mauve); }

.quote-box { display: flex; flex-direction: column; align-items: center; padding: 12px; border-radius: 3px; background: var(--soft); margin-bottom: 20px; }
.quote-box strong { font-size: 19px; font-weight: 600; color: var(--mauve); }
.quote-box span { font-size: 12.5px; color: var(--ink-3); }

.list { display: grid; gap: 9px; margin-bottom: 24px; flex: 1; align-content: start; }
.list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.list li svg { color: var(--mauve); font-size: 17px; margin-top: 1px; }
.list li.is-group { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.list li.is-group:first-child { margin-top: 0; }

.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.notes li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--mauve); transform: rotate(45deg); }
.notes a { color: var(--mauve); font-weight: 500; }

/* ---------- Avant / Après ---------- */
.ba-wrap { display: grid; grid-template-columns: auto minmax(0, 380px); gap: clamp(28px, 5vw, 64px); align-items: center; justify-content: center; }
.ba {
  --pos: 50%;
  position: relative;
  width: min(520px, calc((100svh - var(--hdr) - 120px) * .75));
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba.is-fading img { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: .3; } }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__line span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 2px;
  display: grid; place-items: center;
  background: #fff; color: var(--mauve-d);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.ba__line svg { font-size: 22px; }
.ba.is-drag .ba__line span { transform: translate(-50%, -50%) scale(1.08); }
.ba__tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 2px; background: rgba(12, 10, 15, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 14px; color: var(--ink-2); }
.ba__tag--r { right: 14px; color: var(--mauve); }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--mauve-l); outline-offset: 4px; }
.ba-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.ba-text { color: var(--ink-2); min-height: 4.9em; }
/* vignettes : une par réalisation (grille de 4, s'agrandit toute seule) */
.ba-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.ba-thumbs button { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.ba-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s, transform .5s var(--ease); }
.ba-thumbs button:hover img { opacity: 1; transform: scale(1.06); }
.ba-thumbs button[aria-selected="true"] { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--mauve); }
.ba-thumbs button[aria-selected="true"] img { opacity: 1; }
.ba-thumbs button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--mauve-l); }

/* ---------- Réalisations ---------- */

/* ---------- Killian + avis ---------- */
.about { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.about__img { aspect-ratio: 4 / 4.4; border-radius: 4px; overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about__text .h2 { margin-bottom: 14px; }
.about__text > p:not(.kicker) { color: var(--ink-2); max-width: 54ch; margin-bottom: 26px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts li { padding: 16px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.35; }
.facts strong { font-weight: 600; font-size: 15px; }
.facts span { font-size: 13px; color: var(--ink-3); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); }
.review blockquote { flex: 1; font-size: 15px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.review__av { width: 36px; height: 36px; border-radius: 2px; display: grid; place-items: center; background: var(--mauve-t); color: var(--mauve); font-size: 12px; font-weight: 600; }
/* avis Google en direct : note globale + étoiles, et détails dans chaque carte */
.greviews { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 24px; }
.greviews[hidden] { display: none; }
.greviews__stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 3px; color: var(--line-2); }
.greviews__stars::before, .greviews__fill::before { content: "★★★★★"; }
.greviews__fill { position: absolute; inset: 0 auto 0 0; width: var(--pct, 100%); overflow: hidden; white-space: nowrap; color: var(--mauve); }
.greviews__score { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1; }
.greviews__count { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.greviews__count:hover { color: var(--ink); }
.review__stars { font-size: 14px; line-height: 1; letter-spacing: 2px; color: var(--mauve); }
.review--g blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__who { display: flex; flex-direction: column; line-height: 1.3; }
.review__who a:hover { text-decoration: underline; }
.review__when { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.review__src { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.reviews__more { display: flex; justify-content: center; margin-top: 28px; }
.reviews__more svg { color: var(--mauve); font-size: 17px; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.contact__info .h2 { margin-bottom: 12px; }
.contact__info > p { color: var(--ink-2); max-width: 44ch; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.coords { display: grid; gap: 12px; }
.coords li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.coords svg { width: 34px; height: 34px; padding: 8px; border-radius: 2px; background: var(--surface-2); color: var(--mauve); }
.coords a:hover { text-decoration: underline; }

.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); border-radius: 4px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.form h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .02em; margin-bottom: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 15.5px/1.4 var(--font); color: var(--ink);
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: 3px;
  outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a77bd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field ::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mauve); background-color: var(--surface); box-shadow: 0 0 0 4px var(--mauve-t); }
.field.is-error input { border-color: #ff6b85; background-color: rgba(255, 90, 120, .08); }
.form__ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 3px; background: rgba(70, 200, 130, .12); color: #7fe0a8; font-size: 14.5px; font-weight: 500; }
.form__ok[hidden] { display: none; }
.form__legal { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.form__legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.form__ok svg { font-size: 19px; }

/* ---------- Pages légales ---------- */
.legal { max-width: calc(760px + var(--gut) * 2); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: .01em; margin-bottom: 10px; }
.legal__date { font-size: 13.5px; color: var(--ink-3); margin-bottom: 26px; }
.legal__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.legal__tabs a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 2px; background: var(--soft); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.legal__tabs a:hover { color: var(--ink); background: var(--mauve-t); }
.legal__tabs a[aria-current="page"] { background: var(--mauve-btn); color: #fff; }
.legal__lead { margin-top: 28px; font-size: 16.5px !important; color: var(--ink) !important; }
.legal h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 38px 0 10px; scroll-margin-top: calc(var(--hdr) + 20px); }
.legal p, .legal li, .legal td { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal p + p, .legal ul + p, .legal p + ul, .legal dl + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li + li { margin-top: 4px; }
.legal li::marker { color: var(--mauve-l); }
.legal :is(p, li, dd) a { color: var(--mauve); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__id { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 10px 20px; margin: 14px 0 0; padding: 20px 22px; border-radius: 3px; background: var(--soft); }
.legal__id dt { font-size: 14px; color: var(--ink-3); }
.legal__id dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.legal__table { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 3px; }
.legal table { width: 100%; border-collapse: collapse; }
.legal th { padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: var(--soft); }
.legal td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
.legal td:first-child { color: var(--ink); font-weight: 500; }
.legal__form { margin-top: 12px; padding: 20px 22px; border: 1.5px dashed var(--line-2); border-radius: 3px; }
.legal__fields { list-style: none !important; padding-left: 0 !important; margin: 10px 0; }
/* information encore inconnue : surlignée pour ne pas l'oublier */
.todo { padding: 1px 6px; border-radius: 2px; background: rgba(255, 214, 10, .16); color: #ffd84d; font-weight: 500; font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal__back { margin-left: auto; }
.legal__back svg { font-size: 17px; }
.legal-page .ftr { padding-top: 0; }
.legal-page .ftr__bottom { padding-top: 24px; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.ftr__brand p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.ftr__nav a:hover { color: var(--mauve); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 2px; background: var(--soft); color: var(--ink); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--mauve-btn); color: #fff; }
.socials svg { font-size: 19px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 22px; font-size: 13px; color: var(--ink-3); }
.ftr__bottom a:hover { color: var(--ink); }
.ftr__credit { flex-basis: 100%; font-size: 12px; }
.ftr__legal a + a::before { content: "·"; margin: 0 8px; color: var(--ink-3); }
.ftr__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Bouton WhatsApp flottant (bas à droite) ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; height: 56px; padding: 0 16px;
  border-radius: 4px; border: 1px solid var(--line-2);
  background: rgba(22, 19, 26, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .8);
  transition: transform .25s var(--ease), border-color .2s, bottom .4s var(--ease), opacity .3s;
  animation: fabIn .5s var(--ease) 1.6s both;
}
.wa-fab svg { font-size: 26px; color: #25d366; }
.wa-fab__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: max-width .4s var(--ease), margin .4s var(--ease); }
.wa-fab:hover { border-color: #25d366; transform: translateY(-2px); }
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { max-width: 280px; margin-left: 12px; }
@keyframes fabIn { from { opacity: 0; transform: translateY(12px); } }
body.menu-open .wa-fab { opacity: 0; pointer-events: none; }

/* ---------- Barre mobile ---------- */
.mbar { display: none; }
.hdr__call, .plan-tabs, .list-more { display: none; }
.menu__info { display: none; }
/* retour tactile : léger enfoncement au toucher, sans le flash gris des navigateurs mobiles */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .choice:active, .size:active, .plan-tabs button:active, .ba-thumbs button:active, .mbar__call:active, .hdr__call:active { transform: scale(.97); }
}

/* ---------- Lightbox ---------- */

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1025px) {
  .hero { text-align: left; padding-top: clamp(48px, 6vw, 80px); }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
  .hero__text { align-items: flex-start; }
  .hero__title { font-size: clamp(3rem, 5.2vw, 4.8rem); }
  .hero__eyebrow { justify-content: flex-start; }
  .hero__eyebrow::before { display: none; }
  .hero__lede { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; }
  .hero__media { max-width: none; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr) - 96px); }
  .hero__media img { object-position: 50% 30%; }
  .hero__media.hero__scan { width: 116%; margin-right: -16%; }
}

@media (max-width: 1180px) {
  .hdr__tel { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__end { margin-left: auto; gap: 10px; }
  .menu { height: calc(100dvh - var(--hdr)); max-height: none; border-bottom: 0; box-shadow: none; overscroll-behavior: contain; }
  .menu__nav { min-height: 100%; padding-block: 12px calc(24px + env(safe-area-inset-bottom)); }
  .menu__nav > a { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; }
  .menu__nav > a::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); }
  .menu.is-open .menu__nav > * { animation: menuIn .45s var(--ease) both; }
  .menu.is-open .menu__nav > :nth-child(2) { animation-delay: .03s; }
  .menu.is-open .menu__nav > :nth-child(3) { animation-delay: .06s; }
  .menu.is-open .menu__nav > :nth-child(4) { animation-delay: .09s; }
  .menu.is-open .menu__nav > :nth-child(5) { animation-delay: .12s; }
  .menu.is-open .menu__nav > :nth-child(n+6) { animation-delay: .15s; }
  .menu__cta { margin-top: 24px; }
  .menu__cta .btn { height: 52px; }
  .menu__info { display: block; margin-top: auto; padding-top: 24px; font-size: 14px; line-height: 2; color: var(--ink-3); }
  .menu__info svg { margin-right: 8px; vertical-align: -2px; color: var(--mauve); }
  body.menu-open { overflow: hidden; }
  .plans { grid-template-columns: 1fr 1fr; }
  #polissage { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --hdr: 62px; }
  .brand__name { font-size: 19px; }
  .hdr .btn--sm { display: none; }
  .hdr__call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; background: var(--mauve-t); color: var(--mauve); transition: transform .15s; }
  .hdr__call svg { font-size: 19px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 13px; right: 13px; }
  .burger span:nth-child(1) { top: 17px; }
  .burger span:nth-child(2) { top: 25px; }
  .burger[aria-expanded="true"] span:nth-child(1), .burger[aria-expanded="true"] span:nth-child(2) { top: 21px; }
  .hdr .legal__back { display: inline-flex; }

  .hero { padding-top: 44px; }
  .hero__title { font-size: clamp(2.3rem, 11vw, 3.2rem); margin-bottom: 16px; }
  .hero__eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .16em; }
  .hero__eyebrow::before, .hero__eyebrow::after { display: none; }
  .hero__lede { font-size: 16px; margin-bottom: 24px; }
  .hero__media { display: none; } /* pas de phare sur téléphone */
  .hero__cta { width: 100%; flex-wrap: nowrap; }
  .hero__cta .btn--primary { flex: 1; }
  .hero__cta .btn--soft { width: 56px; padding: 0; flex: none; font-size: 0; gap: 0; }
  .hero__cta .btn--soft svg { font-size: 22px; }
  .brands { --k: .72px; --gap: 36px; margin-top: 40px; }
  .brands__row { padding: 8px 0; }
  .calc { border-radius: 4px; padding: 20px 16px; }
  .calc__top { padding-bottom: 16px; margin-bottom: 18px; }
  .calc__title { font-size: 20px; }
  .calc__progress em { display: none; }
  .calc__progress li + li::before { width: 18px; }
  .choices--3, .choices--2 { grid-template-columns: 1fr; }
  .choices { gap: 8px; margin-top: 16px; }
  .choice:not(.choice--plan) { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; }
  .choice:not(.choice--plan) .choice__ico { width: 52px; height: 28px; flex: none; }
  .choice--plan { padding: 18px; }
  .choices--2 { gap: 18px; }
  .result { grid-template-columns: 1fr; }
  .result__main { padding: 20px; }
  .total b { font-size: 48px; }

  .head--row { align-items: flex-start; flex-direction: column; }
  .seg--light { min-width: 0; width: 100%; }
  .seg button { height: 44px; }

  .plan-tabs { display: flex; gap: 6px; margin: 4px 0 14px; }
  .plan-tabs button { flex: 1; height: 40px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--soft); transition: background-color .2s, color .2s, transform .15s; }
  .plan-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
  .plans {
    position: relative; display: flex; gap: 12px; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scroll-padding-inline: var(--gut);
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 86%; scroll-snap-align: center; scroll-snap-stop: always; height: auto; }
  .plan:not(.is-open):not(.no-fold) .list li:nth-child(n+7) { display: none; }
  .list { margin-bottom: 8px; }
  .list-more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-bottom: 14px; border-radius: 3px; font-size: 14px; font-weight: 600; color: var(--mauve); background: var(--mauve-tt); }
  .list-more[hidden] { display: none; }
  .list-more::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
  .plan.is-open .list-more::after { margin-top: 3px; transform: rotate(-135deg); }
  .notes { grid-template-columns: 1fr; gap: 10px; }

  .ba-wrap { grid-template-columns: 1fr; }
  .ba { width: 100%; max-width: 520px; margin-inline: auto; }
  .ba-info { text-align: center; }
  .ba-text { min-height: 0; }
  /* bande de vignettes qui défile au doigt, centrée tant qu'elle tient */
  .ba-thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 20px calc(-1 * var(--gut)) 0; padding: 6px var(--gut) 8px; }
  .ba-thumbs::-webkit-scrollbar { display: none; }
  .ba-thumbs button { flex: none; width: 72px; scroll-snap-align: center; }
  .ba-thumbs button:first-child { margin-left: auto; }
  .ba-thumbs button:last-child { margin-right: auto; }


  .about { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 1; }
  .facts { grid-template-columns: 1fr; }
  .facts li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; }
  .reviews {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 8px; scroll-padding-inline: var(--gut);
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: center; }

  .form__row { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field input, .field select { height: 50px; }
  .coords { gap: 4px; }
  .coords li { min-height: 44px; }
  .coords a { display: block; padding: 10px 0; }
  .contact { border-radius: 4px; }
  .contact__cta .btn { flex: 1 1 auto; }

  .ftr__in { flex-direction: column; align-items: flex-start; }
  .ftr__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; width: 100%; }
  .ftr__nav a { padding: 11px 0; }
  .ftr__bottom { flex-direction: column; gap: 4px; }
  .ftr__bottom a { display: inline-block; padding: 8px 0; }
  .ftr__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .ftr__legal a + a::before { content: none; }

  .mbar {
    display: flex; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
    padding: 6px;
    border-radius: 2px;
    background: rgba(22, 19, 26, .9);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .7), 0 0 0 1px var(--line-2);
    transform: translateY(calc(100% + 30px));
    transition: transform .4s var(--ease);
  }
  .mbar.is-on { transform: none; }
  body.menu-open .mbar { transform: translateY(calc(100% + 30px)); }
  .mbar__call { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 2px; background: var(--mauve-t); color: var(--mauve); }
  .mbar__call svg { font-size: 19px; }
  .mbar__book { flex: 1; height: 48px; }
  .mbar__book { min-width: 0; padding: 0 16px; letter-spacing: .1em; }
  .wa-fab { display: none; } /* pas de bouton WhatsApp flottant sur téléphone (la barre du bas suffit) */
  .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .legal-page .ftr { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .legal__id { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal__id dd { margin-bottom: 12px; }
  .legal__id dd:last-child { margin-bottom: 0; }
}

@media (max-width: 360px) {
  .mbar__book { padding: 0 10px; font-size: 11px; letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
