/* =========================================================================
   LA VITRINE PUBLIQUE (vitrine.css)
   =========================================================================
   La page d'accueil (accueil.html), la barre du haut des pages publiques
   (_barre_publique.html) et Bio, l'assistant des visiteurs
   (_assistant_public.html). Aucune ressource externe (CSP default-src 'self') :
   polices du système, icônes de icons.css, dessins en SVG et en CSS.
   Contrastes vérifiés sur le fond #07070a. Les animations se coupent quand le
   système demande moins de mouvement.
   ========================================================================= */

:root {
    --v-fond: #07070a;
    --v-fond-2: #0c0c11;
    --v-fond-3: #111118;
    --v-carte: rgba(22, 22, 30, .66);
    --v-carte-pleine: #14141c;
    --v-bord: rgba(255, 255, 255, .075);
    --v-bord-fort: rgba(255, 255, 255, .15);
    --v-texte: #f8fafc;
    --v-texte-2: #c9c9d3;
    --v-texte-3: #a1a1ae;
    --v-indigo: #818cf8;
    --v-violet: #a78bfa;
    --v-emeraude: #34d399;
    --v-ciel: #38bdf8;
    --v-ambre: #fbbf24;
    --v-rose: #f472b6;
    --v-or-1: #b8860b;
    --v-or-2: #d4af37;
    --v-or-3: #f5d67a;
    --v-degrade: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 30%, #c4b5fd 55%, #6ee7b7 100%);
    --v-rayon: 20px;
    --v-ombre: 0 30px 70px -30px rgba(0, 0, 0, .8);
    --v-police: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI",
                Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------- La page ---------------- */
/* LE FOND VA JUSQU'AU BORD. html porte la couleur de la page, comme body : le rebond
   élastique d'iOS et tout décalage du doigt montrent le même noir, jamais du blanc. */
html.v-racine { background-color: var(--v-fond); color-scheme: dark; }
body.vitrine {
    margin: 0;
    background: var(--v-fond);
    color: var(--v-texte);
    font-family: var(--v-police);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    /* Un mot trop long pour sa ligne (adresse, référence) passe à la ligne au lieu
       d'élargir la page. */
    overflow-wrap: break-word;
    font-feature-settings: "ss01", "cv11";
}
.vitrine *, .vitrine *::before, .vitrine *::after { box-sizing: border-box; }
.vitrine [hidden] { display: none !important; }
.vitrine a { color: #c7d2fe; }
.vitrine a:hover { color: #e0e7ff; }
.vitrine a:focus-visible, .vitrine button:focus-visible, .vitrine summary:focus-visible,
.vitrine input:focus-visible, .vb-barre a:focus-visible, .vb-barre summary:focus-visible,
.va-fenetre button:focus-visible, .va-fenetre a:focus-visible, .va-coin a:focus-visible,
.va-coin button:focus-visible {
    outline: 3px solid #a5b4fc; outline-offset: 3px; border-radius: 10px;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: rgba(129, 140, 248, .35); color: #fff; }

.v-evitement {
    position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
    background: #fff; color: #09090b !important; border-radius: 10px; font-weight: 700;
}
.v-evitement:focus { top: 12px; }

.v-conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.v-conteneur-etroit { max-width: 840px; }
@media (min-width: 720px) { .v-conteneur { padding: 0 28px; } }

.v-degrade {
    background: var(--v-degrade);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
}
.v-vert { color: var(--v-emeraude); }
.v-ambre { color: var(--v-ambre); }

/* ---------------- Les boutons ---------------- */
.v-bouton, .vb-bouton {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 44px; padding: 10px 18px; border-radius: 999px;
    font: 650 .95rem/1.2 var(--v-police); letter-spacing: -.005em; text-decoration: none; text-align: center;
    border: 1px solid transparent; cursor: pointer; max-width: 100%;
    transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
.v-bouton-grand { min-height: 54px; padding: 15px 26px; font-size: 1.02rem; }
.vitrine a.v-bouton-plein, a.vb-bouton-plein, .v-bouton-plein {
    color: #0b0b10; background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 42%, #6ee7b7 100%);
    box-shadow: 0 12px 34px -12px rgba(129, 140, 248, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.vitrine a.v-bouton-plein:hover, a.vb-bouton-plein:hover {
    color: #0b0b10; transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(110, 231, 183, .75), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.vitrine a.v-bouton-ligne, a.vb-bouton-ligne {
    color: var(--v-texte); background: rgba(255, 255, 255, .04); border-color: var(--v-bord-fort);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vitrine a.v-bouton-ligne:hover, a.vb-bouton-ligne:hover { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
.vitrine a.v-bouton-or {
    color: #2b1d00; background: linear-gradient(135deg, var(--v-or-1) 0%, var(--v-or-2) 55%, var(--v-or-3) 100%);
    box-shadow: 0 12px 32px -12px rgba(212, 175, 55, .85);
}
.vitrine a.v-bouton-or:hover { color: #2b1d00; transform: translateY(-2px); }
.v-bouton .fas, .vb-bouton .fas { font-size: .88em; transition: transform .2s ease; }
.v-bouton:hover .fa-arrow-right { transform: translateX(3px); }

/* =========================================================================
   LA BARRE DU HAUT
   ========================================================================= */
.vb-barre {
    position: sticky; top: 0; z-index: 50; width: 100%;
    background: rgba(7, 7, 10, .62);
    -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background-color .25s ease;
    font-family: var(--v-police);
}
.vb-barre.vb-defile { border-bottom-color: var(--v-bord); background: rgba(7, 7, 10, .86); }
.vb-barre *, .vb-barre *::before, .vb-barre *::after { box-sizing: border-box; }
.vb-barre-int {
    max-width: 1200px; margin: 0 auto; min-height: 66px; padding: 10px 16px;
    display: flex; align-items: center; gap: 12px;
}
@media (min-width: 720px) { .vb-barre-int { padding: 10px 28px; } }
.vb-marque {
    display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
    color: var(--v-texte) !important; text-decoration: none; font-weight: 800; font-size: 1.14rem; letter-spacing: -.02em;
}
.vb-marque img { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 6px 18px -6px rgba(139, 92, 246, .7); }
.vb-liens { display: none; align-items: center; gap: 2px; margin-left: 18px; }
.vb-liens a {
    color: var(--v-texte-2); text-decoration: none; font-size: .92rem; font-weight: 550;
    padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px;
    transition: color .15s ease, background-color .15s ease;
}
.vb-liens a:hover, .vb-liens a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.vb-liens .vb-lien-demo .fas { font-size: .7rem; color: var(--v-emeraude); }
.vb-liens .vb-lien-passeport .fas { font-size: .8rem; color: var(--v-emeraude); }
.vb-liens a { white-space: nowrap; }
.vb-actions { display: none; align-items: center; gap: 10px; margin-left: auto; }
.vb-parrainage {
    display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; white-space: nowrap;
    border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 650;
    color: #fde68a !important; border: 1px solid rgba(212, 175, 55, .42);
    background: linear-gradient(135deg, rgba(184, 134, 11, .18), rgba(245, 214, 122, .06));
}
.vb-parrainage strong { color: #fff3c4; }
.vb-parrainage:hover, .vb-parrainage[aria-current="page"] { border-color: rgba(245, 214, 122, .85); }
.vb-actions .vb-bouton { flex: 0 0 auto; min-height: 40px; padding: 8px 16px; font-size: .9rem; white-space: nowrap; }
.vb-actions a.vb-bouton-ligne[aria-current="page"] { border-color: #a5b4fc; }

.vb-menu { margin-left: auto; position: relative; }
.vb-menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--v-texte); border: 1px solid var(--v-bord-fort); background: rgba(255, 255, 255, .04);
}
.vb-menu summary::-webkit-details-marker { display: none; }
.vb-menu[open] summary { background: rgba(255, 255, 255, .1); }
.vb-menu-panneau {
    position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px));
    display: flex; flex-direction: column; gap: 4px; padding: 12px;
    background: #111117; border: 1px solid var(--v-bord-fort); border-radius: 18px; box-shadow: var(--v-ombre);
    /* Téléphone en paysage : le menu ouvert ne descend jamais sous l'écran, il défile. */
    max-height: calc(100vh - 86px); max-height: calc(100dvh - 86px);
    overflow-y: auto; overscroll-behavior: contain;
}
.vb-menu-panneau a:not(.vb-bouton) {
    display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
    color: var(--v-texte) !important; text-decoration: none; font-weight: 600;
}
.vb-menu-panneau a:not(.vb-bouton):hover { background: rgba(255, 255, 255, .06); }
.vb-menu-panneau .vb-menu-or { color: #fde68a !important; }
.vb-menu-panneau .vb-bouton { width: 100%; margin-top: 6px; }

@media (min-width: 980px) {
    .vb-liens, .vb-actions { display: flex; }
    .vb-menu { display: none; }
}
@media (min-width: 980px) and (max-width: 1120px) {
    .vb-liens a { padding: 8px 9px; }
    .vb-parrainage span { display: none; }
}

/* =========================================================================
   L'OUVERTURE
   ========================================================================= */
.v-hero { position: relative; overflow: hidden; padding: 44px 0 0; isolation: isolate; }
@media (min-width: 980px) { .v-hero { padding: 92px 0 0; } }
.v-aurore { position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .75; }
.v-aurore span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: v-derive 18s ease-in-out infinite alternate; }
.v-aurore span:nth-child(1) { width: 620px; height: 520px; left: 2%; top: 4%; background: radial-gradient(circle, rgba(99, 102, 241, .62), transparent 68%); }
.v-aurore span:nth-child(2) { width: 560px; height: 560px; right: 0; top: 14%; background: radial-gradient(circle, rgba(16, 185, 129, .42), transparent 68%); animation-delay: -6s; animation-duration: 22s; }
.v-aurore span:nth-child(3) { width: 520px; height: 420px; left: 38%; top: -8%; background: radial-gradient(circle, rgba(168, 85, 247, .45), transparent 68%); animation-delay: -12s; animation-duration: 26s; }
@keyframes v-derive { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.96); } }
.v-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 30%, transparent 75%);
}
.v-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; align-items: center; }
@media (min-width: 980px) { .v-hero-grille { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; } }
.v-annonce {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 5px 14px 5px 5px; max-width: 100%;
    border-radius: 999px; font-size: .84rem; font-weight: 550; text-decoration: none;
    color: var(--v-texte-2) !important; background: rgba(255, 255, 255, .04); border: 1px solid var(--v-bord-fort);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s ease;
}
.v-annonce:hover { border-color: rgba(165, 180, 252, .55); color: #fff !important; }
.v-annonce-badge { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 750; color: #0b0b10; background: var(--v-degrade); }
.v-annonce .fas { flex: 0 0 auto; font-size: .72rem; }
.v-hero h1 {
    margin: 0 0 20px; font-size: clamp(2.05rem, 1.25rem + 4.6vw, 4.1rem); line-height: 1.05;
    letter-spacing: -.045em; font-weight: 820;
}
.v-chapo { margin: 0 0 30px; color: var(--v-texte-2); font-size: clamp(1.03rem, 2.2vw, 1.2rem); line-height: 1.65; max-width: 35em; }
.v-hero-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.v-hero-boutons.v-centre { justify-content: center; }
@media (max-width: 479px) { .v-hero-boutons .v-bouton { width: 100%; } }
.v-hero-prix { margin: 22px 0 0; color: var(--v-texte-2); font-size: .95rem; }
.v-hero-prix strong { color: #fff; }
.v-hero-prix span { display: block; color: var(--v-texte-3); font-size: .8rem; margin-top: 2px; }
.v-confiance { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.v-confiance li { display: inline-flex; align-items: center; gap: 8px; color: var(--v-texte-3); font-size: .84rem; font-weight: 550; }
.v-confiance .fas { color: var(--v-emeraude); font-size: .85rem; }

/* L'aperçu dessiné de l'interface */
.v-apercu { position: relative; max-width: 580px; width: 100%; margin: 0 auto; padding: 62px 8px 70px; }
.v-ecran {
    position: relative; border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, rgba(26, 26, 36, .96), rgba(14, 14, 20, .98));
    border: 1px solid var(--v-bord-fort);
    box-shadow: 0 50px 110px -40px rgba(79, 70, 229, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset,
                0 1px 0 rgba(255, 255, 255, .12) inset;
    transform: perspective(1500px) rotateY(-7deg) rotateX(4deg);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.v-apercu:hover .v-ecran { transform: perspective(1500px) rotateY(-2deg) rotateX(1deg); }
@media (max-width: 979px) { .v-ecran, .v-apercu:hover .v-ecran { transform: none; } }
.v-ecran-barre { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--v-bord); }
.v-ecran-barre span { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.v-ecran-barre span:first-child { background: #f87171; }
.v-ecran-barre span:nth-child(2) { background: #fbbf24; }
.v-ecran-barre span:nth-child(3) { background: #34d399; }
.v-ecran-barre em { flex: 1 1 auto; min-width: 0; margin-left: 10px; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--v-texte-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-ecran-statut { flex: 0 0 auto; margin-left: auto; font-size: .7rem; font-weight: 750; color: #a7f3d0; padding: 3px 9px; border-radius: 999px; background: rgba(16, 185, 129, .14); border: 1px solid rgba(52, 211, 153, .3); }
.v-planning { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.v-pl-tete, .v-pl-ligne { display: grid; grid-template-columns: 58px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
.v-pl-tete i { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--v-texte-3); text-align: center; white-space: nowrap; overflow: hidden; }
/* Au téléphone, le planning dessiné se resserre : les sept jours tiennent sur une ligne. */
@media (max-width: 440px) {
    .v-pl-tete, .v-pl-ligne { grid-template-columns: 42px repeat(7, minmax(0, 1fr)); gap: 4px; }
    .v-pl-tete i { font-size: .6rem; letter-spacing: -.02em; }
    .v-pl-ligne b { font-size: .7rem; }
    .v-ecran-barre { gap: 5px; padding: 10px 12px; }
    .v-ecran-barre span { width: 8px; height: 8px; }
    .v-ecran-barre em { margin-left: 6px; font-size: .74rem; }
}
.v-pl-ligne b { font-size: .76rem; font-weight: 700; color: var(--v-texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-pl-ligne i { height: 26px; border-radius: 8px; display: block; }
.v-pl-c0 { background: linear-gradient(135deg, rgba(129, 140, 248, .9), rgba(99, 102, 241, .65)); }
.v-pl-c1 { background: linear-gradient(135deg, rgba(52, 211, 153, .85), rgba(16, 185, 129, .6)); }
.v-pl-c2 { background: linear-gradient(135deg, rgba(167, 139, 250, .9), rgba(139, 92, 246, .62)); }
.v-pl-repos { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px); border: 1px dashed rgba(255, 255, 255, .1); }
.v-ecran-pied { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 14px; }
.v-pastille {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; color: var(--v-texte-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--v-bord);
}
.v-pastille.v-ok { color: #a7f3d0; background: rgba(16, 185, 129, .12); border-color: rgba(52, 211, 153, .3); }
.v-carte-flottante {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 16px; background: rgba(20, 20, 28, .9); border: 1px solid var(--v-bord-fort);
    box-shadow: var(--v-ombre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: v-flotter 6s ease-in-out infinite;
}
.v-carte-flottante > .fas { font-size: 1.15rem; }
.v-carte-flottante strong { display: block; font-size: .84rem; color: var(--v-texte); }
.v-carte-flottante small { display: block; font-size: .72rem; color: var(--v-texte-3); }
/* Les cartes se posent hors de l'écran dessiné : aucune ne cache un nom ni le titre. */
.v-cf-1 { left: 18%; top: 0; color: #a5b4fc; }
.v-cf-2 { right: -16px; top: 46%; color: #6ee7b7; animation-delay: -2s; }
.v-cf-3 { left: 6%; bottom: 0; color: #fcd34d; animation-delay: -4s; }
@keyframes v-flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) {
    .v-cf-1 { left: 4%; top: 0; }
    .v-cf-2 { right: 0; top: auto; bottom: 0; }
    .v-cf-3 { display: none; }
}

/* Les modules, en bande qui défile */
.v-modules {
    margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--v-bord); border-bottom: 1px solid var(--v-bord);
    background: rgba(255, 255, 255, .015); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.v-modules-piste { display: flex; width: max-content; animation: v-defile 42s linear infinite; }
.v-modules:hover .v-modules-piste { animation-play-state: paused; }
.v-modules ul { display: flex; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
.v-modules li {
    white-space: nowrap; padding: 7px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600;
    color: var(--v-texte-2); border: 1px solid var(--v-bord); background: rgba(255, 255, 255, .03);
}
@keyframes v-defile { to { transform: translateX(-50%); } }

/* =========================================================================
   LES SECTIONS
   ========================================================================= */
.v-section { padding: 80px 0; position: relative; }
@media (min-width: 980px) { .v-section { padding: 112px 0; } }
.v-section-sombre { background: linear-gradient(180deg, var(--v-fond-2), var(--v-fond)); border-top: 1px solid var(--v-bord); border-bottom: 1px solid var(--v-bord); }
.v-section-tete { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.v-surtitre {
    display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px;
    color: #a7f3d0; font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(16, 185, 129, .08); border: 1px solid rgba(52, 211, 153, .22);
}
.v-section-tete h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4.6vw, 2.85rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.v-section-tete p:not(.v-surtitre) { margin: 0; color: var(--v-texte-2); font-size: 1.05rem; }

/* Le halo qui suit la souris (vitrine.js pose --hx, --hy) */
[data-halo] { position: relative; }
[data-halo]::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--hx, 50%) var(--hy, 50%), rgba(165, 180, 252, .12), transparent 40%);
    transition: opacity .25s ease;
}
[data-halo]:hover::before { opacity: 1; }

/* ---------------- La visite du produit ---------------- */
.v-visite { border-radius: 26px; padding: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--v-bord); }
/* Les quatre onglets, de même largeur : en une rangée dès qu'ils y tiennent, en deux
   rangées de deux au téléphone, l'un sous l'autre si le texte est agrandi. Tous
   visibles, aucun coupé au bord de l'écran. */
.v-onglets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(7.5em, 100%), 1fr)); gap: 6px; padding: 6px; }
.v-onglet {
    flex: 1 0 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 46px; padding: 10px 18px; border-radius: 14px; cursor: pointer;
    font: 650 .95rem/1.2 var(--v-police); color: var(--v-texte-3); background: transparent; border: 1px solid transparent;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.v-onglet:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.v-onglet[aria-selected="true"] { color: #fff; background: rgba(129, 140, 248, .14); border-color: rgba(165, 180, 252, .35); box-shadow: 0 8px 24px -14px rgba(129, 140, 248, .9); }
.v-panneau { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 26px 18px 18px; align-items: center; animation: v-fondu .45s ease; }
@media (min-width: 900px) { .v-panneau { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 34px 34px 28px; gap: 44px; } }
@keyframes v-fondu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.v-panneau-texte h3 { margin: 0 0 18px; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em; }
.v-panneau-texte ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.v-panneau-texte li { display: flex; gap: 11px; color: var(--v-texte-2); }
.v-panneau-texte li .fas { flex: 0 0 auto; margin-top: .35em; font-size: .75rem; color: var(--v-emeraude); }
.v-panneau-ecran { position: relative; }
.v-mini {
    border-radius: 18px; padding: 16px; background: linear-gradient(180deg, #17171f, #101016);
    border: 1px solid var(--v-bord-fort); box-shadow: 0 40px 90px -40px rgba(79, 70, 229, .65);
}
.v-mini-titre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0 0 12px; font-weight: 750; font-size: .92rem; }
.v-mini-ligne {
    display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-top: 6px; border-radius: 12px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--v-bord); font-size: .86rem; color: var(--v-texte-2);
}
.v-mini-ligne span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Au téléphone, les lignes de l'écran dessiné passent à la ligne plutôt que d'être
   coupées par des points de suspension. */
@media (max-width: 520px) {
    .v-panneau { padding: 22px 12px 14px; }
    .v-mini { padding: 12px; }
    .v-mini-ligne { gap: 8px; padding: 9px 10px; font-size: .8rem; }
    .v-mini-ligne span { white-space: normal; overflow: visible; }
}
.v-mini-ligne b { flex: 0 0 auto; font-size: .78rem; font-weight: 700; color: var(--v-texte); display: inline-flex; align-items: center; gap: 6px; }
.v-mini-ligne em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 750; color: #c7d2fe; }
.v-mini-pointage .v-mini-ligne b { color: #a7f3d0; }
.v-mini-bouton { margin-top: 14px; padding: 11px; border-radius: 12px; text-align: center; font-weight: 750; font-size: .88rem; color: #0b0b10; background: var(--v-degrade); }
.v-mini-note { margin-top: 12px; font-size: .8rem; font-weight: 650; color: #a7f3d0; display: flex; align-items: center; gap: 8px; }
.v-mini-export { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.v-mini-export span { padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--v-texte-2); border: 1px solid var(--v-bord-fort); }
.v-illustration { margin: 10px 4px 0; font-size: .74rem; color: var(--v-texte-3); text-align: right; }

/* ---------------- Les fonctionnalités, en mosaïque ---------------- */
.v-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 680px) { .v-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
    .v-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .v-fonction-large { grid-column: span 2; }
}
.v-fonction {
    padding: 24px; border-radius: var(--v-rayon); overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    border: 1px solid var(--v-bord);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.v-fonction:hover { border-color: var(--v-bord-fort); transform: translateY(-3px); box-shadow: var(--v-ombre); }
.v-fonction-large { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--v-accent, #818cf8) 16%, transparent), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.v-fonction-large h3 { font-size: 1.3rem; }
.v-fonction h3 { margin: 16px 0 8px; font-size: 1.12rem; letter-spacing: -.015em; }
.v-fonction > p { margin: 0 0 12px; color: var(--v-texte-2); font-size: .95rem; }
.v-fonction-icone {
    width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.18rem; color: var(--v-accent, #a5b4fc);
    background: rgba(129, 140, 248, .14); border: 1px solid rgba(129, 140, 248, .3);
    background: color-mix(in srgb, var(--v-accent, #818cf8) 15%, transparent);
    border-color: color-mix(in srgb, var(--v-accent, #818cf8) 32%, transparent);
}
.v-c-indigo { --v-accent: var(--v-indigo); }
.v-c-violet { --v-accent: var(--v-violet); }
.v-c-emeraude { --v-accent: var(--v-emeraude); }
.v-c-ambre { --v-accent: var(--v-ambre); }
.v-c-ciel { --v-accent: var(--v-ciel); }
.v-c-rose { --v-accent: var(--v-rose); }
.v-badge {
    display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px; border-radius: 999px;
    font-size: .68rem; font-weight: 700; letter-spacing: .01em; color: #bae6fd;
    background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .3);
}
.v-detail summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    color: var(--v-accent, #a5b4fc); font-weight: 700; font-size: .9rem; padding: 4px 0;
}
.v-detail summary::-webkit-details-marker { display: none; }
.v-detail summary .fas { font-size: .7rem; transition: transform .2s ease; }
.v-detail[open] summary .fas { transform: rotate(180deg); }
.v-detail ul { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--v-bord); display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.v-detail li, .v-offre-liste li { display: flex; gap: 9px; align-items: flex-start; color: var(--v-texte-2); font-size: .9rem; line-height: 1.5; }
.v-detail li .fas, .v-offre-liste li .fas { flex: 0 0 auto; margin-top: .3em; font-size: .72rem; color: var(--v-emeraude); }

/* ---------------- Les chiffres ---------------- */
.v-chiffres { border-bottom: 1px solid var(--v-bord); background: var(--v-fond); }
.v-chiffres-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .v-chiffres-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v-chiffre { padding: 34px 12px; text-align: center; position: relative; }
@media (min-width: 820px) { .v-chiffre + .v-chiffre::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--v-bord); } }
.v-chiffre strong {
    display: block; font-size: clamp(1.9rem, 4.6vw, 2.7rem); font-weight: 820; letter-spacing: -.035em; font-variant-numeric: tabular-nums;
    background: var(--v-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.v-chiffre span { display: block; color: var(--v-texte-3); font-size: .86rem; margin-top: 2px; }

/* ---------------- Les étapes ---------------- */
.v-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: relative; }
@media (min-width: 860px) {
    .v-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .v-etapes::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 1px; background: linear-gradient(90deg, transparent, rgba(165, 180, 252, .45), rgba(110, 231, 183, .45), transparent); }
}
.v-etape { padding: 26px 24px; border-radius: var(--v-rayon); background: var(--v-carte-pleine); border: 1px solid var(--v-bord); }
.v-etape-num {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px;
    font-weight: 820; color: #0b0b10; background: var(--v-degrade); box-shadow: 0 10px 26px -10px rgba(129, 140, 248, .9);
}
.v-etape h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.v-etape p { margin: 0; color: var(--v-texte-2); font-size: .95rem; }

/* ---------------- Pour qui ---------------- */
.v-roles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); }
.v-role { padding: 22px; border-radius: var(--v-rayon); background: var(--v-carte-pleine); border: 1px solid var(--v-bord); transition: border-color .2s ease; }
.v-role:hover { border-color: var(--v-bord-fort); }
.v-role-icone {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px;
    color: #c4b5fd; background: rgba(139, 92, 246, .14); border: 1px solid rgba(167, 139, 250, .28);
}
.v-role h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.v-role ul { margin: 0; padding-left: 18px; color: var(--v-texte-2); font-size: .9rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }

/* ---------------- Les offres ---------------- */
.v-offres { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .v-offres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-offre {
    position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 24px;
    background: var(--v-carte-pleine); border: 1px solid var(--v-bord);
}
.v-offre-mise-en-avant {
    background: linear-gradient(#11111a, #11111a) padding-box,
                linear-gradient(135deg, #a5b4fc, #c4b5fd 45%, #6ee7b7) border-box;
    border: 1px solid transparent; box-shadow: 0 40px 90px -36px rgba(99, 102, 241, .75);
}
@media (min-width: 900px) { .v-offre-mise-en-avant { transform: translateY(-12px); } }
.v-offre-ruban {
    position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 800; color: #0b0b10; background: var(--v-degrade);
}
.v-offre h3 { margin: 4px 0 6px; font-size: 1.32rem; letter-spacing: -.02em; }
.v-offre-resume { margin: 0 0 18px; color: var(--v-texte-3); font-size: .92rem; min-height: 3em; }
.v-offre-prix { margin: 0; display: flex; align-items: flex-end; gap: 10px; }
.v-offre-prix strong { flex: 0 0 auto; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 2.8rem); line-height: 1; font-weight: 820; letter-spacing: -.04em; white-space: nowrap; }
.v-offre-prix span { color: var(--v-texte-3); font-size: .84rem; line-height: 1.35; padding-bottom: 3px; }
.v-offre-conditions { margin: 12px 0 18px; padding: 10px 12px; border-radius: 12px; font-size: .8rem; color: var(--v-texte-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--v-bord); }
.v-offre-liste { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; flex: 1 1 auto; }
.v-offre .v-bouton { width: 100%; }
.v-offres-pied { margin: 26px 0 0; text-align: center; color: var(--v-texte-3); font-size: .92rem; }

/* Le calculateur */
.v-calculateur { margin-top: 28px; padding: 26px 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--v-bord-fort); }
.v-calc-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.v-calc-entete h3 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -.02em; }
.v-calc-entete p { margin: 0; color: var(--v-texte-3); font-size: .9rem; }
.v-calc-saisie { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: #0f0f15; border: 1px solid var(--v-bord-fort); }
.v-calc-saisie input {
    width: 86px; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--v-bord);
    font: 800 1.25rem/1 var(--v-police); color: #fff; background: rgba(255, 255, 255, .05); text-align: center;
}
.v-calc-saisie span { color: var(--v-texte-3); font-weight: 600; }
.v-calc-curseur { width: 100%; margin: 22px 0 18px; accent-color: #a5b4fc; height: 28px; }
.v-calc-resultats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .v-calc-resultats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-calc-offre { padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--v-bord); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.v-calc-reco { border-color: rgba(165, 180, 252, .5); background: rgba(99, 102, 241, .1); }
.v-calc-nom { font-weight: 700; font-size: .92rem; color: var(--v-texte-2); }
.v-calc-offre strong { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 1.9rem); font-weight: 820; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-calc-detail, .v-calc-frais { font-size: .8rem; color: var(--v-texte-3); }
.v-calc-pied { margin: 14px 0 0; font-size: .8rem; color: var(--v-texte-3); text-align: center; }

/* Le comparatif détaillé */
.v-comparatif { margin-top: 18px; border-radius: 20px; border: 1px solid var(--v-bord); background: var(--v-carte-pleine); }
.v-comparatif > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 18px; font-weight: 750; color: #c7d2fe;
}
.v-comparatif > summary::-webkit-details-marker { display: none; }
.v-comparatif > summary .fas { font-size: .72rem; transition: transform .2s ease; }
.v-comparatif[open] > summary .fas { transform: rotate(180deg); }
.v-table-defile { overflow-x: auto; padding: 0 12px 16px; }
.v-comparatif table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.v-comparatif thead th { position: sticky; top: 0; padding: 12px 10px; text-align: center; font-weight: 750; color: #fff; background: #14141c; border-bottom: 1px solid var(--v-bord-fort); }
.v-comparatif thead th:first-child { text-align: left; }
.v-comparatif tbody th[scope="row"] { text-align: left; padding: 11px 10px; font-weight: 600; color: var(--v-texte); border-bottom: 1px solid var(--v-bord); }
.v-comparatif tbody th[scope="row"] small { display: block; color: var(--v-texte-3); font-weight: 400; font-size: .78rem; margin-top: 2px; }
.v-comparatif td { text-align: center; border-bottom: 1px solid var(--v-bord); width: 17%; }
.v-table-section th { padding: 18px 10px 8px; text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #a7f3d0; }
.v-tiret { color: #52525b; }

/* ---------------- Les données ---------------- */
.v-donnees { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .v-donnees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .v-donnees { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v-donnee { display: flex; gap: 14px; min-width: 0; padding: 20px; border-radius: var(--v-rayon); background: var(--v-carte-pleine); border: 1px solid var(--v-bord); }
@media (min-width: 1080px) { .v-donnee { flex-direction: column; } }
.v-donnee-icone {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
    color: #6ee7b7; background: rgba(16, 185, 129, .12); border: 1px solid rgba(52, 211, 153, .28);
}
.v-donnee > div { min-width: 0; }
.v-donnee h3 { margin: 0 0 6px; font-size: 1rem; }
.v-donnee p { margin: 0; color: var(--v-texte-2); font-size: .88rem; }
.v-donnees-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 32px 0 0; }
.v-donnees-liens a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.v-donnees-liens a .fas { flex: 0 0 auto; }
/* Au téléphone, les trois liens l'un sous l'autre, chacun sur sa ligne. */
@media (max-width: 599px) { .v-donnees-liens { flex-direction: column; align-items: center; } }

/* ---------------- Le parrainage ---------------- */
.v-parrainage-bande { padding: 72px 0 0; }
.v-parrainage-int {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; border-radius: 26px;
    background: radial-gradient(circle at 0% 0%, rgba(245, 214, 122, .22), transparent 55%), linear-gradient(135deg, #1a1508, #100d05);
    border: 1px solid rgba(212, 175, 55, .35);
}
@media (min-width: 820px) { .v-parrainage-int { flex-direction: row; align-items: center; padding: 32px 36px; } .v-parrainage-int .v-bouton { flex: 0 0 auto; margin-left: auto; white-space: nowrap; } }
.v-parrainage-icone {
    flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #2b1d00; background: linear-gradient(135deg, var(--v-or-1), var(--v-or-2) 55%, var(--v-or-3));
}
.v-parrainage-int > div { min-width: 0; }
.v-parrainage-int h2 { margin: 0 0 4px; font-size: 1.45rem; color: #fff3c4; letter-spacing: -.02em; }
.v-parrainage-int p { margin: 0; color: #e7d9a8; font-size: .95rem; }
.v-parrainage-int p a { color: #fde68a; }

/* ---------------- Les questions ---------------- */
.v-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.v-faq-item { border-radius: 16px; background: var(--v-carte-pleine); border: 1px solid var(--v-bord); transition: border-color .2s ease; }
.v-faq-item[open] { border-color: var(--v-bord-fort); }
.v-faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 18px 20px; font-weight: 700; font-size: 1rem;
}
.v-faq-item summary::-webkit-details-marker { display: none; }
.v-faq-item summary .fas { flex: 0 0 auto; font-size: .75rem; color: var(--v-texte-3); transition: transform .2s ease; }
.v-faq-item[open] summary .fas { transform: rotate(180deg); }
.v-faq-reponse { padding: 0 20px 18px; color: var(--v-texte-2); font-size: .95rem; }
.v-faq-reponse p { margin: 0 0 8px; }
.v-lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; margin-top: 4px; }
.v-lien-fleche .fas { font-size: .75rem; transition: transform .2s ease; }
.v-lien-fleche:hover .fas { transform: translateX(3px); }
.v-faq-pied { text-align: center; margin: 26px 0 0; color: var(--v-texte-3); }

/* ---------------- Le dernier appel ---------------- */
.v-final { padding: 40px 0 100px; }
.v-final-int {
    text-align: center; padding: 64px 22px; border-radius: 32px; position: relative; overflow: hidden; isolation: isolate;
    background: var(--v-fond-2); border: 1px solid var(--v-bord-fort);
}
.v-aurore-douce { inset: -40% -20%; height: auto; opacity: .55; }
.v-final h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.04em; line-height: 1.1; }
.v-final p { margin: 0 auto 28px; max-width: 34em; color: var(--v-texte-2); }

/* ---------------- Le pied de page ---------------- */
.v-pied { border-top: 1px solid var(--v-bord); padding: 52px 0 20px; background: var(--v-fond-2); }
.v-pied-grille { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .v-pied-grille { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.v-pied-marque { grid-column: 1 / -1; }
@media (min-width: 900px) { .v-pied-marque { grid-column: auto; } }
.v-pied-marque p { margin: 12px 0 14px; color: var(--v-texte-3); font-size: .9rem; max-width: 26em; }
.v-pied-statut { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--v-texte-2) !important; border: 1px solid var(--v-bord-fort); }
.v-pied nav { display: flex; flex-direction: column; gap: 8px; }
.v-pied nav h2 { margin: 0 0 4px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--v-texte-3); }
.v-pied nav a { color: var(--v-texte-2); text-decoration: none; font-size: .92rem; }
.v-pied nav a:hover { color: #fff; }
/* Les liens légaux sont déjà dans les colonnes : du pied commun, seule la ligne de droits reste. */
.v-pied .bp-pied-legal nav { display: none; }

/* L'apparition au défilement (vitrine.js pose `v-visible`) */
.v-js [data-apparition] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.v-js [data-apparition].v-visible { opacity: 1; transform: none; }
.v-js .v-offre-mise-en-avant[data-apparition].v-visible { transform: none; }
@media (min-width: 900px) { .v-js .v-offre-mise-en-avant[data-apparition].v-visible { transform: translateY(-12px); } }

/* =========================================================================
   BIO, L'ASSISTANT DES VISITEURS
   ========================================================================= */
.va-symboles { position: absolute; width: 0; height: 0; overflow: hidden; }
.va-robot { display: block; width: 100%; height: 100%; }
.va-oeil { transform-box: fill-box; transform-origin: center; animation: va-cligne 5.5s infinite; }
@keyframes va-cligne { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }

.va-coin {
    position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    font-family: var(--v-police); transition: bottom .25s ease, transform .25s ease;
}
html.bp-cookies-ouvert .va-coin { bottom: calc(var(--bp-cookies-h, 0px) + 14px); }
html.va-ouvert .va-coin { display: none; }
.va-coin *, .va-coin *::before, .va-coin *::after { box-sizing: border-box; }

.va-lanceur {
    position: relative; width: 64px; height: 64px; border-radius: 22px; padding: 10px;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
    background: radial-gradient(120% 120% at 30% 20%, #23233a, #0d0d14);
    border: 1px solid rgba(165, 180, 252, .45);
    box-shadow: 0 18px 44px -14px rgba(99, 102, 241, .85), 0 0 0 6px rgba(129, 140, 248, .08);
    transition: transform .2s ease, box-shadow .25s ease;
}
.va-lanceur:hover { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 22px 50px -14px rgba(110, 231, 183, .75), 0 0 0 6px rgba(110, 231, 183, .1); }
.va-lanceur.va-signale { animation: va-saut 1.2s ease 2; }
@keyframes va-saut { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } 60% { transform: translateY(0); } 80% { transform: translateY(-3px); } }
.va-en-ligne { position: absolute; right: 5px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: #34d399; border: 2px solid #0d0d14; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: va-pouls 2.4s infinite; }
@keyframes va-pouls { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.va-bulle {
    position: relative; width: min(330px, calc(100vw - 36px)); padding: 16px 16px 14px; border-radius: 20px 20px 6px 20px;
    background: rgba(20, 20, 28, .96); border: 1px solid var(--v-bord-fort); color: var(--v-texte);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(129, 140, 248, .1);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    animation: va-arrivee .45s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes va-arrivee { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.va-bulle-nom { margin: 0 0 6px; font-size: .78rem; color: var(--v-texte-3); }
.va-bulle-nom strong { color: #c7d2fe; }
.va-bulle-texte { margin: 0 0 12px; font-size: .95rem; line-height: 1.5; padding-right: 18px; }
.va-bulle-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.va-bulle-court { display: none; }
@media (max-width: 520px) {
    /* Sur téléphone, la bulle reste courte : elle ne cache pas les boutons de la page. */
    .va-bulle { width: min(250px, calc(100vw - 100px)); padding: 12px 12px 12px 14px; }
    .va-bulle-long, .va-bulle-puces, .va-bulle-nom { display: none; }
    .va-bulle-court { display: inline; }
    .va-bulle-texte { margin: 0; font-size: .88rem; }
}
.va-bulle-fermer {
    position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 10px; border: 0; cursor: pointer;
    color: var(--v-texte-3); background: transparent; display: inline-flex; align-items: center; justify-content: center;
}
.va-bulle-fermer:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.va-fenetre {
    position: fixed; z-index: 70; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
    width: min(410px, calc(100vw - 36px)); height: min(660px, calc(100vh - 96px));
    height: min(660px, calc(100dvh - 96px));
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: 24px; background: #0e0e14; border: 1px solid var(--v-bord-fort);
    box-shadow: 0 40px 100px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(129, 140, 248, .14);
    font-family: var(--v-police); color: var(--v-texte);
    animation: va-arrivee .35s cubic-bezier(.2, .9, .3, 1.1);
}
.va-fenetre *, .va-fenetre *::before, .va-fenetre *::after { box-sizing: border-box; }
html.bp-cookies-ouvert .va-fenetre {
    bottom: calc(var(--bp-cookies-h, 0px) + 8px);
    height: min(660px, calc(100vh - var(--bp-cookies-h, 0px) - 96px));
    height: min(660px, calc(100dvh - var(--bp-cookies-h, 0px) - 96px));
}
@media (max-width: 520px) {
    .va-fenetre { right: 0; left: 0; bottom: 0; width: 100%; height: min(90vh, 100%); height: min(90dvh, 100%); border-radius: 24px 24px 0 0; }
    .va-coin { right: 14px; }
}
.va-entete {
    display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px;
    background: radial-gradient(120% 160% at 0% 0%, rgba(99, 102, 241, .35), transparent 55%),
                radial-gradient(120% 160% at 100% 100%, rgba(16, 185, 129, .2), transparent 55%), #12121a;
    border-bottom: 1px solid var(--v-bord);
}
.va-avatar { flex: 0 0 auto; width: 44px; height: 44px; padding: 6px; border-radius: 15px; background: #0b0b14; border: 1px solid rgba(165, 180, 252, .35); }
.va-entete-texte { flex: 1 1 auto; min-width: 0; }
.va-entete h2 { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.va-entete h2 span { color: var(--v-texte-3); font-weight: 500; font-size: .88rem; }
.va-entete p { margin: 2px 0 0; font-size: .76rem; color: var(--v-texte-2); display: flex; align-items: center; gap: 6px; }
.va-point-vert { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.va-icone-bouton {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--v-bord-fort); cursor: pointer;
    color: var(--v-texte); background: rgba(0, 0, 0, .25); display: inline-flex; align-items: center; justify-content: center;
}
.va-icone-bouton:hover { background: rgba(255, 255, 255, .08); }
.va-fil { position: relative; flex: 1 1 auto; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; scroll-behavior: smooth; }
.va-ligne { display: flex; gap: 8px; align-items: flex-end; animation: va-fondu .3s ease; }
@keyframes va-fondu { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.va-ligne-moi { justify-content: flex-end; }
.va-mini-avatar { flex: 0 0 auto; width: 30px; height: 30px; padding: 4px; border-radius: 10px; background: #15151f; border: 1px solid var(--v-bord-fort); }
.va-message { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.55; }
.va-message p { margin: 0 0 6px; }
.va-message p:last-child { margin-bottom: 0; }
.va-message-bot { background: #181822; border: 1px solid var(--v-bord); border-bottom-left-radius: 6px; }
.va-message-moi { color: #0b0b10; background: linear-gradient(135deg, #e0e7ff, #a5b4fc); border-bottom-right-radius: 6px; font-weight: 600; }
.va-carte h3 { margin: 0 0 8px; font-size: .95rem; color: #fff; }
.va-carte ol { margin: 0 0 6px; padding-left: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.va-carte p { margin: 0 0 6px; }
.va-note { color: var(--v-texte-3); font-size: .82rem; }
.va-message a.va-lien {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 13px; border-radius: 999px;
    font-weight: 700; font-size: .84rem; text-decoration: none; color: #0b0b10; background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
}
.va-avis { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--v-bord); font-size: .8rem; color: var(--v-texte-3); }
.va-avis-bouton { min-width: 36px; height: 32px; border-radius: 10px; border: 1px solid var(--v-bord-fort); background: transparent; cursor: pointer; font-size: .95rem; }
.va-avis-bouton:hover { background: rgba(255, 255, 255, .06); }
.va-sous-titre { margin: 2px 0 -4px 38px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v-texte-3); }
.va-attente { display: inline-flex; gap: 5px; padding: 15px 16px; }
.va-attente i { width: 7px; height: 7px; border-radius: 50%; background: var(--v-texte-3); animation: va-point 1s infinite ease-in-out; }
.va-attente i:nth-child(2) { animation-delay: .15s; }
.va-attente i:nth-child(3) { animation-delay: .3s; }
@keyframes va-point { 0%, 80%, 100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.va-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 38px; }
.va-puce {
    font: 600 .82rem/1.3 var(--v-police); text-align: left; cursor: pointer; padding: 8px 12px; border-radius: 999px;
    color: #c7d2fe; background: rgba(99, 102, 241, .1); border: 1px solid rgba(129, 140, 248, .32);
    transition: background-color .15s ease, border-color .15s ease;
}
.va-puce:hover { background: rgba(99, 102, 241, .22); border-color: rgba(165, 180, 252, .6); }
.va-saisie { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--v-bord); background: #0b0b10; }
.va-saisie input {
    flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; border-radius: 15px;
    font: 400 16px/1.3 var(--v-police); color: var(--v-texte); background: #16161f; border: 1px solid var(--v-bord-fort);
}
.va-saisie input:focus { outline: none; border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(165, 180, 252, .25); }
.va-saisie button {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; border: 0; cursor: pointer;
    color: #0b0b10; background: linear-gradient(135deg, #c7d2fe, #a5b4fc 45%, #6ee7b7);
    transition: transform .15s ease;
}
.va-saisie button:hover { transform: translateY(-1px); }
.va-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 0 14px 12px; background: #0b0b10; font-size: .74rem; color: var(--v-texte-3); }
.va-lien-humain { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: transparent; cursor: pointer; font: 650 .8rem/1 var(--v-police); color: #c7d2fe; }
.va-lien-humain:hover { color: #fff; }
.va-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================================
   LES PAGES PUBLIQUES QUI PORTENT LA BARRE (connexion, aide, contact…)
   ========================================================================= */
body.pub.avec-barre .pub-page { padding-top: 28px; }
/* Les pages autonomes (offres et inscription, parrainage) : leur <body> a une marge
   intérieure ; la barre la déborde pour occuper toute la largeur, collée en haut. */
body.vb-page-autonome { padding-top: 0 !important; }
body.vb-page-autonome > .vb-barre { margin: 0 -16px 24px; width: calc(100% + 32px); }

/* =========================================================================
   LE CADRAGE : RIEN NE DÉBORDE, RIEN NE SORT DE SON CADRE
   =========================================================================
   Les titres s'équilibrent sur leurs lignes (pas de mot orphelin), les paragraphes
   évitent la dernière ligne d'un seul mot, et les mots longs se coupent en français
   (lang="fr") dans les colonnes étroites. */
.vitrine h1, .vitrine h2, .vitrine h3, .va-entete h2, .va-carte h3 { text-wrap: balance; }
.vitrine p, .vitrine li, .va-message, .va-bulle-texte { text-wrap: pretty; }
.vitrine p, .vitrine li, .va-message { -webkit-hyphens: auto; hyphens: auto; }
.vitrine .v-bouton, .vitrine .vb-bouton, .vitrine .v-offre-prix, .vitrine .v-calc-offre,
.vitrine .v-hero-prix, .vitrine .v-chiffre { -webkit-hyphens: manual; hyphens: manual; }
.vitrine img, .vitrine svg, .vitrine video, .vitrine canvas, .vitrine iframe { max-width: 100%; }

/* LE FILET. Les causes de débordement sont corrigées plus haut (grilles en
   minmax(0, 1fr), mots longs coupés, boutons qui passent à la ligne) ; ce filet
   empêche seulement qu'un oubli futur fasse glisser la page de côté au doigt.
   `clip`, et non `hidden` : la barre du haut reste collante (position: sticky). */
html.v-racine { overflow-x: clip; }
body.vitrine { overflow-x: hidden; overflow-x: clip; }

/* =========================================================================
   MOINS DE MOUVEMENT
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    .v-js [data-apparition], .v-js .v-offre-mise-en-avant[data-apparition].v-visible { opacity: 1; transform: none; transition: none; }
    .v-carte-flottante, .v-aurore span, .v-modules-piste, .va-oeil, .va-en-ligne, .va-lanceur.va-signale,
    .va-bulle, .va-fenetre, .va-ligne, .v-panneau { animation: none; }
    .v-fonction:hover, .va-lanceur:hover { transform: none; }
}
