/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de page */
body {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #333;
    background-color: #f7f7f7;
    background-image: url('background-texture.jpg'); /* Légère texture inspirante */
    background-size: cover;
    padding: 20px;
}

/* En-tête */
header {
    text-align: center;
    padding: 40px 20px;
    background-color: #4b6587;
    color: #f7f7f7;
    border-radius: 5px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    font-style: italic;
}

/* Container du menu dynamique */
.menu-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto 40px; /* Centré en haut de la page */
}

/* Tête centrale */
.center-head {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-color: #4b6587;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
}

/* Menu animé autour */
.dynamic-menu {
    position: absolute;
    width: 100%;
    height: 100%;
}

.menu-item {
    position: absolute;
    width: 100px;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
    background-color: #4b6587;
    padding: 8px;
    border-radius: 5px;
    transition: transform 0.3s;
}

/* Positionnement des éléments de menu autour du centre */
.menu-item:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translate(-50%, -20%);
}
.menu-item:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translate(20%, -50%);
}
.menu-item:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 20%);
}
.menu-item:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translate(-20%, -50%);
}
.menu-item:nth-child(5) {
    top: 15%;
    left: 15%;
    transform: translate(-20%, -20%);
}
.menu-item:nth-child(6) {
    bottom: 15%;
    right: 15%;
    transform: translate(20%, 20%);
}

/* Animation : effet au survol */
.menu-item:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #3e4a61;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav a {
    color: #f7f7f7; /* Couleur claire pour une bonne visibilité */
    text-decoration: none;
    margin: 0 10px;
}

/* Couleurs pour les liens de navigation */
nav a:hover {
    color: #d1e7ff; /* Couleur plus claire au survol */
    text-decoration: underline;
}

nav a:visited {
    color: #e0e0e0; /* Couleur grise pour les liens visités */
}

nav a:active {
    color: #bcd4f0; /* Couleur légèrement plus foncée pour les liens actifs */
}

/* Sections */
section {
    margin: 30px 0;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    color: #4b6587;
    font-size: 2em;
    margin-bottom: 10px;
}

.pilier h3 {
    color: #3e4a61;
    margin-top: 20px;
}

ul, p, blockquote {
    margin: 15px 0;
}

/* Citations */
blockquote {
    font-style: italic;
    color: #555;
    margin-left: 20px;
    border-left: 3px solid #4b6587;
    padding-left: 15px;
}

/* Liens de Ressources */
#ressources a {
    color: #4b6587;
    text-decoration: none;
}

#ressources a:hover {
    color: #3e4a61;
    text-decoration: underline;
}

#ressources a:visited {
    color: #6a7d99;
}

#ressources a:active {
    color: #bcd4f0;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: #4b6587;
    color: #f7f7f7;
    border-radius: 5px;
}
