:root {
    --bleu-azur: #0066cc;
    --bleu-azur-fonce: #004a99;
    --gris-fond: #f6f7f9;
    --gris-bordure: #e1e4e8;
    --texte: #1f2933;
    --texte-doux: #52606d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--texte);
    background: var(--gris-fond);
    line-height: 1.55;
}

#home-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--texte-doux);
    margin: 0 0 0.75rem;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--texte);
}

.hero-pitch {
    max-width: 38rem;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    color: var(--texte-doux);
}

.hero-cta {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bouton-cta {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: var(--bleu-azur);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.02rem;
    transition: background-color 0.15s ease;
}

.bouton-cta:hover,
.bouton-cta:focus-visible {
    background: var(--bleu-azur-fonce);
}

.bouton-secondaire {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--bleu-azur);
    text-decoration: none;
    border: 2px solid var(--bleu-azur);
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bouton-secondaire:hover,
.bouton-secondaire:focus-visible {
    background: var(--bleu-azur);
    color: #fff;
}

.statistiques {
    margin-bottom: 3rem;
}

.statistiques-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.statistique {
    background: #fff;
    border: 1px solid var(--gris-bordure);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.statistique strong {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bleu-azur);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.statistique span {
    color: var(--texte-doux);
    font-size: 0.95rem;
}

.sources {
    background: #fff;
    border: 1px solid var(--gris-bordure);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.sources h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.sources ul {
    margin: 0;
    padding-left: 1.25rem;
}

.sources li {
    margin-bottom: 0.5rem;
    color: var(--texte-doux);
}

.sources li:last-child {
    margin-bottom: 0;
}

.sources strong {
    color: var(--texte);
}

.mentions {
    text-align: center;
    color: var(--texte-doux);
    font-size: 0.85rem;
}

.mentions p {
    margin: 0;
}

/* ── Page Activités ──────────────────────────────────────────── */

#activites-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.page-intro {
    color: var(--texte-doux);
    margin: 0;
    font-size: 0.95rem;
}

.page-intro a {
    color: var(--bleu-azur);
    text-decoration: none;
    margin-left: 1rem;
}

.page-intro a:hover {
    text-decoration: underline;
}

.table-container {
    background: #fff;
    border: 1px solid var(--gris-bordure);
    border-radius: 8px;
    overflow-x: auto;
}

.activites-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.activites-table thead th {
    position: sticky;
    top: 0;
    background: var(--bleu-azur);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
    white-space: nowrap;
}

.activites-table thead th.num {
    text-align: right;
}

.activites-table tbody tr {
    border-bottom: 1px solid var(--gris-bordure);
}

.activites-table tbody tr:last-child {
    border-bottom: none;
}

.activites-table tbody tr:hover {
    background: #f0f6ff;
}

.activites-table td {
    padding: 0.6rem 1rem;
    vertical-align: middle;
    color: var(--texte);
}

.activites-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--texte-doux);
}

.activites-table td.code {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.85rem;
    white-space: nowrap;
    color: var(--texte-doux);
}

.activites-table td.section {
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bleu-azur);
}

.activites-table td.secteur {
    font-size: 0.82rem;
    color: var(--texte-doux);
    max-width: 18rem;
}

.activites-table td.libelle {
    max-width: 22rem;
}

.activites-table td.vide {
    text-align: center;
    color: var(--texte-doux);
    padding: 2rem;
    font-style: italic;
}
