html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Segoe UI', sans-serif;
    color: #d4af37;

    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.82)),
        url('image/lyon-rural-blur.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Image de fond sur tout l'écran */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(26, 26, 26, 0.78)),
        url('image/lyon-rural-blur.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    border-bottom: 3px solid #d4af37;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding-top: 80px; /* Laisse de la place pour la navbar fixe */
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Les Cartes Transparentes */

/* Pour espacer la section des métiers sous le titre */
.roles-preview {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    background: rgba(0, 0, 0, 0.4); /* Fond sombre léger pour la lisibilité */
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.roles-preview h4 {
    color: #d4af37; /* Ton doré lyonnais */
    margin: 5px 0;
}
.stats-cards {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Force la même hauteur pour toutes les cartes */
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    width: 180px;
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px); /* L'effet verre dépoli */
    transition: transform 0.3s;
    
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}
.card:hover::after {
    opacity: 1;
}

.card h3 { margin: 10px 0; font-size: 1.1em; }
.card p { color: #f1c40f; font-size: 0.9em; } /* Jaune pour les stats */

.icon-style {
    font-size: 2.5rem; /* Taille de l'icône */
    color: #f1c40f;    /* Couleur dorée/jaune */
    margin-bottom: 15px;
    display: block;
}

/* Petit effet au survol de la carte pour l'icône */
.card:hover .icon-style {
    transform: scale(1.1);
    transition: 0.3s;
}

/* --- STYLE GLOBAL PAGES CLAIRES (Règlement, FAQ, Classement) --- */
.page-reglement {
    background-color: #f8f9fa;
    color: #2d3436;
}

.page-reglement .navbar {
    background: #000000 !important; /* On force la barre sombre */
    position: fixed;
    top: 0;
    width: 100%;
}

.content-container {
    max-width: 900px;
    margin: 120px auto 50px;
    padding: 60px;
    background-color: rgba(0, 0, 0, 0.274);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Ombre portée douce */
    position: relative;
    overflow: hidden; /* Pour que le lion ne dépasse pas des bords arrondis */
}

/* Création du filigrane */
.content-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrage parfait du lion */
    width: 100%;
    height: 100%;
    background-image: url('https://media.discordapp.net/attachments/1469687214710460456/1473503151616163870/lyon.png?ex=69ae2d3f&is=69acdbbf&hm=10ca63d1d412999513da595aae8c7ba52ac6332bcfad91f68be98152968c2d62&=&format=webp&quality=lossless'); /* Utilise l'image de image_812324 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 350px; /* Taille ajustée pour ne pas gêner le texte */
    opacity: 0.50; /* On l'accentue un peu par rapport à avant */
    z-index: 0;
}

/* On force le texte à rester au-dessus de l'image */
.content-container > * {
    position: relative;
    z-index: 1;
}

/* On s'assure que le titre principal est bien centré aussi */
.content-container h1 {
    text-align: center;
    font-size: 2.8rem;
    color: #ece9e9;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* La ligne dorée sous le titre RÈGLEMENT */
.content-container h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4af37; /* Ton doré habituel */
    margin: 10px auto 0;
}

/* Force le texte des paragraphes et des listes en blanc */
.content-container p, 
.content-container li, 
.content-container span {
    color: #dad6d6 !important;
}

/* Met le texte des règles en blanc */
.rule-item {
    color: #ffffff !important;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Garde l'icône (le petit chevron >) en doré pour le style Lyon */
.rule-item i {
    color: var(--lyon-gold) !important;
    font-size: 0.9rem;
}

/* Effet d'interaction sur les règles */
.rule-item {
    transition: all 0.3s ease; /* Fluidité de l'effet */
    cursor: default;
    padding: 5px 0;
}

.rule-item:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); /* Petite lueur blanche */
    transform: translateX(5px); /* Petit décalage vers la droite */
}

/* On fait aussi briller l'icône au survol */
.rule-item:hover i {
    color: var(--lyon-gold) !important;
    text-shadow: 0 0 10px var(--lyon-gold);
}

/* Style pour ton fil d'Ariane (LYON > RÈGLEMENT) */
.breadcrumb {
    font-size: 0.8rem;
    color: #d4af37;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Effet pour les futurs articles de la boutique */
.shop-card {
    background: rgba(247, 247, 247, 0.315);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #ece3e37c;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Ombre légère comme image_81811e */
}

.shop-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.2); /* Halo vert boutique */
}

/* --- SECTION BOUTIQUE --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* S'adapte à la taille de l'écran */
    gap: 25px;
    margin-top: 40px;
}

.shop-card {
    background: #ffffff60;
    border: 1px solid #000000;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-10px); /* Effet de levée au survol */
    border-color: #d4af37; /* Bordure dorée au survol */
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

/* Icônes de la boutique */
.shop-icon {
    font-size: 3rem;
    color: #d4af37; /* Doré lyonnais */
    margin-bottom: 20px;
}

/* Prix et Textes */
.shop-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1b0130;
}

.shop-card p {
    font-size: 0.9rem;
    color: #363635;
    height: 50px; /* Aligne les boutons même si les textes n'ont pas la même longueur */
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #03051d;
    margin: 20px 0;
}

.price span {
    font-size: 0.9rem;
    color: #c70e0e;
    font-weight: 400;
}

.btn-buy {
    background: #37d43f; /* On passe la boutique sur le rouge lyonnais */
    /* ... reste de ton style ... */
}

.btn-buy:hover {
    background: #2d6d19;
    box-shadow: 0 0 15px rgba(142, 33, 33, 0.4);
}

.shop-icon {
    color: #d4af37; /* Icônes en rouge brique */
}

/* Badge "Populaire" */
.card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1c40f;
    color: #000;
    font-size: 0.7em;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}

/* --- LE MENU DÉROULANT Réseaux--- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 15px;
}

/* Le contenu caché par défaut */
.dropdown-content {
    display: none; /* C'est caché ! */
    position: absolute;
    background-color: #1a1a1a; /* Fond sombre pour coller à la navbar */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    border-radius: 4px;
    z-index: 1000;
    top: 100%; /* S'affiche juste en dessous */
    left: 0;
}

/* Style des liens à l'intérieur du menu */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    transition: background 0.3s;
    text-align: left;
}

/* Effet au survol des liens du menu */
.dropdown-content a:hover {
    background-color: #333;
    color: #f1c40f; /* Texte doré au survol */
}

/* LA MAGIE : On affiche quand on survole le parent (.dropdown) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Définition de l'animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* On l'applique aux titres et aux cartes */
.hero-content, .card, .shop-card, .regles-section {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Petit délai pour que les cartes arrivent les unes après les autres */
.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

/* --- VARIABLES DE COULEURS LYONNAISES --- */
:root {
    --lyon-red: #8e2121;      /* Rouge brique du Vieux Lyon */
    --lyon-gold: #d4af37;     /* Or du blason */
    --lyon-dark: #1a1a1a;
}

/* On change le jaune par l'Or Lyonnais */
.icon-style, .card p, .dropdown-content a:hover {
    color: var(--lyon-gold) !important;
}

/* Une lueur dorée au survol des cartes pour l'effet "Lumière" */
.card:hover {
    border-color: var(--lyon-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Custom Barre côté */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: var(--lyon-red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--lyon-gold);
}

/* GN,SP,SAMU*/
.role-item {
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid #d4af37; /* Rappel du doré lyonnais */
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    transition: 0.3s;
}

.role-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px); /* Petit décalage au survol */
}

.role-item i {
    color: #d4af37;
    margin-right: 10px;
}

/* Pour les 3 métiers du bas */
.roles-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px; /* Espace entre les stats et les métiers */
}

/* Style des cartes de métiers horizontales */
.role-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    transition: 0.3s ease;
}

.role-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.05);
}

/* Style des icônes dorées */
.role-icon {
    font-size: 1.5rem;
    color: #d4af37;
}

.role-text h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
}

.role-text p {
    margin: 2px 0 0 0;
    font-size: 0.75rem;
    color: #aaa;
}

/* Définition de l'animation de battement */
@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Application de l'animation sur l'icône */
.role-icon.pulse {
    animation: heartBeat 1.5s ease-in-out infinite;
    color: #e74c3c; /* Optionnel : tu peux le mettre en rouge SAMU ou garder le doré */
    display: inline-block; /* Important pour que le scale fonctionne */
}

/* Si tu veux garder le doré lyonnais mais avec le battement */
/*.role-icon.pulse { color: #d4af37; }*/

/* --- GENDARMERIE : Effet de balancement vigilant --- */
@keyframes shieldTilt {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.role-icon.tilt {
    animation: shieldTilt 3s ease-in-out infinite;
    display: inline-block;
}

/* --- ILLÉGAL : Effet de clignotement "ombre" --- */
@keyframes maskFlicker {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.5)); }
    50% { opacity: 0.5; filter: drop-shadow(0 0 0px transparent); }
}

.role-icon.flicker {
    animation: maskFlicker 2s linear infinite;
    display: inline-block;
}

/* Container de la FAQ */
.faq-container {
    margin-top: 30px;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #000000;
    border-radius: 8px;
    background: #d4af37; /* Transparence pour voir le filigrane */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    color: #d4af37; /* Ton doré lyonnais au survol */
}

/* On masque la réponse */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #000000;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #000000;
    line-height: 1.6;
    border-top: 1px solid #d4af37;
}

/* État actif quand on clique */
.faq-item.active {
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Hauteur max de la réponse déployée */
}

.faq-item.active .fa-plus {
    transform: rotate(45deg); /* Le + devient une petite croix */
    color: #d4af37;
}

/* Optionnel : Si tu veux aussi changer la couleur de la question quand elle est ouverte */
.faq-item.active .faq-question {
    color: #000000; /* Rend la question sombre sur fond clair */
}

/* Optionnel : Assure-toi que l'icône x ou + reste visible */
.faq-item.active .faq-question i {
    color: #ffd700; /* Garde ton doré Lyon RP pour l'icône */
}
/* Barre de recherche */
.search-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid #d4af37;
    border-radius: 4px;
    width: fit-content;
    padding: 5px 10px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 0.9rem;
    color: #d4af37;
}

.search-box input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Style du Tableau */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: transparent; /* Pour bien voir le filigrane derrière */
}

.ranking-table thead tr {
    background-color: #1a1a1a; /* Fond noir pour les titres comme sur l'image */
    color: #d4af37;
}

.ranking-table th {
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.ranking-table td {
    padding: 20px 15px;
    text-align: center; /* Centrage des données */
    border-bottom: 1px solid #d4af37;
    color: #d4af37;
    font-size: 0.95rem;
}

/* On aligne le nom à gauche pour plus de lisibilité */
.ranking-table td:nth-child(2) {
    text-align: left;
    padding-left: 50px;
}

footer {
    background: #111;
    color: #d4af37;
    padding: 80px 0 40px 0; /* Plus de hauteur pour le prestige */
    margin-top: 100px;
    border-top: 4px solid var(--lyon-red); /* Ton rouge brique en signature */
    position: relative;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Colonne de gauche plus large */
    gap: 50px;
    text-align: left; /* Alignement à gauche pour plus de sérieux */
}

.footer-column h3 {
    color: #fff !important; /* Force le blanc */
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--lyon-red);
    padding-left: 15px;
}

.footer-column p {
    color: #888;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- FIX FINAL DU VIOLET --- */
/* On cible tous les états : normal, visité, et actif */
.footer-links-vertical a, 
.footer-links-vertical a:visited, 
.footer-links-vertical a:link {
  color: #bbbbbb !important; /* Gris clair pour tout le monde */
    text-decoration: none !important;
    margin: 0 15px; /* Pour espacer tes liens horizontalement */
    transition: all 0.3s ease;
    display: inline-block;
}

/* Le survol en rouge lyonnais */
.footer-links a:hover {
    color: var(--lyon-red) !important;
    transform: translateY(-3px); /* Petit effet de levée au lieu du décalage */
}

/* On nettoie aussi le divider pour qu'il soit discret */
.footer-divider {
    height: 1px;
    background: rgba(150, 201, 12, 0.1);
    width: 200px;
    margin: 20px auto;
}

.footer-links-vertical a:hover {
    color: var(--lyon-red) !important; /* Rouge brique au survol */
    padding-left: 8px; /* Petit décalage élégant */
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-bottom p {
    color: #d4af37 !important; /* Doré Prestige */
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-bottom span {
    font-size: 0.75rem;
    color: #7c0e0e;
    font-style: italic;
}

footer .footer-links a, 
footer .footer-links a:visited {
    color: #d4af37 !important; /* Force le blanc */
    text-decoration: none !important;
}

footer .footer-links a:hover {
    color: #d4af37 !important; /* Doré Prestige */
    text-decoration: underline !important;
    opacity: 1 !important;
    transform: translateY(-2px); /* Petit effet de lévitation */
    transition: 0.3s ease;
}

.server-name-gold {
    color: #d4af37 !important; /* Doré Prestige */
    font-weight: 800; /* Plus épais pour ressortir */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3); /* Léger effet de lueur */
}


/* Staff  */

.staff-social-top {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px; /* Espace avant les cartes */
}

.staff-btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style Discord */
.btn-discord {
    background: #5865F2;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    transform: translateY(-3px);
}

/* Style Steam */
.btn-steam {
    background: #1b2838; /* Bleu Steam classique */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-steam:hover {
    background: #2a475e;
    box-shadow: 0 0 15px rgba(27, 40, 56, 0.4);
    transform: translateY(-3px);
}

/* Responsive pour mobile */
@media (max-width: 600px) {
    .staff-social-top {
        flex-direction: column;
        align-items: center;
    }
}
.staff-section {
    padding: 80px 20px;
    text-align: center;
    background: transparent; /* Pour laisser voir ton fond de Lyon */
}

.section-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.staff-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-card {
    background: rgba(17, 17, 17, 0.9); /* Ton noir signature avec opacité */
    padding: 30px;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid rgba(255,255,255,0.1);
}

.staff-rank {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Couleurs des grades */
.rank-fondateur { background: #d4af37; color: #000; } /* Doré */
.rank-admin { background: var(--lyon-red); color: #fff; } /* Rouge Lyon */
.rank-modo { background: #fff; color: #000; } /* Blanc */

/* Bordures spécifiques */
.gold-border { border-top: 4px solid #d4af37; }
.red-border { border-top: 4px solid var(--lyon-red); }
.white-border { border-top: 4px solid #fff; }

.staff-card h4 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.staff-card p { color: #888; font-size: 0.9rem; line-height: 1.4; }


/* Style spécifique pour le lien Staff dans la Navbar */
.nav-staff-link {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

/* Petit trait doré en dessous au survol pour le côté Lyon */
.nav-staff-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4af37; /* Ton doré prestige */
    transition: width 0.3s ease;
}

.nav-staff-link:hover::after {
    width: 100%;
}

.nav-staff-link:hover {
    color: #d4af37 !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}
.staff-avatar-container {
    width: 80px;
    height: 80px;
    background: #222;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.05);
}

.staff-icon-placeholder {
    font-size: 2.5rem;
    color: #444;
}

.status-online { color: #2ecc71; font-size: 0.8rem; }
.status-away { color: #f1c40f; font-size: 0.8rem; }

.staff-page {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('ton-image-lyon.jpg');
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.staff-hero {
    padding: 150px 20px 100px; /* Espace pour la navbar */
    text-align: center;
}

.staff-subtitle {
    color: #888;
    margin-bottom: 50px;
    font-style: italic;
}

.active {
    color: var(--lyon-red) !important;
    border-bottom: 2px solid var(--lyon-red);
}

/* On supprime les résidus blancs */
body, .staff-section, footer {
    background-color: #111 !important;
}

.staff-section {
    min-height: auto; /* Évite de créer un trou géant */
    padding-bottom: 50px;
}
/* On enferme tout dans un conteneur noir pour tuer le blanc */
.black-wrapper {
    background-color: #0c0c0c !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

.staff-section {
    background: transparent !important;
    padding: 80px 0;
}

/* Style Footer Image 2 */
.footer-image2 {
    background-color: #0c0c0c;
    padding: 40px 20px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-nav { margin: 20px 0; }
.footer-nav a {
    color: var(--lyon-gold) !important;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-sep {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 50%;
    margin: 20px auto;
}

.gold-text { color: var(--lyon-gold); }
.disclaimer { color: #444; font-size: 0.7rem; font-style: italic; }

.btn-staff-contact {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--lyon-gold) !important;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-staff-contact:hover {
    background: var(--lyon-gold);
    color: #000 !important;
    transform: scale(1.05);
}

.staff-card p {
    min-height: 60px; /* Aligne les boutons si les textes ont des longueurs différentes */
    margin-bottom: 10px;
}

/* --- LECTEUR AUDIO LYON FRANCE RP --- */
.music-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lyon-gold);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease;
}

.music-player:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.9);
}

/* Conteneur du texte (Titre + Chrono) */
.music-text-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* TITRE : EFFET DRAPEAU FRANÇAIS */
.music-text-data span:first-child {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to right, #002395 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.8)); /* Pour la lisibilité du blanc */
}

/* CHRONO : BLANC LISIBLE */
#music-time {
    font-size: 0.65rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* Annule la transparence du titre */
    opacity: 0.8;
    font-family: monospace;
}

/* ICÔNE ET ANIMATION */
.music-info i {
    color: var(--lyon-gold);
    -webkit-text-fill-color: var(--lyon-gold);
    animation: pulse-gold 2s infinite;
    font-size: 1rem;
}

/* --- BOUTON ET VOLUME --- */
.music-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Style du bouton Suivant */
#next-btn {
    background: none;
    border: 1px solid var(--lyon-gold);
    color: var(--lyon-gold);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 0.8rem;
}

#next-btn:hover {
    background: var(--lyon-gold);
    color: #000;
    transform: scale(1.1);
}

#play-pause-btn {
    background: var(--lyon-gold);
    color: #000;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

#play-pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--lyon-gold);
}

#volume-slider {
    width: 60px;
    height: 4px;
    cursor: pointer;
    accent-color: var(--lyon-gold);
    outline: none;
    transition: 0.3s;
}

.music-player:hover #volume-slider {
    width: 80px;
}

@keyframes pulse-gold {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}


/* Metier */ 

/* Définition de l'animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Part de 30px plus bas */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* On applique l'animation aux cartes */
.card, .role-card {
    opacity: 0; /* Caché au départ */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* On décale un peu le démarrage pour chaque carte (effet cascade) */
.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

.role-card:nth-child(1) { animation-delay: 0.8s; }
.role-card:nth-child(2) { animation-delay: 1.0s; }
.role-card:nth-child(3) { animation-delay: 1.2s; }

/* Staff */ 

/* On applique l'animation aux cartes de l'équipe Staff */
.staff-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Effet de cascade pour le Staff (commence après les métiers) */
.staff-card:nth-child(1) { animation-delay: 1s; }
.staff-card:nth-child(2) { animation-delay: 1.2s; }
.staff-card:nth-child(3) { animation-delay: 1.4s; }


/* ===== PATCH UNIQUEMENT BARRE DU HAUT + DROPDOWNS ===== */
.navbar {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 78px;
    padding: 0 34px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(2, 8, 20, 0.92) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    flex: 0 0 auto;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: .3px;
    color: #f0c74a;
    white-space: nowrap;
}

.logo b {
    color: #ffffff;
    font-weight: 800;
}

.nav-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links > a,
.nav-links > .dropdown > .dropdown-trigger {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: 28px 0;
    color: #f2d165 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > .dropdown > .dropdown-trigger:hover {
    color: #ffffff !important;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 14px;
    background: rgba(5, 14, 30, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: flex;
}

.dropdown-content a {
    padding: 12px 14px;
    border-radius: 10px;
    color: #f4f6fb !important;
    text-decoration: none !important;
    font-size: .95rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #f2d165 !important;
    transform: translateX(3px);
}

.btn-boutique {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    border: none;
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(39, 174, 96, 0.2);
}

.btn-boutique:hover {
    filter: brightness(1.05);
}

.hero-content {
    padding-top: 120px;
}

@media (max-width: 1180px) {
    .navbar {
        padding: 0 18px !important;
        gap: 14px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links > a,
    .nav-links > .dropdown > .dropdown-trigger {
        font-size: .92rem;
        padding: 26px 0;
    }
}

@media (max-width: 920px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .nav-links > a,
    .nav-links > .dropdown > .dropdown-trigger {
        padding: 8px 0;
    }

    .dropdown-content {
        top: calc(100% + 6px);
    }
}

@media (max-width: 640px) {
    .navbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 10px 14px;
    }

    .nav-links > a,
    .nav-links > .dropdown > .dropdown-trigger {
        font-size: .88rem;
    }

    .btn-boutique {
        width: 100%;
        max-width: 220px;
    }
}
/* ===== FIN PATCH BARRE DU HAUT ===== */


/* ===== NAVBAR FIX UNIQUEMENT ===== */
.navbar, .navbar * { box-sizing: border-box; }
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 78px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 32px;
  background: rgba(5, 11, 23, .96);
  border-bottom: 1px solid rgba(212,175,55,.18);
  backdrop-filter: blur(10px);
  z-index: 10000;
}
.nav-left,.nav-center,.nav-right{display:flex;align-items:center}
.nav-center{justify-content:center;gap:12px;min-width:0}
.nav-right{justify-content:flex-end;gap:12px}
.logo{
  color:#f0c64b;text-decoration:none!important;font-size:1.15rem;font-weight:900;letter-spacing:.02em;white-space:nowrap
}
.logo b{color:#fff}
.nav-item,.dropdown-trigger{
  display:inline-flex;align-items:center;justify-content:center;
  height:44px;padding:0 14px;border-radius:12px;
  color:#f5f7fb!important;text-decoration:none!important;
  border:0;background:transparent;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;
  transition:background .2s ease,color .2s ease;
}
.nav-item:hover,.dropdown-trigger:hover,.dropdown.is-open>.dropdown-trigger,.dropdown.is-hover>.dropdown-trigger{
  background:rgba(255,255,255,.08); color:#f0c64b!important;
}
.nav-item.is-active{background:rgba(240,198,75,.15); color:#f0c64b!important}
.dropdown{position:relative;display:flex;align-items:center}
.dropdown-trigger i{margin-left:8px;font-size:.8rem}
.dropdown-content{
  position:absolute;top:calc(100% - 1px);left:0;
  display:none;flex-direction:column;min-width:220px;
  padding:10px;
  background:rgba(9,16,31,.985);
  border:1px solid rgba(212,175,55,.14);
  border-radius:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  z-index:10020;
}
.dropdown:hover>.dropdown-content,.dropdown.is-open>.dropdown-content,.dropdown.is-hover>.dropdown-content{display:flex}
.dropdown-content a{
  min-height:42px;display:flex;align-items:center;padding:10px 12px;border-radius:10px;
  color:#fff!important;text-decoration:none!important;font-weight:600;white-space:nowrap;
}
.dropdown-content a:hover{background:rgba(255,255,255,.08);color:#f0c64b!important}
.nav-discord{
  color:#7f6bff!important;text-decoration:none!important;font-size:1.12rem;
  display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px
}
.btn-boutique{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:112px;height:44px;padding:0 18px;border-radius:12px;
  background:#2ecc71;color:#fff!important;text-decoration:none!important;border:none;font-weight:800;cursor:pointer;
}
.nav-toggle{
  display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.12);border-radius:10px;
  background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
}
.hero-content{padding-top:110px}

@media (max-width:1180px){
  .navbar{grid-template-columns:1fr auto auto;gap:10px;padding:0 16px}
  .nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav-center{
    position:absolute;top:78px;left:16px;right:16px;display:none;flex-direction:column;align-items:stretch;gap:8px;
    padding:14px;background:rgba(5,11,23,.985);border:1px solid rgba(212,175,55,.14);border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.35)
  }
  .navbar.is-open .nav-center{display:flex}
  .dropdown{display:block}
  .dropdown-content{position:static;min-width:100%;margin-top:8px;box-shadow:none;border-radius:12px}
  .nav-item,.dropdown-trigger{width:100%;justify-content:space-between}
}
@media (max-width:720px){
  .logo{font-size:1rem}
  .btn-boutique{min-width:auto;padding:0 14px;font-size:.95rem}
}


/* ===== CARTES ACTIVITÉS AVEC IMAGES ===== */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1450px;
    margin: 60px auto 0;
    padding: 0 20px 30px;
}

.activity-card {
    background: rgba(18, 18, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px 20px 26px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}

.activity-card h3 {
    margin: 0 0 18px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.activity-image-box {
    background: rgba(10, 12, 18, 0.88);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.activity-image-box img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.activity-icon {
    margin-bottom: 14px;
}

.activity-icon .role-icon {
    font-size: 1.7rem;
    color: #d4af37;
}

.activity-card p {
    margin: 0;
    color: #d7d7dc;
    font-size: 1rem;
    line-height: 1.65;
}

.roles-container {
    display: none !important;
}

@media (max-width: 1200px) {
    .activity-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

@media (max-width: 700px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card h3 {
        font-size: 1.5rem;
    }

    .activity-image-box img {
        height: 190px;
    }
}
