/* ---- Base ---- */
        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Barlow', sans-serif;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            transition: background-color 0.3s, color 0.3s;
        }

        /* ---- Scrollbar ---- */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #0E8CEB; border-radius: 3px; }

        /* ---- Dark mode tokens ---- */
        .dark body { background-color: #0E1624; color: #E8EDF5; }
        .light body { background-color: #F4F7FC; color: #0D1B2E; }

        /* ---- Gradient text ---- */
        .grad-text {
            background: linear-gradient(135deg, #0E8CEB 0%, #4FC3FF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ---- Grid background ---- */
        .grid-bg {
            background-image:
                linear-gradient(rgba(14,140,235,0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14,140,235,0.06) 1px, transparent 1px);
            background-size: 60px 60px;
        }
        .light .grid-bg {
            background-image:
                linear-gradient(rgba(14,140,235,0.09) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14,140,235,0.09) 1px, transparent 1px);
        }

        /* ---- Noise texture overlay ---- */
        .noise::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
            pointer-events: none;
            opacity: 0.4;
        }

        /* ---- Scan line ---- */
        .scan-line {
            position: absolute;
            left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(79,195,255,0.4), transparent);
            animation: scan 6s linear infinite;
            pointer-events: none;
        }

        /* ---- Glow orbs ---- */
        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            pointer-events: none;
        }

        /* ---- Glass card ---- */
        .dark .glass {
            background: rgba(22, 36, 60, 0.75);
            border: 1px solid rgba(79,195,255,0.16);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
        .light .glass {
            background: rgba(255,255,255,0.8);
            border: 1px solid rgba(14,140,235,0.15);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 4px 24px rgba(14,140,235,0.06);
        }
        .glass {
            border-radius: 16px;
            transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }
        .glass:hover {
            border-color: rgba(79,195,255,0.32) !important;
            transform: translateY(-4px);
        }
        .dark .glass:hover { box-shadow: 0 0 40px rgba(14,140,235,0.18); }
        .light .glass:hover { box-shadow: 0 8px 32px rgba(14,140,235,0.15); }
        .glass::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(79,195,255,0.5), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }
        .glass:hover::before { opacity: 1; }

        /* ---- Label tag ---- */
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 100px;
            margin-bottom: 18px;
        }
        .dark .tag {
            color: #4FC3FF;
            background: rgba(79,195,255,0.08);
            border: 1px solid rgba(79,195,255,0.2);
        }
        .light .tag {
            color: #0A6FC7;
            background: rgba(14,140,235,0.07);
            border: 1px solid rgba(14,140,235,0.2);
        }

        /* ---- Buttons ---- */
        .btn-primary {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 13px 28px;
            background: linear-gradient(135deg, #0E8CEB, #4FC3FF);
            color: #fff;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: 0.25s cubic-bezier(0.4,0,0.2,1);
            box-shadow: 0 4px 20px rgba(14,140,235,0.35);
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(14,140,235,0.55);
        }
        .btn-outline {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 28px;
            background: transparent;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            border-radius: 8px;
            cursor: pointer;
            transition: 0.25s cubic-bezier(0.4,0,0.2,1);
            text-decoration: none;
        }
        .dark .btn-outline {
            color: #4FC3FF;
            border: 1px solid rgba(79,195,255,0.3);
        }
        .light .btn-outline {
            color: #0A6FC7;
            border: 1px solid rgba(14,140,235,0.3);
        }
        .btn-outline:hover {
            background: rgba(79,195,255,0.1);
            border-color: #4FC3FF;
        }

        /* ---- Navbar ---- */
        #navbar {
            position: fixed; top: 0; left: 0; right: 0;
            z-index: 1000;
            transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s;
            padding: 12px 0;
            border-bottom: 1px solid rgba(79,195,255,0.12);
        }
        .dark #navbar { background: #0e1624; }
        .light #navbar { background: #f4f7fc; }

        /* ---- Mobile menu ---- */
        .mobile-menu {
            display: none;
            position: fixed;
            inset: 0;
            padding: 96px 24px 28px;
            border-bottom: 1px solid rgba(79,195,255,0.12);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        .dark .mobile-menu { background: #0E1624; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
        .light .mobile-menu { background: #F4F7FC; box-shadow: 0 18px 50px rgba(14,140,235,0.08); }
        .mobile-menu.is-open { display: flex; flex-direction: column; gap: 8px; }

        /* ---- Stat counter ---- */
        .stat-number {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(2.8rem, 5vw, 4.5rem);
            font-weight: 900;
            line-height: 1;
            letter-spacing: -0.02em;
        }

        /* ---- Reveal animations ---- */
        .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
        .reveal.visible { opacity: 1; transform: translateY(0); }
        .reveal-d1 { transition-delay: 0.1s; }
        .reveal-d2 { transition-delay: 0.2s; }
        .reveal-d3 { transition-delay: 0.3s; }

        /* ---- Section ---- */
        .section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

        /* ---- Hero title ---- */
        .hero-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(3.5rem, 8vw, 7.5rem);
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -0.02em;
            text-transform: uppercase;
        }

        /* ---- Section title ---- */
        .section-title {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(2.2rem, 4vw, 3.8rem);
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -0.01em;
            text-transform: uppercase;
        }

        /* ---- Subsidiary accent lines ---- */
        .sub-accent {
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 3px;
            border-radius: 0 2px 2px 0;
        }

        /* ---- Divider ---- */
        .divider {
            width: 48px; height: 3px;
            background: linear-gradient(90deg, #0E8CEB, #4FC3FF);
            border-radius: 2px;
            margin-bottom: 20px;
        }

        /* ---- Theme toggle ---- */
        .theme-toggle {
            width: 44px; height: 24px;
            border-radius: 100px;
            cursor: pointer;
            position: relative;
            transition: background 0.3s;
            border: none;
            flex-shrink: 0;
        }
        .dark .theme-toggle { background: rgba(79,195,255,0.15); border: 1px solid rgba(79,195,255,0.3); }
        .light .theme-toggle { background: rgba(14,140,235,0.15); border: 1px solid rgba(14,140,235,0.3); }
        .theme-toggle-knob {
            position: absolute;
            top: 3px; left: 3px;
            width: 16px; height: 16px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0E8CEB, #4FC3FF);
            transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .light .theme-toggle-knob { transform: translateX(20px); }

        /* ================================================================
           HAMBURGER — Animation vers croix
        ================================================================ */
        .hamburger {
            display: none;
            width: 40px; height: 40px;
            border-radius: 10px;
            cursor: pointer;
            background: none;
            border: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
            padding: 0;
            flex-shrink: 0;
            transition: background 0.2s;
            position: relative;
            z-index: 1100;
        }
        .dark .hamburger  { color: #8899AA; }
        .light .hamburger { color: #4A6080; }
        .dark .hamburger:hover  { background: rgba(79,195,255,0.08); }
        .light .hamburger:hover { background: rgba(14,140,235,0.08); }
        @media (max-width: 1024px) {
            .hamburger       { display: flex; }
            .desktop-nav     { display: none !important; }
        }

        .hamburger-line {
            display: block;
            width: 22px; height: 2px;
            border-radius: 2px;
            transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                        opacity   0.25s ease,
                        width     0.3s  ease;
            transform-origin: center;
        }
        .dark  .hamburger-line { background: #8899AA; }
        .light .hamburger-line { background: #4A6080; }

        /* État ouvert → croix */
        .hamburger.is-open .hamburger-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
            background: #4FC3FF;
        }
        .hamburger.is-open .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger.is-open .hamburger-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
            background: #4FC3FF;
        }

        /* ================================================================
           MOBILE DRAWER — Plein écran avec slide-down
        ================================================================ */
        .mobile-drawer {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: 1050;
            pointer-events: none;
            visibility: hidden;
        }

        /* Backdrop flouté */
        .mobile-drawer-backdrop {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.35s ease;
        }
        .dark  .mobile-drawer-backdrop { background: rgba(7,20,40,0.70); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
        .light .mobile-drawer-backdrop { background: rgba(200,220,245,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

        /* Panel du menu */
        .mobile-drawer-panel {
            position: absolute;
            top: 0; left: 0; right: 0;
            border-bottom-left-radius:  24px;
            border-bottom-right-radius: 24px;
            overflow: hidden;
            transform: translateY(-110%);
            transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
            box-shadow: 0 24px 60px rgba(0,0,0,0.35);
        }
        .dark  .mobile-drawer-panel { background: rgba(10,18,32,0.98); border: 1px solid rgba(79,195,255,0.14); border-top: none; }
        .light .mobile-drawer-panel { background: rgba(255,255,255,0.98); border: 1px solid rgba(14,140,235,0.14); border-top: none; }

        /* État ouvert */
        .mobile-drawer.is-open {
            pointer-events: auto;
            visibility: visible;
        }
        .mobile-drawer.is-open .mobile-drawer-backdrop { opacity: 1; }
        .mobile-drawer.is-open .mobile-drawer-panel    { transform: translateY(0); }

        /* Intérieur du panel */
        .mobile-drawer-inner {
            padding: 0 24px 32px;
        }

        /* Barre du haut : logo + contrôles recalés dans le panel */
        .mobile-drawer-topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 0 20px;
            border-bottom: 1px solid rgba(79,195,255,0.1);
            margin-bottom: 24px;
        }
        .light .mobile-drawer-topbar { border-bottom-color: rgba(14,140,235,0.1); }

        /* Liens de navigation dans le drawer */
        .mobile-nav-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            border-radius: 12px;
            text-decoration: none;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            transition: background 0.2s, color 0.2s, transform 0.2s;
            border: 1px solid transparent;
        }
        .dark  .mobile-nav-link { color: #C8D8E8; }
        .light .mobile-nav-link { color: #1E3050; }
        .dark  .mobile-nav-link:hover { color: #fff; background: rgba(79,195,255,0.07); border-color: rgba(79,195,255,0.15); transform: translateX(4px); }
        .light .mobile-nav-link:hover { color: #0A6FC7; background: rgba(14,140,235,0.06); border-color: rgba(14,140,235,0.15); transform: translateX(4px); }

        /* Numéros d'index pour chaque lien */
        .mobile-nav-index {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 0.12em;
            opacity: 0.4;
        }
        .mobile-nav-arrow {
            opacity: 0.35;
            transition: opacity 0.2s, transform 0.2s;
        }
        .mobile-nav-link:hover .mobile-nav-arrow {
            opacity: 1;
            transform: translateX(4px);
        }

        /* Séparateur interne */
        .mobile-drawer-sep {
            height: 1px;
            margin: 16px 0;
            background: linear-gradient(90deg, rgba(79,195,255,0.15), transparent);
        }
        .light .mobile-drawer-sep { background: linear-gradient(90deg, rgba(14,140,235,0.12), transparent); }

        /* Footer du drawer : lang + theme + CTA */
        .mobile-drawer-footer {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding-top: 20px;
        }
        .mobile-drawer-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            border-radius: 12px;
        }
        .dark  .mobile-drawer-controls { background: rgba(255,255,255,0.03); border: 1px solid rgba(79,195,255,0.08); }
        .light .mobile-drawer-controls { background: rgba(14,140,235,0.04); border: 1px solid rgba(14,140,235,0.1); }

        /* Animations d'entrée en cascade pour les liens */
        .mobile-nav-link {
            opacity: 0;
            transform: translateX(-16px);
            transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s, border-color 0.2s;
        }
        .mobile-drawer.is-open .mobile-nav-link {
            opacity: 1;
            transform: translateX(0);
        }
        .mobile-drawer.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.08s; }
        .mobile-drawer.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.13s; }
        .mobile-drawer.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.18s; }
        .mobile-drawer.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.23s; }
        .mobile-drawer.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.28s; }

        /* Scroll lock body */
        body.menu-open { overflow: hidden; }

        /* ================================================================
           RESPONSIVE GÉNÉRAL
        ================================================================ */
        /* Tablette : stat bar en 2×2 */
        @media (max-width: 768px) {
            .hero-carousel-indicators { bottom: 90px; right: 16px; }
        }

        /* Mobile : ajustements padding et taille de police */
        @media (max-width: 640px) {
            .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
            .section-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
            .section { padding: 56px 0; }
            .btn-primary, .btn-outline { font-size: 0.88rem; padding: 11px 20px; }
        }

        /* Très petits écrans */
        @media (max-width: 375px) {
            .hero-title { font-size: 2.6rem; }
            #navbar .max-w-7xl { padding-left: 16px; padding-right: 16px; }
        }
        .dark .cta-section {
            background: linear-gradient(135deg, rgba(14,140,235,0.12) 0%, rgba(7,12,21,0) 60%);
            border-top: 1px solid rgba(79,195,255,0.1);
            border-bottom: 1px solid rgba(79,195,255,0.1);
        }
        .light .cta-section {
            background: linear-gradient(135deg, rgba(14,140,235,0.06) 0%, rgba(244,247,252,0) 60%);
            border-top: 1px solid rgba(14,140,235,0.12);
            border-bottom: 1px solid rgba(14,140,235,0.12);
        }

        /* ---- Footer ---- */
        .dark footer { background: #0A1220; border-top: 1px solid rgba(79,195,255,0.1); }
        .light footer { background: #E8EDF5; border-top: 1px solid rgba(14,140,235,0.12); }

        /* ---- nav links ---- */
        .nav-link {
            font-size: 0.875rem;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 7px;
            transition: 0.2s;
            text-decoration: none;
        }
        .dark .nav-link { color: #8899AA; }
        .dark .nav-link:hover { color: #E8EDF5; background: rgba(79,195,255,0.07); }
        .light .nav-link { color: #4A6080; }
        .light .nav-link:hover { color: #0D1B2E; background: rgba(14,140,235,0.07); }

        .lang-btn {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            padding: 5px 10px;
            border-radius: 6px;
            transition: 0.2s;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 0.06em;
        }
        .dark .lang-btn { color: #8899AA; }
        .dark .lang-btn.active, .dark .lang-btn:hover { color: #4FC3FF; background: rgba(79,195,255,0.1); }
        .light .lang-btn { color: #4A6080; }
        .light .lang-btn.active, .light .lang-btn:hover { color: #0A6FC7; background: rgba(14,140,235,0.1); }

        /* ---- Form inputs ---- */
        .form-input {
            width: 100%;
            padding: 12px 16px;
            border-radius: 10px;
            font-family: 'Barlow', sans-serif;
            font-size: 0.95rem;
            outline: none;
            transition: 0.2s;
        }
        .dark .form-input {
            background: rgba(22,36,60,0.75);
            border: 1px solid rgba(79,195,255,0.18);
            color: #E8EDF5;
        }
        .dark .form-input::placeholder { color: #8899AA; }
        .dark .form-input:focus { border-color: rgba(79,195,255,0.5); box-shadow: 0 0 0 3px rgba(79,195,255,0.1); }
        .light .form-input {
            background: rgba(255,255,255,0.9);
            border: 1px solid rgba(14,140,235,0.18);
            color: #0D1B2E;
        }
        .light .form-input::placeholder { color: #8899AA; }
        .light .form-input:focus { border-color: rgba(14,140,235,0.5); box-shadow: 0 0 0 3px rgba(14,140,235,0.1); }

        /* ---- Zebra stat bar ---- */
        .stat-bar {
            border-radius: 12px;
            overflow: hidden;
        }
        .dark .stat-bar { background: rgba(22,36,60,0.85); border: 1px solid rgba(79,195,255,0.13); }
        .light .stat-bar { background: rgba(255,255,255,0.9); border: 1px solid rgba(14,140,235,0.12); box-shadow: 0 4px 20px rgba(14,140,235,0.07); }

        /* ---- Footer links ---- */
        .footer-link {
            font-size: 0.875rem;
            transition: color 0.2s;
            text-decoration: none;
        }
        .dark .footer-link { color: #8899AA; }
        .dark .footer-link:hover { color: #4FC3FF; }
        .light .footer-link { color: #4A6080; }
        .light .footer-link:hover { color: #0A6FC7; }

        /* ---- Social links ---- */
        .social-btn {
            width: 38px; height: 38px;
            border-radius: 9px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
            text-decoration: none;
        }
        .dark .social-btn { background: rgba(79,195,255,0.07); border: 1px solid rgba(79,195,255,0.15); color: #8899AA; }
        .dark .social-btn:hover { color: #4FC3FF; border-color: rgba(79,195,255,0.35); background: rgba(79,195,255,0.12); }
        .light .social-btn { background: rgba(14,140,235,0.06); border: 1px solid rgba(14,140,235,0.15); color: #4A6080; }
        .light .social-btn:hover { color: #0A6FC7; border-color: rgba(14,140,235,0.35); background: rgba(14,140,235,0.1); }

        /* ---- Chip badge ---- */
        .chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border-radius: 100px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .dark .chip { background: rgba(79,195,255,0.08); border: 1px solid rgba(79,195,255,0.2); color: #4FC3FF; }
        .light .chip { background: rgba(14,140,235,0.08); border: 1px solid rgba(14,140,235,0.2); color: #0A6FC7; }
        .chip-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: currentColor;
            animation: pulse 2s infinite;
        }

        /* ---- Hamburger ---- */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            cursor: pointer;
            background: none;
            border: none;
        }
        .hamburger span {
            display: block;
            width: 22px; height: 2px;
            border-radius: 2px;
            transition: 0.3s;
        }
        .dark .hamburger span { background: #8899AA; }
        .light .hamburger span { background: #4A6080; }
        @media (max-width: 1024px) { .hamburger { display: flex; } }
        @media (max-width: 1024px) { .desktop-nav { display: none; } }

        /* ---- Accent line for sections ---- */
        .section-line {
            display: inline-block;
            width: 32px; height: 2px;
            background: linear-gradient(90deg, #0E8CEB, #4FC3FF);
            border-radius: 2px;
            vertical-align: middle;
            margin-right: 10px;
        }

        /* ---- Tech grid lines ---- */
        .tech-card-icon {
            width: 56px; height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
            margin-bottom: 20px;
        }
        .dark .tech-card-icon { background: rgba(14,140,235,0.12); border: 1px solid rgba(79,195,255,0.2); color: #4FC3FF; }
        .light .tech-card-icon { background: rgba(14,140,235,0.08); border: 1px solid rgba(14,140,235,0.2); color: #0A6FC7; }

        /* ---- Service logo locks ---- */
        .subs-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 24px;
        }
        .subs-logo-visual {
            width: 100%;
            min-height: 88px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
            padding: 10px 0 2px;
        }
        .subs-logo-img {
            position: relative;
            z-index: 1;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 74px;
            object-fit: contain;
            display: block;
        }
        .subs-logo-mark {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 72px;
            min-height: 72px;
            padding: 0 18px;
            border-radius: 18px;
            background: linear-gradient(135deg, var(--brand-a, #0E8CEB), var(--brand-b, #4FC3FF));
            color: #fff;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 1.6rem;
            font-weight: 900;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            box-shadow: 0 10px 30px rgba(14,140,235,0.22);
        }
        .subs-logo-copy {
            min-width: 0;
        }
        .subs-logo-name {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 1.55rem;
            font-weight: 900;
            line-height: 1;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 6px;
        }
        .subs-logo-meta {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
        }
        .dark .subs-logo-name { color: #fff; }
        .light .subs-logo-name { color: #0D1B2E; }
        .dark .subs-logo-meta { color: rgba(232,237,245,0.7); }
        .light .subs-logo-meta { color: rgba(74,96,128,0.72); }

        /* ================================================================
           ANIMATIONS ENRICHIES
        ================================================================ */

        /* ---- Curseur lumineux (desktop) ---- */
        #cursor-glow {
            position: fixed;
            width: 380px; height: 380px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(14,140,235,0.07) 0%, transparent 65%);
            transition: opacity 0.5s;
            will-change: transform;
        }
        @media (max-width: 768px) { #cursor-glow { display: none; } }

        /* ---- Canvas particules hero ---- */
        #hero-canvas {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }
        .hero-content-layer { position: relative; z-index: 2; }

        /* ---- Reveal depuis les cÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â´tÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©s ---- */
        .reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
        .reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
        .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

        /* ---- Shimmer au survol des glass cards ---- */
        .glass::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, transparent 35%, rgba(79,195,255,0.06) 50%, transparent 65%);
            background-size: 200% 100%;
            background-position: -200% 0;
            transition: background-position 0.65s ease;
            border-radius: inherit;
            pointer-events: none;
            z-index: 0;
        }
        .glass:hover::after { background-position: 220% 0; }
        .glass > * { position: relative; z-index: 1; }

        /* ---- Orbs flottantes dans le hero ---- */
        .hero-orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            filter: blur(90px);
        }
        .hero-orb-1 {
            width: 620px; height: 620px;
            top: -15%; left: -10%;
            background: radial-gradient(circle, rgba(14,140,235,0.2) 0%, transparent 70%);
            animation: orb-drift 13s ease-in-out infinite alternate;
        }
        .hero-orb-2 {
            width: 480px; height: 480px;
            bottom: 0; right: 3%;
            background: radial-gradient(circle, rgba(79,195,255,0.11) 0%, transparent 70%);
            animation: orb-drift 9s ease-in-out 1s infinite alternate-reverse;
        }
        @keyframes orb-drift {
            0%   { transform: translate(0,0) scale(1); }
            100% { transform: translate(48px,28px) scale(1.09); }
        }

        /* ---- Pulse ring autour du logo ---- */
        .logo-ring {
            position: absolute;
            inset: -5px;
            border-radius: 15px;
            border: 1.5px solid rgba(79,195,255,0.4);
            animation: ring-pulse 2.8s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes ring-pulse {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50%       { opacity: 0; transform: scale(1.45); }
        }

        /* ---- Typewriter cursor ---- */
        .tw-cursor {
            display: inline-block;
            width: 3px; height: 0.82em;
            background: #4FC3FF;
            margin-left: 5px;
            vertical-align: middle;
            border-radius: 2px;
            animation: tw-blink 1s step-end infinite;
        }
        @keyframes tw-blink {
            0%, 100% { opacity: 1; }
            50%       { opacity: 0; }
        }

        /* ---- Chip-dot pulse ---- */
        .chip-dot {
            animation: chip-dot-pulse 2.2s ease-in-out infinite;
        }
        @keyframes chip-dot-pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(79,195,255,0.55); }
            50%       { box-shadow: 0 0 0 6px rgba(79,195,255,0); }
        }

        /* ---- Btn-primary : effet reflet au survol ---- */
        .btn-primary {
            overflow: hidden;
        }
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0; left: -80%;
            width: 50%; height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
            transform: skewX(-20deg);
            transition: left 0.55s ease;
            pointer-events: none;
        }
        .btn-primary:hover::after { left: 140%; }

        /* ---- Stat-number glow aprÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¨s count-up ---- */
        .stat-number.counted {
            text-shadow: 0 0 28px rgba(14,140,235,0.55);
        }

        /* ---- Section separator animated line ---- */
        .anim-sep {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(79,195,255,0.3), transparent);
            opacity: 0;
            transform: scaleX(0);
            transition: opacity 0.8s ease, transform 1s cubic-bezier(0.22,1,0.36,1);
        }
        .anim-sep.visible { opacity: 1; transform: scaleX(1); }

        /* ---- Float animation pour les badge chips du hero ---- */
        .hero-float-badge {
            animation: float-badge 4s ease-in-out infinite;
        }
        .hero-float-badge:nth-child(2) { animation-delay: 1.5s; }
        @keyframes float-badge {
            0%, 100% { transform: translateY(0); }
            50%       { transform: translateY(-8px); }
        }

        /* ================================================================
           PHOTO CAROUSEL HERO  (hpc = hero photo carousel)
        ================================================================ */

        /* Conteneur principal — calque 0, plein écran */
        .hero-photo-carousel {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }

        /* ---- Track (empilement de slides) ---- */
        .hpc-track {
            position: absolute;
            inset: 0;
        }

        /* ---- Slide individuelle ---- */
        .hpc-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            pointer-events: none;
            will-change: opacity, transform;
            /* Transition de fondu */
            transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .hpc-slide.is-active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
        }
        /* Slide précédente : reste visible 1.1s pendant la transition */
        .hpc-slide.is-leaving {
            opacity: 0;
            z-index: 1;
            transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ---- Image avec Ken Burns (zoom + légère translation) ---- */
        .hpc-img-wrap {
            position: absolute;
            inset: -8%;          /* marge pour le déplacement Ken Burns */
            overflow: hidden;
        }
        .hpc-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transform-origin: center center;
            /* État de repos */
            transform: scale(1.08);
            transition: none;
        }
        /* Animation Ken Burns déclenchée sur la slide active */
        .hpc-slide.is-active .hpc-img-wrap img {
            animation: hpc-ken-burns 7s ease-out forwards;
        }
        @keyframes hpc-ken-burns {
            0%   { transform: scale(1.08) translate(0, 0); }
            100% { transform: scale(1.00) translate(-1%, -1%); }
        }
        /* Variantes de direction pour chaque slide */
        .hpc-slide[data-index="1"].is-active .hpc-img-wrap img {
            animation-name: hpc-ken-burns-r;
        }
        @keyframes hpc-ken-burns-r {
            0%   { transform: scale(1.08) translate(1%, 0); }
            100% { transform: scale(1.00) translate(0, -1%); }
        }
        .hpc-slide[data-index="2"].is-active .hpc-img-wrap img {
            animation-name: hpc-ken-burns-d;
        }
        @keyframes hpc-ken-burns-d {
            0%   { transform: scale(1.06) translate(0, -1%); }
            100% { transform: scale(1.00) translate(1%, 0); }
        }
        .hpc-slide[data-index="3"].is-active .hpc-img-wrap img {
            animation-name: hpc-ken-burns-ul;
        }
        @keyframes hpc-ken-burns-ul {
            0%   { transform: scale(1.09) translate(-1%, 1%); }
            100% { transform: scale(1.00) translate(0, 0); }
        }
        .hpc-slide[data-index="4"].is-active .hpc-img-wrap img {
            animation-name: hpc-ken-burns-dr;
        }
        @keyframes hpc-ken-burns-dr {
            0%   { transform: scale(1.07) translate(1%, -1%); }
            100% { transform: scale(1.00) translate(-1%, 0); }
        }

        /* ---- Caption par slide ---- */
        .hpc-caption {
            position: absolute;
            bottom: 90px;
            right: 40px;
            z-index: 4;
            text-align: right;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.6s 0.5s ease, transform 0.6s 0.5s ease;
            pointer-events: none;
            max-width: 320px;
        }
        .hpc-slide.is-active .hpc-caption {
            opacity: 1;
            transform: translateY(0);
        }
        .hpc-caption-label {
            display: inline-block;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #4FC3FF;
            background: rgba(14,140,235,0.12);
            border: 1px solid rgba(79,195,255,0.25);
            border-radius: 100px;
            padding: 4px 12px;
            margin-bottom: 8px;
        }
        .hpc-caption-text {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: rgba(255,255,255,0.78);
            line-height: 1.4;
        }
        .light .hpc-caption-text { color: rgba(13,27,46,0.72); }

        /* ---- Overlay dégradé de protection du texte ---- */
        .hpc-overlay {
            position: absolute;
            inset: 0;
            z-index: 3;
            pointer-events: none;
            /* Fort à gauche (texte hero), léger à droite, dégradé bas (stat bar) */
            background:
                linear-gradient(
                    to right,
                    rgba(7,20,40,0.90) 0%,
                    rgba(7,20,40,0.72) 40%,
                    rgba(7,20,40,0.42) 65%,
                    rgba(7,20,40,0.15) 100%
                ),
                linear-gradient(
                    to top,
                    rgba(7,20,40,0.85) 0%,
                    transparent 38%
                ),
                linear-gradient(
                    to bottom,
                    rgba(7,20,40,0.55) 0%,
                    transparent 20%
                );
        }
        .light .hpc-overlay {
            background:
                linear-gradient(
                    to right,
                    rgba(244,247,252,0.88) 0%,
                    rgba(244,247,252,0.66) 40%,
                    rgba(244,247,252,0.35) 65%,
                    rgba(244,247,252,0.10) 100%
                ),
                linear-gradient(
                    to top,
                    rgba(244,247,252,0.80) 0%,
                    transparent 38%
                );
        }

        /* ---- Flèches de navigation ---- */
        .hpc-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 46px; height: 46px;
            border-radius: 50%;
            background: rgba(14,140,235,0.15);
            border: 1px solid rgba(79,195,255,0.25);
            color: rgba(255,255,255,0.85);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.25s ease, border-color 0.25s ease,
                        transform 0.25s ease, opacity 0.25s ease;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            opacity: 0.55;
        }
        .hpc-arrow:hover {
            background: rgba(14,140,235,0.40);
            border-color: rgba(79,195,255,0.6);
            opacity: 1;
        }
        .hpc-arrow-prev {
            left: 20px;
        }
        .hpc-arrow-prev:hover { transform: translateY(-50%) translateX(-2px); }
        .hpc-arrow-next {
            right: 20px;
        }
        .hpc-arrow-next:hover { transform: translateY(-50%) translateX(2px); }
        /* Masquer les flèches sur très petits écrans */
        @media (max-width: 480px) {
            .hpc-arrow { display: none; }
        }
        .light .hpc-arrow {
            background: rgba(255,255,255,0.55);
            border-color: rgba(14,140,235,0.22);
            color: #0A3A6B;
        }
        .light .hpc-arrow:hover {
            background: rgba(255,255,255,0.88);
            border-color: rgba(14,140,235,0.55);
        }

        /* ---- Barre de navigation inférieure (tabs + progress) ---- */
        .hpc-nav {
            display: none;
        }
        .hpc-nav-item {
            display: none;
        }

        /* ---- Masquer les labels sur mobile ---- */
        @media (max-width: 640px) {
            .hpc-nav-label { display: none; }
            .hpc-nav-item  { height: 32px; }
            .hpc-nav       { height: 32px; }
            .hpc-caption   { bottom: 50px; right: 16px; max-width: 220px; }
        }

        /* ================================================================
           CTA IMAGE BANNER
        ================================================================ */
        .cta-section {
            position: relative;
        }
        .cta-bg-image {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }
        .cta-bg-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }
        /* Overlay CTA : assure lisibilité totale du contenu centré */
        .dark .cta-bg-overlay {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 70% 100% at 50% 50%,
                    rgba(7,20,40,0.82) 0%,
                    rgba(7,20,40,0.70) 55%,
                    rgba(7,20,40,0.50) 100%
                );
            z-index: 1;
            pointer-events: none;
        }
        .light .cta-bg-overlay {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 70% 100% at 50% 50%,
                    rgba(244,247,252,0.88) 0%,
                    rgba(244,247,252,0.72) 55%,
                    rgba(244,247,252,0.45) 100%
                );
            z-index: 1;
            pointer-events: none;
        }
        .cta-content {
            position: relative;
            z-index: 2;
        }


        /* Logo image dans les cards filiales */
.subs-logo-badge .subs-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    padding: 6px;           /* légère marge intérieure pour les logos avec fond */
    background: transparent;
}
