/* Définition des couleurs */
:root {
    --color-dark-blue: #0A192F; 
    --color-light-blue: #66CCFF; 
    --color-text: #E6E6E6; 
    --color-grey: #30475E;
}

/* Styles Généraux */
body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-dark-blue);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* En-tête (Navigation) */
header {
    background-color: rgba(10, 25, 47, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-light-blue);
}
 
/* Styles pour le logo */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 120px; /* Taille du logo */
    width: auto;
    margin-right: 10px;
}
.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-light-blue);
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 25px;
    font-size: 1.1em;
    transition: color 0.3s;
}
nav a:hover {
    color: var(--color-light-blue);
}

/* Section Héro (Accueil) */
.hero {
    text-align: center;
    padding: 150px 20px;
    background: linear-gradient(rgba(10, 25, 47, 0.2), rgba(10, 25, 47, 1)), url('index.jpg');
    background-size: cover;
    background-position: center;
}
.hero h1 {
    font-size: 3.5em;
    color: var(--color-light-blue);
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--color-text);
}
.cta-button {
    display: inline-block;
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #99FFFF;
}

/* Section Points Forts */
.strengths {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    text-align: center;
}
.strength-item {
    background-color: var(--color-grey);
    padding: 30px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.strength-item h3 {
    color: var(--color-light-blue);
    font-size: 1.4em;
}

/* Section Mission */
.mission {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--color-dark-blue);
}
.mission h2 {
    color: var(--color-light-blue);
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Schéma d'Exemple */
.schema-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}
.step {
    background-color: var(--color-grey);
    border: 2px solid var(--color-light-blue);
    padding: 15px 25px;
    margin: 0 15px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}
.arrow {
    width: 50px;
    height: 2px;
    background-color: var(--color-light-blue);
    position: relative;
}
.arrow::after {
    content: '▶';
    color: var(--color-light-blue);
    position: absolute;
    right: -10px;
    top: -18px;
    font-size: 1.5em;
}
.step:last-child + .arrow {
    display: none;
}
 
/* Pied de Page */
footer {
    background-color: var(--color-grey);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 50px;
    border-top: 2px solid var(--color-light-blue);
}
footer a {
    color: var(--color-light-blue);
    text-decoration: none;
}

/* ========================================= */
/* --- MEDIA QUERIES (Affichage Mobile) --- */
/* ========================================= */
@media (max-width: 768px) {
    
    /* 1. Navigation et En-tête */
    header {
        padding: 15px 20px;
        flex-direction: column; /* Empile le logo et la nav */
        text-align: center;
    }
    .logo-img {
        height: 80px; /* Réduit la taille du logo sur mobile */
    }
    nav {
        margin-top: 15px;
        display: flex;
        flex-direction: column; /* Empile les liens */
        width: 100%;
    }
    nav a {
        margin: 5px 0;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
     /* 🎯 CORRECTION DÉFINITIVE DU BOUTON "CONTACT" */
    .cta-button {
        margin-top: 10px;
        /* Remplacement de width: 100% pour permettre le centrage */
        **width: 90%;** **display: block;** **margin-left: auto;** /* Centrage Horizontal */
        **margin-right: auto;** /* Centrage Horizontal */
        text-align: center;
    }
    
    /* 2. Section Héro */
    .hero {
        padding: 80px 15px;
        min-height: 350px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.1em;
    }

    /* 3. Points Forts (Strengths) */
    .strengths {
        flex-direction: column; /* Empile les cartes */
        padding: 30px 20px;
    }
    .strength-item {
        width: 80%;
        margin-bottom: 20px;
    }

    /* 4. Schéma (pour éviter le débordement) */
    .schema-container {
        flex-wrap: wrap; /* Permet aux étapes de passer à la ligne */
    }
    .step {
        width: 80%; /* Occupe presque toute la largeur */
        margin: 10px auto;
        border-radius: 8px; /* Forme plus carrée pour les étapes */
    }
    .arrow {
        display: none; /* Cache les flèches sur petit écran pour économiser l'espace */
    }
}