﻿/* ═══════════════════════════════════════════════════════════════
   HAPPY-L AUTO-ÉCOLE — STYLESHEET
   Direction : « la route du bonheur » — papier chaud, encre profonde,
   rose & bleu de marque, motifs de route et smiley interactif.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --pink: #F0189C;
  --pink-ink: #C80F80;
  --pink-soft: #FFE3F3;
  --blue: #1A73C8;
  --blue-ink: #125699;
  --blue-soft: #E1EEFB;
  --ink: #140F26;
  --ink-2: #1F1838;
  --ink-3: #2C2450;
  --paper: #FBF8F5;
  --paper-2: #F3EEE9;
  --white: #FFFFFF;
  --muted: #5F5976;
  --muted-on-ink: #B3ADC9;
  --line: rgba(20, 15, 38, .1);
  --line-strong: rgba(20, 15, 38, .18);
  --line-on-ink: rgba(255, 255, 255, .12);
  --success: #12A36B;
  --danger: #D9354B;

  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(20, 15, 38, .06), 0 4px 14px rgba(20, 15, 38, .05);
  --shadow: 0 2px 6px rgba(20, 15, 38, .05), 0 18px 40px -12px rgba(20, 15, 38, .16);
  --shadow-pink: 0 14px 40px -10px rgba(240, 24, 156, .55);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; }
::selection { background: var(--pink); color: var(--white); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 10001;
  padding: .7rem 1.1rem; border-radius: 99px;
  background: var(--ink); color: var(--white); font-weight: 700;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Layout ──────────────────────────────────────────────────── */
main { overflow-x: clip; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 9rem); position: relative; }
.section--ink { background: var(--ink); color: var(--white); }
.section--paper-2 { background: var(--paper-2); }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  font-variation-settings: 'opsz' 96;
}
h1 { font-size: clamp(2.75rem, 6.6vw, 6.4rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.3; }
.accent { color: var(--pink); }
.accent-blue { color: var(--blue); }
.italic { font-style: italic; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 38rem; }
.section--ink .lead { color: var(--muted-on-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 52rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after {
  content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor;
}

/* Split lines (masked reveal) */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; will-change: transform; }
.js .line > span {
  transform: translate3d(0, 108%, 0) rotate(3deg);
  transform-origin: 0 100%;
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms));
}
.js .is-in .line > span, .js .line.is-in > span { transform: none; }

/* ── Reveal system ───────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.3s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms));
}
.js [data-reveal='up'] { transform: translate3d(0, 48px, 0); }
.js [data-reveal='left'] { transform: translate3d(-48px, 0, 0); }
.js [data-reveal='right'] { transform: translate3d(48px, 0, 0); }
.js [data-reveal='scale'] { transform: scale(.92); }
.js [data-reveal='clip'] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='clip'].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-fill: var(--pink);
  --btn-fill-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px;
  padding: .9rem 1.6rem;
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.btn::before {
  content: '';
  position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-fill);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transform: translate3d(0, 102%, 0);
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before {
  transform: translate3d(0, 0, 0);
  border-radius: 0;
}
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.btn__label > span { display: block; transition: transform .55s var(--ease-out); }
.btn__label::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  transition: transform .55s var(--ease-out);
}
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-100%); }
.btn:hover .btn__label::after, .btn:focus-visible .btn__label::after { transform: translateY(-100%); }
.btn svg {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease-out);
}
.btn:hover svg { transform: translateX(3px) rotate(-8deg); }

.btn--pink { --btn-bg: var(--pink); --btn-fill: var(--ink); box-shadow: var(--shadow-pink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--white);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-fill: var(--white); --btn-fill-fg: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--white); }
.btn--lg { min-height: 60px; padding: 1.05rem 2rem; font-size: 1.04rem; }
.btn--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* Magnetic */
[data-magnetic] { will-change: transform; transition: transform .7s var(--ease-out); }
[data-magnetic].is-magnet { transition: transform .15s linear; }

/* Text link */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: .95rem; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow:hover { background-size: 100% 2px; color: var(--pink); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Pills / chips */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem;
  border-radius: 99px;
  font-size: .82rem; font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pill--pink { background: var(--pink-soft); color: var(--pink-ink); border-color: rgba(240, 24, 156, .2); box-shadow: none; }
.pill--blue { background: var(--blue-soft); color: var(--blue-ink); border-color: rgba(26, 115, 200, .2); box-shadow: none; }
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(18, 163, 107, .5);
  animation: ping 2s var(--ease-out) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(18, 163, 107, .55); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(18, 163, 107, 0); }
}

/* ── Scroll progress ─────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding-block: .9rem;
  transition: transform .6s var(--ease-out), padding .4s var(--ease-out);
}
.header::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(251, 248, 245, .82);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity .4s, border-color .4s;
}
.header.is-scrolled { padding-block: .55rem; }
.header.is-scrolled::before { opacity: 1; border-color: var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.menu-open .header { transform: none; }
.header__inner {
  position: relative;
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter);
}
.header__logo { display: block; margin-right: auto; flex-shrink: 0; position: relative; z-index: 2; }
.header__logo img {
  height: 54px; width: auto;
  mix-blend-mode: multiply;
  transition: transform .6s var(--ease-spring);
}
.header__logo:hover img { transform: rotate(-3deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: .2rem; padding: .3rem; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem 1rem;
  border-radius: 99px;
  font-size: .92rem; font-weight: 700;
  color: var(--muted);
  overflow: hidden;
  transition: color .3s, background-color .3s,
    opacity .6s ease calc(.3s + var(--n, 0) * 70ms), transform .9s var(--ease-out) calc(.3s + var(--n, 0) * 70ms);
}
.nav__clip { display: block; overflow: hidden; }
.nav__clip > span { display: block; position: relative; transition: transform .5s var(--ease-out); }
.nav__clip > span::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  color: var(--pink);
}
.nav__link:hover .nav__clip > span { transform: translateY(-100%); }
.nav__link[aria-current='page'] { background: var(--ink); color: var(--white); }
.nav__link[aria-current='page'] .nav__clip > span::after { color: var(--white); }
.header__cta { position: relative; z-index: 2; }

.burger {
  display: none;
  position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink);
  align-items: center; justify-content: center;
}
.burger__lines { position: relative; width: 20px; height: 12px; }
.burger__lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 10px; }
.menu-open .burger__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .burger__lines span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  clip-path: circle(0 at calc(100% - var(--gutter) - 26px) 42px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  overflow-y: auto;
}
.menu-open .menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 26px) 42px);
  visibility: visible;
  transition: clip-path .9s var(--ease-in-out), visibility 0s;
}
.menu__list { display: grid; gap: .2rem; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 3.6rem); letter-spacing: -.04em; line-height: 1.1;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease-out), color .3s;
}
.menu__link small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--pink); letter-spacing: .1em; }
.menu__link[aria-current='page'] { color: var(--pink); }
.menu-open .menu__link { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.menu__foot { display: grid; gap: 1rem; margin-top: 2.5rem; opacity: 0; transition: opacity .6s .55s; }
.menu-open .menu__foot { opacity: 1; }
.menu__foot a:not(.btn) { color: var(--muted-on-ink); font-weight: 600; }

/* ── Custom cursor ───────────────────────────────────────────── */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed; top: 0; left: 0; z-index: 10000;
  pointer-events: none;
}
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--pink); transition: opacity .3s, width .3s, height .3s, margin .3s; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(240, 24, 156, .55);
  display: flex; align-items: center; justify-content: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out);
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--pink); background: rgba(240, 24, 156, .08); }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--pink); border-color: var(--pink); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.is-on-pink .cursor__dot { background: var(--white); }
.cursor.is-on-pink .cursor__ring { border-color: rgba(255, 255, 255, .85); }
.cursor.is-on-pink.is-hover .cursor__ring { border-color: var(--white); background: rgba(255, 255, 255, .18); }
.cursor.is-on-pink.is-label .cursor__ring { background: var(--ink); border-color: var(--ink); }

/* ── Curtain (page transitions) ──────────────────────────────── */
.curtain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none;
  display: grid; place-items: center;
}
.curtain__panel {
  position: absolute; inset: 0;
  transform: translateY(100%);
}
.curtain__panel--pink { background: var(--pink); }
.curtain__panel--ink { background: var(--ink); }
.curtain__mark { position: relative; z-index: 2; width: 120px; opacity: 0; color: var(--white); }
.curtain .smiley { color: var(--white); }
.curtain.is-covering, .curtain.is-leaving, .curtain.is-entering { pointer-events: all; }
.is-arriving .curtain { pointer-events: all; animation: curtainSafety 0s 4s forwards; }
.is-arriving .curtain__panel { transform: none; }
.is-arriving .curtain__mark { opacity: 1; }
@keyframes curtainSafety { to { visibility: hidden; } }
.curtain.is-covering .curtain__panel { transform: none; }
.curtain.is-covering .curtain__mark { opacity: 1; }

.curtain.is-entering .curtain__panel--pink { animation: curtainIn .7s var(--ease-in-out) both; }
.curtain.is-entering .curtain__panel--ink { animation: curtainIn .7s var(--ease-in-out) .08s both; }
.curtain.is-entering .curtain__mark { animation: markIn .5s var(--ease-out) .45s both; }
.curtain.is-leaving .curtain__panel--ink { animation: curtainOut .9s var(--ease-in-out) .05s both; }
.curtain.is-leaving .curtain__panel--pink { animation: curtainOut .9s var(--ease-in-out) .16s both; }
.curtain.is-leaving .curtain__mark { animation: markOut .45s var(--ease-in-out) both; }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes curtainOut { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes markIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes markOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-30px) scale(.8); } }

/* ── Smiley (brand mark, interactive) ────────────────────────── */
.smiley { color: var(--pink); overflow: visible; }
.smiley__arc { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }
.smiley__mouth { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; transition: d .5s var(--ease-spring); }
.smiley__eye { fill: currentColor; transform-box: fill-box; transform-origin: center; }
.smiley.is-blink .smiley__eye { animation: blink .22s ease-in-out; }
.smiley.is-happy .smiley__mouth { d: path('M30 64 Q60 100 90 64'); }
.smiley__eyes { transition: none; }
.smiley__body { transform-box: fill-box; transform-origin: center; }
.smiley.is-spin .smiley__body { animation: smileySpin 1s var(--ease-spring); }
@keyframes blink { 50% { transform: scaleY(.1); } }
@keyframes smileySpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Native cursor hidden only while the custom one is active */
.has-cursor, .has-cursor * { cursor: none; }
.has-cursor input:not([type='range']):not([type='checkbox']):not([type='radio']), .has-cursor textarea { cursor: text; }

/* Idle floating */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-chip { animation: bob 6s ease-in-out infinite; }
.float-chip--gear { animation-delay: -2s; }
.float-chip--plate { animation-duration: 7s; animation-delay: -4s; }

/* ── Hero (home) ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(150px, 15vw, 260px);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7;
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--blue { animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6vw, 5vh) rotate(40deg); }
  100% { transform: translate(4vw, -4vh) rotate(-20deg); }
}
.blob--pink { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(240, 24, 156, .55), transparent 65%); top: -12%; right: -8%; }
.blob--blue { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: radial-gradient(circle, rgba(26, 115, 200, .45), transparent 65%); top: 38%; left: -12%; }
.hero__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0 0.15 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hero__spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 72%) var(--sy, 35%), rgba(240, 24, 156, .16), transparent 62%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title { margin-block: 1.2rem 1.6rem; }
.hero__title .line:nth-child(2) > span { color: var(--pink); font-style: italic; font-weight: 700; }
.line > .hero__title-row { display: inline-flex; align-items: flex-end; gap: .25em; }
.hero__smiley { width: .95em; height: .95em; flex-shrink: 0; transform: translateY(-.06em); cursor: pointer; }
.js .hero__smiley { opacity: 0; transform: translateY(-.06em) scale(.3) rotate(-90deg); transition: opacity .6s 1s, transform 1.2s var(--ease-spring) 1s; }
.js .is-in .hero__smiley { opacity: 1; transform: translateY(-.06em); }
.hero__lead { margin-bottom: 2.2rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num .accent { font-size: .7em; }
.stat__label { font-size: .88rem; color: var(--muted); font-weight: 600; margin-top: .35rem; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 76svh; justify-self: end; width: 100%; max-width: 520px; }
.hero__photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 15, 38, .45);
  transform: rotate(2.5deg);
}
.hero__photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 62%; will-change: transform; }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 15, 38, .55));
}
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 700; font-size: .9rem; line-height: 1.25;
  will-change: transform;
}
.float-chip small { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); }
.float-chip__big { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: var(--pink); }
.float-chip--rating { top: 9%; left: -12%; }
.float-chip--gear { bottom: 22%; right: -9%; }
.float-chip--plate {
  top: -4%; right: -3%;
  rotate: 8deg;
  width: 74px; height: 74px; padding: 0; justify-content: center;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  border-radius: 14px; border: 4px solid var(--white);
}
.stars { color: #F7B500; letter-spacing: .1em; font-size: .85rem; }

.hero__road {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  width: 100%; height: clamp(170px, 17vw, 290px);
  pointer-events: none; overflow: visible;
}
.hero__road use { fill: none; stroke-linecap: butt; }
.hero__road-curb { stroke: var(--pink); stroke-width: 96; }
.hero__road-asphalt { stroke: var(--ink); stroke-width: 84; }
.hero__road-dash { stroke: rgba(255, 255, 255, .8); stroke-width: 3.5; stroke-dasharray: .012 .01; animation: roadFlow 2.2s linear infinite; }
@keyframes roadFlow { to { stroke-dashoffset: -.044; } }
.hero__road-car .wheel { transform-box: fill-box; transform-origin: center; animation: spinWheel .55s linear infinite; }
@keyframes spinWheel { to { transform: rotate(360deg); } }
.js .hero__road-curb, .js .hero__road-asphalt { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-in-out) .5s; }
.js .hero__road-asphalt { transition-delay: .62s; }
.js .hero.is-on .hero__road-curb, .js .hero.is-on .hero__road-asphalt { stroke-dashoffset: 0; }
.js .hero__road-dash, .js .hero__road-car { opacity: 0; transition: opacity .8s 2.1s; }
.js .hero.is-on .hero__road-dash, .js .hero.is-on .hero__road-car { opacity: 1; }

/* Back card + rotating badge */
.hero__card-back {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .35), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 18px),
    var(--pink);
  rotate: -7deg;
  translate: -5% 3%;
}
.js .hero__card-back { transition: rotate 1.6s var(--ease-spring) .5s, opacity .8s .4s; }
.js .hero:not(.is-on) .hero__card-back { rotate: 3deg; opacity: 0; }
.hero__badge {
  position: absolute; z-index: 3;
  left: -13%; bottom: 7%;
  width: clamp(116px, 10vw, 156px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero__badge-ring text { font-family: var(--font-body); font-size: 15.5px; font-weight: 800; letter-spacing: .12em; fill: var(--ink); }
.hero__badge-core {
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink); color: var(--white);
  transition: transform .6s var(--ease-spring), background-color .3s;
}
.hero__badge-core svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.hero__badge:hover .hero__badge-core { transform: scale(1.18); background: var(--ink); }
.js .hero__badge { transition: scale 1s var(--ease-spring) 1.35s, opacity .4s 1.35s; }
.js .hero:not(.is-on) .hero__badge { scale: 0; opacity: 0; }

/* Hand-drawn underline */
.hl { position: relative; display: inline-block; }
.hl__swoosh { position: absolute; left: -2%; bottom: .01em; width: 104%; height: .2em; overflow: visible; pointer-events: none; }
.hl__swoosh path { fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; }
.js .hl__swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out) 1.15s; }
.js .is-in .hl__swoosh path { stroke-dashoffset: 0; }

/* Hero entrance (triggered by .is-on, after the intro / curtain) */
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char { display: inline-block; }
.js .hero__title .line > span { transform: none; transition: none; }
.js .hero__title .char {
  transform: translate3d(0, 115%, 0) rotate(14deg);
  transform-origin: 0 100%;
  opacity: 0;
  transition: transform 1.15s var(--ease-out), opacity .5s;
  transition-delay: calc(var(--c) * 30ms + 60ms);
}
.js .hero__title.is-in .char { transform: none; opacity: 1; }
.js .hero__photo { clip-path: inset(-30% -30% -30% -30% round var(--radius-xl)); transition: clip-path 1.7s var(--ease-out) .15s; }
.js .hero:not(.is-on) .hero__photo { clip-path: inset(47% 42% 47% 42% round var(--radius-xl)); }
.js .hero__photo img { transition: scale 2.2s var(--ease-out) .15s; }
.js .hero:not(.is-on) .hero__photo img { scale: 1.45; }
.js .hero .float-chip { transition: scale 1s var(--ease-spring), opacity .4s; }
.js .hero:not(.is-on) .float-chip { scale: 0; opacity: 0; }
.js .hero.is-on .float-chip--rating { transition-delay: .9s; }
.js .hero.is-on .float-chip--gear { transition-delay: 1.05s; }
.js .hero.is-on .float-chip--plate { transition-delay: 1.2s; }
.js .hero .blob { transition: scale 2.6s var(--ease-out), opacity 2s; }
.js .hero:not(.is-on) .blob { scale: .3; opacity: 0; }
.is-opening .header { transform: translateY(-130%); }
.is-opening .nav__link { opacity: 0; transform: translateY(-14px); }

/* ── Intro (first visit of the session) ──────────────────────── */
.intro { display: none; position: fixed; inset: 0; z-index: 9600; overflow: hidden; cursor: pointer; }
.is-intro .intro { display: block; animation: introSafety 0s 8s forwards; }
@keyframes introSafety { to { visibility: hidden; pointer-events: none; } }
.intro__panel { position: absolute; inset: 0; }
.intro__panel--pink { background: var(--pink); }
.intro__panel--ink { background: var(--ink); }
.intro__stage {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 1.2rem;
  color: var(--white); text-align: center;
}
.intro__smiley { width: clamp(90px, 11vw, 150px); color: var(--pink); }
.intro__smiley .smiley__arc, .intro__smiley .smiley__mouth { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__smiley .smiley__eye { transform: scale(0); }
.intro__word {
  display: flex; overflow: hidden;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.6rem, 13vw, 10rem); line-height: .95; letter-spacing: -.05em;
  padding: .02em .05em .08em;
}
.intro__word span { display: inline-block; transform: translateY(110%); transform-origin: 0 100%; }
.intro__l { margin-left: .06em; padding: 0 .14em; border-radius: .1em; background: var(--blue); }
.intro__tag { font-size: .8rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--muted-on-ink); opacity: 0; }
.intro__count {
  position: absolute; right: var(--gutter); bottom: clamp(1rem, 4vh, 2.5rem);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -.05em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums;
}
.intro__count small { font-size: .4em; color: var(--pink); margin-left: .1em; }
.intro__road { position: absolute; left: 0; right: 0; bottom: 24%; height: 60px; }
.intro__road-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 28px, transparent 28px 56px);
  transform-origin: 0 50%; transform: scaleX(0);
}
.intro__car { position: absolute; left: 0; top: 50%; width: 110px; margin-top: -50px; transform: translateX(-160px); }
.intro__car .wheel { transform-box: fill-box; transform-origin: center; }

/* ── Marquee ─────────────────────────────────────────────────── */
.marquee-wrap { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.marquee {
  display: flex; white-space: nowrap; overflow: hidden;
  padding-block: 1.1rem;
  user-select: none;
}
.marquee--pink { background: var(--pink); color: var(--white); transform: rotate(-2.2deg); margin-inline: -2vw; position: relative; z-index: 2; }
.marquee--ink { background: var(--ink); color: var(--white); transform: rotate(1.6deg); margin-top: -1rem; margin-inline: -2vw; }
.marquee__track { display: flex; flex-shrink: 0; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.03em;
}
.marquee__item svg { width: .8em; height: .8em; fill: currentColor; opacity: .9; }
.marquee--ink .marquee__item svg { color: var(--pink); }

/* ── Parcours (horizontal road) ──────────────────────────────── */
.parcours { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.parcours__pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(1.5rem, 5vh, 3.5rem) 1.5rem; }
.parcours__head h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.parcours__head .lead { max-width: 44rem; }
.parcours__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.parcours__head h2 { max-width: 14ch; }
.parcours__counter { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--muted-on-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.parcours__counter strong { color: var(--white); font-size: 2.4em; letter-spacing: -.04em; margin-right: .2rem; }
.parcours__viewport { position: relative; }
.parcours__track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.step-card {
  position: relative;
  width: clamp(290px, 30vw, 400px);
  min-height: min(360px, 42vh);
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  overflow: hidden;
  transition: background-color .5s, border-color .5s, transform .6s var(--ease-out);
}
.step-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 24, 156, .22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.step-card:hover::before { opacity: 1; }
.step-card > * { position: relative; z-index: 1; }
.step-card.is-active { border-color: rgba(240, 24, 156, .55); background: var(--ink-3); }
.step-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 2.5rem; }
.step-card__num {
  font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: .85; letter-spacing: -.06em;
  color: #3E3854;
  transition: color .5s;
}
.step-card.is-active .step-card__num { color: var(--pink); }
.step-card__icon { width: 56px; height: 56px; color: var(--pink); }
.step-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin-bottom: .8rem; }
.step-card p { color: var(--muted-on-ink); font-size: .96rem; line-height: 1.6; margin-bottom: 1.4rem; }
.step-card .link-arrow { color: var(--white); }
.step-card .link-arrow:hover { color: var(--pink); }
.step-card--cta { background: var(--pink); border-color: var(--pink); justify-content: space-between; }
.step-card--cta.is-active { background: var(--pink); }
.step-card--cta h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.step-card--cta p { color: rgba(255, 255, 255, .85); }
.step-card--cta .smiley { width: 84px; color: var(--white); }

/* draw-on-scroll icons */
.draw path, .draw circle, .draw rect, .draw line, .draw polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.is-drawn .draw path, .is-drawn .draw circle, .is-drawn .draw rect, .is-drawn .draw line, .is-drawn .draw polyline,
.draw.is-drawn path, .draw.is-drawn circle, .draw.is-drawn rect, .draw.is-drawn line, .draw.is-drawn polyline { stroke-dashoffset: 0; }

.road { position: relative; height: 64px; margin-top: clamp(1.2rem, 3vh, 2.2rem); }
.road__asphalt { position: absolute; left: 0; right: 0; top: 50%; height: 34px; transform: translateY(-50%); background: #0B0817; border-block: 2px solid rgba(255, 255, 255, .08); }
.road__dash { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 28px, transparent 28px 56px); background-size: 56px 3px; }
.road__fill { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 18px rgba(240, 24, 156, .7); }
.road__car { position: absolute; top: 50%; left: 0; width: 92px; margin-top: -38px; will-change: transform; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.road__car .wheel { transform-box: fill-box; transform-origin: center; }

/* Fallback (mobile / reduced motion): vertical list */
.parcours.is-static .parcours__pin { min-height: 0; padding-block: clamp(5rem, 11vw, 8rem); }
.parcours.is-static .parcours__track { width: auto; flex-direction: column; padding-inline: var(--gutter); transform: none !important; }
.parcours.is-static .step-card { width: 100%; min-height: 0; }
.parcours.is-static .step-card__top { padding-bottom: 1.6rem; }
.parcours.is-static .road, .parcours.is-static .parcours__counter { display: none; }

/* ── Chooser (« où en êtes-vous ? ») ─────────────────────────── */
.chooser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.chooser__options { display: grid; gap: .7rem; }
.chooser__opt {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px solid var(--line);
  font-weight: 700; font-size: 1rem;
  transition: border-color .3s, transform .5s var(--ease-out), box-shadow .4s, background-color .3s;
}
.chooser__opt:hover { transform: translateX(6px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.chooser__opt[aria-checked='true'] { border-color: var(--pink); background: var(--pink-soft); transform: translateX(10px); }
.chooser__radio { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: border-color .3s; }
.chooser__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); transform: scale(0); transition: transform .45s var(--ease-spring); }
.chooser__opt[aria-checked='true'] .chooser__radio { border-color: var(--pink); }
.chooser__opt[aria-checked='true'] .chooser__radio::after { transform: scale(1); }
.chooser__result {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  min-height: 380px;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.chooser__result::after {
  content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 24, 156, .5), transparent 70%);
  pointer-events: none;
}
.chooser__panel { position: relative; z-index: 1; }
.chooser__panel[hidden] { display: none; }
.chooser__panel.is-entering > * { animation: panelIn .7s var(--ease-out) both; }
.chooser__panel.is-entering > *:nth-child(2) { animation-delay: .06s; }
.chooser__panel.is-entering > *:nth-child(3) { animation-delay: .12s; }
.chooser__panel.is-entering > *:nth-child(4) { animation-delay: .18s; }
.chooser__panel.is-entering > *:nth-child(5) { animation-delay: .24s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.chooser__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; }
.chooser__panel h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.chooser__panel p { color: var(--muted-on-ink); margin-bottom: 1.4rem; }
.chooser__next { display: grid; gap: .6rem; margin-bottom: 2rem; }
.chooser__next li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.chooser__next li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: .1rem; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ── Why (home) ──────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.why__photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.gauge {
  position: relative; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius-xl);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.gauge::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(240, 24, 156, .25), transparent 60%);
}
.gauge__svg { position: relative; width: 78%; transform: rotate(-90deg); overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 14; }
.gauge__value {
  fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 10px rgba(240, 24, 156, .6));
  transition: stroke-dashoffset 2.2s var(--ease-out) .35s;
}
.gauge.is-in .gauge__value { stroke-dashoffset: 15; }
.gauge__center { position: absolute; text-align: center; }
.gauge__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__label { font-weight: 700; color: var(--muted-on-ink); margin-top: .4rem; }
.why__badge {
  position: absolute; z-index: 2;
  padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.why__badge--a { right: -1.5rem; top: 12%; }
.why__badge--b { left: -1.5rem; bottom: 10%; background: var(--pink); color: var(--white); }
.why__badge-num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1; }
.why__badge--a .why__badge-num { color: var(--pink); }
.why__badge-txt { font-size: .82rem; font-weight: 700; opacity: .8; margin-top: .3rem; }
.why__list { display: grid; margin-block: 2.5rem; border-top: 1px solid var(--line); }
.why__item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
  transition: opacity .5s;
}
.why__item-num { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--muted); padding-top: .2rem; transition: color .4s; min-width: 2ch; }
.why__item h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: .4rem; transition: color .4s, transform .6s var(--ease-out); }
.why__item p { color: var(--muted); max-width: 34rem; }
.js .why__list.is-tracking .why__item { opacity: .38; }
.js .why__list.is-tracking .why__item.is-current { opacity: 1; }
.why__item.is-current .why__item-num { color: var(--pink); }
.why__item.is-current h3 { transform: translateX(8px); }

/* ── CTA band ────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: var(--pink); color: var(--white);
  padding-block: clamp(6rem, 13vw, 10rem);
  text-align: center;
}
.cta__big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 10rem); line-height: .92; letter-spacing: -.055em;
  margin-bottom: 2rem;
}
.cta__big .italic { font-weight: 700; }
.cta p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 34rem; margin: 0 auto 2.5rem; }
.cta .btn-row { justify-content: center; }
.cta__ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); pointer-events: none; will-change: transform; }
.cta__ring--1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: -18vw; top: -30%; }
.cta__ring--2 { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; right: -12vw; bottom: -35%; }
.cta__smiley { position: absolute; right: 8%; top: 14%; width: clamp(60px, 9vw, 120px); color: rgba(255, 255, 255, .9); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 4rem); }
.footer__brand img { height: 72px; width: auto; border-radius: 14px; background: var(--white); padding: .4rem .8rem; margin-bottom: 1.4rem; }
.footer__brand p { color: var(--muted-on-ink); max-width: 22rem; margin-bottom: 1.6rem; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 1.2rem; }
.footer ul { display: grid; gap: .55rem; }
.footer ul a, .footer address a { color: var(--muted-on-ink); font-weight: 600; transition: color .3s; }
.footer ul a:hover, .footer address a:hover { color: var(--white); }
.footer address { font-style: normal; display: grid; gap: .7rem; color: var(--muted-on-ink); font-weight: 600; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-on-ink);
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-spring);
}
.social a:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-4px) rotate(-8deg); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__mega {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 17vw, 17rem); line-height: .8; letter-spacing: -.07em;
  text-align: center; white-space: nowrap;
  color: #221B3B;
  user-select: none;
  padding-bottom: .12em;
  transition: color .6s;
}
.footer__mega:hover { color: var(--pink); }
.footer__mega span { color: var(--blue); transition: color .6s; }
.footer__mega:hover span { color: var(--white); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.6rem; border-top: 1px solid var(--line-on-ink);
  font-size: .88rem; color: var(--muted-on-ink);
}
.footer__bottom a:hover { color: var(--white); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.to-top {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--white);
}
.to-top span:last-child {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  transition: transform .5s var(--ease-spring), background-color .3s;
}
.to-top:hover span:last-child { transform: translateY(-5px); background: var(--pink); color: var(--white); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.page-hero__ghost {
  position: absolute; right: -2vw; bottom: -.18em; z-index: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 22vw, 22rem); line-height: .8; letter-spacing: -.07em;
  color: #FAE6EF;
  white-space: nowrap; pointer-events: none; user-select: none;
  will-change: transform;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); margin-bottom: 1.6rem; max-width: 16ch; }
.page-hero h1 .accent { font-style: italic; font-weight: 700; }
.breadcrumb { display: flex; gap: .6rem; align-items: center; font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Formations ──────────────────────────────────────────────── */
.steps-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps-nav { position: sticky; top: calc(var(--header-h) + 2rem); }
.steps-nav__title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.steps-nav__list { position: relative; display: grid; gap: .15rem; padding-left: 1.2rem; }
.steps-nav__list::before { content: ''; position: absolute; left: 0; top: .6rem; bottom: .6rem; width: 2px; background: var(--line); border-radius: 2px; }
.steps-nav__bar { position: absolute; left: 0; top: .6rem; width: 2px; height: calc(100% - 1.2rem); background: var(--pink); border-radius: 2px; transform-origin: 0 0; transform: scaleY(0); transition: transform .5s var(--ease-out); }
.steps-nav__link {
  display: flex; gap: .7rem; align-items: baseline;
  padding: .5rem .2rem;
  font-weight: 700; font-size: .93rem; color: var(--muted);
  transition: color .3s, transform .5s var(--ease-out);
}
.steps-nav__link span { font-family: var(--font-display); font-size: .8rem; color: var(--line-strong); transition: color .3s; }
.steps-nav__link:hover { color: var(--ink); }
.steps-nav__link.is-active { color: var(--ink); transform: translateX(6px); }
.steps-nav__link.is-active span { color: var(--pink); }

.step-block {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.step-block:first-child { border-top: 0; padding-top: 0; }
.step-block__tag { display: inline-flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; }
.step-block h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1.4rem; }
.step-block p { color: var(--muted); margin-bottom: 1.1rem; }
.step-block p strong { color: var(--ink); }
.step-block .btn-row { margin-top: 1.8rem; }
.checklist { display: grid; gap: .7rem; margin: 0 0 1.4rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.checklist li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: .15rem; border-radius: 7px;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0189C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.step-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  align-self: start;
}
.step-visual--alt { background: var(--pink); }
.step-visual--blue { background: var(--blue); }
.step-visual__num {
  position: absolute; right: -.08em; bottom: -.22em;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(9rem, 16vw, 14rem); line-height: 1; letter-spacing: -.08em;
  color: rgba(255, 255, 255, .12);
  will-change: transform;
}
.step-visual__icon { width: clamp(64px, 8vw, 92px); color: var(--pink); }
.step-visual--alt .step-visual__icon, .step-visual--blue .step-visual__icon { color: var(--white); }
.step-visual__icon svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-tag {
  position: relative; z-index: 1;
  align-self: flex-start;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}
.price-tag small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: .3rem; }
.price-tag strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1; }
.price-tag span { font-size: .85rem; opacity: .8; font-weight: 600; }
.soon { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 99px; background: var(--paper-2); font-weight: 700; color: var(--muted); }

/* ── Tarifs ──────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease-out), border-color .4s;
  will-change: transform;
}
.price-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.price-card__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(240, 24, 156, .12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.price-card:hover .price-card__glare { opacity: 1; }
.price-card__title { font-weight: 800; font-size: 1rem; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .55rem; }
.price-card__title svg { width: 22px; height: 22px; color: var(--pink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 4vw, 3.6rem); letter-spacing: -.05em; line-height: 1; display: flex; align-items: flex-start; gap: .25rem; font-variant-numeric: tabular-nums; }
.price-card__price sup { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .06em; margin-top: .55rem; color: var(--muted); }
.price-card__price sub { font-size: 1.4rem; align-self: flex-end; color: var(--muted); }
.price-card__desc { font-weight: 700; color: var(--pink); margin: .5rem 0 1.4rem; font-size: .92rem; }
.price-card ul { display: grid; gap: .55rem; margin-bottom: 1.8rem; font-size: .93rem; color: var(--muted); }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; }
.price-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-top: .62rem; flex-shrink: 0; }
.price-card .btn { margin-top: auto; }
.price-card--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.price-card--featured .price-card__price sup, .price-card--featured .price-card__price sub, .price-card--featured ul { color: var(--muted-on-ink); }
.price-card--featured .price-card__glare { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(240, 24, 156, .3), transparent 45%); }
.price-card__badge { position: absolute; top: -12px; right: 1.4rem; padding: .3rem .8rem; border-radius: 99px; background: var(--pink); color: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.packs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: clamp(4rem, 8vw, 6rem); }
.packs__list { display: grid; gap: .6rem; }
.pack {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .3s;
}
.pack:hover { transform: translateX(6px); border-color: var(--line-strong); }
.pack__name { font-weight: 800; }
.pack__price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; text-align: right; }
.pack__meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pack__save { font-size: .8rem; font-weight: 800; color: var(--success); text-align: right; }
.pack__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; margin-top: .4rem; }
.pack__bar span { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--blue), var(--pink)); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease-out) calc(var(--i, 0) * 100ms + 200ms); }
.is-in .pack__bar span { transform: scaleX(1); }
.pack--best { border-color: var(--pink); background: var(--pink-soft); }
.pack--best::after { content: 'Populaire'; position: absolute; top: .55rem; right: .7rem; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-ink); }
.pack--best .pack__price { margin-top: .6rem; }
.note { font-size: .86rem; color: var(--muted); margin-top: 1rem; display: flex; gap: .6rem; }
.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Simulator */
.sim {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sim__controls { padding: clamp(1.8rem, 4vw, 3.2rem); display: grid; gap: 2.2rem; align-content: start; }
.sim__field label, .sim__legend { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 800; margin-bottom: 1rem; }
.sim__value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; color: var(--pink); line-height: 1; font-variant-numeric: tabular-nums; }
.sim__value small { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: .3rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 25%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--pink) var(--p), var(--paper-2) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--paper-2); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--pink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--white); border: 3px solid var(--pink); box-shadow: 0 4px 14px rgba(240, 24, 156, .4); transition: transform .3s var(--ease-spring); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--pink); box-shadow: 0 4px 14px rgba(240, 24, 156, .4); }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }
.range__scale { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--muted); margin-top: .2rem; }
.sim__hint { font-size: .88rem; color: var(--muted); margin-top: .8rem; }
.toggles { display: grid; gap: .7rem; }
.toggle {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.toggle:hover { border-color: var(--line-strong); }
.toggle:has(input:checked) { border-color: var(--pink); background: var(--pink-soft); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 99px; background: var(--line-strong); transition: background-color .3s; }
.toggle__switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--ease-spring); }
.toggle input:checked + .toggle__switch { background: var(--pink); }
.toggle input:checked + .toggle__switch::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__switch { outline: 2px solid var(--pink); outline-offset: 3px; }
.toggle__text { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.toggle__text small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.toggle__price { font-weight: 800; font-size: .92rem; white-space: nowrap; }
.sim__result { position: relative; background: var(--ink); color: var(--white); padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; overflow: hidden; }
.sim__result::before { content: ''; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 24, 156, .45), transparent 70%); pointer-events: none; }
.sim__total-label { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.sim__total { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 4.8rem); letter-spacing: -.06em; line-height: 1; margin: .6rem 0 .4rem; font-variant-numeric: tabular-nums; }
.sim__total small { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: 0; color: var(--muted-on-ink); margin-right: .4rem; }
.sim__save { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .35rem .8rem; border-radius: 99px; background: rgba(18, 163, 107, .18); color: #4BE0A4; font-weight: 800; font-size: .85rem; transition: opacity .3s, transform .5s var(--ease-spring); }
.sim__save[hidden] { display: inline-flex; opacity: 0; transform: scale(.8); }
.sim__breakdown { display: grid; gap: .65rem; margin-block: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-on-ink); flex: 1; align-content: start; }
.sim__line { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; color: var(--muted-on-ink); animation: panelIn .5s var(--ease-out) both; }
.sim__line strong { color: var(--white); white-space: nowrap; }
.sim__disclaimer { font-size: .78rem; color: var(--muted-on-ink); margin-top: 1rem; line-height: 1.5; }
.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.06); } }

/* FAQ accordion */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.02em;
  transition: color .3s;
}
.faq__q:hover { color: var(--pink); }
.faq__icon { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .6s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded='true'] .faq__icon { background: var(--pink); border-color: var(--pink); color: var(--white); transform: rotate(180deg); }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.6rem; max-width: 46rem; }
.faq__a p:not(:last-child) { padding-bottom: .6rem; }
.faq__a a { color: var(--pink); text-decoration: underline; text-underline-offset: .2em; }
.js .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; }

/* ── À propos ────────────────────────────────────────────────── */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story p { color: var(--muted); margin-bottom: 1.2rem; }
.story__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.4rem; }
.story__stats .stat__num { color: var(--pink); }
.story__media { position: relative; }
.story__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.story__photo img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.story__chips { position: absolute; left: -1.5rem; bottom: 2rem; display: grid; gap: .5rem; justify-items: start; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.value {
  position: relative;
  padding: 2rem 1.8rem 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: color .5s, border-color .4s;
}
.value::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  clip-path: circle(0 at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .8s var(--ease-out);
}
.value:hover { color: var(--white); border-color: var(--ink); }
.value:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.value__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); margin-bottom: 1.6rem; transition: transform .6s var(--ease-spring), background-color .4s; }
.value:hover .value__icon { transform: rotate(-10deg) scale(1.1); background: var(--pink); color: var(--white); }
.value__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { margin-bottom: .7rem; }
.value p { color: var(--muted); transition: color .5s; }
.value:hover p { color: var(--muted-on-ink); }

.nico { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.nico__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.nico__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -25px rgba(20, 15, 38, .5); transform-style: preserve-3d; will-change: transform; }
.nico__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.nico__caption { padding: 1.4rem 1.5rem; background: var(--ink); color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nico__caption strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.03em; display: block; }
.nico__caption small { color: var(--muted-on-ink); font-weight: 600; }
.nico__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.nico__text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.08rem; }
.fill-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -.03em;
  margin-block: 2.5rem;
}
.fill-text .w { opacity: .16; transition: opacity .25s linear; }
.fill-text .w.is-lit { opacity: 1; }
.no-js .fill-text .w, .reduce-motion .fill-text .w { opacity: 1; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__cards { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.ccard {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--ease-out), box-shadow .4s;
}
.ccard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ccard__icon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.ccard__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ccard__body { flex: 1; min-width: 0; }
.ccard__body small { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard__body a, .ccard__body span { font-weight: 800; overflow-wrap: anywhere; }
.ccard__body a:hover { color: var(--pink); }
.copy-btn {
  position: relative;
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  color: var(--muted);
  transition: border-color .3s, color .3s, background-color .3s;
}
.copy-btn:hover { border-color: var(--pink); color: var(--pink); }
.copy-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn .ico-check { display: none; }
.copy-btn.is-copied { background: var(--success); border-color: var(--success); color: var(--white); }
.copy-btn.is-copied .ico-copy { display: none; }
.copy-btn.is-copied .ico-check { display: block; }

.hours { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; font-weight: 800; }
.hours__status { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 99px; font-size: .8rem; font-weight: 800; background: rgba(255, 255, 255, .08); }
.hours__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-on-ink); }
.hours__status.is-open { color: #4BE0A4; background: rgba(18, 163, 107, .16); }
.hours__status.is-open::before { background: #4BE0A4; animation: ping 2s var(--ease-out) infinite; }
.hours__status.is-closed { color: #FF8FA3; background: rgba(217, 53, 75, .16); }
.hours__status.is-closed::before { background: #FF8FA3; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem .9rem; border-radius: 12px; font-size: .93rem; color: var(--muted-on-ink); transition: background-color .3s; }
.hours__row strong { color: var(--white); font-weight: 700; }
.hours__row.is-today { background: rgba(240, 24, 156, .16); color: var(--white); }
.hours__row.is-today strong::after { content: ' · aujourd’hui'; color: var(--pink); font-size: .8rem; }

.form-card { position: relative; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.form-card > p { color: var(--muted); margin-bottom: 2rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 1.5rem 1.1rem .6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--paper);
  outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label {
  position: absolute; left: 1.15rem; top: 1.1rem;
  font-weight: 600; color: var(--muted);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .4s var(--ease-out), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px rgba(240, 24, 156, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.65rem) scale(.78); color: var(--pink); font-weight: 800; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field__error { display: block; font-size: .8rem; font-weight: 700; color: var(--danger); margin-top: .35rem; min-height: 0; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); animation: shake .45s var(--ease-out); }
.field.is-invalid .field__error { max-height: 2.5em; }
.field.is-valid input, .field.is-valid textarea { border-color: var(--success); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.chips { border: 0; }
.chips legend { font-weight: 800; margin-bottom: .8rem; }
.chips__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1rem; border-radius: 99px;
  border: 1.5px solid var(--line);
  font-size: .9rem; font-weight: 700;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s, transform .4s var(--ease-spring);
}
.chip span:hover { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: rgba(217, 53, 75, .5); }
.chips .field__error { margin-top: .6rem; }
.chips.is-invalid .field__error { max-height: 2.5em; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.form__submit { justify-self: start; margin-top: .4rem; }
.form__submit.is-loading { pointer-events: none; }
.form__submit .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.form__submit.is-loading .spinner { display: block; }
.form__submit.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding-block: 2rem; }
.form-card.is-sent .form, .form-card.is-sent > h2, .form-card.is-sent > p { display: none; }
.form-card.is-sent .form-success { display: block; animation: panelIn .8s var(--ease-out) both; }
.form-success__check { width: 96px; height: 96px; margin: 0 auto 1.5rem; color: var(--success); }
.form-success__check circle, .form-success__check path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.form-card.is-sent .form-success__check circle { animation: draw .9s var(--ease-out) .2s forwards; }
.form-card.is-sent .form-success__check path { animation: draw .6s var(--ease-out) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 2rem; margin-bottom: .6rem; }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto 1.6rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 9500;
  padding: .85rem 1.3rem; border-radius: 99px;
  background: var(--ink); color: var(--white); font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow);
  transform: translate(-50%, 150%);
  transition: transform .6s var(--ease-spring);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ── Legal ───────────────────────────────────────────────────── */
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(2rem, 6vw, 6rem); justify-content: center; align-items: start; }
.legal__intro { color: var(--muted); font-size: 1.08rem; margin-bottom: 3rem; }
.legal__block { padding-block: 2.2rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal__block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.legal__block p { color: var(--muted); margin-bottom: 1rem; }
.legal__block p strong { color: var(--ink); }
.legal__block h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.legal__block ul { color: var(--muted); margin: 0 0 1rem 1.2rem; list-style: disc; }
.legal__block li { margin-bottom: .4rem; }
.legal__block li strong { color: var(--ink); }
.legal__note { font-weight: 700; color: var(--pink) !important; }
.legal__updated { font-size: .88rem; color: var(--muted); padding-top: 2rem; border-top: 1px solid var(--line); }

/* ── Small component fixes ───────────────────────────────────── */
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.price-grid > div { display: flex; }
.price-card { flex: 1; }
.sim fieldset { border: 0; min-width: 0; }
.sim__field label small { font-weight: 600; color: var(--muted); }
.sim__total { transform-origin: 0 50%; }
.sim__save svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ccard__go { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out), stroke .3s; }
a.ccard:hover .ccard__go { transform: translate(3px, -3px); stroke: var(--pink); }
.soon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-chip > svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--pink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.parcours__track { list-style: none; }
.why__list { list-style: none; }
.form-success:focus { outline: none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
  .steps-nav {
    position: sticky; top: var(--header-h); z-index: 5;
    margin-inline: calc(var(--gutter) * -1);
    padding: .7rem var(--gutter);
    background: rgba(251, 248, 245, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: top .6s var(--ease-out);
  }
  .header-hidden .steps-nav { top: 0; }
  .steps-nav__title, .steps-nav__bar { display: none; }
  .steps-nav__list { display: flex; gap: .4rem; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .steps-nav__list::-webkit-scrollbar { display: none; }
  .steps-nav__list::before { display: none; }
  .steps-nav__link { white-space: nowrap; padding: .45rem .9rem; border-radius: 99px; border: 1.5px solid var(--line); font-size: .85rem; }
  .steps-nav__link.is-active { transform: none; background: var(--ink); color: var(--white); border-color: var(--ink); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal .steps-nav { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .header__logo img { height: 46px; }
  .hero { min-height: 0; }
  .hero__inner, .why, .chooser, .story, .nico, .contact, .packs, .sim { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-self: center; max-width: 440px; aspect-ratio: 5 / 5; margin-top: 1rem; }
  .float-chip--rating { left: -4%; }
  .float-chip--gear { right: -4%; }
  .hero__badge { left: -4%; bottom: -6%; }
  .hero__card-back { translate: -3% 2%; }
  .why__media, .nico__media, .chooser__result { position: relative; top: 0; }
  .why__media { order: -1; max-width: 520px; }
  .why__badge--a { right: .8rem; }
  .why__badge--b { left: .8rem; }
  .step-block { grid-template-columns: minmax(0, 1fr); }
  .step-visual { aspect-ratio: 16 / 9; order: -1; }
  .step-visual__num { font-size: 8rem; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__chips { left: .8rem; }
  .parcours__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .price-grid, .values, .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 auto; }
  .hero__stats { gap: 1.4rem 2rem; }
  .float-chip { padding: .65rem .85rem; font-size: .8rem; }
  .float-chip__big { font-size: 1.25rem; }
  .float-chip--plate { width: 58px; height: 58px; font-size: 2rem; }
  .why__badge { padding: .8rem 1rem; }
  .why__badge-num { font-size: 1.6rem; }
  .sim__value { font-size: 2.1rem; }
  .toggle { gap: .75rem; padding: .85rem .9rem; }
  .chooser__opt:hover, .chooser__opt[aria-checked='true'] { transform: none; }
  .cta__smiley { display: none; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js .line > span, .js .hero__smiley, .js .hero__title .char, .js .hero .float-chip, .js .hero .blob, .js .hero__badge, .js .hero__card-back, .js .hl__swoosh path, .js .hero__road use { opacity: 1 !important; transform: none !important; clip-path: none !important; scale: none !important; stroke-dashoffset: 0 !important; }
  .draw path, .draw circle, .draw rect, .draw line, .draw polyline { stroke-dashoffset: 0 !important; }
  .fill-text .w { opacity: 1 !important; }
  .marquee__track { transform: none !important; }
}

.nowrap { white-space: nowrap; }
