/* home.css */
@import "components/flyer-download-2hrGqIo.css";
@import "components/march-map-jC_cAMR.css";
@import "components/journey-departments-YpdwhaR.css";

/* ========================================
HOME
======================================== */

.intro-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
}

.intro-arrow svg {
    display: block;

    width: 23px;
    height: 23px;
}

/* ========================================
PREPROD - BUTTONS DISABLED
======================================== */

.action-contribution {
    background: #EDF5E9;
    color: #29613E;
}

.is-disabled {
    background: #d8d8d3 !important;
    border-color: #d8d8d3 !important;
    color: #77776f !important;

    opacity: 0.78;
    cursor: default;
    pointer-events: none;

    box-shadow: none !important;
    transform: none !important;
}

.is-disabled:hover,
.is-disabled:focus {
    background: #d8d8d3 !important;
    border-color: #d8d8d3 !important;
    color: #77776f !important;

    box-shadow: none !important;
    transform: none !important;
}

.home-action.action-disabled {
    position: relative;

    background: #e5e4df;
    border-color: #e5e4df;
    color: #96968f;

    cursor: default;
    pointer-events: none;

    box-shadow: none;
    transform: none;
}

.home-action.action-disabled .action-label,
.home-action.action-disabled strong,
.home-action.action-disabled .arrow {
    color: #96968f;
}

.home-action.action-disabled .action-coming-soon {
    position: absolute;
    top: 18px;
    right: 22px;

    display: inline-block;

    padding: 4px 8px 3px;

    border: 1.5px solid #c96b57;

    color: #c96b57;
    background: rgba(255, 255, 255, 0.3);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    transform: rotate(-4deg);
}

.home-action.action-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ========================================
ENCART : QU'EST-CE QUE LA MARCHE ?
======================================== */

.home-intro {
    width: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #fff0e9 0%,
            #fff4ef 55%,
            #fff0e8 100%
        );
}


/* ========================================
ENCART D'AIDE — CARAMEL DISCRET
======================================== */

.journey-suggestion {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    margin-bottom: 18px;
    padding: 14px 17px;
    border: 1px solid #f5dab6;
    border-radius: 11px;
    background: #fff4e4;
    color: #593b25;
}

.journey-suggestion-content {
    flex: 1;
    min-width: 0;
}

.journey-suggestion-content h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.journey-suggestion-content p {
    margin: 0;
    color: #6d5948;
    font-size: 12px;
    line-height: 1.5;
}

.journey-suggestion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    gap: 8px;

    min-height: 36px;

    padding: 9px 12px;
    border: 1px solid #f2b561;
    border-radius: 9px;

    background: #f2b561;
    color: #593b25;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;

    text-decoration: none;

    transition: transform .18s ease, background .18s ease;
}

.journey-suggestion-button:hover {
    color: #593b25;
    background: #eaaa51;
    transform: translateY(-2px);
}

.journey-suggestion-button:focus-visible {
    outline: 2px solid #80522e;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .journey-suggestion-button {
        transition: none;
    }

    .journey-suggestion-button:hover {
        transform: none;
    }
}

.journey-suggestion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: currentColor;
}

.journey-suggestion-arrow .site-arrow-link {
    width: 16px;
    height: auto;

    display: block;
}

@media (max-width: 650px) {
    .journey-suggestion {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        padding: 13px;
    }

    .journey-suggestion-content h3 {
        font-size: 14px;
    }

    .journey-suggestion-button {
        padding: 6px 9px;
    }
}


/* ========================================
CONTENU DE L'ENCART
======================================== */

.home-intro-inner {
    width: min(
        1880px,
        calc(100% - 80px)
    );

    min-height: 132px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        94px
        1px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 30px;
}


/* ========================================
IMAGE DES PAS
======================================== */

.intro-icon {
    width: 94px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.intro-icon img {
    width: 70px !important;
    height: 70px !important;

    min-width: 70px !important;
    min-height: 70px !important;

    max-width: 70px !important;
    max-height: 70px !important;

    display: block;

    object-fit: contain;
}


/* ========================================
SÉPARATEUR
======================================== */

.intro-separator {
    width: 1px;
    height: 80px;

    background: rgba(68, 74, 66, 0.26);
}


/* ========================================
TEXTE ENCART
======================================== */

.intro-content {
    min-width: 0;
}

.intro-content h2 {
    margin: 0 0 5px;

    color: var(--coral);

    font-size: 27px;
    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -0.7px;
}

.intro-content p {
    max-width: 1000px;

    margin: 0;

    color: #66645f;

    font-size: 18px;

    line-height: 1.45;
}


/* ========================================
EN SAVOIR PLUS
======================================== */

.intro-button {
    min-width: 210px;
    min-height: 54px;

    padding: 0 19px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border: 1px solid #bfc3b9;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);

    color: #30332e;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.intro-button:hover {
    background: rgba(255, 255, 255, 0.25);

    border-color: #aeb4aa;
}

.intro-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #596057;
}


/* ========================================
HERO
======================================== */

.home-hero {
    width: min(
        var(--page-width),
        calc(100% - 36px)
    );

    margin: 0 auto;

    padding: 18px 0 28px;

    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* ========================================
VIDÉO
======================================== */

.video-wrapper {
    position: relative;

    width: 100%;

    min-height: 0;

    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f3f0e8 0%,
            #f7f5ef 48%,
            #edf3e9 100%
        );

    border: 1px solid #e2e4dc;
}

.video-frame {
    position: relative;

    width: min(100%, 420px);
    height: auto;

    aspect-ratio: 9 / 16;

    flex-shrink: 0;

    overflow: hidden;

    background: #111411;

    box-shadow:
        0 14px 34px rgba(29, 42, 30, 0.12),
        0 2px 8px rgba(29, 42, 30, 0.06);
}

.video-frame video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #111411;
}


/* ========================================
CONTENU DROIT DU HERO
======================================== */

.hero-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #fbfaf6;

    border: 1px solid #e5e5dd;
}


/* ========================================
TEXTE DU HERO
======================================== */

.hero-editorial {
    min-width: 0;

    padding:
        34px
        28px
        24px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-editorial-kicker {
    display: block;

    margin-bottom: 6px;

    color: #80522e;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}

.hero-editorial h1 {
    width: 100%;
    max-width: 100%;

    margin:
        0
        0
        22px;

    color: #26342a;

    font-size: clamp(40px, 6.2vw, 64px);
    font-weight: 800;

    line-height: 0.96;

    letter-spacing: -2.4px;

    overflow-wrap: normal;
    word-break: normal;
}

.hero-editorial p {
    max-width: 700px;

    margin: 0;

    color: #666b64;

    font-size: 17px;

    line-height: 1.58;
}


/* ========================================
ACTIONS
======================================== */

.home-actions {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin-top: 0;

    padding:
        0
        28px;
}

.home-action {
    min-width: 0;
    min-height: 112px;

    padding:
        18px
        20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    text-decoration: none;

    transition:
        transform 0.16s ease,
        filter 0.16s ease;
}

.home-action:hover {
    transform: translateY(-2px);

    filter: brightness(0.97);
}

.action-label {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    opacity: 0.72;
}

.action-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 12px;
}

.action-bottom strong {
    max-width: 200px;

    font-size: 18px;

    line-height: 1.08;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.arrow .site-arrow {
    width: 27px;
    height: auto;

    display: block;
}


/* ========================================
COULEURS ACTIONS
======================================== */

.action-alert {
    background: #de6a63;

    color: #ffffff;
}

.action-alert:hover {
    background: #cc5953;
}

.action-green {
    background: #76c56b;

    color: #16391d;
}

.action-light {
    background: #edf5e9;

    color: #285c31;

    border: 1px solid #d6e7d1;
}

.action-coral {
    background: #de6a63;
    color: #ffffff;
}

.action-coral:hover {
    background: #cc5953;
}


/* ========================================
TEXTE SOUS LES ACTIONS
======================================== */

.hero-after-actions {
    flex: 1;

    min-height: 0;

    padding:
        22px
        28px
        18px;

    display: flex;
    align-items: flex-start;
}

.hero-after-actions p {
    width: 100%;
    max-width: 900px;

    margin: 0;

    color: #616760;

    font-size: 16px;

    line-height: 1.65;
}


/* ========================================
TYPOGRAPHIE
======================================== */

.section-label {
    display: block;

    margin-bottom: 6px;

    color: #80522e;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.home-hero + section h2,
.movement-section h2,
.journey-section h2,
.recap-section h2,
.support-section h2 {
    margin: 0 0 28px;

    max-width: 780px;

    font-size: clamp(37px, 5vw, 60px);

    line-height: 0.98;

    letter-spacing: -2.2px;
}


/* ========================================
MOUVEMENT
======================================== */

.movement-section {
    padding:
        90px
        max(
            22px,
            calc((100vw - var(--page-width)) / 2)
        );
}

.movement-header {
    margin-bottom: 35px;
}

.movement-number {
    display: block;

    color: var(--green-dark);

    font-size: clamp(56px, 8vw, 92px);
    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -4px;
}

.movement-header span {
    display: block;

    margin-top: 10px;

    color: var(--green-dark);

    font-size: 15px;
    font-weight: 700;
}


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

.map-placeholder {
    position: relative;

    width: 100%;
    min-height: 440px;

    margin-top: 32px;

    overflow: hidden;

    background: #dfeedd;

    border: 1px solid #cce1c7;
}


/* Image de secours */

.march-map-fallback {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #f4f0e7;

    z-index: 1;
}


/* Carte interactive */

.march-map {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    opacity: 0;

    transition: opacity 0.18s ease;
}


/* Quand la carte est prête */

.map-placeholder.is-map-ready .march-map {
    opacity: 1;
}

.map-placeholder.is-map-ready .march-map-fallback {
    visibility: hidden;
}


/* Légende au-dessus */

.march-map-legend {
    position: relative;

    z-index: 3;
}

/* ========================================
TRAJET
======================================== */

.journey-section {
    width: min(
        var(--page-width),
        calc(100% - 44px)
    );

    margin: 0 auto;

    padding: 90px 0;

    --route-green: #72bd55;
    --route-green-dark: #4f8d3c;
    --route-green-deep: #244a2c;
    --route-soft: #f3f8f0;
    --route-line: #dfe7dc;
    --route-muted: #747b73;
}

.journey-title-row {
    margin-bottom: 36px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 32px;
}

.journey-title-row h2 {
    margin-bottom: 18px;
}

.journey-intro {
    max-width: 760px;

    margin: 0;

    color: #696d67;

    font-size: 17px;

    line-height: 1.55;
}


/* ========================================
RECHERCHE DÉPARTEMENT
======================================== */

.department-search {
    position: relative;
    margin-bottom: 20px;

    padding: 25px 27px 21px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.16fr);

    gap: 38px;
    align-items: center;

    background: #eef5fb;

    border-top: 1px solid #dae8f4;
    border-bottom: 1px solid #dae8f4;
}

.department-search::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 18%;
    height: 4px;
    background: #94bedc;
}

.department-search-copy {
    align-self: center;
}

.department-search-kicker {
    display: block;

    margin-bottom: 7px;

    color: #477fa7;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.department-search-copy h3 {
    margin: 0 0 8px;

    color: #203b50;

    font-size: clamp(25px, 2.5vw, 35px);

    line-height: 1.1;

    letter-spacing: -.045em;
}

.department-search-copy p {
    max-width: none;

    margin: 0;

    color: #617480;

    font-size: 15px;

    line-height: 1.5;
}

.department-search-hint {
    display: block;
    margin-top: 2px;
    font-size: 13px;
}

.department-search-result:empty {
    display: none;
}

.department-search-tool {
    min-width: 0;
    align-self: center;
}

.department-search-field {
    min-height: 58px;

    padding: 0 19px;

    display: flex;
    align-items: center;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #ccdeed;

    box-shadow:
        0
        2px
        5px
        rgba(56, 93, 119, 0.035);
}

.department-search-field:focus-within {
    border-color: #669dc4;

    box-shadow:
        0
        0
        0
        3px
        #cfe5f6;
}

.department-search-field svg {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    fill: none;

    stroke: #729ab6;
    stroke-width: 2;
    stroke-linecap: round;
}

.department-search-field input {
    min-width: 0;
    width: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #203b50;

    font: inherit;
    font-size: 17px;
}

.department-search-field input::placeholder {
    color: #718593;
}

.department-search-result {
    min-height: 48px;

    margin-top: 10px;

    padding: 0 2px;

    display: flex;
    align-items: center;

    gap: 10px;

    color: #617480;

    font-size: 13px;
}

.department-search-result.is-positive,
.department-search-result.is-negative {
    padding: 10px 12px;

    background: rgba(255, 255, 255, 0.62);

    border-left: 3px solid #94bedc;
}

.department-search-result.is-negative {
    border-left-color: #c96c65;
}

.search-result-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dae8f4;

    color: #477fa7;

    font-size: 15px;
    font-weight: 800;
}

.department-search-result.is-negative .search-result-icon {
    background: #fae9e7;

    color: #b9554e;
}

.department-search-result strong,
.department-search-result small {
    display: block;
}

.department-search-result strong {
    color: #203b50;

    font-size: 13px;
}

.department-search-result small {
    margin-top: 2px;

    color: #617480;

    font-size: 12px;
}


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

.journey-tabs {
    margin-bottom: 2px;

    display: flex;
    align-items: flex-end;

    gap: 6px;

    border-bottom: 1px solid var(--route-line);
}

.journey-tab {
    position: relative;

    min-height: 52px;

    padding: 0 18px;

    border: 0;

    background: transparent;

    color: #747a73;

    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}

.journey-tab::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: -1px;

    height: 3px;

    background: transparent;
}

.journey-tab:hover {
    color: #344038;
}

.journey-tab.is-active {
    color: var(--route-green-deep);
}

.journey-tab.is-active::after {
    background: var(--route-green);
}

.journey-panel {
    padding-top: 18px;
}

.journey-panel[hidden] {
    display: none;
}


/* ========================================
ORDRE DU TRAJET — ÉTAPES NOVEMBRE 2026
======================================== */

.route-list {
    --route-inset: 16px;
    --route-gutter: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 46px;
    row-gap: 0;
}

.route-list .route-department {
    position: relative;
    display: grid;
    grid-template-columns: 98px 218px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    min-height: 56px;
    margin: 0 0 0 var(--route-gutter);
    padding: 0 92px 0 calc(34px + var(--route-inset) - var(--route-gutter));
    box-sizing: border-box;
    border-bottom: 1px solid #e8ece6;
    background: transparent;
    transition: background .16s ease;
}

/* Fil dans la marge, continu entre les encarts et derrière les points. */
.route-list .route-department::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 0;
    bottom: -5px;
    width: 2px;
    background: #B8AAAA;
    z-index: 1;
    pointer-events: none;
}

.route-list .route-department::after {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #B8AAAA;
    z-index: 2;
    pointer-events: none;
}

.route-list .route-department.is-start::after,
.route-list .route-department.is-finish::after {
    background: #B8AAAA;
}

/* Au bureau, deux dernières lignes ; sur mobile, uniquement la dernière */
.route-list .route-department:nth-last-child(-n+2)::before {
    bottom: 50%;
}
.route-list .route-department:nth-child(-n+2)::before {
    top: 50%;
}

.route-list .route-position {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-width: 88px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f0f7ef;
    color: #34483a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
}

.route-list .route-day {
    grid-column: 2;
    grid-row: 1;
    color: #636b63;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.route-list .route-department-label {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
}

.route-list .route-department-label .route-name,
.route-list .route-department.is-start .route-name,
.route-list .route-department.is-finish .route-name {
    color: var(--department-ink, #34483a);
    font-size: 15px;
    font-weight: 700;
}

.route-list .route-department-label .route-code {
    color: var(--department-ink, #34483a);
    font-size: 14px;
    font-weight: 700;
}

.route-list .route-department .route-marker {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    grid-column: auto;
    justify-self: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid;
    border-radius: 10px;
    font-family: "Nunito", "Nunito Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: .25px;
    text-transform: none;
    box-shadow: none;
}
.route-marker-start {
    background: #eaf5e6;
    color: #4d853f;
}
.route-marker-finish {
    background: #fff0ea;
    color: #bd6158;
}

.route-list .route-department.is-search-match {
    padding-left: calc(34px + var(--route-inset) - var(--route-gutter));
    padding-right: 92px;
    background: #f0f8ed;
}

.number-department.is-search-match {
    background: #f0f8ed;
}

/* Proposition 3 : badges régionaux et fond de ligne plus clair. */
.route-list .route-department {
    --route-region: #8ebd93;
    --route-tag-background: var(--route-region);
    background: color-mix(in srgb, var(--route-region) 18%, white);
    border-bottom: 5px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
}
.route-list .route-department:is([data-department-code="22"], [data-department-code="29"], [data-department-code="35"], [data-department-code="56"]) {
    --route-region: #9ED9E5;
}

.route-list .route-department:is([data-department-code="14"], [data-department-code="27"], [data-department-code="50"], [data-department-code="61"], [data-department-code="76"]) {
    --route-region: #F0C5B8;
}

.route-list .route-department:is([data-department-code="02"], [data-department-code="59"], [data-department-code="60"], [data-department-code="62"], [data-department-code="80"]) {
    --route-region: #B5B5B5;
}

.route-list .route-department:is([data-department-code="75"], [data-department-code="77"], [data-department-code="78"], [data-department-code="91"], [data-department-code="92"], [data-department-code="93"], [data-department-code="94"], [data-department-code="95"]) {
    --route-region: #C8EAF5;
}

.route-list .route-department:is([data-department-code="08"], [data-department-code="10"], [data-department-code="51"], [data-department-code="52"], [data-department-code="54"], [data-department-code="55"], [data-department-code="57"], [data-department-code="67"], [data-department-code="68"], [data-department-code="88"]) {
    --route-region: #FFF59A;
}

.route-list .route-department:is([data-department-code="44"], [data-department-code="49"], [data-department-code="53"], [data-department-code="72"], [data-department-code="85"]) {
    --route-region: #E5B4D0;
}

.route-list .route-department:is([data-department-code="18"], [data-department-code="28"], [data-department-code="36"], [data-department-code="37"], [data-department-code="41"], [data-department-code="45"]) {
    --route-region: #DEC16E;
}

.route-list .route-department:is([data-department-code="21"], [data-department-code="25"], [data-department-code="39"], [data-department-code="58"], [data-department-code="70"], [data-department-code="71"], [data-department-code="89"], [data-department-code="90"]) {
    --route-region: #A9D19A;
}

.route-list .route-department:is([data-department-code="16"], [data-department-code="17"], [data-department-code="19"], [data-department-code="23"], [data-department-code="24"], [data-department-code="33"], [data-department-code="40"], [data-department-code="47"], [data-department-code="64"], [data-department-code="79"], [data-department-code="86"], [data-department-code="87"]) {
    --route-region: #C6DC90;
}

.route-list .route-department:is([data-department-code="01"], [data-department-code="03"], [data-department-code="07"], [data-department-code="15"], [data-department-code="26"], [data-department-code="38"], [data-department-code="42"], [data-department-code="43"], [data-department-code="63"], [data-department-code="69"], [data-department-code="73"], [data-department-code="74"]) {
    --route-region: #8BC3E6;
}

.route-list .route-department:is([data-department-code="09"], [data-department-code="11"], [data-department-code="12"], [data-department-code="30"], [data-department-code="31"], [data-department-code="32"], [data-department-code="34"], [data-department-code="46"], [data-department-code="48"], [data-department-code="65"], [data-department-code="66"], [data-department-code="81"], [data-department-code="82"]) {
    --route-region: #F49B72;
}

.route-list .route-department:is([data-department-code="04"], [data-department-code="05"], [data-department-code="06"], [data-department-code="13"], [data-department-code="83"], [data-department-code="84"]) {
    --route-region: #F8AD35;
}

.route-list .route-department:is([data-department-code="2A"], [data-department-code="2B"]) {
    --route-region: #AADEC3;
}
.route-list .route-position,
.route-list .route-department-label {
    background: var(--route-tag-background);
}

.route-list .route-department-label {
    justify-self: start;
    padding: 9px 12px;
    border-radius: 9px;
}

.route-list .route-department.is-search-match {
    background-color: color-mix(in srgb, var(--route-region) 28%, white);
    box-shadow: inset 0 0 0 2px var(--route-region);
}

@media (max-width: 1250px) {
    .route-list {
        grid-template-columns: 1fr;
    }
    .route-list .route-department:nth-child(-n+2)::before {
        top: 0;
    }
    .route-list .route-department:first-child::before {
        top: 50%;
    }
    .route-list .route-department:nth-last-child(-n+2)::before {
        bottom: -5px;
    }
    .route-list .route-department:last-child::before {
        bottom: 50%;
    }
}

@media (max-width: 700px) {
    .route-list {
        --route-inset: 12px;
    }

    .route-list .route-department {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 5px;
        min-height: 96px;
        padding: 12px 85px 12px calc(27px + var(--route-inset) - var(--route-gutter));
    }
    .route-list .route-position {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        padding: 6px 10px;
        font-size: 11px;
    }
    .route-list .route-day {
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
        white-space: normal;
    }
    .route-list .route-department-label {
        grid-column: 1;
        grid-row: 3;
    }
    .route-list .route-department-label .route-name {
        font-size: 14px;
    }
    .route-list .route-department .route-marker {
        right: 6px;
        padding: 6px 9px;
        font-size: 10px;
    }
    .route-list .route-department.is-search-match {
        padding-left: calc(27px + var(--route-inset) - var(--route-gutter));
        padding-right: 85px;
    }
}

/* ========================================
PAR NUMÉRO DE DÉPARTEMENT
======================================== */

/* Département par numéro : pastille pour le code et pour la date */
.department-number-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 30px;
}

.number-department {
    min-height: 80px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 16px;
    border-bottom: 1px solid #e8ece6;
    transition: background .16s ease;
}

.number-department-code {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 38px;
    padding: 6px 10px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #edf7e9;
    color: #346e2a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.number-department-name {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    color: #26352e;
    font-size: 15px;
    font-weight: 800;
}

.number-department-position {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
    color: #858d98;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.number-department-separator {
    color: #858d98;
    font-weight: 700;
}

.number-department-date {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #edf8e9;
    color: #285f2c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .number-department {
        grid-template-columns: 53px minmax(0, 1fr);
        column-gap: 12px;
        min-height: 85px;
    }
    .number-department-date {
        white-space: normal;
    }
}

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ========================================
RÉCAP
======================================== */

.recap-section {
    padding:
        90px
        max(
            22px,
            calc((100vw - var(--page-width)) / 2)
        );

    background: var(--light-grey);
}

.recap-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}

.recap-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
}

.recap-image,
.recap-video {
    min-height: 230px;

    background: #e1eadf;
}

.recap-video {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green-dark);

    font-size: 58px;
}

.recap-card > div:last-child {
    padding: 20px;
}

.recap-card span {
    display: block;

    margin-bottom: 7px;

    color: var(--green-dark);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.recap-card h3 {
    margin: 0;

    font-size: 24px;

    line-height: 1.1;
}


/* ========================================
SOUTENIR
======================================== */
.support-section {
    padding: 95px 22px;

    text-align: center;

    background: #ffffff;
}

.support-section h2 {
    max-width: 900px;

    margin:
        0
        auto;

    font-size: clamp(2.2rem, 3.5vw, 3.4rem);

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.support-section p {
    max-width: 540px;

    margin:
        28px
        auto
        0;

    color: var(--grey);

    font-size: 18px;

    line-height: 1.55;

    text-align: center;
}

.support-button {
    display: inline-block;

    margin-top: 26px;

    padding:
        15px
        28px;

    background: #f2b561;

    color: #593b25;

    font-weight: 900;

    text-decoration: none;
}

.support-button:hover {
    background: #eaaa51;
}

.support-button:focus-visible {
    outline: 2px solid #80522e;
    outline-offset: 3px;
}

/* ========================================
TABLETTE
======================================== */

@media (max-width: 900px) {

    .home-intro-inner {
        width: calc(100% - 40px);

        grid-template-columns:
            62px
            1px
            minmax(0, 1fr);

        gap: 18px;

        padding: 22px 0;
    }

    .intro-icon {
        width: 62px;
        height: 58px;
    }

    .intro-icon img {
        width: 50px !important;
        height: 50px !important;

        min-width: 50px !important;
        min-height: 50px !important;

        max-width: 50px !important;
        max-height: 50px !important;
    }

    .intro-separator {
        height: 64px;
    }

    .intro-button {
        grid-column: 3;

        justify-self: start;
    }

    .region-route-badge {
        display: none;
    }

    .department-stages {
        padding-left: 25px;
    }
}


/* ========================================
MOBILE
======================================== */

@media (max-width: 760px) {

    .home-intro-inner {
        width: calc(100% - 36px);

        grid-template-columns:
            44px
            minmax(0, 1fr);

        gap: 13px;

        padding: 20px 0;
    }

    .intro-icon {
        width: 44px;
        height: 44px;

        align-self: start;
    }

    .intro-icon img {
        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
        min-height: 38px !important;

        max-width: 38px !important;
        max-height: 38px !important;
    }

    .intro-separator {
        display: none;
    }

    .intro-content h2 {
        font-size: 22px;
    }

    .intro-content p {
        font-size: 15px;
    }

    .intro-button {
        grid-column: 2;

        width: 100%;

        min-width: 0;
        min-height: 50px;

        padding: 0 15px;

        font-size: 14px;
    }


    /* HERO */

    .home-hero {
        width: calc(100% - 24px);

        padding:
            10px
            0
            18px;

        display: flex;
        flex-direction: column;

        gap: 7px;
    }

    .hero-content {
        display: contents;
    }

    .hero-editorial {
        order: 1;

        padding:
            30px
            22px
            30px;

        background: #fbfaf6;

        border: 1px solid #e5e5dd;
    }

    .hero-editorial-kicker {
        margin-bottom: 6px;

        font-size: 10px;
    }

    .hero-editorial h1 {
        margin-bottom: 18px;

        font-size:
            clamp(
                38px,
                12vw,
                54px
            );

        line-height: 0.97;

        letter-spacing: -1.7px;
    }

    .hero-editorial p {
        font-size: 15px;

        line-height: 1.55;
    }

    .video-wrapper {
        order: 2;

        min-height: 0;

        padding: 14px;
    }

    .video-frame {
        width: min(100%, 390px);
        height: auto;

        aspect-ratio: 9 / 16;

        box-shadow:
            0
            12px
            28px
            rgba(29, 42, 30, 0.11),
            0
            2px
            6px
            rgba(29, 42, 30, 0.06);
    }

    .home-actions {
        order: 3;

        padding: 0;

        grid-template-columns: 1fr;

        gap: 5px;

        margin-top: 0;
    }

    .home-action {
        min-height: 67px;

        padding:
            10px
            15px;
    }

    .action-label {
        font-size: 8px;
    }

    .action-bottom strong {
        max-width: none;

        font-size: 16px;
    }

    .arrow .site-arrow {
        width: 24px;
    }

    .hero-after-actions {
        order: 4;

        padding:
            20px
            22px
            24px;

        background: #fbfaf6;

        border: 1px solid #e5e5dd;
    }

    .hero-after-actions p {
        max-width: none;

        font-size: 14px;

        line-height: 1.58;
    }


    /* RESTE MOBILE */

    .movement-section,
    .recap-section {
        padding:
            62px
            20px;
    }

    .movement-number {
        font-size: 57px;
    }

    .map-placeholder {
        min-height: 340px;

        margin-top: 24px;
    }

    .map-placeholder iframe {
        height: 340px;
    }

    .journey-section {
        width: calc(100% - 40px);

        padding: 62px 0;
    }

    .journey-intro {
        font-size: 15px;
    }

    .journey-legend {
        gap: 10px 16px;

        margin-bottom: 26px;
    }

    .journey-legend-item {
        font-size: 11px;
    }

    .region-summary {
        min-height: 70px;

        gap: 12px;
    }

    .region-name {
        gap: 11px;

        font-size: 17px;
    }

    .region-dot {
        width: 10px;
        height: 10px;

        flex-basis: 10px;
    }

    .region-arrow {
        margin-left: auto;

        font-size: 23px;
    }

    .department-list {
        padding:
            0
            0
            16px
            20px;
    }

    .department-heading {
        min-height: 54px;

        gap: 8px;
    }

    .department-code {
        min-width: 25px;

        font-size: 12px;
    }

    .department-name {
        font-size: 15px;
    }

    .department-route-label {
        display: none;
    }

    .department-stages {
        padding:
            0
            8px
            15px
            7px;

        gap: 8px;
    }

    .journey-stage {
        padding:
            14px
            15px
            15px;

        border-left-width: 3px;
    }

    .journey-stage-meta {
        font-size: 11px;
    }

    .journey-stage-city {
        font-size: 18px;
    }

    .journey-stage-department {
        font-size: 13px;
    }

    .journey-stage-type {
        font-size: 13px;
    }

    .recap-grid {
        grid-template-columns: 1fr;
    }

    .recap-image,
    .recap-video {
        min-height: 190px;
    }

    .support-section {
        padding:
            70px
            20px;
    }
}


/* ========================================
TRAJET — RESPONSIVE TABLETTE
======================================== */

@media (max-width: 900px) {

    .journey-title-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

    .journey-count {
        margin-bottom: 0;
    }

    .department-search {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .department-number-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


/* ========================================
TRAJET — RESPONSIVE MOBILE
======================================== */

@media (max-width: 760px) {

    .journey-section {
        width: calc(100% - 40px);

        padding: 62px 0;
    }

    .journey-title-row {
        margin-bottom: 27px;
    }

    .journey-title-row h2 {
        margin-bottom: 14px;
    }

    .journey-intro {
        font-size: 15px;
    }

    .department-search {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 20px;

        padding: 22px 17px;

        gap: 20px;
    }

    .department-search-copy h3 {
        font-size: 28px;
    }

    .department-search-copy p {
        font-size: 14px;
    }

    .department-search-field {
        min-height: 54px;
    }

    .department-search-field input {
        font-size: 15px;
    }

    .journey-tabs {
        overflow-x: auto;

        scrollbar-width: none;
    }

    .journey-tabs::-webkit-scrollbar {
        display: none;
    }

    .journey-tab {
        flex: 0 0 auto;

        min-height: 50px;

        padding: 0 12px;

        font-size: 13px;

        white-space: nowrap;
    }

    .journey-tab::after {
        left: 12px;
        right: 12px;
    }

    .department-number-grid {
        grid-template-columns: 1fr;
    }

    .number-department {
        min-height: 62px;
    }
}


/* ========================================
DESKTOP
1200px → 1699px
======================================== */

@media (min-width: 1200px) and (max-width: 1699px) {

    .home-hero {
        width: min(
            1840px,
            calc(100% - 110px)
        );

        height: calc(100vh - 228px);

        min-height: 500px;

        padding:
            14px
            0
            18px;

        display: grid;

        grid-template-columns:
            minmax(340px, 0.78fr)
            minmax(0, 2.22fr);

        align-items: stretch;

        gap: 14px;
    }


    /* ========================================
    VIDÉO
    ======================================== */

    .video-wrapper {
        width: 100%;
        height: 100%;

        min-width: 0;
        min-height: 0;

        padding:
            10px
            12px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-frame {
        height: 100%;
        width: auto;

        max-width: 100%;
        max-height: 100%;

        aspect-ratio: 9 / 16;
    }


    /* ========================================
    CONTENU
    ======================================== */

    .hero-content {
        width: 100%;
        height: 100%;

        min-width: 0;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }


    /* ========================================
    TEXTE
    ======================================== */

    .hero-editorial {
        flex: 0 0 auto;

        padding:
            34px
            clamp(42px, 3.7vw, 66px)
            22px;
    }

    .hero-editorial-kicker {
        margin-bottom: 6px;

        font-size: 12px;
    }

    .hero-editorial h1 {
        width: 100%;
        max-width: 100%;

        margin-bottom: 20px;

        font-size:
            clamp(
                45px,
                3.8vw,
                68px
            );

        line-height: 0.95;

        letter-spacing: -2.8px;
    }

    .hero-editorial p {
        max-width: 760px;

        font-size:
            clamp(
                15px,
                1.02vw,
                18px
            );

        line-height: 1.55;
    }


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

    .home-actions {
        flex: 0 0 auto;

        width: 100%;

        padding:
            0
            clamp(42px, 3.7vw, 66px);

        display: grid;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 10px;
    }

    .home-action {
        min-width: 0;
        min-height: 105px;

        padding:
            18px
            22px;
    }

    .action-label {
        font-size: 10px;
    }

    .action-bottom strong {
        max-width: 190px;

        font-size: 19px;

        line-height: 1.08;
    }

    .arrow .site-arrow {
        width: 28px;
    }


    /* ========================================
    TEXTE SOUS LES ACTIONS
    ======================================== */

    .hero-after-actions {
        flex: 1;

        min-height: 0;

        padding:
            20px
            clamp(42px, 3.7vw, 66px)
            10px;

        display: flex;
        align-items: flex-start;
    }

    .hero-after-actions p {
        max-width: 880px;

        font-size: 15px;

        line-height: 1.62;
    }


    /* ========================================
    RESTE DU DESKTOP
    ======================================== */

    .movement-section h2,
    .journey-section h2,
    .recap-section h2,
    .support-section h2 {
        width: 100%;

        max-width: none;
    }

    .movement-section,
    .recap-section {
        padding-left:
            max(
                55px,
                calc((100vw - 1500px) / 2)
            );

        padding-right:
            max(
                55px,
                calc((100vw - 1500px) / 2)
            );
    }

    .journey-section {
        width: min(
            1500px,
            calc(100% - 110px)
        );
    }

    .map-placeholder {
        min-height: 520px;
    }

    .map-placeholder iframe {
        height: 520px;
    }

    .department-stages {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .journey-stage:only-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 5px);
    }

    .recap-grid {
        gap: 24px;
    }

    .recap-image,
    .recap-video {
        min-height: 300px;
    }
}


/* ========================================
TRÈS GRAND ÉCRAN
1700px ET +
======================================== */

@media (min-width: 1700px) {

    .home-intro-inner {
        width: min(
            1880px,
            calc(100% - 150px)
        );
    }


    /* ========================================
    HERO
    ======================================== */

    .home-hero {
        width: min(
            1840px,
            calc(100% - 110px)
        );

        height: calc(100vh - 228px);

        min-height: 500px;

        padding:
            14px
            0
            18px;

        display: grid;

        grid-template-columns:
            minmax(365px, 0.76fr)
            minmax(0, 2.24fr);

        align-items: stretch;

        gap: 14px;
    }


    /* ========================================
    VIDÉO
    ======================================== */

    .video-wrapper {
        width: 100%;
        height: 100%;

        min-width: 0;
        min-height: 0;

        padding:
            10px
            12px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-frame {
        height: 100%;
        width: auto;

        max-width: 100%;
        max-height: 100%;

        aspect-ratio: 9 / 16;
    }


    /* ========================================
    CONTENU
    ======================================== */

    .hero-content {
        width: 100%;
        height: 100%;

        min-width: 0;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }


    /* ========================================
    TEXTE
    ======================================== */

    .hero-editorial {
        flex: 0 0 auto;

        padding:
            34px
            70px
            22px;
    }

    .hero-editorial-kicker {
        margin-bottom: 6px;

        font-size: 12px;
    }

    .hero-editorial h1 {
        width: 100%;
        max-width: 100%;

        margin-bottom: 20px;

        font-size:
            clamp(
                54px,
                3.55vw,
                71px
            );

        line-height: 0.95;

        letter-spacing: -3px;
    }

    .hero-editorial p {
        max-width: 800px;

        font-size: 17px;

        line-height: 1.55;
    }


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

    .home-actions {
        flex: 0 0 auto;

        width: 100%;

        padding:
            0
            70px;

        display: grid;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 10px;
    }

    .home-action {
        min-width: 0;
        min-height: 110px;

        padding:
            19px
            23px;
    }

    .action-label {
        font-size: 10px;
    }

    .action-bottom strong {
        max-width: 200px;

        font-size: 20px;

        line-height: 1.08;
    }

    .arrow .site-arrow {
        width: 29px;
    }


    /* ========================================
    TEXTE SOUS LES ACTIONS
    ======================================== */

    .hero-after-actions {
        flex: 1;

        min-height: 0;

        padding:
            22px
            70px
            10px;

        display: flex;
        align-items: flex-start;
    }

    .hero-after-actions p {
        max-width: 940px;

        font-size: 16px;

        line-height: 1.65;
    }


    /* ========================================
    RESTE DU GRAND ÉCRAN
    ======================================== */

    .movement-section h2,
    .journey-section h2,
    .recap-section h2,
    .support-section h2 {
        width: 100%;

        max-width: none;
    }

    .movement-section,
    .recap-section {
        padding-left:
            max(
                55px,
                calc((100vw - 1500px) / 2)
            );

        padding-right:
            max(
                55px,
                calc((100vw - 1500px) / 2)
            );
    }

    .journey-section {
        width: min(
            1500px,
            calc(100% - 110px)
        );
    }

    .map-placeholder {
        min-height: 520px;
    }

    .map-placeholder iframe {
        height: 520px;
    }

    .department-stages {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .journey-stage:only-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 5px);
    }

    .recap-grid {
        gap: 24px;
    }

    .recap-image,
    .recap-video {
        min-height: 300px;
    }
}

/* =========================================================
   HERO — PROPOSITION FINALE ALIGNÉE AU VISUEL
   À conserver TOUT EN BAS du fichier.
   Cette couche reprend uniquement la zone hero concernée.
   ========================================================= */

.hero-content {
    --hero-title-font: "Nunito Sans", "Inter", Arial, sans-serif;
    --hero-kicker-font: "Nunito", "Nunito Sans", Arial, sans-serif;
    --hero-body-font: "Inter", "Segoe UI", Arial, sans-serif;
    --hero-card-radius: 12px;

    background: #fbfaf6;
    border: 1px solid #e4e5de;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* =========================================================
   TEXTE ÉDITORIAL
   ========================================================= */

.hero-editorial {
    min-width: 0;
    padding:
        34px
        clamp(30px, 2.9vw, 48px)
        24px !important;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-editorial-kicker {
    display: inline-block;
    width: fit-content;

    margin: 0 0 6px !important;
    padding: 0 0 4px;

    color: #80522e;

    font-family: var(--hero-kicker-font) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;

    border-bottom: 2px solid rgba(242, 181, 97, 0.65);
}

.hero-editorial-kicker::after {
    content: none !important;
}

.hero-editorial h1 {
    width: 100%;
    max-width: none !important;

    margin: 0 0 24px !important;

    color: #20352a;

    font-family: var(--hero-title-font) !important;
    font-size: clamp(58px, 4.4vw, 82px) !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.055em !important;

    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-editorial p {
    width: 100%;
    max-width: none !important;
    margin: 0;

    color: #58625c;

    font-family: var(--hero-body-font) !important;
    font-size: clamp(16px, 1.02vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: -0.012em;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.home-actions {
    width: 100%;
    padding: 0 clamp(30px, 2.9vw, 48px) !important;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px !important;
    margin-top: 0;
}

.home-action {
    position: relative;

    min-width: 0;
    min-height: 104px !important;

    padding: 17px 21px !important;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: var(--hero-card-radius);
    text-decoration: none;

    font-family: var(--hero-kicker-font) !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease !important;
}

.home-action::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;
    pointer-events: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.action-label {
    font-family: var(--hero-kicker-font) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    letter-spacing: 0.05em !important;
    text-transform: uppercase;

    opacity: 0.8;
}

.action-bottom {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
}

.action-bottom strong {
    min-width: 0;
    max-width: none !important;

    font-family: var(--hero-kicker-font) !important;
    font-size: clamp(18px, 1.12vw, 20px) !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.018em !important;
}

.action-coral .action-bottom strong {
    white-space: nowrap;
}

.home-action .arrow {
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.home-action:not(.action-disabled):not(.action-light):hover .arrow {
    transform: translateX(5px);
}

/* ---------- Couleurs ---------- */

.action-coral,
.action-alert {
    background: linear-gradient(180deg, #e17069 0%, #dc6760 100%);
    color: #ffffff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.action-coral:hover,
.action-alert:hover {
    background: linear-gradient(180deg, #dc6760 0%, #d85f58 100%);
    transform: translateY(-2px);
    filter: none;
    box-shadow:
        0 10px 24px rgba(97, 53, 49, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.action-green {
    background: linear-gradient(180deg, #7ac970 0%, #73c268 100%);
    color: #16391d;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.10) inset;
}

.action-green:hover {
    background: linear-gradient(180deg, #72c367 0%, #69bb60 100%);
    transform: translateY(-2px);
    filter: none;
    box-shadow:
        0 10px 24px rgba(46, 87, 44, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Désactivé */
.home-action.action-disabled,
.home-action.action-light {
    background: #eceae5 !important;
    border: 1px solid #e3e0da !important;
    color: #8b9189 !important;
    box-shadow: none !important;
    transform: none !important;
}

.home-action.action-disabled::before,
.home-action.action-light::before {
    box-shadow: none;
}

.home-action.action-disabled .action-label,
.home-action.action-disabled strong,
.home-action.action-disabled .arrow,
.home-action.action-light .action-label,
.home-action.action-light strong,
.home-action.action-light .arrow {
    color: #8b9189 !important;
}

.home-action.action-disabled .action-coming-soon,
.home-action.action-light .action-coming-soon {
    top: 14px;
    right: 15px;

    padding: 4px 8px 3px;

    font-family: var(--hero-kicker-font) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.035em !important;

    border-radius: 2px;
}

/* =========================================================
   TEXTE SOUS LES ACTIONS
   ========================================================= */

.hero-after-actions {
    flex: 1;
    min-height: 0;

    padding:
        20px
        clamp(30px, 2.9vw, 48px)
        24px !important;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-after-actions p {
    width: 100%;
    max-width: none !important;
    margin: 0;

    color: #58615c;

    font-family: var(--hero-body-font) !important;
    font-size: clamp(14px, 0.86vw, 15.5px) !important;
    font-weight: 400 !important;
    line-height: 1.66 !important;
    letter-spacing: -0.008em;
}

/* =========================================================
   DESKTOP — STRUCTURE
   ========================================================= */

@media (min-width: 1200px) {
    .home-hero {
        width: min(1840px, calc(100% - 110px)) !important;
        height: calc(100vh - 228px);
        min-height: 500px;

        padding: 14px 0 18px;

        display: grid !important;
        grid-template-columns:
            minmax(300px, 0.62fr)
            minmax(0, 2.38fr) !important;

        align-items: stretch;
        gap: 12px !important;
    }

    .video-wrapper {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        padding: 10px 12px;
    }

    .video-frame {
        width: auto;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: 9 / 16;
    }

    .hero-content {
        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 1200px) and (max-width: 1499px) {
    .hero-editorial {
        padding: 30px 32px 22px !important;
    }

    .hero-editorial-kicker {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(54px, 4.1vw, 66px) !important;
        margin-bottom: 20px !important;
    }

    .hero-editorial p {
        font-size: 15.5px !important;
    }

    .home-actions {
        padding: 0 32px !important;
        gap: 10px !important;
    }

    .home-action {
        min-height: 96px !important;
        padding: 15px 18px !important;
    }

    .action-bottom strong {
        font-size: 17px !important;
    }

    .hero-after-actions {
        padding: 18px 32px 20px !important;
    }

    .hero-after-actions p {
        font-size: 14px !important;
    }
}

@media (min-width: 1500px) {
    .hero-editorial {
        padding: 34px clamp(36px, 2.75vw, 50px) 26px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(66px, 3.9vw, 84px) !important;
    }

    .hero-editorial p {
        font-size: 17px !important;
    }

    .home-actions {
        padding: 0 clamp(36px, 2.75vw, 50px) !important;
    }

    .home-action {
        min-height: 108px !important;
    }

    .action-bottom strong {
        font-size: 19px !important;
    }

    .hero-after-actions {
        padding: 21px clamp(36px, 2.75vw, 50px) 24px !important;
    }

    .hero-after-actions p {
        font-size: 14.5px !important;
    }
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (min-width: 761px) and (max-width: 1199px) {
    .hero-editorial {
        padding: 30px 26px 24px !important;
    }

    .hero-editorial-kicker {
        font-size: 11px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(46px, 6vw, 62px) !important;
        line-height: 0.92 !important;
    }

    .hero-editorial p {
        max-width: none !important;
        font-size: 16px !important;
    }

    .home-actions {
        padding: 0 26px !important;
        gap: 8px !important;
    }

    .home-action {
        min-height: 92px !important;
        padding: 14px 16px !important;
    }

    .action-label {
        font-size: 9px !important;
    }

    .action-bottom strong {
        font-size: 16px !important;
    }

    .action-coral .action-bottom strong {
        white-space: normal;
    }

    .hero-after-actions {
        padding: 18px 26px 22px !important;
    }

    .hero-after-actions p {
        font-size: 14px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .home-hero {
        width: calc(100% - 24px);

        padding: 10px 0 18px;

        display: flex;
        flex-direction: column;

        gap: 7px;
    }

    .hero-content {
        display: contents;
    }

    .hero-editorial {
        order: 1;

        padding: 26px 20px 24px !important;

        background: #fbfaf6;

        border: 1px solid #e4e5de;
        border-radius: 10px;
    }

    .hero-editorial-kicker {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(38px, 11vw, 52px) !important;
        line-height: 0.93 !important;
        margin-bottom: 18px !important;
    }

    .hero-editorial p {
        max-width: none !important;
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .video-wrapper {
        order: 2;
    }

    .home-actions {
        order: 3;

        padding: 0 !important;
        grid-template-columns: 1fr;

        gap: 6px !important;
    }

    .home-action {
        min-height: 70px !important;
        padding: 11px 15px !important;
        border-radius: 8px;
    }

    .action-label {
        font-size: 9px !important;
    }

    .action-bottom strong {
        font-size: 16.5px !important;
    }

    .action-coral .action-bottom strong {
        white-space: normal;
    }

    .hero-after-actions {
        order: 4;

        padding: 18px 20px 20px !important;

        background: #fbfaf6;

        border: 1px solid #e4e5de;
        border-radius: 10px;
    }

    .hero-after-actions p {
        max-width: none !important;
        font-size: 14px !important;
        line-height: 1.62 !important;
    }
}

/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 420px) {
    .hero-editorial {
        padding-left: 17px !important;
        padding-right: 17px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(35px, 10.8vw, 44px) !important;
    }

    .action-bottom strong {
        font-size: 16px !important;
    }

    .hero-after-actions {
        padding-left: 17px !important;
        padding-right: 17px !important;
    }
}

/* =========================================================
   HERO — CORRECTION RESPONSIVE HAUTEUR
   À conserver tout en bas de home.css
   ========================================================= */

/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1200px) {

    .home-hero {
        width: min(1840px, calc(100% - 110px)) !important;

        /* IMPORTANT :
           plus de hauteur forcée sur les écrans peu hauts */
        height: auto !important;
        min-height: 500px;

        padding: 14px 0 18px;

        display: grid !important;
        grid-template-columns:
            minmax(300px, 0.62fr)
            minmax(0, 2.38fr) !important;

        align-items: stretch;
        gap: 12px !important;
    }

    .video-wrapper {
        width: 100%;

        height: auto !important;
        min-width: 0;
        min-height: 0;

        padding: 10px 12px;

        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .video-frame {
        width: min(100%, 420px) !important;
        height: auto !important;

        max-width: 100%;
        max-height: none !important;

        aspect-ratio: 9 / 16;
    }

    .hero-content {
        width: 100%;

        height: auto !important;
        min-width: 0;

        display: flex;
        flex-direction: column;

        overflow: visible !important;
    }

    .hero-after-actions {
        flex: 0 0 auto !important;

        min-height: 0;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ---------------------------------------------------------
   DESKTOP AVEC ASSEZ DE HAUTEUR
   On retrouve le hero calé sur le viewport seulement
   quand l'écran est réellement assez haut.
   --------------------------------------------------------- */

@media (min-width: 1200px) and (min-height: 800px) {

    .home-hero {
        height: calc(100vh - 228px) !important;
    }

    .video-wrapper {
        height: 100% !important;

        align-items: center;
    }

    .video-frame {
        width: auto !important;
        height: 100% !important;

        max-width: 100%;
        max-height: 100% !important;
    }

    .hero-content {
        height: 100% !important;
    }

    .hero-after-actions {
        flex: 1 1 auto !important;
    }
}


/* ---------------------------------------------------------
   DESKTOP INTERMÉDIAIRE : 1200 → 1499
   --------------------------------------------------------- */

@media (min-width: 1200px) and (max-width: 1499px) {

    .hero-editorial {
        padding: 30px 32px 22px !important;
    }

    .hero-editorial-kicker {
        margin-bottom: 6px !important;

        font-size: 11px !important;
    }

    .hero-editorial h1 {
        margin-bottom: 20px !important;

        font-size: clamp(54px, 4.1vw, 66px) !important;
    }

    .hero-editorial p {
        max-width: none !important;

        font-size: 15.5px !important;
    }

    .home-actions {
        padding: 0 32px !important;

        gap: 10px !important;
    }

    .home-action {
        min-height: 96px !important;

        padding: 15px 18px !important;
    }

    .action-bottom strong {
        font-size: 17px !important;
    }

    .hero-after-actions {
        padding: 18px 32px 22px !important;
    }

    .hero-after-actions p {
        width: 100%;
        max-width: none !important;

        font-size: 14px !important;
        line-height: 1.62 !important;
    }
}


/* ---------------------------------------------------------
   GRAND DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1500px) {

    .hero-editorial {
        padding:
            34px
            clamp(36px, 2.75vw, 50px)
            26px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(66px, 3.9vw, 84px) !important;
    }

    .hero-editorial p {
        max-width: none !important;

        font-size: 17px !important;
    }

    .home-actions {
        padding:
            0
            clamp(36px, 2.75vw, 50px) !important;
    }

    .home-action {
        min-height: 108px !important;
    }

    .action-bottom strong {
        font-size: 19px !important;
    }

    .hero-after-actions {
        padding:
            21px
            clamp(36px, 2.75vw, 50px)
            24px !important;
    }

    .hero-after-actions p {
        max-width: none !important;

        font-size: 14.5px !important;
    }
}


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (min-width: 761px) and (max-width: 1199px) {

    .home-hero {
        height: auto !important;
    }

    .hero-content {
        height: auto !important;

        overflow: visible !important;
    }

    .hero-editorial {
        padding: 30px 26px 24px !important;
    }

    .hero-editorial-kicker {
        font-size: 11px !important;
    }

    .hero-editorial h1 {
        font-size: clamp(46px, 6vw, 62px) !important;
        line-height: 0.92 !important;
    }

    .hero-editorial p {
        max-width: none !important;

        font-size: 16px !important;
    }

    .home-actions {
        padding: 0 26px !important;

        gap: 8px !important;
    }

    .home-action {
        min-height: 92px !important;

        padding: 14px 16px !important;
    }

    .action-label {
        font-size: 9px !important;
    }

    .action-bottom strong {
        font-size: 16px !important;
    }

    .action-coral .action-bottom strong {
        white-space: normal;
    }

    .hero-after-actions {
        flex: 0 0 auto !important;

        padding: 18px 26px 22px !important;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-after-actions p {
        max-width: none !important;

        font-size: 14px !important;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .home-hero {
        width: calc(100% - 24px);

        height: auto !important;

        padding: 10px 0 18px;

        display: flex;
        flex-direction: column;

        gap: 7px;
    }

    .hero-content {
        height: auto !important;

        display: contents;

        overflow: visible !important;
    }

    .hero-editorial {
        order: 1;

        padding: 26px 20px 24px !important;

        background: #fbfaf6;

        border: 1px solid #e4e5de;
        border-radius: 10px;
    }

    .hero-editorial-kicker {
        margin-bottom: 6px !important;

        font-size: 10px !important;
    }

    .hero-editorial h1 {
        margin-bottom: 18px !important;

        font-size: clamp(38px, 11vw, 52px) !important;
        line-height: 0.93 !important;
    }

    .hero-editorial p {
        max-width: none !important;

        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .video-wrapper {
        order: 2;

        height: auto !important;
    }

    .video-frame {
        width: min(100%, 390px) !important;
        height: auto !important;

        max-height: none !important;

        aspect-ratio: 9 / 16;
    }

    .home-actions {
        order: 3;

        padding: 0 !important;

        grid-template-columns: 1fr;

        gap: 6px !important;
    }

    .home-action {
        min-height: 70px !important;

        padding: 11px 15px !important;

        border-radius: 8px;
    }

    .action-label {
        font-size: 9px !important;
    }

    .action-bottom strong {
        font-size: 16.5px !important;
    }

    .action-coral .action-bottom strong {
        white-space: normal;
    }

    .hero-after-actions {
        order: 4;

        flex: 0 0 auto !important;

        padding: 18px 20px 20px !important;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        background: #fbfaf6;

        border: 1px solid #e4e5de;
        border-radius: 10px;
    }

    .hero-after-actions p {
        max-width: none !important;

        font-size: 14px !important;
        line-height: 1.62 !important;
    }
}

/* ========================================
   MOBILE — LISTE DES DÉPARTEMENTS
   ======================================== */

@media (max-width: 600px) {

    /* Onglets équilibrés */
    .journey-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        overflow: visible;
    }

    .journey-tab {
        min-width: 0;
        padding: 12px 5px;
        font-family: "Nunito Sans", sans-serif;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }

    .journey-tab::after {
        left: 5px;
        right: 5px;
    }

    /* Liste par numéro de département */
    .department-number-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .number-department {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        align-items: center;
        column-gap: 15px;
        min-height: 85px;
        padding: 12px 0;
    }

    /* Pastille du numéro */
    .number-department-code {
        grid-column: 1;
        grid-row: 1 / span 2;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 50px;
        height: 38px;
        border-radius: 999px;

        background: #edf7e9;
        color: #315f2b;
        font-size: 17px;
        font-weight: 800;
    }

    .number-department-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        line-height: 1.3;
    }

    /* Position et date dans une zone flexible */
    .number-department-position {
        grid-column: 2;
        grid-row: 2;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;

        margin-top: 5px;
        font-size: 11px;
        line-height: 1.35;
    }

    /* La date ne doit pas se couper */
    .number-department-date {
        display: inline-block;
        max-width: 100%;
        padding: 4px 10px;

        background: #edf7e9;
        border-radius: 999px;

        color: #315f2b;
        font-size: 11px;
        font-weight: 600;

        white-space: nowrap;
    }
}

.mobilisation-stats.mobilisation-stats--home {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #344e41;
    border-bottom: 1px solid #eceeeb;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 12px;
}

.mobilisation-stats--home > span {
    flex: 1 1 240px;
    margin: 0;
    padding: clamp(4px, 0.5vw, 6px);
    line-height: 1.35;
    text-align: center;
}

.mobilisation-stats--home .counter--participants {
    background: #FFE0A0;
}

.mobilisation-stats--home .counter--aides {
    background: #A3DCE4;
}

.mobilisation-stats--home .counter--contributions {
    background: #BDA9E8;
}

.mobilisation-stats--home strong {
    font-weight: 800;
}

/* Couleurs des départements : même palette régionale que la carte. */
/* Bretagne */
.journey-section [data-department-code="22"],
.journey-section [data-department-code="29"],
.journey-section [data-department-code="35"],
.journey-section [data-department-code="56"] {
    --department-color: #9ED9E5;
}

/* Normandie */
.journey-section [data-department-code="14"],
.journey-section [data-department-code="27"],
.journey-section [data-department-code="50"],
.journey-section [data-department-code="61"],
.journey-section [data-department-code="76"] {
    --department-color: #F0C5B8;
}

/* Hauts-de-France */
.journey-section [data-department-code="02"],
.journey-section [data-department-code="59"],
.journey-section [data-department-code="60"],
.journey-section [data-department-code="62"],
.journey-section [data-department-code="80"] {
    --department-color: #B5B5B5;
}

/* Île-de-France */
.journey-section [data-department-code="75"],
.journey-section [data-department-code="77"],
.journey-section [data-department-code="78"],
.journey-section [data-department-code="91"],
.journey-section [data-department-code="92"],
.journey-section [data-department-code="93"],
.journey-section [data-department-code="94"],
.journey-section [data-department-code="95"] {
    --department-color: #C8EAF5;
}

/* Grand Est */
.journey-section [data-department-code="08"],
.journey-section [data-department-code="10"],
.journey-section [data-department-code="51"],
.journey-section [data-department-code="52"],
.journey-section [data-department-code="54"],
.journey-section [data-department-code="55"],
.journey-section [data-department-code="57"],
.journey-section [data-department-code="67"],
.journey-section [data-department-code="68"],
.journey-section [data-department-code="88"] {
    --department-color: #FFF59A;
}

/* Pays de la Loire */
.journey-section [data-department-code="44"],
.journey-section [data-department-code="49"],
.journey-section [data-department-code="53"],
.journey-section [data-department-code="72"],
.journey-section [data-department-code="85"] {
    --department-color: #E5B4D0;
}

/* Centre-Val de Loire */
.journey-section [data-department-code="18"],
.journey-section [data-department-code="28"],
.journey-section [data-department-code="36"],
.journey-section [data-department-code="37"],
.journey-section [data-department-code="41"],
.journey-section [data-department-code="45"] {
    --department-color: #DEC16E;
}

/* Bourgogne-Franche-Comté */
.journey-section [data-department-code="21"],
.journey-section [data-department-code="25"],
.journey-section [data-department-code="39"],
.journey-section [data-department-code="58"],
.journey-section [data-department-code="70"],
.journey-section [data-department-code="71"],
.journey-section [data-department-code="89"],
.journey-section [data-department-code="90"] {
    --department-color: #A9D19A;
}

/* Nouvelle-Aquitaine */
.journey-section [data-department-code="16"],
.journey-section [data-department-code="17"],
.journey-section [data-department-code="19"],
.journey-section [data-department-code="23"],
.journey-section [data-department-code="24"],
.journey-section [data-department-code="33"],
.journey-section [data-department-code="40"],
.journey-section [data-department-code="47"],
.journey-section [data-department-code="64"],
.journey-section [data-department-code="79"],
.journey-section [data-department-code="86"],
.journey-section [data-department-code="87"] {
    --department-color: #C6DC90;
}

/* Auvergne-Rhône-Alpes */
.journey-section [data-department-code="01"],
.journey-section [data-department-code="03"],
.journey-section [data-department-code="07"],
.journey-section [data-department-code="15"],
.journey-section [data-department-code="26"],
.journey-section [data-department-code="38"],
.journey-section [data-department-code="42"],
.journey-section [data-department-code="43"],
.journey-section [data-department-code="63"],
.journey-section [data-department-code="69"],
.journey-section [data-department-code="73"],
.journey-section [data-department-code="74"] {
    --department-color: #8BC3E6;
}

/* Occitanie */
.journey-section [data-department-code="09"],
.journey-section [data-department-code="11"],
.journey-section [data-department-code="12"],
.journey-section [data-department-code="30"],
.journey-section [data-department-code="31"],
.journey-section [data-department-code="32"],
.journey-section [data-department-code="34"],
.journey-section [data-department-code="46"],
.journey-section [data-department-code="48"],
.journey-section [data-department-code="65"],
.journey-section [data-department-code="66"],
.journey-section [data-department-code="81"],
.journey-section [data-department-code="82"] {
    --department-color: #F49B72;
}

/* Provence-Alpes-Côte d’Azur */
.journey-section [data-department-code="04"],
.journey-section [data-department-code="05"],
.journey-section [data-department-code="06"],
.journey-section [data-department-code="13"],
.journey-section [data-department-code="83"],
.journey-section [data-department-code="84"] {
    --department-color: #F8AD35;
}

/* Corse */
.journey-section [data-department-code="2A"],
.journey-section [data-department-code="2B"] {
    --department-color: #AADEC3;
}

.journey-section [data-department-position="24"],
.journey-section [data-department-position="25"],
.journey-section [data-department-position="26"],
.route-list .route-department[data-department-position="24"],
.route-list .route-department[data-department-position="25"],
.route-list .route-department[data-department-position="26"] {
    --department-color: #f5d852;
    --route-region: #f5d852;
}

.route-list .route-department::before,
.route-list .route-department::after,
.route-list .route-department.is-start::after,
.route-list .route-department.is-finish::after {
    background: #B8AAAA;
}

.journey-section [data-department-code] {
    --department-ink: #fffdf8;
}

.route-list .route-position,
.route-list .route-department-label,
.number-department .number-department-code {
    background: var(--department-color, #eee9e9);
    color: var(--department-ink, #34483a);
}

.route-list .route-department .route-marker-start {
    background: #edf3ee;
    border-color: #d8e3da;
    color: #54715d;
}

.route-list .route-department .route-marker-finish {
    background: #f3eef2;
    border-color: #e4dbe2;
    color: #80677a;
}

.number-department .number-department-date {
    background: #eee9e9;
    color: #625656;
}

.route-list .route-department.is-search-match,
.number-department.is-search-match {
    background: color-mix(in srgb, var(--department-color, #928484) 20%, white);
}
/* Accueil : panneau et cartes de la maquette, sous l'encart de présentation. */
.welcome-home-hero {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    font-family: 'DM Sans', Arial, sans-serif;
    color: #172331;
}
.welcome-home-hero *, .welcome-home-hero *::before, .welcome-home-hero *::after { box-sizing: border-box; }
.welcome-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    background: #f7f5ee;
    border: 1px solid #e7e6e0;
    border-radius: 12px;
    min-width: 0;
}
.welcome-video-frame { width: 100%; max-width: 268px; }
.welcome-video-frame video { display: block; width: 100%; max-height: min(600px, 75svh); aspect-ratio: 9 / 16; object-fit: contain; background: #172331; border-radius: 3px; }
.welcome-hero-content { min-width: 0; padding: clamp(21px, 2.4vw, 36px); container-type: inline-size; background: #fffdfa; border: 0; border-radius: 0; }
.welcome-hero-editorial-kicker { display: inline-block; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid #ed6c73; color: #ed6c73; font-size: 14px; font-weight: 800; letter-spacing: .025em; }
.welcome-hero-editorial h1 { margin: 0 0 12px; font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 400; line-height: 1.25; letter-spacing: -.025em; color: #1d2a3a; text-wrap: balance; }
.welcome-hero-editorial p, .welcome-hero-after-actions p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: #5c6670; }
.welcome-home-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 12px; margin-bottom: 22px; }
.welcome-home-action { position: relative; min-width: 0; min-height: 138px; padding: 20px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; border-radius: 12px; text-decoration: none; color: #172331; transition: transform .15s, filter .15s; }
.welcome-home-action:hover { transform: translateY(-3px); filter: saturate(1.08); color: #172331; }
.welcome-action-contribution { background: #ffe5ac; }
.welcome-action-coral { background: #afe4eb; }
.welcome-action-green { background: #d4bdf6; }
.welcome-action-label { min-height: 42px; padding-right: 64px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.welcome-symbol { position: absolute; top: 0; right: 0; width: 80px; height: 80px; object-fit: contain; pointer-events: none; }
.welcome-action-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.welcome-action-bottom strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(1rem, .9rem + .3vw, 1.125rem); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.welcome-action-bottom .arrow { flex: 0 0 23px; display: flex; }
.welcome-action-bottom .arrow svg { width: 23px; height: 23px; }
.welcome-hero-after-actions p { margin-bottom: 20px; }
.welcome-home-hero .flyer-download { width: 100%; margin: 0; padding: 17px 21px; gap: 18px; border: 0; border-radius: 12px; background: #465c70; color: white; }
.welcome-home-hero .flyer-download:hover { background: #526f89; }
.welcome-home-hero .flyer-download__icon { width: 52px; height: 52px; flex-basis: 52px; background: #f5f8fb; color: #344e65; }
.welcome-home-hero .flyer-download__content { overflow-wrap: anywhere; }
.welcome-home-hero .flyer-download__content strong { color: white; font-size: 17px; }
.welcome-home-hero .flyer-download__content span { color: #e4edf5; font-size: 13px; }
.welcome-home-hero .flyer-download::after { content: '→'; margin-left: auto; font-size: 26px; }
.welcome-home-action:focus-visible, .welcome-home-hero .flyer-download:focus-visible { outline: 3px solid #293a49; outline-offset: 4px; }
@media (max-width: 1050px) {
    .welcome-home-hero { grid-template-columns: minmax(0, 1fr); }
    .welcome-hero-content { padding: 25px 22px; }
    .welcome-home-action { padding: 20px 14px; }
}
@media (max-width: 760px) {
    .welcome-home-hero { width: 100%; grid-template-columns: minmax(0, 1fr); }
    .welcome-video-wrapper { width: min(100%, 270px); justify-self: center; }
    .welcome-video-frame video { max-height: min(360px, 65svh); }
    .welcome-hero-content { padding: 21px 15px; }
    .welcome-home-actions { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .welcome-home-action { min-height: 120px; gap: 16px; }
    .welcome-home-hero .flyer-download { padding: 13px; gap: 12px; }
    .welcome-home-hero .flyer-download__content strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .welcome-home-action, .welcome-home-hero .flyer-download { transition: none; }
    .welcome-home-action:hover, .welcome-home-hero .flyer-download:hover { transform: none; }
}

/* La ligne entière mène à la page de l'étape. */
.journey-section a.route-department,
.journey-section a.number-department {
    color: inherit;
    text-decoration: none;
}
.journey-section a.route-department:hover,
.journey-section a.number-department:hover {
    background: color-mix(in srgb, var(--department-color, #928484) 20%, white);
}
.journey-section a.route-department:focus-visible,
.journey-section a.number-department:focus-visible {
    outline: 3px solid #465c70;
    outline-offset: 3px;
}

.welcome-home-hero .flyer-download__icon img { display: block; width: 72px; height: 72px; max-width: none; object-fit: contain; }

/* Vidéo de présentation sous les actions et journal de la veille. */
.home-presentation-video { margin: 0; text-align: center; }
.welcome-hero-editorial p { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.home-presentation-video .welcome-video-wrapper { width: min(100%, 315px); margin-inline: auto; padding: 0; }
.home-presentation-video .welcome-video-frame { max-width: 315px; }
.home-presentation-video .welcome-video-frame video { max-height: min(560px, 80svh); }
.home-daily-journal { box-sizing: border-box; width: 100%; margin: 24px auto; padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 3vw, 40px); background: color-mix(in srgb, var(--journal-region-color) 15%, white); border: 0; border-radius: 0; color: #172331; }
.home-daily-journal-content { min-width: 0; }
.home-daily-journal h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; margin: 12px 0; text-wrap: balance; }
.home-daily-journal p { line-height: 1.6; overflow-wrap: anywhere; }
.home-daily-journal-text { white-space: pre-line; }
.home-daily-journal .intro-button { display: inline-flex; min-width: 0; max-width: 100%; white-space: normal; padding: 12px 19px; }
.home-daily-youtube-link { display: block; width: fit-content; margin-top: 16px; color: #344e65; text-underline-offset: 3px; }
.home-daily-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #172331; }
.home-daily-video-pending { text-align: center; padding: 24px; }
.home-daily-journal a:focus-visible { outline: 3px solid #293a49; outline-offset: 4px; }
@media (max-width: 760px) {
    .home-daily-journal { width: 100%; grid-template-columns: minmax(0, 1fr); }
    .home-presentation-video .welcome-video-wrapper { width: min(100%, 270px); }
    .home-presentation-video .welcome-video-frame video { max-height: min(480px, 75svh); }
}

.home-compact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.home-compact-action { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 9px 12px; border-radius: 7px; color: #172331; font: 700 13px/1.3 'DM Sans', Arial, sans-serif; text-decoration: none; }
.home-compact-action:hover { filter: brightness(.96); }
.home-compact-action:focus-visible { outline: 3px solid #293a49; outline-offset: 3px; }
.home-presentation-resources { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: 28px; }
.home-presentation-resources > * { min-width: 0; }
.home-flyer-feature { padding: clamp(16px, 2vw, 28px); background: transparent; border: 0; border-radius: 0; }
.home-flyer-feature h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; text-wrap: balance; }
.home-flyer-feature .welcome-hero-editorial-kicker { color: #465c70; border-color: #465c70; }
@media (max-width: 760px) {
    .home-presentation-resources { grid-template-columns: minmax(0, 1fr); }
    .home-compact-actions { gap: 7px; }
    .home-compact-action { flex: 1 1 145px; }
}

/* Le journal est visible dès le haut de l’accueil. */
.home-daily-journal { margin-block: 0; padding: clamp(14px, 2vw, 24px); gap: clamp(16px, 2vw, 28px); }
.home-daily-journal h2 { font-size: clamp(1.2rem, 2vw, 1.7rem); margin: 8px 0; }
.home-daily-journal-content > p { margin: 8px 0; font-size: 14px; line-height: 1.45; }
.home-daily-journal-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-daily-journal .intro-button { min-height: 40px; padding: 8px 12px; font-size: 13px; }
.home-daily-youtube-link { margin-top: 10px; font-size: 13px; }
.home-daily-journal .home-compact-actions { margin-top: 12px; }
.home-tomorrow { margin-top: 14px; padding-top: 10px; border-top: 1px solid #17233126; color: #505b62; }
.home-tomorrow p { margin: 0; font-size: 12px; line-height: 1.5; }
.home-tomorrow strong { font-weight: 600; }
.home-tomorrow a { color: inherit; text-underline-offset: 2px; }
@media (max-width: 760px) {
    .home-daily-video, .home-daily-video-pending { grid-row: 1; }
    .home-daily-journal { gap: 12px; }
    .home-daily-journal-content .section-label { font-size: 11px; }
    .home-daily-journal-text { -webkit-line-clamp: 2; }
}

.home-presentation-video .welcome-video-wrapper { border: 0; border-radius: 0; background: transparent; }

.home-journal-date { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--journal-region-color); color: #172331; font-size: 12px; font-weight: 700; line-height: 1.3; }

.welcome-hero-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.welcome-hero-heading .welcome-hero-editorial-kicker { flex: 0 0 auto; margin: 0; }
.welcome-hero-heading h1 { margin: 0; min-width: 0; }

/* Présentation responsive de la marche. */
.lms-pop, .lms-pop * { box-sizing: border-box; }
.lms-pop { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.lms-pop{--coral:#f57d5f;--orange:#f7b332;--yellow:#f3d548;--mint:#b9d96c;--blue:#8ed0f2;--peach:#f8c8b8;--shadow:#9fcd7c;background:#fff8ef;color:#2f4a46;position:relative;overflow:hidden;isolation:isolate}
.lms-pop__wrap{width:100%;max-width:1160px;margin:0 auto;padding:clamp(28px,3vw,44px) clamp(20px,3vw,40px) clamp(36px,3.5vw,52px);position:relative;z-index:2}
.lms-pop__badge{display:inline-flex;align-items:center;gap:10px;background:var(--orange);color:#fff;padding:10px 18px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em}
.lms-pop__badge-dot{width:10px;height:10px;border-radius:50%;background:#fff4b0}
/* Une échelle contenue et des lignes courtes, y compris sur ordinateur portable. */
.lms-pop__content{display:flex;flex-direction:column;gap:clamp(24px,2.5vw,32px);margin-top:24px}
.lms-pop__title{margin:0;max-width:100%;font-size:clamp(1.75rem,3.3vw,3rem);line-height:1.35;letter-spacing:-.035em;font-weight:900;color:#35524d;text-wrap:balance}
.lms-pop__title .chip{display:inline;padding:0 .18em .05em;border-radius:10px;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#fff;background:var(--coral);white-space:nowrap}
.lms-pop__title .chip--blue{background:var(--blue);color:#21516a}
.lms-pop__card{position:relative;width:100%;background:#fffdf9;border:2px solid rgba(245,125,95,.1);border-radius:20px;padding:clamp(22px,2.5vw,32px);box-shadow:7px 8px 0 var(--shadow)}
.lms-pop__card p{margin:0 auto;font-size:clamp(1rem,.9rem + .2vw,1.125rem);line-height:1.65;color:#425752;max-width:72ch}
.lms-pop__card strong{color:#dc6a4c}
.lms-pop__sun{position:absolute;top:-24px;right:20px;width:48px;height:48px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:24px;color:#d07c00;transform:rotate(12deg)}
.lms-pop__blob{position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.lms-pop__blob--1{width:220px;height:220px;background:#fff0b2;top:-95px;right:-70px}
.lms-pop__blob--2{width:140px;height:140px;background:#dff3fb;bottom:-50px;left:-40px}
.lms-pop__blob--3{width:90px;height:90px;background:#ffd8ca;top:38%;right:9%}
@media(max-width:700px){
 .lms-pop__wrap{padding:28px 20px 36px}
 .lms-pop__content{gap:26px;margin-top:20px}
 .lms-pop__title{font-size:clamp(1.75rem,5.5vw,2.25rem)}
 .lms-pop__card{padding:26px 20px 22px;box-shadow:5px 6px 0 var(--shadow)}
 .lms-pop__sun{width:40px;height:40px;top:-20px;right:14px;font-size:21px}
}


/* Accueil — refresh */
.home-refresh{
  --bg:#FFF8EF; --card:#FFFDF9; --ink:#35524D; --muted:#626B70;
  --coral:#F57D5F; --sun:#F7B332; --sky:#8ED0F2; --mint:#AFE2E7; --lilac:#D6BCF2; --sand:#FFF0E9;
  --line:#E5D4C9; --deep:#21516A;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
  color-scheme:light;
}
.home-refresh *{box-sizing:border-box}
.home-refresh{scroll-padding-top:env(safe-area-inset-top,0px)}
.home-refresh{margin:0;background:var(--bg);color:var(--ink);font:400 1.05rem/1.6 Figtree,system-ui,sans-serif;display:flex;flex-direction:column}
.home-refresh h1,.home-refresh h2,.home-refresh h3{font-family:'Bricolage Grotesque',Figtree,system-ui,sans-serif;line-height:1.05;margin:0}
.home-refresh a{color:inherit}
.home-refresh :focus-visible{outline:3px solid var(--deep);outline-offset:3px;border-radius:8px}
.home-refresh .wrap{max-width:1120px;margin:0 auto;padding:0 clamp(1rem,4vw,2rem)}
.home-refresh .hero{position:relative;overflow:hidden;padding:clamp(3rem,8vw,6rem) 0 clamp(5rem,9vw,7rem)}
.home-refresh .hero::before{content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;background:var(--sun);opacity:.35}
.home-refresh .hero::after{content:"";position:absolute;right:8%;bottom:-70px;width:170px;height:170px;border-radius:50%;background:var(--coral);opacity:.3}
.home-refresh .badge{display:inline-flex;align-items:center;gap:.6rem;background:var(--sun);color:#513D13;font-weight:600;padding:.45rem 1.1rem;border-radius:99px;font-size:.95rem}
.home-refresh .badge i{width:10px;height:10px;border-radius:50%;background:#fff;animation:none}
.home-refresh .hero h1{font-size:clamp(2.1rem,5.4vw,4.4rem);font-weight:800;margin:1.4rem 0 1.2rem;max-width:none;letter-spacing:-.02em}
.home-refresh mark{padding:.02em .22em;border-radius:.2em;color:#fff;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.home-refresh mark.t{background:var(--coral)}
.home-refresh mark.d{background:var(--sky);color:#21516A}
.home-refresh .lead{max-width:56ch;color:var(--muted);font-size:1.2rem;margin:0 0 2rem}
:is(.home-refresh, .home-share) .cta{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.9rem;max-width:760px;position:relative;z-index:1}
:is(.home-refresh, .home-share) .btn{display:flex;flex-direction:column;gap:.15rem;padding:1.1rem 1.3rem;border-radius:20px;text-decoration:none;color:#172331;transition:transform .15s}
:is(.home-refresh, .home-share) .btn:hover{transform:translateY(-3px)}
:is(.home-refresh, .home-share) .btn b{font:800 1.2rem 'Bricolage Grotesque',system-ui,sans-serif}
:is(.home-refresh, .home-share) .btn span{font-size:.92rem;opacity:.8}
:is(.home-refresh, .home-share) .b1{background:#FFE4A5}
:is(.home-refresh, .home-share) .b2{background:#AFE2E7}
:is(.home-refresh, .home-share) .b3{background:#D6BCF2}
.home-refresh .journal{margin-top:-3.2rem;position:relative;z-index:2}
.home-refresh .jcard{background:var(--sand);border-radius:32px;border:2px solid var(--line);display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;box-shadow:0 18px 0 -8px var(--sand)}
.home-refresh .jtext{padding:clamp(1.4rem,4vw,2.6rem)}
.home-refresh .tag{font-weight:600;color:var(--coral);font-size:1rem}
.home-refresh .jtext h2{font-size:clamp(2rem,4.5vw,3.2rem);margin:.4rem 0 1rem;font-weight:800}
.home-refresh .chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.4rem}
.home-refresh .chip{padding:.3rem .9rem;border-radius:99px;font-weight:600;font-size:.95rem}
.home-refresh .c-date{background:#FF9E70;color:#35524D}
.home-refresh .c-day{background:var(--card)}
.home-refresh .link{display:inline-flex;gap:.5rem;align-items:center;font-weight:600;background:var(--ink);color:var(--bg);padding:.8rem 1.4rem;border-radius:14px;text-decoration:none}
.home-refresh .link:hover{background:var(--deep);color:#fff}
.home-refresh .video{position:relative;background:linear-gradient(135deg,var(--sky),var(--mint));display:grid;place-items:center;min-height:280px;text-align:center;padding:1.5rem;color:#21516A}
.home-refresh .play{width:84px;height:84px;border-radius:50%;background:#fff;display:grid;place-items:center;margin:0 auto 1rem;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.home-refresh .play svg{margin-left:6px}
.home-refresh .route{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.5);padding:1.4rem clamp(1.4rem,4vw,2.6rem);position:relative}
.home-refresh .route::before{content:"";position:absolute;left:12%;right:12%;top:2.55rem;border-top:3px dashed var(--coral);opacity:.6}
.home-refresh .step{position:relative;text-align:center;font-size:.95rem}
.home-refresh .step .dot{width:26px;height:26px;border-radius:50%;background:var(--card);border:4px solid var(--line);margin:0 auto .5rem;position:relative}
.home-refresh .step.now .dot{background:var(--coral);border-color:var(--card);box-shadow:0 0 0 4px var(--coral);width:32px;height:32px;margin-top:-3px}
.home-refresh .step.next .dot{border-color:var(--sun)}
.home-refresh .step b{display:block;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-size:1.15rem}
.home-refresh .step small{color:var(--muted);font-size:.9rem}
.home-refresh .step a{font-weight:600;font-size:.9rem}
.home-refresh .about{order:-1;background:#FFF0E9;color:var(--ink);padding:.7rem 0}
.home-refresh .about .wrap{max-width:1240px}
.home-refresh .abox{display:grid;grid-template-columns:auto 1fr auto;gap:clamp(.7rem,2vw,1.2rem);align-items:center}
.home-refresh .abox h2{font-size:1.15rem;font-weight:800;display:inline;margin-right:.5rem;color:#EF6D70}
.home-refresh .abox p{margin:0;display:inline;font-size:.88rem;line-height:1.35;color:var(--muted)}
.home-refresh .abox div:nth-child(2){line-height:1.35}
.home-refresh .feet{width:34px;height:34px;display:grid;place-items:center}
.home-refresh .feet svg{width:28px;height:28px}
.home-refresh .ghost{display:inline-block;padding:.35rem .9rem;border-radius:10px;border:1px solid var(--line);background:transparent;color:var(--ink);font-weight:600;font-size:.85rem;text-decoration:none;white-space:nowrap}
.home-refresh .ghost:hover{background:#fbd5ce;border-color:#ef6d70;color:#a63e49}
@media (max-width:820px){.home-refresh .jcard{grid-template-columns:1fr}
.home-refresh .abox{grid-template-columns:1fr auto}
.home-refresh .feet{display:none}
.home-refresh .abox div:nth-child(2){grid-column:1/-1}
.home-refresh .ghost{justify-self:start}
.home-refresh .route::before{left:16%;right:16%}}
@media (prefers-reduced-motion:reduce){.home-refresh *{animation:none!important;transition:none!important}}
.home-refresh{display:flex;flex-direction:column;padding:0 0 40px;font-family:'DM Sans',system-ui,sans-serif}
.home-refresh h1,.home-refresh h2,.home-refresh h3,:is(.home-refresh, .home-share) .btn b,.home-refresh .step b{font-family:Manrope,system-ui,sans-serif}
.home-refresh .feet img{width:34px;height:42px;object-fit:contain}
.home-refresh .video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:14px}
.home-refresh .video.has-video{padding:0;min-height:0;background:#172331}
.home-refresh .journal-youtube{display:block;margin-top:14px;font-size:14px}
.home-refresh .journal-excerpt{font-size:15px;line-height:1.6;white-space:pre-line}
.home-refresh .hero h1{font-size:clamp(2rem,4.6vw,3.7rem)}
.home-refresh .lead{font-size:1rem;max-width:72ch}
.home-refresh .jtext h2{font-size:clamp(1.7rem,3vw,2.6rem)}
@media(max-width:600px){.home-refresh .route{grid-template-columns:1fr;gap:20px}.home-refresh .route::before{display:none}.home-refresh .link{font-size:14px}.home-refresh .hero{padding-top:32px}}


/* Accueil — share */
/* Accueil : vidéo de présentation et flyer, proposition Claude. */
.home-share {
    background: #fff;
    color: #35524d;
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    font-family: 'DM Sans', system-ui, sans-serif;
}
.home-share, .home-share * { box-sizing: border-box; }
.home-share__grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}
.home-share__phone {
    aspect-ratio: 9 / 16;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #172331;
    box-shadow: none;
}
.home-share__phone video { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-share__content { min-width: 0; display: flex; flex-direction: column; gap: clamp(2rem, 3.5vw, 3.5rem); }
.home-share__tag { color: #b74831; font-size: 1rem; font-weight: 600; }
.home-share h2 {
    font: 800 clamp(1.9rem, 4vw, 3rem)/1.05 Manrope, system-ui, sans-serif;
    color: #35524d;
    margin: .4rem 0 1rem;
}
.home-share__content > p { max-width: 58ch; color: #626b70; font-size: 1rem; line-height: 1.6; margin: 0; }
.home-share__flyer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    background: #d8eef7;
    color: #35524d;
    border-radius: 24px;
    padding: 1.2rem 1.6rem;
    text-decoration: none;
    margin-top: 1.6rem;
}
.home-share__paper {
    width: 92px;
    height: 126px;
    background: #fff;
    border-radius: 6px;
    transform: rotate(-6deg);
    box-shadow: 0 8px 0 -2px rgb(0 0 0 / 12%);
    padding: 9px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.home-share__paper i { display: block; height: 6px; background: #f57d5f; border-radius: 3px; }
.home-share__paper i:nth-child(2) { width: 60%; background: #8ed0f2; }
.home-share__paper i:nth-child(n+3) { background: #e5d4c9; height: 4px; }
.home-share__flyer-copy { display: block; font-size: 1rem; line-height: 1.6; }
.home-share__flyer-copy > strong { font: 800 1.4rem/1.25 Manrope, system-ui, sans-serif; display: block; margin-bottom: 6px; }
.home-share__flyer-copy > span { display: block; }
.home-share__download { display: inline-flex; align-items: center; justify-content: center; background: #35524d; color: #fff; padding: .6rem 1.2rem; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.home-share__flyer:hover .home-share__download { background: #21516a; }
.home-share :focus-visible { outline: 3px solid #21516a; outline-offset: 4px; }
@media (max-width: 820px) {
    .home-share__grid { grid-template-columns: minmax(0, 1fr); }
    .home-share__phone { max-width: 300px; margin: 0 auto; }
    .home-share__flyer { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}


/* Accueil — responsive */
/* Échelle fluide de l'accueil : largeur CSS disponible, hauteur et zoom utilisateur. */
.home-page {
    --bg: #fff8ef;
    --home-width: 100%;
    --home-gutter: clamp(1rem, 5vw, 5rem);
    --home-section: clamp(1.75rem, 3.5vw, 3.75rem);
    --home-body: clamp(.875rem, .82rem + .16vw, 1rem);
    --home-title: clamp(1.5rem, 1.08rem + 1.2vw, 2.4rem);
    font-size: var(--home-body);
    line-height: 1.55;
    min-width: 0;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page :is(h1, h2, h3, p, a, .home-share__flyer-copy) { overflow-wrap: anywhere; }
.home-page :is(.wrap, .home-share__grid) { width: min(100%, var(--home-width)); max-width: var(--home-width); padding-inline: var(--home-gutter); }
.home-page :is(.home-refresh, .home-share) { font-size: var(--home-body); }
.home-page .home-refresh { padding-bottom: 0; }
.home-page .home-refresh .about { border-top: 0; border-image: none; padding-block: .75rem; }
.home-page .home-refresh .abox { gap: 1rem; }
.home-page .home-refresh .abox h2 { font-size: clamp(1rem, .9rem + .25vw, 1.2rem); line-height: 1.3; }
.home-page .home-refresh .abox p { font-size: clamp(.8125rem, .75rem + .18vw, .9375rem); line-height: 1.5; }
.home-page .home-refresh .hero { padding: var(--home-section) 0 calc(var(--home-section) + 3rem); }
.home-page .home-refresh .hero h1 { font-size: clamp(1.75rem, 1rem + 2.15vw, 3rem); line-height: 1.2; margin: 1rem 0; letter-spacing: -.025em; text-wrap: balance; }
.home-page .home-refresh .lead { font-size: var(--home-body); max-width: 76ch; margin-bottom: 1.25rem; line-height: 1.6; }
.home-page .home-refresh :is(.badge, .tag) { font-size: clamp(.75rem, .7rem + .15vw, .9rem); }
.home-page .home-refresh .badge { padding: .35rem .85rem; }
.home-page :is(.home-refresh, .home-share) .cta { max-width: 47rem; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.home-page :is(.home-refresh, .home-share) .btn { padding: .85rem 1rem; border-radius: 1rem; min-height: 2.75rem; min-width: 0; }
.home-page :is(.home-refresh, .home-share) .btn b { font-size: clamp(.9375rem, .85rem + .25vw, 1.125rem); line-height: 1.3; }
.home-page :is(.home-refresh, .home-share) .btn span { font-size: clamp(.8125rem, .75rem + .15vw, .9rem); }
.home-page .home-refresh .jcard { border-radius: 1.4rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.home-page .home-refresh .jtext { padding: clamp(1rem, 2vw, 2rem); min-width: 0; }
.home-page .home-refresh .jtext h2 { font-size: var(--home-title); line-height: 1.2; margin: .5rem 0 1rem; }
.home-page .home-refresh .chips { margin-bottom: 1rem; gap: .4rem; }
.home-page .home-refresh .chip { font-size: .8125rem; padding: .25rem .65rem; }
.home-page .home-refresh .journal-excerpt { font-size: var(--home-body); }
.home-page .home-refresh .link { font-size: var(--home-body); padding: .65rem 1rem; min-height: 2.75rem; }
.home-page .home-refresh .video { min-height: clamp(10rem, 18vw, 17rem); font-size: var(--home-body); }
.home-page .home-refresh .route { padding: 1rem; gap: 1rem; }
.home-page .home-refresh .route::before { top: 2.05rem; }
.home-page .home-refresh .step { min-width: 0; font-size: var(--home-body); }
.home-page .home-refresh .step b { font-size: clamp(.875rem, .8rem + .2vw, 1rem); line-height: 1.35; }
.home-page .home-refresh .step :is(small, a) { font-size: .8125rem; }
.home-page .home-share { padding-block: var(--home-section); }
.home-page .home-share__grid { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.home-page .home-share__phone { width: min(100%, 17rem, 32svh); justify-self: center; }
.home-page .home-share h2 { font-size: var(--home-title); line-height: 1.2; }
.home-page :is(.home-share__tag, .home-share__content > p, .home-share__flyer-copy) { font-size: var(--home-body); }
.home-page .home-share__flyer { padding: 1rem 1.25rem; gap: 1rem; margin-top: 0; }
.home-page .home-share__flyer-copy > strong { font-size: clamp(1rem, .9rem + .3vw, 1.25rem); }
.home-page .home-share__paper { width: 4.5rem; height: 6.25rem; }
.home-page .home-share__download { font-size: .875rem; min-height: 2.75rem; }
.home-page :is(.movement-section, .journey-section) { width: min(var(--home-width), 100%); max-width: none; padding: var(--home-section) var(--home-gutter); margin: 0 auto; }
.home-page :is(.movement-section, .journey-section, .support-section) h2 { font-size: var(--home-title); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 1rem; }
.home-page :is(.journey-intro, .support-section p) { font-size: var(--home-body); line-height: 1.6; }
.home-page .section-label { font-size: .75rem; margin-bottom: .625rem; }
.home-page .march-map-component { max-width: min(100%, 38rem); }
.home-page .march-map-component__svg { background: transparent; }
.home-page .march-map-component__svg .fond { fill: transparent; }
.home-page .march-map-component__svg svg { display: block; width: 100%; height: auto; max-height: 68svh; }
.home-page .journey-title-row { margin-bottom: 1.5rem; gap: 1rem; }
.home-page .journey-suggestion { gap: 1rem; padding: 1rem; min-height: 0; flex-wrap: wrap; }
.home-page .journey-suggestion-content { flex: 1 1 18rem; }
.home-page .journey-suggestion-content :is(h3, p) { line-height: 1.5; }
.home-page .journey-suggestion-button { min-height: 2.75rem; white-space: normal; }
.home-page .department-search { padding: clamp(1rem, 2vw, 1.5rem); gap: 1.5rem; margin-inline: 0; min-width: 0; }
.home-page .department-search-copy h3 { font-size: clamp(1.125rem, 1rem + .3vw, 1.4rem); line-height: 1.3; }
.home-page .department-search-copy p { font-size: var(--home-body); }
.home-page .department-search-field { min-width: 0; padding: .75rem 1rem; }
.home-page .department-search-field input { width: 100%; min-width: 0; font-size: 1rem; }
.home-page .journey-section :is(.route-department, .number-department) { overflow-wrap: normal; word-break: normal; }
.home-page .support-section { padding: var(--home-section) var(--home-gutter); }
.home-page .support-button,
.home-page .journey-suggestion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 170px;
    padding: 0 16px;
    background: var(--coral);
    color: #fff;
    border: 0;
    border-radius: 7px;
    font: 900 17px/1 'Nunito Sans', sans-serif;
    text-decoration: none;
}
.home-page .support-button:hover,
.home-page .journey-suggestion-button:hover { background: var(--coral); color: #fff; filter: brightness(.96); transform: none; }
.home-page :is(.movement-section, .support-section) { background: var(--bg); }
.home-page .journey-section { background: #fff; }
.home-page .journey-suggestion { background: #fff0e9; border-color: #efc6c3; color: #aa3e46; }
.home-page .journey-suggestion-content h3 { color: #aa3e46; }
.home-page .journey-suggestion-content p { color: #6f3e46; }
.home-page .journey-suggestion-content a { color: #aa3e46; font-weight: 700; text-underline-offset: 3px; }
.home-page .journey-suggestion-button:focus-visible { outline: 3px solid #aa3e46; outline-offset: 3px; }
.home-page .mobilisation-stats--home > span { flex-basis: 12rem; font-size: .75rem; }
/* Les portables peu hauts gardent davantage de contenu visible. */
@media (min-width: 821px) and (max-height: 850px) {
    .home-page { --home-section: clamp(1.5rem, 3vh, 2rem); --home-title: clamp(1.5rem, 1rem + 1vw, 2rem); }
    .home-page .home-refresh .hero h1 { font-size: clamp(1.75rem, .9rem + 2vw, 2.6rem); }
    .home-page .home-refresh .hero::before { width: 17rem; height: 17rem; }
}
@media (max-width: 820px) {
    .home-page .home-refresh .jcard { grid-template-columns: minmax(0, 1fr); }
    .home-page .home-refresh .video { min-height: 9rem; }
    .home-page .home-share__grid { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 1.5rem; }
    .home-page .home-share__phone { width: min(100%, 15rem, 35svh); }
    .home-page .home-share__flyer { grid-template-columns: auto minmax(0, 1fr); }
    .home-page .home-share__paper { width: 3.5rem; height: 5rem; }
    .home-page .department-search { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .home-page .home-refresh .route { grid-template-columns: minmax(0, 1fr); }
    .home-page .home-refresh .route::before { display: none; }
    .home-page .home-share__grid { grid-template-columns: minmax(0, 1fr); }
    .home-page .home-share__phone { width: min(72%, 14rem); }
    .home-page .home-share__flyer { padding: 1rem; }
    .home-page .home-share__paper { width: 3rem; height: 4.5rem; }
    .home-page .home-refresh .ghost { min-height: 2.75rem; display: inline-flex; align-items: center; }
    .home-page .home-refresh .hero::before { width: 13rem; height: 13rem; }
}
@media (max-width: 420px) {
    .home-page .home-share__flyer { grid-template-columns: minmax(0, 1fr); }
}

/* Recherche et navigation accessibles, adaptées aux blocs actuels de l'accueil. */
.home-page .welcome-route-shortcut { margin: 1rem 0 0; }
.home-page .welcome-route-shortcut a { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; color: #293a49; font-weight: 700; text-underline-offset: 4px; }
.home-page :is(.welcome-route-shortcut a, .journey-tab):focus-visible { outline: 3px solid #293a49; outline-offset: 4px; }
.home-page #department-search-input { scroll-margin-top: 100px; }
.home-page :is(:is(.home-refresh, .home-share) .btn, .home-share__flyer-copy) { overflow-wrap: normal; word-break: normal; hyphens: none; }
.home-page :is(.movement-section, .journey-section, .support-section, .mobilisation-stats--home) { font-family: 'DM Sans', Arial, sans-serif; }
.home-page :is(.movement-section h2, .journey-section h2, .support-section h2, .journey-suggestion h3, .department-search-copy h3) { font-family: Manrope, system-ui, sans-serif; }
@media (max-width: 760px) {
    .home-page :is(.home-refresh, .home-share) .btn { min-height: 74px; padding: 12px 14px; gap: 4px; }
}

/* Utiliser la largeur disponible, avec les mêmes petites marges latérales. */
.home-page .home-refresh .wrap { width: 100%; max-width: none; }
/* Laisser les paragraphes utiliser la largeur disponible et les mots entiers. */
.home-page .journey-title-row > div { width: 100%; min-width: 0; }
.home-page .journey-intro,
.home-page .home-refresh .lead { max-width: none; }
.home-page p { text-wrap: wrap; overflow-wrap: normal; word-break: normal; hyphens: none; }
.home-page .home-refresh .feet { width: 94px; height: 78px; }
.home-page .home-refresh .feet img { width: 70px; height: 70px; object-fit: contain; }
.home-page .home-refresh .abox :is(h2, p > strong) { color: #ef6d70; }
.home-page .home-refresh .journal { margin-top: 0; padding-top: 0; }
.home-page .home-refresh .home-journal-invitation,
.home-page .home-refresh .journal > .wrap {
    width: min(calc(100% - 2 * var(--home-gutter)), 76rem);
    max-width: 76rem;
    padding-inline: 0;
}
.home-page .home-refresh .home-journal-invitation { margin-top: var(--home-section); padding-block: .25rem; background: #ffbea9; text-align: center; }
.home-page .home-refresh .jcard { border: 0; }
.home-page .home-refresh .jtext { min-height: clamp(15rem, 16vw, 20rem); }
.home-page .home-refresh .jtext h2 { font-size: var(--home-body); font-weight: 700; line-height: 1.4; }
.home-page .home-journal-invitation p { margin: 0; font-size: var(--home-body); line-height: 1.6; }
.home-page .home-journal-invitation .home-journal-invitation__title { color: #35524d; font-size: clamp(1rem, .95rem + .2vw, 1.2rem); font-weight: 800; line-height: 1.35; }
.home-page .home-journal-invitation__rule { display: block; width: 30px; height: 2px; margin: .625rem auto; background: #ef6d70; }
.home-page .home-journal-invitation .home-journal-invitation__text { color: #21516a; font-size: clamp(.8125rem, .75rem + .15vw, .9375rem); line-height: 1.6; }
.home-page .home-promise-actions { margin-top: clamp(1.5rem, 3vw, 3rem); margin-bottom: clamp(1rem, 2.5vw, 2.5rem); }
.home-page .home-promise-actions .cta { margin-inline: auto; }
.home-page .home-share__promise { display: flex; flex-direction: column; gap: clamp(1.25rem, 2vw, 1.75rem); margin-bottom: 0; }
.home-page .home-share__promise h1 {
    margin: 0;
    color: #35524d;
    font: 800 clamp(1.65rem, 1.1rem + 1.4vw, 2.5rem)/1.25 Manrope, system-ui, sans-serif;
    letter-spacing: -.025em;
}
.home-page .home-share__promise .lead { margin: 0; color: #626b70; font-size: var(--home-body); line-height: 1.7; }
.home-page .home-promise-actions .cta { gap: clamp(.75rem, 1.2vw, 1.125rem); }
.home-page .home-share__promise mark {
    position: relative;
    display: inline-block;
    isolation: isolate;
    padding: .02em .24em;
    margin-inline: .03em;
    background: transparent;
    white-space: nowrap;
    border-radius: 0;
}
.home-page .home-share__promise mark::before {
    content: '';
    position: absolute;
    inset: -.025em -.06em;
    z-index: -1;
    background: linear-gradient(180deg, #ffffff55, #ffffff0a 28%, #00000008 65%, #ffffff35), var(--tape-color);
    opacity: .9;
    clip-path: polygon(1% 4%, 7% 1%, 22% 3%, 43% 0, 67% 3%, 89% 1%, 99% 5%, 98% 22%, 100% 39%, 98% 61%, 100% 79%, 98% 96%, 76% 99%, 53% 96%, 31% 100%, 10% 97%, 0 99%, 2% 75%, 0 55%, 2% 29%);
    transform: rotate(-2deg) skewX(-2deg);
    pointer-events: none;
}
.home-page .home-share__promise mark.t { --tape-color: #f57d5f; color: #fff; }
.home-page .home-share__promise mark.d { --tape-color: #8ed0f2; color: #21516a; }
.home-page .home-share__promise mark.d::before { transform: rotate(1.5deg) skewX(2deg); }
@media (max-width: 820px) {
    .home-page .home-refresh .abox { grid-template-columns: auto minmax(0, 1fr); }
    .home-page .home-refresh .feet { display: grid; width: 56px; height: 64px; }
    .home-page .home-refresh .feet img { width: 56px; height: 56px; }
    .home-page .home-refresh .abox div:nth-child(2) { grid-column: 2; }
    .home-page .home-refresh .ghost { grid-column: 2; }
}


/* Accueil — table */
/* Tableau des départements : présentation historique du 23 octobre 2026 (225fd4b). */
.home-page .journey-tabs {
    margin-bottom: 2px;

    display: flex;
    align-items: flex-end;

    gap: 6px;

    border-bottom: 1px solid var(--route-line);
}

.home-page .journey-tab {
    position: relative;

    min-height: 52px;

    padding: 0 18px;

    border: 0;

    background: transparent;

    color: #747a73;

    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}

.home-page .journey-tab::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: -1px;

    height: 3px;

    background: transparent;
}

.home-page .journey-tab:hover {
    color: #344038;
}

.home-page .journey-tab.is-active {
    color: var(--route-green-deep);
}

.home-page .journey-tab.is-active::after {
    background: var(--route-green);
}

.home-page .journey-panel {
    padding-top: 18px;
}

.home-page .journey-panel[hidden] {
    display: none;
}

.home-page .route-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 46px;
    row-gap: 0;
}

.home-page .route-list .route-department {
    position: relative;
    display: grid;
    grid-template-columns: 98px 218px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    min-height: 56px;
    margin: 0;
    padding: 0 92px 0 34px;
    box-sizing: border-box;
    border-bottom: 1px solid #e8ece6;
    background: transparent;
    transition: background .16s ease;
}

.home-page .route-list .route-department::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d5e6d3;
    pointer-events: none;
}

.home-page .route-list .route-department::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #8ebd93;
    pointer-events: none;
}

.home-page .route-list .route-department.is-start::after,
.home-page .route-list .route-department.is-finish::after {
    background: #30933e;
}

.home-page .route-list .route-department:nth-last-child(-n+2)::before {
    bottom: 50%;
}

.home-page .route-list .route-department:nth-child(-n+2)::before {
    top: 50%;
}

.home-page .route-list .route-position {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-width: 88px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f0f7ef;
    color: #34483a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
}

.home-page .route-list .route-day {
    grid-column: 2;
    grid-row: 1;
    color: #438845;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.home-page .route-list .route-department-label {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
}

.home-page .route-list .route-department-label .route-name,
.home-page .route-list .route-department.is-start .route-name,
.home-page .route-list .route-department.is-finish .route-name {
    color: #26352e;
    font-size: 15px;
    font-weight: 700;
}

.home-page .route-list .route-department-label .route-code {
    color: #398c3e;
    font-size: 14px;
    font-weight: 700;
}

.home-page .route-list .route-department .route-marker {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    grid-column: auto;
    justify-self: auto;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: .02em;
    text-transform: none;
    line-height: 1.2;
}

.home-page .route-marker-start {
    background: #eaf5e6;
    color: #4d853f;
}

.home-page .route-marker-finish {
    background: #fff0ea;
    color: #bd6158;
}

.home-page .route-list .route-department.is-search-match {
    padding-left: 34px;
    padding-right: 92px;
    background: #f0f8ed;
}

.home-page .number-department.is-search-match {
    background: #f0f8ed;
}

.home-page .route-list .route-department {
    --route-region: #8ebd93;
    --route-tag-background: color-mix(in srgb, var(--route-region) 48%, white);
    background: color-mix(in srgb, var(--route-region) 18%, white);
    border-bottom: 5px solid white;
    border-radius: 8px;
}

.home-page .route-list .route-department:is([data-department-code="22"], [data-department-code="29"], [data-department-code="35"], [data-department-code="56"]) {
    --route-region: #9ED9E5;
}

.home-page .route-list .route-department:is([data-department-code="14"], [data-department-code="27"], [data-department-code="50"], [data-department-code="61"], [data-department-code="76"]) {
    --route-region: #F0C5B8;
}

.home-page .route-list .route-department:is([data-department-code="02"], [data-department-code="59"], [data-department-code="60"], [data-department-code="62"], [data-department-code="80"]) {
    --route-region: #B5B5B5;
}

.home-page .route-list .route-department:is([data-department-code="75"], [data-department-code="77"], [data-department-code="78"], [data-department-code="91"], [data-department-code="92"], [data-department-code="93"], [data-department-code="94"], [data-department-code="95"]) {
    --route-region: #C8EAF5;
}

.home-page .route-list .route-department:is([data-department-code="08"], [data-department-code="10"], [data-department-code="51"], [data-department-code="52"], [data-department-code="54"], [data-department-code="55"], [data-department-code="57"], [data-department-code="67"], [data-department-code="68"], [data-department-code="88"]) {
    --route-region: #FFF59A;
}

.home-page .route-list .route-department:is([data-department-code="44"], [data-department-code="49"], [data-department-code="53"], [data-department-code="72"], [data-department-code="85"]) {
    --route-region: #E5B4D0;
}

.home-page .route-list .route-department:is([data-department-code="18"], [data-department-code="28"], [data-department-code="36"], [data-department-code="37"], [data-department-code="41"], [data-department-code="45"]) {
    --route-region: #DEC16E;
}

.home-page .route-list .route-department:is([data-department-code="21"], [data-department-code="25"], [data-department-code="39"], [data-department-code="58"], [data-department-code="70"], [data-department-code="71"], [data-department-code="89"], [data-department-code="90"]) {
    --route-region: #A9D19A;
}

.home-page .route-list .route-department:is([data-department-code="16"], [data-department-code="17"], [data-department-code="19"], [data-department-code="23"], [data-department-code="24"], [data-department-code="33"], [data-department-code="40"], [data-department-code="47"], [data-department-code="64"], [data-department-code="79"], [data-department-code="86"], [data-department-code="87"]) {
    --route-region: #C6DC90;
}

.home-page .route-list .route-department:is([data-department-code="01"], [data-department-code="03"], [data-department-code="07"], [data-department-code="15"], [data-department-code="26"], [data-department-code="38"], [data-department-code="42"], [data-department-code="43"], [data-department-code="63"], [data-department-code="69"], [data-department-code="73"], [data-department-code="74"]) {
    --route-region: #8BC3E6;
}

.home-page .route-list .route-department:is([data-department-code="09"], [data-department-code="11"], [data-department-code="12"], [data-department-code="30"], [data-department-code="31"], [data-department-code="32"], [data-department-code="34"], [data-department-code="46"], [data-department-code="48"], [data-department-code="65"], [data-department-code="66"], [data-department-code="81"], [data-department-code="82"]) {
    --route-region: #F49B72;
}

.home-page .route-list .route-department:is([data-department-code="04"], [data-department-code="05"], [data-department-code="06"], [data-department-code="13"], [data-department-code="83"], [data-department-code="84"]) {
    --route-region: #F8AD35;
}

.home-page .route-list .route-department:is([data-department-code="2A"], [data-department-code="2B"]) {
    --route-region: #AADEC3;
}

.home-page .route-list .route-department::after,
.home-page .route-list .route-department.is-start::after,
.home-page .route-list .route-department.is-finish::after {
    background: var(--route-region);
}

.home-page .route-list .route-position,
.home-page .route-list .route-department-label {
    background: var(--route-tag-background);
}

.home-page .route-list .route-department-label {
    justify-self: start;
    background: var(--department-color, var(--route-region, #928484));
    padding: 9px 12px;
    border-radius: 9px;
}

.home-page .route-list .route-department.is-search-match {
    background: color-mix(in srgb, var(--route-region) 28%, white);
    box-shadow: inset 0 0 0 2px var(--route-region);
}

@media (max-width: 1250px) {
.home-page .route-list {
        grid-template-columns: 1fr;
    }

.home-page .route-list .route-department:nth-child(-n+2)::before {
        top: 0;
    }

.home-page .route-list .route-department:first-child::before {
        top: 50%;
    }

.home-page .route-list .route-department:nth-last-child(-n+2)::before {
        bottom: 0;
    }

.home-page .route-list .route-department:last-child::before {
        bottom: 50%;
    }
}

@media (max-width: 700px) {
.home-page .route-list .route-department {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 5px;
        min-height: 96px;
        padding: 12px 85px 12px 27px;
    }

.home-page .route-list .route-position {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        padding: 6px 10px;
        font-size: 11px;
    }

.home-page .route-list .route-day {
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
        white-space: normal;
    }

.home-page .route-list .route-department-label {
        grid-column: 1;
        grid-row: 3;
    }

.home-page .route-list .route-department-label .route-name {
        font-size: 14px;
    }

.home-page .route-list .route-department .route-marker {
        right: 10px;
        padding: 6px 8px;
        font-size: 10px;
    }

.home-page .route-list .route-department.is-search-match {
        padding-left: 27px;
        padding-right: 85px;
    }
}

.home-page .department-number-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 30px;
}

.home-page .number-department {
    min-height: 80px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 16px;
    border-bottom: 1px solid #e8ece6;
    transition: background .16s ease;
}

.home-page .number-department-code {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 38px;
    padding: 6px 10px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #edf7e9;
    color: #346e2a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.home-page .number-department-name {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    color: #26352e;
    font-size: 15px;
    font-weight: 800;
}

.home-page .number-department-position {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
    color: #858d98;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.home-page .number-department-separator {
    color: #858d98;
    font-weight: 700;
}

.home-page .number-department-date {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #edf8e9;
    color: #285f2c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

@media (max-width: 700px) {
.home-page .number-department {
        grid-template-columns: 53px minmax(0, 1fr);
        column-gap: 12px;
        min-height: 85px;
    }

.home-page .number-department-date {
        white-space: normal;
    }
}

@media (max-width: 900px) {
.home-page .department-number-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 760px) {
.home-page .journey-tabs {
        overflow-x: auto;

        scrollbar-width: none;
    }

.home-page .journey-tabs::-webkit-scrollbar {
        display: none;
    }

.home-page .journey-tab {
        flex: 0 0 auto;

        min-height: 50px;

        padding: 0 12px;

        font-size: 13px;

        white-space: nowrap;
    }

.home-page .journey-tab::after {
        left: 12px;
        right: 12px;
    }

.home-page .department-number-grid {
        grid-template-columns: 1fr;
    }

.home-page .number-department {
        min-height: 62px;
    }
}

@media (max-width: 600px) {
.home-page .journey-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        overflow: visible;
    }

.home-page .journey-tab {
        min-width: 0;
        padding: 12px 5px;
        font-family: "Nunito Sans", sans-serif;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }

.home-page .journey-tab::after {
        left: 5px;
        right: 5px;
    }

.home-page .department-number-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

.home-page .number-department {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        align-items: center;
        column-gap: 15px;
        min-height: 85px;
        padding: 12px 0;
    }

.home-page .number-department-code {
        grid-column: 1;
        grid-row: 1 / span 2;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 50px;
        height: 38px;
        border-radius: 999px;

        background: #edf7e9;
        color: #315f2b;
        font-size: 17px;
        font-weight: 800;
    }

.home-page .number-department-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        line-height: 1.3;
    }

.home-page .number-department-position {
        grid-column: 2;
        grid-row: 2;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;

        margin-top: 5px;
        font-size: 11px;
        line-height: 1.35;
    }

.home-page .number-department-date {
        display: inline-block;
        max-width: 100%;
        padding: 4px 10px;

        background: #edf7e9;
        border-radius: 999px;

        color: #315f2b;
        font-size: 11px;
        font-weight: 600;

        white-space: nowrap;
    }
}

.home-page .route-list .route-department::before,
.home-page .route-list .route-department::after,
.home-page .route-list .route-department.is-start::after,
.home-page .route-list .route-department.is-finish::after {
    background: #928484;
}

.home-page .route-list .route-position,
.home-page .number-department .number-department-code {
    background: var(--department-color, #eee9e9);
    color: #302c2c;
}

.home-page .route-list .route-day,
.home-page .route-list .route-department-label .route-code {
    color: #716565;
}

.home-page .route-list .route-department .route-marker {
    background: #eee9e9;
    color: #625656;
}
.home-page .route-list .route-department .route-marker.route-marker-start {
    background: #edf5fa;
    color: #315970;
    border: 1px solid #c5dce8;
}
.home-page .route-list .route-department .route-marker.route-marker-finish {
    background: #fff0f1;
    color: #a24e59;
    border: 1px solid #edc3c7;
}

.home-page .number-department .number-department-date {
    background: #eee9e9;
    color: #625656;
}

.home-page .route-list .route-department.is-search-match,
.home-page .number-department.is-search-match {
    background: color-mix(in srgb, var(--department-color, #928484) 20%, white);
}

/* Journal vidéo plein cadre — référence fournie. */
.home-page .home-diary {--paper:#fffdfa;--ink:#172331;--coral:#ed6c73;--line:#e8e5e0;--violet:#bda9e8}
.home-page .home-diary * {box-sizing:border-box}
.home-page .home-diary a {color:inherit}
.home-page .home-diary button, .home-page .home-diary a {-webkit-tap-highlight-color:transparent}
.home-page .home-diary a:focus-visible, .home-page .home-diary button:focus-visible {outline:3px solid #173e55;outline-offset:5px}
.home-page .home-diary {max-width:1600px;margin:20px auto;border:1px solid var(--line);border-radius:28px;overflow:hidden;background:#fffdfa;box-shadow:0 10px 0 #efe9f7}
.home-page .home-diary .journal-banner {display:flex;justify-content:space-between;align-items:center;gap:16px;background:#ed6c73;color:#ffffff;padding:15px clamp(18px,3vw,40px);font-size:14px;font-weight:750;letter-spacing:.02em}
.home-page .home-diary .journal-banner span:last-child {font-weight:500;font-size:13px}
.home-page .home-diary .journal-media {position:relative;isolation:isolate;width:100%;height:clamp(470px,43vw,670px);background:linear-gradient(110deg,#8ecfed,#afe4eb);overflow:hidden}
.home-page .home-diary .journal-video {position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;object-fit:cover}
.home-page .home-diary .journal-media::before {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(23,35,49,.10),transparent 60%);z-index:1;pointer-events:none}
.home-page .home-diary .journal-video-status {position:absolute;top:23%;left:50%;transform:translateX(-50%);width:min(90%,650px);margin:0;text-align:center;color:#286482;font-size:clamp(15px,1.4vw,21px);font-weight:650;line-height:1.5}
.home-page .home-diary .journal-card {position:absolute;z-index:2;left:clamp(16px,3vw,44px);bottom:clamp(20px,3vw,44px);width:min(660px,calc(100% - 32px));padding:clamp(20px,2.6vw,34px);background:rgba(255,253,250,.94);border:1px solid rgba(255,255,255,.8);border-radius:22px;box-shadow:0 12px 40px #17233118;backdrop-filter:blur(12px)}
.home-page .home-diary .journal-eyebrow {display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#c34259;font-size:13px;font-weight:750}
.home-page .home-diary .journal-eyebrow::before {content:"";width:8px;height:8px;border-radius:50%;background:var(--coral)}
.home-page .home-diary .journal-title {margin:0 0 18px;font-size:clamp(28px,3vw,46px);line-height:1.12;letter-spacing:-.035em;font-weight:750;overflow-wrap:normal;word-break:normal}
.home-page .home-diary .journal-tags {list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 22px}
.home-page .home-diary .journal-tags li {padding:7px 12px;background:#fffdf9;border-radius:100px;font-size:13px;font-weight:650}
.home-page .home-diary .journal-tags li:first-child {background:#d4bdf6;color:#172331}
.home-page .home-diary .journal-cta {display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:48px;padding:13px 18px;background:var(--ink);color:#ffffff;border-radius:13px;font-size:15px;font-weight:650;line-height:1.4;text-decoration:none}
.home-page .home-diary .journal-cta:hover {background:#293d53}
.home-page .home-diary .journal-cta span {font-size:22px;font-weight:400}
.home-page .home-diary .journal-footer {padding:28px clamp(18px,3vw,44px) 30px}
.home-page .home-diary .journal-timeline {position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;list-style:none;padding:0;margin:0}
.home-page .home-diary .journal-timeline::before {content:"";position:absolute;top:18px;left:16.66%;right:16.66%;border-top:2px dashed #ed6c73}
.home-page .home-diary .journal-step {position:relative;min-width:0;text-align:center}
.home-page .home-diary .journal-dot {position:relative;display:block;z-index:1;width:25px;height:25px;margin:6px auto 18px;border:4px solid #afe4eb;border-radius:50%;background:#fffdfa;box-shadow:0 0 0 6px #fffdfa}
.home-page .home-diary .journal-step--current .journal-dot {background:var(--coral);border-color:#fffdfa;box-shadow:0 0 0 3px var(--coral),0 0 0 8px #fffdfa}
.home-page .home-diary .journal-step--next .journal-dot {border-color:var(--violet)}
.home-page .home-diary .journal-step h3 {margin:0 0 7px;font-size:clamp(15px,1.3vw,19px);line-height:1.35;font-weight:700}
.home-page .home-diary .journal-step p {margin:0;color:#6f7d80;font-size:13px;line-height:1.6}
.home-page .home-diary .journal-step a {display:inline-block;min-height:30px;text-underline-offset:4px}
.home-page .home-diary .journal-step--current h3 {color:#172331}
@media(max-width:700px) {.home-page .home-diary {margin:10px auto;border-radius:20px}
.home-page .home-diary .journal-banner {padding:13px 18px}
.home-page .home-diary .journal-banner span:last-child {display:none}
.home-page .home-diary .journal-media {height:580px}
.home-page .home-diary .journal-video-status {top:16%;font-size:16px}
.home-page .home-diary .journal-card {left:14px;bottom:24px;width:calc(100% - 28px);padding:22px 18px;border-radius:17px}
.home-page .home-diary .journal-title {font-size:32px}
.home-page .home-diary .journal-cta {font-size:14px;gap:12px}
.home-page .home-diary .journal-footer {padding:25px 22px}
.home-page .home-diary .journal-timeline {grid-template-columns:1fr;gap:24px}
.home-page .home-diary .journal-timeline::before {left:12px;top:18px;bottom:30px;right:auto;border-top:0;border-left:2px dashed #ed6c73}
.home-page .home-diary .journal-step {text-align:left;padding-left:44px}
.home-page .home-diary .journal-dot {position:absolute;left:0;top:0;margin:4px 0 0}
.home-page .home-diary .journal-step h3 {font-size:17px}
.home-page .home-diary .journal-tags {margin-bottom:18px}
.home-page .home-diary .journal-tags li {font-size:12px}}
@media(prefers-reduced-transparency:reduce) {.home-page .home-diary .journal-card {background:#fffdfa;backdrop-filter:none}}
.home-page .home-diary .journal-card {width:min(470px,calc(100% - 32px));padding:15px 18px;background:rgba(0,0,0,.14);border:1px solid rgba(255,255,255,.12);border-radius:12px;box-shadow:none;backdrop-filter:none;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.65)}
.home-page .home-diary .journal-eyebrow {margin-bottom:7px;font-size:11px;color:#fff;font-weight:500}
.home-page .home-diary .journal-title {margin-bottom:10px;font-size:clamp(22px,2vw,30px);line-height:1.16;letter-spacing:-.025em;font-weight:650}
.home-page .home-diary .journal-tags {gap:7px;margin-bottom:12px}
.home-page .home-diary .journal-tags li, .home-page .home-diary .journal-tags li:first-child {padding:2px 0;background:transparent;color:#fff;border-radius:0;font-size:11px;font-weight:500}
.home-page .home-diary .journal-tags li+li::before {content:' / ';margin-right:7px;opacity:.65}
.home-page .home-diary .journal-cta {min-height:36px;padding:6px 0;background:transparent;border-radius:0;font-size:12px;font-weight:600;gap:14px;text-decoration:underline;text-underline-offset:4px;color:#fff}
.home-page .home-diary .journal-cta:hover {background:transparent;color:#fff;text-decoration-thickness:2px}
.home-page .home-diary .journal-cta span {font-size:17px}
@media(max-width:700px) {.home-page .home-diary .journal-card {left:14px;bottom:42px;width:min(400px,calc(100% - 28px));padding:13px 14px;border-radius:10px}
.home-page .home-diary .journal-title {font-size:24px}
.home-page .home-diary .journal-eyebrow {font-size:10px}
.home-page .home-diary .journal-tags {margin-bottom:8px}
.home-page .home-diary .journal-tags li {font-size:10px}
.home-page .home-diary .journal-cta {font-size:12px;min-height:44px}}
.home-page .home-diary {width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;min-height:100svh}
.home-page .home-diary .journal-media {height:calc(100svh - 145px);min-height:380px}
.home-page .home-diary .journal-footer {position:relative;min-height:145px;padding:22px clamp(18px,3vw,44px) 18px}
.home-page .home-diary .journal-card {bottom:52px}
@media(max-width:700px) {.home-page .home-diary {margin:0;border-radius:0}
.home-page .home-diary .journal-media {height:calc(100svh - 122px);min-height:360px}
.home-page .home-diary .journal-footer {min-height:122px;padding:16px 12px}
.home-page .home-diary .journal-timeline {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-page .home-diary .journal-timeline::before {top:13px;bottom:auto;left:16.66%;right:16.66%;border-left:0;border-top:2px dashed #ed6c73}
.home-page .home-diary .journal-step {text-align:center;padding-left:0}
.home-page .home-diary .journal-dot {position:relative;left:auto;top:auto;width:20px;height:20px;margin:4px auto 12px;border-width:3px}
.home-page .home-diary .journal-step h3 {font-size:12px;margin-bottom:4px}
.home-page .home-diary .journal-step p {font-size:10px;line-height:1.4}
.home-page .home-diary .journal-step a {min-height:32px}
.home-page .home-diary .journal-card {bottom:48px}}
.home-page .home-diary .journal-card {padding:11px 15px}
.home-page .home-diary .journal-card .journal-title {line-height:1.06;margin-bottom:6px}
.home-page .home-diary .journal-card .journal-tags {margin-bottom:4px;row-gap:2px;line-height:1.1}
.home-page .home-diary .journal-card .journal-tags li {padding-block:1px;line-height:1.1}
.home-page .home-diary .journal-card .journal-cta {line-height:1.15;padding-block:3px;min-height:32px}
@media(max-width:700px) {.home-page .home-diary .journal-card {padding:10px 13px}
.home-page .home-diary .journal-card .journal-title {line-height:1.06;margin-bottom:5px}
.home-page .home-diary .journal-card .journal-cta {min-height:44px}}
.home-page .home-diary .journal-card {
  background-color:#fff;
  background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 25px,#eceef0 25px,#eceef0 26px);
  background-position:0 -2px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:2px 3px 4px 2px;
  box-shadow:1px 3px 8px rgba(23,35,49,.12);
  color:var(--ink);
  text-shadow:none;
  overflow:visible;
}
.home-page .home-diary .journal-card::before {
  content:"";
  position:absolute;
  top:-13px;
  left:50%;
  width:92px;
  height:29px;
  background:rgba(237,151,150,.65);
  transform:translateX(-50%) rotate(-6deg);
  clip-path:polygon(1% 4%,99% 0,100% 94%,2% 100%);
  box-shadow:0 1px 2px rgba(95,48,48,.06);
  pointer-events:none;
}
.home-page .home-diary .journal-card .journal-title, .home-page .home-diary .journal-card .journal-tags li, .home-page .home-diary .journal-card .journal-tags li:first-child, .home-page .home-diary .journal-card .journal-cta, .home-page .home-diary .journal-card .journal-cta:hover {color:var(--ink);text-shadow:none}
@media(max-width:700px) {.home-page .home-diary .journal-card {border-radius:2px 3px 4px 2px}
.home-page .home-diary .journal-card::before {width:78px;height:25px;top:-12px}}
.home-page .home-diary .journal-timeline-wrap {position:relative}
.home-page .home-diary .journal-timeline::before {display:none}
.home-page .home-diary .journal-route {
  position:absolute;z-index:0;pointer-events:none;
  top:-7px;left:16.66%;width:66.68%;height:55px;
  overflow:visible;
}
.home-page .home-diary .journal-route path {
  fill:none;stroke:var(--coral);stroke-width:2.2;stroke-dasharray:3 6;
  stroke-linecap:round;stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
@media(max-width:700px) {.home-page .home-diary .journal-route {top:-9px;height:48px}}
.home-page .home-diary .journal-step:not(.journal-step--current) .journal-dot {
  width:10px;height:10px;border:0;border-radius:50%;
  background:var(--coral);box-shadow:none;margin:13.5px auto 25.5px;
}
@media(max-width:700px) {.home-page .home-diary .journal-step:not(.journal-step--current) .journal-dot {
    width:8px;height:8px;margin:10px auto 18px;
  }}
.home-page .home-diary .journal-video-status {
  top:38%;left:50%;transform:translate(-50%,-50%);
  z-index:1;width:min(560px,calc(100% - 56px));
  margin:0;padding:0;text-align:center;
  color:#fff;background:none;border:0;border-radius:0;box-shadow:none;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
  font-size:clamp(22px,2.7vw,38px);font-weight:600;
  line-height:1.3;letter-spacing:-.025em;text-wrap:balance;
  pointer-events:none;
}
.home-page .home-diary .journal-video-status::before, .home-page .home-diary .journal-video-status::after {content:none;display:none}
@media(max-width:700px) {.home-page .home-diary .journal-video-status {top:33%;width:calc(100% - 56px);padding:0;font-size:clamp(22px,6vw,28px)}}
.home-page .home-diary {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    font-family: 'DM Sans', Arial, sans-serif;
    min-height: 0;
}
.home-page .home-diary .journal-video { border: 0; background: #172331; }
.home-page .home-diary .journal-title { font-family: Manrope, system-ui, sans-serif; }
.home-page .home-diary .journal-step h3 { font-family: 'DM Sans', Arial, sans-serif; }
.home-page .home-diary .journal-video-link { display: block; font-size: 12px; margin-top: 4px; }
.home-page .home-diary p { overflow-wrap: normal; }
.home-page .home-diary .journal-cta { max-width: 100%; }
.home-page .home-diary .journal-card { overflow-wrap: normal; word-break: normal; }
.home-page .home-diary .journal-footer { background: var(--bg); }
/* Réserver la place de la frise et de la légende dans la hauteur disponible. */
.home-page .home-diary {
    display: grid;
    grid-template-rows: minmax(320px, 1fr) auto;
    height: var(--journal-frame-height, 75svh);
}
.home-page .home-diary .journal-media { height: auto; min-height: 0; }
.home-page .home-diary .journal-video-status { top: 23%; font-size: clamp(18px, 2vw, 28px); }
.home-page .journey-filter-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.home-page .journey-detail-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 10px 18px; border: 1px solid #344e65; border-radius: 8px; background: #344e65; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.home-page .journey-detail-button:hover { background: #253c50; color: #fff; }
.home-page .journey-detail-button:focus-visible { outline: 3px solid #ed6c73; outline-offset: 3px; }
.home-page .journey-filter-label { display: block; flex-shrink: 0; margin: 0; color: #344e65; font-size: 14px; font-weight: 700; }
.home-page .journey-filter-row .journey-tabs { width: auto; min-width: 0; flex: 0 1 auto; }
.home-page .journey-tabs { display: inline-flex; align-items: stretch; flex-wrap: wrap; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 12px; background: #f0f2f5; }
.home-page .journey-tab { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #586573; font: 700 14px/1.4 'DM Sans', Arial, sans-serif; white-space: normal; text-decoration: none; cursor: pointer; }
.home-page .journey-tab::after { content: none; display: none; }
.home-page .journey-tab.is-active { background: #344e65; border-color: #344e65; color: #fff; }
.home-page .journey-tab:not(.is-active):hover { background: #e0e6ed; color: #24394c; }
.home-page .journey-tab:focus-visible { outline: 3px solid #ed6c73; outline-offset: 3px; }
@media (max-width: 600px) {
    .home-page .journey-tabs { width: 100%; }
    .home-page .journey-tab { flex: 1 1 10rem; font-size: 13px; }
}
/* Progression réelle des étapes : traits et points indépendants des couleurs régionales. */
.home-page .route-list .route-department { --stage-progress-color: #d5d9dc; }
.home-page .route-list .route-department.is-past,
.home-page .route-list .route-department.is-today { --stage-progress-color: #f3a7a7; }
.home-page .route-list .route-department::before {
    top: 0;
    bottom: -5px;
    width: 2px;
    background: var(--stage-progress-color);
}
.home-page .route-list .route-department::after,
.home-page .route-list .route-department.is-start::after,
.home-page .route-list .route-department.is-finish::after { background: var(--stage-progress-color); }
.home-page .route-list .route-department.is-today::after {
    background: #ed9298;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ed9298;
}
.home-page .route-list .route-department .route-position,
.home-page .route-list .route-department .route-department-label,
.home-page .route-list .route-department .route-department-label .route-name,
.home-page .route-list .route-department .route-department-label .route-code,
.home-page .number-department .number-department-code,
.home-page .number-department .number-department-date { color: #fff; }
.home-page .route-list .route-department .route-day { color: #636b63; }
@media (max-width: 1250px) {
    .home-page .route-list .route-department:nth-child(-n+2)::before { top: 0; }
    .home-page .route-list .route-department:nth-last-child(-n+2)::before { bottom: -5px; }
    .home-page .route-list .route-department:first-child::before { top: 50%; }
    .home-page .route-list .route-department:last-child::before { bottom: 50%; }
}
@media (min-width: 1250.01px) {
    .home-page .route-list { grid-auto-flow: column; grid-template-rows: repeat(var(--route-column-rows), auto); }
    .home-page .route-list .route-department:nth-child(-n+2)::before { top: 0; }
    .home-page .route-list .route-department:nth-last-child(-n+2)::before { bottom: -5px; }
    .home-page .route-list .route-department.is-column-start::before { top: 50%; }
    .home-page .route-list .route-department.is-column-end::before { bottom: 50%; }
}
.home-page .department-number-grid { grid-auto-flow: column; grid-template-rows: repeat(var(--department-rows-three), auto); }
.home-page .department-number-grid .number-department {
    background: color-mix(in srgb, var(--department-color, #928484) 18%, white);
    border-bottom: 5px solid #fff;
    border-radius: 8px;
    padding: 10px 12px;
}
.home-page .department-number-grid .number-department-code {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    align-self: center;
    font-size: 16px;
}
.home-page .department-number-grid .number-department-date {
    background: var(--department-color, #eee9e9);
}
.home-page .department-number-grid .number-department.is-search-match {
    background: color-mix(in srgb, var(--department-color, #928484) 28%, white);
}
.home-page .home-share__content { container-type: inline-size; }
.home-page .home-share__flyer {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    grid-template-areas: 'paper copy' 'download download';
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
}
.home-page .home-share__paper { grid-area: paper; width: 100%; height: auto; min-height: 0; align-self: stretch; padding: 7px; gap: 4px; }
.home-page .home-share__flyer-copy { grid-area: copy; min-width: 0; }
.home-page .home-share__download { grid-area: download; justify-self: center; margin: 0; white-space: nowrap; }
@container (min-width: 42rem) {
    .home-page .home-share__flyer { grid-template-columns: 3.25rem minmax(0, max-content) max-content; grid-template-areas: 'paper copy download'; justify-content: center; }
    .home-page .home-share__download { justify-self: center; }
}
@media (max-width: 900px) {
    .home-page .department-number-grid { grid-template-rows: repeat(var(--department-rows-two), auto); }
}
@media (max-width: 760px) {
    .home-page .department-number-grid { grid-auto-flow: row; grid-template-rows: none; }
}

/* Mobile : hauteur naturelle de l’aide et légende compacte au bas du player. */
@media (max-width: 700px) {
    .home-page .journey-suggestion { height: auto; min-height: 0; gap: 8px; }
    .home-page .journey-suggestion-content { flex: 0 1 auto; width: 100%; }
    .home-page .journey-suggestion-content h3 { margin: 0 0 6px; }
    .home-page .journey-suggestion-content p { margin: 0; line-height: 1.35; }
    .home-page .home-diary .journal-card { bottom: 4px; padding: 5px 8px; width: min(400px, calc(100% - 28px)); }
    .home-page .home-diary .journal-card::before { display: none; }
    .home-page .home-diary .journal-card .journal-title { font-size: 12px; line-height: 1.1; margin: 0 0 3px; }
    .home-page .home-diary .journal-card .journal-tags { gap: 2px 6px; margin: 0 0 2px; line-height: 1.1; }
    .home-page .home-diary .journal-card .journal-tags li { font-size: 9px; line-height: 1.1; padding: 0; }
    .home-page .home-diary .journal-card .journal-cta,
    .home-page .home-diary .journal-card .journal-video-link { display: block; min-height: 0; margin: 2px 0 0; padding: 1px 0; font-size: 10px; line-height: 1.15; }
}

.home-page .journey-order-select { display: none; }
@media (max-width: 700px) {
    .home-page .home-diary .journal-footer { padding-inline: 8px; }
    .home-page .home-diary .journal-timeline { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr); gap: 4px; }
    .home-page .home-diary .journal-step:first-child .journal-dot { margin-left: 8px; }
    .home-page .home-diary .journal-step:last-child .journal-dot { margin-right: 8px; }
    .home-page .home-diary .journal-step:first-child { text-align: left; }
    .home-page .home-diary .journal-step:last-child { text-align: right; }
    .home-page .home-diary .journal-route { left: 12px; width: calc(100% - 24px); top: 2px; height: 26px; }
    .home-page .home-diary .journal-route path { stroke-width: 1.4; stroke-dasharray: 2 5; }
    .home-page .department-search { gap: 4px; padding: 12px; }
    .home-page .department-search-copy p { margin-bottom: 0; }
    .home-page .department-search-copy .department-search-hint { display: block; margin-top: 12px; margin-bottom: 0; font-size: 10px; line-height: 1.15; }
    .home-page .department-search-field { padding: 6px 9px; }
    .home-page .journey-filter-row { gap: 6px; margin-top: 10px; }
    .home-page .journey-filter-label { font-size: 12px; }
    .home-page .journey-filter-row .journey-tabs { display: none; }
    .home-page .journey-order-select { display: block; box-sizing: border-box; min-width: 0; max-width: 100%; flex: 1 1 auto; padding: 6px 24px 6px 8px; border: 1px solid #cbd3db; border-radius: 6px; background: #f0f2f5; color: #344e65; font: 600 12px/1.2 'DM Sans', Arial, sans-serif; }
    .home-page .journey-order-select:focus-visible { outline: 3px solid #ed6c73; outline-offset: 2px; }
}

/* Encart de présentation compact sur téléphone. */
@media (max-width: 700px) {
    .home-page .home-refresh .about { padding-block: 8px; }
    .home-page .home-refresh .about .wrap { padding-inline: 12px; }
    .home-page .home-refresh .abox { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .home-page .home-refresh .abox .feet { display: none; }
    .home-page .home-refresh .abox div:nth-child(2) { grid-column: 1; min-width: 0; }
    .home-page .home-refresh .abox h2 { display: block; margin: 0 0 3px; font-size: clamp(12px, 3.5vw, 16px); line-height: 1.2; white-space: nowrap; }
    .home-page .home-refresh .abox p { display: block; margin: 0; line-height: 1.3; }
    .home-page .home-refresh .abox .ghost { grid-column: 1; justify-self: start; min-height: 0; margin-top: 0; padding: 3px 9px; font-size: 12px; line-height: 1.25; }
}

/* Le lien prolonge le texte de l’encart sur mobile. */
@media (max-width: 700px) {
    .home-page .home-refresh .abox { display: block; }
    .home-page .home-refresh .abox div:nth-child(2) { display: contents; }
    .home-page .home-refresh .abox p { display: inline; }
    .home-page .home-refresh .abox .ghost { display: inline; margin: 0 0 0 5px; padding: 2px 6px; white-space: nowrap; vertical-align: baseline; }
}

/* Mobile et tablette : les deux pastilles partagent la première ligne. */
@media (max-width: 1179.98px) {
    .home-page .route-list .route-department {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 5px 6px;
        min-height: 0;
        padding-block: 8px;
    }
    .home-page .route-list .route-department .route-position,
    .home-page .route-list .route-department .route-department-label {
        min-width: 0; padding: 6px 10px; font-size: 11px; line-height: 1.2;
        align-items: center; align-self: start;
    }
    .home-page .route-list .route-department .route-position { grid-column: 1; grid-row: 1; }
    .home-page .route-list .route-department .route-department-label { grid-column: 2; grid-row: 1; gap: 4px; }
    .home-page .route-list .route-department .route-department-label .route-name,
    .home-page .route-list .route-department .route-department-label .route-code { font-size: inherit; line-height: inherit; }
    .home-page .route-list .route-department .route-day { grid-column: 1 / -1; grid-row: 2; }
}

/* Très petits téléphones : titre, vidéo, texte puis flyer et compteurs. */
@media (max-width: 390px) {
    .home-page .home-share__content,
    .home-page .home-share__promise { display: contents; }
    .home-page .home-share__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-page .home-share__promise h1 { grid-row: 1; margin: 0; }
    .home-page .home-share__phone { grid-row: 2; justify-self: center; }
    .home-page .home-share__promise .lead { text-align: left; hyphens: none; }
    .home-page .home-share__flyer { margin-top: 0; }
    .home-page .home-share__grid > .mobilisation-stats--home { margin: 0; width: 100%; }
}

/* Compteurs déplacés avant la carte : bandeau pleine largeur. */
@media (max-width: 390px) {
    .home-page .home-share__grid > .mobilisation-stats--home {
        width: 100vw;
        max-width: none;
        margin-inline: calc((100% - 100vw) / 2);
        box-sizing: border-box;
    }
}

/* Encart rouge compact sur mobile et tablette. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .about { padding-block: 6px; }
    .home-page .home-refresh .abox { gap: 4px 8px; }
    .home-page .home-refresh .abox div:nth-child(2) { line-height: 1.15; }
    .home-page .home-refresh .abox h2 { line-height: 1.1; margin-block: 0 2px; }
    .home-page .home-refresh .abox p { line-height: 1.15; margin-block: 0; }
    .home-page .home-refresh .abox .ghost { min-height: 0; margin-block: 0; padding-block: 2px; line-height: 1.15; }
}

/* Décaler légèrement la seconde ligne du titre sur mobile et tablette. */
@media (max-width: 1179.98px) {
    .home-page .home-share__promise h1 .home-promise-continuation {
        display: block;
        padding-left: clamp(12px, 3vw, 28px);
    }
}

/* Interlignes compacts des encarts sur téléphone et tablette. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .abox div:nth-child(2),
    .home-page .home-refresh .abox p { line-height: 1.08; }
    .home-page .home-share__flyer-copy,
    .home-page .home-share__flyer-copy > span,
    .home-page .department-search-copy p,
    .home-page .department-search-copy .department-search-hint,
    .home-page .journey-intro { line-height: 1.15; }
    .home-page .home-share__flyer-copy > strong { line-height: 1.1; margin-bottom: 4px; }
    .home-page .department-search-kicker { line-height: 1.15; }
}
@media (max-width: 700px) {
    .home-page .department-search-kicker { letter-spacing: 0; }
}

/* Vignettes du tableau : conserver le nom et le numéro sur une ligne. */
.home-page .route-list .route-department .route-department-label {
    flex-wrap: nowrap;
    width: max-content;
    white-space: nowrap;
}
.home-page .route-list .route-department .route-department-label :is(.route-name, .route-code),
.home-page .number-department :is(.number-department-code, .number-department-name, .number-department-date) {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    flex-shrink: 0;
}
@media (max-width: 1179.98px) {
    .home-page .route-list .route-department { grid-template-columns: max-content max-content; }
    .home-page .journey-panel { overflow-x: auto; }
    .home-page .route-list { min-width: max-content; }
}

/* Encart rouge : interligne minimal sur téléphone et tablette. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .about { padding-block: 4px; }
    .home-page .home-refresh .abox { gap: 2px 6px; }
    .home-page .home-refresh .abox div:nth-child(2),
    .home-page .home-refresh .abox p { line-height: 1; }
    .home-page .home-refresh .abox h2 { line-height: 1; margin-block: 0 1px; }
    .home-page .home-refresh .abox .ghost { line-height: 1; padding-block: 1px; }
}

/* Aucun espacement ajouté entre les éléments du texte de l’encart rouge. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .abox { gap: 0; }
    .home-page .home-refresh .abox div:nth-child(2),
    .home-page .home-refresh .abox h2,
    .home-page .home-refresh .abox p { margin-block: 0; padding-block: 0; }
    .home-page .home-refresh .abox .ghost { margin-block: 0; padding-block: 0; }
}

/* Frise mobile : période, département puis informations pratiques. */
@media (max-width: 700px) {
    .home-page .home-diary .journal-step-period,
    .home-page .home-diary .journal-step-location { display: block; }
    .home-page .home-diary .journal-step-divider { display: none; }
}

/* Réduire uniquement l’interligne du texte de présentation. */
@media (max-width: 1179.98px) {
    .home-page .home-share__promise .lead { line-height: 1.4; text-align: left; hyphens: none; word-spacing: normal; letter-spacing: normal; }
}

/* Flyer mobile : titre en tête, texte et téléchargement à gauche, icône à droite. */
@media (max-width: 700px) {
    .home-page .home-share__flyer {
        grid-template-columns: minmax(0, 1fr) 42px;
        grid-template-areas: 'title title' 'copy paper' 'download paper';
        gap: 3px 8px;
        padding: 8px 12px;
        margin-block: 6px;
        align-items: center;
    }
    .home-page .home-share__flyer-copy { display: contents; }
    .home-page .home-share__flyer-copy > strong {
        grid-area: title;
        justify-self: start;
        margin: 0;
        font-size: clamp(11px, 3.45vw, 16px);
        line-height: 1.1;
        white-space: nowrap;
    }
    .home-page .home-share__flyer-copy > span { grid-area: copy; line-height: 1.1; }
    .home-page .home-share__paper { grid-area: paper; width: 42px; height: 58px; align-self: center; }
    .home-page .home-share__download { grid-area: download; justify-self: start; margin: 0; padding: 4px 8px; line-height: 1.1; }
}

/* Éviter que les éléments en ligne reprennent l’interligne général de la page. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .abox { line-height: 1; row-gap: 0; }
    .home-page .home-refresh .abox div:nth-child(2),
    .home-page .home-refresh .abox :is(h2, p, strong, a, span) {
        line-height: 1;
        margin-block: 0;
        padding-block: 0;
    }
}

/* Actions centrées sur mobile et tablette, sans étirement en pleine largeur. */
@media (max-width: 1179.98px) {
    .home-page .home-promise-actions .cta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .home-page .home-promise-actions .cta .btn {
        flex: 0 1 auto;
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        align-items: center;
    }
}

/* Flyer mobile : tailles d’origine, icône à gauche sous le titre. */
@media (max-width: 700px) {
    .home-page .home-share__flyer {
        grid-template-columns: 3.25rem minmax(0, 1fr);
        grid-template-areas: 'title title' 'paper copy' 'paper download';
    }
    .home-page .home-share__flyer-copy > strong {
        font-size: clamp(1rem, .9rem + .3vw, 1.25rem);
        white-space: normal;
    }
    .home-page .home-share__paper {
        width: 100%;
        height: auto;
        min-height: 0;
        align-self: stretch;
    }
}

/* Les compteurs sont dans le contenu du flyer, et non enfants directs de la grille. */
@media (max-width: 390px) {
    .home-page .home-share .mobilisation-stats--home {
        width: 100vw;
        max-width: none;
        margin: 0 calc((100% - 100vw) / 2);
        padding-inline: 0;
        box-sizing: border-box;
        justify-self: center;
    }
}

/* Même largeur pour les trois actions centrées sur mobile et tablette. */
@media (max-width: 1179.98px) {
    .home-page .home-promise-actions .cta .btn {
        flex: 0 1 16rem;
        width: 16rem;
        max-width: 100%;
    }
}

/* Rétablir l’espace d’origine entre titre, icône PDF et contenu. */
@media (max-width: 1179.98px) {
    .home-page .home-share__flyer {
        gap: clamp(1.5rem, 3vw, 3rem);
    }
    .home-page .home-share__flyer-copy > strong {
        margin-bottom: 6px;
        line-height: 1.25;
    }
    .home-page .home-share__flyer-copy > span { line-height: 1.6; }
}

/* Compteurs avant la carte : aucune séparation verticale entre les sections. */
@media (max-width: 390px) {
    .home-page .home-share { padding-bottom: 0; margin-bottom: 0; }
    .home-page .home-share .mobilisation-stats--home { margin-bottom: 0; padding-bottom: 0; }
    .home-page .home-share + .movement-section { margin-top: 0; }
}

/* Département de la frise sur une seule ligne sur petit mobile. */
@media (max-width: 700px) {
    .home-page .home-diary .journal-step-location {
        font-size: clamp(7px, 2vw, 11px);
        line-height: 1.1;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
        letter-spacing: -.2px;
    }
}

/* Fin de frise proche du texte, sans hauteur minimale superflue. */
@media (max-width: 1179.98px) {
    .home-page .home-diary .journal-footer { padding-bottom: 3px; min-height: 0; }
    .home-page .home-diary .journal-step p { margin-bottom: 0; }
    .home-page .home-diary .journal-step a { min-height: 0; padding-bottom: 0; }
}

/* Un peu plus d’air entre les lignes du texte de l’encart rouge. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .abox,
    .home-page .home-refresh .abox div:nth-child(2),
    .home-page .home-refresh .abox p,
    .home-page .home-refresh .abox p :is(strong, a, span) { line-height: 1.15; }
}

/* Séparer légèrement la question du texte de l’encart rouge. */
@media (max-width: 1179.98px) {
    .home-page .home-refresh .abox h2 {
        display: block;
        line-height: 1.2;
        margin-bottom: 3px;
    }
}

/* Flyer : conserver une feuille A4 sans étirement vertical. */
@media (max-width: 1179.98px) {
    .home-page .home-share__flyer { row-gap: 6px; }
    .home-page .home-share__paper {
        width: 3.25rem;
        height: auto;
        min-height: 0;
        aspect-ratio: 210 / 297;
        align-self: center;
        box-sizing: border-box;
    }
    .home-page .home-share__flyer-copy > strong { margin-bottom: 0; }
}
