        /* ════════════════════════════════════════════════════════════
           TOKENS — clair / sombre. Les composants ne lisent QUE ces
           variables ; le thème sombre ne fait que les redéfinir.
        ════════════════════════════════════════════════════════════ */
        :root {
            --bg: #F6F7FB;
            --surface: #FFFFFF;
            --surface-2: #EEF1F8;
            --ink: #0D0F1A;
            --ink-2: #3A3D52;
            --muted: #6B6F87;
            --line: rgba(13,15,26,.09);
            --line-2: rgba(13,15,26,.15);
            --primary: #0B2FA5;
            --primary-2: #1A4FD0;
            --primary-soft: rgba(11,47,165,.08);
            --accent: #00C8A0;
            --accent-ink: #007A60;
            --accent-soft: rgba(0,200,160,.12);
            --gold: #F5A623;
            --gold-ink: #A96C00;
            --danger: #C23B3B;
            --hero-a: #040D2E;
            --hero-b: #0B2FA5;
            --hero-c: #0E7DE8;
            --shadow-1: 0 1px 2px rgba(13,15,26,.04), 0 6px 20px rgba(11,47,165,.07);
            --shadow-2: 0 2px 6px rgba(13,15,26,.05), 0 18px 44px rgba(11,47,165,.14);
            --f-display: 'Plus Jakarta Sans', system-ui, sans-serif;
            --f-body: 'DM Sans', system-ui, sans-serif;
            --r-sm: 10px;
            --r-md: 16px;
            --r-lg: 24px;
            --r-pill: 999px;
            --nav-h: 72px;
        }

        :root[data-theme="dark"] {
            --bg: #070B1C;
            --surface: #0E1430;
            --surface-2: #151D42;
            --ink: #EEF1FA;
            --ink-2: #BAC2DC;
            --muted: #8A93B3;
            --line: rgba(255,255,255,.08);
            --line-2: rgba(255,255,255,.14);
            --primary: #6E8FFF;
            --primary-2: #8FA9FF;
            --primary-soft: rgba(110,143,255,.12);
            --accent: #19E0B5;
            --accent-ink: #3DEBC4;
            --accent-soft: rgba(25,224,181,.12);
            --gold-ink: #FFC25C;
            --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
            --shadow-2: 0 2px 8px rgba(0,0,0,.35), 0 20px 50px rgba(0,0,0,.4);
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--f-body);
            color: var(--ink);
            background: var(--bg);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            transition: background .3s ease, color .3s ease;
            overflow-x: hidden;
        }
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; display: block; }
        button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
        :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
        section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

        .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
        .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

        /* ── Boutons ─────────────────────────────────────────────── */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 9px;
            font-weight: 600; font-size: .93rem; border-radius: var(--r-pill);
            padding: 13px 24px; white-space: nowrap;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
        }
        .btn:hover { transform: translateY(-2px); }
        .btn-primary { background: linear-gradient(135deg, #0B2FA5, #1A4FD0 60%, #0E7DE8); color: #fff; box-shadow: 0 8px 22px rgba(11,47,165,.32); }
        .btn-accent { background: var(--accent); color: #062A22; box-shadow: 0 8px 22px rgba(0,200,160,.30); }
        .btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
        .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
        .btn-outline { color: var(--primary); border: 1.5px solid var(--line-2); background: var(--surface); }
        .btn-outline:hover { border-color: var(--primary); }
        .btn-sm { padding: 9px 16px; font-size: .86rem; }

        /* ── Typographie ─────────────────────────────────────────── */
        .eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: .76rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
            color: var(--primary); margin-bottom: 14px;
        }
        .eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
        .h2 {
            font-family: var(--f-display); font-weight: 800;
            font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em;
            text-wrap: balance;
        }
        .lead { font-size: 1.06rem; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
        .sec { padding: 104px 0; }
        .sec-head { max-width: 760px; margin-bottom: 48px; }
        .sec-head.center { margin-inline: auto; text-align: center; }
        .sec-head.center .lead { margin-inline: auto; }

        /* ── Révélation au défilement ────────────────────────────── */
        .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
        .rv.in { opacity: 1; transform: none; }
        .rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

        /* ════════════════════════════════════════════════════════════
           NAVIGATION
        ════════════════════════════════════════════════════════════ */
        #nav {
            position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
            transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
        }
        #nav.scrolled {
            background: color-mix(in srgb, var(--surface) 86%, transparent);
            backdrop-filter: blur(14px) saturate(1.4);
            box-shadow: 0 1px 0 var(--line);
        }
        #nav-progress { position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--primary-2)); transform-origin: left; transform: scaleX(0); }
        [dir="rtl"] #nav-progress { transform-origin: right; }
        .nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
        .nav-logo { display: flex; align-items: center; flex-shrink: 0; }
        .nav-logo img { height: 36px; width: auto; }
        .nav-logo .logo-dark { display: none; }
        /* Repli texte si le logo image ne charge pas (fichier absent du serveur). */
        .logo-word { display: none; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: #fff; }
        .logo-word span { color: var(--accent); }
        #nav.scrolled .logo-word { color: var(--ink); }
        .nav-logo.logo-txt img { display: none !important; }
        .nav-logo.logo-txt .logo-word { display: inline; }
        #nav.scrolled .nav-logo .logo-light { display: none; }
        #nav.scrolled .nav-logo .logo-dark { display: block; }
        [data-theme="dark"] #nav.scrolled .nav-logo .logo-light { display: block; }
        [data-theme="dark"] #nav.scrolled .nav-logo .logo-dark { display: none; }

        .nav-links { display: flex; gap: 4px; list-style: none; margin-inline: auto; }
        .nav-links a {
            display: block; padding: 8px 14px; border-radius: var(--r-pill);
            font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.82);
            transition: background .2s ease, color .2s ease;
        }
        .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
        .nav-links a.active { color: #fff; background: rgba(255,255,255,.14); }
        #nav.scrolled .nav-links a { color: var(--ink-2); }
        #nav.scrolled .nav-links a:hover { color: var(--primary); background: var(--primary-soft); }
        #nav.scrolled .nav-links a.active { color: var(--primary); background: var(--primary-soft); }

        .nav-right { display: flex; align-items: center; gap: 8px; }
        .icon-btn {
            width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
            color: #fff; border: 1px solid rgba(255,255,255,.22); transition: background .2s, border-color .2s, color .2s;
        }
        .icon-btn:hover { background: rgba(255,255,255,.12); }
        #nav.scrolled .icon-btn { color: var(--ink-2); border-color: var(--line-2); }
        #nav.scrolled .icon-btn:hover { background: var(--primary-soft); color: var(--primary); }
        .theme-btn .fa-sun { display: none; }
        [data-theme="dark"] .theme-btn .fa-sun { display: inline; }
        [data-theme="dark"] .theme-btn .fa-moon { display: none; }

        .locale-switcher {
            height: 40px; padding: 0 30px 0 12px; border-radius: var(--r-pill);
            border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff;
            font: 600 .85rem var(--f-body); cursor: pointer; appearance: none;
            background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
            background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
            background-size: 5px 5px; background-repeat: no-repeat;
        }
        [dir="rtl"] .locale-switcher { padding: 0 12px 0 30px; background-position: 15px 52%, 10px 52%; }
        .locale-switcher option { color: #0D0F1A; }
        #nav.scrolled .locale-switcher { color: var(--ink-2); border-color: var(--line-2); }
        .nav-login { color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
        #nav.scrolled .nav-login { color: var(--primary); border-color: var(--line-2); }

        .hamburger { display: none; }
        .mobile-menu {
            position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 899;
            background: var(--surface); border-bottom: 1px solid var(--line);
            padding: 16px 20px 22px; box-shadow: var(--shadow-2);
            transform: translateY(-12px); opacity: 0; visibility: hidden;
            transition: transform .25s ease, opacity .25s ease, visibility .25s;
        }
        .mobile-menu.open { transform: none; opacity: 1; visibility: visible; }
        .mobile-menu ul { list-style: none; display: grid; gap: 2px; }
        .mobile-menu li a { display: block; padding: 12px 10px; border-radius: var(--r-sm); font-weight: 600; color: var(--ink-2); }
        .mobile-menu li a:hover { background: var(--primary-soft); color: var(--primary); }
        .mobile-menu-bottom { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

        /* ════════════════════════════════════════════════════════════
           HERO — toujours sur fond marine : c'est le moment de marque.
        ════════════════════════════════════════════════════════════ */
        #hero {
            position: relative; overflow: hidden; color: #fff;
            background: linear-gradient(150deg, var(--hero-a) 0%, var(--hero-b) 58%, var(--hero-c) 100%);
            padding: calc(var(--nav-h) + 64px) 0 110px;
        }
        .hero-grid-bg {
            position: absolute; inset: 0; pointer-events: none; opacity: .5;
            background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
            background-size: 56px 56px;
            mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
        }
        .aurora { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
        .aurora-1 { width: 520px; height: 520px; background: #00C8A0; top: -160px; inset-inline-end: -120px; animation: drift1 18s ease-in-out infinite alternate; }
        .aurora-2 { width: 460px; height: 460px; background: #3A6BFF; bottom: -220px; inset-inline-start: -140px; animation: drift2 22s ease-in-out infinite alternate; }
        @keyframes drift1 { to { transform: translate(-80px, 90px) scale(1.12); } }
        @keyframes drift2 { to { transform: translate(90px, -60px) scale(1.08); } }
        .spotlight {
            position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.08), transparent 60%);
        }

        .hero-layout { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
        .hero-pill {
            display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
            border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
            font-size: .82rem; font-weight: 600; backdrop-filter: blur(8px);
        }
        .hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #062A22; display: grid; place-items: center; font-size: .7rem; }
        .hero-h1 {
            font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em;
            font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; margin: 22px 0 20px; text-wrap: balance;
        }
        .rot { position: relative; display: inline-grid; vertical-align: bottom; }
        .rot > span {
            grid-area: 1 / 1; white-space: nowrap;
            background: linear-gradient(100deg, #5CF2D2, #00C8A0 45%, #7FB2FF);
            -webkit-background-clip: text; background-clip: text; color: transparent;
            opacity: 0; transform: translateY(40%); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
        }
        .rot > span.on { opacity: 1; transform: none; }
        .rot > span.off { opacity: 0; transform: translateY(-40%); }
        .hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 54ch; }
        .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
        .hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
        .hero-proof li {
            display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill);
            font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
        }
        .hero-proof i { color: var(--accent); }
        .hero-phones { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: .85rem; color: rgba(255,255,255,.7); }
        .hero-phones a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
        .hero-phones a:hover { color: var(--accent); }

        /* Hero sur le MÊME fond que les sections qui suivent (plus de dégradé
           marine) : textes, puces et bouton secondaire passent en encre de page,
           en clair comme en sombre (jetons --bg / --ink). */
        #hero { color: var(--ink); background: var(--bg); }
        /* Fond du hero : dégradé clair + fond « entreprise » (voir .cl-fond). */
        #hero { background: linear-gradient(180deg, #EAF0FF 0%, #F3F6FD 58%, var(--bg) 100%) !important; }
        [data-theme="dark"] #hero { background: linear-gradient(180deg, #0C1538 0%, #09102B 60%, var(--bg) 100%) !important; --cl-point: rgba(160, 185, 255, .20); --cl-o1: rgba(110, 143, 255, .28); --cl-o2: rgba(25, 224, 181, .18); --cl-o3: rgba(140, 110, 255, .20); --cl-courbe: .5; }
        #hero .hero-layout { z-index: 1; }

/* ── Fond « entreprise » : grille de points, lumières douces, courbe de ventes ──
   Un conteneur .cl-fond (décoratif, aria-hidden) : points en dégradé radial,
   3 halos de couleur CLEVER qui dérivent lentement, et une courbe qui défile.
   Animations en transform uniquement ; figées si « réduire les animations ». */
.cl-fond { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cl-fond::before { content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--cl-point, rgba(11, 47, 165, .22)) 1.1px, transparent 1.6px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 15%, transparent 80%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 15%, transparent 80%); }
.cl-fond .orbe { position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%; will-change: transform;
    animation: cl-orbe 34s ease-in-out infinite alternate; }
.cl-fond .o1 { left: -14vmax; top: -18vmax; background: radial-gradient(circle, var(--cl-o1, rgba(26, 79, 208, .30)), transparent 62%); }
.cl-fond .o2 { right: -16vmax; bottom: -22vmax; background: radial-gradient(circle, var(--cl-o2, rgba(0, 200, 160, .26)), transparent 62%); animation-duration: 42s; animation-delay: -12s; }
.cl-fond .o3 { right: 8vmax; top: -10vmax; width: 34vmax; height: 34vmax; background: radial-gradient(circle, var(--cl-o3, rgba(110, 80, 255, .16)), transparent 64%); animation-duration: 50s; animation-delay: -25s; }
@keyframes cl-orbe { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7vmax, 5vmax, 0) scale(1.12); } }
.cl-fond .courbe { position: absolute; left: 0; bottom: 0; width: 100%; height: 20%; opacity: var(--cl-courbe, .55); }
.cl-fond .defile { animation: cl-defile 70s linear infinite; will-change: transform; }
@keyframes cl-defile { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1200px, 0, 0); } }
@media (max-width: 640px) { .cl-fond .o3, .cl-fond .courbe { display: none; } }
@media (prefers-reduced-motion: reduce) { .cl-fond .orbe, .cl-fond .defile { animation: none; } }

        #hero .hero-grid-bg, #hero .aurora, #hero .spotlight { display: none; }
        #hero .rot > span { background: linear-gradient(100deg, var(--primary), var(--accent-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
        #hero .hero-sub { color: var(--ink-2); }
        #hero .hero-proof li { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
        #hero .hero-phones { color: var(--muted); }
        #hero .hero-phones a { color: var(--ink); }
        #hero .hero-phones a:hover { color: var(--primary); }
        #hero .btn-ghost { color: var(--ink); border-color: var(--line-2); }
        #hero .btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
        #hero .dash { box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }

        /* Tableau de bord maquette */
        .dash-wrap { position: relative; perspective: 1200px; }
        .dash {
            position: relative; border-radius: 22px; padding: 20px;
            background: rgba(255,255,255,.96); color: #0D0F1A;
            box-shadow: 0 40px 80px rgba(2,8,40,.45), 0 0 0 1px rgba(255,255,255,.2);
            transform-style: preserve-3d; transition: transform .25s ease;
        }
        [data-theme="dark"] .dash { background: rgba(16,22,52,.96); color: #EEF1FA; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); }
        .dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
        .dash-title { font-family: var(--f-display); font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
        .dash-title i { color: var(--primary-2); }
        .live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #007A60; background: rgba(0,200,160,.12); padding: 4px 10px; border-radius: var(--r-pill); }
        [data-theme="dark"] .live { color: #3DEBC4; }
        .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #00C8A0; animation: pulse 1.6s ease-in-out infinite; }
        @keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(0,200,160,.2); } }
        .kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .kpi { padding: 12px 14px; border-radius: 14px; background: #F3F5FB; }
        [data-theme="dark"] .kpi { background: rgba(255,255,255,.05); }
        .kpi-l { font-size: .72rem; font-weight: 600; color: #6B6F87; }
        [data-theme="dark"] .kpi-l { color: #8A93B3; }
        .kpi-v { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
        .kpi-v small { font-size: .7rem; font-weight: 600; color: #6B6F87; margin-inline-start: 3px; }
        .kpi-t { font-size: .72rem; font-weight: 700; }
        .kpi-t.up { color: #0A9B7A; } .kpi-t.down { color: #C23B3B; }
        .chart-box { margin-top: 12px; padding: 14px; border-radius: 14px; background: #F3F5FB; }
        [data-theme="dark"] .chart-box { background: rgba(255,255,255,.05); }
        .chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .chart-head span { font-size: .78rem; font-weight: 700; }
        .seg { display: inline-flex; background: #E3E8F5; border-radius: var(--r-pill); padding: 3px; }
        [data-theme="dark"] .seg { background: rgba(255,255,255,.08); }
        .seg button { font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); color: #6B6F87; }
        .seg button.on { background: #fff; color: #0B2FA5; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
        [data-theme="dark"] .seg button.on { background: #1E2856; color: #8FA9FF; }
        .bars { display: flex; align-items: flex-end; gap: 8px; height: 118px; }
        .bar {
            position: relative; flex: 1; border-radius: 7px 7px 3px 3px; min-height: 6px;
            background: linear-gradient(180deg, #4C78F0, #1A4FD0); cursor: pointer;
            transition: height .7s cubic-bezier(.2,.7,.2,1), filter .2s;
        }
        .bar:last-child { background: linear-gradient(180deg, #19E0B5, #00A585); }
        .bar:hover { filter: brightness(1.15); }
        .bar .tip {
            position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) scale(.9);
            background: #0D0F1A; color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 7px; border-radius: 6px;
            white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; font-variant-numeric: tabular-nums;
        }
        .bar:hover .tip, .bar:focus .tip { opacity: 1; transform: translateX(-50%) scale(1); }
        .bar-lbls { display: flex; gap: 8px; margin-top: 6px; }
        .bar-lbls span { flex: 1; text-align: center; font-size: .66rem; font-weight: 600; color: #8A8FA8; }

        .float-card {
            position: absolute; display: flex; align-items: center; gap: 10px;
            padding: 10px 14px; border-radius: 14px; font-size: .8rem; font-weight: 600;
            background: #fff; color: #0D0F1A; box-shadow: 0 16px 40px rgba(2,8,40,.3);
            animation: bob 5s ease-in-out infinite;
        }
        [data-theme="dark"] .float-card { background: #1A2350; color: #EEF1FA; }
        .float-card small { display: block; font-weight: 500; color: #6B6F87; font-size: .72rem; }
        .float-card .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
        .fc-1 { inset-inline-start: -34px; bottom: -28px; }
        .fc-1 .fi { background: rgba(0,200,160,.14); color: #00A585; }
        .fc-2 { inset-inline-end: 110px; top: -34px; animation-delay: -2.5s; }
        .fc-2 .fi { background: rgba(245,166,35,.16); color: #C98300; }
        @keyframes bob { 50% { transform: translateY(-8px); } }

        /* ════════════════════════════════════════════════════════════
           STATS
        ════════════════════════════════════════════════════════════ */
        #stats { position: relative; z-index: 2; margin-top: -54px; }
        .stats-grid {
            display: grid; grid-template-columns: repeat(4, 1fr);
            background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
        }
        .stat { padding: 26px 24px; display: flex; align-items: center; gap: 14px; }
        .stat + .stat { border-inline-start: 1px solid var(--line); }
        .stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
        .stat-n { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
        .stat-l { font-size: .85rem; color: var(--muted); margin-top: 4px; }

        /* ════════════════════════════════════════════════════════════
           PRODUITS — sélecteur interactif
        ════════════════════════════════════════════════════════════ */
        .prod-layout { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
        .prod-list { display: grid; gap: 10px; }
        .prod-btn {
            position: relative; display: flex; align-items: center; gap: 14px; text-align: start; width: 100%;
            padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
            transition: border-color .2s, box-shadow .2s, transform .2s;
        }
        .prod-btn:hover { transform: translateX(3px); border-color: var(--line-2); }
        [dir="rtl"] .prod-btn:hover { transform: translateX(-3px); }
        .prod-btn[aria-selected="true"] { border-color: var(--primary); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--primary); }
        .prod-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
        .pi-blue { background: var(--primary-soft); color: var(--primary); }
        .pi-teal { background: var(--accent-soft); color: var(--accent-ink); }
        .pi-gold { background: rgba(245,166,35,.14); color: var(--gold-ink); }
        .pi-ink { background: var(--ink); color: var(--bg); }
        .prod-btn b { display: block; font-family: var(--f-display); font-size: 1rem; }
        .prod-btn small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; }
        .prod-btn .chev { margin-inline-start: auto; color: var(--muted); transition: transform .2s, color .2s; }
        .prod-btn[aria-selected="true"] .chev { color: var(--primary); transform: translateX(3px); }
        [dir="rtl"] .prod-btn .chev { transform: scaleX(-1); }

        .prod-panel {
            display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
            box-shadow: var(--shadow-1); overflow: hidden;
        }
        .prod-panel.active { display: grid; grid-template-columns: 1.1fr .9fr; animation: panelIn .45s cubic-bezier(.2,.7,.2,1); }
        @keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
        .prod-body { padding: 34px; }
        .prod-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); }
        .prod-body h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.2; margin: 14px 0 10px; text-wrap: balance; }
        .prod-body > p { color: var(--ink-2); }
        .ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
        .ticks li { position: relative; padding-inline-start: 30px; color: var(--ink-2); font-size: .95rem; }
        .ticks li::before {
            content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .62rem;
            position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
            display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink);
        }
        .prod-visual { position: relative; background: linear-gradient(160deg, var(--surface-2), var(--bg)); border-inline-start: 1px solid var(--line); display: grid; place-items: center; padding: 28px; min-height: 360px; }

        /* Petits visuels de produit (maquettes CSS, aria-hidden) */
        .mock { width: 100%; max-width: 330px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); padding: 16px; font-size: .78rem; }
        .mock-h { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 12px; }
        .mock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line-2); gap: 10px; }
        .mock-row:last-child { border-bottom: 0; }
        .mock-row span:first-child { color: var(--muted); }
        .mock-row b { font-variant-numeric: tabular-nums; }
        .pill-ok { color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: var(--r-pill); font-weight: 700; font-size: .7rem; }
        .pill-warn { color: var(--gold-ink); background: rgba(245,166,35,.14); padding: 2px 8px; border-radius: var(--r-pill); font-weight: 700; font-size: .7rem; }
        .tree { list-style: none; display: grid; gap: 8px; }
        .tree li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
        .tree li:nth-child(2) { margin-inline-start: 18px; }
        .tree li:nth-child(3) { margin-inline-start: 36px; outline: 2px solid var(--primary); }
        .tree .ok { margin-inline-start: auto; color: var(--accent-ink); }
        .ticket { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .74rem; }
        .ticket .tot { font-weight: 800; font-size: .95rem; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; }
        .offline { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--gold-ink); }

        /* ════════════════════════════════════════════════════════════
           MODULES — onglets à lecture automatique
        ════════════════════════════════════════════════════════════ */
        #features { background: var(--surface); border-block: 1px solid var(--line); }
        .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
        .ftab {
            position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
            padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem;
            background: var(--bg); border: 1px solid var(--line); color: var(--ink-2);
            transition: background .2s, color .2s, border-color .2s;
        }
        .ftab:hover { border-color: var(--line-2); color: var(--ink); }
        .ftab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
        [data-theme="dark"] .ftab.active { color: #0A0F24; }
        .ftab .bar-p { position: absolute; inset: auto 0 0 0; height: 3px; background: rgba(255,255,255,.6); transform-origin: left; transform: scaleX(0); }
        [dir="rtl"] .ftab .bar-p { transform-origin: right; }
        .fpanel { display: none; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
        .fpanel.active { display: grid; animation: panelIn .45s cubic-bezier(.2,.7,.2,1); }
        .fpanel h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.2; margin-bottom: 10px; text-wrap: balance; }
        .fpanel > div > p { color: var(--ink-2); }

        .doc {
            background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1);
        }
        .doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
        .doc-top b { font-family: var(--f-display); }
        .doc-actions { display: flex; gap: 6px; }
        .doc-actions span { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
        .doc-actions span.pri { background: var(--primary); border-color: var(--primary); color: #fff; }
        [data-theme="dark"] .doc-actions span.pri { color: #0A0F24; }
        .doc table { width: 100%; border-collapse: collapse; font-size: .82rem; background: var(--surface); border-radius: 12px; overflow: hidden; }
        .doc th { text-align: start; font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; padding: 10px 12px; background: var(--surface-2); }
        .doc td { padding: 11px 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
        .doc td.num, .doc th.num { text-align: end; }
        .doc-tot { display: flex; justify-content: flex-end; gap: 24px; margin-top: 12px; font-size: .85rem; }
        .doc-tot b { font-family: var(--f-display); font-size: 1.05rem; }
        .doc-overflow { overflow-x: auto; }

        /* ════════════════════════════════════════════════════════════
           FACTURE ÉLECTRONIQUE — pipeline interactif
        ════════════════════════════════════════════════════════════ */
        .flow-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 96px; }
        .flow { list-style: none; display: grid; gap: 10px; margin-top: 26px; }
        .flow-step {
            display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-align: start; width: 100%;
            padding: 14px; border-radius: var(--r-md); border: 1px solid transparent; transition: background .2s, border-color .2s;
        }
        .flow-step:hover { background: var(--surface); }
        .flow-step.active { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-1); }
        .flow-n {
            width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
            background: var(--surface-2); color: var(--muted); font-family: var(--f-display); font-weight: 800;
            transition: background .3s, color .3s;
        }
        .flow-step.done .flow-n { background: var(--accent-soft); color: var(--accent-ink); }
        .flow-step.active .flow-n { background: var(--primary); color: #fff; }
        [data-theme="dark"] .flow-step.active .flow-n { color: #0A0F24; }
        .flow-step b { display: block; font-family: var(--f-display); font-size: 1rem; }
        .flow-step small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: 2px; }

        .inv {
            position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
            box-shadow: var(--shadow-2); padding: 24px;
        }
        .inv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
        .inv-head b { font-family: var(--f-display); display: flex; align-items: center; gap: 8px; }
        .inv-head b i { color: var(--primary); }
        .inv-status { font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); transition: background .3s, color .3s; white-space: nowrap; }
        .inv-status.ok { background: var(--accent-soft); color: var(--accent-ink); }
        .inv-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
        .inv-row span:first-child { color: var(--muted); }
        .inv-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
        .inv-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
        .inv-track div { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
        .inv-track div::after { content: ''; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--primary-2)); transition: width .6s ease; }
        .inv-track div.fill::after { width: 100%; }
        .inv-qr { position: absolute; inset-inline-end: 24px; bottom: -26px; width: 64px; height: 64px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; place-items: center; font-size: 1.8rem; color: var(--ink); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s; }
        .inv-qr.show { opacity: 1; transform: none; }

        .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 96px; }
        .bcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .25s, box-shadow .25s; }
        .bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
        .bcard .prod-ic { margin-bottom: 18px; }
        .bcard b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 6px; }
        .bcard p { color: var(--ink-2); font-size: .94rem; }

        .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; margin-bottom: 96px; }
        .step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
        .step::before {
            counter-increment: s; content: '0' counter(s);
            display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
            background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
            margin-bottom: 14px;
        }
        .step b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 6px; }
        .step p { color: var(--ink-2); font-size: .94rem; }

        .why {
            position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 52px;
            background: linear-gradient(135deg, #061444 0%, #0B2FA5 60%, #0E7DE8 100%);
        }
        .why::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #00C8A0; filter: blur(90px); opacity: .35; inset-inline-end: -120px; top: -160px; }
        .why > * { position: relative; z-index: 1; }
        .why .eyebrow { color: #5CF2D2; }
        .why h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 28px; max-width: 22ch; }
        .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; list-style: none; }
        .why-grid li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
        .why-grid li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,200,160,.22); color: #5CF2D2; font-size: .65rem; flex-shrink: 0; }
        .why-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

        .faq { max-width: 820px; margin: 96px auto 0; }
        .faq-item { border-bottom: 1px solid var(--line-2); }
        .faq-q { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; text-align: start; padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
        .faq-q .pm { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; transition: transform .3s, background .3s; }
        .faq-item.open .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }
        .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
        .faq-a > div { overflow: hidden; }
        .faq-a p { color: var(--ink-2); padding-bottom: 22px; max-width: 70ch; }
        .faq-item.open .faq-a { grid-template-rows: 1fr; }



        /* ════════════════════════════════════════════════════════════
           TOUS LES MODULES — grille « bento », caisse en vedette
        ════════════════════════════════════════════════════════════ */
        .mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
        .mod { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; min-width: 0; }
        .mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
        .mod h3 { font-family: var(--f-display); font-size: 1.08rem; line-height: 1.25; margin-top: 6px; }
        .mod > p, .mod-wide p { color: var(--ink-2); font-size: .92rem; }
        .mod-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
        .mod-chips li { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
        .pi-teal { background: var(--accent-soft); color: var(--accent-ink); }
        .pi-gold { background: rgba(245,166,35,.14); color: var(--gold-ink); }
        .pi-ink  { background: rgba(13,15,26,.07); color: var(--ink); }
        :root[data-theme="dark"] .pi-ink { background: rgba(255,255,255,.08); }

        /* El Fatoora : carte large avec le parcours de la facture */
        .mod-wide { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: center; }
        .mod-wide > div:first-child { display: flex; flex-direction: column; gap: 10px; height: 100%; }
        .mod-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--primary); margin-top: 6px; }
        .mod-link:hover { gap: 12px; }
        [dir="rtl"] .mod-link i, [dir="rtl"] .ef-arr { transform: scaleX(-1); }
        [dir="rtl"] .ef-arr { transform: rotate(90deg); }
        .ef-flow { display: grid; gap: 8px; justify-items: stretch; }
        .ef-step { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--surface-2); font-weight: 700; font-size: .84rem; color: var(--ink); }
        .ef-step i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--primary); font-size: .8rem; }
        .ef-step.ok { background: var(--accent-soft); color: var(--accent-ink); }
        .ef-step.ok i { color: var(--accent-ink); }
        .ef-arr { justify-self: center; transform: rotate(90deg); color: var(--muted); font-size: .7rem; }

        /* Caisse : tuile vedette */
        .mod-pos { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr; gap: 22px; padding: 32px; color: #fff; border: 0; overflow: hidden;
                   background: radial-gradient(120% 90% at 100% 0%, rgba(0,200,160,.35) 0%, transparent 55%), linear-gradient(140deg, #050E33 0%, #0B2FA5 62%, #0E7DE8 100%); }
        .mod-pos:hover { box-shadow: 0 24px 60px rgba(11,47,165,.35); }
        .mod-pos-txt { display: flex; flex-direction: column; gap: 10px; }
        .mod-pos h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: #fff; }
        .mod-pos p { color: rgba(255,255,255,.82); font-size: .96rem; max-width: 58ch; }
        .mod-pos .mod-chips li { background: rgba(255,255,255,.12); color: #fff; }
        .pi-pos { background: rgba(255,255,255,.14); color: #5CF2D2; }
        .mod-badge { position: absolute; inset-inline-end: 24px; top: 24px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); background: #5CF2D2; color: #04224A; }
        .btn-light-pos { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 11px 18px; border-radius: var(--r-pill); background: #fff; color: #0B2FA5; font-weight: 700; font-size: .9rem; transition: transform .2s; }
        .btn-light-pos:hover { transform: translateY(-2px); }
        .pos-mock { border-radius: 18px; background: rgba(4,10,38,.55); border: 1px solid rgba(255,255,255,.14); padding: 14px; backdrop-filter: blur(4px); font-size: .78rem; }
        .pos-top { display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
        .pos-net { color: #FFC25C; font-weight: 700; }
        .pos-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
        .pos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: start; }
        .pk { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 12px; font-weight: 700; color: #fff; }
        .pk i { font-size: 1rem; opacity: .9; }
        .k1 { background: #1A4FD0; } .k2 { background: #0E7DE8; } .k3 { background: #00A887; } .k4 { background: #C27A00; } .k5 { background: #6D3FD9; } .k6 { background: #C2353B; }
        .pos-ticket { border-radius: 12px; background: #fff; color: #0D0F1A; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
        .pt-h { font-weight: 800; font-size: .76rem; color: #6B6F87; border-bottom: 1px dashed #D5D9E5; padding-bottom: 6px; }
        .pt-l, .pt-t { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
        .pt-t { border-top: 1px dashed #D5D9E5; padding-top: 6px; font-size: .9rem; }
        .pt-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
        .pp { text-align: center; padding: 8px 4px; border-radius: 9px; background: #EEF1F8; font-weight: 700; font-size: .72rem; }
        .pp.on { background: #00C8A0; color: #04224A; }
        .pos-sync { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); }
        .pos-sync i { color: #5CF2D2; }

        @media (max-width: 1100px) {
            .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 760px) {
            .mods { grid-template-columns: 1fr; }
            .mod-wide, .mod-pos { grid-column: auto; grid-row: auto; }
            .mod-wide { grid-template-columns: 1fr; }
            .mod-pos { padding: 24px; }
            .pos-body { grid-template-columns: 1fr; }
            .mod-badge { position: static; align-self: flex-start; }
        }
        @media (prefers-reduced-motion: reduce) { .mod, .btn-light-pos { transition: none; } }

        /* ════════════════════════════════════════════════════════════
           CONTACT
        ════════════════════════════════════════════════════════════ */
        #pricing { background: var(--surface); border-top: 1px solid var(--line); }
        .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
        .contact-card { padding: 34px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
        .contact-card h3 { font-family: var(--f-display); font-size: 1.35rem; }
        .contact-card > p { color: var(--muted); margin-top: 4px; }
        .clist { list-style: none; display: grid; gap: 18px; margin-top: 26px; }
        .clist li { display: flex; gap: 14px; }
        .clist .prod-ic { width: 42px; height: 42px; }
        .clist strong { display: block; font-size: .86rem; }
        .clist a, .clist span.t { color: var(--ink-2); font-size: .95rem; }
        .clist a:hover { color: var(--primary); }
        .form-card { padding: 34px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
        .form-card h3 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 20px; }
        .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
        .form-group { margin-bottom: 14px; }
        .form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
        .form-control {
            width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: .95rem;
            background: var(--bg); color: var(--ink); border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
        }
        .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
        textarea.form-control { resize: vertical; min-height: 120px; }
        .form-submit { width: 100%; margin-top: 6px; }
        #form-msg { margin-top: 12px; font-size: .9rem; display: none; }

        /* ════════════════════════════════════════════════════════════
           FOOTER
        ════════════════════════════════════════════════════════════ */
        footer { background: #050A1F; color: rgba(255,255,255,.72); padding: 72px 0 28px; }
        .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
        .foot-grid h4 { color: #fff; font-family: var(--f-display); font-size: .95rem; margin-bottom: 16px; }
        .foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
        .foot-grid a:hover { color: #5CF2D2; }
        .foot-brand img { height: 36px; width: auto; margin-bottom: 16px; }
        .foot-word { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 16px; }
        .foot-brand p { font-size: .92rem; max-width: 36ch; }
        .foot-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
        .foot-tags span { font-size: .74rem; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); }
        .foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
        .socials { display: flex; gap: 8px; }
        .socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); transition: background .2s, color .2s; }
        .socials a:hover { background: #5CF2D2; color: #041A15; }

        #toTop {
            position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 800; width: 46px; height: 46px; border-radius: 50%;
            background: var(--primary); color: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center;
            opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
        }
        [data-theme="dark"] #toTop { color: #0A0F24; }
        #toTop.show { opacity: 1; transform: none; pointer-events: auto; }

        /* ════════════════════════════════════════════════════════════
           RESPONSIVE
        ════════════════════════════════════════════════════════════ */
        @media (max-width: 1100px) {
            .nav-links, .nav-social-hide { display: none; }
            .hamburger { display: grid; }
            .hero-layout { grid-template-columns: 1fr; gap: 64px; }
            .dash-wrap { max-width: 560px; }
            .prod-layout { grid-template-columns: 1fr; }
            .prod-list { grid-template-columns: repeat(2, 1fr); }
            .foot-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 860px) {
            .sec { padding: 76px 0; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .stat:nth-child(3) { border-inline-start: 0; }
            .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
            .prod-panel.active, .fpanel.active, .flow-layout, .contact-grid { grid-template-columns: 1fr; }
            .prod-visual { border-inline-start: 0; border-top: 1px solid var(--line); min-height: 0; }
            .benefits, .steps { grid-template-columns: 1fr; }
            .why { padding: 36px 24px; }
            .why-grid { grid-template-columns: 1fr; }
            .fc-1 { inset-inline-start: -8px; } .fc-2 { inset-inline-end: -6px; }
        }
        /* Tablettes et téléphones : sélecteurs en BANDE DÉFILANTE plutôt
           qu'empilés — le contenu choisi reste juste sous le doigt. */
        @media (max-width: 860px) {
            .prod-list, .tabs {
                display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
                scroll-snap-type: x mandatory; scrollbar-width: none;
                margin-inline: -20px; padding: 2px 20px 6px;
            }
            .prod-list::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
            .prod-btn { flex: 0 0 auto; width: auto; scroll-snap-align: start; padding: 10px 14px 10px 10px; gap: 10px; }
            .prod-btn:hover { transform: none; }
            .prod-btn small, .prod-btn .chev { display: none; }
            .prod-btn .prod-ic { width: 36px; height: 36px; border-radius: 11px; font-size: .95rem; }
            .prod-btn b { font-size: .92rem; white-space: nowrap; }
            .ftab { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
            .prod-layout { gap: 14px; }
        }

        @media (max-width: 600px) {
            :root { --nav-h: 64px; }
            .container { padding: 0 16px; }
            .prod-list, .tabs { margin-inline: -16px; padding-inline: 16px; }
            .sec { padding: 64px 0; }
            .sec-head { margin-bottom: 30px; }
            .h2 { font-size: clamp(1.55rem, 7vw, 1.9rem); }
            .lead { font-size: .98rem; }
            .nav-login-desk { display: none; }
            .nav-logo img { height: 30px; }
            .icon-btn, .locale-switcher { height: 42px; }
            .icon-btn { width: 42px; }

            /* Hero */
            #hero { padding: calc(var(--nav-h) + 28px) 0 84px; }
            .hero-pill { font-size: .74rem; padding: 6px 12px 6px 6px; }
            .hero-h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); margin: 18px 0 14px; }
            .hero-sub { font-size: 1rem; }
            .hero-ctas { flex-direction: column; margin-top: 24px; }
            .hero-ctas .btn { width: 100%; padding: 15px 20px; }
            .hero-proof { margin-top: 22px; gap: 6px; }
            .hero-proof li { font-size: .76rem; padding: 6px 10px; }
            .hero-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
            .hero-phones > span { grid-column: 1 / -1; }
            .hero-phones a {
                justify-content: center; padding: 11px 8px; border-radius: 12px; font-size: .84rem;
                background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
            }
            .dash-wrap { margin-top: 8px; }
            .dash { padding: 14px; border-radius: 18px; }
            .kpi { padding: 10px 12px; }
            .kpi-v { font-size: 1.08rem; }
            .bars { height: 96px; gap: 6px; }
            .float-card { display: none; }

            /* Chiffres : icône au-dessus, centré — plus rien ne se tasse */
            #stats { margin-top: -44px; }
            .stat { flex-direction: column; text-align: center; gap: 8px; padding: 18px 10px; }
            .stat-ic { width: 38px; height: 38px; border-radius: 12px; font-size: .95rem; }
            .stat-n { font-size: 1.5rem; }
            .stat-l { font-size: .8rem; line-height: 1.35; }

            /* Produits / modules */
            .prod-body { padding: 22px 18px; }
            .prod-body h3, .fpanel h3 { font-size: 1.3rem; }
            .prod-body .btn, .why-ctas .btn { width: 100%; }
            .prod-visual { padding: 20px 16px; }
            .ticks li { font-size: .92rem; }
            .fpanel { gap: 24px; }
            .doc { padding: 12px; border-radius: 16px; }
            .doc-actions { display: none; }
            .doc table { font-size: .76rem; }
            .doc th, .doc td { padding: 9px 8px; }
            .doc th:nth-child(3), .doc td:nth-child(3) { display: none; }

            /* Facture électronique */
            .flow-layout, .benefits, .steps { margin-bottom: 64px; }
            .flow-step { padding: 12px 10px; grid-template-columns: 38px 1fr; gap: 12px; }
            .flow-n { width: 38px; height: 38px; border-radius: 12px; }
            .inv { padding: 18px 16px; }
            .inv-row { font-size: .85rem; }
            .bcard, .step { padding: 22px 18px; }
            .why { padding: 30px 20px; border-radius: 22px; }
            .why-grid li { font-size: .94rem; }
            .faq { margin-top: 64px; }
            .faq-q { font-size: .98rem; padding: 18px 0; }

            /* Contact — le reCAPTCHA (304 px fixes) doit tenir dans la carte */
            .contact-card, .form-card { padding: 22px 16px; }
            .frow { grid-template-columns: 1fr; gap: 0; }
            .form-control { font-size: 16px; } /* 16 px : pas de zoom automatique sur iOS */
            .foot-grid { grid-template-columns: 1fr; gap: 28px; }
            .foot-bottom { flex-direction: column; align-items: flex-start; }

            /* Barre d'action mobile */
            .m-cta { display: flex; }
            #toTop { bottom: 86px; }
            footer { padding-bottom: 96px; }
        }
        @media (max-width: 360px) {
            .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
            [dir="rtl"] .g-recaptcha { transform-origin: 100% 0; }
        }

        /* Barre d'action fixe en bas d'écran (téléphones) : appeler ou
           démarrer l'essai sans remonter la page. Masquée sur le hero, où
           les mêmes boutons sont déjà visibles. */
        @media (min-width: 601px) { .m-cta { display: none !important; } }
        .m-cta {
            display: flex; position: fixed; inset: auto 12px 12px 12px; z-index: 850; gap: 8px;
            padding: 8px; border-radius: 18px;
            background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px);
            border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
            transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
        }
        .m-cta.show { transform: none; }
        .m-cta .btn { flex: 1; padding: 13px 12px; }
        .m-cta .btn-call { flex: 0 0 auto; width: 50px; padding: 0; color: var(--primary); background: var(--primary-soft); }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
            .rv { opacity: 1; transform: none; }
        }
