/* Base */
body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9; /* Gris clair de fond */
    color: #333;
    line-height: 1.6; /* Espacement texte */
}

h2 {
    margin-bottom: 20px;
    padding-left: 15px;
    font-size: 1.7rem;
    font-weight: 600;
    border-left: 5px solid #1e2a38; /* Barre latérale bleue */
    color: #1e2a38;
}

/* Menu */

.lien_page_actuelle {
    background-color: #fff; /* Fond blanc pour page active */
    color: #1e2a38;
}

.lien_page:hover {
    background-color: #fff; /* Fond blanc au survol */
    color: #1e2a38;
}

nav {
    background-color: #1e2a38; /* Fond bleu nuit */
    padding: 12px;
}

nav ul {
    display: flex; /* Alignement horizontal */
    justify-content: center; /* Centrage menu */
    margin: 0;
}

nav li {
    margin: 0 18px;
    list-style: none; /* Supprime les styles par défaut */
}

nav a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 5px;
    transition: 0.3s; /* Animation douce */
    margin: 0 18px;
}

/* Header général */
.entete {
    width: 80%;
    max-width: 1000px;
    background-color: #fff;
    margin: 20px auto;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 8px #4d4d4d; /* Ombre */
}

.entete h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #1e2a38;
}

.entete .sous-entete {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
section {
    width: 80%;
    max-width: 1000px;
    background-color: #fff;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Expériences et Formations */
.formation {
    margin-bottom: 30px;
}

.formation h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e2a38;
}

.lieu-date {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

/* Listes */
section ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

/* Films */
.bloc-film {
    display: flex; /* Image et texte côte à côte */
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
}

.affiche-film {
    width: 180px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bloc-film h3 {
    background-color: #1e2a38;
    color: white;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: center;
}

.bloc-film p {
    margin: 0;
    line-height: 1.6;
}

/* Multimédia */
video {
    width: 100%;
    max-width: 800px;
    display: block; /* Centrage via margin auto */
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Audio */
audio {
    margin-top: 20px;
    width: 100%; /* Le lecteur prend toute la largeur disponible de la section */
    outline: none;
}

/* Style de l'image cliquable (Page My Town) */
.img-map {
    border: none;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* S'assure que l'image ne dépasse pas sur petit écran */
    height: auto;
}