/*
 * NOTE : Ce bloc contient les variables CSS globales (design tokens) et les réinitialisations de base.
 * Ces règles sont appliquées à l'ensemble du site.
 */
/* =================================================================== */
/* ## VARIABLES ET STYLE DE BASE ## */
/* =================================================================== */
:root {
    /* Couleurs principales pour l'identité de marque (facilite la maintenance) */
    --primary-color: #00C0FF;
    --secondary-color: #1d2d3d;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #343a40;
    --light-text-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-color: #e9ecef;
    /* Ombres standardisées */
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; } /* Reset CSS universel */
html { scroll-behavior: smooth; } /* Amélioration UX : défilement fluide */
body {
    /* Typographie et fond de page */
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; } /* Empêche le défilement du contenu derrière le menu mobile */
.container { 
    /* Conteneur de centrage standard pour toutes les sections */
    max-width: 1300px; margin: 0 auto; padding: 0 20px; 
}

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la barre d'annonce en haut du site.
 */
/* =================================================================== */
/* ## BARRE D'ANNONCE (TOP BAR) ## */
/* =================================================================== */
.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 0;
    text-align: center;
}
.top-bar-content { 
    display: flex; justify-content: center; align-items: center; gap: 25px; flex-wrap: wrap; 
}
.top-bar-text { margin: 0; font-size: 0.95rem; font-weight: 500; }
.top-bar-text .icon { margin-right: 8px; font-size: 1.1rem; vertical-align: middle; }
.top-bar-button {
    /* Bouton d'appel à l'action dans la top bar */
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 192, 255, 0.2);
}
.top-bar-button:hover { background-color: #00a8e6; transform: scale(1.05); }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la barre de navigation principale (header).
 */
/* =================================================================== */
/* ## NAVIGATION PRINCIPALE ## */
/* =================================================================== */
.main-nav {
    /* Style semi-transparent avec effet de flou pour le "sticky header" */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000; /* Assure que la nav est au-dessus du contenu */
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }

/* Styles du logo (si c'est du texte - mais sera écrasé par .logo-link/img) */
.logo { font-size: 1.8rem; font-weight: 700; color: var(--secondary-color); text-decoration: none; z-index: 1001; }
.logo span { color: var(--primary-color); }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère le menu de navigation (liens et filtres).
 */
/* =================================================================== */
/* ## MENU BURGER ET NAVIGATION MOBILE ## */
/* =================================================================== */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.burger-line { display: block; width: 25px; height: 3px; background-color: var(--secondary-color); margin: 5px 0; border-radius: 3px; transition: all 0.3s ease; }
.nav-menu { display: flex; } /* Affiché en ligne sur desktop */
.nav-links { list-style: none; display: flex; align-items: center; gap: 10px; }
.nav-links a.filter-btn {
    /* Style des boutons de filtre de catégorie */
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
}
.nav-links a.filter-btn:hover { color: var(--primary-color); background-color: rgba(0, 192, 255, 0.05); }
.nav-links a.filter-btn.active { 
    /* Style du bouton de filtre actif */
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
    color: #fff; 
    box-shadow: 0 4px 15px rgba(0, 192, 255, 0.3); 
}

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la section Héros (si elle est utilisée).
 */
/* =================================================================== */
/* ## SECTION HÉROS ## */
/* =================================================================== */
.hero {
    /* Style du bloc d'introduction (souvent une grande image) */
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(29, 45, 61, 0.7), rgba(29, 45, 61, 0.7)), url('https://images.unsplash.com/photo-1555680202-c86f0e12f086?q=80&w=2070') no-repeat center center/cover;
    color: white;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.25rem; max-width: 650px; margin: 0 auto; opacity: 0.9; }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la section d'appel à l'action (CTA) principale.
 */
/* =================================================================== */
/* ## SECTION APPEL À L'ACTION (CTA) ## */
/* =================================================================== */
.cta-section {
    /* Fond sombre en dégradé */
    background: linear-gradient(45deg, var(--secondary-color), #2c3e50);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-top: -60px; /* Remonte sur la section héros/body */
    position: relative;
    z-index: 1;
}
.cta-section h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { max-width: 700px; margin: 0 auto 30px auto; font-size: 1.1rem; opacity: 0.9; }
.cta-button {
    /* Style du bouton CTA générique */
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 192, 255, 0.4);
    display: inline-block;
}
.cta-button:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(0, 192, 255, 0.5); }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère le style des titres de section (H2 avec la ligne).
 */
/* =================================================================== */
/* ## TITRES DE SECTION ## */
/* =================================================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 60px 0 40px 0;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    /* La ligne de séparation sous le titre */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la mise en page de la grille de produits et les cartes individuelles.
 */
/* =================================================================== */
/* ## GRILLE DE PRODUITS ET CARTES ## */
/* =================================================================== */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 35px; 
    padding-bottom: 60px; 
}
.product-card-wrapper { display: block; opacity: 0; animation: fadeIn 0.6s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-link, .product-link:hover { text-decoration: none !important; color: inherit !important; display: block; }
.product-card { 
    background-color: var(--card-background); border-radius: 16px; box-shadow: var(--shadow); 
    overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s ease; 
    height: 100%; 
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

/* Conteneur et image du produit */
.product-image-container { 
    width: 100%; height: 250px; overflow: hidden; background-color: #fff; 
    display: flex; justify-content: center; align-items: center; 
}
.product-image { 
    max-width: 100%; max-height: 100%; object-fit: contain; padding: 15px; 
    transition: transform 0.4s ease-in-out; 
}
.product-card:hover .product-image { transform: scale(1.05); }

/* Informations et footer */
.product-info { padding: 25px; padding-top: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.product-brand { text-transform: uppercase; color: var(--light-text-color); font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; }
.product-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; min-height: 58px; color: var(--text-color); }
.product-description { color: var(--light-text-color); font-size: 0.9rem; flex-grow: 1; margin-bottom: 20px; }
.product-footer { 
    display: flex; justify-content: space-between; align-items: center; 
    border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: auto; 
}
.product-price { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }

/* Pastilles de disponibilité (ancienne version) */
.product-availability { padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: #fff; }
.in-stock { background-color: var(--success-color); } 
.out-of-stock { background-color: var(--danger-color); }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère la section des dernières vidéos YouTube.
 */
/* =================================================================== */
/* ## SECTION YOUTUBE ## */
/* =================================================================== */
.youtube-section { background-color: var(--card-background); padding: 1px 0 60px 0; }
.youtube-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.youtube-card { display: block; text-decoration: none; color: var(--text-color); border-radius: 16px; overflow: hidden; background-color: var(--card-background); box-shadow: var(--shadow); transition: all 0.3s ease; }
.youtube-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

/* Miniature et icône de lecture */
.youtube-thumbnail-container { position: relative; width: 100%; padding-top: 56.25%; background-color: #000; }
.youtube-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.youtube-card:hover .youtube-thumbnail { opacity: 0.8; }
.play-icon { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.8); 
    width: 70px; height: 70px; background-color: rgba(255,255,255,.9); border-radius: 50%; 
    display: flex; justify-content: center; align-items: center; font-size: 2rem; color: #FF0000; 
    transition: transform .3s ease; opacity: .9; 
}
.youtube-card:hover .play-icon { transform: translate(-50%,-50%) scale(1); }
.youtube-title { font-size: 1.1rem; font-weight: 600; padding: 20px; min-height: 90px; }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère le pied de page et les messages d'erreur.
 */
/* =================================================================== */
/* ## PIED DE PAGE ET AUTRES ## */
/* =================================================================== */
.main-footer { background-color: var(--secondary-color); color: rgba(255, 255, 255, 0.8); padding: 40px 0; text-align: center; }
.error-message, .info-message { 
    /* Styles pour les messages d'erreur et d'information */
    background: #fff0f0; border: 1px solid var(--danger-color); padding: 20px; margin: 40px auto; 
    text-align: center; font-size: 1.2rem; color: #d00000; border-radius: 8px; 
}
.info-message { background: #eaf5ff; border-color: var(--primary-color); color: #2980b9; }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc contient les règles responsives générales pour les écrans de moins de 992px.
 */
/* =================================================================== */
/* ## RESPONSIVE DESIGN (POUR MOBILES) ## */
/* =================================================================== */
@media (max-width: 992px) {
    /* Navigation et Menu Burger Mobile */
    .nav-toggle { display: block; }
    .nav-menu {
        /* Masquage et animation du menu mobile */
        position: fixed; top: 0; right: 0; width: 300px; height: 100%;
        background-color: var(--card-background);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        padding-top: 100px;
    }
    .nav-links { flex-direction: column; align-items: center; width: 100%; gap: 20px; }
    .nav-links a.filter-btn { font-size: 1.2rem; width: 80%; text-align: center; }
    /* États d'ouverture du menu */
    body.nav-open .nav-menu { transform: translateX(0); }
    body.nav-open .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.nav-open .burger-line:nth-child(2) { opacity: 0; }
    body.nav-open .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Ajustements de sections */
    .hero { padding: 60px 15px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .product-grid { grid-template-columns: 1fr; gap: 25px; } /* Grille à une colonne */
    .top-bar-content { flex-direction: column; gap: 10px; }
    .section-title { font-size: 2rem; }
    .cta-section h2 { font-size: 1.8rem; }
}

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère les ajustements spécifiques au logo et autres petits éléments.
 */
/* =================================================================== */
/* ## AJUSTEMENTS LOGO ET NAVIGATION SPÉCIFIQUE ## */
/* =================================================================== */
.logo-link {
    display: inline-block;
    height: 40px; 
    z-index: 1001;
}

.logo-img {
    height: 40px; 
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px; /* Réduit la taille du logo sur les très petits écrans */
    }
}

.nav-content { 
    display: flex; justify-content: space-between; align-items: center; 
}

/* ------------------------------------------------------------------- */
/*
 * Ce bloc gère les styles spécifiques du bouton 'Plus de Détails' avec badge intégré.
 */
/* =================================================================== */
/* ## STYLES DU BOUTON AVEC BADGE INTÉGRÉ ## */
/* =================================================================== */
.product-footer {
    display: flex; justify-content: space-between; align-items: center; 
    border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: auto;
}

.product-price { font-size: 1.6rem; }

/* Conteneur du bouton (Plus de détails + Badge) */
.detail-button {
    display: flex; align-items: center; gap: 8px; 
    background-color: var(--secondary-color); color: #fff; font-weight: 600;
    padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; cursor: pointer;
    white-space: nowrap; transition: background-color 0.3s ease; pointer-events: none;
}

/* Style pour le badge de disponibilité intégré */
.availability-badge {
    font-size: 0.7rem; font-weight: 700; padding: 3px 6px; border-radius: 4px;
    color: #fff; line-height: 1; text-transform: uppercase;
}
.availability-badge.in-stock { background-color: var(--success-color); } 
.availability-badge.out-of-stock { background-color: var(--danger-color); }
.product-card:hover .detail-button { background-color: #2c3e50; }

/* ------------------------------------------------------------------- */
/*
 * Ce bloc contient les règles d'accessibilité et de performance.
 */
/* =================================================================== */
/* ## ACCESSIBILITÉ ET PRÉFÉRENCES UTILISATEUR ## */
/* =================================================================== */
:is(a, button):focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { 
    /* Désactive les animations pour les utilisateurs ayant des préférences de mouvement réduit */
    *, *::before, *::after { 
        animation-duration: 0.01ms !important; 
        animation-iteration-count: 1 !important; 
        transition-duration: 0.01ms !important; 
        scroll-behavior: auto !important; 
    } 
}



















    /* =================================================================== */
    /* ## STYLES DU BOUTON AVEC BADGE INTÉGRÉ ## */
    /* =================================================================== */
    
    .product-footer {
        display: flex;
        justify-content: space-between; 
        align-items: center; 
        border-top: 1px solid var(--border-color); 
        padding-top: 20px; 
        margin-top: auto;
    }
    
    .product-price { 
        font-size: 1.6rem; 
    }
    
    /* Conteneur du bouton (Plus de détails + Badge) */
    .detail-button {
        display: flex;
        align-items: center;
        gap: 8px; /* Espace entre le texte "Détails" et le badge */
    
        /* Style du bouton principal */
        background-color: var(--secondary-color); /* Couleur neutre */
        color: #fff;
        font-weight: 600;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        cursor: pointer;
        white-space: nowrap;
        transition: background-color 0.3s ease;
        pointer-events: none;
    }
    
    /* Style pour le badge de disponibilité intégré */
    .availability-badge {
        /* Rendre le badge plus petit et bien défini */
        font-size: 0.7rem; 
        font-weight: 700;
        padding: 3px 6px;
        border-radius: 4px;
        color: #fff; /* Texte blanc par défaut */
        line-height: 1;
        text-transform: uppercase;
    }
    
    /* 🟢 Style pour le badge "En stock" */
    .availability-badge.in-stock {
        background-color: var(--success-color); /* Vert */
    }
    
    /* 🔴 Style pour le badge "Indisponible" */
    .availability-badge.out-of-stock {
        background-color: var(--danger-color); /* Rouge */
    }
    
    /* Effet au survol de la carte (sur le bouton entier) */
    .product-card:hover .detail-button {
        background-color: #2c3e50; /* Assombrit la couleur neutre au survol */
    }
    
    /* =================================================================== */
    /* ## STYLES DU FILTRE YOUTUBE ## */
    /* =================================================================== */
    
    .youtube-nav {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .youtube-filter-links {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .yt-filter-btn {
        text-decoration: none;
        color: var(--secondary-color);
        font-weight: 600;
        padding: 8px 18px;
        border-radius: 20px;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
        cursor: pointer;
        background-color: var(--card-background);
        display: inline-block;
    }
    
    .yt-filter-btn:hover {
        background-color: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        box-shadow: 0 2px 10px rgba(0, 192, 255, 0.2);
    }
    
    .yt-filter-btn.active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
        box-shadow: 0 4px 15px rgba(0, 192, 255, 0.3);
    }
    
    @media (max-width: 600px) {
        .youtube-filter-links {
            flex-direction: column;
            align-items: center;
        }
        .yt-filter-btn {
            width: 80%;
            text-align: center;
        }
    }
/* =================================================================== */
/* ## SECTION BANNIÈRE PROMOTIONNELLE (.banner-section) ## */
/* =================================================================== */

.banner-section {
    padding: 60px 0; 
    background-color: var(--background-color); 
}

.banner-content {
    background: #eaf5ff; 
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    
    display: flex;
    align-items: center;
    gap: 40px; 
}

.banner-image {
    width: 250px; 
    height: 100%;
    max-height: 180px; 
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-text {
    flex-grow: 1;
}

.banner-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color); 
    margin-bottom: 8px;
    line-height: 1.2;
}

.banner-text p {
    /* Description */
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.banner-button {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
}


/* =================================================================== */
/* ## RESPONSIVE DESIGN (Bannière pour mobile) ## */
/* =================================================================== */
@media (max-width: 850px) {
    .banner-section {
        padding: 40px 0;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .banner-image {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .banner-text h3 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}


/* =================================================================== */
/* ## SECTION APPEL À L'ACTION (CTA) - STYLE FINAL ## */
/* =================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #2c3e50); 
    color: #fff;
    text-align: center;
    padding: 90px 20px; 
    position: relative; 
    z-index: 1;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
}

.cta-section .container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800; 
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
    opacity: 0.95;
    line-height: 1.4;
}

.cta-button {
    /* Style du bouton est défini globalement, mais c'est le design final */
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 18px 45px; 
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.15rem;
    
    /* Transition pour les effets */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Ombre moderne */
    box-shadow: 0 8px 25px rgba(0, 192, 255, 0.4); 
    display: inline-block;
}

.cta-button:hover { 
    /* Effet 3D léger au survol */
    transform: translateY(-4px) scale(1.02); 
    box-shadow: 0 12px 30px rgba(0, 192, 255, 0.6); /* Ombre plus intense */
    background-color: #00a8e6; /* Légère couleur au survol */

}

/* =================================================================== */
/* ## RESPONSIVE CTA ## */
/* =================================================================== */

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 15px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
}


/* =================================================================== */
/* ## SECTION REJOINDRE DISCORD (.discord-section) ## */
/* =================================================================== */

.discord-section {
    /* Utilise la couleur Discord */
    background: linear-gradient(135deg, #5865F2, #404EED); 
    color: #fff;
    text-align: center;
    padding: 70px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1); 
}

.discord-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.discord-text {
    width: 100%; 
}

.discord-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.discord-text p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* =================================================================== */
/* ## STYLES DU BOUTON DISCORD AVEC LOGO INTÉGRÉ ## */
/* =================================================================== */

.discord-button {
    /* Force l'alignement de l'icône et du texte */
    display: inline-flex !important; 
    align-items: center;
    justify-content: center;
    gap: 10px; 
    
    /* Bouton spécifique: utilise la couleur primaire de votre site pour le contraste */
    background-color: var(--primary-color); 
    border: 2px solid var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.discord-button:hover {
    background-color: #00a8e6;
    transform: translateY(-3px) scale(1.02);
}

.discord-logo-wrapper {
    /* Style de l'icône */
    font-size: 1.3em; 
    line-height: 1;
}

/* =================================================================== */
/* ## RESPONSIVE DISCORD ## */
/* =================================================================== */

@media (max-width: 768px) {
    .discord-section {
        padding: 50px 15px;
    }
    .discord-text h2 {
        font-size: 2rem;
    }
    .discord-text p {
        font-size: 1rem;
    }
    .discord-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}



/* =================================================================== */
/* ## BOUTON RETOUR EN HAUT (Scroll-to-Top) ## */
/* =================================================================== */

#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    
    /* Styles visuels */
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%; /* Bouton rond */
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Masqué par défaut */
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 900; /* Assurez-vous qu'il est au-dessus d'autres éléments */
}

#scroll-to-top:hover {
    background-color: #00a8e6;
    transform: scale(1.05);
}

/* Classe pour rendre le bouton visible */
#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}



/* =================================================================== */
/* ## AJUSTEMENTS RESPONSIVE : FILTRE YOUTUBE ## */
/* =================================================================== */

@media (max-width: 768px) {
    
    /* 1. Assurez-vous que les marges du conteneur sont réduites mais existantes */
    .container {
        /* Garder un padding intérieur sur mobile (ex: 15px de chaque côté) */
        padding: 0 15px;
    }
    .product-price{
        font-size: 1rem;
    }
    /* 2. Gestion des liens filtres YouTube */
    .youtube-nav {
        /* Permet aux boutons de prendre plusieurs lignes si nécessaire */
        width: 100%;
        overflow-x: hidden; /* Empêche le défilement horizontal de la nav */
    }
    
    .youtube-filter-links {
        /* IMPORTANT : Utiliser row-wrap pour permettre le passage à la ligne */
        display: flex;
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; /* Centre les boutons sur l'écran */
        padding: 0;
        gap: 8px; /* Espace réduit entre les boutons */
    }

    .youtube-filter-links li {
        /* Réinitialisation de la largeur pour que les boutons s'ajustent naturellement */
        flex-grow: 0;
        flex-shrink: 1;
    }

    .yt-filter-btn {
        /* Permet aux boutons de se contracter mais sans être minuscules */
        padding: 8px 12px; 
        font-size: 0.9rem;
        /* La largeur auto leur permet de prendre seulement l'espace nécessaire au contenu */
        width: auto; 
    }
    
    /* Si les boutons sont toujours trop larges, vous pouvez réduire la police globale */
    /* .youtube-text {
        font-size: 0.9em; 
    } */


    /* 3. Ajustement de la grille vidéo */
    .youtube-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 20px;
        /* S'assurer que les cartes ne débordent pas */
        padding: 0 15px; 
    }
}
/* =================================================================== */
/* =================================================================== */
/* =================================================================== */
/* ## MENU BURGER ET NAVIGATION MOBILE (SOLUTION FINALE) ## */
/* =================================================================== */

/* =================================================================== */
/* ## NAVIGATION PRINCIPALE (Desktop) ## */
/* =================================================================== */
.main-nav {
    /* Style général et positionnement */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000; /* Assure que la barre de navigation est en haut */
}

.nav-content { 
    /* Disposition Flexbox pour aligner le logo, le menu et le burger */
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* --- LOGO IMAGE --- */
.logo-link {
    display: inline-block;
    height: 35px; /* Hauteur de la zone du logo (Ajusté) */
    z-index: 1002; /* Doit être au-dessus du menu mobile et du voile */
}

.logo-img {
    height: 35px; /* Hauteur de l'image (Ajusté) */
    width: auto;
    object-fit: contain;
    display: block;
}

/* --- MENU DESKTOP --- */
.nav-menu { 
    display: flex; 
}
.nav-links { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 0;
}
.nav-links a.filter-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
}
.nav-links a.filter-btn:hover { color: var(--primary-color); background-color: rgba(0, 192, 255, 0.05); }
.nav-links a.filter-btn.active { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(0, 192, 255, 0.3); }

/* --- BOUTON BURGER --- */
.nav-toggle { 
    display: none; /* Masqué par défaut sur desktop */
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px; 
    z-index: 1002; /* Doit être très visible */
}
.burger-line { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background-color: var(--secondary-color); 
    margin: 5px 0; 
    border-radius: 3px; 
    transition: all 0.3s ease; 
}


/* =================================================================== */
/* ## VOILE ARRIÈRE-PLAN (Overlay) ## */
/* =================================================================== */

.main-nav::after {
    /* Crée le voile sombre sur le contenu quand le menu est ouvert */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

body.nav-open .main-nav::after {
    opacity: 1;
    visibility: visible;
}


/* =================================================================== */
/* ## RESPONSIVE MOBILE (<= 992px) ## */
/* =================================================================== */
@media (max-width: 992px) {
    
    /* Le bouton burger apparaît */
    .nav-toggle { 
        display: block; 
    }
    
    .nav-menu {
        position: fixed; 
        top: 0; 
        right: 0;
        width: 300px; 
        height: 100%;
        
        background-color: #ffffff !important; /* Couleur blanche forcée pour l'opacité */
        backdrop-filter: none !important;     /* Désactive tout effet de transparence ou flou */
        
        box-shadow: -5px 0 20px rgba(0,0,0,0.4); 
        padding-top: 100px;
        z-index: 1001;
        
        transform: translateX(100%); 
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.4s ease;
        
        display: flex; 
        flex-direction: column;
    }
    

    
    /* Empêche le défilement du corps de la page */
    body.nav-open { 
        overflow: hidden; 
    }
    
    /* 🌟 ÉTAT OUVERT (Transition à l'écran) 🌟 */
    body.nav-open .nav-menu { 
        transform: translateX(0) !important; 
        visibility: visible !important;
    }
    
    /* Animation de l'icône en croix */
    body.nav-open .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.nav-open .burger-line:nth-child(2) { opacity: 0; }
    body.nav-open .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Liens du menu ouvert */
    .nav-links { 
        flex-direction: column; 
        align-items: center; 
        width: 100%; 
        gap: 20px; 
    }
    .nav-links a.filter-btn { 
        font-size: 1.2rem; 
        width: 80%; 
        text-align: center; 
    }
}

/* Ajustement de la taille du logo sur les très petits écrans */
@media (max-width: 480px) {
    .logo-link { height: 30px; }
    .logo-img { height: 30px; }
}
/* =================================================================== */
/* =================================================================== */
    