        :root {
            --primary: #007bff;
            --white: #fff;
        }

        .btn-primary {
            background: var(--primary);
            border-color: var(--primary) !important;
        }


        .bg-primary {
            background-color: var(--primary) !important;
        }

        .text-primary {
            color: var(--primary) !important;
        }

        .text-white {
            color: var(--white) !important;
        }


        #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link:hover {
            color: var(--primary) !important;
        }


        .btn-outline-primary {
            color: var(--primary) !important;
            border-color: var(--primary) !important;
        }

        .btn-outline-primary:hover {
            background: var(--primary);
            color: #fff !important;
        }

        header.masthead.hero-soft {
            background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .72)), url('/assets/img/bg-masthead.jpg') center/cover no-repeat;
        }

        .card {
            border-radius: 22px !important;
            border: 1px solid rgba(0, 0, 0, .05);
        }

        .card:hover {
            transform: translateY(-2px);
            transition: .15s ease;
        }

        .badge-soft {
            background: rgba(0, 123, 255, .12);
            color: var(--primary);
            border: 1px solid rgba(0, 123, 255, .25);
            padding: .35rem .7rem;
            border-radius: 999px;
            font-weight: 700;
            font-size: .82rem;
            margin: .22rem .22rem 0 0;
            display: inline-block;
            max-width: 100%;
        }

        .status-badge {
            font-size: .75rem;
            font-weight: 800;
            padding: .25rem .55rem;
            border-radius: 999px;
            border: 1px solid rgba(0, 0, 0, .08);
            display: inline-block;
        }

        .status-active {
            background: rgba(40, 167, 69, .12);
            color: #1e7e34;
            border-color: rgba(40, 167, 69, .25);
        }

        .status-optional {
            background: rgba(255, 193, 7, .15);
            color: #856404;
            border-color: rgba(255, 193, 7, .30);
        }

        .status-roadmap {
            background: rgba(108, 117, 125, .12);
            color: #495057;
            border-color: rgba(108, 117, 125, .25);
        }

        .logo-badge {
            background: #fff;
            border: 1px solid rgba(0, 0, 0, .08);
            border-radius: 18px;
            padding: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 90px;
        }

        .logo-badge img {
            max-height: 60px;
            object-fit: contain;
        }

        .solution-meta {
            font-size: .9rem;
            color: #6c757d;
        }

        .toolbar {
            background: #fff;
            border: 1px solid rgba(0, 0, 0, .06);
            border-radius: 18px;
            padding: 14px;
        }

        .toolbar .form-control {
            border-radius: 14px;
        }

        .filter-btn.active {
            background: var(--primary);
            color: #fff !important;
        }

        .solution-item.is-hidden {
            display: none !important;
        }

        .section-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 10px;
        }

        .section-title h3 {
            margin: 0;
        }

        .section-sub {
            color: #6c757d;
            margin-bottom: 22px;
        }

        #nav-top li {
            font-size: ;
            color: #fff;
            border-left: 1px solid rgba(255, 255, 255, .5);
            padding-left: .5rem;
        }

        #nav-top li:first-child {
            padding-left: 0 !important;
            border-left: none;
        }

        #nav-top a {
            color: #fff !important;
            padding-left: .5rem !important;
            padding-right: .5rem !important;
        }


        .mini-kpi {
            border: 1px solid rgba(0, 0, 0, .06);
            border-radius: 18px;
            padding: 18px;
            background: #fff;
        }

        .mini-kpi a {
            color: var(--primary) !important;
            color: inherit !important;
            text-decoration: none;
        }

        .mini-kpi:hover {
            background: #fff !important;
            border-color: var(--primary) !important;
            transform: translateY(-2px);
            transition: .15s ease;
        }

        .mini-kpi:hover i {
            color: var(--primary) !important;
        }



        .contact-link {
            border: 1px solid var(--primary) !important;
            color: var(--primary) !important;
            padding-left: 1rem !important;
            padding-right: 1rem !important;
            border-radius: 9px;
        }

        .contact-link:hover {
            background: var(--primary) !important;
            color: #fff !important;
        }

        /* ============================================
           STYLE DE LA CLASSE ACTIVE = STYLE HOVER
           ============================================ */
        .navbar-nav .nav-link.active {
            color: var(--primary) !important;
            font-weight: 600;
            border-bottom: 2px solid var(--primary);
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary) !important;
            font-weight: 600;
            border-bottom: 2px solid var(--primary);
        }

        /* Pour les dropdowns */
        .dropdown-menu .dropdown-item.active,
        .dropdown-menu .dropdown-item:active {
            background-color: var(--primary) !important;
            color: #fff !important;
        }

        .dropdown.show>.nav-link {
            color: var(--primary) !important;
            font-weight: 600;
        }

        #nav-bottom {}

        #nav-bottom .nav .nav-link {
            color: #fff !important;
            opacity: .95;
            font-size: 11px;
        }

        /* ============================================
       CORRECTION DES ESPACEMENTS SUR MOBILE
       ============================================ */

        /* Tablettes (max 992px) */
        @media (max-width: 991.98px) {
            .page-section {
                padding: 4rem 0 !important;
                /* Réduit de 8rem à 4rem */
            }

            /* Hero de la page contact */
            header.masthead {
                padding-top: 6rem !important;
                padding-bottom: 4rem !important;
            }

            header.masthead h1 {
                font-size: 2rem !important;
            }

            header.masthead p {
                font-size: 1rem !important;
            }
        }

        /* Mobile (max 768px) */
        @media (max-width: 767.98px) {
            .page-section {
                padding: 3rem 0 !important;
                /* Encore plus réduit */
            }

            header.masthead {
                padding-top: 5rem !important;
                padding-bottom: 3rem !important;
            }

            header.masthead h1 {
                font-size: 1.75rem !important;
            }

            /* Réduit les titres h3 dans les sections */
            .page-section h3 {
                font-size: 1.5rem !important;
                margin-bottom: 1rem !important;
            }

            /* Réduit les icônes des coordonnées */
            .page-section .fa-3x {
                font-size: 2em !important;
            }

            /* Formulaires : réduit les marges */
            .form-group {
                margin-bottom: 0.75rem !important;
            }

            .btn-lg {
                padding: 0.6rem 1.5rem !important;
                font-size: 1rem !important;
            }
        }

        /* Très petits écrans (max 576px) */
        @media (max-width: 575.98px) {
            .page-section {
                padding: 2rem 0 !important;
            }

            header.masthead {
                padding-top: 4rem !important;
                padding-bottom: 2rem !important;
            }

            header.masthead h1 {
                font-size: 1.5rem !important;
            }

            header.masthead .container {
                padding-top: 4rem !important;
                padding-bottom: 1rem !important;
            }
        }

        /* ============================================
       CORRECTION DES PADDINGS INLINE DU HERO
       ============================================ */
        /* Annule les paddings inline excessifs sur mobile */
        @media (max-width: 767.98px) {
            header.masthead[style*="padding-top:120px"] {
                padding-top: 5rem !important;
                padding-bottom: 3rem !important;
            }
        }

        /* ============================================
        STYLES NAVIGATION
        ============================================ */
        #nav-top {
            background: linear-gradient(135deg, var(--primary) 0%, #d6370c 100%);
        }

        #nav-top a {
            color: #fff !important;
            font-size: 0.85rem;
            transition: opacity 0.3s;
        }

        #nav-top a:hover {
            opacity: 0.8;
        }

        /* Navbar principale */
        #mainNav {
            transition: all 0.3s ease;
            padding: 0.8rem 0;
        }

        #mainNav.navbar-scrolled {
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            background-color: #fff !important;
        }

        #mainNav .navbar-brand h1 {
            font-size: 1.3rem;
            line-height: 1.2;
        }

        #mainNav .navbar-brand small {
            font-size: 0.75rem;
            color: #6c757d;
        }

        /* Liens de navigation */
        #mainNav .navbar-nav .nav-link {
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.5rem 1rem !important;
            transition: all 0.3s;
            position: relative;
        }

        #mainNav .navbar-nav .nav-link:hover,
        #mainNav .navbar-nav .nav-link.active {
            color: var(--primary) !important;
        }

        #mainNav .navbar-nav .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* Dropdown */
        #mainNav .dropdown-menu {
            border: none;
            box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
            border-radius: 0.5rem;
            padding: 0.5rem 0;
            min-width: 250px;
        }

        #mainNav .dropdown-item {
            padding: 0.6rem 1.2rem;
            font-size: 0.88rem;
            color: #495057;
            transition: all 0.2s;
            display: flex;
            align-items: center;
        }

        #mainNav .dropdown-item:hover {
            background-color: #fff5f2;
            color: var(--primary);
            padding-left: 1.5rem;
        }

        #mainNav .dropdown-item i {
            width: 20px;
            margin-right: 10px;
            color: var(--primary);
        }

        #mainNav .dropdown-header {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: #adb5bd;
            font-weight: 700;
            padding: 0.5rem 1.2rem;
            letter-spacing: 0.5px;
        }

        #mainNav .dropdown-divider {
            margin: 0.3rem 0;
        }

        /* Bouton CTA */
        .btn-demo {
            background: linear-gradient(135deg, var(--primary) 0%, #d6370c 100%);
            color: #fff !important;
            font-weight: 600;
            padding: 0.5rem 1.2rem !important;
            border-radius: 50rem;
            box-shadow: 0 4px 15px rgba(244, 98, 58, 0.3);
            transition: all 0.3s;
        }

        .btn-demo:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(244, 98, 58, 0.4);
            color: #fff !important;
        }

        /* Barre mobile fixe */
        #nav-bottom {
            background: linear-gradient(135deg, var(--primary) 0%, #d6370c 100%);
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        }

        #nav-bottom .nav-link {
            color: #fff !important;
            padding: 0.5rem;
            font-size: 0.75rem;
        }

        #nav-bottom .nav-link i {
            font-size: 1.1rem;
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            #mainNav .navbar-collapse {
                background: #fff;
                padding: 1rem;
                border-radius: 0.5rem;
                margin-top: 0.5rem;
                box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
            }

            #mainNav .navbar-nav .nav-link {
                padding: 0.7rem 1rem !important;
                border-bottom: 1px solid #f1f1f1;
            }

            #mainNav .navbar-nav .nav-link.active::after {
                display: none;
            }

            #mainNav .dropdown-menu {
                box-shadow: none;
                border-left: 3px solid var(--primary);
                margin-left: 1rem;
            }
        }