/* =========================================================
   ANSER — FEUILLE DE STYLE COMMUNE AUX PAGES INTÉRIEURES
   Palette reprise du site :
   --anser-bleu       : rgb(21, 21, 100)
   --anser-bleu-nuit  : #070245
   --anser-bleu-fonce : #162667
   --anser-jaune      : #ffd400
   --anser-gris       : #514f4f
========================================================= */

:root {
    --bleuDark: #253E86;
    --violet: #662D91;
    --anser-bleu-nuit: #070245;
    --anser-bleu-fonce: #162667;
    --anser-bleu-clair: #073276;
    --anser-jaune: #ffd400;
    --anser-jaune-clair: #ffe34f;
    --anser-gris: #514f4f;
    --anser-gris-clair: #7b838a;
    --anser-fond: #f5f5f5;
    --anser-fond-alt: #f0f2f7;
    --anser-fond-carte: #f9fcff;
    --anser-bordure: #eef3f8;
    --anser-blanc: #ffffff;

    --anser-rayon: 16px;
    --anser-rayon-sm: 10px;
    --anser-ombre: 0 10px 30px rgba(7, 2, 69, 0.07);
    --anser-ombre-forte: 0 18px 45px rgba(7, 2, 69, 0.13);
    --anser-transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --anser-conteneur: 1200px;
}

/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--anser-fond);
    color: #1c1c1c;
    overflow-x: hidden;
}

.conteneur {
    width: min(var(--anser-conteneur), 100% - 48px);
    margin-inline: auto;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section--blanc {
    background: var(--anser-blanc);
}

.section--gris {
    background: var(--anser-fond-alt);
}

.section--bleu {
    background: var(--anser-bleu-nuit);
    color: var(--anser-blanc);
}

.section--bleu p {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   BARRE DE PROGRESSION DE LECTURE
========================================================= */

.barre-lecture {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--anser-jaune), #ffb300);
    z-index: 1200;
    transition: width 0.12s linear;
}

/* =========================================================
   EN-TÊTE DE PAGE (BANNIÈRE)
========================================================= */

.page-banniere {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--anser-bleu-nuit);
    background-size: cover;
    background-position: center;
}

.page-banniere__voile {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(7, 2, 69, 0.92) 0%,
            rgba(7, 2, 69, 0.72) 45%,
            rgba(7, 2, 69, 0.42) 100%
        );
    z-index: 1;
}

.page-banniere__motif {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255, 212, 0, 0.05) 0px,
            rgba(255, 212, 0, 0.05) 2px,
            transparent 2px,
            transparent 16px
        );
    pointer-events: none;
}

.page-banniere__contenu {
    position: relative;
    z-index: 2;
    padding: 70px 0;
    color: var(--anser-blanc);
    max-width: 820px;
}

.page-banniere__etiquette {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 212, 0, 0.55);
    border-radius: 100px;
    background: rgba(255, 212, 0, 0.10);
    color: var(--anser-jaune);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.page-banniere__titre {
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.page-banniere__texte {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
}

/* Fil d'Ariane */
.fil-ariane {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.fil-ariane a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--anser-transition);
}

.fil-ariane a:hover {
    color: var(--anser-jaune);
}

.fil-ariane i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

.fil-ariane span[aria-current] {
    color: var(--anser-jaune);
    font-weight: 600;
}

/* =========================================================
   TITRES DE SECTION
========================================================= */

.bloc-titre {
    max-width: 760px;
    margin-bottom: 46px;
}

.bloc-titre--centre {
    margin-inline: auto;
    text-align: center;
    color: var(--bleuDark);
}

.sur-titre {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

.titre-section {
    font-size: clamp(25px, 3.1vw, 36px);
    line-height: 1.18;
    font-weight: 800;
    color: var(--anser-bleu);
    margin-bottom: 14px;
}

.section--bleu .titre-section {
    color: var(--anser-blanc);
}

.texte-section {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--anser-gris);
    text-align: justify;
}

.bloc-titre--centre .texte-section {
    text-align: center;
}

.trait-jaune {
    width: 68px;
    height: 4px;
    border-radius: 4px;
    background: var(--anser-jaune);
    margin-bottom: 22px;
}

.bloc-titre--centre .trait-jaune {
    margin-inline: auto;
}

/* =========================================================
   BOUTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--anser-transition),
                background var(--anser-transition),
                color var(--anser-transition),
                box-shadow var(--anser-transition),
                border-color var(--anser-transition);
}

.btn i {
    transition: transform var(--anser-transition);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.btn--jaune {
    background: var(--yellow);
    color: var(--bleuDark);

}

.btn--jaune:hover {
    background: var(--bleuDark);
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 212, 0, 0.35);
}

.btn--bleu {
    background: var(--bleuDark);
    color: var(--anser-blanc);
}

.btn--bleu:hover {
    background: var(--anser-blanc);
    color: var(--bleuDark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(21, 21, 100, 0.28);
}

.btn--contour {
    background: transparent;
    border-color: var(--bleuDark);
    color: var(--bleuDark);
}

.btn--contour:hover {
    background: var(--bleuDark);
    color: var(--anser-blanc);
    transform: translateY(-3px);
}

.btn--contour-clair {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--anser-blanc);
}

.btn--contour-clair:hover {
    background: var(--anser-blanc);
    border-color: var(--anser-blanc);
    color: var(--anser-bleu);
    transform: translateY(-3px);
}

.groupe-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

/* =========================================================
   GRILLES GÉNÉRIQUES
========================================================= */

.grille {
    display: grid;
    gap: 26px;
}

.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================================
   CARTES
========================================================= */

.carte {
    position: relative;
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    padding: 32px 26px;
    overflow: hidden;
    transition: transform var(--anser-transition),
                box-shadow var(--anser-transition),
                border-color var(--anser-transition);
}

.carte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--anser-jaune);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.carte:hover {
    transform: translateY(-7px);
    box-shadow: var(--anser-ombre-forte);
    border-color: #d5e3f3;
}

.carte:hover::before {
    transform: scaleX(1);
}

.carte__icone {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(21, 21, 100, 0.07);
    color: var(--anser-bleu);
    font-size: 24px;
    margin-bottom: 20px;
    transition: background var(--anser-transition),
                color var(--anser-transition),
                transform var(--anser-transition);
}

.carte:hover .carte__icone {
    background: var(--anser-jaune);
    color: var(--anser-bleu);
    transform: rotate(-6deg) scale(1.06);
}

.carte__titre {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--anser-bleu);
    margin-bottom: 10px;
}

.carte__texte {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--anser-gris);
    text-align: justify;
}

.carte__lien {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--anser-bleu);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: gap var(--anser-transition), border-color var(--anser-transition);
}

.carte__lien:hover {
    gap: 13px;
    border-bottom-color: var(--anser-jaune);
}

/* Variante sombre */
.carte--sombre {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.carte--sombre .carte__titre {
    color: var(--anser-blanc);
}

.carte--sombre .carte__texte {
    color: rgba(255, 255, 255, 0.78);
}

.carte--sombre .carte__icone {
    background: rgba(255, 212, 0, 0.14);
    color: var(--anser-jaune);
}

/* Carte numérotée */
.carte__numero {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    color: rgba(21, 21, 100, 0.06);
    pointer-events: none;
}

.carte--sombre .carte__numero {
    color: rgba(255, 255, 255, 0.07);
}

/* =========================================================
   COMPTEURS / STATISTIQUES
========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-carte {
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    padding: 30px 22px;
    text-align: center;
    transition: transform var(--anser-transition), box-shadow var(--anser-transition);
}

.stat-carte:hover {
    transform: translateY(-6px);
    box-shadow: var(--anser-ombre-forte);
}

.stat-carte__icone {
    font-size: 26px;
    color: var(--anser-jaune);
    margin-bottom: 12px;
}

.stat-carte__valeur {
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1;
    color: var(--anser-bleu);
    margin-bottom: 8px;
}

.stat-carte__valeur .suffixe {
    color: var(--anser-jaune);
    font-size: 0.68em;
}

.stat-carte__libelle {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--anser-gris);
    line-height: 1.45;
}

.section--bleu .stat-carte {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.section--bleu .stat-carte__valeur {
    color: var(--anser-blanc);
}

.section--bleu .stat-carte__libelle {
    color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   BLOC DOUBLE (TEXTE + IMAGE)
========================================================= */

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.duo--inverse .duo__media {
    order: -1;
}

.duo__media {
    position: relative;
    border-radius: var(--anser-rayon);
    overflow: hidden;
    box-shadow: var(--anser-ombre-forte);
}

.duo__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.duo__media:hover img {
    transform: scale(1.05);
}

.duo__media::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: var(--anser-jaune);
}

.duo__texte h2 {
    font-size: clamp(24px, 2.9vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--anser-bleu);
    margin-bottom: 16px;
}

.section--bleu .duo__texte h2 {
    color: var(--anser-blanc);
}

.duo__texte p {
    font-size: 16.5px;
    line-height: 1.78;
    color: var(--anser-gris);
    margin-bottom: 14px;
    text-align: justify;
}

.section--bleu .duo__texte p {
    color: rgba(255, 255, 255, 0.82);
}

/* Liste à puces validées */
.liste-check {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 22px 0;
}

.liste-check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--anser-gris);
}

.section--bleu .liste-check li {
    color: rgba(255, 255, 255, 0.85);
}

.liste-check li i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--anser-jaune);
    font-size: 17px;
}

/* =========================================================
   ONGLETS / FILTRES
========================================================= */

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.filtre {
    padding: 11px 22px;
    border: 1px solid #dde5f0;
    border-radius: 100px;
    background: var(--anser-blanc);
    color: var(--anser-bleu);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--anser-transition);
}

.filtre:hover {
    border-color: var(--anser-jaune);
    transform: translateY(-2px);
}

.filtre.is-actif {
    background: var(--anser-bleu);
    border-color: var(--anser-bleu);
    color: var(--anser-blanc);
}

/* =========================================================
   CARTE PROJET
========================================================= */

.projets-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.projet {
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--anser-transition), box-shadow var(--anser-transition);
}

.projet:hover {
    transform: translateY(-8px);
    box-shadow: var(--anser-ombre-forte);
}

.projet__media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.projet__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.projet:hover .projet__media img {
    transform: scale(1.08);
}

.projet__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #171717;
    background: var(--anser-jaune);
    z-index: 2;
}

.projet__badge--cours {
    background: #2f9e6b;
    color: var(--anser-blanc);
}

.projet__badge--etude {
    background: #4a6fa5;
    color: var(--anser-blanc);
}

.projet__corps {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.projet__lieu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--anser-jaune);
    margin-bottom: 10px;
}

.projet__lieu i {
    color: var(--anser-jaune);
}

.projet__titre {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.32;
    color: var(--anser-bleu);
    margin-bottom: 10px;
}

.projet__texte {
    font-size: 15px;
    line-height: 1.65;
    color: var(--anser-gris);
    text-align: justify;
    flex: 1;
}

.projet__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--anser-bordure);
}

.projet__meta div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.projet__meta span:first-child {
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--anser-gris-clair);
}

.projet__meta span:last-child {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--anser-bleu);
}

/* =========================================================
   FRISE CHRONOLOGIQUE
========================================================= */

.frise {
    position: relative;
    padding-left: 42px;
}

.frise::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 13px;
    width: 2px;
    background: linear-gradient(180deg, var(--anser-jaune), rgba(255, 212, 0, 0.15));
}

.frise__item {
    position: relative;
    padding-bottom: 38px;
}

.frise__item:last-child {
    padding-bottom: 0;
}

.frise__point {
    position: absolute;
    left: -42px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--anser-jaune);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--anser-bleu);
    box-shadow: 0 0 0 6px rgba(255, 212, 0, 0.16);
}

.frise__annee {
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--anser-jaune);
    margin-bottom: 6px;
}

.frise__titre {
    font-size: 19px;
    font-weight: 700;
    color: var(--anser-bleu);
    margin-bottom: 8px;
}

.section--bleu .frise__titre {
    color: var(--anser-blanc);
}

.frise__texte {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--anser-gris);
    text-align: justify;
}

.section--bleu .frise__texte {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   ACCORDÉON (QUESTIONS FRÉQUENTES)
========================================================= */

.accordeon {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordeon__item {
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow var(--anser-transition), border-color var(--anser-transition);
}

.accordeon__item.is-ouvert {
    border-color: var(--anser-jaune);
    box-shadow: var(--anser-ombre);
}

.accordeon__tete {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    color: var(--anser-bleu);
    cursor: pointer;
    transition: color var(--anser-transition);
}

.accordeon__tete:hover {
    color: #0b0b52;
}

.accordeon__tete i {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--anser-jaune);
    transition: transform var(--anser-transition);
}

.accordeon__item.is-ouvert .accordeon__tete i {
    transform: rotate(180deg);
}

.accordeon__corps {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordeon__corps p {
    padding: 0 24px 22px;
    font-size: 15.8px;
    line-height: 1.75;
    color: var(--anser-gris);
    text-align: justify;
}

/* =========================================================
   TABLEAU
========================================================= */

.tableau-enveloppe {
    overflow-x: auto;
    border-radius: var(--anser-rayon);
    border: 1px solid var(--anser-bordure);
    background: var(--anser-blanc);
    box-shadow: var(--anser-ombre);
}

table.tableau {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

table.tableau thead {
    background: var(--anser-bleu);
    color: var(--anser-blanc);
}

table.tableau th {
    padding: 17px 20px;
    text-align: left;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

table.tableau td {
    padding: 18px 20px;
    font-size: 15.3px;
    line-height: 1.6;
    color: var(--anser-gris);
    border-bottom: 1px solid var(--anser-bordure);
    vertical-align: top;
}

table.tableau tbody tr {
    transition: background var(--anser-transition);
}

table.tableau tbody tr:hover {
    background: var(--anser-fond-carte);
}

table.tableau td strong {
    display: block;
    color: var(--anser-bleu);
    font-weight: 700;
    margin-bottom: 3px;
}

.etat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.etat::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.etat--ouvert {
    background: rgba(47, 158, 107, 0.12);
    color: #1e7a50;
}

.etat--bientot {
    background: rgba(255, 212, 0, 0.18);
    color: #8a6d00;
}

.etat--clos {
    background: rgba(140, 140, 140, 0.14);
    color: #6a6a6a;
}

/* =========================================================
   ACTUALITÉS / BLOG
========================================================= */

.articles-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-carte {
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--anser-transition), box-shadow var(--anser-transition);
}

.article-carte:hover {
    transform: translateY(-8px);
    box-shadow: var(--anser-ombre-forte);
}

.article-carte__media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-carte__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-carte:hover .article-carte__media img {
    transform: scale(1.07);
}

.article-carte__categorie {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--anser-bleu);
    color: var(--anser-blanc);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.article-carte__corps {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-carte__date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--anser-gris-clair);
    margin-bottom: 10px;
}

.article-carte__date i {
    color: var(--anser-jaune);
}

.article-carte__titre {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--anser-bleu);
    margin-bottom: 10px;
}

.article-carte__extrait {
    font-size: 15px;
    line-height: 1.68;
    color: var(--anser-gris);
    text-align: justify;
    flex: 1;
}

/* Article vedette */
.article-vedette {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--anser-ombre);
}

.article-vedette__media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}

.article-vedette__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-vedette:hover .article-vedette__media img {
    transform: scale(1.05);
}

.article-vedette__corps {
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-vedette__titre {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--anser-bleu);
    margin-bottom: 14px;
}

.article-vedette__corps p {
    font-size: 16.2px;
    line-height: 1.75;
    color: var(--anser-gris);
    text-align: justify;
}

/* =========================================================
   FORMULAIRE
========================================================= */

.formulaire {
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    padding: 38px 34px;
    box-shadow: var(--anser-ombre);
}

.formulaire__grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.champ {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.champ--large {
    grid-column: 1 / -1;
}

.champ label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--anser-bleu);
}

.champ label .requis {
    color: #d64545;
}

.champ input,
.champ select,
.champ textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dde5f0;
    border-radius: 9px;
    background: var(--anser-fond-carte);
    font-family: inherit;
    font-size: 15.3px;
    color: #1c1c1c;
    transition: border-color var(--anser-transition), box-shadow var(--anser-transition), background var(--anser-transition);
}

.champ textarea {
    min-height: 150px;
    resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
    outline: none;
    background: var(--anser-blanc);
    border-color: var(--anser-jaune);
    box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.18);
}

.champ input::placeholder,
.champ textarea::placeholder {
    color: #9aa4b2;
}

.formulaire__message {
    display: none;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.formulaire__message.is-visible {
    display: flex;
}

.formulaire__message--succes {
    background: rgba(47, 158, 107, 0.12);
    color: #1e7a50;
}

.formulaire__message--erreur {
    background: rgba(214, 69, 69, 0.10);
    color: #b03636;
}

/* Coordonnées */
.coordonnees {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.coordonnee {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: 14px;
    padding: 22px 22px;
    transition: transform var(--anser-transition), box-shadow var(--anser-transition);
}

.coordonnee:hover {
    transform: translateX(6px);
    box-shadow: var(--anser-ombre);
}

.coordonnee__icone {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(21, 21, 100, 0.07);
    color: var(--anser-bleu);
    font-size: 19px;
}

.coordonnee h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--anser-bleu);
    margin-bottom: 5px;
}

.coordonnee p,
.coordonnee a {
    font-size: 15.3px;
    line-height: 1.6;
    color: var(--anser-gris);
    text-decoration: none;
    text-align: left;
}

.coordonnee a:hover {
    color: var(--anser-bleu);
    text-decoration: underline;
}

.carte-geo {
    border-radius: var(--anser-rayon);
    overflow: hidden;
    border: 1px solid var(--anser-bordure);
    box-shadow: var(--anser-ombre);
    line-height: 0;
}

.carte-geo iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* =========================================================
   APPEL À L'ACTION
========================================================= */

.cta {
    position: relative;
    background: var(--anser-bleu-nuit);
    overflow: hidden;
    padding: 74px 0;
}

.cta::before {
    content: 'ANSER';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(120px, 20vw, 260px);
    font-weight: 900;
    letter-spacing: -12px;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    white-space: nowrap;
}

.cta__contenu {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    color: var(--anser-blanc);
}

.cta__contenu h2 {
    font-size: clamp(26px, 3.3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta__contenu p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    text-align: center;
    margin-bottom: 28px;
}

.cta__contenu .groupe-btn {
    justify-content: center;
}

.cta__bande {
    position: absolute;
    bottom: -16px;
    left: -2%;
    width: 104%;
    height: 28px;
    background: var(--anser-jaune);
    transform: rotate(-0.8deg);
}

/* =========================================================
   PARTENAIRES (BANDEAU DÉFILANT)
========================================================= */

.bandeau-partenaires {
    overflow: hidden;
    padding: 12px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.bandeau-partenaires__piste {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: defile-partenaires 30s linear infinite;
}

.bandeau-partenaires:hover .bandeau-partenaires__piste {
    animation-play-state: paused;
}

@keyframes defile-partenaires {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.jeton-partenaire {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 26px;
    border: 1px solid var(--anser-bordure);
    border-radius: 100px;
    background: var(--anser-blanc);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--anser-bleu);
    white-space: nowrap;
    transition: border-color var(--anser-transition), transform var(--anser-transition);
}

.jeton-partenaire i {
    color: var(--anser-jaune);
    font-size: 17px;
}

.jeton-partenaire:hover {
    border-color: var(--anser-jaune);
    transform: translateY(-3px);
}

/* =========================================================
   ANIMATIONS D'APPARITION AU DÉFILEMENT
========================================================= */

[data-anim] {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-anim="bas"]    { transform: translate3d(0, 44px, 0); }
[data-anim="haut"]   { transform: translate3d(0, -34px, 0); }
[data-anim="gauche"] { transform: translate3d(-48px, 0, 0); }
[data-anim="droite"] { transform: translate3d(48px, 0, 0); }
[data-anim="zoom"]   { transform: scale(0.9); }
[data-anim="fondu"]  { transform: none; }

[data-anim].est-visible {
    opacity: 1;
    transform: none;
}

/* Barre de progression animée */
.jauge {
    margin-bottom: 22px;
}

.jauge__tete {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--anser-bleu);
}

.section--bleu .jauge__tete {
    color: var(--anser-blanc);
}

.jauge__tete span:last-child {
    color: var(--anser-jaune);
}

.jauge__piste {
    height: 8px;
    border-radius: 100px;
    background: rgba(21, 21, 100, 0.10);
    overflow: hidden;
}

.section--bleu .jauge__piste {
    background: rgba(255, 255, 255, 0.14);
}

.jauge__valeur {
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--anser-jaune), #ffb300);
    transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   RETOUR EN HAUT
========================================================= */

.retour-haut {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--anser-bleu);
    color: var(--anser-jaune);
    font-size: 17px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    box-shadow: 0 10px 26px rgba(7, 2, 69, 0.28);
    transition: all var(--anser-transition);
    z-index: 1100;
}

.retour-haut.est-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.retour-haut:hover {
    background: var(--anser-jaune);
    color: var(--anser-bleu);
    transform: translateY(-4px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .grille--4,
    .stats { grid-template-columns: repeat(2, 1fr); }
    .grille--3,
    .projets-grille,
    .articles-grille { grid-template-columns: repeat(2, 1fr); }
    .duo { gap: 40px; }
    .duo__media img { height: 340px; }
    .article-vedette { grid-template-columns: 1fr; }
    .article-vedette__media { min-height: 260px; }
    .article-vedette__corps { padding: 32px 28px; }
}

@media (max-width: 900px) {
    .section { padding: 62px 0; }
    .conteneur { width: min(var(--anser-conteneur), 100% - 34px); }
    .duo,
    .grille--2 { grid-template-columns: 1fr; }
    .duo--inverse .duo__media { order: 0; }
    .page-banniere { min-height: 320px; }
    .page-banniere__contenu { padding: 54px 0; }
}

@media (max-width: 640px) {
    .section { padding: 52px 0; }
    .grille--3,
    .grille--4,
    .projets-grille,
    .articles-grille,
    .formulaire__grille { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .bloc-titre { margin-bottom: 34px; }
    .texte-section { font-size: 15.5px; }
    .carte { padding: 26px 20px; }
    .formulaire { padding: 28px 20px; }
    .duo__media img { height: 260px; }
    .page-banniere__texte { font-size: 15.5px; }
    .frise { padding-left: 34px; }
    .frise__point { left: -34px; width: 24px; height: 24px; }
    .accordeon__tete { font-size: 15.5px; padding: 17px 18px; }
    .accordeon__corps p { padding: 0 18px 18px; font-size: 15px; }
    .cta { padding: 56px 0; }
    .groupe-btn { flex-direction: column; }
    .btn { width: 100%; }
    .retour-haut { right: 15px; bottom: 15px; width: 42px; height: 42px; }
}

@media (max-width: 420px) {
    .stats { grid-template-columns: 1fr; }
}

/* =========================================================
   PRÉFÉRENCE : MOUVEMENT RÉDUIT
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    [data-anim] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .bandeau-partenaires__piste,
    .projects-track {
        animation: none !important;
    }

    .carte,
    .projet,
    .article-carte,
    .stat-carte,
    .coordonnee,
    .btn {
        transition: none !important;
    }
}

/* =========================================================
   AMÉLIORATIONS DE L'EN-TÊTE (barre supérieure + navigation)
   Ces règles complètent index.css / about.css sans les casser.
========================================================= */

.top-nav {
    position: relative;
    z-index: 1001;
}

nav {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 18px rgba(7, 2, 69, 0.08);
    transition: height var(--anser-transition),
                box-shadow var(--anser-transition),
                padding var(--anser-transition);
}

nav.est-compacte {
    height: 66px;
    padding: 10px 20px;
    box-shadow: 0 6px 26px rgba(7, 2, 69, 0.14);
}

nav.est-compacte img:not(#menu-btn) {
    height: 52px;
    width: auto;
    transition: height var(--anser-transition);
}

nav .navigation ul li a {
    position: relative;
    padding-bottom: 4px;
}

/* Soulignement animé du menu (au lieu d'une bordure brutale) */
nav .navigation ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--anser-jaune);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--anser-transition);
}

nav .navigation ul li a:hover {
    border-bottom: 0 !important;
}

nav .navigation ul li a:hover::after,
nav .navigation ul li a.active-tab::after {
    transform: scaleX(1);
}

nav .navigation ul li a.active-tab {
    border-bottom: 0;
}

/* =========================================================
   AMÉLIORATIONS DU PIED DE PAGE
========================================================= */

#footer ul {
    list-style: none;
}

#footer li a {
    color: inherit;
    text-decoration: none;
    transition: color var(--anser-transition), padding-left var(--anser-transition);
}

#footer li:hover a {
    color: rgb(241, 240, 245);
    padding-left: 5px;
}

#footer .footer-col > h3 {
    position: relative;
    display: inline-block;
}

#footer .footer-col > h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--anser-jaune);
}

#footer .copyright .pro-links a {
    text-decoration: none;
}

/* =========================================================
   MAINTENANCE — MISE À NIVEAU
========================================================= */

.maintenance__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

/* =========================================================
   CORRECTIF : conflit entre la barre de progression du
   diaporama d'accueil (index.css) et celle de la bannière
   « objectifs » (track.css), qui portent le même nom de classe.
========================================================= */

.hero .progress {
    height: 4px;
}

.hero .progress .progress-bar {
    width: 0;
    height: 100%;
    background: var(--anser-jaune);
}

/* =========================================================
   ACCUEIL — SECTIONS COMPLÉMENTAIRES
========================================================= */

/* Bandeau de chiffres clés posé à cheval sur le diaporama */
.chiffres-cles {
    position: relative;
    z-index: 5;
    margin-top: 20px;
    margin-bottom: 26px;
}

.chiffres-cles__grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--anser-blanc);
    border-radius: var(--anser-rayon);
    box-shadow: var(--anser-ombre-forte);
    overflow: hidden;
}

.chiffre {
    padding: 30px 24px;
    text-align: center;
    border-right: 1px solid var(--anser-bordure);
    transition: background var(--anser-transition);
}

.chiffre:last-child {
    border-right: 0;
}

.chiffre:hover {
    background: var(--anser-fond-carte);
}

.chiffre__icone {
    font-size: 23px;
    color: var(--anser-jaune);
    margin-bottom: 10px;
}

.chiffre__valeur {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1;
    color: var(--violet);
    margin-bottom: 7px;
}

.chiffre__valeur .suffixe {
    color: var(--anser-jaune);
    font-size: 0.66em;
}

.chiffre__libelle {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--anser-gris);
}

/* Domaines d'intervention */
.domaine {
    position: relative;
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-radius: var(--anser-rayon);
    padding: 30px 24px;
    overflow: hidden;
    transition: transform var(--anser-transition),
                box-shadow var(--anser-transition),
                background var(--anser-transition);
}

.domaine::after {
    content: '';
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 212, 0, 0.10);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.domaine:hover {
    transform: translateY(-7px);
    box-shadow: var(--anser-ombre-forte);
}

.domaine:hover::after {
    transform: scale(2.4);
}

.domaine > * {
    position: relative;
    z-index: 1;
}

.domaine__icone {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bleuDark);
    color: var(--yellow);
    font-size: 22px;
    margin-bottom: 18px;
    transition: transform var(--anser-transition);
}

.domaine:hover .domaine__icone {
    transform: rotate(-8deg) scale(1.07);
}

.domaine h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--bleuDark);
    margin-bottom: 9px;
    line-height: 1.3;
}



/* Démarche en étapes */
.etapes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: etape;
}

.etape {
    position: relative;
    padding-top: 34px;
}

.etape::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 30px;
    right: -24px;
    height: 2px;
    background:var(--yellow); 
    ;
}

.etape:last-child::before {
    display: none;
}

.etape__pastille {
    counter-increment: etape;
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--bleuDark);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 0 0 6px rgba(255, 212, 0, 0.16);
    z-index: 2;
}

.etape__pastille::after {
    content: '0' counter(etape);
}

.etape h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--anser-bleu);
    margin-bottom: 9px;
    line-height: 1.3;
}

.etape p {
    font-size: 15.2px;
    line-height: 1.66;
    color: var(--anser-gris);
    text-align: justify;
}

/* Pools d'électrification */
.pool {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--anser-blanc);
    border: 1px solid var(--anser-bordure);
    border-left: 4px solid var(--anser-jaune);
    border-radius: 12px;
    padding: 24px 22px;
    transition: transform var(--anser-transition), box-shadow var(--anser-transition);
}

.pool:hover {
    transform: translateX(7px);
    box-shadow: var(--anser-ombre);
}

.pool__icone {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(21, 21, 100, 0.07);
    color: var(--anser-bleu);
    font-size: 18px;
}

.pool h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--anser-bleu);
    margin-bottom: 6px;
}

.pool p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--anser-gris);
    text-align: left;
}

/* Citation */
.citation {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: 44px 40px 40px 78px;
    background: var(--anser-blanc);
    border-radius: var(--anser-rayon);
    box-shadow: var(--anser-ombre);
}

.citation::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    left: 26px;
    font-size: 110px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255, 212, 0, 0.5);
}

.citation blockquote {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
    font-weight: 500;
    color: var(--anser-bleu);
    margin-bottom: 18px;
    text-align: left;
}

.citation figcaption {
    font-size: 15px;
    font-weight: 600;
    color: var(--anser-gris);
}

.citation figcaption span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    color: var(--anser-gris-clair);
    margin-top: 3px;
}

/* Responsive des sections d'accueil */
@media (max-width: 1024px) {
    .chiffres-cles__grille,
    .etapes { grid-template-columns: repeat(2, 1fr); }

    .etape:nth-child(2)::before { display: none; }
}

@media (max-width: 900px) {
    .chiffres-cles { margin-top: -40px; }
}

@media (max-width: 640px) {
    .chiffres-cles {
        margin-top: 0;
        padding-top: 40px;
    }

    .chiffres-cles__grille { grid-template-columns: 1fr; }

    .chiffre {
        border-right: 0;
        border-bottom: 1px solid var(--anser-bordure);
    }

    .chiffre:last-child { border-bottom: 0; }

    .etapes { grid-template-columns: 1fr; }
    .etape::before { display: none; }

    .citation { padding: 60px 22px 30px; }
    .citation::before { left: 18px; font-size: 80px; }
}

/* =========================================================
   UTILITAIRE : contenu réservé aux lecteurs d'écran
========================================================= */

.visuellement-cache {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Boutons du pied de page */
.footer-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}


/* ==========================================================================
   COMPLÉMENTS DE STRUCTURE — logo cliquable, boutons du pied de page,
   texte réservé aux lecteurs d'écran
   ========================================================================== */

/* Logo de la navigation encapsulé dans un lien */
.nav-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    transition: transform var(--anser-transition), opacity var(--anser-transition);
}

.nav-logo:hover,
.nav-logo:focus-visible {
    transform: translateY(-2px);
    opacity: 0.92;
}

.nav-logo img {
    display: block;
}

/* Boutons de contact rapide dans le pied de page */
.footer-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-boutons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transition: background var(--anser-transition), border-color var(--anser-transition),
                transform var(--anser-transition), color var(--anser-transition);
}

.footer-boutons a i {
    font-size: 0.95rem;
}

.footer-boutons a:hover,
.footer-boutons a:focus-visible {
    background: var(--anser-jaune);
    border-color: var(--anser-jaune);
    color: var(--anser-bleu-nuit);
    transform: translateY(-2px);
}

/* Texte accessible uniquement aux technologies d'assistance */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lien d'évitement vers le contenu principal */
.lien-evitement {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--anser-jaune);
    color: var(--anser-bleu-nuit);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--anser-rayon-sm) 0;
}

.lien-evitement:focus {
    left: 0;
}

@media (max-width: 520px) {
    .footer-boutons a {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   CORRECTIFS DE PORTÉE — neutralisation des règles héritées du sélecteur
   générique « nav » pour les navigations secondaires (fil d'Ariane)
   ========================================================================== */

nav.fil-ariane {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0 0 20px;
    width: auto;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    position: relative;
    top: auto;
    z-index: 2;
    font-size: 13.5px;
}

nav.fil-ariane a,
nav.fil-ariane span {
    display: inline-flex;
    align-items: center;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
}

nav.fil-ariane a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 400;
}

nav.fil-ariane a:hover,
nav.fil-ariane a:focus-visible {
    color: var(--anser-jaune);
    border-bottom: 0;
}

nav.fil-ariane > span:last-child {
    color: var(--anser-jaune);
    font-weight: 600;
}

nav.fil-ariane i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   PIED DE PAGE — atténuation et repositionnement du motif solaire afin de
   préserver la lisibilité des colonnes de liens
   ========================================================================== */

#footer::before {
    opacity: 0.07;
    background-position: right -60px bottom -80px;
    background-size: 380px auto;
}

@media (max-width: 900px) {
    #footer::before {
        background-size: 260px auto;
        background-position: right -40px bottom -40px;
        opacity: 0.05;
    }
}

/* Boutons de contact rapide — lisibilité du libellé sur fond jaune */
.footer-bouton {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid var(--anser-jaune);
    color: var(--anser-bleu-nuit);
    background: var(--anser-jaune);
    transition: background var(--anser-transition), color var(--anser-transition),
                transform var(--anser-transition), border-color var(--anser-transition);
}

.footer-bouton i {
    font-size: 1.05rem;
}

.footer-bouton--contour {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.footer-bouton:hover,
.footer-bouton:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--anser-bleu-nuit);
    transform: translateY(-2px);
}

/* =========================================================
   HARMONISATION DES LARGEURS
   Les sections héritées (bannière « objectifs » et blocs
   « projets ») étaient calibrées sur 610–620 px, ce qui
   créait une rupture visuelle avec les autres sections
   larges de 1200 px. On les aligne sur la même grille.
========================================================= */

/* --- Bannière objectifs / vision --- */

.energy-banner {
    min-height: auto;
    position: relative;
    background: url("./img/diagram.png") no-repeat center center;
    background-size: cover;
}

.energy-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.89);
    z-index: 0;
}

.energy-banner > * {
    position: relative;
    z-index: 1;
}

.banner-container {
    width: min(1200px, 100% - 48px);
    max-width: none;
    padding-top: 76px;
    padding-bottom: 110px;
}



.banner-top {
    gap: 80px;
    align-items: flex-start;
}

.objective {
    width: auto;
    flex: 1 1 52%;
}

.objective h2 {
    font-size: clamp(24px, 2.9vw, 34px);
    line-height: 1.18;
    margin-bottom: 18px;
    color: var(--blueDark)!important;
}

.objective p {
    font-size: 16.5px;
    line-height: 1.75;
    text-align: justify;
}

.progress-container {
    width: auto;
    flex: 1 1 40%;
    padding-top: 8px;
}

.progress-item {
    margin-bottom: 28px;
}

.progress-header {
    font-size: 15px;
    margin-bottom: 9px;
}


.energy-banner .progress-bar {
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.14);
}

.energy-banner .progress-value {
    border-radius: 100px;
    background: linear-gradient(90deg, var(--yellow));
}

.banner-bottom {
    gap: 56px;
    margin-top: 90px;
    align-items: center;
    justify-content: space-between;
}

.vision-image {
    width: auto;
    flex: 1 1 42%;
    height: 380px;
    border-radius: var(--anser-rayon);
    box-shadow: var(--anser-ombre-forte);
}

.vision-content {
    width: auto;
    flex: 1 1 52%;
}

.vision-content h2 {
    font-size: clamp(23px, 2.7vw, 32px);
    line-height: 1.18;
    margin-bottom: 14px;
    color: var(--blueDark)!important;
}

.vision-content > p {
    font-size: 16.5px;
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: justify;
}

.vision-cards {
    gap: 16px;
}

.vision-card {
    min-height: 0;
    padding: 18px 18px;
    gap: 12px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    transition: background var(--anser-transition), transform var(--anser-transition);
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
}

.check {
    width: 24px;
    height: 24px;
    font-size: 13px;
    color: var(--anser-bleu);
}

.vision-card h3 {
    font-size: 16.5px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--blueDark)!important;
}

.vision-card p {
    font-size: 14.5px;
    line-height: 1.55;
    text-align: left;

}

/* --- Blocs « projets » --- */

.projects-section {
    padding: 80px 0;
}

.projects-container {
    width: min(1200px, 100% - 48px);
    max-width: none;
    gap: 70px;
    align-items: center;
}

.projects-text {
    width: auto;
    flex: 1 1 52%;
}

.projects-text h2 {
    font-size: clamp(24px, 2.9vw, 34px);
    line-height: 1.18;
    margin-bottom: 16px;
    color: var(--blueDark);
}

.projects-text > p {
    font-size: 16.5px;
    line-height: 1.75;
    text-align: justify;
}

.yellow-line {
    width: 100%;
    max-width: 420px;
    height: 3px;
    border-radius: 3px;
    margin-top: 26px;
    margin-bottom: 26px;
}

.projects-stats {
    gap: 44px;
}

.stat {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

.stat-number {
    font-size: clamp(32px, 3.4vw, 42px);
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 0.68em;
}

.stat h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--blueDark);
}
.bluedark {
    color: var(--blueDark)!important;
}

.stat p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

.projects-images {
    width: auto;
    flex: 1 1 42%;
    height: 430px;
    min-width: 300px;
}

.yellow-shape {
    left: 22%;
    top: 26px;
    width: 34px;
    height: 378px;
    border-radius: 17px;
}

.big-project-image {
    width: 68%;
    height: 100%;
    border-radius: var(--anser-rayon);
    box-shadow: var(--anser-ombre-forte);
}

.small-project-image {
    top: 100px;
    width: 52%;
    height: 260px;
    border-radius: var(--anser-rayon);
    box-shadow: var(--anser-ombre-forte);
}

/* --- Icônes des cartes « missions » --- */

.missions-container {
    padding: 3.4rem 2.4rem;
    margin: 0 auto;
}

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bleuDark);
    color: var(--yellow);
    font-size: 23px;
    transition: transform var(--anser-transition);
}

.mission-card:hover .mission-icon {
    transform: rotate(-8deg) scale(1.07);
}

.missions-title {
    text-align: left;
    color: var(--bleuDark);
}

/* --- Titre intermédiaire du bandeau de projets --- */

.titre_midle {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    margin-top: 56px;
    margin-bottom: 8px;
}

.projects-slider {
    padding: 24px 0 48px;
}

/* --- Responsive des largeurs harmonisées --- */

@media (max-width: 1024px) {
    .banner-top { gap: 46px; }
    .banner-bottom { gap: 40px; }
    .vision-image { height: 320px; }
    .projects-container { gap: 46px; }
    .projects-images { height: 380px; }
}

@media (max-width: 900px) {
    .banner-container {
        width: min(1200px, 100% - 34px);
        padding-top: 56px;
        padding-bottom: 90px;
    }

    .banner-top,
    .banner-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .banner-bottom { margin-top: 56px; }

    .vision-image,
    .vision-content,
    .objective,
    .progress-container {
        width: 100%;
        flex: 1 1 auto;
    }

    .projects-container {
        width: min(1200px, 100% - 34px);
        flex-direction: column;
        align-items: stretch;
        gap: 46px;
        padding: 0;
    }

    .projects-text,
    .projects-images {
        width: 100%;
        flex: 1 1 auto;
        max-width: none;
    }

    .projects-images { height: 400px; }
    .yellow-shape { left: 24%; }
}

@media (max-width: 640px) {
    .projects-section { padding: 52px 0; }
    .background-anser { top: 150px; letter-spacing: -7px; }
    .vision-cards { grid-template-columns: 1fr; }
    .projects-stats { flex-direction: column; gap: 28px; }
    .projects-images { height: 330px; }
    .yellow-shape { left: 26%; height: 290px; width: 26px; }
    .small-project-image { height: 190px; top: 80px; }
    .objective p,
    .vision-content > p,
    .projects-text > p { font-size: 15.5px; }
    .missions-container { padding: 2rem 1.2rem; }
}

/* =========================================================
   PIED DE PAGE — CORRECTIFS DE MISE EN PAGE ET DE CONTRASTE
========================================================= */

#footer {
    align-items: stretch;
    gap: 32px;
    padding: 68px 4vw 40px;
}

#footer .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 200px;
    min-width: 190px;
    padding-bottom: 10px;
}

/* La colonne du logo est un peu plus large */
#footer .footer-col:first-child {
    flex: 1 1 280px;
}

.footer-col img {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin-bottom: 22px;
}

#footer h3 {
    display: block;
    width: 100%;
    font-size: 17px;
    padding-bottom: 18px;
    margin-bottom: 4px;
}

#footer .footer-col > h3::after {
    bottom: 10px;
}

/* Contraste renforcé des liens du pied de page */
#footer li {
    color: #b9c2cf;
    padding: 8px 0;
    line-height: 1.55;
}

#footer li:hover,
#footer li:hover a {
    color: var(--anser-jaune);
}

#footer .copyright {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    gap: 20px;
}

#footer .copyright p {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    max-width: 720px;
}

.direct-contact {
    display: inline-flex;
    align-items: center;
    color: var(--anser-bleu);
    font-weight: 600;
    padding: 11px 18px;
}

.direct-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--anser-bleu);
    font-weight: 600;
}

.direct-contact i {
    margin-left: 0;
    font-size: 1.05rem;
}

.direct-contact:hover {
    background-color: var(--anser-blanc);
}

.pro-links i {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
}

@media (max-width: 900px) {
    #footer {
        gap: 26px;
        padding: 52px 24px 32px;
    }

    #footer .footer-col,
    #footer .footer-col:first-child {
        flex: 1 1 100%;
    }

    .footer-col img {
        max-width: 180px;
    }

    #footer .copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==========================================================================
   CORRECTIFS DE SUPERPOSITION — bande décorative du bloc d'appel à l'action
   et boutons du pied de page
   ========================================================================== */

/* La bande jaune décorative doit rester strictement en arrière-plan */
.cta__bande {
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.cta__contenu > h2,
.cta__contenu > p,
.cta__contenu > .groupe-btn {
    position: relative;
    z-index: 3;
}

.cta__contenu .groupe-btn {
    justify-content: center;
}

/* Rétablissement du fond jaune du bouton principal du pied de page,
   la règle générique « .footer-boutons a » prenant autrement le dessus */
.footer-boutons .footer-bouton {
    background: var(--anser-jaune);
    border-color: var(--anser-jaune);
    color: var(--anser-bleu-nuit);
}

.footer-boutons .footer-bouton--contour {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.footer-boutons .footer-bouton:hover,
.footer-boutons .footer-bouton:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--anser-bleu-nuit);
    transform: translateY(-2px);
}

/* Positionnement fin de la bande décorative sous les boutons */
.cta__bande {
    bottom: -38px;
    height: 20px;
    left: 4%;
    width: 92%;
}

@media (max-width: 640px) {
    .cta__bande { display: none; }
}

/* Décalage d'ancrage pour tenir compte de la navigation collante */
[id] { scroll-margin-top: 110px; }


/* ==========================================================================
   CORRECTIFS D'AFFICHAGE MOBILE — suppression du défilement horizontal
   parasite hérité de sections antérieures
   ========================================================================== */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 900px) {

    /* Section de présentation : les colonnes ne doivent pas excéder la largeur
       de l'écran, quels que soient les décalages décoratifs d'origine */
    .about-section {
        overflow-x: hidden;
    }

    .about-section .about-image,
    .about-section .about-content,
    .about-section .img1,
    .about-section .about-title,
    .about-section .about-text {
        position: relative;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Diaporama d'ouverture : l'image reste contenue dans le cadre */
    .hero,
    .hero-slide {
        overflow: hidden;
    }

    .hero .hero-image {
        position: relative;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover;
    }
}


/* ==========================================================================
   APPEL À L'ACTION — la bande décorative devient un filet supérieur centré,
   au lieu d'un bandeau flottant sous les boutons
   ========================================================================== */

.cta__contenu {
    position: relative;
    padding-top: 34px;
}

.cta__bande {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 5px;
    border-radius: 999px;
    background: var(--anser-jaune);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.cta__bande::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 1px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.45), transparent);
}


/* ==========================================================================
   MENU MOBILE — opacité, hiérarchie d'empilement et confort de lecture
   ========================================================================== */

@media (max-width: 900px) {

    /* La barre supérieure ne doit pas recouvrir le panneau de navigation */
    .top-nav {
        position: relative;
        z-index: 1;
    }

    /* Panneau coulissant : fond opaque pour une lisibilité irréprochable */
    nav .navigation ul {
        width: 288px;
        right: -288px;
        padding-top: 74px;
        background-color: var(--anser-bleu-nuit);
        background-image: linear-gradient(170deg, #0a0454 0%, var(--anser-bleu-nuit) 60%, #0d0a3a 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 0;
        border-left: 3px solid var(--anser-jaune);
        box-shadow: -18px 0 45px rgba(3, 1, 30, 0.4);
        transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        z-index: 1200;
    }

    nav .navigation.active ul {
        right: 0;
    }

    nav .navigation ul li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav .navigation ul li a {
        display: block;
        width: 100%;
        padding: 17px 26px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 15.5px;
        letter-spacing: 0.01em;
        border-bottom: 0;
    }

    nav .navigation ul li a::after {
        display: none;
    }

    nav .navigation ul li a:hover,
    nav .navigation ul li a:focus-visible {
        background: rgba(255, 212, 0, 0.12);
        color: var(--anser-jaune);
        border-bottom: 0;
        padding-left: 32px;
    }

    nav .navigation ul li a.active-tab {
        color: var(--anser-jaune) !important;
        background: rgba(255, 212, 0, 0.1);
        border-bottom: 0;
        border-left: 3px solid var(--anser-jaune);
        padding-left: 23px;
    }

    /* Bouton de fermeture : positionné dans le panneau, toujours cliquable */
    #menu-close {
        position: fixed;
        top: 16px;
        right: 18px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 50%;
        font-size: 1.15rem;
        color: var(--anser-bleu-nuit);
        background: var(--anser-jaune);
        opacity: 0;
        visibility: hidden;
        transform: scale(0.7);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 1300;
        cursor: pointer;
    }

    nav .navigation.active #menu-close {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    #menu-close:hover,
    #menu-close:focus-visible {
        background: #ffffff;
        transform: scale(1.08) rotate(90deg);
    }

    /* Voile d'assombrissement lorsque le menu est déployé */
    nav .navigation.active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(4, 1, 32, 0.55);
        z-index: 1100;
    }

    /* La navigation principale reste au-dessus du contenu de la page */
    nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}
