/* =========================
   Variables globales
========================= */
:root {
    --primary-color: #0D3B66;        /* Bleu foncé principal */
    --primary-color-hover: #13579A;  /* Hover pour boutons/links */
    --secondary-color: #EAF0F6;      /* Fond gris clair pour stats */
    --text-color: #1B1B1B;           /* Texte principal */
    --background-color: #F9FAFB;     /* Fond général */
    --hero-text-color: #FFFFFF;      /* Texte hero */
    --footer-text-color: #555;       /* Footer */
}

/* =========================
   Reset de base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* =========================
   Conteneur général
========================= */
.container {
    width: 90%;
    max-width: 1200px;  /* largeur max pour plus de lisibilité */
    margin: 0 auto;    /* centré */
    padding: 40px 20px; /* marge interne */
}
}

/* =========================
   Headers
========================= */
h1, h2, h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

h2 {
    font-size: 2rem;
    margin-top: 40px;
}

h3 {
    font-size: 1.5rem;
    margin-top: 30px;
}

/* =========================
   Hero section
========================= */
.hero {
    background-color: var(--primary-color);
    color: var(--hero-text-color);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
}

/* =========================
   Sections
========================= */
section {
    margin-top: 60px;
    padding: 0 10px;
}

section p {
    margin-bottom: 15px;
}

ul.stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

ul.stats li {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    flex: 1 1 200px;
    min-width: 180px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--text-color);
}

/* =========================
   Links & buttons
========================= */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.contact a {
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--hero-text-color);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact a:hover {
    background-color: var(--primary-color-hover);
}

/* =========================
   Footer
========================= */
footer {
    background-color: var(--primary-color);  /* bleu foncé */
    color: var(--hero-text-color);           /* texte blanc */
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 5px solid var(--primary-color-hover);
}

footer a {
    color: var(--hero-text-color);
    text-decoration: underline;
    font-weight: 600;
    margin-left: 10px;
}

footer p {
    margin-bottom: 15px;
}

footer .cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--hero-text-color); /* bouton blanc */
    color: var(--primary-color);              /* texte bleu foncé */
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer .cta-button:hover {
    background-color: var(--primary-color-hover);
    color: var(--hero-text-color);
}

/* =========================
   Map image
========================= */

.map-figure {
    margin: 2.5rem auto;
    max-width: 900px;
    text-align: center;
}

.map-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.map-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}



/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    ul.stats {
        flex-direction: column;
    }

    .hero {
        padding: 60px 20px;
    }
}
