
    :root {
        --primary: #05afc0;
        --accent: #e52320;
        --dark: #1a1a2e;
        --light: #ffffff;
        --gray-soft: #f4f6f8;
        --glass-bg: rgba(255, 255, 255, 0.95);
        --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
        --color-solar: #f59e0b;
        --color-fire: #dc2626;
    }

    body { font-family: 'Poppins', sans-serif; margin: 0; }
    a { text-decoration: none; }
    ul { list-style: none; margin: 0; padding: 0; }

    /* ===== BLOC FIXE GLOBAL ===== */
    .site-header-wrap {
        position: fixed;
        top: 0; left: 0; right: 0;
        width: 100%;
        z-index: 99999;
    }
    #headerSpacer { width: 100%; height: 120px; } /* ajusté par JS */

    /* ===== TOP BAR ===== */
    .innov-top-bar {
        background-color: var(--primary);
        color: var(--light);
        height: 40px;
        font-size: 13px; font-weight: 500;
        position: relative; z-index: 2;
        display: flex; align-items: center;
        overflow: hidden;
        transition: height 0.3s ease, opacity 0.3s ease;
    }

    .header-container {
        max-width: 1200px; margin: 0 auto; padding: 0 20px;
        display: flex; justify-content: space-between; align-items: center;
        width: 100%; height: 100%;
    }

    .marquee-wrapper {
        flex: 1; overflow: hidden; white-space: nowrap; position: relative;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
    .contact-list { display: inline-block; padding-left: 100%; animation: marquee 20s linear infinite; }
    .contact-list:hover { animation-play-state: paused; }
    @keyframes marquee { 0% { transform: translate(0,0); } 100% { transform: translate(-100%,0); } }
    .contact-item { display: inline-flex; align-items: center; gap: 8px; }
    .separator { margin: 0 15px; opacity: 0.6; }
    .contact-item i { font-size: 14px; }

    .social-list {
        display: flex; gap: 15px; margin-left: 20px;
        background-color: var(--primary); position: relative; z-index: 2; padding-left: 10px;
    }
    .social-list a { color: var(--light); transition: opacity 0.3s; font-size: 14px; display: flex; align-items: center; }
    .social-list a:hover { opacity: 0.8; }

    /* ===== HEADER PRINCIPAL ===== */
    .innov-main-header {
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0,0,0,0.04);
        position: relative;           /* sert d'ancre au méga-menu */
        z-index: 1;
        height: 80px;
        display: flex; align-items: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        box-sizing: border-box;
    }

    /* ===== EFFETS AU SCROLL (PC + mobile) ===== */
    .site-header-wrap.scrolled .innov-top-bar { height: 0; opacity: 0; }       /* top bar repliée */
    .site-header-wrap.scrolled .innov-main-header { height: 66px; box-shadow: 0 4px 24px rgba(0,0,0,0.12); background: rgba(255,255,255,0.98); }
    .site-header-wrap.scrolled .brand-logo img { max-height: 42px; }
    .site-header-wrap.scrolled .mega-menu { top: 66px; }

    .brand-logo img { max-height: 50px; width: auto; transition: transform 0.3s, max-height 0.3s ease; }
    .brand-logo:hover img { transform: scale(1.05); }

    /* NAV DESKTOP */
    .nav-menu { display: flex; align-items: center; }
    .menu-list { display: flex; gap: 30px; align-items: center; }
    .nav-link {
        color: var(--dark); font-weight: 600; font-size: 15px;
        transition: all 0.3s ease; position: relative; padding: 28px 0;
        display: flex; align-items: center; gap: 6px;
    }
    .nav-link::after {
        content: ''; position: absolute; bottom: 20px; left: 0; width: 0; height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px; transition: width 0.3s ease;
    }
    .nav-link:hover { color: var(--primary); }
    .nav-link:hover::after { width: 100%; }
    .dropdown-arrow { font-size: 11px; transition: transform 0.3s; opacity: 0.6; }
    .has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

    /* MEGA MENU */
    .has-dropdown { position: static; }
    .mega-menu {
        position: absolute; top: 80px; left: 0; width: 100%;
        background: white; border-top: 2px solid var(--primary);
        box-shadow: var(--shadow-soft); padding: 30px 0;
        opacity: 0; visibility: hidden; transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }
    .has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
    .mega-item {
        display: flex; align-items: flex-start; gap: 12px; padding: 12px;
        border-radius: 12px; transition: 0.3s; border: 1px solid transparent; background: #fff;
    }
    .mega-item:hover { background-color: var(--gray-soft); border-color: rgba(5,175,192,0.1); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
    .mega-icon-box {
        width: 40px; height: 40px; border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 18px; transition: 0.3s; flex-shrink: 0; background: rgba(0,0,0,0.05); color: var(--dark);
    }
    .box-cyan { background: rgba(5,175,192,0.1); color: var(--primary); }
    .box-blue { background: rgba(37,99,235,0.1); color: #2563eb; }
    .box-dark { background: rgba(26,26,46,0.1); color: var(--dark); }
    .box-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
    .box-green { background: rgba(16,185,129,0.1); color: #10b981; }
    .box-red { background: rgba(229,35,32,0.1); color: var(--accent); }
    .box-orange { background: rgba(245,158,11,0.1); color: var(--color-solar); }
    .box-fire { background: rgba(220,38,38,0.1); color: var(--color-fire); }
    .box-pressing { background: rgba(5,175,192,0.12); color: var(--primary); }
    .mega-item:hover .mega-icon-box { background: var(--primary); color: white; }
    .mega-item:hover .box-orange { background: var(--color-solar); }
    .mega-item:hover .box-fire { background: var(--color-fire); }
    .mega-item:hover .box-red { background: var(--accent); }
    .mega-item:hover .box-pressing { background: var(--primary); color: #fff; }
    .mega-text { display: flex; flex-direction: column; }
    .mega-text strong { font-size: 14px; color: var(--dark); font-weight: 700; margin-bottom: 2px; }
    .mega-text span { font-size: 12px; color: #777; line-height: 1.3; }

    /* RIGHT ACTIONS */
    .header-right-actions { display: flex; align-items: center; gap: 20px; }
    .desktop-cart-icon { font-size: 20px; color: var(--dark); transition: 0.3s; position: relative; }
    .desktop-cart-icon:hover { color: var(--primary); transform: scale(1.1); }
    .header-cta {
        background-color: var(--accent); color: white;
        padding: 8px 10px 8px 20px; border-radius: 50px;
        font-weight: 600; font-size: 14px; transition: all 0.3s ease;
        display: flex; align-items: center; gap: 12px;
        box-shadow: 0 4px 15px rgba(229,35,32,0.3); text-decoration: none;
    }
    .btn-icon-circle {
        width: 32px; height: 32px; background: white; color: var(--accent);
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        transition: 0.3s; font-size: 12px;
    }
    .header-cta:hover, .header-cta:active { background-color: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,175,192,0.4); }
    .header-cta:hover .btn-icon-circle { color: var(--primary); transform: rotate(-45deg); }

    /* MOBILE */
    .mobile-actions { display: none; align-items: center; gap: 18px; }
    .mobile-icon-btn { font-size: 22px; color: var(--primary); transition: 0.3s; }
    .cart-mobile { color: var(--dark); }
    .menu-toggle { cursor: pointer; width: 30px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
    .hamburger-line { width: 100%; height: 3px; background-color: var(--dark); border-radius: 2px; transition: 0.3s; }
    .mobile-menu-header { display: none; }
    .mobile-only-cta { display: none; }
    .mobile-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0,0,0,0.5); backdrop-filter: blur(3px);
        z-index: 100000; opacity: 0; visibility: hidden; transition: 0.3s;
    }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
        .header-right-actions { display: none; }
        .mobile-actions { display: flex; }

        .innov-main-header { height: 68px; }
        .brand-logo img { max-height: 42px; }
        .site-header-wrap.scrolled .innov-main-header { height: 58px; }
        .site-header-wrap.scrolled .brand-logo img { max-height: 34px; }
        .site-header-wrap.scrolled .mega-menu { top: 58px; }

        .nav-menu {
            position: fixed; top: 0; right: -100%; width: 85%; max-width: 400px;
            height: 100vh; height: 100dvh;
            background: white; z-index: 100001; padding: 25px;
            box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            transition: right 0.4s cubic-bezier(0.77,0,0.175,1);
            display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
        }
        .nav-menu.active { right: 0; }
        .mobile-overlay.active { opacity: 1; visibility: visible; }

        .nav-menu.active ~ .header-container .menu-toggle .line-1,
        .nav-menu.active ~ .mobile-overlay { } /* no-op */
        .menu-toggle .line-1, .menu-toggle .line-2, .menu-toggle .line-3 { transition: 0.3s; }

        .mobile-menu-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px;
        }
        .mobile-logo { height: 40px; width: auto; }
        .close-menu-btn { background: #f4f6f8; border: none; width: 40px; height: 40px; border-radius: 50%; color: var(--dark); font-size: 18px; cursor: pointer; }

        .menu-list { flex-direction: column; width: 100%; gap: 10px; align-items: flex-start; }
        .menu-item { width: 100%; opacity: 0; transform: translateX(20px); transition: 0.3s; }
        .nav-menu.active .menu-item { opacity: 1; transform: translateX(0); transition-delay: calc(0.1s * var(--i)); }

        .nav-link { padding: 12px 15px; background: #f9fafb; border-radius: 12px; justify-content: space-between; font-size: 16px; color: var(--dark); }
        .nav-link:hover, .nav-link:active { background: #e0f7fa; color: var(--primary); }
        .nav-link::after { display: none; }

        .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; width: 100%; display: none; margin-top: 10px; }
        .has-dropdown.active .mega-menu { display: block; animation: fadeIn 0.3s; }
        .has-dropdown.active .dropdown-arrow { transform: rotate(180deg); }
        .mega-grid { grid-template-columns: 1fr; gap: 8px; padding: 0 0 0 10px; border-left: 2px solid var(--primary); }
        .mega-item { padding: 10px; border: none; background: transparent; }

        .mobile-only-cta { display: block; margin-top: 20px; width: 100%; }
        .mobile-cta-style { width: 100%; justify-content: center; padding: 12px 20px; }

        /* Réseaux sociaux cachés sur petit écran */
        .social-list { display: none; }
        .marquee-wrapper { mask-image: none; -webkit-mask-image: none; }
    }

    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
