/* --- 1. SYSTÈME DE DESIGN & VARIABLES --- */
:root {
    --bg-dark: #001220;
    --neon-green: #C3FF00;
    --white: #FFFFFF;
    /* Fluidité des interactions (boutons, liens) */
    --transition-standard: 0.3s ease;
    
}

/* Supprime les marges par défaut et stabilise les calculs de taille */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    height: 100vh
    max: height 100vh;
}

/* --- 3. COMPOSANT : HEADER --- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    /* Sert de point de repère pour le positionnement des éléments enfants */
    position: relative;
}

/* Bouton Menu Burger */
.header__burger {
    display: flex;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--neon-green);
    /* Assure que le bouton reste au premier plan pour être cliquable */
    z-index: 10; 
}

.header__icon {
    width: 32px;
    height: auto;
    /* Définit l'épaisseur et l'arrondi des traits de l'icône */
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}

/* Logo - Centrage absolu pour ne pas modifier le HTML */
.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    padding-right: 25px;
}

.header__logo span {
    color: var(--neon-green);
}

/* Zone d'authentification (Boutons à droite) */
.header__auth {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 6px;
    z-index: 10;
}

.header__link {
    text-decoration: none;
    font-size: 0.7rem;
    border-radius: 6px;
    width: 100px;
    padding: 5px 2px;
    text-align: center;
    transition: var(--transition-standard);
}

.header__link--signup {
    background-color: var(--neon-green);
    color: var(--bg-dark);
    font-weight: bold;
}

.header__link--login {
    color: var(--white);
    border: 1px solid var(--white);
}

/* --- 4. COMPOSANT : HERO --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* padding: 20px 10px; */
    /* padding: 10px 5px; */
    padding: 5px 2.5px;

}

.hero__container {
    max-width: 90%;
    margin-bottom: 20px; 
}

.hero__title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 0.9rem;
    color: var(--neon-green);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero__cta {
    background-color: var(--neon-green);
    color: var(--bg-dark);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    /* Ombre néon : crée un effet de halo lumineux autour du bouton */
    box-shadow: 0 0 20px rgba(195, 255, 0, 0.4);
    cursor: pointer;
    transition: var(--transition-standard);
}


.promo-card {
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    margin: 20px auto; 
    background: rgba(0, 18, 32, 0.5);
    /* "inset" place l'ombre à l'intérieur des bords pour donner un effet de profondeur */
    box-shadow: inset 0 0 15px rgba(195, 255, 0, 0.2), 0 0 20px rgba(195, 255, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-card__title {
    color: var(--neon-green);
    font-size: 1.8rem;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
}

/* --- COMPOSANT SOCIAL-GROUP --- */


.social-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 15px auto; /* Au lieu de 40px : gain de 50px de hauteur ! */
    width: 100%;
}

.social-group__link {
    display: flex;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-group__icon {
    width: 32px;
    height: 32px;
    fill: var(--neon-green); 
}

/* Hover effect */
.social-group__link:hover {
    transform: scale(1.2);
}

.social-group__link:hover .social-group__icon {
     /* Change la couleur au survol */
    fill: var(--white);      
    filter: drop-shadow(0 0 10px var(--neon-green));
}

/* --- 6. COMPOSANT : FOOTER --- */
.footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.footer__legal {
    display: flex;
    gap: 15px;
}

.footer__link {
    color: var(--neon-green);
    font-size: 0.7rem;
    opacity: 0.6;
    transition: var(--transition-standard);
}

.footer__link:hover {
    opacity: 1;
}