/* ==========================================================================
   STYLE GLOBAL COMPLET ET DÉFINITIF - ÉQUIPE 24276
   ========================================================================== */

/* --- 1. CONFIGURATION GÉNÉRALE --- */
:root {
    --main-orange: #ff8c00;
    --main-blue: #0055A4;
    --dark-bg: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #f9f9f9; overflow-x: hidden; color: #333; line-height: 1.6; }
.blue { color: var(--main-blue); }
.orange-text { color: var(--main-orange) !important; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }

/* --- 2. NAVIGATION ET BARRE DU HAUT --- */
.main-nav {
    background: #fff; height: 80px; display: flex; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-bottom: 3px solid var(--main-orange);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 95%; margin: 0 auto; }
.logo { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.5rem; text-decoration: none; color: #1a1a1a; }
.right-controls { display: flex; align-items: center; gap: 15px; }

/* --- 3. LANGUES --- */
.lang-switcher { display: flex; gap: 5px; }
.btn-lang { text-decoration: none; font-weight: bold; font-size: 0.8rem; border: 2px solid var(--main-orange); padding: 4px 8px; border-radius: 5px; color: var(--main-orange); }
.btn-lang.active { background: var(--main-orange); color: #fff !important; }

/* --- 4. HAMBURGER --- */
.menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
/* MODIFICATION : Le hamburger utilise le bleu de l'équipe */
.menu-toggle .bar { width: 25px; height: 3px; background-color: var(--main-blue); transition: 0.3s; }

/* --- 5. LE TIROIR DE NAVIGATION (MAX 300PX À DROITE) --- */
.nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important; /* Caché à droite */
    left: auto !important;
    width: 300px !important;  /* FORCER LA LARGEUR */
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98) !important;
    flex-direction: column !important;
    padding: 100px 30px !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1) !important;
    transition: right 0.4s ease !important;
    list-style: none;
    z-index: 2000;
    display: flex !important;
}
.nav-links.active { right: 0 !important; }
.nav-links li { margin-bottom: 20px; width: 100%; text-align: left; }

/* --- L'ESPACE ET LA FORME DES LIENS (HORS MENTOR) --- */
.nav-links a:not(.btn-nav) {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    display: block;
    padding: 10px 20px !important; 
    border-radius: 50px !important; /* Le fameux cercle rectangulaire */
}

/* --- L'EFFET AU PASSAGE DE LA SOURIS --- */
.nav-links a:not(.btn-nav):hover {
    color: #ffffff !important; 
    background-color: var(--main-orange) !important; 
    transform: translateX(10px); 
}

/* MODIFICATION : LE BOUTON SPÉCIAL "NOTRE MENTOR" */
.btn-nav {
    background: #1E90FF !important;
    color: #ffffff !important;
  	font-family: 'Orbitron', sans-serif !important;
  	font-size: 1rem !important;
  	font-weight: 900 !important;
  	letter-spacing: 2px !important; /* Écarte joliment les lettres */
    text-transform: uppercase;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease !important;
    margin-top: 10px;
}
.btn-nav:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6);
    background: #e67e00 !important;
    color: #ffffff !important;
}

/* --- 6. HERO SLIDER --- */
.hero { 
    position: relative; 
    /* On remplace le noir pur par un gris foncé pour fusionner avec ton image */
    background: #ffffff; 
    height: 60vh; 
    min-height: 400px; 
    overflow: hidden; 
}
.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: contain; 
    background-color: transparent; /* Rend le fond transparent pour laisser voir le gris */
    opacity: 0; 
    animation: fadeSlider 15s infinite ease-in-out; 
}
@keyframes fadeSlider { 0%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }

/* --- 7. SECTION BIENVENUE --- */
.welcome-section { padding: 60px 0; text-align: center; margin-top: -50px; position: relative; z-index: 10; }
.welcome-card { background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); display: inline-block; width: 90%; max-width: 800px; border-bottom: 5px solid var(--main-orange); }

/* --- 8. CARTES ÉQUIPE / ORGANISATION --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.team-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; transition: 0.3s; border-bottom: 4px solid #eee; }
.team-card:hover { transform: translateY(-10px); border-color: var(--main-orange); }
.card-img { height: 200px; background-size: cover; background-position: center; }

/* --- 9. CARTE CAPITAINE (EFFETS SPÉCIAUX) --- */
.captain-card { position: relative; z-index: 1; background: #1a1a1a !important; padding: 6px; display: flex; flex-direction: column; overflow: visible; }
.captain-card::before { content: ""; position: absolute; z-index: -1; top: -10px; left: -10px; right: -10px; bottom: -10px; background: conic-gradient(transparent, var(--main-orange), #fff380, var(--main-orange), transparent 40%); animation: rotate-gold 3s linear infinite; border-radius: 20px; }
@keyframes rotate-gold { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.captain-card .member-info { background: white; border-radius: 10px; margin-top: 15px; position: relative; z-index: 2; }

/* --- 10. PIED DE PAGE --- */
footer { background: #1a1a1a; color: #fff; text-align: center; padding: 40px 0; margin-top: 50px; border-top: 4px solid var(--main-orange); }

/* --- 11. RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .hero { height: 30vh; min-height: 200px; }
    .team-grid { grid-template-columns: 1fr; }
    .welcome-section { margin-top: -30px; padding: 40px 0; }
    .welcome-card { padding: 30px 20px; }
}
@media (max-width: 480px) {
    .logo { font-size: 1.2rem; }
    .btn-lang { padding: 4px 6px; font-size: 0.75rem !important; }
    .right-controls { gap: 10px; }
    /* Sur téléphone, le menu s'adapte pour ne pas déborder */
    .nav-links { width: 250px !important; right: -250px !important; }
}
@media (min-width: 1024px) {
    .hero { height: 75vh; }
}