 :root {
            /* Palette de couleurs principale */
            --primary-color: #7ceded;
            --secondary-color: #25303b;
            --tertiary-color: #6d3dc5;
            --accent-color: #a9b6c3;
            --dark-bg: #0E0E1A;
            --light-text: #F4F4F4;
            --gradient-bg: linear-gradient(90deg, #46280f, #5c6a79, #a9b6c3, #dce6ef, #6dcde0, #2f2932, #2f3540);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: var(--dark-bg);
            color: var(--light-text);
            overflow-x: hidden;
        }

        /* Navigation Styles - Z-index corrigé */
        .nav-container {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999; /* Z-index élevé pour la navbar */
            background: rgba(14, 14, 26, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(124, 237, 237, 0.2);
            transition: all 0.3s ease;
        }

        .nav-container.scrolled {
            background: rgba(14, 14, 26, 0.98);
            box-shadow: 0 4px 20px rgba(124, 237, 237, 0.1);
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo-container {
            flex-shrink: 0;
        }

        .logo-img {
            height: 50px;
            width: auto;
            filter: drop-shadow(0 0 10px rgba(124, 237, 237, 0.3));
            transition: all 0.3s ease;
        }

        .logo-img:hover {
            filter: drop-shadow(0 0 15px rgba(124, 237, 237, 0.5));
            transform: scale(1.05);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: var(--light-text);
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav-link:hover,
        .nav-link.active {
            color: white;
            background: rgba(105, 236, 236, 0.1);
            transform: translateY(-2px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

     /* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.mobile-menu.active { left: 0; }

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s, transform 0.2s;
    padding: 8px;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    color: var(--primary-color, #007bff);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.mobile-nav-item {
    margin: 2px 15px;
    border-radius: 12px;
    overflow: hidden;
}

.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.08);
    color: var(--primary-color, #007bff);
    transform: translateX(5px);
}

.mobile-nav-link.active {
    background: var(--primary-color, #007bff);
    color: white;
    font-weight: 600;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Burger menu */
.burger {
    display: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.burger:hover { background: rgba(0, 0, 0, 0.05); }

.burger-line {
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    margin: 6px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
}

.burger.active .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger.active .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .burger { display: block; }
    .nav-menu { display: none; }
    .cart-icon-container {
        margin-left: auto;
        margin-right: 15px;
    }
}

        /* Hero Section - Z-index bas */
        .hero-section {
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--gradient-bg);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            z-index: 1; /* Z-index bas pour la section hero */
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 2; /* Z-index bas pour les éléments flottants */
        }

        .floating-element {
            position: absolute;
            color: rgba(124, 237, 237, 0.3);
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            bottom: 30%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        .hero-content {
            text-align: center;
            z-index: 3; /* Z-index bas pour le contenu */
            max-width: 800px;
            padding: 2rem;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(124, 237, 237, 0.1);
            border: 1px solid rgba(124, 237, 237, 0.3);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--primary-color), #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
            font-weight: 400;
        }

        .hero-description {
            font-size: 1.1rem;
            line-height: 1.6;
            color: rgba(244, 244, 244, 0.8);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary-custom, .btn-secondary-custom {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 2px solid;
        }

        .btn-primary-custom {
            background: var(--primary-color);
            color: var(--dark-bg);
            border-color: var(--primary-color);
        }

        .btn-primary-custom:hover {
            background: transparent;
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(124, 237, 237, 0.3);
        }

        .btn-secondary-custom {
            background: transparent;
            color: var(--light-text);
            border-color: rgba(244, 244, 244, 0.3);
        }

        .btn-secondary-custom:hover {
            background: rgba(244, 244, 244, 0.1);
            border-color: var(--light-text);
            transform: translateY(-2px);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3; /* Z-index bas */
            animation: bounce 2s infinite;
        }

        .scroll-indicator a {
            color: var(--primary-color);
            text-decoration: none;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .burger {
                display: flex;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn-primary-custom,
            .btn-secondary-custom {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }

            .hero-content {
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .nav-content {
                padding: 1rem;
            }
            
            .mobile-menu {
                width: 100%;
                right: -100%;
            }
        }



        /* bouton header */
  @font-face {
    font-family: 'Gothic';
    src: url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
    font-weight: normal;
    font-style: normal;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 26, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 400;
    letter-spacing: 2px;
    transform: perspective(500px) rotateX(15deg);
    animation: floatText 4s ease-in-out infinite;
    max-width: 800px;
    line-height: 1.4;
}

.hero-cta {
    display: inline-block;
    padding: 12px 35px;
    background: var(--tertiary-color);
    color: var(--light-text);
    font-family: 'MedievalSharp', cursive;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3), 
                0 4px 4px rgba(0,0,0,0.2),
                inset 0 -3px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(10deg);
    animation: pulse 3s infinite;
    letter-spacing: 1px;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(125, 237, 237, 0.3), transparent);
    transition: 0.5s;
}

.hero-cta:hover {
    transform: perspective(500px) rotateX(10deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4), 
                0 6px 6px rgba(0,0,0,0.3),
                inset 0 -3px 0 rgba(0,0,0,0.3);
    background: var(--primary-color);
    color: var(--secondary-color);
    animation: none;
}

.hero-cta:hover::before {
    left: 100%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatText {
    0% { transform: perspective(500px) rotateX(15deg) translateY(0); }
    50% { transform: perspective(500px) rotateX(15deg) translateY(-8px); }
    100% { transform: perspective(500px) rotateX(15deg) translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(109, 61, 197, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(109, 61, 197, 0); }
    100% { box-shadow: 0 0 0 0 rgba(109, 61, 197, 0); }
}

