/* --- 1. VARIABLES ET BASE --- */
:root {
    --neon-color: #bc13fe;
    --header-bg: #0a0a0a;
    --text-dark: #2c3e50;
    --header-height: 140px;
}

body, html {
    margin: 0; padding: 0; height: 100%;
    color: var(--text-dark);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; /* Empêche le scroll global pour garder l'effet plein écran */
}

/* --- 2. LE BANDEAU NÉON --- */
header {
    height: var(--header-height);
    display: flex; align-items: center; padding: 0 20px;
    background: var(--header-bg);
    border-bottom: 3px solid var(--neon-color);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    box-sizing: border-box;
}

.logo { height: 100px; border-radius: 5px; box-shadow: 0 0 15px rgba(188, 19, 254, 0.4); }

.header-center {
    flex-grow: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; margin-right: 120px;
}

.titre-site {
    font-family: 'Arial Black', sans-serif;
    font-size: 2.8rem; font-weight: 900; color: #ffffff;
    line-height: 1;
    animation: neon-intense 5s ease-in-out infinite alternate;
}

@keyframes neon-intense {
    0% { text-shadow: 0 0 2px #fff, 0 0 5px var(--neon-color), 0 0 10px var(--neon-color); opacity: 0.9; }
    100% { text-shadow: 0 0 10px #fff, 0 0 20px var(--neon-color), 0 0 40px var(--neon-color), 0 0 80px var(--neon-color); opacity: 1; }
}

.sous-titre { color: #ffffff; font-size: 1.1rem; font-style: italic; opacity: 0.8; margin-top: 8px; }

/* --- 3. SYSTÈME VIDÉO --- */
.video-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    background-color: #000;
}

#bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Filtre pour assombrir la vidéo */
    z-index: -1;
}

/* --- 4. MISE EN PAGE DU CONTENU --- */
.wrapper { 
    display: flex; 
    justify-content: center;
    margin-top: var(--header-height); 
    height: calc(100vh - var(--header-height)); 
}

main { 
    flex-grow: 1; 
    padding: 40px 60px; 
    overflow-y: auto; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /*center; /* Centre tout horizontalement */
    background: transparent; 
}

/* La carte de bienvenue */
.welcome-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
    padding: 30px; 
    border-radius: 15px; 
    margin-bottom: 40px; 
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    max-width: 800px;
    width: 90%;
	align-self: center;
}

h2 { color: #1a1a1a; border-left: 5px solid var(--neon-color); padding-left: 20px; margin-top: 0; display: inline-block;}

/* --- 5. LES CARTES DE NAVIGATION (BOUTONS) --- */
.selection-container {
    display: flex;
	flex-direction: column; /* Empile les cartes verticalement */
    gap: 30px; /* Espace entre les deux cartes */
    width: 100%;
    max-width: 450px;
    /*justify-content: center;*/
}

.nav-card {
    flex: 0 1 auto;
    background: rgba(255, 255, 255, 0.18); /* Effet translucide */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    text-decoration: none; /* Enlève le souligné du lien */
    color: white;
    text-align: center;
    transition: all 0.3s ease; /* Animation douce au survol */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-card:hover {
    transform: translateY(-10px); /* Soulèvement */
    background: rgba(188, 19, 254); /* Teinte violette au survol */
    border-color: var(--neon-color);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.5);
	color: #1a1a1a;
}

.nav-card .icon { font-size: 3.5rem; margin-bottom: 15px; }

.nav-card h3 { 
    margin: 0 0 10px 0; 
    font-size: 1.5rem; 
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-card p { 
    margin: 0; 
    font-size: 0.95rem; 
    opacity: 0.9; 
    line-height: 1.5;
	color: #fff;
}