﻿:root {
    --tcm-primary: #6DA0C8; /* bleu TCM */
    --tcm-accent: #FF7900; /* orange TCM si besoin */
    --tcm-bg: #FFFCF3; /* fond site doux si tu l'utilises ailleurs */
}
/* Bandes pleine largeur */
.band {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 64px 0;
}

/* Couleurs */
.band--alt {
    background-color: #f8f9fb;
}

.band--muted {
    background-color: #f4f6f9;
}

.band--pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.04) 1px, transparent 0);
    background-size: 14px 14px;
    background-color: #ffffff;
}

/* Conteneur interne pour garder tes marges */
.band .container,
.band .container-narrow {
    position: relative;
    z-index: 1;
}
/* Conteneur resserré pour textes longs */
.container-narrow {
    max-width: 1024px;
}
/* Titres de section */
.section-title {
    color: #506277;
    font-weight: 600;
    margin-bottom: 1rem;
}
/* Petits séparateurs discrets */
.divider {
    height: 2px;
    width: 72px;
    background: linear-gradient(90deg, var(--tcm-primary), rgba(109,160,200,0));
    border-radius: 2px;
    margin: 8px auto 24px;
}
/* Cartes métriques */
.metric-card .card-body {
    padding: 18px;
}

.metric-card h3 {
    font-size: 1rem;
    color: var(--tcm-primary);
    margin-bottom: .25rem;
}

.metric-card p {
    font-size: .875rem;
    color: #6c757d;
    margin: 0;
}
/* Tableau compact + survol doux */
.table-sm td, .table-sm th {
    padding: .55rem .6rem;
}

.table-hover tbody tr:hover {
    background: #fafbfd;
}
/* Cartes départements plus “cliquables” */
.dept-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .dept-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.06);
    }
/* Quote */
.blockquote {
    font-size: 1.05rem;
    line-height: 1.55;
}

/* Centrage universel des titres */
.band h2.section-title {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* On s’assure que la div 'divider' suit le centrage du titre */
.divider {
    margin-left: auto;
    margin-right: auto;
}

/* Harmonisation du conteneur étroit dans les sections */
.container-narrow {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* garantit que le texte du paragraphe est aussi centré */
}
