/* Reset global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    background-color: #f8fafc;
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
}

/* En-tête pleine largeur (Bleu) */
header {
    background-color: #0056b3; /* Bleu principal */
    width: 100%;
    padding: 15px 30px; /* Padding latéral pour coller proprement aux bords */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Alignement complet gauche / droite */
.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff; /* Texte Blanc */
    text-decoration: none;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Boutons de navigation (Blanc et Bleu avec animation) */
.nav-btn {
    display: inline-block;
    color: #0056b3; /* Texte Bleu */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    background-color: #ffffff; /* Fond Blanc */
    border: 2px solid #ffffff; /* Contour Blanc */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-btn:hover, .nav-btn.active {
    background-color: #003d80; /* Bleu plus foncé au survol/actif */
    color: #ffffff; /* Texte Blanc */
    border-color: #ffffff;
    transform: translateY(-2px); /* Légère élévation */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre douce */
}

/* Conteneur principal */
.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
}

.profile-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.main-title {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

/* Dimensionnement strict de la photo */
.photo-container {
    text-align: center;
    margin: 20px 0;
    width: 100%;
}

.portrait-photo {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.sub-title {
    font-family: 'Georgia', serif;
    font-size: 20px;
    color: #0056b3;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #0056b3; /* Trait de séparation Bleu */
    padding-bottom: 8px;
    text-align: left;
}

/* Texte justifié */
.bio-content {
    text-align: justify;
    text-justify: inter-word;
    font-size: 15px;
    color: #111111;
}

.bio-content p {
    margin-bottom: 16px;
}

/* Pied de page (Bleu) */
footer {
    background-color: #0056b3;
    color: #ffffff;
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    width: 100%;
}

footer p {
    margin: 4px 0;
    font-size: 13px;
}

/* Adaptations écran mobile */
@media (max-width: 600px) {
    header {
        padding: 15px;
    }

    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        justify-content: center;
        width: 100%;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}