/* Accueil, version 2 (novembre 2026) : panel, trois étapes, design et effets.
   Chargé seulement par la page d'accueil. Tout est sous body.v2, les effets sous body.fx
   (posé par la page sauf si le visiteur demande moins d'animations). */
/* =========== Améliorations (mêmes couleurs, mêmes polices, mêmes blocs que la page) =========== */

/* 1. Le panel */
.mp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.mp-head .hz-lead { margin: 0; }
.mp-tabs { position: relative; display: inline-flex; gap: 4px; margin-top: 40px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mp-tabs button { border: 0; background: none; color: #a1a1a6; font: 600 14.5px inherit; font-family: inherit; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.mp-tabs button:hover { color: #f5f5f7; }
.mp-tabs button.on { background: #f5f5f7; color: #000; }
.mp-frame { position: relative; margin-top: 18px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0b0c10;
  box-shadow: 0 50px 120px -50px rgba(34,197,94,.45), 0 30px 60px -30px rgba(0,0,0,.8); }
.mp-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: #111216; }
.mp-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mp-bar span { margin: 0 auto; transform: translateX(-30px); font-size: 12.5px; color: #8e8e93; padding: 4px 14px; border-radius: 8px; background: rgba(255,255,255,.05); }
.mp-shots { position: relative; aspect-ratio: 1912 / 1338; }
.mp-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.015); filter: blur(4px); transition: opacity .6s ease, filter .6s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.mp-shots img.on { opacity: 1; transform: none; filter: none; }
.mp-pts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.mp-pts b { display: block; font-size: 17px; font-weight: 600; color: #f5f5f7; }
.mp-pts span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: #a1a1a6; }

/* 2. Comment ça marche */
.ms { list-style: none; margin: 62px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; counter-reset: none; }
.ms { position: relative; }
.ms::before { content: ''; position: absolute; z-index: -1; left: 20%; right: 20%; top: 10%; bottom: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,197,94,.35), transparent); filter: blur(40px); opacity: .7; animation: msGlow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes msGlow { from { translate: -18% 0; } to { translate: 18% 0; } }
.ms li { position: relative; padding: 28px; border-radius: 24px; border: 1px solid rgba(255,255,255,.09); background: rgba(13,14,18,.55); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); transition: border-color .4s; }
.ms { isolation: isolate; }
.ms b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(34,197,94,.14); color: #4ade80; font-size: 18px; font-weight: 700; }
html:root body .ms h3 { margin: 20px 0 0; font-size: 19px; font-weight: 600; color: #f5f5f7; letter-spacing: -.01em; }
.ms p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: #a1a1a6; }



/* 4. Effets de flou (désactivés en mode « Avant » et si le visiteur réduit les animations) */
/* Haut de page : le décor change de jeu en passant par le flou, puis se floute en douceur quand on descend */
body.fx .hz-hero .hy-img { transition: opacity .9s ease, filter .9s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
body.fx .hz-hero .hy-img:not(.on) { filter: blur(6px); transform: scale(1.03); }
body.fx .hz-hero .hy-bg { filter: blur(calc(var(--hb, 0) * 5px)) brightness(calc(1 - var(--hb, 0) * .35)); transform: scale(calc(1.04 + var(--hb, 0) * .03)) translate(calc(var(--hx, 0) * -14px), calc(var(--hy, 0) * -10px)); transition: transform .9s cubic-bezier(.2,.8,.2,1); will-change: filter, transform; }
body.fx .hz-hero .hy-in { opacity: calc(1 - var(--hb, 0) * 1.2); filter: blur(calc(var(--hb, 0) * 1.5px)); translate: 0 calc(var(--hb, 0) * -40px); }
/* Apparition en fondu flou au défilement */
body.fx .fx-r { opacity: 0; translate: 0 24px; filter: blur(3px); transition: opacity .8s ease, translate .9s cubic-bezier(.2,.8,.2,1), filter .8s ease; transition-delay: calc(var(--i, 0) * 80ms); }
body.fx .fx-r.fx-in { opacity: 1; translate: 0 0; filter: blur(0); }
/* Le panel arrive incliné et flou, puis se pose net */
body.fx .mp-frame { transform-origin: 50% 0; will-change: transform, filter; }

/* Formules : légère montée au survol */
body.fx .hz-plan { transition: border-color .3s, background .3s, transform .3s, opacity .3s, translate .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
body.fx .hz-plan:not(.no):hover { translate: 0 -4px; box-shadow: 0 26px 50px -32px rgba(34,197,94,.55); }
/* Panel : reflet discret qui suit la souris une fois posé */
.mp-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.06), transparent 60%); }
body.fx .mp-frame.set:hover::after { opacity: 1; }
/* Étapes : une ligne verte se remplit au défilement et allume chaque numéro */
.ms-track { position: absolute; left: 0; right: 0; top: -22px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.07); overflow: hidden; }
.ms-line { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #86efac); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.ms b { transition: background .5s, color .5s, box-shadow .5s; }
.ms li.on b { background: #22c55e; color: #04130a; box-shadow: 0 0 0 6px rgba(34,197,94,.12); }
.ms li.on { border-color: rgba(74,222,128,.25); }
html:root[data-theme=light] body .ms-track { background: rgba(0,0,0,.07); }
html:root[data-theme=light] body .ms li.on b { color: #fff; background: #16a34a; }
@media (max-width: 900px) { .ms-track { display: none; } }
/* Barre du haut en verre */
body.fx :is(.site-nav, .nav, header.nav, .nd-nav) { backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
@media (prefers-reduced-motion: reduce) { body.fx .fx-r { opacity: 1; translate: none; filter: none; transition: none; } }

/* ======================================================================
   5. DESIGN GLOBAL RETRAVAILLÉ (classe v2, retirée en mode « Avant »)
   Même contenu, mêmes couleurs : titres plus grands et plus serrés,
   cartes en verre sombre, boutons en relief, FAQ allégée, appel final
   avec lueur, barre du haut transparente puis en verre au défilement.
   ====================================================================== */
html:root body.v2 { background: #050607; }
.v2-grain { position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
body:not(.v2) .v2-grain { display: none; }

/* Rythme et typographie */
html:root body.v2 .hx-sec { padding-top: 150px; }
html:root body.v2 .hx-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #86efac; }
html:root body.v2 .hx-tag::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .55; }
html:root body.v2 .hx-sec h2 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.03; }
html:root body.v2 .hx-sec h2 .hx-accent { color: #6ee7a0 !important; -webkit-text-fill-color: #6ee7a0 !important; }
html:root body.v2 .hz-lead { font-size: 18px; line-height: 1.65; color: #98989f; max-width: 600px; }

/* Haut de page */
html:root body.v2 .hy-h { font-size: clamp(48px, 6.1vw, 90px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
html:root body.v2 .hy-kick { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #d1fae5; }
html:root body.v2 .hy-lead { color: #c4c4ca; }
html:root body.v2 .hz-tile { border-radius: 18px; border-color: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
html:root body.v2 .hz-tile img { transition: filter .4s, transform .9s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 .hz-tile:hover img { transform: scale(1.06); }
html:root body.v2 .hz-tile.on { border-color: rgba(74,222,128,.85); box-shadow: 0 0 0 1px rgba(74,222,128,.4), 0 22px 44px -22px rgba(74,222,128,.7); }

/* Boutons en relief, boutons secondaires en verre */
html:root body.v2 :is(.hx-btn, .hy-btn) { background: linear-gradient(180deg, #4ade80, #22c55e); color: #03140a !important; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px -12px rgba(34,197,94,.65);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .2s; }
html:root body.v2 :is(.hx-btn, .hy-btn):hover { background: linear-gradient(180deg, #6ee7a0, #2fd16a); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 18px 44px -12px rgba(34,197,94,.8); }
html:root body.v2 :is(.hx-btn-ghost, .hz-ghost) { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.14) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .25s, border-color .25s, transform .22s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 :is(.hx-btn-ghost, .hz-ghost):hover { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.3) !important; }

/* Cartes : verre sombre, liseré clair en haut, lumière verte qui suit la souris */
html:root body.v2 :is(.hz-f, .hz-plan, .ms li) {
  background: radial-gradient(380px circle at var(--x, -999px) var(--y, -999px), rgba(74,222,128,.075), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), #08090b;
  border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); border-radius: 24px; }
html:root body.v2 .hz-plan.fit { border: 1px solid transparent;
  background: radial-gradient(380px circle at var(--x, -999px) var(--y, -999px), rgba(74,222,128,.09), transparent 62%) padding-box, linear-gradient(180deg, rgba(34,197,94,.16), rgba(34,197,94,0) 55%) padding-box, linear-gradient(#08090b, #08090b) padding-box,
              linear-gradient(180deg, rgba(74,222,128,.9), rgba(74,222,128,.08) 75%) border-box;
  box-shadow: 0 34px 70px -40px rgba(34,197,94,.7); }
html:root body.v2 .hz-pr { font-size: 34px; font-weight: 600; letter-spacing: -.045em; }
html:root body.v2 #hzPl { accent-color: #22c55e; }
html:root body.v2 .hz-seg { border-radius: 12px; }

/* Inclus : six cartes au lieu d'un tableau à traits */
@media (min-width: 641px) {
  html:root body.v2 .hz-inc { border-top: 0; gap: 12px; margin-top: 48px; }
  html:root body.v2 .hz-inc > div, html:root body.v2 .hz-inc > div:nth-child(n) { padding: 28px; border: 1px solid rgba(255,255,255,.07); border-radius: 22px;
    background: radial-gradient(380px circle at var(--x, -999px) var(--y, -999px), rgba(74,222,128,.07), transparent 62%), rgba(255,255,255,.02); transition: border-color .3s, translate .45s cubic-bezier(.2,.8,.2,1); }
  html:root body.v2 .hz-inc > div:hover { border-color: rgba(74,222,128,.25); }
  html:root body.v2 .hz-inc svg { box-sizing: content-box; padding: 10px; border-radius: 12px; background: rgba(34,197,94,.1); }
  html:root body.v2 .hz-inc b { margin-top: 18px; }
}

/* Équipe : grands chiffres dégradés */
html:root body.v2 .hz-nums { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.07); border-radius: 28px; }
html:root body.v2 .hz-nums > div { background: #070809; padding: 32px; }
html:root body.v2 .hz-nums b { font-size: 58px; font-weight: 600; letter-spacing: -.055em;
  background: linear-gradient(180deg, #fff 30%, #8d8d94); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Conteneur Pro */
html:root body.v2 .hz-pro { border-radius: 36px; border-color: rgba(255,255,255,.09); min-height: 560px; }
html:root body.v2 .hz-pro > img { transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 .hz-pro:hover > img { transform: scale(1.03); }
html:root body.v2 .hz-pro-plans { gap: 10px; }
html:root body.v2 .hz-pro-plans a { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .3s, background .3s; }
html:root body.v2 .hz-pro-plans a:hover { border-color: rgba(74,222,128,.5); background: rgba(34,197,94,.06); }

/* FAQ : lignes fines, bouton rond qui tourne */
html:root body.v2 .hx-faq-l { gap: 0; }
html:root body.v2 .hx-faq-l details { background: none !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; border-radius: 0 !important; padding: 0 2px !important; box-shadow: none !important; }
html:root body.v2 .hx-faq-l details:first-child { border-top: 1px solid rgba(255,255,255,.08) !important; }
html:root body.v2 .hx-faq-l summary { padding: 24px 0; font-size: 17.5px; font-weight: 500; align-items: center; }
html:root body.v2 .hx-faq-l summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  font-size: 18px; line-height: 1; color: #d1d1d6; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s; }
html:root body.v2 .hx-faq-l summary:hover::after { border-color: rgba(255,255,255,.35); }
html:root body.v2 .hx-faq-l details[open] summary::after { transform: rotate(45deg); background: #22c55e; border-color: #22c55e; color: #03140a; }
html:root body.v2 .hx-faq-l details p { color: #98989f; }

/* Appel final : lueurs qui dérivent lentement */
html:root body.v2 .hx-final { position: relative; overflow: hidden; isolation: isolate; padding: 120px 40px; border-radius: 36px; background: #070809; border: 1px solid rgba(255,255,255,.08); }
html:root body.v2 .hx-final::before, html:root body.v2 .hx-final::after { content: ''; position: absolute; z-index: -1; width: 55%; height: 140%; top: -70%; border-radius: 50%; filter: blur(30px); pointer-events: none; }
html:root body.v2 .hx-final::before { left: 2%; background: radial-gradient(closest-side, rgba(34,197,94,.42), transparent); animation: v2drift 14s ease-in-out infinite alternate; }
html:root body.v2 .hx-final::after { right: 2%; background: radial-gradient(closest-side, rgba(45,212,191,.22), transparent); animation: v2drift 17s ease-in-out infinite alternate-reverse; }
@keyframes v2drift { from { translate: -8% 0; } to { translate: 10% 12%; } }
html:root body.v2 .hx-final h2 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.05em; line-height: 1; }

/* Barre du haut : transparente sur le haut de page, en verre dès qu'on descend */
html:root body.v2 nav { transition: background .45s, border-color .45s; }
html:root:not([data-theme=light]) body.v2:not(.v2-scrolled) nav { background: rgba(5,6,7,0) !important; border-bottom-color: transparent !important; }
html:root body.v2.v2-scrolled nav { background: rgba(5,6,7,.62) !important; -webkit-backdrop-filter: blur(18px) saturate(170%) !important; backdrop-filter: blur(18px) saturate(170%) !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }

/* Panel et étapes accordés au nouveau style */
html:root body.v2 .mp-frame { border-radius: 24px; border-color: rgba(255,255,255,.1); }
html:root body.v2 .ms b { border-radius: 12px; }


/* Promo : la bande pleine largeur devient une pastille d'annonce au-dessus du titre */
html:root body.v2 .nd-strip { display: none !important; }
html:root body.v2.v2-promo-on .hy-kick { display: none; }
.v2-promo { display: none; }
html:root body.v2 .v2-promo { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 5px 16px 5px 5px; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  font: 500 14px/1.2 'IBM Plex Sans', sans-serif; color: #e5e5ea; transition: background .3s, border-color .3s; isolation: isolate; }
html:root body.v2 .v2-promo:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
html:root body.v2 .v2-promo::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--v2a, 0deg), transparent 0 70%, rgba(134,239,172,.9) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: v2spin 5s linear infinite; }
@property --v2a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes v2spin { to { --v2a: 360deg; } }
html:root body.v2 .v2-promo-b { flex: none; padding: 5px 11px; border-radius: 999px; background: linear-gradient(180deg, #4ade80, #22c55e); color: #03140a; font-weight: 700; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
html:root body.v2 .v2-promo-t b { color: #fff; font-weight: 600; }
html:root body.v2 .v2-promo-d { color: #86efac; white-space: nowrap; }
html:root body.v2 .v2-promo-d::before { content: ''; display: inline-block; width: 1px; height: 12px; margin: 0 12px 0 0; background: rgba(255,255,255,.2); vertical-align: -1px; }
html:root body.v2 .v2-promo svg { flex: none; color: #86efac; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 .v2-promo:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
  html:root body.v2 .v2-promo { gap: 9px; padding-right: 12px; font-size: 13px; }
  html:root body.v2 .v2-promo-l { display: none; }
  html:root body.v2 .v2-promo-d::before { margin-right: 9px; }
}
@media (max-width: 340px) { html:root body.v2 .v2-promo-d { display: none; } }


/* Calculateur : curseur sur mesure, piste qui se remplit en vert */
html:root body.v2 .hz-f input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; margin-top: 20px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, #22c55e var(--p, 9%), rgba(255,255,255,.1) var(--p, 9%)); }
html:root body.v2 .hz-f input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; cursor: grab;
  box-shadow: 0 0 0 5px rgba(34,197,94,.22), 0 4px 12px rgba(0,0,0,.45); transition: box-shadow .25s, transform .25s; }
html:root body.v2 .hz-f input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); box-shadow: 0 0 0 9px rgba(34,197,94,.22), 0 6px 16px rgba(0,0,0,.5); }
html:root body.v2 .hz-f input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(34,197,94,.22), 0 4px 12px rgba(0,0,0,.45); }
html:root body.v2 .hz-f input[type=range]::-moz-range-track { background: transparent; }
html:root body.v2 .hz-pl output { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 .hz-pl output.v2-bump { transform: scale(1.12); }
html:root[data-theme=light] body.v2 .hz-f input[type=range] { background: linear-gradient(90deg, #16a34a var(--p, 9%), rgba(0,0,0,.1) var(--p, 9%)); }

/* Sélecteurs (mods, onglets du panel) : la pastille blanche glisse d'un choix à l'autre */
html:root body.v2 :is(.hz-seg, .mp-tabs) { position: relative; }
html:root body.v2 :is(.hz-seg, .mp-tabs) > button { position: relative; z-index: 1; transition: color .3s; }
html:root body.v2 :is(.hz-seg, .mp-tabs) > button.on { background: transparent !important; }
.v2-ind { display: none; }
html:root body.v2 .v2-ind { display: block; position: absolute; z-index: 0; border-radius: 9px; background: #fff; box-shadow: 0 4px 14px -4px rgba(0,0,0,.5);
  transition: left .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1), top .5s, height .5s; }
html:root body.v2 .mp-tabs .v2-ind { border-radius: 999px; }
html:root[data-theme=light] body.v2 .v2-ind { background: #1d1d1f; }

/* Formules : petit rebond quand la formule conseillée change, phrase de conseil en fondu */
@keyframes v2pop { 0% { scale: .985; } 55% { scale: 1.02; } 100% { scale: 1; } }
html:root body.v2.fx .hz-plan.v2-pop { animation: v2pop .6s cubic-bezier(.2,.8,.2,1); }
@keyframes v2fade { from { opacity: .2; filter: blur(1px); } }
html:root body.v2.fx .hz-need.v2-new { animation: v2fade .5s ease; }

/* Barre de lecture : un trait vert sous la barre du haut avance avec la page */
.v2-progress { display: none; }
html:root body.v2.v2-scrolled .v2-progress { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, #22c55e, #86efac); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* Conteneur Pro : la photo suit à peine la souris */
html:root body.v2 .hz-pro > img { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); transition: transform 1.4s cubic-bezier(.2,.8,.2,1), translate .8s cubic-bezier(.2,.8,.2,1); }

/* Pied de page : trait lumineux en haut, grand nom en filigrane en bas */
html:root body.v2 .site-footer { position: relative; overflow: hidden; border-top-color: transparent !important; padding-bottom: 0 !important; }
html:root body.v2 .site-footer::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,222,128,.55), transparent); }
html:root body.v2 .site-footer .sf-links a { transition: color .2s, translate .3s cubic-bezier(.2,.8,.2,1); }
html:root body.v2 .site-footer .sf-links a:hover { translate: 3px 0; }
.v2-wordmark { display: none; }
@property --wx { syntax: '<percentage>'; inherits: true; initial-value: 20%; }
@property --wy { syntax: '<percentage>'; inherits: true; initial-value: 40%; }
html:root body.v2 .v2-wordmark { display: block; margin: 44px 0 0; padding-bottom: 6px; text-align: center; line-height: .78; user-select: none; }
html:root body.v2 .v2-wordmark > span { display: inline-block; font: 600 120px/.8 'IBM Plex Sans', sans-serif; letter-spacing: -.065em; padding: .06em .04em 0;
  background:
    radial-gradient(circle at var(--wx) var(--wy), rgba(167,243,208,1), rgba(74,222,128,.55) 11%, rgba(34,197,94,.16) 26%, transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.05) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  animation: v2sweep 9s ease-in-out infinite alternate; }
/* Sans souris (téléphone) ou hors survol : la lumière passe d'elle-même, lentement */
@keyframes v2sweep { 0% { --wx: 6%; --wy: 30%; } 50% { --wy: 70%; } 100% { --wx: 94%; --wy: 35%; } }
html:root body.v2 .site-footer.v2-hover .v2-wordmark > span { animation: none; }
/* Entrée : le nom monte et se dévoile quand on arrive en bas */
html:root body.v2.fx .v2-wordmark > span { clip-path: inset(100% 0 0 0); translate: 0 30%; filter: blur(2px);
  transition: clip-path 1.3s cubic-bezier(.2,.8,.2,1), translate 1.3s cubic-bezier(.2,.8,.2,1), filter 1s ease; }
html:root body.v2.fx .v2-wordmark.in > span { clip-path: inset(-10% -5% -10% -5%); translate: 0 0; filter: none; }
html:root body.v2 .site-footer .sf-bottom { margin-bottom: 0; }
html:root[data-theme=light] body.v2 .v2-wordmark > span {
  background: radial-gradient(circle at var(--wx) var(--wy), rgba(22,163,74,.9), rgba(22,163,74,.35) 9%, rgba(22,163,74,.08) 22%, transparent 34%), linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.03) 78%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(0,0,0,.06); }

/* ---------- Effets (classe fx) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:root body.v2 .hy-h .w, html:root body.v2 .hy-h .w > span { color: inherit !important; -webkit-text-fill-color: inherit !important; }
/* Le dégradé des titres passe sur chaque mot (sinon les mots animés deviennent invisibles) */
html:root body.v2 .hx-sec h2.v2-split { background: none !important; -webkit-text-fill-color: currentColor !important; }
html:root body.v2 .hx-sec h2.v2-split > .w > span { background: linear-gradient(180deg, #fff 40%, #b8bcc4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html:root[data-theme=light] body.v2 .hx-sec h2.v2-split > .w > span { background: none; -webkit-text-fill-color: currentColor; }
html:root[data-theme=light] body.v2 .hx-final h2.v2-split > .w > span { -webkit-text-fill-color: #fff; }
/* Titres : les mots montent un à un derrière un cache, avec un flou très léger */
html:root body.v2.fx .v2-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .1em; margin: -.08em -.02em -.1em; }
html:root body.v2.fx .v2-split .w > span { display: inline-block; translate: 0 108%; opacity: 0; filter: blur(2px);
  transition: translate .95s cubic-bezier(.2,.8,.2,1), opacity .7s ease, filter .9s ease; transition-delay: calc(var(--k, 0) * 38ms); }
html:root body.v2.fx .v2-split.in .w > span { translate: 0 0; opacity: 1; filter: none; }
/* Haut de page : entrée en douceur au chargement, image qui respire */
html:root body.v2.fx .hy-in > :not(h1), html:root body.v2.fx .hz-pick { opacity: 0; translate: 0 16px; filter: blur(2px); transition: opacity .9s ease, translate 1s cubic-bezier(.2,.8,.2,1), filter .9s ease; }
html:root body.v2.fx .hy-in > :nth-child(3) { transition-delay: .35s; }
html:root body.v2.fx .hy-in > :nth-child(4) { transition-delay: .45s; }
html:root body.v2.fx .hy-in > :nth-child(5) { transition-delay: .55s; }
html:root body.v2.fx .hz-pick { transition-delay: .65s; }
html:root body.v2.fx.v2-ready .hy-in > :not(h1), html:root body.v2.fx.v2-ready .hz-pick { opacity: 1; translate: 0 0; filter: none; }
html:root body.v2.fx .hz-hero .hy-img.on { animation: v2breathe 26s ease-in-out infinite alternate; }
@keyframes v2breathe { from { scale: 1; } to { scale: 1.07; } }

/* Thème clair */
html:root[data-theme=light] body.v2 { background: #fbfbfa; }
html:root[data-theme=light] body.v2 :is(.hz-f, .hz-plan, .ms li) { background: radial-gradient(380px circle at var(--x, -999px) var(--y, -999px), rgba(34,197,94,.08), transparent 62%), #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
html:root[data-theme=light] body.v2 .hz-plan.fit { background: linear-gradient(180deg, rgba(34,197,94,.08), rgba(34,197,94,0) 55%) padding-box, linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, rgba(22,163,74,.8), rgba(22,163,74,.1) 75%) border-box; }
@media (min-width: 641px) { html:root[data-theme=light] body.v2 .hz-inc > div, html:root[data-theme=light] body.v2 .hz-inc > div:nth-child(n) { background: radial-gradient(380px circle at var(--x, -999px) var(--y, -999px), rgba(34,197,94,.07), transparent 62%), #fff; border-color: rgba(0,0,0,.07); } }
html:root[data-theme=light] body.v2 .hz-nums { background: rgba(0,0,0,.07); border-color: rgba(0,0,0,.07); }
html:root[data-theme=light] body.v2 .hz-nums > div { background: #fff; }
html:root[data-theme=light] body.v2 .hz-nums b { background: linear-gradient(180deg, #1d1d1f 30%, #6e6e73); -webkit-background-clip: text; background-clip: text; }
html:root[data-theme=light] body.v2 .hx-sec h2 .hx-accent { color: #15803d !important; -webkit-text-fill-color: #15803d !important; }
html:root[data-theme=light] body.v2 .hx-tag { color: #15803d; }
html:root[data-theme=light] body.v2 .hz-lead { color: #515154; }
html:root[data-theme=light] body.v2 :is(.hx-faq-l details, .hx-faq-l details:first-child) { border-color: rgba(0,0,0,.08) !important; }
html:root[data-theme=light] body.v2 .hx-faq-l summary::after { border-color: rgba(0,0,0,.15); color: #1d1d1f; }
html:root[data-theme=light] body.v2 .hx-faq-l details p { color: #515154; }
html:root[data-theme=light] body.v2.v2-scrolled nav { background: rgba(251,251,250,.72) !important; border-bottom-color: rgba(0,0,0,.06) !important; }
html:root[data-theme=light] body.v2 :is(.hx-btn-ghost):not(.hx-final *):not(.hz-pro *) { background: rgba(0,0,0,.04) !important; border-color: rgba(0,0,0,.14) !important; }

@media (max-width: 768px) {
  html:root body.v2 .hx-sec { padding-top: 96px; }
  html:root body.v2 .hz-nums b { font-size: 42px; }
  html:root body.v2 .hz-nums > div { padding: 24px; }
  html:root body.v2 .hx-final { padding: 64px 22px; border-radius: 26px; }
  html:root body.v2 .hz-pro { border-radius: 26px; }
}

/* Thème clair (blocs ajoutés) */
html:root[data-theme=light] body :is(.ms li) { background: rgba(255,255,255,.6); border-color: rgba(0,0,0,.08); }
html:root[data-theme=light] body .ms::before { background: radial-gradient(closest-side, rgba(34,197,94,.25), transparent); }
html:root[data-theme=light] body :is(.mp-pts b, .ms h3) { color: #1d1d1f; }
html:root[data-theme=light] body :is(.mp-pts span, .ms p) { color: #515154; }
html:root[data-theme=light] body .mp-tabs { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.06); }
html:root[data-theme=light] body .mp-tabs button { color: #515154; }
html:root[data-theme=light] body .mp-tabs button.on { background: #1d1d1f; color: #fff; }
html:root[data-theme=light] body .mp-frame { border-color: rgba(0,0,0,.1); background: #fff; box-shadow: 0 50px 100px -50px rgba(21,128,61,.35), 0 20px 50px -30px rgba(0,0,0,.25); }
html:root[data-theme=light] body .mp-bar { background: #f5f5f7; border-bottom-color: rgba(0,0,0,.06); }
html:root[data-theme=light] body .mp-bar i { background: rgba(0,0,0,.12); }
html:root[data-theme=light] body .mp-bar span { background: rgba(0,0,0,.05); color: #6e6e73; }

/* Téléphone */
@media (max-width: 900px) {
  .mp-head { grid-template-columns: 1fr; gap: 16px; }
  .mp-pts, .ms { grid-template-columns: 1fr; gap: 12px; }
  .ms li:not(:last-child)::after { display: none; }
  .mp-frame { border-radius: 14px; }
  .mp-bar { height: 30px; } .mp-bar span { display: none; }
}
