/* Variables CSS pour une personnalisation facile */
:root {
    --primary-color: #007bff; /* Bleu vibrant pour actions principales */
    --background-color: #f0f2f5; /* Couleur de fond douce */
    --text-color: #333; /* Couleur de texte principale */
    --link-color: #0652DD; /* Bleu pour les liens */
    --link-hover-color: #3498db; /* Bleu clair pour hover sur les liens */
    --header-footer-bg-color: #23374d; /* Bleu foncé pour l'en-tête et le pied de page */
    --border-radius: 8px; /* Rayon de bordure pour les éléments */
    --transition-duration: 0.3s; /* Durée de transition pour les effets */
}

/* Reset CSS */
body, h1, h2, h3, h4, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style global */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* En-tête */
#intro {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--link-hover-color));
    color: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

#intro h1, #intro h2, #intro h3 {
    margin-bottom: 20px;
    transition: transform var(--transition-duration) ease;
}

#intro h1:hover, #intro h2:hover, #intro h3:hover {
    transform: scale(1.05);
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background-image.jpg') center/cover;
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
    transition: opacity var(--transition-duration) ease;
}

#intro:hover::before {
    opacity: 0.8;
}

/* Navigation */
nav {
    background-color: var(--header-footer-bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color var(--transition-duration) ease;
}

nav a:hover {
    color: var(--link-hover-color);
}

/* Sections et contenu */
section {
    padding: 60px 20px;
    transition: background-color var(--transition-duration) ease;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

section h2, section h4 {
    font-size: 2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

section p, section li {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
}

section ul li {
    margin-bottom: 10px;
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

table th, table td {
    padding: 10px;
    border: 1px solid var(--primary-color);
    text-align: left;
}

table th {
    background-color: var(--header-footer-bg-color);
    color: #fff;
}

/* Liens */
a {
    color: var(--link-color);
    transition: color var(--transition-duration) ease;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--header-footer-bg-color);
    color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}
