/* RESET */
body, ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Inter', sans-serif;
    background-color: #0A192F;
    color: #F8F9FA;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px; /* Ajout d'espace autour */
    background: rgba(10, 25, 47, 0.9);
    transition: background 0.3s;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Garder le logo à gauche et le menu centré */
    align-items: center;
}

header.sticky {
    background: rgba(10, 25, 47, 1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* LOGO */
.logo img {
    height: 40px;
}

/* NAVIGATION */
nav {
    flex-grow: 1; /* Permet au menu de prendre l'espace restant */
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center; /* Centre les éléments du menu */
    gap: 20px; /* Ajoute de l’espace entre chaque élément */
    padding: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #F8F9FA;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 15px;
}

nav ul li a:hover {
    color: #007BFF;
}

/* MENU BURGER (MOBILE) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #F8F9FA;
    cursor: pointer;
}

/* RESPONSIVE : VERSION MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Réaffichage du bouton burger */
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0A192F;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav.open {
        display: flex;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}
/* HERO SECTION */
#hero {
    height: 100vh;
    background: linear-gradient(135deg, #0A192F, #2C2C2C);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-container {
    max-width: 800px;
    opacity: 0;
    z-index: 200;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 2.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: bold;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
}


/* SECTION À PROPOS */
#about {
    background: #2C2C2C;
    color: #F8F9FA;
    padding: 80px 20px;
    text-align: center;
    min-height: 300px; /* S'assurer que la section a une hauteur suffisante */
    z-index: 300;
}

.about-container {
    max-width: 900px;
    margin: auto;
    opacity: 0;
    z-index: 300;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2rem;
    font-family: 'Sora', sans-serif;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
}

/* VALEURS */
.about-values {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    z-index: 300;
}

.about-value-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    min-width: 250px;
    margin: 10px;
    z-index: 300;
    transition: transform 0.3s ease-in-out;
}

.about-value-box:hover {
    transform: scale(1.05);
}

.about-value-box h3 {
    color: #007BFF;
    font-size: 1.5rem;
}


/* ÉQUIPE */
.team-section {
    margin-top: 40px;
    font-size: 1.1rem;
}

.team-section a {
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
}

.team-section a:hover {
    text-decoration: underline;
}


/* SECTION SERVICES */
#services {
    background: #0A192F;
    color: #F8F9FA;
    padding: 80px 20px;
    text-align: center;
}

.services-container {
    max-width: 900px;
    margin: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.services-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.services-intro {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
}

/* GRID DES SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.service-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.service-box h3 {
    color: #007BFF;
    font-size: 1.5rem;
}

/* SECTION RESSOURCES */
#ressources {
    background: #2C2C2C;
    color: #F8F9FA;
    padding: 80px 20px;
    text-align: center;
}

.resources-container {
    max-width: 900px;
    margin: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.resources-intro {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
}

.resources-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* GRID DES RESSOURCES */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.resource-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.resource-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.resource-box h3 {
    color: #007BFF;
    font-size: 1.5rem;
}

.resource-link {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}


/* SECTION CARRIÈRE */
#carriere {
    position: relative; /* Permet laffichage par-dessus particules */
    /* z-index: 99; */
    background: #0A192F;
    color: #F8F9FA;
    padding: 80px 20px;
    text-align: center;
}

.career-container {
    max-width: 900px;
    z-index: 201; 
    margin: auto;
    position: relative; /* Permet de placer le bouton par-dessus */
    z-index: 100; /* Un peu au-dessus de la section */
}

.career-intro {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.career-description {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
}

.cta-button {
    background: #007BFF;
    color: white;
    padding: 12px 24px;
    z-index: 300;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    
     /* Nouvelle configuration pour être au-dessus des particules 
    position: absolute; /* Se détache du flux normal 
    left: 50%;
    transform: translateX(-50%); /* Centre horizontalement 
    
    z-index: 201; /* Assure que le bouton est au-dessus des particules */
    
}

.cta-button:hover {
    background: #0056b3;
}


.career-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.career-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}



/* SECTION CONTACT */

/* SECTION CONTACT */
#contact {
    position: relative; /* Permet laffichage par-dessus particules */
    /* z-index: 98; */
    background: #2C2C2C;
    color: #F8F9FA;
    padding: 80px 20px;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    z-index: 202; 
    margin: auto;
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* FORMULAIRE DE CONTACT */
.contact-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form label {
    font-size: 1rem;
    margin-top: 10px;
     z-index: 202; 
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    margin-top: 20px;
}





/* LIEN LINKEDIN */
.contact-link {
    margin-top: 20px;
    font-size: 1rem;
}

.contact-link a {
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
}

.contact-link a:hover {
    text-decoration: underline;
}

/* ANIMATION */
.contact-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.contact-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

#particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100; /* Place les particules derrière le contenu */
    top: 0;
    left: 0;
    pointer-events: none; /* Évite toute interaction */
    /* background: transparent; /* Vérifie que rien ne cache l'animation */
    
}

