/* Vitrine publique (page d'accueil). Même ADN que le portail (jetons de couleur, police et boutons de /app.css,
   chargé avant ce fichier) : fond nuit, une seule couleur d'accent, filets fins, cartes à plat, beaucoup d'air.
   Toutes les classes sont préfixées « v- » (ou « vm- » pour la maquette d'interface) pour ne rien toucher du portail. */

html { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.vitrine { background: var(--nuit); overflow-x: hidden; }
body.vitrine.v-menu-ouvert { overflow: hidden; }
:where(.vitrine) p { margin: 0; }

.v-saut { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r-petit); background: var(--texte); color: var(--nuit); font-weight: 700; text-decoration: none; }
.v-saut:focus { top: 12px; color: var(--nuit); }

/* ============ En-tête ============ */
.v-haut { position: sticky; top: 0; z-index: 50; transition: background-color .2s ease, box-shadow .2s ease; }
.v-haut.defile, .v-haut.ouvert { background: rgba(5, 11, 22, .88); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--ligne); }
:root[data-theme="light"] .v-haut.defile, :root[data-theme="light"] .v-haut.ouvert { background: rgba(255, 255, 255, .88); }
/* Menu ouvert : fond plein et SANS flou (un backdrop-filter servirait de repère au panneau fixe et le couperait) */
.v-haut.ouvert, :root[data-theme="light"] .v-haut.ouvert { background: var(--nuit); -webkit-backdrop-filter: none; backdrop-filter: none; }
.v-haut-in { max-width: 1312px; margin: 0 auto; height: 72px; padding: 0 32px; display: flex; align-items: center; gap: 44px; }
.v-marque { display: inline-flex; align-items: center; gap: 12px; color: var(--texte); text-decoration: none; font: 700 16px/1 var(--police); letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.v-marque:hover { color: var(--texte); }
.v-marque i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-doux); flex-shrink: 0; }
.v-nav { display: flex; align-items: center; gap: 30px; }
.v-nav > a { position: relative; color: var(--texte-2); font-size: 15px; font-weight: 600; text-decoration: none; padding: 6px 0; }
.v-nav > a:hover, .v-nav > a[aria-current="true"] { color: var(--texte); }
.v-nav > a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--accent); }
.v-nav-actions { display: none; }
.v-haut-fin { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.v-burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: var(--r); background: none; color: var(--texte); cursor: pointer; place-items: center; }
.v-burger:hover { background: var(--remplissage); }
.v-burger path { transition: transform .2s ease, opacity .2s ease; transform-origin: 12px 12px; }
.v-haut.ouvert .v-b1 { transform: translateY(5px) rotate(45deg); }
.v-haut.ouvert .v-b2 { opacity: 0; }
.v-haut.ouvert .v-b3 { transform: translateY(-5px) rotate(-45deg); }

/* Boutons de la vitrine : ceux du portail, en plus grand */
.vitrine .btn.grand { min-height: 40px; padding: 0 16px; font-size: 14px; }
.v-cta { min-height: 50px; padding: 0 26px; font-size: 15px; letter-spacing: .02em; }

/* ============ Héro ============ */
.v-hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 72px 32px 200px; }
.v-hero-in { width: 100%; max-width: 1248px; margin: 0 auto; }
.v-surtitre { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 28px; }
.v-hero h1 { font-size: clamp(40px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.022em; font-weight: 700; max-width: 14.5em; text-wrap: balance; }
.v-hero h1 span { color: var(--texte-3); }
.v-chapo { margin-top: 30px; max-width: 38em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--texte-2); }
.v-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.v-reassure { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 30px; font-size: 14px; color: var(--texte-3); }
.v-reassure > span { display: inline-block; }
.v-reassure > span + span::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; border-radius: 50%; background: var(--ligne-forte); margin: -2px 14px 0; }
/* Horizon lumineux : le bord d'un grand disque, comme la lueur de l'écran de connexion du portail */
.v-horizon { position: absolute; z-index: -1; left: 50%; top: calc(100% - 150px); width: max(1500px, 170vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--nuit);
  box-shadow: 0 -1px 0 rgba(120, 165, 255, .55), 0 -18px 60px rgba(79, 139, 255, .22), 0 -90px 220px rgba(79, 139, 255, .14); }
.v-horizon::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, var(--anneaux) 0 1px, transparent 1px 7px);
  -webkit-mask: linear-gradient(to bottom, #000, transparent 9%); mask: linear-gradient(to bottom, #000, transparent 9%); }
:root[data-theme="light"] .v-horizon { box-shadow: 0 -1px 0 rgba(29, 78, 216, .35), 0 -18px 60px rgba(29, 78, 216, .1), 0 -90px 220px rgba(29, 78, 216, .07); }

/* ============ Sections ============ */
.v-section { padding: clamp(88px, 11vw, 148px) 32px; border-top: 1px solid var(--ligne); }
.v-alt { background: var(--panneau); background: color-mix(in srgb, var(--panneau) 55%, var(--nuit)); }
.v-in { max-width: 1248px; margin: 0 auto; }
.v-tete { max-width: 760px; margin-bottom: clamp(44px, 5vw, 64px); }
.v-etiquette { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-texte); margin-bottom: 18px; }
.v-tete h2, .v-texte h2 { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.08; letter-spacing: -.016em; text-wrap: balance; }
.v-tete > p:not(.v-etiquette), .v-texte > p:not(.v-etiquette) { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--texte-2); }

/* Modules : grille à filets fins, façon fiche technique */
.v-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ligne); border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); overflow: hidden; }
.v-modules li { background: var(--nuit); padding: 36px 32px 38px; display: flex; flex-direction: column; gap: 10px; transition: background-color .15s ease; }
.v-modules li:hover { background: var(--panneau); }
.v-modules svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-texte); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.v-modules h3 { font-size: 19px; font-weight: 600; letter-spacing: 0; }
.v-modules p { font-size: 15.5px; line-height: 1.6; color: var(--texte-2); }

/* Méthode : quatre étapes sur une piste en segments, comme l'avancement du portail */
.v-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.v-etapes li { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v-seg { display: block; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 18px; }
.v-etapes li:nth-child(2) .v-seg { opacity: .7; }
.v-etapes li:nth-child(3) .v-seg { opacity: .45; }
.v-etapes li:nth-child(4) .v-seg { opacity: .25; }
.v-num { font: 300 46px/1 var(--police); color: var(--texte-3); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.v-etapes h3 { font-size: 20px; font-weight: 600; margin-top: 8px; }
.v-etapes p { font-size: 15.5px; line-height: 1.6; color: var(--texte-2); }
.v-etapes small { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-texte); }
.v-etapes small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Espace projet : texte + maquette d'interface en HTML/CSS */
.v-deux { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.v-liste { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.v-liste li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--texte-2); }
.v-liste li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent);
  background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px); }
.v-liste b { display: block; color: var(--texte); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

.v-maquette { margin: 0; border-radius: 10px; overflow: hidden; background: var(--nuit); font-size: 13px; line-height: 1.4; color: var(--texte); user-select: none;
  box-shadow: 0 0 0 1px var(--ligne-forte), 0 40px 90px rgba(0, 0, 0, .5), 0 0 120px rgba(79, 139, 255, .08); }
:root[data-theme="light"] .v-maquette { box-shadow: 0 0 0 1px var(--ligne), 0 30px 70px rgba(11, 22, 38, .14); }
.vm-haut { height: 44px; display: flex; align-items: center; gap: 16px; padding: 0 16px; box-shadow: inset 0 -1px 0 var(--ligne); }
.vm-points { display: inline-flex; gap: 6px; }
.vm-points i { width: 9px; height: 9px; border-radius: 50%; background: var(--remplissage); box-shadow: inset 0 0 0 1px var(--ligne); }
.vm-marque { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.vm-marque i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); flex-shrink: 0; }
.vm-av { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panneau-3); font-size: 10px; font-weight: 700; flex-shrink: 0; }
.vm-av.petit { margin: 0; width: 28px; height: 28px; background: var(--accent-doux); color: var(--accent-texte); }
.vm-corps { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 380px; }
.vm-nav { padding: 14px 10px; box-shadow: inset -1px 0 0 var(--ligne); display: flex; flex-direction: column; gap: 2px; }
.vm-nav span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--r-petit); color: var(--texte-2); white-space: nowrap; }
.vm-nav span.on { background: var(--actif); color: var(--texte); font-weight: 600; }
.vm-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.vm-nav em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.vm-zone { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; background: var(--panneau); background: color-mix(in srgb, var(--panneau) 45%, var(--nuit)); }
.vm-titre { display: flex; flex-direction: column; gap: 3px; }
.vm-titre b { font-size: 18px; }
.vm-titre span { color: var(--texte-3); font-size: 12.5px; }
.vm-piste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vm-piste li { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: var(--texte-3); min-width: 0; overflow-wrap: anywhere; }
.vm-piste i { display: block; height: 5px; border-radius: 3px; background: var(--remplissage); box-shadow: inset 0 0 0 1px var(--ligne); }
.vm-piste .fait, .vm-piste .encours { color: var(--texte); }
.vm-piste .encours { font-weight: 700; }
.vm-piste .fait i { background: var(--accent); box-shadow: none; }
.vm-piste .encours i { background: linear-gradient(90deg, var(--accent) 0 50%, var(--accent-doux) 50%); box-shadow: none; }
.vm-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vm-carte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 6px; background: var(--nuit); box-shadow: inset 0 0 0 1px var(--ligne); min-width: 0; }
.vm-carte > small { font-size: 11.5px; color: var(--texte-3); }
.vm-carte b { font: 300 28px/1 var(--police); font-variant-numeric: tabular-nums; }
.vm-carte b small { font-size: 13px; color: var(--texte-2); }
.vm-pastille { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 10px; border: 1px solid var(--ligne-forte); color: var(--texte-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.vm-pastille.orange { border-color: var(--orange-ligne); color: var(--orange); }
.vm-pastille.vert { border-color: var(--vert-ligne); color: var(--vert); }
.vm-message { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: var(--remplissage); }
.vm-message p { color: var(--texte-2); font-size: 12.5px; line-height: 1.45; }
.vm-message p b { display: block; color: var(--texte); font-size: 12px; margin-bottom: 2px; }

/* Offre */
.v-offres { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.v-offre { display: flex; flex-direction: column; gap: 14px; padding: 36px 34px 38px; border-radius: var(--r); background: var(--nuit); box-shadow: inset 0 0 0 1px var(--ligne); }
.v-offre-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.v-offre .v-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--police); color: var(--texte); box-shadow: inset 0 0 0 1px var(--ligne-forte); letter-spacing: 0; }
.v-offre h3 { font-size: 26px; letter-spacing: -.01em; }
.v-offre > p { font-size: 16px; line-height: 1.6; color: var(--texte-2); }
.v-offre ul { list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 12px; }
.v-offre li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--texte); }
.v-offre li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.v-fleche { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ligne); color: var(--texte-3); }
.v-fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v-ensuite { margin-top: 20px; display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--ligne); }
.v-ensuite-lab { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-texte); padding: 6px 12px; border-radius: 14px; background: var(--accent-doux); }
.v-ensuite p { font-size: 16px; line-height: 1.55; color: var(--texte-2); }
.v-ensuite b { color: var(--texte); }

/* FAQ */
.v-faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.v-faq-in .v-tete { margin-bottom: 0; position: sticky; top: 112px; }
.v-faq { border-bottom: 1px solid var(--ligne); }
.v-faq details { border-top: 1px solid var(--ligne); }
.v-faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--texte); }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::before, .v-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.6px; margin-top: -.8px; border-radius: 1px; background: var(--texte-2); transition: transform .2s ease; }
.v-faq summary::after { transform: rotate(90deg); }
.v-faq details[open] summary::after { transform: rotate(0deg); }
.v-faq summary:hover { color: var(--accent-texte); }
.v-faq details p { padding: 0 52px 26px 0; font-size: 16px; line-height: 1.65; color: var(--texte-2); max-width: 46em; }

/* Appel final */
.v-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(104px, 13vw, 176px) 32px; border-top: 1px solid var(--ligne); }
.v-final::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -520px; width: 1100px; height: 700px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 139, 255, .2), transparent); }
:root[data-theme="light"] .v-final::before { background: radial-gradient(closest-side, rgba(29, 78, 216, .1), transparent); }
.v-final h2 { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; }
.v-final p { margin: 20px auto 0; max-width: 34em; font-size: 18px; line-height: 1.6; color: var(--texte-2); }
.v-final .v-boutons { justify-content: center; }

/* Pied de page */
.v-pied { border-top: 1px solid var(--ligne); padding: 56px 32px 32px; }
.v-pied-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.v-pied-marque { display: flex; flex-direction: column; gap: 16px; }
.v-pied-marque p { font-size: 14px; line-height: 1.6; color: var(--texte-3); }
.v-pied-liens { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 28px; }
.v-pied-liens a { color: var(--texte-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.v-pied-liens a:hover { color: var(--texte); }
.v-pied-bas { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--texte-3); }

/* ============ Tablette ============ */
@media (max-width: 1080px) {
  .v-deux { grid-template-columns: minmax(0, 1fr); }
  .v-maquette { max-width: 760px; }
  .v-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
}
@media (max-width: 920px) {
  .v-haut-in { gap: 16px; padding: 0 20px; height: 64px; }
  .v-masque-mobile { display: none !important; }
  .v-burger { display: grid; }
  .v-nav { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 28px; overflow-y: auto;
    background: var(--nuit); box-shadow: inset 0 1px 0 var(--ligne); }
  .v-haut.ouvert .v-nav { display: flex; }
  .v-nav > a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--ligne); color: var(--texte); }
  .v-nav > a[aria-current="true"]::after { display: none; }
  .v-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
  .vitrine .v-nav-actions .btn.grand { min-height: 50px; font-size: 15px; }
  .v-offres { grid-template-columns: minmax(0, 1fr); }
  .v-fleche { transform: rotate(90deg); justify-self: center; }
  .v-faq-in { grid-template-columns: minmax(0, 1fr); }
  .v-faq-in .v-tete { position: static; }
  html { scroll-padding-top: 64px; }
}
/* ============ Téléphone ============ */
@media (max-width: 600px) {
  .v-hero { padding: 48px 20px 170px; min-height: calc(100svh - 64px); }
  .v-surtitre { font-size: 12px; letter-spacing: .14em; margin-bottom: 22px; }
  .v-boutons .v-cta { flex: 1 1 100%; }
  .v-reassure { font-size: 13px; flex-direction: column; gap: 6px; }
  .v-reassure > span { display: block; }
  .v-reassure > span::before, .v-reassure > span + span::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: -2px 10px 0 0; border-radius: 50%; background: var(--accent); }
  .v-section { padding: 80px 20px; }
  .v-modules { grid-template-columns: minmax(0, 1fr); }
  .v-modules li { padding: 28px 22px 30px; }
  .v-etapes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .v-offre { padding: 28px 22px 30px; }
  .v-offre h3 { font-size: 23px; }
  .v-ensuite { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .v-faq summary { font-size: 17px; padding-right: 40px; }
  .v-faq details p { padding-right: 0; }
  .v-final { padding: 96px 20px; }
  .v-pied { padding: 44px 20px 28px; }
  /* Maquette : sans la barre latérale, pour rester lisible */
  .vm-corps { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .vm-nav { display: none; }
  .vm-zone { padding: 18px 16px 20px; }
  .vm-piste li { font-size: 10.5px; }
  .vm-carte b { font-size: 24px; }
}
@media (max-width: 380px) {
  .v-marque { font-size: 14px; letter-spacing: .22em; }
  .vm-cartes { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .v-haut, .v-burger path, .v-modules li, .v-faq summary::after { transition: none; }
}

/* Bouton du thème dans l'en-tête de la vitrine (même hauteur que les boutons voisins) */
.v-haut .theme-bouton { width: 40px; height: 40px; color: var(--texte); }
@media (max-width: 920px) { .v-haut .theme-choix { margin-right: 2px; } }

/* ===== Animations de la vitrine =====
   Modèle : pages produit de GitHub (Primer Brand) — courbe cubic-bezier(.16,1,.3,1), entrées de 14 px en 0,8 s,
   cascade, trait de couleur dessiné en 1,8 s, titres qui se posent, points aux coins, curseur qui tape.
   Seulement avec html.mv (posé par /theme.js si l'appareil ne demande pas moins d'animations) ; les classes
   mv-* sont ajoutées par /site/site.js, donc sans JavaScript rien n'est caché. */
@keyframes mv-vague { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mv-glisse { from { opacity: 0; transform: translateX(var(--depuis, -24px)); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes mv-titre { from { opacity: 0; transform: translateY(.4em); color: var(--accent-texte); } 45% { opacity: 1; color: var(--accent-texte); } to { opacity: 1; transform: none; color: var(--texte); } }
@keyframes mv-sourdine { from { opacity: 0; color: var(--accent-texte); } 40% { opacity: 1; color: var(--accent-texte); } to { opacity: 1; color: var(--texte-3); } }
@keyframes mv-horizon { from { opacity: 0; transform: translateX(-50%) translateY(90px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes mv-respire { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes mv-trait { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes mv-point { 0% { left: 3px; opacity: 0; } 8%, 86% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
@keyframes mv-trace { to { stroke-dashoffset: 0; } }
@keyframes mv-barre { to { transform: scaleX(1); } }
@keyframes mv-produit { from { opacity: 0; transform: translate(40px, 28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mv-rebond { from { opacity: 0; transform: scale(.55); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes mv-reflet { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes mv-coins { 0%, 25% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes mv-case { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes mv-curseur { 0%, 79% { opacity: 1; } 80%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes mv-deplie { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Héros : entrée au chargement, la fin du titre arrive en bleu puis se pose ; l'horizon monte puis respire */
.mv .v-hero-in > * { animation: mv-vague .8s cubic-bezier(.37, .44, 0, 1.02) both; }
.mv .v-hero-in > :nth-child(2) { animation-delay: .08s; }
.mv .v-hero-in > :nth-child(3) { animation-delay: .28s; }
.mv .v-hero-in > :nth-child(4) { animation-delay: .38s; }
.mv .v-hero-in > :nth-child(5) { animation-delay: .48s; }
.mv .v-hero h1 > span { animation: mv-sourdine 1.3s var(--mv-ease) .4s both; }
.mv .v-horizon { animation: mv-horizon 1.6s var(--mv-ease) .2s both; }
.mv .v-horizon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; will-change: opacity;
  box-shadow: 0 -2px 0 rgba(150, 190, 255, .7), 0 -26px 80px rgba(79, 139, 255, .3); animation: mv-respire 7s ease-in-out 1.8s infinite; }
:root[data-theme="light"] .mv .v-horizon::after { box-shadow: 0 -2px 0 rgba(29, 78, 216, .45), 0 -26px 80px rgba(29, 78, 216, .14); }

/* Trait de couleur dessiné en haut de chaque section, parcouru par un point lumineux */
.mv .v-section { position: relative; }
.mv .v-section::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; clip-path: inset(0 100% 0 0);
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--accent-texte) 50%, var(--accent) 82%, transparent); }
.mv .v-section::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: var(--accent-texte); box-shadow: 0 0 0 3px var(--accent-doux), 0 0 18px 3px var(--accent); }
.mv .v-section.vu::before { animation: mv-trait 1.8s cubic-bezier(.65, 0, .35, 1) both; }
.mv .v-section.vu::after { animation: mv-point 1.8s cubic-bezier(.65, 0, .35, 1) both; }

/* En-têtes de section : étiquette, titre qui se pose (bleu puis couleur du texte), chapeau */
.mv .mv-tete > :not(ul) { opacity: 0; }
.mv .mv-tete.vu > :not(ul) { animation: mv-vague .8s cubic-bezier(.37, .44, 0, 1.02) both; }
.mv .mv-tete.vu > h2 { animation: mv-titre .95s var(--mv-ease) .08s both; }
.mv .mv-tete.vu > :nth-child(3) { animation-delay: .2s; }

/* Entrées génériques : monte (cartes), glisse (listes) */
.mv .mv-monte:not(.vu), .mv .mv-glisse:not(.vu), .mv .mv-etape:not(.vu) { opacity: 0; }
.mv .mv-monte.vu { animation: mv-vague .8s cubic-bezier(.37, .44, 0, 1.02) calc(var(--i, 0) * 90ms) both; }
.mv .mv-glisse.vu { animation: mv-glisse .7s cubic-bezier(.22, 1, .36, 1) calc(var(--i, 0) * 70ms) both; }
.mv .v-fleche.mv-glisse.vu { animation: mv-glisse .7s cubic-bezier(.22, 1, .36, 1) .25s both; --depuis: 0; }
.mv .v-fleche.mv-glisse.vu svg { animation: mv-glisse .8s cubic-bezier(.22, 1, .36, 1) .3s both; --depuis: -14px; }

/* Modules : icône dessinée au trait, lueur qui suit la souris */
.mv .v-modules li.mv-monte svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mv .v-modules li.mv-monte.vu svg * { animation: mv-trace 1.3s var(--mv-ease) calc(var(--i, 0) * 90ms + .25s) forwards; }
.v-modules li.mv-monte { position: relative; isolation: isolate; }
.v-modules li.mv-monte::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--accent-doux), transparent 65%); }
.v-modules li.mv-monte:hover::before { opacity: 1; }

/* Méthode : chaque étape entre, puis sa barre se remplit (les quatre à la suite) */
.mv .mv-etape.vu { animation: mv-vague .8s cubic-bezier(.37, .44, 0, 1.02) calc(var(--i, 0) * 140ms) both; }
.mv .mv-etape .v-seg { transform-origin: left center; transform: scaleX(0); }
.mv .mv-etape.vu .v-seg { animation: mv-barre .75s var(--mv-ease) calc(var(--i, 0) * 140ms + .35s) forwards; }

/* Maquette de l'espace projet : arrive de côté, puis la piste se remplit, les pastilles et le message apparaissent */
.mv .mv-produit:not(.vu) { opacity: 0; }
.mv .mv-produit.vu { animation: mv-produit .95s var(--mv-ease) .1s both; }
.mv .mv-produit :is(.vm-piste .fait, .vm-piste .encours) i { transform-origin: left center; transform: scaleX(0); }
.mv .mv-produit.vu .vm-piste li:nth-child(1) i { animation: mv-barre .5s var(--mv-ease) .75s forwards; }
.mv .mv-produit.vu .vm-piste li:nth-child(2) i { animation: mv-barre .5s var(--mv-ease) .9s forwards; }
.mv .mv-produit.vu .vm-piste li:nth-child(3) i { animation: mv-barre .5s var(--mv-ease) 1.05s forwards; }
.mv .mv-produit .vm-piste .encours i { position: relative; overflow: hidden; }
.mv .mv-produit.vu .vm-piste .encours i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: translateX(-100%); animation: mv-reflet 2.6s ease-in-out 2s infinite; }
.mv .mv-produit :is(.vm-pastille, .vm-nav em) { opacity: 0; }
.mv .mv-produit .vm-pastille { display: inline-block; }
.mv .mv-produit.vu :is(.vm-pastille, .vm-nav em) { animation: mv-rebond .55s cubic-bezier(.34, 1.56, .64, 1) 1.3s both; }
.mv .mv-produit.vu .vm-carte + .vm-carte .vm-pastille { animation-delay: 1.4s; }
.mv .mv-produit .vm-message { opacity: 0; }
.mv .mv-produit.vu .vm-message { animation: mv-vague .7s cubic-bezier(.37, .44, 0, 1.02) 1.6s both; }
.mv-cadre { position: relative; }
.mv-coin { position: absolute; width: 5px; height: 5px; background: var(--accent); opacity: 0; pointer-events: none; }
.mv-coin:nth-of-type(1) { top: -13px; left: -13px; }
.mv-coin:nth-of-type(2) { top: -13px; right: -13px; }
.mv-coin:nth-of-type(3) { bottom: -13px; right: -13px; }
.mv-coin:nth-of-type(4) { bottom: -13px; left: -13px; }
.mv .mv-cadre.vu .mv-coin { animation: mv-coins 1.4s cubic-bezier(.5, 1, .89, 1) infinite; animation-delay: calc((var(--n) - 4) * .35s + 1.2s); }

/* Questions fréquentes : la réponse se déplie en douceur */
.mv .v-faq details[open] > p { animation: mv-deplie .45s var(--mv-ease) both; }
@supports (interpolate-size: allow-keywords) {
  .mv .v-faq { interpolate-size: allow-keywords; }
  .mv .v-faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--mv-ease), content-visibility .4s allow-discrete; }
  .mv .v-faq details[open]::details-content { block-size: auto; }
}

/* Appel final : grille de cases qui s'allument, titre tapé avec curseur */
.mv-grille { position: absolute; z-index: -1; inset: 0; display: grid; grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr)); gap: 6px; padding: 6px; pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 62% 75% at 50% 55%, #000 15%, transparent 72%); mask: radial-gradient(ellipse 62% 75% at 50% 55%, #000 15%, transparent 72%); }
.mv-grille i { position: relative; aspect-ratio: 1; border-radius: 4px; background: var(--remplissage); }
.mv-grille i.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(79, 139, 255, .3); opacity: 0; animation: mv-case var(--t) ease-in-out var(--d) infinite; }
:root[data-theme="light"] .mv-grille i.on::after { background: rgba(29, 78, 216, .14); }
.mv .mv-a-taper:not([data-tape]) { opacity: 0; }
.mv-lettre { opacity: 0; }
.mv-lettre.on { opacity: 1; }
.mv-curseur { display: inline-block; position: relative; width: 0; height: 1em; }
.mv-curseur::after { content: ""; position: absolute; left: .05em; top: .1em; width: .38em; height: .92em; background: var(--accent); }
.mv-curseur.clignote::after { animation: mv-curseur 1.1s infinite; }

/* Boutons : léger enfoncement au clic */
.mv .v-cta { transition: background-color .12s ease-in-out, transform .2s var(--mv-ease); }
.mv .v-cta:active { transform: scale(.98); }
@media (max-width: 920px) { .mv-grille { gap: 4px; padding: 4px; } }
/* Les entrées latérales ne doivent jamais créer de défilement horizontal (overflow clip : le menu collant reste collant) */
.vitrine main { overflow-x: clip; }
@media (max-width: 920px) { @keyframes mv-produit { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } } }
