/* ==========================================================================
   VOLTAÏC · SITE VITRINE
   Concept : la page se lit comme une borne qui se charge. Le bleu électrique
   "remplit" les titres, le câble de la frise et le logo du pied de page.

   Pour changer l'apparence du site, commence par la section 0 (variables) :
   couleurs, polices, arrondis et vitesses d'animation sont tous définis ici.
   ========================================================================== */


/* ==========================================================================
   0. VARIABLES (couleurs, typographie, espacements, vitesses)
   ========================================================================== */
:root {
    /* Couleurs Voltaïc (reprises de ton style.css) */
    --blue: #0088ff;               /* Bleu électrique principal */
    --blue-bright: #4fc3ff;        /* Bleu clair lumineux (survols, reflets) */
    --blue-deep: #0066cc;          /* Bleu foncé */
    --teal: #00d4aa;               /* Accent secondaire : câble A, "en charge" */
    --green: #10b981;              /* Validation, état OK */
    --orange: #ff9500;             /* Bornes DC / "bientôt" */
    --red: #ff453a;                /* Arrêt, erreur */

    /* Fonds et textes (noirs légèrement bleutés) */
    --bg: #060a10;                 /* Fond principal */
    --bg-2: #0b121c;               /* Fond des sections alternées */
    --card: #0d131d;               /* Fond des cartes */
    --line: rgba(255, 255, 255, 0.08);   /* Bordures fines */
    --text: #f5f7fa;               /* Texte principal */
    --text-2: #c9d1dc;             /* Texte secondaire clair */
    --grey: #8a94a6;               /* Paragraphes, légendes */
    --grey-dim: #5f6a7c;           /* Parties "atténuées" des titres */

    /* Polices */
    --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --font-data: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    /* Mise en page */
    --max: 1240px;                 /* Largeur max du contenu */
    --gutter: clamp(16px, 4vw, 40px); /* Marges latérales */
    --radius: 22px;                /* Arrondi des grandes cartes */
    --nav-h: 70px;                 /* Hauteur de la barre de navigation */

    /* Courbes et durées d'animation (modifie-les pour tout accélérer/ralentir) */
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);      /* Douce (ton style.css) */
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);    /* Sortie rapide puis freinée */
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);/* Léger rebond */
    --ease-charge: cubic-bezier(0.2, 0.7, 0.3, 1); /* Animation "charge" de ton logo */
    --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
    --dur-reveal: 1s;              /* Durée d'apparition des blocs au scroll */

    color-scheme: dark;
}

/* Permet d'animer le remplissage du grand "50 %" */
@property --fill {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 100%;
}


/* ==========================================================================
   1. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

::selection { background: rgba(0, 136, 255, 0.35); color: #fff; }

:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Conteneur centré avec marges latérales */
.container {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
}
.container--narrow { --max: 880px; }

section[id] { scroll-margin-top: var(--nav-h); }

/* Petit titre au-dessus des sections (ton .eyebrow) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-bright);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}


/* ==========================================================================
   2. SYSTÈME D'ANIMATIONS AU SCROLL
   Ajoute data-reveal sur n'importe quel bloc pour qu'il apparaisse au scroll :
     data-reveal          → monte en fondu
     data-reveal="fade"   → fondu seul
     data-reveal="left"   → arrive de la gauche
     data-reveal="right"  → arrive de la droite
     data-reveal="scale"  → grossit légèrement
   data-stagger sur un parent : ses enfants data-reveal apparaissent l'un après l'autre.
   data-split sur un titre : les mots montent un par un.
   (La classe .motion est posée par le script de l'en-tête : sans elle, tout reste visible.)
   ========================================================================== */
.motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity calc(var(--dur-reveal) * 0.9) var(--ease),
                transform var(--dur-reveal) var(--ease-expo);
    transition-delay: var(--d, 0ms);
}
.motion [data-reveal="fade"]  { transform: none; }
.motion [data-reveal="left"]  { transform: translate3d(-48px, 0, 0); }
.motion [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.motion [data-reveal="scale"] { transform: scale(0.92); }
.motion [data-reveal].is-in   { opacity: 1; transform: none; }
/* Sur mobile, pas de glissement latéral (évite tout débordement horizontal) */
@media (max-width: 760px) {
    .motion [data-reveal="left"]:not(.is-in),
    .motion [data-reveal="right"]:not(.is-in) { transform: translate3d(0, 32px, 0); }
}

/* Mots des titres (découpés par script.js) */
[data-split] .sw {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0.12em 0 0.1em;
    margin: -0.12em 0 -0.1em;
}
[data-split] .sw-i { display: inline-block; }
.motion [data-split] .sw-i {
    transform: translateY(115%);
    transition: transform 0.95s var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 38ms + 120ms);
}
.motion .is-in [data-split] .sw-i,
.motion [data-split].is-in .sw-i { transform: none; }

/* Effet "charge" : le bleu balaie le texte de gauche à droite (comme ton logo) */
.charge-text {
    background:
        linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%) 0 0 / 100% 100% no-repeat,
        linear-gradient(var(--text), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 136, 255, 0.3));
}
.motion .charge-text { background-size: 0% 100%, auto; filter: none; }
/* Une fois les lignes du hero arrivées, on libère le halo lumineux */
.hero-title.is-settled .line { overflow: visible; }
.motion .is-loaded .hero .charge-text,
.motion .is-in .charge-text {
    background-size: 100% 100%, auto;
    transition: background-size 1.8s var(--ease-charge) 0.9s;
    animation: chargeGlow 1.8s var(--ease-charge) 0.9s both;
}
@keyframes chargeGlow {
    0%   { filter: drop-shadow(0 0 0 rgba(0, 136, 255, 0)); }
    70%  { filter: drop-shadow(0 0 16px rgba(0, 136, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 12px rgba(0, 136, 255, 0.3)); }
}


/* ==========================================================================
   3. INTRO (logo qui se charge au premier chargement)
   ========================================================================== */
.intro { display: none; }

.intro-on .intro {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: var(--bg);
    cursor: pointer;
    clip-path: inset(0 0 0 0);
}
.intro.is-leaving {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.9s var(--ease-inout);
}

.intro-mark {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 13vw, 7.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding-top: 0.15em;    /* place pour les points du Ï */
}
.intro-word--base { color: #151c27; }
.intro-word--charged {
    position: absolute;
    inset: 0;
    padding-top: 0.15em;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(0, 136, 255, 0.55));
    /* --k (0 → 1) est piloté par script.js ; les marges négatives laissent passer le halo et les points du Ï */
    clip-path: inset(-40% calc(100% - var(--k, 0) * 120%) -40% -20%);
}
.intro-bolt {
    position: absolute;
    top: 50%;
    left: calc(var(--k, 0) * 100%);
    width: 0.42em;
    height: 0.62em;
    fill: var(--blue-bright);
    filter: drop-shadow(0 0 12px var(--blue));
    transform: translate(-50%, -50%);
    opacity: var(--bolt-o, 0);
}
.intro-meta,
.intro-bar { width: min(420px, 78vw); }
.intro-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-data);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
}
.intro-pct { color: var(--blue-bright); font-variant-numeric: tabular-nums; }
.intro-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.intro-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 12px var(--blue);
    transform: scaleX(var(--k, 0));
    transform-origin: left;
}


/* ==========================================================================
   4. AMBIANCE (halo qui suit la souris + grain)
   ========================================================================== */
.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.09), transparent 62%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

.grain {
    position: fixed;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (hover: none) {
    .cursor-glow { display: none; }
}


/* ==========================================================================
   5. BARRE DE NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.is-scrolled {
    background: rgba(6, 10, 16, 0.78);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border-bottom-color: var(--line);
}

/* Burger (tes 3 barres bleues qui flottent au survol) */
.menu-burger {
    justify-self: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.menu-burger .barre {
    height: 3px;
    width: 100%;
    background-color: var(--blue);
    border-radius: 2px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, width 0.3s var(--ease);
}
.menu-burger .barre:nth-child(2) { width: 70%; }
.menu-burger:hover { animation: floatBurger 1.8s ease-in-out infinite; }
.menu-burger:hover .barre {
    width: 100%;
    background-color: var(--blue-bright);
    box-shadow: 0 0 10px var(--blue), 0 0 20px var(--blue);
}
@keyframes floatBurger {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Logo texte : se charge en bleu au survol */
.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
    text-decoration: none;
    background:
        linear-gradient(90deg, var(--blue), var(--blue-bright)) 0 0 / 0% 100% no-repeat,
        linear-gradient(var(--text), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transition: background-size 0.6s var(--ease-charge);
}
.nav-logo:hover { background-size: 100% 100%, auto; }

.nav-btn {
    justify-self: end;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--blue);
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-btn:hover {
    background-color: var(--blue);
    color: var(--bg);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
}
.nav-btn-short { display: none; }

/* Barre de progression "charge" sous la navigation */
.nav-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    pointer-events: none;
}
.nav-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.8);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}


/* ==========================================================================
   6. MENU LATÉRAL
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1002;
    width: min(380px, 88vw);
    padding: calc(24px + env(safe-area-inset-top, 0px)) 32px calc(32px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-right: 1px solid var(--line);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.6s var(--ease-inout), visibility 0s linear 0.6s;
    overflow-y: auto;
}
.sidebar.active {
    transform: none;
    visibility: visible;
    transition: transform 0.6s var(--ease-inout), visibility 0s;
}

.sidebar-close {
    align-self: flex-end;
    font-size: 32px;
    line-height: 1;
    background: none;
    border: 0;
    color: var(--grey);
    cursor: pointer;
    transition: color 0.3s, transform 0.4s var(--ease-back);
}
.sidebar-close:hover { color: var(--text); transform: rotate(90deg); }

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 32px 0;
}
.sidebar-links a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 8px 0;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.4s var(--ease);
}
.sidebar-links small {
    font-family: var(--font-data);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--blue);
}
.sidebar-links a:hover { color: var(--blue-bright); transform: translateX(6px); }

.motion .sidebar-links li {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-expo);
}
.motion .sidebar.active .sidebar-links li {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 55ms + 150ms);
}

.sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.sidebar-contact { color: var(--grey); font-size: 0.85rem; line-height: 1.7; }

/* Bouton plein (ton .account-btn) */
.account-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background-color: var(--blue);
    color: var(--bg);
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.2);
    transition: all 0.3s var(--ease);
}
.account-btn:hover {
    background-color: var(--blue-deep);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.5);
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.overlay.active { opacity: 1; pointer-events: auto; }


/* ==========================================================================
   7. BOUTONS
   ========================================================================== */
.btn-main,
.btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, translate 0.4s var(--ease);
}
.btn-main {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.5);
}
/* Reflet qui traverse le bouton au survol */
.btn-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
}
.btn-main:hover {
    background: var(--blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 136, 255, 0.45);
}
.btn-main:hover::after { transform: translateX(120%); }

.btn-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s var(--ease-back);
}
.btn-main:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover {
    border-color: var(--blue);
    background: rgba(0, 136, 255, 0.08);
    transform: translateY(-2px);
}


/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: calc(var(--nav-h) + 64px + env(safe-area-inset-top, 0px)) 110px;
    background:
        radial-gradient(ellipse 900px 520px at 72% 18%, rgba(0, 136, 255, 0.17), transparent 62%),
        radial-gradient(ellipse 1100px 600px at 15% 100%, rgba(0, 136, 255, 0.07), transparent 60%),
        var(--bg);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 15%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 15%, transparent 80%);
}

/* Quadrillage (ton .ambient-grid) */
.ambient-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 136, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-text { min-width: 0; }

.hero-eyebrow::before { display: none; }
.live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px var(--teal);
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    animation: markerPulse 1.8s ease-out infinite;
}
@keyframes markerPulse {
    0%   { transform: scale(0.7); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
    margin: 22px 0 26px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}
.hero-title .line {
    display: block;
    overflow: hidden;
    padding: 0.14em 0 0.08em;
    margin: -0.14em 0 -0.08em;
}
.hero-title .line > span { display: inline-block; }

.hero-sub {
    max-width: 34em;
    color: var(--grey);
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.7;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 38px;
}
.hero-proofs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-data);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey);
}
.hero-proofs li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

/* Entrée du hero (après l'intro) */
.motion .hero-eyebrow,
.motion .hero-sub,
.motion .hero-ctas,
.motion .hero-proofs { opacity: 0; transform: translateY(16px); }
.motion .hero-title .line > span { transform: translateY(120%); }
.motion .hero-visual { opacity: 0; transform: translateY(30px) scale(0.96); }

.motion .is-loaded .hero-eyebrow,
.motion .is-loaded .hero-sub,
.motion .is-loaded .hero-ctas,
.motion .is-loaded .hero-proofs,
.motion .is-loaded .hero-visual {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-expo);
}
.motion .is-loaded .hero-title .line > span {
    transform: none;
    transition: transform 1.1s var(--ease-expo);
}
.motion .is-loaded .hero-eyebrow { transition-delay: 0.05s; }
.motion .is-loaded .hero-title .line:nth-child(1) > span { transition-delay: 0.12s; }
.motion .is-loaded .hero-title .line:nth-child(2) > span { transition-delay: 0.22s; }
.motion .is-loaded .hero-title .line:nth-child(3) > span { transition-delay: 0.32s; }
.motion .is-loaded .hero-sub { transition-delay: 0.5s; }
.motion .is-loaded .hero-ctas { transition-delay: 0.62s; }
.motion .is-loaded .hero-proofs { transition-delay: 0.74s; }
.motion .is-loaded .hero-visual { transition-delay: 0.3s; transition-duration: 1.2s, 1.4s; }

/* --- Visuel du hero --- */
.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.glow-pool {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 110%;
    height: 45%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 55% 100% at 50% 100%, rgba(0, 136, 255, 0.32), transparent 70%);
    filter: blur(8px);
    animation: pulse 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes pulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

.borne-wrap {
    position: relative;
    width: min(340px, 74vw);
    margin-right: 12%;      /* décale la borne vers la gauche pour laisser la place au journal OCPP */
}
.borne {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}
.borne-screen-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 7.5px;
    letter-spacing: 2px;
    fill: var(--text);
}
.borne-label {
    font-family: var(--font-data);
    font-size: 7px;
    letter-spacing: 1.5px;
    fill: var(--grey);
}
.borne-screen-bolt {
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.9));
    animation: pulse 2.4s ease-in-out infinite;
}
.borne-topline {
    filter: drop-shadow(0 0 6px var(--blue));
    animation: pulse 2s ease-in-out infinite;
}
.borne-level {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.8));
    animation: borneLevel 7s var(--ease-inout) infinite;
}
@keyframes borneLevel {
    0%   { transform: scaleY(0.12); }
    80%  { transform: scaleY(1); opacity: 1; }
    92%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0.12); opacity: 0.6; }
}
.borne-led {
    filter: drop-shadow(0 0 6px var(--teal));
    animation: ledBlink 2.5s ease-in-out infinite;
}
@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.cable-flow { animation: cableFlow 2s linear infinite; }
.cable-flow--a { filter: drop-shadow(0 0 4px var(--teal)); }
.cable-flow--b { filter: drop-shadow(0 0 4px var(--blue)); animation-delay: -1s; }
@keyframes cableFlow {
    from { stroke-dashoffset: 240; }
    to   { stroke-dashoffset: 0; }
}

/* Arcs électriques et étincelles (ton style.css) */
.arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.arcs path {
    fill: none;
    stroke: var(--blue-bright);
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(79, 195, 255, 0.9)) drop-shadow(0 0 10px rgba(0, 136, 255, 0.6));
    stroke-dasharray: 22 340;
    opacity: 0;
}
.arcs path:nth-child(1) { animation: crackle 2.6s ease-in-out 1.6s infinite; }
.arcs path:nth-child(2) { animation: crackle 3.1s ease-in-out 2.05s infinite; }
.arcs path:nth-child(3) { animation: crackle 2.3s ease-in-out 2.5s infinite; }
@keyframes crackle {
    0%, 92%, 100% { opacity: 0; stroke-dashoffset: 0; }
    3%  { opacity: 1; }
    6%  { opacity: 0; }
    9%  { opacity: 0.9; stroke-dashoffset: -120; }
    12% { opacity: 0; }
}

.spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 8px 2px rgba(79, 195, 255, 0.9);
    opacity: 0;
    animation: sparkPop 2.4s ease-in-out infinite;
}
.spark:nth-of-type(1) { top: 12%; left: 22%; animation-delay: 1.8s; }
.spark:nth-of-type(2) { top: 55%; right: 12%; animation-delay: 2.3s; }
.spark:nth-of-type(3) { top: 32%; left: 18%; animation-delay: 2.9s; }
.spark:nth-of-type(4) { top: 76%; right: 20%; animation-delay: 3.4s; }
@keyframes sparkPop {
    0%, 85%, 100% { opacity: 0; transform: scale(0.6); }
    88% { opacity: 1; transform: scale(1.3); }
    92% { opacity: 0; transform: scale(0.8); }
}

/* --- Cartes flottantes du hero --- */
.float-card {
    position: absolute;
    z-index: 2;
    padding: 14px 16px;
    background: rgba(13, 19, 29, 0.74);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    animation: bob 7s ease-in-out infinite;
}
.fc-session { top: 9%; left: 0; width: 214px; }
.fc-ocpp { bottom: 5%; right: 0; width: 280px; animation-delay: -2.5s; }
.fc-pay {
    top: 20%;
    right: 2%;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: none;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.motion .fc-session,
.motion .fc-ocpp { opacity: 0; scale: 0.9; }
.motion .is-loaded .fc-session,
.motion .is-loaded .fc-ocpp {
    opacity: 1;
    scale: 1;
    transition: opacity 0.8s var(--ease), scale 0.9s var(--ease-back);
}
.motion .is-loaded .fc-session { transition-delay: 1.1s; }
.motion .is-loaded .fc-ocpp { transition-delay: 1.3s; }
.motion .fc-pay { animation: payPop 8s var(--ease) 2.8s infinite both; }
@keyframes payPop {
    0%   { opacity: 0; transform: translateY(12px) scale(0.92); }
    6%   { opacity: 1; transform: none; }
    70%  { opacity: 1; transform: none; }
    78%  { opacity: 0; transform: translateY(-8px) scale(0.96); }
    100% { opacity: 0; transform: translateY(-8px) scale(0.96); }
}

.fc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.74rem;
    white-space: nowrap;
}
.fc-dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.fc-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    animation: markerPulse 1.8s ease-out infinite;
}
.fc-dot--teal { background: var(--teal); color: var(--teal); box-shadow: 0 0 8px var(--teal); }
.fc-dot--green { background: var(--green); color: var(--green); box-shadow: 0 0 8px var(--green); }
.fc-badge {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.1);
    color: var(--teal);
    font-family: var(--font-data);
    font-size: 0.62rem;
    font-weight: 500;
}
.fc-live {
    margin-left: auto;
    font-family: var(--font-data);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}
.fc-power {
    margin: 12px 0 10px;
    font-family: var(--font-data);
    font-weight: 500;
    font-size: 1.9rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.fc-power small { margin-left: 5px; font-size: 0.8rem; color: var(--grey); }
.fc-bar {
    position: relative;
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
}
.fc-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 64%);
    border-radius: 4px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    transition: width 0.8s var(--ease);
}
.fc-bar span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: shimmer 1.8s ease-in-out infinite;
}
@keyframes shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}
.fc-row {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    font-family: var(--font-data);
    font-size: 0.7rem;
    color: var(--grey);
    font-variant-numeric: tabular-nums;
}
.fc-check {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.fc-check svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fc-pay strong { display: block; font-size: 0.8rem; }
.fc-pay span { display: block; color: var(--grey); font-size: 0.7rem; }

/* Journal OCPP (hero + carte Supervision) */
.ocpp-log {
    --lines: 4;
    height: calc(var(--lines) * 1.95em);
    margin-top: 10px;
    overflow: hidden;
    font-family: var(--font-data);
    font-size: 0.66rem;
    line-height: 1.95em;
    color: var(--grey);
}
.ocpp-log li {
    display: flex;
    gap: 8px;
    height: 1.95em;
    white-space: nowrap;
}
.ocpp-log li.is-new { animation: logIn 0.5s var(--ease-expo); }
.ocpp-log time { color: var(--grey-dim); flex: none; }
.ocpp-log b {
    font-weight: 500;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.ocpp-log span { flex: none; }
.ocpp-log em {
    margin-left: auto;
    flex: none;
    font-style: normal;
    color: var(--blue-bright);
}
.ocpp-log em.ok { color: var(--green); }
.ocpp-log em.warn { color: var(--orange); }
@keyframes logIn {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: none; }
}
.fc-ocpp .ocpp-log span { display: none; }

/* Indication "Défiler" */
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-data);
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey);
    text-decoration: none;
}
.scroll-hint-line {
    position: relative;
    width: 1px;
    height: 38px;
    background: var(--line);
    overflow: hidden;
}
.scroll-hint-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    background: var(--blue-bright);
    box-shadow: 0 0 8px var(--blue);
    animation: scrollLine 1.8s var(--ease-inout) infinite;
}
@keyframes scrollLine {
    to { top: 100%; }
}


/* ==========================================================================
   9. BANDEAU DÉFILANT
   ========================================================================== */
.marquee {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 34px;
    border-block: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg);
}
.marquee-row {
    display: flex;
    overflow: hidden;
    transform: skewX(var(--skew, 0deg));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    flex: none;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    animation: marquee var(--dur, 40s) linear infinite;
}
.marquee-row[data-reverse] .marquee-track { animation-direction: reverse; }
@keyframes marquee {
    to { transform: translateX(-100%); }
}
.marquee-track span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5.4vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee-row--outline .marquee-track span {
    font-size: clamp(1.5rem, 3.8vw, 3rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 247, 250, 0.28);
}
.mq-bolt {
    flex: none;
    width: clamp(18px, 2.4vw, 30px);
    aspect-ratio: 2 / 3;
    background: var(--blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M10 0 0 14h7l-2 10L16 9H9l1-9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M10 0 0 14h7l-2 10L16 9H9l1-9z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 8px var(--blue));
}
.mq-dot {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--blue);
}


/* ==========================================================================
   10. SECTIONS (structure commune)
   ========================================================================== */
.section {
    position: relative;
    padding-block: clamp(76px, 9vw, 124px);
}
.section--alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 16%, var(--bg-2) 84%, var(--bg) 100%);
}

/* En-tête de section : titre à gauche, texte d'introduction à droite */
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: clamp(32px, 6vw, 88px);
    row-gap: 18px;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .section-title { grid-column: 1; }
.section-head .section-lead { grid-column: 2; }
.section-head--left { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 0; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.022em;
}
.section-title .muted { color: var(--grey-dim); }
.section-lead {
    max-width: 34em;
    color: var(--grey);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Halo qui suit la souris dans une carte (data-spotlight) */
[data-spotlight] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    isolation: isolate;
}
[data-spotlight]::before,
[data-spotlight]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
[data-spotlight]::before {
    z-index: -1;
    background: radial-gradient(520px circle at var(--mx) var(--my), rgba(0, 136, 255, 0.12), transparent 45%);
}
[data-spotlight]::after {
    z-index: 2;
    padding: 1px;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(79, 195, 255, 0.7), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-spotlight]:hover::before,
[data-spotlight]:hover::after { opacity: 1; }

/* Inclinaison 3D (data-tilt) : activée par script.js une fois le bloc apparu */
[data-tilt].tilt-ready {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}


/* ==========================================================================
   11. PRESTATIONS (grille bento)
   ========================================================================== */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)), var(--card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    border-color: rgba(0, 136, 255, 0.4);
    box-shadow: 0 24px 60px -28px rgba(0, 136, 255, 0.45);
}
.service-card:hover h3 { color: var(--blue-bright); }

.service-visual {
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 60% 90% at 50% 0%, rgba(0, 136, 255, 0.1), transparent 70%),
        rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 30px 32px;
}
.service-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-data);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-bright);
}
.service-kicker svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: color 0.3s ease;
}
.service-card .service-body > p { color: var(--grey); max-width: 38em; }
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}
.service-list li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-2);
    font-size: 0.78rem;
    font-weight: 600;
}

.visual-caption {
    position: absolute;
    left: 22px;
    bottom: 16px;
    font-family: var(--font-data);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--grey);
}

/* Visuel 1 : parking, les bornes se posent puis les voitures arrivent */
.visual-install svg { width: 100%; max-width: 440px; height: auto; margin-top: -14px; }
.spot-borne, .spot-car, .spot-cable { transform-box: fill-box; }
.spot-cable { stroke-dasharray: 30; filter: drop-shadow(0 0 4px var(--teal)); }
.motion .spot-borne { opacity: 0; }
.motion .spot-car { opacity: 0; }
.motion .spot-cable { stroke-dashoffset: 30; }
.motion .is-in .spot-borne { animation: dropIn 0.6s var(--ease-back) calc(var(--i) * 140ms + 350ms) both; }
.motion .is-in .spot-car { animation: carIn 1s var(--ease-expo) calc(var(--i) * 260ms + 1.2s) both; }
.motion .is-in .spot-cable { animation: cableIn 0.6s var(--ease) calc(var(--i, 0) * 260ms + 2s) forwards; }
.spot-borne circle { animation: ledBlink 2.5s ease-in-out infinite; }
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-18px) scale(0.8); }
    to   { opacity: 1; transform: none; }
}
@keyframes carIn {
    from { opacity: 0; transform: translateY(90px); }
    to   { opacity: 1; transform: none; }
}
@keyframes cableIn { to { stroke-dashoffset: 0; } }

/* Visuel 2 : terminal de supervision */
.term {
    width: 100%;
    max-width: 440px;
    padding: 12px 16px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #05080d;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.term-head { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.term-head i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.term-head p {
    margin-left: auto;
    font-family: var(--font-data);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--grey);
}
.term .ocpp-log { font-size: 0.7rem; }

/* Visuel 3 : compteur d'énergie */
.visual-meter { gap: 14px; }
.meter-label {
    font-family: var(--font-data);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}
.meter-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-data);
    font-weight: 500;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 24px rgba(0, 136, 255, 0.45);
}
.meter-value small { font-size: 1rem; color: var(--grey); text-shadow: none; }
.odometer { display: inline-flex; }
.odometer .d {
    display: inline-block;
    height: 1em;
    overflow: hidden;
}
.odometer .d > span {
    display: flex;
    flex-direction: column;
    transition: transform 0.7s var(--ease-expo);
}
.odometer .d > span > i { display: block; height: 1em; line-height: 1em; font-style: normal; }
.meter-power {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-data);
    font-size: 0.68rem;
    color: var(--grey);
}
.meter-gauge {
    position: relative;
    width: 130px;
    height: 6px;
    border-radius: 6px;
    background: var(--line);
    overflow: hidden;
}
.meter-gauge i {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
}
.meter-gauge i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 1.6s ease-in-out infinite;
}

/* Visuel 4 : barres mensuelles, reversement en décembre */
.visual-bars { justify-content: flex-end; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    max-width: 440px;
    height: 128px;
}
.bars span {
    position: relative;
    flex: 1;
    height: calc(var(--h) * 100%);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, rgba(79, 195, 255, 0.5), rgba(0, 136, 255, 0.1));
    transform-origin: bottom;
}
.bars .is-payout {
    background: linear-gradient(180deg, var(--blue-bright), var(--blue));
    box-shadow: 0 0 24px rgba(0, 136, 255, 0.6);
}
.bars .is-payout em {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    font-family: var(--font-data);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 500;
    color: var(--blue-bright);
    white-space: nowrap;
}
.motion .bars span { transform: scaleY(0); }
.motion .is-in .bars span {
    transform: scaleY(1);
    transition: transform 0.9s var(--ease-expo) calc(var(--i) * 60ms + 300ms);
}
.motion .bars .is-payout em { opacity: 0; }
.motion .is-in .bars .is-payout em { opacity: 1; transition: opacity 0.5s ease 1.4s; }
.bars-legend {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 440px;
    margin-top: 10px;
    font-family: var(--font-data);
    font-size: 0.64rem;
    color: var(--grey);
}


/* ==========================================================================
   12. MÉTHODE (frise avec câble lumineux)
   ========================================================================== */
.timeline {
    --p: 1;              /* progression du câble (0 → 1), pilotée par script.js */
    position: relative;
    max-width: 1060px;
    margin-inline: auto;
}
.motion .timeline { --p: 0; }

.timeline-cable {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.07);
}
.timeline-fill {
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 12px rgba(0, 136, 255, 0.7);
    transform: scaleY(var(--p));
    transform-origin: top;
}
.timeline-spark {
    position: absolute;
    left: 50%;
    top: calc(var(--p) * 100%);
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 195, 255, 0.25), 0 0 24px 6px rgba(0, 136, 255, 0.85);
}

.timeline-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
}
.step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    align-items: center;
}
.step-node {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-family: var(--font-data);
    font-size: 0.8rem;
    color: #fff;
    border: 1px solid var(--blue);
    background: radial-gradient(circle, rgba(0, 136, 255, 0.35), var(--bg-2) 75%);
    box-shadow: 0 0 0 6px rgba(0, 136, 255, 0.1), 0 0 30px rgba(0, 136, 255, 0.45);
    transition: all 0.5s var(--ease);
}
.motion .step:not(.is-active) .step-node {
    color: var(--grey);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-2);
    box-shadow: none;
}
.step-card {
    grid-row: 1;
    padding: 26px 28px;
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: 18px;
    background: var(--card);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.motion .step:not(.is-active) .step-card { border-color: var(--line); }
.step:nth-child(odd) .step-card { grid-column: 1; }
.step:nth-child(even) .step-card { grid-column: 3; }
.step-meta {
    font-family: var(--font-data);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
}
.step-card h3 { margin: 8px 0 8px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.step-card p:last-child { color: var(--grey); }


/* ==========================================================================
   13. MODÈLE ÉCONOMIQUE + SIMULATEUR
   ========================================================================== */
.model-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}

.big-figure-num {
    --fill: 100%;
    font-family: var(--font-display);
    font-size: clamp(6rem, 16vw, 12.5rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(0deg, var(--blue) 0%, var(--blue-bright) var(--fill), rgba(255, 255, 255, 0.05) var(--fill));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
    filter: drop-shadow(0 0 30px rgba(0, 136, 255, 0.25));
}
.motion [data-battery] .big-figure-num { --fill: 0%; }
.motion [data-battery].is-in .big-figure-num {
    --fill: 100%;
    transition: --fill 2.2s var(--ease-charge) 0.25s;
}
.big-figure-cap {
    max-width: 24em;
    margin-top: 20px;
    color: var(--text-2);
    font-size: 1.15rem;
    line-height: 1.55;
}

.roles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}
.role {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
}
.role--voltaic {
    border-color: rgba(0, 136, 255, 0.35);
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.09), rgba(0, 136, 255, 0.02));
}
.role-title {
    margin-bottom: 14px;
    font-family: var(--font-data);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
}
.role--voltaic .role-title { color: var(--blue-bright); }
.role li {
    position: relative;
    padding: 8px 0 8px 22px;
    border-top: 1px solid var(--line);
    font-size: 0.93rem;
    font-weight: 500;
}
.role li:first-child { border-top: 0; }
.role li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 13px;
    margin-top: -6.5px;
    background: var(--blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M10 0 0 14h7l-2 10L16 9H9l1-9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M10 0 0 14h7l-2 10L16 9H9l1-9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Carte simulateur */
.sim-card {
    position: sticky;
    top: calc(var(--nav-h) + 30px);
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)), var(--card);
    box-shadow: 0 30px 80px -40px rgba(0, 136, 255, 0.4);
}
.sim-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sim-kicker {
    font-family: var(--font-data);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
}
.sim-count { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.sim-count output {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--blue-bright);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 24px rgba(0, 136, 255, 0.5);
}
.sim-count span { color: var(--grey); font-weight: 600; }

/* Curseur */
#simRange {
    --val: 44.4%;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 28px;
    margin: 22px 0 4px;
    background: transparent;
    cursor: pointer;
}
#simRange::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--blue) 0 var(--val), rgba(255, 255, 255, 0.08) var(--val) 100%);
}
#simRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin-top: -9px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--blue);
    box-shadow: 0 0 0 6px rgba(0, 136, 255, 0.18), 0 0 20px rgba(0, 136, 255, 0.7);
    transition: transform 0.2s var(--ease-back);
}
#simRange:active::-webkit-slider-thumb { transform: scale(1.15); }
#simRange::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
#simRange::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
#simRange::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--blue);
    box-shadow: 0 0 0 6px rgba(0, 136, 255, 0.18), 0 0 20px rgba(0, 136, 255, 0.7);
}
.sim-scale {
    position: relative;
    height: 16px;
    font-family: var(--font-data);
    font-size: 0.66rem;
    color: var(--grey);
}
.sim-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.sim-scale span:nth-child(1) { left: 12px; }
.sim-scale span:nth-child(2) { left: calc(12px + (100% - 24px) * 0.4444); }
.sim-scale span:nth-child(3) { left: calc(100% - 12px); }

/* Mini-bornes du simulateur */
.sim-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}
.sim-b {
    position: relative;
    height: 76px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0a0f17;
    opacity: 0.35;
    transition: opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.sim-b::before {           /* écran */
    content: "";
    position: absolute;
    top: 8px;
    left: 22%;
    right: 22%;
    height: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.sim-b::after {            /* jauge */
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 4px;
    height: 38px;
    margin-left: -2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    transform-origin: bottom;
}
.sim-b i {                 /* prises */
    position: absolute;
    bottom: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.sim-b i:nth-child(1) { left: 16%; }
.sim-b i:nth-child(2) { right: 16%; }
.sim-b.is-on {
    opacity: 1;
    border-color: rgba(0, 136, 255, 0.55);
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.16), #0a0f17);
    box-shadow: 0 0 22px -6px rgba(0, 136, 255, 0.7);
}
.sim-b.is-on::before { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.sim-b.is-on::after {
    background: linear-gradient(0deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 8px var(--blue);
    animation: simLevel 2.6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -0.3s);
}
.sim-b.is-on i { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.sim-b.just-on { animation: pop 0.5s var(--ease-back); }
@keyframes simLevel {
    0%, 100% { transform: scaleY(0.25); }
    50% { transform: scaleY(1); }
}
@keyframes pop {
    0% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

.sim-out {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 18px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.sim-out dt {
    font-family: var(--font-data);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}
.sim-out dd {
    margin: 6px 0 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.sim-out dd.sim-cost { font-size: 1.35rem; padding-top: 0.3rem; transition: color 0.4s ease; }
.sim-cost[data-state="ok"] { color: #6ee7b7; }
.sim-cost[data-state="hint"] { color: #ffb54d; }
.sim-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.sim-tip svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sim-tip[data-state="ok"] {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.sim-tip[data-state="hint"] {
    color: #ffb54d;
    background: rgba(255, 149, 0, 0.05);
    border: 1px dashed rgba(255, 149, 0, 0.35);
}


/* ==========================================================================
   14. CÔTÉ CONDUCTEURS (téléphone animé)
   ========================================================================== */
.drivers-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.drivers-text { min-width: 0; }
.drivers-text .section-head { gap: 18px; }

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
}
.flow-step { transition: opacity 0.4s ease; }
.motion .flow-step:not(.is-active) { opacity: 0.45; }
.flow-step button {
    position: relative;
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 18px 22px 18px 26px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.4s ease, border-color 0.4s ease;
}
.flow-step.is-active button {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.025);
}
.flow-step button:hover { background: rgba(255, 255, 255, 0.03); }
.flow-step strong { font-size: 1.2rem; font-weight: 800; }
.flow-step button > span:last-child { color: var(--grey); font-size: 0.95rem; }
.flow-bar {
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.flow-bar i {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 8px var(--blue);
    transform: scaleY(0);
    transform-origin: top;
}
.flow-step.is-active .flow-bar i { transform: scaleY(1); }
.motion .flow-step.is-active .flow-bar i {
    animation: flowFill var(--flow-dur, 4200ms) linear forwards;
}
.flow-steps.is-paused .flow-bar i { animation-play-state: paused; }
@keyframes flowFill {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.phone-stage {
    position: relative;
    display: grid;
    place-items: center;
    padding-block: 20px;
}
.phone-glow {
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    max-width: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.26), transparent 65%);
    filter: blur(20px);
    animation: pulse 4s ease-in-out infinite;
}
.phone {
    position: relative;
    width: min(290px, 76vw);
    aspect-ratio: 9 / 19;
    padding: 11px;
    border-radius: 46px;
    background: linear-gradient(145deg, #1f2631, #0b0f15);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.09),
        0 0 0 1px #04060a,
        0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.phone-notch {
    position: absolute;
    top: 21px;
    left: 50%;
    z-index: 3;
    width: 88px;
    height: 26px;
    margin-left: -44px;
    border-radius: 20px;
    background: #000;
}
.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #070b12;
}
.screen {
    position: absolute;
    inset: 0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 62px 18px 22px;
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-expo);
    pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; }
.screen.is-leaving { opacity: 0; transform: translateX(-24px) scale(0.98); }
.screen-top { text-align: center; font-weight: 700; font-size: 0.9rem; }

/* Écran 1 : scan */
.scan-cam {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, 0.07), transparent 50%),
        radial-gradient(ellipse at 75% 85%, rgba(0, 136, 255, 0.14), transparent 55%),
        linear-gradient(160deg, #111721, #06090e);
}
.scan-frame {
    position: relative;
    width: 76%;
    aspect-ratio: 1;
    margin: 18px auto 0;
}
.scan-frame i {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid #fff;
    animation: corners 1.8s var(--ease-inout) infinite alternate;
}
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
@keyframes corners {
    from { scale: 1; }
    to   { scale: 0.9; }
}
.scan-qr {
    position: absolute;
    inset: 17%;
    width: 66%;
    height: 66%;
    border-radius: 8px;
    background: #f5f7fa;
}
.scan-laser {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 12%;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-bright);
    box-shadow: 0 0 12px 2px var(--blue);
    animation: laser 1.6s ease-in-out infinite alternate;
}
@keyframes laser {
    from { top: 12%; }
    to   { top: 86%; }
}
.scan-sheet {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 19, 29, 0.92);
}
.scan-sheet strong { display: block; font-size: 0.82rem; }
.scan-sheet span { display: block; color: var(--grey); font-size: 0.7rem; }
.motion .screen-scan .scan-sheet { opacity: 0; }
.motion .screen-scan.is-active .scan-sheet { animation: sheetUp 0.6s var(--ease-back) 1.5s both; }
@keyframes sheetUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

/* Écran 2 : paiement */
.pay-rows p {
    display: flex;
    justify-content: space-between;
    padding: 10px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
}
.pay-rows span { color: var(--grey); }
.pay-rows b { font-weight: 600; }
.pay-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    height: 116px;
    padding: 16px;
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(79, 195, 255, 0.55), transparent 55%),
        linear-gradient(135deg, #0a3a78, #0088ff);
    box-shadow: 0 16px 30px -14px rgba(0, 136, 255, 0.7);
    font-size: 0.72rem;
}
.pay-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
}
.pay-num { font-family: var(--font-data); font-size: 0.82rem; letter-spacing: 0.08em; }
.pay-btn {
    position: relative;
    display: grid;
    place-items: center;
    height: 50px;
    margin-top: auto;
    border-radius: 14px;
    background: var(--blue);
    font-weight: 700;
    font-size: 0.82rem;
    overflow: hidden;
}
.pay-btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; }
.pay-btn-done svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pay-btn-done { opacity: 0; }
.screen-pay.is-active .pay-btn { animation: payPress 2.4s var(--ease) 0.9s both; }
.screen-pay.is-active .pay-btn-label { animation: labelOut 0.3s ease 2.05s both; }
.screen-pay.is-active .pay-btn-done { animation: labelIn 0.45s var(--ease-back) 2.15s both; }
@keyframes payPress {
    0%   { transform: none; background: var(--blue); }
    30%  { transform: scale(0.95); background: var(--blue-bright); }
    45%  { transform: none; background: var(--blue); }
    55%, 100% { background: var(--green); }
}
@keyframes labelOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes labelIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
.pay-note { text-align: center; color: var(--grey); font-size: 0.66rem; }

/* Écran 3 : recharge */
.ring {
    position: relative;
    width: 76%;
    aspect-ratio: 1;
    margin: 14px auto 4px;
}
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-track { stroke: rgba(255, 255, 255, 0.07); }
.ring-fill {
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 189.5;
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.9));
    transition: stroke-dashoffset 0.4s linear;
}
.ring-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.ring-val small { font-size: 1rem; color: var(--grey); margin-left: 2px; }
.charge-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
}
.charge-stats b {
    display: block;
    font-family: var(--font-data);
    font-weight: 500;
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}
.charge-stats span {
    font-family: var(--font-data);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
}
.charge-stop {
    display: grid;
    place-items: center;
    height: 46px;
    margin-top: auto;
    border: 1px solid rgba(255, 69, 58, 0.35);
    border-radius: 14px;
    background: rgba(255, 59, 48, 0.08);
    color: #ff6961;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Chiffres clés */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(64px, 8vw, 110px);
    border-block: 1px solid var(--line);
}
.stat { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-val {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.stat-lbl {
    margin-top: 8px;
    font-family: var(--font-data);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
}

.drivers-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}
/* Encadré "bientôt" (ton .dc-notice-cell) */
.dc-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px dashed rgba(255, 149, 0, 0.35);
    border-radius: 999px;
    background: rgba(255, 149, 0, 0.05);
    color: var(--orange);
    font-weight: 700;
    font-size: 0.85rem;
}
.dc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
    animation: ledBlink 1.6s ease-in-out infinite;
}


/* ==========================================================================
   15. POUR QUI (panneaux extensibles)
   ========================================================================== */
.sectors {
    display: flex;
    gap: 14px;
    height: 420px;
}
.sector {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 0.8s var(--ease-expo), border-color 0.4s ease, background-color 0.4s ease;
}
.sector::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0, 136, 255, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.sector.is-open { flex-grow: 2.4; border-color: rgba(0, 136, 255, 0.45); }
.sector.is-open::before { opacity: 1; }
.sector-icon {
    position: relative;
    width: 56px;
    height: 56px;
    fill: none;
    stroke: var(--grey);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: left top;
    transition: stroke 0.4s ease, transform 0.6s var(--ease-back), filter 0.4s ease;
}
.sector.is-open .sector-icon {
    stroke: var(--blue-bright);
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.6));
}
.sector-body { position: relative; }
.sector h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.sector p {
    width: 22rem;
    max-height: 0;
    margin-top: 10px;
    color: var(--grey);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.5s var(--ease), max-height 0.5s ease;
}
.sector.is-open p {
    max-height: 10em;
    opacity: 1;
    transform: none;
    transition-delay: 0.25s;
}


/* ==========================================================================
   16. FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.motion .faq-item[data-reveal] {
    transition: opacity 0.9s var(--ease), transform 0.6s var(--ease-expo), border-color 0.3s ease, box-shadow 0.3s ease;
    transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s;
}
.faq-item:hover,
.motion .faq-item.is-in:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 136, 255, 0.6);
    box-shadow: 0 10px 26px -10px rgba(0, 136, 255, 0.35);
    transition-delay: 0s;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    font-weight: 600;
    font-size: 1.02rem;
    list-style: none;
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 136, 255, 0.45);
    background:
        linear-gradient(var(--blue), var(--blue)) center / 11px 1.6px no-repeat,
        linear-gradient(var(--blue), var(--blue)) center / 1.6px 11px no-repeat;
    transition: transform 0.45s var(--ease-back), background-color 0.3s ease;
}
.faq-item:hover summary,
.faq-item[open] summary { color: var(--blue-bright); }
.faq-item[open] summary::after { transform: rotate(135deg); background-color: rgba(0, 136, 255, 0.12); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { max-width: 62ch; color: var(--grey); line-height: 1.7; }


/* ==========================================================================
   17. CONTACT
   ========================================================================== */
.section--contact {
    background:
        radial-gradient(ellipse 800px 520px at 12% 30%, rgba(0, 136, 255, 0.12), transparent 60%),
        var(--bg);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.contact-title {
    margin: 18px 0 22px;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
}
.contact-list li > div { min-width: 0; }
.contact-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 136, 255, 0.1);
    color: var(--blue-bright);
}
.contact-ico svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-lbl {
    display: block;
    font-family: var(--font-data);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}
.contact-val {
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    user-select: all;
}
a.contact-val:hover { color: var(--blue-bright); }
.copy-btn {
    flex: none;
    margin-left: auto;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.copy-btn:hover { border-color: var(--blue); background: rgba(0, 136, 255, 0.08); }
.copy-btn.is-done { border-color: var(--green); color: var(--green); }

/* Formulaire (ton .contact-form-card) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
}
.form-title { margin-bottom: 6px; font-size: 1.35rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; min-width: 0; }
.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    padding: 24px 16px 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}
.field select option { background: var(--card); color: var(--text); }
.field label {
    position: absolute;
    left: 17px;
    top: 16px;
    max-width: calc(100% - 34px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--grey);
    font-size: 0.92rem;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.3s var(--ease), color 0.3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.2);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
    transform: translateY(-9px) scale(0.76);
    color: var(--blue-bright);
}
.was-validated .field :invalid { border-color: rgba(255, 69, 58, 0.6); }

/* Bouton d'envoi (ton .btn-submit) avec barre de charge pendant l'envoi */
.btn-submit {
    position: relative;
    width: 100%;
    margin-top: 6px;
    padding: 16px;
    border: 0;
    border-radius: 12px;
    background: var(--blue);
    color: var(--bg);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.btn-submit:hover {
    background: var(--blue-deep);
    color: var(--text);
    box-shadow: 0 6px 22px rgba(0, 136, 255, 0.45);
}
.btn-submit-label { position: relative; }
.btn-submit-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
    transform: scaleX(0);
    transform-origin: left;
}
.btn-submit.is-loading { color: var(--text); cursor: progress; }
.btn-submit.is-loading .btn-submit-fill { animation: submitCharge 1.2s var(--ease) infinite; }
@keyframes submitCharge {
    0%   { transform: scaleX(0); transform-origin: left; }
    50%  { transform: scaleX(1); transform-origin: left; }
    51%  { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

.form-status {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: sheetUp 0.5s var(--ease-back);
}
.form-status[data-state="success"] { color: #6ee7b7; background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.3); }
.form-status[data-state="error"]   { color: #ff8a80; background: rgba(255, 69, 58, 0.08); border: 1px solid rgba(255, 69, 58, 0.3); }
.form-status[data-state="info"]    { color: #ffb54d; background: rgba(255, 149, 0, 0.05); border: 1px dashed rgba(255, 149, 0, 0.35); }


/* ==========================================================================
   18. PIED DE PAGE
   ========================================================================== */
.footer {
    position: relative;
    padding-top: 80px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    overflow: hidden;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 48px;
}
.footer-brand p { max-width: 22em; margin-top: 16px; color: var(--grey); font-size: 0.95rem; }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.footer-cols div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-h {
    margin-bottom: 4px;
    font-family: var(--font-data);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
}
.footer-cols a,
.footer-cols span {
    color: var(--text-2);
    font-size: 0.92rem;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}
.footer-cols a:hover { color: var(--blue-bright); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--grey);
    font-size: 0.8rem;
}
.footer-bottom a { color: var(--grey); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue-bright); }
.footer-coords { font-family: var(--font-data); font-size: 0.72rem; }

/* Grand logo coupé en bas */
.footer-mark {
    margin-top: 40px;
    margin-bottom: -0.2em;
    text-align: center;
    line-height: 0.8;
    font-size: clamp(4rem, 17vw, 17rem);
    user-select: none;
    pointer-events: none;
}
.footer-mark span {
    display: inline-block;
    padding-top: 0.14em;    /* laisse de la place aux points du Ï */
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, var(--blue-bright) 0%, rgba(0, 136, 255, 0.45) 45%, rgba(0, 136, 255, 0) 90%) 0 0 / 100% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
}
.motion .footer-mark span { background-size: 0% 100%; }
.motion .footer-mark.is-in span {
    background-size: 100% 100%;
    transition: background-size 2.4s var(--ease-charge) 0.2s;
}


/* ==========================================================================
   19. ADAPTATIONS ÉCRANS (tablette et mobile)
   ========================================================================== */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { min-height: 520px; width: 100%; max-width: 600px; margin-inline: auto; }
}

@media (max-width: 960px) {
    .span-7, .span-5 { grid-column: 1 / -1; }
    .model-grid,
    .drivers-grid,
    .contact-grid,
    .footer-top { grid-template-columns: minmax(0, 1fr); }
    .sim-card { position: relative; top: 0; }

    .sectors { flex-direction: column; height: auto; }
    .sector { flex: none; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
    .sector.is-open { flex-grow: 0; }
    .sector p { width: auto; max-height: none; opacity: 1; transform: none; }
    .sector.is-open .sector-icon { transform: none; }
}

@media (max-width: 760px) {
    .section-head { display: flex; flex-direction: column; align-items: flex-start; }

    .timeline-cable { left: 26px; }
    .step { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; }
    .step-node { grid-column: 1; }
    .step:nth-child(odd) .step-card,
    .step:nth-child(even) .step-card { grid-column: 2; }
    .step-card { padding: 22px; }

    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

    .form-row { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .nav-btn-long { display: none; }
    .nav-btn-short { display: inline; }

    .hero { padding-block: calc(var(--nav-h) + 40px + env(safe-area-inset-top, 0px)) 96px; }
    .hero-ctas .btn-main,
    .hero-ctas .btn-ghost { flex: 1 1 100%; }
    .hero-visual { min-height: 460px; }
    .borne-wrap { width: min(260px, 70vw); }
    .borne-wrap { margin-right: 0; }
    .fc-session { top: 0; width: 170px; padding: 12px; }
    .fc-power { font-size: 1.5rem; }
    .fc-ocpp { bottom: 0; width: min(236px, 72%); padding: 12px; }
    .fc-ocpp .ocpp-log { --lines: 3 !important; }
    .fc-pay { display: none; }

    .service-visual { height: 190px; padding: 18px; }
    .service-body { padding: 24px 22px 26px; }
    .roles { grid-template-columns: minmax(0, 1fr); }
    .sim-grid { gap: 8px; }
    .sim-b { height: 62px; }
    .stat { padding: 24px 16px; }
    .sector { grid-template-columns: minmax(0, 1fr); }
    .faq-item summary { padding: 18px 20px; }
    .faq-answer { padding: 0 20px 20px; }
    .contact-list li { flex-wrap: wrap; }
}


/* ==========================================================================
   20. ACCESSIBILITÉ : "réduire les animations"
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .cursor-glow { display: none; }
}


/* ==========================================================================
   21. PAGE "CARTE BIENTÔT" (carte-bientot.html)
   Le câble avance, se branche, puis "Charge en cours" se remplit jusqu'à 99 %.
   ========================================================================== */
.nav-back {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--grey);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s var(--ease-back);
}
.nav-back:hover { color: var(--text); }
.nav-back:hover svg { transform: translateX(-4px); }

.soon {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: calc(var(--nav-h) + 24px + env(safe-area-inset-top, 0px)) calc(32px + env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(ellipse 900px 520px at 50% 32%, rgba(0, 136, 255, 0.16), transparent 62%),
        radial-gradient(ellipse 1100px 500px at 50% 100%, rgba(0, 136, 255, 0.06), transparent 60%),
        var(--bg);
    text-align: center;
}
.soon .ambient-grid {
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
}
.soon-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* Scène SVG */
.soon-scene {
    display: block;
    width: min(980px, 100%);
    height: auto;
    overflow: visible;
    margin-bottom: 6px;
}
.soon-cable { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.soon-cable--base { stroke: #10151c; stroke-width: 12; }
.soon-cable--shine { stroke: rgba(255, 255, 255, 0.07); stroke-width: 2; transform: translateY(-2px); }
.soon-flow {
    fill: none;
    stroke: var(--blue-bright);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 6 18;
    filter: drop-shadow(0 0 4px var(--blue));
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: cableFlow 1.4s linear infinite;
}
.soon-packet {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--blue-bright)) drop-shadow(0 0 14px var(--blue));
    opacity: 0;
}
.plug-led { fill: #2a3240; transition: fill 0.4s ease; }
.inlet-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 3;
    transition: stroke 0.5s ease, filter 0.5s ease;
}
.inlet-spin {
    fill: none;
    stroke: var(--blue-bright);
    stroke-width: 1.5;
    stroke-dasharray: 4 10;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 8s linear infinite;
    transition: opacity 0.6s ease;
}
@keyframes spin { to { transform: rotate(360deg); } }
.soon-car-glow { opacity: 0; transition: opacity 1.2s ease; }
.soon-flash {
    fill: url(#sFlash);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}
.soon-spark {
    fill: var(--blue-bright);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}
.soon-arc {
    fill: none;
    stroke: var(--blue-bright);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 22 340;
    filter: drop-shadow(0 0 4px rgba(79, 195, 255, 0.9)) drop-shadow(0 0 10px rgba(0, 136, 255, 0.6));
    opacity: 0;
}

/* État "branché" (classe ajoutée par script.js, ou directement sans animation) */
.is-plugged .soon-flow,
.is-plugged .soon-packet { opacity: 1; }
.is-plugged .plug-led { fill: var(--teal); filter: drop-shadow(0 0 4px var(--teal)); animation: ledBlink 1.6s ease-in-out infinite; }
.is-plugged .inlet-ring { stroke: var(--blue); filter: drop-shadow(0 0 8px var(--blue)); }
.is-plugged .inlet-spin { opacity: 0.8; }
.is-plugged .soon-car-glow { opacity: 1; animation: pulse 3s ease-in-out 1.2s infinite; }
.is-plugged .soon-flash { animation: flash 0.9s var(--ease-expo) both; }
.is-plugged .soon-spark { animation: sparkFly 0.9s var(--ease-expo) var(--sd, 0s) both; }
.is-plugged .soon-arc:nth-of-type(1) { animation: crackle 2.6s ease-in-out 1s infinite; }
.is-plugged .soon-arc:nth-of-type(2) { animation: crackle 3.1s ease-in-out 1.6s infinite; }
.is-plugged .soon-arc:nth-of-type(3) { animation: crackle 2.3s ease-in-out 2.2s infinite; }
@keyframes flash {
    0%   { opacity: 1; transform: scale(0.2); }
    100% { opacity: 0; transform: scale(2.6); }
}
@keyframes sparkFly {
    0%   { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

/* Titre "Charge en cours" : le bleu remplit le texte (--fill-s est piloté par script.js) */
.soon-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 6.4vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.soon-charge {
    --fill-s: 99%;
    padding-top: 0.1em;
    background:
        linear-gradient(90deg, var(--blue), var(--blue-bright)) 0 0 / var(--fill-s) 100% no-repeat,
        linear-gradient(var(--text), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.3));
}
.soon-full .soon-charge { animation: soonGlow 2.4s ease-in-out infinite; }
@keyframes soonGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.25)); }
    50%      { filter: drop-shadow(0 0 22px rgba(0, 136, 255, 0.65)); }
}
.soon-dots i {
    font-style: normal;
    color: var(--blue-bright);
    animation: dotBlink 1.4s ease-in-out infinite;
}
.soon-dots i:nth-child(2) { animation-delay: 0.2s; }
.soon-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBlink {
    0%, 100% { opacity: 0.15; }
    40%      { opacity: 1; }
}

.soon-meter {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(460px, 100%);
}
.soon-bar {
    position: relative;
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
}
.soon-bar span {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--blue-bright));
    box-shadow: 0 0 12px var(--blue);
    transform: scaleX(0.99);
    transform-origin: left;
    overflow: hidden;
}
.soon-bar span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 1.8s ease-in-out infinite;
}
.soon-pct {
    min-width: 4.5ch;
    font-family: var(--font-data);
    font-size: 0.95rem;
    text-align: right;
    color: var(--blue-bright);
    font-variant-numeric: tabular-nums;
}
.soon-full .soon-pct { animation: ledBlink 1.6s ease-in-out infinite; }
.soon-notice { margin-top: 6px; }
.soon-sub { max-width: 34em; color: var(--grey); }
.soon-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.soon-foot {
    margin-top: 18px;
    font-family: var(--font-data);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--grey-dim);
}

/* Entrée des blocs (délai --d défini dans le HTML) */
.motion .soon-step { opacity: 0; transform: translateY(18px); }
.motion .is-loaded .soon-step {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1s var(--ease-expo) var(--d, 0s);
}

@media (max-width: 520px) {
    .nav-back span { display: none; }
    .soon-inner { gap: 18px; }
    .soon-ctas .btn-main,
    .soon-ctas .btn-ghost { flex: 1 1 100%; }
}


/* ==========================================================================
   22. BRANCHE PARTICULIERS (particuliers.html) + sélecteur Pros / Particuliers
   ========================================================================== */

/* Sélecteur Professionnels / Particuliers */
.audience {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 26px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}
.audience-opt {
    position: relative;
    z-index: 1;
    padding: 8px 18px;
    border-radius: 999px;
    color: var(--grey);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.35s ease;
}
.audience-opt:hover { color: var(--text); }
.audience-opt.is-active { color: #fff; }
.audience-thumb {
    position: absolute;
    z-index: 0;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 4px 18px rgba(0, 136, 255, 0.45);
    transition: transform 0.5s var(--ease-expo);
}
.audience[data-active="1"] .audience-thumb { transform: translateX(100%); }
.motion .audience { opacity: 0; transform: translateY(16px); }
.motion .is-loaded .audience {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-expo);
}

/* Lien vers l'autre branche dans le menu latéral */
.sidebar-alt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--grey);
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.sidebar-alt span { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.sidebar-alt:hover { border-color: var(--blue); background: rgba(0, 136, 255, 0.06); }

/* Visuel du hero : borne murale */
.wb-level {
    transform-box: fill-box;
    transform-origin: 0% 50%;
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.8));
    animation: wbLevel 6s var(--ease-inout) infinite;
}
@keyframes wbLevel {
    0%   { transform: scaleX(0.12); }
    80%  { transform: scaleX(1); opacity: 1; }
    92%  { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0.12); opacity: 0.6; }
}
.breaker-on { filter: drop-shadow(0 0 4px var(--blue)); animation: ledBlink 2s ease-in-out infinite; }
.inlet-lit { filter: drop-shadow(0 0 6px var(--blue)); animation: pulse 2.4s ease-in-out infinite; }

/* Carte "contrôle de mise en service" */
.fc-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fc-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
    font-size: 0.76rem;
    font-weight: 500;
}
.fc-tick {
    flex: none;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.45);
}
.fc-tick svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: var(--green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.motion .fc-list li { opacity: 0.3; }
.motion .fc-list .fc-tick { transform: scale(0); }
.motion .is-loaded .fc-list li {
    opacity: 1;
    transition: opacity 0.4s ease calc(1.8s + var(--i) * 0.5s);
}
.motion .is-loaded .fc-list .fc-tick {
    transform: none;
    transition: transform 0.5s var(--ease-back) calc(1.8s + var(--i) * 0.5s);
}

/* Cartes de prestations compactes (3 colonnes) */
.span-4 { grid-column: span 4; }
.service-card--compact .service-body { padding-top: 30px; }
.service-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 136, 255, 0.3);
    background: radial-gradient(circle at 30% 20%, rgba(0, 136, 255, 0.25), rgba(0, 136, 255, 0.05));
}
.service-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--blue-bright);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.6));
    transition: transform 0.5s var(--ease-back);
}
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(-4deg); }

/* Simulateur de puissance */
.power-card { display: flex; flex-direction: column; gap: 18px; }
.power-options {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
}
.power-options button {
    position: relative;
    z-index: 1;
    padding: 12px 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--grey);
    font-family: var(--font-data);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.power-options button:hover { color: var(--text); }
.power-options button.is-active { color: #fff; }
.power-thumb {
    position: absolute;
    z-index: 0;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 4);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--blue-bright), var(--blue));
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.45);
    transform: translateX(calc(var(--pos, 1) * 100%));
    transition: transform 0.5s var(--ease-expo);
}
.power-km { display: flex; align-items: center; gap: 14px; line-height: 1; }
.power-km > span {
    font-size: clamp(3.2rem, 7vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue-bright);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 28px rgba(0, 136, 255, 0.5);
}
.power-km small { color: var(--grey); font-size: 0.9rem; line-height: 1.4; }
.power-bar {
    position: relative;
    height: 8px;
    border-radius: 8px;
    background: var(--line);
    overflow: hidden;
}
.power-bar span {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--blue-bright));
    box-shadow: 0 0 14px var(--blue);
    transform: scaleX(0.34);
    transform-origin: left;
    transition: transform 0.7s var(--ease-expo);
    overflow: hidden;
}
.power-bar span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: shimmer 1.8s ease-in-out infinite;
}
.power-card .sim-out { margin: 0; }
.power-foot { color: var(--grey-dim); font-size: 0.75rem; }

/* Bloc "en déplacement" */
.network-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 90% at 0% 0%, rgba(0, 136, 255, 0.14), transparent 60%),
        var(--card);
}
.network-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.network-stats { grid-template-columns: minmax(0, 1fr); margin-top: 0; border-block: 0; }
.network-stats .stat { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
.network-stats .stat:first-child { border-top: 0; }

@media (max-width: 960px) {
    .span-4 { grid-column: 1 / -1; }
    .network-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .audience-opt { padding: 8px 12px; font-size: 0.78rem; }
    .power-options button { font-size: 0.74rem; }
    .power-km { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Placement des cartes autour de la borne murale (page Particuliers) */
.hero-visual--home .borne-wrap { margin-right: 0; margin-left: 12%; }
.hero-visual--home .fc-checks { right: auto; left: 0; bottom: 3%; width: 262px; }
.service-icon svg { width: 34px; height: 34px; stroke-width: 2.6; }
@media (max-width: 520px) {
    .hero-visual--home .borne-wrap { margin-left: 0; }
    .hero-visual--home .fc-checks { width: min(220px, 64%); }
}


/* ==========================================================================
   23. MENTIONS LÉGALES (mentions-legales.html) + formulaire : piège à robots et mention RGPD
   ========================================================================== */
/* Formulaire */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 0; color: var(--grey-dim); font-size: 0.78rem; line-height: 1.5; }
.form-legal a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover { color: var(--blue-bright); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }

/* Page */
.legal { position: relative; padding: calc(var(--nav-h) + 70px) 0 110px; }
.legal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 520px;
    background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0, 136, 255, 0.14), transparent 70%);
    pointer-events: none;
}
.legal .container { position: relative; }
.legal-title {
    margin: 18px 0 0;
    font-size: clamp(2.3rem, 5.6vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.legal-title .muted { color: var(--grey-dim); }
.legal-updated { margin: 18px 0 0; color: var(--grey); font-family: var(--font-data); font-size: 0.78rem; }

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 10px;
    padding: 0;
}
.legal-toc a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.legal-toc a span { color: var(--blue-bright); font-family: var(--font-data); font-size: 0.7rem; }
.legal-toc a:hover { border-color: rgba(0, 136, 255, 0.5); background: rgba(0, 136, 255, 0.08); color: var(--text); }

.legal-block {
    scroll-margin-top: calc(var(--nav-h) + 20px);
    margin-top: 28px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--card);
}
.legal-block h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.legal-block h2 span { color: var(--blue-bright); font-family: var(--font-data); font-size: 0.8rem; font-weight: 500; }
.legal-block h3 { margin: 26px 0 8px; color: var(--text); font-size: 1rem; font-weight: 700; }
.legal-block p, .legal-block li { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.legal-block p { margin: 0 0 12px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { margin: 0 0 12px; padding-left: 20px; }
.legal-block li { margin: 4px 0; }
.legal-block strong { color: var(--text); }
.legal-block a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

.legal-list { display: grid; margin: 0; }
.legal-list > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.legal-list > div:first-child { border-top: 0; padding-top: 0; }
.legal-list dt { color: var(--grey); font-size: 0.86rem; font-weight: 600; }
.legal-list dd { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.55; }

/* Passages à compléter : bien visibles tant qu'ils sont là */
mark.todo {
    display: inline;
    padding: 2px 8px;
    border: 1px dashed rgba(255, 181, 77, 0.7);
    border-radius: 6px;
    background: rgba(255, 149, 0, 0.12);
    color: #ffcf8a;
    font-size: 0.86em;
    font-weight: 600;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@media (max-width: 640px) {
    .legal { padding-top: calc(var(--nav-h) + 40px); }
    .legal-list > div { grid-template-columns: minmax(0, 1fr); }
}
