/* Fichier : style.css */
/* Date de mise à jour : 2025-07-05 18:34:46 (Création initiale du fichier style.css) */

/* Général */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* En-tête (Header) */
header {
    background-color: #0056b3; /* Bleu CNAV */
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2em;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permet le retour à la ligne sur petits écrans */
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a:focus {
    color: #e6f0ff; /* Bleu clair au survol */
}

/* Corps principal (Main content) */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

/* Section Hero */
.hero {
    background-color: #e6f0ff; /* Fond bleu très clair */
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    color: #0056b3;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.button.primary {
    background-color: #007bff; /* Bleu standard */
    color: #ffffff;
}

.button.primary:hover {
    background-color: #0056b3; /* Bleu plus foncé au survol */
}

/* Aperçu rapide (Stats Grid) */
.overview {
    margin-bottom: 30px;
}

.overview h3 {
    text-align: center;
    color: #0056b3;
    font-size: 1.8em;
    margin-bottom: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    color: #007bff;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin: 0;
}


/* Pied de page (Footer) */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #ffffff;
    font-size: 0.9em;
    margin-top: 50px;
}