/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* ----- GLOBAL ----- */
body {
    background: linear-gradient(135deg, #0d1117, #1b2330);
    color: #e6e6e6;
    min-height: 100vh;
}

.container {
    width: 85%;
    margin: auto;
    padding-top: 40px;
}

/* ----- HEADER ----- */
header {
    background: #0f1620;
    padding: 20px 0;
    border-bottom: 1px solid #1f2a38;
}

header h1 {
    text-align: center;
    color: #4ea1ff;
    font-size: 2rem;
}

/* ----- HERO BANNER ----- */
.hero-banner {
    width: 100%;
    height: 260px;
    background-image: url('assets/banner.pdf');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
    margin-bottom: 40px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    text-align: left;
    color: #e6e6e6;
    width: 80%;
    max-width: 900px;
}

.hero-content h2 {
    font-size: 2rem;
    color: #4ea1ff;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}
/* ----- DROPDOWN ----- */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;        /* Le menu apparaît juste sous le parent */
    left: 0;          /* Aligné à gauche du parent */
    background: #0f1620;
    padding: 10px 0;
    border: 1px solid #1f2a38;
    border-radius: 5px;
    min-width: 180px;
    z-index: 9999;    /* Le menu passe AU-DESSUS de tout */
}

/* Le menu reste ouvert tant que la souris est sur le LI */
nav ul li:hover > ul {
    display: block;
}

/* Sous-éléments du menu */
nav ul li ul li {
    padding: 10px 20px;
    white-space: nowrap; /* Empêche le texte de casser */
}

/* ----- SECTIONS ----- */
section {
    background: #111a25;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #1f2a38;
    margin-bottom: 30px;
}

h2 {
    color: #4ea1ff;
    margin-bottom: 15px;
}

/* ----- LISTE DES MISSIONS ----- */
.missions {
    list-style: none;
    padding-left: 0;
}

.missions li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.missions li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4ea1ff;
}

/* ----- FOOTER ----- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #6f7a89;
}
/* ----- NAVBAR ----- */
nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li {
    position: relative;
    padding-bottom: 10px;
}

nav a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

nav a:hover {
    color: #4ea1ff;
}

/* ----- DROPDOWN ----- */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0f1620;
    padding: 10px 0;
    border: 1px solid #1f2a38;
    border-radius: 5px;
    min-width: 180px;
    z-index: 9999;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li ul li {
    padding: 10px 20px;
    white-space: nowrap;
}
.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Recadre l’image proprement */
    object-position: center; /* Centre l’image */
    border-radius: 10px;
}
.photo-text p {
    width: 60%;
    line-height: 1.5rem;
    text-align: justify;     /* Texte bien aligné */
    padding: 10px;           /* Espace intérieur propre */
}
.photo-text {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: space-between;
}
.photo-box {
    width: 40%;
    height: 200px;          /* même hauteur pour toutes les images */
    background: #0f1620;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1f2a38;
}
.paragraph-block {
    background: #111a25;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #1f2a38;
    margin-bottom: 25px;
}
.paragraph-block p {
    text-align: justify;
    line-height: 1.6rem;
    font-size: 1rem;
    padding: 5px;
}
.paragraph-block h3 {
    color: #4ea1ff;
    margin-bottom: 10px;
    text-align: center;
}
