/* --- Réinitialisation et Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a; /* Fond très sombre */
    color: #e0e0e0;
    line-height: 1.6;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 170, 255, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(0, 170, 255, 0.05) 0%, transparent 20%);
    min-height: 100vh;
}

/* --- Conteneur Principal --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- Header --- */
.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.header h1 .accent {
    color: #00aaff; /* Bleu signature */
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
}

/* --- Sections --- */
.staff-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both; /* Garde l'état final de l'animation */
}

/* Décalage des animations pour chaque section */
.staff-section:nth-child(2) { animation-delay: 0.2s; }
.staff-section:nth-child(3) { animation-delay: 0.4s; }
.staff-section:nth-child(4) { animation-delay: 0.6s; }
.staff-section:nth-child(5) { animation-delay: 0.8s; }


.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 170, 255, 0.3);
    display: inline-block;
    padding-right: 20px;
}

.section-title i {
    margin-right: 10px;
    color: #00aaff;
}

/* --- Grille de Cartes --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* --- Cartes --- */
.card {
    background: #161616;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00aaff, #0077b3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
    border-color: #333;
}

.card:hover::before {
    opacity: 1;
}

/* --- En-tête de Carte (Icône + Titre) --- */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #00aaff;
    background: rgba(0, 170, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
}

/* --- Liste des Membres --- */
.card ul {
    list-style: none;
}

.card li {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 15px;
    border-left: 3px solid #333;
    transition: all 0.2s ease;
}

.card li:last-child {
    margin-bottom: 0;
}

.card:hover li {
    border-left-color: #00aaff;
    color: #fff;
    padding-left: 20px; /* Petit effet de glissement */
}

/* Style pour les postes vides */
.card li.disponible {
    color: #666;
    font-style: italic;
    border-left-color: #2a2a2a;
}

.card:hover li.disponible {
    border-left-color: #444;
    color: #888;
    padding-left: 15px; /* Pas de glissement pour "disponible" */
}

/* --- Footer --- */
.footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.9rem;
}

/* --- Animations Keyframes --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
