/* Styles globaux de la page de base (extraits de base.html pour être mis en cache) */
/* Amphyx Loader & Network Toasts Critical Resilient Styles */
        #campusx-preloader {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            background: #ffffff;
            z-index: 9999999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.35s ease, visibility 0.35s ease;
            /* Sécurité CSS intégrée : disparition garantie sous 800ms même sans aucun JavaScript */
            animation: campusxAutoDismissPreloader 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
            pointer-events: auto;
        }
        #campusx-preloader.fade-out {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            display: none !important;
        }
        @keyframes campusxAutoDismissPreloader {
            0% {
                opacity: 1;
                visibility: visible;
            }
            80% {
                opacity: 0;
                visibility: visible;
            }
            100% {
                opacity: 0;
                visibility: hidden;
                display: none;
                pointer-events: none;
            }
        }
        .campusx-preloader-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .campusx-preloader-logo-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 25px rgba(12, 46, 96, 0.12);
            margin-bottom: 16px;
            position: relative;
        }
        .campusx-preloader-logo-ring img {
            height: 48px;
            width: auto;
            max-height: 48px;
            object-fit: contain;
        }
        .campusx-preloader-brand {
            font-size: 26px;
            font-weight: 900;
            color: #0c2e60;
            letter-spacing: -0.5px;
            margin: 0 0 4px 0;
        }
        .campusx-preloader-tagline {
            font-size: 13px;
            font-weight: 700;
            color: #64748b;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 20px;
        }
        .campusx-preloader-progress-track {
            width: 200px;
            height: 5px;
            background: #f1f5f9;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        .campusx-preloader-progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 45%;
            border-radius: 10px;
            background: linear-gradient(90deg, #0c2e60 0%, #ee390f 50%, #f9b700 100%);
            animation: campusxProgressGlide 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
        }
        @keyframes campusxProgressGlide {
            0% { left: -45%; width: 35%; }
            50% { width: 60%; }
            100% { left: 100%; width: 35%; }
        }
        #campusx-page-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3.5px;
            width: 0%;
            z-index: 99999999;
            background: linear-gradient(90deg, #ee390f 0%, #f9b700 65%, #0c2e60 100%);
            box-shadow: 0 0 10px rgba(238, 57, 15, 0.8);
            pointer-events: none;
            opacity: 0;
            transition: width 0.22s ease-out, opacity 0.25s ease-out;
        }
        #campusx-network-toast {
            display: none;
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 440px;
            max-width: calc(100vw - 32px);
            z-index: 999999;
            background: #ffffff;
            border-radius: 18px;
            box-shadow: 0 20px 45px rgba(12, 46, 96, 0.18);
            border: 1.5px solid #e2e8f0;
            overflow: hidden;
        }
        #campusx-ajax-error-toast {
            display: none;
            position: fixed;
            top: 85px;
            right: 24px;
            width: 380px;
            max-width: calc(100vw - 32px);
            z-index: 999999;
            background: #ffffff;
            border-left: 5px solid #ef4444;
            border-radius: 12px;
            box-shadow: 0 12px 30px rgba(12, 46, 96, 0.15);
            padding: 14px 18px;
        }

        /* Amphyx enhancements on top of etrain base */
        .campusx-badge-points {
            background: linear-gradient(135deg, #f9b700 0%, #ee390f 100%);
            color: #ffffff !important;
            padding: 5px 12px;
            border-radius: 0 !important;
            font-weight: 700;
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 8px rgba(238, 57, 15, 0.2);
        }
        .campusx-badge-earnings {
            background: #0c2e60;
            color: #4cd137 !important;
            padding: 5px 12px;
            border-radius: 0 !important;
            font-weight: 700;
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border: 1px solid rgba(76, 209, 55, 0.3);
        }
        .campusx-role-badge {
            font-size: 10px;
            text-transform: uppercase;
            padding: 2px 8px;
            border-radius: 0 !important;
            font-weight: 800;
        }
        .campusx-role-admin {
            background: #f9b700;
            color: #0c2e60;
        }
        .campusx-role-student {
            background: #4cd137;
            color: #ffffff;
        }
        .native-ad-box {
            background: #ffffff;
            border: 1px solid #e1e7ec;
            border-radius: 0 !important;
            padding: 15px 20px;
            margin: 25px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .native-ad-tag {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #888;
            font-weight: 700;
        }
        .dropdown-menu {
            border-radius: 0 !important;
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }

        /* ==========================================================================
           Amphyx Modern Mega Menu
           ========================================================================== */
        .main_menu .navbar {
            position: relative !important;
        }

        @media (min-width: 992px) {
            .main_menu .navbar-nav .nav-item.dropdown-mega {
                position: static !important;
            }
            .dropdown-menu-mega {
                position: absolute !important;
                left: 0 !important;
                right: 0 !important;
                top: 100% !important;
                width: 100% !important;
                max-width: 1140px !important;
                margin: 10px auto 0 auto !important;
                background: #ffffff !important;
                border-radius: 18px !important;
                border: 1px solid #e2e8f0 !important;
                box-shadow: 0 20px 45px rgba(12, 46, 96, 0.14) !important;
                padding: 0 !important;
                overflow: hidden !important;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateY(10px) !important;
                transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
                z-index: 1050 !important;
            }
            .main_menu .navbar-nav .nav-item.dropdown-mega:hover .dropdown-menu-mega,
            .main_menu .navbar-nav .nav-item.dropdown-mega.show .dropdown-menu-mega,
            .main_menu .navbar-nav .nav-item.dropdown-mega .dropdown-menu-mega.show {
                opacity: 1 !important;
                visibility: visible !important;
                pointer-events: auto !important;
                transform: translateY(0) !important;
                display: block !important;
            }
            .dropdown-menu-mega:before {
                content: "";
                position: absolute;
                top: -12px;
                left: 0;
                right: 0;
                height: 12px;
            }
        }

        .mega-menu-body {
            padding: 24px 28px 20px 28px;
        }
        .mega-menu-grid {
            display: flex;
            margin-left: -12px;
            margin-right: -12px;
        }
        .mega-menu-col {
            flex: 1 1 25%;
            max-width: 25%;
            padding: 0 12px;
            border-right: 1px solid #f1f5f9;
        }
        .mega-menu-col:last-child {
            border-right: none;
        }
        .mega-col-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            padding-bottom: 8px;
            border-bottom: 2px solid transparent;
        }
        .mega-col-title {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 800;
            margin: 0;
        }
        .mega-col-header.theme-blue { color: #0284c7; border-color: rgba(2, 132, 199, 0.2); }
        .mega-col-header.theme-emerald { color: #059669; border-color: rgba(5, 150, 105, 0.2); }
        .mega-col-header.theme-amber { color: #d97706; border-color: rgba(217, 119, 6, 0.2); }
        .mega-col-header.theme-purple { color: #7c3aed; border-color: rgba(124, 58, 237, 0.2); }

        .mega-menu-link {
            display: flex;
            align-items: flex-start;
            padding: 8px 10px;
            border-radius: 10px;
            text-decoration: none !important;
            transition: all 0.15s ease;
            margin-bottom: 4px;
        }
        .mega-menu-link:hover {
            background: #f8fafc;
            transform: translateX(3px);
        }
        .mega-menu-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            margin-right: 10px;
            flex-shrink: 0;
            transition: transform 0.15s ease;
        }
        .mega-menu-link:hover .mega-menu-icon {
            transform: scale(1.08);
        }
        .mega-icon-blue { background: #e0f2fe; color: #0284c7; }
        .mega-icon-emerald { background: #dcfce7; color: #16a34a; }
        .mega-icon-amber { background: #fef3c7; color: #d97706; }
        .mega-icon-purple { background: #f3e8ff; color: #9333ea; }
        .mega-icon-rose { background: #ffe4e6; color: #e11d48; }

        .mega-link-content {
            flex: 1;
            min-width: 0;
        }
        .mega-link-title {
            font-size: 13.5px;
            font-weight: 700;
            color: #0c2e60;
            line-height: 1.25;
            margin-bottom: 2px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .mega-menu-link:hover .mega-link-title {
            color: #ee390f;
        }
        .mega-link-desc {
            font-size: 11px;
            color: #64748b;
            line-height: 1.35;
            margin: 0;
            white-space: normal;
        }
        .mega-badge-pill {
            font-size: 9px;
            padding: 2px 6px;
            border-radius: 6px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            margin-left: 4px;
        }
        .mega-badge-warning { background: #fef3c7; color: #b45309; }
        .mega-badge-danger { background: #fee2e2; color: #b91c1c; }
        .mega-badge-success { background: #dcfce7; color: #15803d; }

        .mega-menu-footer {
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
            padding: 12px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }
        .mega-footer-label {
            font-size: 12px;
            font-weight: 700;
            color: #475569;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .mega-footer-actions {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }
        .mega-action-btn {
            font-size: 11.5px;
            font-weight: 700;
            color: #0c2e60;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            padding: 4px 10px;
            border-radius: 6px;
            text-decoration: none !important;
            transition: all 0.15s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .mega-action-btn:hover {
            color: #ee390f;
            border-color: #ee390f;
            background: #ffffff;
            transform: translateY(-1px);
        }

        /* Lien Page de Contact dans le Footer (évite le conflit .footer-area .btn de style.css) */
        .footer-area .campusx-footer-contact-link {
            width: auto !important;
            height: auto !important;
            min-width: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            padding: 9px 18px !important;
            border-radius: 10px !important;
            background: rgba(255, 255, 255, 0.12) !important;
            border: 1px solid rgba(255, 255, 255, 0.28) !important;
            color: #ffffff !important;
            font-size: 13.5px !important;
            font-weight: 700 !important;
            line-height: 1.4 !important;
            white-space: nowrap !important;
            text-decoration: none !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
            transition: all 0.2s ease !important;
        }

        .footer-area .campusx-footer-contact-link:hover {
            background: #ee390f !important;
            border-color: #ee390f !important;
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 14px rgba(238, 57, 15, 0.4) !important;
        }

        .footer-area .campusx-footer-contact-link i {
            color: #ffb703 !important;
            font-size: 15px !important;
            margin: 0 !important;
        }

        .footer-area .campusx-footer-contact-link:hover i {
            color: #ffffff !important;
        }

        /* ==========================================================================
           Mobile Navigation Scroll & In-Flow Dropdown System
           ========================================================================== */
        @media (max-width: 991.98px) {
            .dropdown-menu-mega, .nav-item.dropdown-mega {
                display: none !important;
            }

            /* Conteneur tiroir mobile avec défilement fluide */
            .main_menu .navbar-collapse {
                position: absolute !important;
                top: 100% !important;
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                background: #ffffff !important;
                padding: 16px 20px 32px 20px !important;
                margin-top: 0 !important;
                box-shadow: 0 16px 35px rgba(12, 46, 96, 0.16) !important;
                border-bottom: 2px solid #cbd5e1 !important;
                border-top: 1px solid #e2e8f0 !important;
                max-height: calc(100vh - 75px) !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch !important;
                overscroll-behavior: contain !important;
                touch-action: pan-y !important;
                z-index: 9999 !important;
                text-align: left !important;
                justify-content: flex-start !important;
                align-items: flex-start !important;
            }

            .main_menu .main-menu-item {
                text-align: left !important;
                justify-content: flex-start !important;
            }

            /* Navigation Mobile : TOUS LES ÉLÉMENTS ALIGNÉS STRICTEMENT À GAUCHE */
            .main_menu .navbar-nav {
                width: 100% !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                text-align: left !important;
                padding-left: 0 !important;
                margin-left: 0 !important;
            }

            .main_menu .navbar-nav .nav-item {
                border-bottom: 1px solid #f1f5f9 !important;
                padding: 3px 0 !important;
                width: 100% !important;
                text-align: left !important;
                align-items: flex-start !important;
                margin-left: 0 !important;
            }

            .main_menu .navbar-nav .nav-item:last-child {
                border-bottom: none !important;
            }

            .main_menu .navbar-nav .nav-link {
                font-size: 15px !important;
                font-weight: 600 !important;
                color: #0c2e60 !important;
                padding: 10px 4px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
                text-align: left !important;
                width: 100% !important;
                gap: 10px !important;
            }

            .main_menu .navbar-nav .nav-link i {
                width: 22px !important;
                min-width: 22px !important;
                text-align: center !important;
                font-size: 17px !important;
                margin-right: 0 !important;
                flex-shrink: 0 !important;
            }

            .main_menu .navbar-nav .nav-link span {
                text-align: left !important;
            }

            .main_menu .navbar-nav .nav-link .badge {
                margin-left: 8px !important;
            }

            .main_menu .navbar-nav .dropdown-toggle::after {
                margin-left: auto !important;
                margin-right: 4px !important;
            }

            /* Sous-menus dropdowns déroulés dans le flux et alignés à gauche */
            .main_menu .navbar-nav .dropdown-menu {
                position: static !important;
                float: none !important;
                width: 100% !important;
                max-height: none !important;
                overflow: visible !important;
                transform: none !important;
                transition: none !important;
                border: 1px solid #e2e8f0 !important;
                border-radius: 10px !important;
                box-shadow: none !important;
                margin: 6px 0 10px 0 !important;
                background: #f8fafc !important;
                padding: 6px !important;
                display: none;
                text-align: left !important;
            }

            .main_menu .navbar-nav .dropdown.show > .dropdown-menu,
            .main_menu .navbar-nav .dropdown-menu.show {
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
                transform: none !important;
            }

            .main_menu .navbar-nav .dropdown-menu .dropdown-item {
                padding: 10px 14px !important;
                font-size: 13.5px !important;
                border-radius: 6px !important;
                white-space: normal !important;
                color: #334155 !important;
                border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
                text-align: left !important;
                width: 100% !important;
                gap: 10px !important;
            }

            .main_menu .navbar-nav .dropdown-menu .dropdown-item:last-child {
                border-bottom: none !important;
            }

            .main_menu .navbar-nav .dropdown-menu .dropdown-item i {
                width: 20px !important;
                min-width: 20px !important;
                text-align: center !important;
                font-size: 16px !important;
                flex-shrink: 0 !important;
            }

            .main_menu .navbar-nav .btn_1 {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
                text-align: center !important;
                display: block !important;
            }
        }

        /* Voile d'arrière-plan pour fermeture à la perte de focus / clic extérieur */
        .campusx-mobile-backdrop {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(12, 46, 96, 0.45);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            z-index: 1030;
            opacity: 0;
            transition: opacity 0.25s ease;
            pointer-events: none;
        }
        /* ==========================================================================
           Amphyx Mobile Navigation (Icones simples sans fond)
           ========================================================================== */
        .campusx-mobile-search-toggle-btn {
            width: 36px;
            height: 36px;
            background: transparent !important;
            border: none !important;
            color: #0c2e60 !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            cursor: pointer;
            transition: color 0.15s ease, transform 0.15s ease;
            padding: 0;
            outline: none !important;
            box-shadow: none !important;
        }

        .campusx-mobile-search-toggle-btn:hover,
        .campusx-mobile-search-toggle-btn:active {
            background: transparent !important;
            color: #ee390f !important;
            transform: scale(1.1);
        }

        .campusx-mobile-cart-btn {
            width: 36px;
            height: 36px;
            background: transparent !important;
            border: none !important;
            color: #ef4444 !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            outline: none !important;
            transition: color 0.15s ease, transform 0.15s ease;
            box-shadow: none !important;
        }

        .campusx-mobile-cart-btn:hover,
        .campusx-mobile-cart-btn:active {
            background: transparent !important;
            color: #dc2626 !important;
            transform: scale(1.1);
        }

        /* ==========================================================================
           AMPHYX GLOBAL NAVBAR & FIXES ANTI-CRASH
           ========================================================================== */
        body {
            padding-top: 72px !important;
        }
        @media (max-width: 991.98px) {
            body {
                padding-top: 64px !important;
            }
        }

        /* Supprimer imperativement le carre degrade orange archaique derriere le burger */
        .main_menu .navbar-toggler:after,
        .navbar-toggler:after {
            display: none !important;
            content: none !important;
        }

        /* Burger Menu Mobile Uniquement — Strictement masqué sur bureau */
        @media (min-width: 992px) {
            .main_menu .navbar-toggler,
            .navbar-toggler {
                display: none !important;
            }
        }

        @media (max-width: 991.98px) {
            .main_menu .navbar-toggler {
                border: 1.5px solid #cbd5e1 !important;
                border-radius: 10px !important;
                padding: 6px 9px !important;
                background: #ffffff !important;
                color: #0c2e60 !important;
                box-shadow: 0 2px 6px rgba(12, 46, 96, 0.05) !important;
                outline: none !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .main_menu .navbar-toggler:hover,
            .main_menu .navbar-toggler:focus {
                background: #f8fafc !important;
                border-color: #0c2e60 !important;
                outline: none !important;
                box-shadow: 0 0 0 2px rgba(12, 46, 96, 0.15) !important;
            }
        }

        .navbar-toggler .navbar-toggler-icon {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(12, 46, 96, 0.9)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
            width: 22px !important;
            height: 22px !important;
        }

        /* Neutralisation des regles archaiques de style.css sur les dropdowns bureau */
        @media (min-width: 992px) {
            .main_menu .navbar-nav > .nav-item > .nav-link {
                padding: 18px 12px !important;
                font-size: 14.5px !important;
                font-weight: 600 !important;
                color: #1e293b !important;
                transition: color 0.15s ease !important;
            }
            .main_menu .navbar-nav > .nav-item:hover > .nav-link,
            .main_menu .navbar-nav > .nav-item.active > .nav-link {
                color: #ee390f !important;
            }

            .main_menu .dropdown .dropdown-menu {
                display: block !important;
                opacity: 0 !important;
                visibility: hidden !important;
                pointer-events: none !important;
                transform: translateY(8px) scale(1) !important;
                transform-origin: top center !important;
                margin-top: 0 !important;
                top: 100% !important;
                border-radius: 12px !important;
                border: 1.5px solid #e2e8f0 !important;
                box-shadow: 0 16px 36px rgba(12, 46, 96, 0.12) !important;
                background: #ffffff !important;
                transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
                z-index: 1050 !important;
            }

            .main_menu .dropdown:hover > .dropdown-menu,
            .main_menu .dropdown.show > .dropdown-menu,
            .main_menu .dropdown-menu.show {
                opacity: 1 !important;
                visibility: visible !important;
                pointer-events: auto !important;
                transform: translateY(0) scale(1) !important;
                display: block !important;
            }

            .main_menu .dropdown .dropdown-menu::before {
                content: '' !important;
                position: absolute !important;
                top: -12px !important;
                left: 0 !important;
                right: 0 !important;
                height: 12px !important;
                background: transparent !important;
            }

            .main_menu .dropdown-menu-right {
                right: 0 !important;
                left: auto !important;
            }
        }

        /* Correction des styles de la page d accueil (Hero, Compteurs, Titres) */
        .banner_part {
            height: auto !important;
            min-height: auto !important;
            padding-top: 36px !important;
            padding-bottom: 60px !important;
            position: relative !important;
        }
        .banner_part:after {
            display: none !important;
            content: none !important;
        }
        .banner_part .banner_text {
            display: block !important;
            height: auto !important;
        }
        .banner_part .banner_text .banner_text_iner {
            display: block !important;
            vertical-align: baseline !important;
        }

        /* Section titres : suppression de l ecart disproportionne de 110px */
        .section_tittle {
            margin-bottom: 35px !important;
        }
        .section_tittle p {
            color: #ee390f !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
            font-size: 13px !important;
            letter-spacing: 1px !important;
            margin-bottom: 6px !important;
        }
        .section_tittle h2 {
            color: #0c2e60 !important;
            font-weight: 900 !important;
            font-size: clamp(24px, 3.2vw, 34px) !important;
            position: relative !important;
            margin-bottom: 0 !important;
            padding-bottom: 12px !important;
        }
        .section_tittle h2:after {
            position: absolute !important;
            left: 0 !important;
            right: 0 !important;
            margin: 0 auto !important;
            bottom: 0 !important;
            width: 50px !important;
            height: 3px !important;
            border-radius: 2px !important;
            background-color: #ee390f !important;
            content: '' !important;
        }

        /* Modernisation du bandeau de compteurs */
        .member_counter {
            padding: 55px 0 !important;
            background: linear-gradient(135deg, #0c2e60 0%, #173b75 100%) !important;
            border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            position: relative !important;
        }
        .member_counter .single_member_counter {
            text-align: center !important;
            padding: 10px 15px !important;
        }
        .member_counter .single_member_counter span {
            font-size: clamp(34px, 4vw, 48px) !important;
            font-weight: 900 !important;
            color: #f9b700 !important;
            line-height: 1 !important;
            display: block !important;
            margin-bottom: 8px !important;
            letter-spacing: -0.5px !important;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
        }
        .member_counter .single_member_counter h4 {
            color: #ffffff !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            margin: 0 !important;
            padding: 0 !important;
            opacity: 0.95 !important;
            letter-spacing: 0.2px !important;
        }
        .member_counter .single_member_counter h4:after {
            display: none !important;
            content: none !important;
        }

        /* Icones épurées sans aucun fond */
        .m-nav-clean-icon {
            font-size: 17px;
            width: 22px;
            text-align: center;
            margin-right: 10px;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Recherche intégrée au tiroir burger mobile */
        .campusx-mobile-drawer-search-item {
            padding: 4px 0 14px 0 !important;
            border-bottom: 1.5px solid #e2e8f0 !important;
            margin-bottom: 10px !important;
        }

        .campusx-drawer-search-box {
            display: flex;
            align-items: center;
            background: #ffffff;
            border: 1.5px solid #cbd5e1;
            border-radius: 12px;
            padding: 0 10px;
            height: 46px;
            width: 100%;
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .campusx-drawer-search-box:hover,
        .campusx-drawer-search-box:focus-within {
            border-color: #ee390f;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(238, 57, 15, 0.12);
        }

        .campusx-drawer-search-input {
            border: none;
            background: transparent;
            outline: none;
            width: 100%;
            min-width: 0;
            color: #0f172a;
            font-size: 13.5px;
            font-weight: 600;
        }

        .campusx-drawer-search-input::placeholder {
            color: #94a3b8;
            font-weight: 400;
            font-size: 13px;
        }

        .campusx-drawer-search-submit {
            border: none;
            background: #0c2e60;
            color: #ffffff;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            cursor: pointer;
            flex-shrink: 0;
            transition: background 0.2s ease;
        }

        .campusx-drawer-search-submit:hover {
            background: #ee390f;
        }

        /* Bouton Recherche Desktop dans la navbar */
        .campusx-search-btn-header {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #0c2e60;
            text-decoration: none !important;
            transition: all 0.2s ease;
            background: transparent;
        }

        .campusx-search-btn-header:hover {
            color: #ee390f !important;
            background: #fff7ed;
            transform: scale(1.08);
        }

        /* ==========================================================================
           Overlay Recherche Temps Réel Amphyx
           ========================================================================== */
        .playstore-search-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            z-index: 100000;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            overflow: hidden;
        }

        .playstore-search-overlay.active {
            display: flex;
            flex-direction: column;
        }

        .playstore-search-container {
            background: #ffffff;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: playstoreSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @media (min-width: 992px) {
            .playstore-search-overlay.active {
                align-items: center;
                justify-content: flex-start;
                padding-top: 35px;
            }
            .playstore-search-container {
                max-width: 660px;
                height: auto;
                max-height: 86vh;
                border-radius: 18px;
                box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
                border: 1px solid #e2e8f0;
            }
        }

        @keyframes playstoreSlideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Entête Recherche */
        .playstore-search-header {
            background: #ffffff;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1.5px solid #f1f5f9;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            flex-shrink: 0;
            position: relative;
            z-index: 2;
        }

        .playstore-search-back-btn {
            width: 36px;
            height: 36px;
            background: transparent !important;
            border: none !important;
            color: #0c2e60 !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            cursor: pointer;
            transition: color 0.15s ease, transform 0.15s ease;
            padding: 0;
            outline: none !important;
            box-shadow: none !important;
        }

        .playstore-search-back-btn:hover {
            background: transparent !important;
            color: #ee390f !important;
            transform: scale(1.1);
        }

        .playstore-search-input-wrap {
            flex: 1;
            position: relative;
            display: flex;
            align-items: center;
            background: #f8fafc;
            border: 1.5px solid #cbd5e1;
            border-radius: 12px;
            padding: 0 12px;
            height: 46px;
            transition: all 0.2s ease;
        }

        .playstore-search-input-wrap:focus-within {
            background: #ffffff;
            border-color: #ee390f;
            box-shadow: 0 0 0 3px rgba(238, 57, 15, 0.12);
        }

        .playstore-search-input {
            width: 100%;
            border: none;
            background: transparent;
            outline: none;
            font-size: 15px;
            font-weight: 600;
            color: #0f172a;
            padding: 0;
        }

        .playstore-search-input::placeholder {
            color: #94a3b8;
            font-weight: 400;
            font-size: 13.5px;
        }

        .playstore-clear-btn {
            border: none;
            background: #e2e8f0 !important;
            color: #64748b !important;
            width: 26px;
            height: 26px;
            min-width: 26px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            cursor: pointer;
            margin-left: 6px;
            outline: none !important;
            transition: all 0.15s ease;
        }

        .playstore-clear-btn:hover {
            background: #fee2e2 !important;
            color: #ef4444 !important;
        }

        .playstore-search-go-btn {
            width: 40px;
            height: 40px;
            min-width: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, #f95721 0%, #ee390f 100%) !important;
            border: none !important;
            color: #ffffff !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(238, 57, 15, 0.3);
            outline: none !important;
            transition: transform 0.2s ease;
        }

        .playstore-search-go-btn:hover {
            transform: scale(1.05);
        }

        /* Corps de Recherche */
        .playstore-search-body {
            flex: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 16px 14px 30px 14px;
            background: #fafbfc;
        }

        .playstore-section-title {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            color: #64748b;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .playstore-tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 22px;
        }

        .playstore-tag-pill {
            background: #ffffff;
            border: 1.5px solid #e2e8f0;
            color: #1e293b;
            padding: 7px 13px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.15s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
            outline: none !important;
        }

        .playstore-tag-pill:hover,
        .playstore-tag-pill:active {
            background: #fff7ed;
            border-color: #fdba74;
            color: #ea580c;
            transform: translateY(-1px);
        }

        .playstore-tag-icon {
            color: #94a3b8;
            font-size: 11px;
        }

        .playstore-quick-categories {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        @media (max-width: 480px) {
            .playstore-quick-categories {
                grid-template-columns: 1fr;
            }
        }

        .playstore-cat-card {
            background: #ffffff;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none !important;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .playstore-cat-card:hover {
            border-color: #cbd5e1;
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
        }

        .playstore-cat-info strong {
            display: block;
            font-size: 13px;
            color: #0f172a;
            line-height: 1.2;
        }

        .playstore-cat-info small {
            display: block;
            font-size: 11px;
            color: #64748b;
            line-height: 1.2;
            margin-top: 2px;
        }

        .playstore-suggestions-list {
            display: flex;
            flex-direction: column;
            gap: 7px;
        }

        .playstore-suggestion-row {
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none !important;
            transition: all 0.15s ease;
            cursor: pointer;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
        }

        .playstore-suggestion-row:hover,
        .playstore-suggestion-row:active {
            background: #f8fafc;
            border-color: #cbd5e1;
            transform: translateX(3px);
        }

        .playstore-row-icon {
            width: 28px;
            min-width: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

        .playstore-row-content {
            flex: 1;
            min-width: 0;
        }

        .playstore-row-title {
            font-size: 13.5px;
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.3;
        }

        .playstore-row-title mark {
            background: #fef08a;
            color: #854d0e;
            padding: 0 2px;
            border-radius: 3px;
            font-weight: 800;
        }

        .playstore-row-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 3px;
            font-size: 11.5px;
        }

        .playstore-row-badge {
            padding: 2px 6px;
            border-radius: 5px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        .playstore-row-sub {
            color: #64748b;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .playstore-row-arrow {
            color: #94a3b8;
            font-size: 13px;
            margin-left: auto;
            flex-shrink: 0;
        }

        .playstore-view-all-btn {
            background: #ffffff;
            border: 1.5px dashed #cbd5e1;
            border-radius: 12px;
            padding: 12px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none !important;
            color: #0c2e60;
            font-size: 13.5px;
            font-weight: 700;
            margin-top: 10px;
            transition: all 0.15s ease;
        }

        .playstore-view-all-btn:hover {
            background: #fff7ed;
            border-color: #ee390f;
            color: #ee390f;
        }

        .playstore-view-all-icon {
            width: 30px;
            height: 30px;
            min-width: 30px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
        }

        .playstore-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px 0;
        }
