/* On élargit le conteneur UNIQUEMENT sur les écrans d'ordinateur (sans toucher aux mobiles) */
@media (min-width: 1200px) {
    .container {
        /* Au lieu des 1140px bloqués, le site prendra 90% de la largeur de l'écran */
        max-width: 1280px !important; 
    }
}


/* Création du conteneur de particules */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* Laisse passer les clics */
    z-index: -1; /* Derrière le contenu mais devant le fond */
    
    /* On crée les "étoiles/particules" avec des gradients */
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    
    /* Taille des motifs */
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    
    /* L'animation */
    animation: particlesMove 30s linear infinite;
    opacity: 0.8;
}

/* Animation lente */
@keyframes particlesMove {
    from { transform: translateY(0); }
    to { transform: translateY(-550px); } /* Doit correspondre à la taille du background-size le plus grand */
}

.card {
    border: 2px solid #00bcd41f;
    /*border: 1px !important; /* Enlève les bordures grises vieillottes */
    /*background-color: #1e1e24 !important;  Un fond sombre plus profond */
    border-radius: 12px !important; /* Coins plus arrondis */
    transition: all 0.3s ease-in-out; /* Animation fluide */
    overflow: hidden; /* Pour que l'image ne dépasse pas des coins arrondis */
}

.card:hover {
    border: 1px solid #009688a3;
    background-color: #2f4a4fd4;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgb(125 163 156 / 60%), inset 0 0 5px rgb(140 177 170 / 20%);
    transform: translateY(-5px);           
}



#sticky-buy-bar {
    background: rgba(30, 30, 35, 0.95); /* Fond sombre presque opaque */
    backdrop-filter: blur(10px); /* Effet flou moderne */
    padding: 10px 0;
    border-bottom: 2px solid #54acd2; /* Votre bleu */
    position: fixed;
    top: -150px; /* Caché en haut par défaut */
    left: 0;
    width: 100%;
    z-index: 9999; /* Au dessus de tout */
    transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Animation fluide */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Classe ajoutée par le JS pour montrer la barre */
#sticky-buy-bar.sticky-bar-visible {
    top: 0;
}

.sticky-image {
    width: 89px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #555;
}

/* Ajustements Mobile */
@media (max-width: 768px) {
    .sticky-info span { display: none; } /* Cache le titre sur mobile */
    .sticky-buy .btn { font-size: 12px; padding: 8px 12px; } /* Bouton plus petit */
}





/* === WIDGET DISCORD STYLES === */

/* 1. LE FOND DE LA CARTE */
.discord-card {
    background-color: #5865f26b; /* Couleur Bleu Discord */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin: 20px;
    
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

/* 2. LE TEXTE */
.discord-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.discord-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.discord-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 20px;
}

.stats-text {
    color: white;
    font-size: 14px;
}

/* 3. LE BOUTON */
.discord-btn {
    background-color: #ffffff;
    color: #5865F2;
    font-weight: 800;
    width: 100%;
    border-radius: 6px;
    padding: 10px 0;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.discord-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    color: #5865F2;
    text-decoration: none; /* Enlève le soulignement */
}

/* 4. DÉCORATION (ICONE DE FOND) */
.discord-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 140px;
    opacity: 0.15;
    color: white;
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* 5. ANIMATION PING */
.status-dot-container {
    position: relative;
    margin-right: 10px;
    width: 10px; 
    height: 10px;
}
.status-dot-static, .status-dot-ping {
    position: absolute;
    top: 0; left: 0;
    width: 10px; height: 10px;
    background-color: #3ba55c;
    border-radius: 50%;
}
.status-dot-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.discord-stats {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Le conteneur de l'image doit être relatif pour positionner le badge */
.card-img-top-wrapper { /* Si vous n'avez pas ce wrapper, appliquez à .card */
    position: relative; 
    overflow: hidden;
}

/* Le Badge Promo */
.discount-badge {
    position: absolute;
    top: 15px;
    right: -35px; /* Rotation et décalage */
    /*background: #ff003c;  Rouge néon */
    background: #FFEB3B; /* Rouge jaune */
    color: black;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg); /* En diagonale */
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 1px;
} 



/* Import de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800;900&display=swap');

/* === MACHINE À ÉCRIRE (CENTRÉ + SANS BARRE) === */

.home-typewriter {
    /* 1. LA POLICE */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* 2. L'EFFET SHINE (Dégradé animé) */
    background: linear-gradient(to right, #ffffff 20%, #54acd2 50%, #ffffff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    text-shadow: none !important;
    
    display: block !important;    /* Se comporte comme un bloc */
    width: fit-content;           /* La largeur s'adapte au texte (pour le dégradé) */
    margin: 0 auto;               /* Centre le bloc horizontalement */
    
    min-height: 1.2em;            /* Garde la hauteur pour éviter le saut */
    text-align: center;
}

/* L'ANIMATION SHINE */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* CARD SIDEBAR ALIGN BUTTON */

.pt-3,
.py-3 {
    padding-top: 1rem !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


/* === BOUTON CADEAU NOËL (GOLD EDITION) === */

/* On cible la classe précise visible sur ton screen */
.btn-gift {
    /* 1. Le Fond Or (Dégradé pour effet métal) */
    background: linear-gradient(45deg, #d4af37, #f2d06b) !important;
    background-color: #d4af37 !important; /* Sécurité */
    
    /* 2. Le Texte (Noir pour bien lire sur l'or) */
    color: #000000 !important;
    font-weight: 900 !important; /* Très gras */
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* 3. Bordure et Lueur */
    border: 1px solid #ffffff !important; /* Bordure blanche hivernale */
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5); /* Halo doré */
    
    /* 4. Indispensable pour l'animation */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Au survol de la souris */
.btn-gift:hover {
    transform: translateY(-3px) scale(1.02); /* Il monte un peu */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8); /* La lueur s'intensifie */
    color: #000 !important;
}

/* === L'ANIMATION DE BRILLANCE (SHIMMER) === */
/* Crée un reflet lumineux qui traverse le bouton */
.btn-gift::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    
    /* Une bande lumineuse blanche en biais */
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    
    /* L'animation tourne en boucle */
    animation: shimmer-gold 10s infinite;
}

/*@keyframes shimmer-gold {
    0% { left: -100%; }   
    20% { left: 200%; }   
    100% { left: 200%; }  
}*/


.btn-primary {
    background: linear-gradient(45deg, #43bdb7, #71ede7) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background-color: #43bdb7 !important;
    color: #2f2e2e !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border: 1px solid #ffffffc9 !important;
    box-shadow: 0 0 5px #43bdb787;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #43bd57, #a6ed71) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background-color: #43bd56 !important;
    color: #2f2e2e !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border: 1px solid #ffffffc9 !important;
    box-shadow: 0 0 8px #54ff5187;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;

    transform: translateY(-3px) scale(1.02); /* Il monte un peu */
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    
    /* Une bande lumineuse blanche en biais */
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    
    /* L'animation tourne en boucle */
    animation: shimmer-btn 10s infinite;
}

@keyframes shimmer-btn {
    0% { left: -100%; }   /* Départ hors champ à gauche */
    20% { left: 200%; }   /* Traverse le bouton rapidement */
    100% { left: 200%; }  /* Pause avant de recommencer */
}

.btn-success {
    background: linear-gradient(45deg, #43bdb7, #71ede7) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background-color: #43bdb7 !important;
    color: #2f2e2e !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border: 1px solid #ffffffc9 !important;
    box-shadow: 0 0 5px #43bdb787;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(45deg, #43bd57, #a6ed71) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background-color: #43bd56 !important;
    color: #2f2e2e !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border: 1px solid #ffffffc9 !important;
    box-shadow: 0 0 8px #54ff5187;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;

    transform: translateY(-3px) scale(1.02); /* Il monte un peu */
}

.btn-success:before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    
    /* Une bande lumineuse blanche en biais */
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    
    /* L'animation tourne en boucle */
    animation: shimmer-sucess 10s infinite;
}

@keyframes shimmer-sucess {
    0% { left: -100%; }   /* Départ hors champ à gauche */
    20% { left: 200%; }   /* Traverse le bouton rapidement */
    100% { left: 200%; }  /* Pause avant de recommencer */
}


/* === FAQ GRID DESIGN (Turquoise & Transparent) === */

.faq-grid-container {
    max-width: 1000px;
    margin: 50px auto;
    font-family: 'Poppins', sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}
.faq-header h2 { font-weight: 800; color: #fff; letter-spacing: 1px; }

/* La Grille */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 10px;
}

/* La Boîte (Carte) avec transparence */
.faq-box {
    /* Fond noir avec 85% d'opacité pour la transparence */
    background: rgba(20, 20, 20, 0.60);
    /* Effet de flou derrière la carte (optionnel, très moderne) */
    backdrop-filter: blur(5px); 
    
    border: 1px solid rgba(255, 255, 255, 0.1); /* Bordure subtile */
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Effet Hover (La bordure devient turquoise) */
.faq-box:hover {
    transform: translateY(-5px);
    border-color: #39c5ba; /* NOUVELLE COULEUR TURQUOISE */
    box-shadow: 0 10px 30px rgba(0, 203, 169, 0.2); /* Ombre turquoise */
}

.faq-box summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #fff;
    font-size: 1.1em;
}
.faq-box summary::-webkit-details-marker { display: none; }

/* Icônes */
.faq-icon {
    font-size: 1.2em;
    color: #777; /* Gris au repos */
    margin-right: 15px;
    transition: color 0.3s;
}

.arrow {
    font-size: 0.8em;
    color: #555;
    transition: transform 0.3s, color 0.3s;
}

/* Quand c'est ouvert */
.faq-box[open] {
    background: rgba(20, 20, 20, 0.60);; /* Un peu moins transparent quand ouvert */
    border-color: #00CBA9; /* Bordure turquoise */
}

.faq-box[open] .faq-icon { color: #39c5ba; } /* L'icône devient turquoise */
.faq-box[open] .arrow { transform: rotate(180deg); color: #39c5ba; }

/* Le texte de réponse (Centré avec séparateur) */
.faq-text {
    margin-top: 15px;
    padding-top: 20px;
    
    /* LE SÉPARATEUR (Ligne turquoise semi-transparente) */
    border-top: 1px solid rgba(0, 203, 169, 0.3); 
    
    /* ALIGNEMENT CENTRÉ */
    text-align: center;
    
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95em;
    animation: slideDown 0.3s ease-out;
}

/* Ajustement des liens dans le texte pour qu'ils soient turquoise */
.faq-text a {
    color: #009688 !important;
    text-decoration: underline;
}

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

/*MOBILE FAQ*/

/* === RESPONSIVE MOBILE (Pour la FAQ) === */
@media (max-width: 768px) {
    
    /* On force 1 seule colonne sur mobile */
    .faq-grid {
        grid-template-columns: 1fr !important; 
        gap: 15px;
    }

    /* On réduit les marges pour que ça rentre bien */
    .faq-grid-container {
        width: 100%;
        padding: 0 15px; /* Marge de sécurité sur les bords */
        margin: 30px auto;
    }

    /* On réduit un peu la taille du texte */
    .faq-box summary {
        font-size: 1em; /* Un peu plus petit */
    }
    
    .faq-icon {
        margin-right: 10px; /* Icône plus proche du texte */
    }
}


/* ALIGNEMENT DESCRIPTION CARDS*/

/* Style du Teaser (Description courte) */
.teaser-container {
    /* Taille et Espacement */
    min-height: 40px;       /* Hauteur min pour voir le centrage */
    padding: 5px 15px;      /* Espace sur les côtés */
    margin-bottom: 0px;
    
    /* Le Flexbox Magique */
    display: flex;
    /*flex-direction: column; /* Sécurité pour le texte multi-lignes */
    justify-content: center; /* Centre Verticalement */
    align-items: flex-start; /* Aligne tout à Gauche */
    
    /* Style du texte */
    text-align: left;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* IMPORTANT : On tue les marges des balises <p> si l'éditeur en ajoute */
.teaser-container p {
    margin: 0 !important;
    padding: 0 !important;
}



/* Style du EXTRA bouton supplémentaire */
.btn-extra {
    background: linear-gradient(45deg, #673AB7, #8259c9) !important;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.3));
    color: #2f2e2e !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border: 1px solid #ffffffc9 !important;
    box-shadow: 0 0 5px #43bdb787;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-extra:hover {
    background-color: #5541c9; /* Violet plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.4);
    text-decoration: none;
}



/* === GIGZ BUNDLE CARD (Version Verte Sans Icône) === */
.gz-bundle-card {
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Bordure Verte */
    border-left: 4px solid #2ecc71; 
    
    border-radius: 6px;
    padding: 20px 20px;
    margin: 0px 0;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gz-bundle-content {
    display: flex;
    align-items: center;
}

/* Suppression du bloc icône dans le CSS aussi */

.gz-bundle-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.gz-bundle-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Texte Vert */
    color: #2ecc71; 
    
    font-weight: 800;
    margin-bottom: 2px;
}

.gz-bundle-detail {
    font-size: 0.95rem;
    color: #ccc;
}

.gz-bundle-badge {
    background: #d90429; /* On garde le rouge pour -20% car c'est une alerte */
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Le Bouton Vert */
.gz-bundle-btn {
    background-color: #2ecc71; /* Fond Vert */
    color: #111 !important;    /* Texte foncé pour le contraste */
    
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gz-bundle-btn:hover {
    background-color: #fff; /* Devient blanc au survol */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); /* Ombre verte */
}

.gz-bundle-btn i {
    margin-left: 5px;
    font-size: 0.8em;
}

/* Mobile */
@media (max-width: 600px) {
    .gz-bundle-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .gz-bundle-btn {
        width: 100%;
        text-align: center;
    }
}

/* === STYLES PREMIUM GIGZ POUR LA TOPBAR === */

/* Bouton Login Cfx.re (FiveM) */
.gz-login-btn {
    background-color: rgba(255, 255, 255, 0.05); /* Fond sombre très élégant */
    color: #ffffff !important;
    padding: 5px 15px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.gz-login-btn:hover {
    background-color: #00CBA9; /* Il devient turquoise au survol ! */
    color: #000000 !important;
    border-color: #00CBA9;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 203, 169, 0.4);
}

/* Badge Utilisateur Connecté */
.gz-user-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #ddd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gz-user-badge strong {
    color: #00CBA9; /* Ton Turquoise GigZ */
    letter-spacing: 0.5px;
}

/* Bouton Déconnexion (Logout) */
.gz-logout-btn {
    color: #ff4757 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gz-logout-btn:hover {
    color: #ff6b81 !important;
}


/* =========================================
   1. BOUTON LANGUE (FOOTER) - 100% CSS
   ========================================= */

footer .dropup button.btn-primary {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #d1d5db !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

footer .dropup button.btn-primary:hover,
footer .dropup button.btn-primary:focus,
footer .dropup.show button.btn-primary {
    background: rgba(0, 203, 169, 0.1) !important;
    color: #ffffff !important;
    border-color: #00CBA9 !important;
    box-shadow: 0 0 10px rgba(0, 203, 169, 0.2) !important;
    outline: none !important;
}

footer .dropup .dropdown-menu {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 8px !important; 
    transform: none !important; 
    right: 0 !important; 
    left: auto !important;
}

/* =========================================
   2. BOUTON DEVISE (EUR/USD) - 100% CSS
   ========================================= */

button#currencyButton {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 6px 14px !important; 
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important; 
    transition: all 0.2s ease !important;
}

button#currencyButton:hover,
button#currencyButton:focus,
.dropdown.show button#currencyButton {
    background: rgba(0, 203, 169, 0.15) !important;
    color: #ffffff !important;
    border-color: #00CBA9 !important;
    box-shadow: 0 0 10px rgba(0, 203, 169, 0.3) !important;
    outline: none !important;
}

#currencyButton + .dropdown-menu {
    top: 100% !important; 
    bottom: auto !important;
    margin-top: 8px !important; 
    transform: none !important; 
    right: 0 !important; 
    left: auto !important;
}

/* =========================================
   3. DESIGN INTÉRIEUR DES BOÎTES ET CORRECTION SIDEBAR
   ========================================= */

/* Fond de la boîte et correction de la sidebar (z-index) */
footer .dropup .dropdown-menu,
#currencyButton + .dropdown-menu {
    /*background: rgba(16, 20, 24, 0.95) !important;*/ 
    backdrop-filter: blur(5px) !important; 
    border: 1px solid rgba(0, 203, 169, 0.2) !important; 
    border-radius: 8px !important; 
    padding: 6px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 203, 169, 0.1) !important; 
    z-index: 99999 !important; /* C'EST ÇA QUI RÈGLE LE PROBLÈME DE SIDEBAR ! */
}

/* Style des liens à l'intérieur */
footer .dropup .dropdown-menu .dropdown-item,
#currencyButton + .dropdown-menu .dropdown-item {
    color: #d1d5db !important; 
    border-radius: 5px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important; 
    background: transparent !important; 
}

/* Animation au survol d'un choix */
footer .dropup .dropdown-menu .dropdown-item:hover,
#currencyButton + .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 203, 169, 0.15) !important; 
    color: #ffffff !important; 
    transform: translateX(4px); 
}

/* Style du choix actuellement sélectionné */
footer .dropup .dropdown-menu .dropdown-item.active,
#currencyButton + .dropdown-menu .dropdown-item.active {
    background: #00CBA9 !important; 
    color: #101418 !important; 
}


/* =========================================
   4. CORRECTION GLOBALE DES PLANS (Z-INDEX)
   ========================================= */

/* On force tout l'en-tête (Top Bar & Header) à passer au premier plan */
header, 
.bg-topbar,
#header {
    position: relative !important;
    z-index: 1050 !important;
}

/* On force la sidebar à rester en arrière-plan quoi qu'il arrive */
.sidebar,
.layout-standard .sidebar {
    position: relative !important;
    z-index: 1 !important;
}


/*SCROLLING BAR*/

/* Personnalisation de la barre de défilement (Pour Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px; /* Plus fine et élégante */
}

::-webkit-scrollbar-track {
    background: #101418; /* La couleur très sombre de ton fond */
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3); /* Ton cyan en transparent */
    border-radius: 10px; /* Bords arrondis */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.8); /* S'illumine quand on la survole */
}

/*FADE IN SLIDE UP*/

/* Apparition en douceur SANS bloquer le flou à la fin */
body {
    animation: fadeInPage 0.7s ease-in; /* On a retiré le mot "forwards" */
}

@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* =========================================
   STYLE DU NOM DU STUDIO (HAUT DE PAGE)
   ========================================= */

/* On enlève le soulignement automatique de Tebex sur le lien du logo */
.logo-container, .logo-container:hover {
    text-decoration: none !important;
}

/* Gestion de la taille des logos */
.header-logo-img {
    max-height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Style style "Impact" pour le texte "GigZ Mappings" */
.logo-text {
    margin-left: 15px; /* Espace entre le logo et le texte */
    color: #ffffff !important; /* Blanc pur */
    font-size: 40px; /* Légèrement augmenté car Impact est une police très condensée */
    font-weight: 900; /* Épaisseur maximale */
    letter-spacing: -1px; /* Les lettres sont très serrées sur Impact, on ajuste subtilement */
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5); /* Ombre pour la lisibilité */
    transition: all 0.3s ease;
    animation: cinematic-focus 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes cinematic-focus {
    0% { filter: blur(20px); letter-spacing: 1.2em; opacity: 0; }
    50% { filter: blur(8px); opacity: 0.7; }
    100% { filter: blur(0); letter-spacing: 0.05em; opacity: 1; }
}


/* Couleur du mot "Mappings" (Turquoise GigZ) */
.logo-text-accent {
    color: #909b99 !important;
}

/* --- EFFET PREMIUM AU SURVOL --- */
.logo-container:hover .logo-text {
    text-shadow: 0 0 2px rgba(0, 203, 169, 0.6); /* Halo turquoise plus intense */
}

.logo-container:hover .header-logo-img {
    transform: scale(1.03); /* Micro-zoom sur l'image */
}

/* --- ADAPTATION MOBILE (RESPONSIVE) --- */
@media (max-width: 991px) {
    .header-logo-img {
        max-height: 55px;
    }
    .logo-text {
        margin-left: 10px;
        font-size: 24px; /* Ajusté pour le mobile */
    }
}

/* =========================================
   STYLE DU MENU DE NAVIGATION (ONGLETS)
   ========================================= */
   
/*TEST HEADER NAVLINK*/

nav.navbar.border-top.border-bottom.bg-navbar {
    background: rgba(16, 20, 24, 0.4) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: none !important; 
    border-bottom: 1px solid rgba(0, 242, 254, 0.15) !important; 
}   

/* 1. Forme de base de tous les liens du menu */
.navbar-nav .nav-item .nav-link {
    padding: 5px 15px !important; /* Crée l'espace de la bulle autour du mot */
    margin: 0 4px; /* Crée un petit espace entre chaque onglet */
    border-radius: 10px !important; /* Les fameux bords arrondis */
    transition: all 0.3s ease !important; /* Animation fluide */
    color: #d1d5db !important; /* Gris clair par défaut */
}

/* 2. Au survol de la souris (Hover) avant même de cliquer */
.navbar-nav .nav-item:hover .nav-link {
    background: rgba(255, 255, 255, 0.05) !important; /* Fond grisé très subtil */
    color: #f39b9b !important; /* Ton turquoise GigZ */
}

/* 3. L'onglet ACTIF (La page sur laquelle le client se trouve) */
.navbar-nav .nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.12) !important; /* Fond grisé bien visible */
    color: #f39b9b !important; /* Ton turquoise GigZ */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important; /* Légère ombre sous la bulle */
}

/* =========================================
   FIL D'ARIANE RESPONSIVE (BREADCRUMB)
   ========================================= */

/* Conteneur global pour forcer le centrage complet */
.breadcrumb-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 15px;
    margin-bottom: 10px;
}

.custom-breadcrumb {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 8px 20px !important;
    margin: 0 auto !important;
    border-radius: 30px !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    flex-wrap: wrap; /* Permet un retour à la ligne propre si le nom du produit est trop long sur mobile */
    justify-content: center;
}

/* Style des liens cliquables */
.custom-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #00CBA9 !important; /* Turquoise GigZ au survol */
}

/* Page produit actuelle (le dernier élément) */
.custom-breadcrumb .breadcrumb-item.active {
    color: #00CBA9 !important; 
    font-weight: 800;
}

/* Style du séparateur › */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 15px;
    line-height: 1;
    padding: 0 8px;
}

/* =========================================
   AJUSTEMENTS SPÉCIFIQUES POUR MOBILE
   ========================================= */
@media (max-width: 768px) {
    .custom-breadcrumb {
        padding: 6px 14px !important; /* On réduit la taille de la bulle */
        font-size: 10px; /* Évite que le texte ne prenne tout l'écran */
        letter-spacing: 0.2px;
        max-width: 100%; /* S'adapte à la largeur du téléphone */
    }
    
    .custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px; /* On resserre les flèches */
        font-size: 12px;
    }
}

/* =========================================
   STYLE DU TITRE INTERNE (FICHE PRODUIT)
   ========================================= */
.package-inner-title {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px !important;
    text-align: left; /* Aligné proprement avec le prix */
}

/* =========================================================================
   ICONES RÉSEAUX SOCIAUX - TOPBAR
   ========================================================================= */
.topbar-socials {
    display: inline-flex;
    align-items: center;
    margin-right: 20px; /* Espace entre les icônes et le bouton EUR */
    vertical-align: middle;
}

.topbar-socials .social-icon {
    color: rgba(255, 255, 255, 0.6); /* Blanc transparent par défaut */
    font-size: 1.1rem;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.topbar-socials .social-icon:last-child {
    margin-right: 0;
}

/* Effets au survol (Couleurs officielles + léger saut) */
.topbar-socials .social-icon:hover {
    transform: translateY(-2px);
}

.topbar-socials .social-icon.discord:hover { 
    color: #5865F2; 
}

.topbar-socials .social-icon.instagram:hover { 
    color: #E1306C; 
}

.topbar-socials .social-icon.tiktok:hover { 
    color: #00f2fe; 
    text-shadow: 2px 0px #ff0050; /* Effet glitch TikTok */
}

.topbar-socials .social-icon.youtube:hover { 
    color: #FF0000; 
}