/* --- CONFIGURATION GÉNÉRALE --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --primary: #9d4edd;
    --primary-glow: rgba(157, 78, 221, 0.5);
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 15, 0.9);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --border: rgba(157, 78, 221, 0.2);
    /* Transition de base pour tout le site */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

body { 
    background: var(--bg-dark); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* --- NAVIGATION & LOGO --- */
nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 10px 8%; 
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px); 
    position: sticky; 
    top: 0; 
    z-index: 2000;
    border-bottom: 1px solid var(--border);
}

/* Taille du logo bridée pour éviter qu'il soit énorme */
.nav-logo { 
    height: 60px; 
    width: auto; 
    display: block;
    transition: var(--transition);
}

.nav-logo:hover { 
    transform: scale(1.1); 
    filter: drop-shadow(0 0 10px var(--primary-glow)); 
}

.menu { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.menu a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 12px; 
    font-weight: 800; 
    text-transform: uppercase; 
    transition: var(--transition); 
}

.menu a:hover, .menu a.active { 
    color: var(--primary); 
}

/* --- HERO SECTION (ACCUEIL) --- */
.hero {
    height: 85vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.12) 0%, transparent 70%);
}

.hero h1 { 
    font-size: clamp(3rem, 10vw, 6rem); 
    font-weight: 900; 
    line-height: 1; 
    margin-bottom: 20px; 
}

.hero h1 span { 
    color: var(--primary); 
    text-shadow: 0 0 30px var(--primary-glow); 
}

/* --- BOUTONS --- */
.btn { 
    padding: 16px 40px; 
    border-radius: 8px; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 13px; 
    cursor: pointer; 
    transition: var(--transition); 
    border: none; 
    text-decoration: none; 
    display: inline-block; 
}

.btn-primary { 
    background: var(--primary); 
    color: white; 
    box-shadow: 0 10px 20px var(--primary-glow); 
}

.btn-primary:hover { 
    transform: translateY(-5px); 
    filter: brightness(1.2); 
}

.btn-outline { 
    border: 2px solid white; 
    color: white; 
    background: transparent; 
    margin-left: 10px;
}

.btn-outline:hover { 
    background: white; 
    color: black; 
}

/* --- GRILLES ET CARTES --- */
.container { 
    max-width: 1200px; 
    margin: 60px auto; 
    padding: 0 20px; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 35px; 
}

.card { 
    background: var(--bg-card); 
    padding: 45px; 
    border-radius: 25px; 
    border: 1px solid var(--border); 
    text-align: center; 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden;
}

.card:hover { 
    border-color: var(--primary); 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
    font-size: 3rem; 
    text-transform: uppercase; 
}

.section-title span { 
    color: var(--primary); 
}

/* --- ÉQUIPE (PAGE CRÉATEUR) ET RECRUTEMENT --- */
.team-pp { 
    width: 130px; 
    height: 130px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--primary); 
    margin: 0 auto 25px; 
    display: block; 
    box-shadow: 0 0 25px var(--primary-glow); 
    /* Transition spécifique pour la rotation fluide de la PP */
    transition: transform 0.5s ease;
}

/* --- L'EFFET DE ROTATION DEMANDÉ --- */
/* Quand on passe le curseur (.hover) sur la CARTE (.card), l'IMAGE (.team-pp) tourne */
.card:hover .team-pp { 
    transform: scale(1.1) rotate(5deg); /* Grossit légèrement (scale) ET tourne de 5 degrés (rotate) */
}

.role { 
    color: var(--primary); 
    font-weight: 900; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
}

.recrutement-box { 
    margin-top: 80px; 
    padding: 60px; 
    border-radius: 30px; 
    background: linear-gradient(145deg, rgba(157, 78, 221, 0.1), transparent); 
    border: 2px dashed var(--primary); 
    text-align: center; 
}

.status-badge { 
    background: #00ff88; 
    color: black; 
    padding: 5px 15px; 
    border-radius: 50px; 
    font-weight: 900; 
    font-size: 11px; 
    margin-bottom: 20px; 
    display: inline-block; 
}

/* --- PANIER SIDEBAR --- */
.cart-sidebar { 
    position: fixed; 
    top: 0; 
    right: -450px; 
    width: 400px; 
    height: 100vh; 
    background: #0a0a0a; 
    z-index: 3000; 
    transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1); 
    border-left: 1px solid var(--border); 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
}

.cart-sidebar.active { 
    right: 0; 
}

.cart-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #222; 
    padding-bottom: 20px; 
    margin-bottom: 30px; 
}

.cart-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #151515; 
    padding: 15px; 
    border-radius: 12px; 
    margin-bottom: 15px; 
}

.remove-btn { 
    color: #ff4d4d; 
    border: none; 
    background: none; 
    cursor: pointer; 
    font-weight: 900; 
}

/* --- ANIMATIONS (À L'APPARITION) --- */
.anim { 
    animation: fadeInUp 0.8s ease forwards; 
}

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}
