/* =========================================================
   OPÉRATION PAPILLON — CHARTE GRAPHIQUE
   Modifiez d'abord les valeurs ci-dessous pour changer
   facilement les couleurs et l'apparence générale du site.
   ========================================================= */

:root {
    --bleu-principal: #082b83;
    --bleu-secondaire: #2467dc;
    --bleu-tres-clair: #edf5ff;
    --fond-page: #f7fbff;
    --blanc: #ffffff;

    --texte: #18345f;
    --texte-doux: #5b7296;

    --police-texte: Arial, Helvetica, sans-serif;
    --police-elegante: Georgia, "Times New Roman", serif;

    --largeur-site: 1180px;
    --largeur-texte: 820px;

    --arrondi: 26px;
    --ombre: 0 18px 45px rgba(26, 76, 145, 0.12);
    --ombre-menu: 0 5px 18px rgba(8, 43, 131, 0.13);
}

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;

    color: var(--texte);
    background: var(--fond-page);

    font-family: var(--police-texte);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site {
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* =========================================================
   EN-TÊTE / MENU
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(8, 43, 131, 0.12);
    box-shadow: var(--ombre-menu);

    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;

    width: calc(100% - 120px);
    min-height: 76px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 22px;

    min-width: 0;
}

.brand {
    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: 1.5rem;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;
}

.social-follow {
    position: absolute;
    right: 0;

    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-label {
    margin-right: 2px;

    color: var(--bleu-principal);

    font-size: 1.2rem;
    font-weight: 700;

    white-space: nowrap;
}

.social-icon {
    width: 38px;
    height: 38px;

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

    flex: 0 0 38px;

    border-radius: 50%;

    text-decoration: none;
}

.instagram-header {
    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.instagram-header img {
    width: 34px;
    height: 34px;

    object-fit: contain;
}

.instagram-header:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 5px 8px rgba(193, 53, 132, 0.22));
}

.facebook-attente {
    background: #1877f2;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;

    cursor: default;
    opacity: 0.42;
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main-nav a {
    min-width: 118px;

    padding: 11px 18px;

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

    border: 2px solid var(--bleu-principal);
    border-radius: 999px;

    color: var(--bleu-principal);
    background: var(--blanc);

    font-size: 0.98rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.main-nav a:hover {
    background: var(--bleu-tres-clair);
    transform: translateY(-1px);
}

.main-nav a[aria-current="page"] {
    color: var(--blanc);
    background: var(--bleu-principal);

    box-shadow: 0 6px 16px rgba(8, 43, 131, 0.22);
}

.main-nav a:focus-visible,
.brand:focus-visible,
.instagram-header:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid var(--bleu-secondaire);
    outline-offset: 4px;
}

/* =========================================================
   ACCUEIL — GRANDE IMAGE
   ========================================================= */

.hero {
    width: 100%;
    background: #0a3f9f;
}

.hero picture,
.hero img {
    width: 100%;
}

.hero img {
    height: auto;
}

/* =========================================================
   ACCUEIL — TEXTES
   ========================================================= */

.home-content {
    width: min(var(--largeur-site), calc(100% - 32px));

    margin: 0 auto;
    padding: 46px 0 54px;

    text-align: center;
}

.manifesto {
    width: min(100%, var(--largeur-texte));

    margin: 0 auto;
    padding: 30px 28px;

    border-radius: var(--arrondi);

    background: var(--blanc);
    box-shadow: var(--ombre);
}

.manifesto p {
    margin: 0;

    color: #041f63;

    font-family: var(--police-elegante);
    font-size: clamp(1.2rem, 2.7vw, 1.7rem);
    line-height: 1.5;
}

.manifesto p + p {
    margin-top: 2px;
}

/* =========================================================
   INSTAGRAM
   ========================================================= */

.instagram-area {
    margin-top: 34px;
}

.instagram-title {
    margin: 0 auto 20px;

    color: var(--bleu-principal);

    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 800;
}

.instagram-link {
    display: inline-block;

    border-radius: 28px;

    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.instagram-link img {
    width: 112px;
    height: 112px;

    object-fit: contain;
}

.instagram-link:hover {
    transform: translateY(-3px);

    filter:
        drop-shadow(0 12px 20px rgba(193, 53, 132, 0.22));
}



/* =========================================================
   PRÉSENTATION OPÉRATION PAPILLON
   ========================================================= */

.presentation {
    width: min(100%, 920px);
    margin: 42px auto 0;
    text-align: left;
}

.presentation > h2 {
    margin: 0 0 28px;
    text-align: center;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: clamp(2rem, 4vw, 3rem);
}

.presentation-bloc {
    margin-bottom: 22px;
    padding: 28px 32px;
    background: var(--blanc);
    border-radius: var(--arrondi);
    box-shadow: var(--ombre);
}

.presentation-bloc h3 {
    margin: 0 0 16px;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: 1.55rem;
}

.presentation-bloc p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.presentation-bloc p:last-child {
    margin-bottom: 0;
}

.phrase-forte {
    color: var(--bleu-principal);
    font-weight: 700;
    font-style: italic;
}


/* =========================================================
   PAGE COMPOSTELLE
   ========================================================= */

.page-header {
    width: min(var(--largeur-site), calc(100% - 32px));

    margin: 0 auto;
    padding: 52px 0 26px;

    text-align: center;
}

.page-header h1 {
    margin: 0;

    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    white-space: nowrap;
}

.page-header p {
    width: min(100%, 760px);

    margin: 18px auto 0;

    color: var(--texte-doux);

    font-size: 1.08rem;
    line-height: 1.7;
}

.cards {
    width: min(var(--largeur-site), calc(100% - 32px));

    margin: 0 auto;
    padding: 22px 0 60px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.person-card {
    overflow: hidden;

    border-radius: var(--arrondi);

    background: var(--blanc);
    box-shadow: var(--ombre);
}

.person-card img {
    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;
}

.person-content {
    padding: 24px;
}

.person-content h2 {
    margin: 0;

    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: 1.8rem;
}

.person-meta {
    margin: 8px 0 0;

    color: var(--bleu-secondaire);

    font-weight: 700;
}

.person-text {
    margin: 16px 0 0;

    line-height: 1.7;
}

/* =========================================================
   MENTIONS LÉGALES
   ========================================================= */

.legal {
    width: min(820px, calc(100% - 32px));

    margin: 46px auto 60px;
    padding: clamp(24px, 5vw, 44px);

    border-radius: var(--arrondi);

    background: var(--blanc);
    box-shadow: var(--ombre);
}

.legal h1 {
    margin-top: 0;

    color: var(--bleu-principal);

    font-family: var(--police-elegante);
}

.legal h2 {
    margin: 28px 0 8px;

    color: var(--bleu-principal);

    font-size: 1.1rem;
}

.legal p {
    margin: 0;

    line-height: 1.7;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */

.site-footer {
    margin-top: auto;

    padding:
        20px
        max(18px, env(safe-area-inset-right))
        max(20px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));

    color: var(--texte-doux);

    text-align: center;

    background: var(--blanc);
    border-top: 1px solid rgba(8, 43, 131, 0.08);
}

.site-footer p {
    margin: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.site-footer a {
    color: var(--bleu-principal);

    text-underline-offset: 3px;
}

/* =========================================================
   TABLETTE ET TÉLÉPHONE — ANDROID / iPHONE
   ========================================================= */

@media (max-width: 700px) {

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        width: calc(100% - 20px);
        min-height: auto;

        padding: 9px 0 10px;

        flex-wrap: wrap;
        justify-content: center;

        row-gap: 9px;
    }

    .header-left {
        width: 100%;

        justify-content: center;
        gap: 14px;
    }

    .brand {
        font-size: 0.98rem;
    }

    .social-follow {
        gap: 7px;
        padding-left: 14px;
    }

    .follow-label {
        font-size: 0.82rem;
    }

    .social-icon {
        width: 28px;
        height: 28px;

        flex-basis: 28px;
    }

    .instagram-header img {
        width: 25px;
        height: 25px;
    }

    .facebook-attente {
        font-size: 19px;
    }

    .main-nav {
        position: static;
        transform: none;

        width: 100%;

        justify-content: center;
        gap: 8px;
    }

    .main-nav a {
        min-width: 120px;

        padding: 9px 14px;

        font-size: 0.88rem;
    }

    .home-content {
        width: calc(100% - 22px);

        padding: 28px 0 34px;
    }

    .manifesto {
        padding: 22px 12px;

        border-radius: 20px;
    }

    .manifesto p {
        font-size: clamp(0.9rem, 4vw, 1.13rem);
        line-height: 1.45;

        white-space: nowrap;
    }

    .presentation {
        margin-top: 28px;
    }

    .presentation-bloc {
        padding: 22px 18px;
    }

    .presentation > h2 {
        font-size: 2rem;
    }

    .presentation-bloc h3 {
        font-size: 1.35rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
        white-space: normal;
    }

    .page-header {
        width: calc(100% - 24px);

        padding-top: 34px;
    }

    .page-header p {
        font-size: 1rem;
    }

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

        grid-template-columns: 1fr;

        gap: 20px;

        padding-bottom: 40px;
    }

    .person-content {
        padding: 20px;
    }

    .site-footer p {
        row-gap: 8px;
    }
}

/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 430px) {

    .header-left {
        gap: 10px;
    }

    .brand {
        font-size: 0.9rem;
    }

    .social-follow {
        padding-left: 10px;
    }
}

/* =========================================================
   OPTIMISATION MOBILE — iPHONE / ANDROID
   ========================================================= */

@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    /* BARRE DU HAUT */
    .header-inner {
        width: calc(100% - 24px);
        padding-top: 8px;
        padding-bottom: 10px;

        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }

    /* Première ligne :
       Opération Papillon + réseaux */
    .header-left {
        width: 100%;

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

        gap: 10px;
    }

    .brand {
        font-size: 1.05rem;
    }

    /* IMPORTANT :
       annule le positionnement à droite utilisé sur PC */
    .social-follow {
        position: static;

        margin-left: auto;
        padding-left: 0;

        border-left: 0;
    }

    .follow-label {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;
    }

    .instagram-header img {
        width: 32px;
        height: 32px;
    }

    /* Deuxième ligne :
       Accueil + Compostelle */
    .main-nav {
        position: static;
        transform: none;

        width: 100%;

        display: flex;
        justify-content: center;

        margin: 0;
        gap: 8px;
    }

    .main-nav a {
        min-width: 125px;
        min-height: 44px;

        padding: 9px 14px;

        font-size: 0.9rem;
    }

    /* GRANDE IMAGE */
    .hero img {
        width: 100%;
        height: auto;
    }

    /* TROIS PHRASES */
    .home-content {
        width: calc(100% - 22px);

        padding: 26px 0 34px;
    }

    .manifesto {
        padding: 20px 12px;

        border-radius: 18px;
    }

    .manifesto p {
        font-size: clamp(0.88rem, 4vw, 1.08rem);
        line-height: 1.45;
    }

    /* PRÉSENTATION */
    .presentation {
        width: 100%;
        margin-top: 28px;
    }

    .presentation > h2 {
        font-size: 2rem;
    }

    .presentation-bloc {
        padding: 21px 18px;

        border-radius: 20px;
    }

    .presentation-bloc h3 {
        font-size: 1.3rem;
    }

    .presentation-bloc p {
        font-size: 1rem;
        line-height: 1.65;
    }

    /* COMPOSTELLE */
    .page-header {
        width: calc(100% - 24px);

        padding-top: 30px;
    }

    .page-header h1 {
        font-size: 1.7rem;
        line-height: 1.15;

        white-space: normal;
    }

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

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .person-content {
        padding: 20px 18px;
    }

    /* PIED DE PAGE */
    .site-footer {
        font-size: 0.9rem;
    }
}


/* =========================================================
   PETITS iPHONE / PETITS ANDROID
   ========================================================= */

@media (max-width: 430px) {

    .brand {
        font-size: 0.95rem;
    }

    .follow-label {
        display: none;
    }

    .social-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .main-nav a {
        flex: 1;

        min-width: 0;
        max-width: 150px;

        font-size: 0.86rem;
    }

    .manifesto p {
        font-size: 0.84rem;
    }

    .presentation > h2 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.55rem;
    }
}

/* =========================================================
   AMÉLIORATION — LES TROIS PHRASES DE L'ACCUEIL
   ========================================================= */

.manifesto {
    padding: 34px 38px;
}

.manifesto p {
    color: #041f63;

    font-family: var(--police-elegante);
    font-size: clamp(1.18rem, 2.4vw, 1.55rem);
    line-height: 1.55;
    letter-spacing: 0.01em;

    white-space: normal;
}

.manifesto p + p {
    position: relative;

    margin-top: 18px;
    padding-top: 18px;
}

.manifesto p + p::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 74px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.38),
            rgba(8, 43, 131, 0)
        );
}


/* Téléphone */

@media (max-width: 700px) {

    .manifesto {
        padding: 24px 16px;
    }

    .manifesto p {
        font-size: clamp(0.9rem, 4vw, 1.08rem);
        line-height: 1.5;

        white-space: normal;
    }

    .manifesto p + p {
        margin-top: 14px;
        padding-top: 14px;
    }

    .manifesto p + p::before {
        width: 58px;
    }
}


/* Petits téléphones */

@media (max-width: 430px) {

    .manifesto {
        padding: 22px 14px;
    }

    .manifesto p {
        font-size: 0.9rem;
    }
}

/* =========================================================
   AMÉLIORATION — PRÉSENTATION OPÉRATION PAPILLON
   ========================================================= */

.presentation {
    width: min(100%, 960px);
    margin-top: 50px;
}

.presentation > h2 {
    margin-bottom: 34px;
    position: relative;
}

.presentation > h2::after {
    content: "";

    display: block;

    width: 70px;
    height: 2px;

    margin: 13px auto 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.55),
            rgba(8, 43, 131, 0)
        );
}

.presentation-bloc {
    position: relative;
    overflow: hidden;

    margin-bottom: 26px;
    padding: 34px 40px 34px 44px;

    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 24px;

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

    box-shadow:
        0 12px 32px rgba(26, 76, 145, 0.08);
}

.presentation-bloc::before {
    content: "";

    position: absolute;

    left: 0;
    top: 26px;
    bottom: 26px;

    width: 4px;

    border-radius: 0 4px 4px 0;

    background:
        linear-gradient(
            180deg,
            var(--bleu-secondaire),
            var(--bleu-principal)
        );
}

.presentation-bloc h3 {
    margin: 0 0 19px;

    color: var(--bleu-principal);

    font-size: 1.48rem;
    line-height: 1.25;
}

.presentation-bloc p {
    margin: 0 0 16px;

    color: #294669;

    font-size: 1.03rem;
    line-height: 1.78;
}

.presentation-bloc strong {
    color: var(--bleu-principal);
    font-weight: 700;
}

.presentation-bloc .phrase-forte {
    margin-top: 22px;
    padding: 15px 18px;

    color: var(--bleu-principal);

    font-weight: 700;
    font-style: italic;

    background: #f2f7ff;

    border-left: 3px solid rgba(36, 103, 220, 0.62);
    border-radius: 0 12px 12px 0;
}


/* Téléphone */

@media (max-width: 700px) {

    .presentation {
        width: 100%;
        margin-top: 34px;
    }

    .presentation > h2 {
        margin-bottom: 26px;
    }

    .presentation > h2::after {
        width: 58px;
        margin-top: 10px;
    }

    .presentation-bloc {
        margin-bottom: 20px;

        padding: 25px 20px 25px 24px;

        border-radius: 19px;
    }

    .presentation-bloc::before {
        top: 20px;
        bottom: 20px;

        width: 3px;
    }

    .presentation-bloc h3 {
        margin-bottom: 15px;

        font-size: 1.3rem;
    }

    .presentation-bloc p {
        margin-bottom: 14px;

        font-size: 1rem;
        line-height: 1.68;
    }

    .presentation-bloc .phrase-forte {
        margin-top: 18px;
        padding: 13px 14px;
    }
}


/* Petits téléphones */

@media (max-width: 430px) {

    .presentation-bloc {
        padding: 23px 17px 23px 21px;
    }

    .presentation-bloc p {
        font-size: 0.96rem;
    }
}

/* =========================================================
   AMÉLIORATION — PAGE COMPOSTELLE
   ========================================================= */

.page-header-compostelle {
    padding-top: 58px;
    padding-bottom: 22px;
}

.page-kicker {
    margin: 0 0 12px !important;

    color: var(--bleu-secondaire) !important;

    font-family: var(--police-texte);
    font-size: 0.92rem !important;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2 !important;

    text-transform: uppercase;
}

.page-header-compostelle h1 {
    position: relative;

    padding-bottom: 20px;
}

.page-header-compostelle h1::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 72px;
    height: 2px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.55),
            rgba(8, 43, 131, 0)
        );
}

.page-header .page-intro {
    width: min(100%, 800px);

    margin-top: 24px;

    color: #294669;

    font-size: 1.08rem;
    line-height: 1.78;
}

.compostelle-intro-card {
    width: min(760px, calc(100% - 32px));

    margin: 0 auto 60px;
    padding: 24px 30px;

    text-align: center;

    color: var(--bleu-principal);

    background: #f2f7ff;

    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 20px;

    box-shadow:
        0 10px 28px rgba(26, 76, 145, 0.07);
}

.compostelle-intro-card p {
    margin: 0;

    font-family: var(--police-elegante);
    font-size: 1.12rem;
    line-height: 1.6;
}


/* Cartes de parcours futures */

.cards {
    align-items: start;
}

.person-card {
    border: 1px solid rgba(8, 43, 131, 0.08);

    box-shadow:
        0 12px 32px rgba(26, 76, 145, 0.09);
}

.person-content h2 {
    font-size: 1.75rem;
}

.person-meta {
    font-size: 0.95rem;
}

.person-text {
    color: #294669;
    line-height: 1.72;
}


/* Téléphone */

@media (max-width: 700px) {

    .page-header-compostelle {
        padding-top: 34px;
        padding-bottom: 18px;
    }

    .page-kicker {
        margin-bottom: 9px !important;

        font-size: 0.78rem !important;
    }

    .page-header-compostelle h1 {
        padding-bottom: 16px;
    }

    .page-header-compostelle h1::after {
        width: 58px;
    }

    .page-header .page-intro {
        margin-top: 19px;

        font-size: 1rem;
        line-height: 1.68;
    }

    .compostelle-intro-card {
        width: calc(100% - 24px);

        margin-bottom: 40px;
        padding: 20px 18px;

        border-radius: 18px;
    }

    .compostelle-intro-card p {
        font-size: 1rem;
        line-height: 1.55;
    }
}

/* =========================================================
   FINITION RESPONSIVE — TABLETTE / IPHONE / ANDROID
   Ces règles sont placées à la fin du fichier afin de
   sécuriser l'affichage sans modifier le contenu des pages.
   ========================================================= */

/* Tablettes et petits ordinateurs */
@media (max-width: 980px) and (min-width: 701px) {

    .header-inner {
        width: calc(100% - 36px);
    }

    .brand {
        font-size: 1.2rem;
    }

    .follow-label {
        font-size: 0.95rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .instagram-header img {
        width: 30px;
        height: 30px;
    }

    .main-nav {
        gap: 7px;
    }

    .main-nav a {
        min-width: 0;
        padding: 10px 13px;
        font-size: 0.9rem;
    }
}


/* Téléphones */
@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        width: calc(100% - 22px);
        min-height: auto;

        padding: 9px 0 10px;

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

        row-gap: 9px;
    }

    .header-left {
        width: auto;
        min-width: 0;

        display: flex;
        align-items: center;

        order: 1;
    }

    .brand {
        max-width: 56vw;

        overflow: hidden;
        text-overflow: ellipsis;

        font-size: 1rem;
        line-height: 1.1;

        white-space: nowrap;
    }

    .social-follow {
        position: static;

        order: 2;

        margin-left: auto;
        padding-left: 0;

        gap: 6px;
    }

    .follow-label {
        margin-right: 1px;

        font-size: 0.82rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;

        flex: 0 0 34px;
    }

    .instagram-header img {
        width: 30px;
        height: 30px;
    }

    .facebook-attente {
        font-size: 22px;
    }

    .main-nav {
        position: static;

        order: 3;

        width: 100%;

        transform: none;

        display: flex;
        justify-content: center;

        margin: 0;
        gap: 8px;
    }

    .main-nav a {
        flex: 1;

        min-width: 0;
        min-height: 44px;
        max-width: 190px;

        padding: 9px 10px;

        font-size: 0.88rem;
        line-height: 1.15;

        text-align: center;
    }

    .hero,
    .hero picture,
    .hero img {
        width: 100%;
    }

    .hero img {
        height: auto;
    }

    .home-content {
        width: calc(100% - 22px);

        padding: 27px 0 36px;
    }

    .manifesto {
        width: 100%;

        padding: 24px 16px;

        border-radius: 19px;
    }

    .manifesto p {
        font-size: clamp(0.92rem, 4vw, 1.08rem);
        line-height: 1.5;

        white-space: normal;
    }

    .manifesto p + p {
        margin-top: 14px;
        padding-top: 14px;
    }

    .presentation {
        width: 100%;
        margin-top: 34px;
    }

    .presentation > h2 {
        font-size: 2rem;
    }

    .presentation-bloc {
        padding: 25px 20px 25px 24px;

        border-radius: 19px;
    }

    .presentation-bloc h3 {
        font-size: 1.3rem;
    }

    .presentation-bloc p {
        font-size: 1rem;
        line-height: 1.68;
    }

    .page-header {
        width: calc(100% - 24px);

        padding-top: 32px;
    }

    .page-header h1 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.15;

        white-space: normal;
    }

    .page-header .page-intro {
        width: 100%;

        font-size: 1rem;
        line-height: 1.68;
    }

    .compostelle-intro-card {
        width: calc(100% - 24px);

        padding: 20px 18px;
    }

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

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .person-content {
        padding: 20px 18px;
    }

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

        margin: 32px auto 42px;
        padding: 24px 20px;

        border-radius: 19px;
    }

    .site-footer {
        padding-left: 14px;
        padding-right: 14px;

        font-size: 0.88rem;
    }

    .site-footer p {
        row-gap: 7px;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .header-inner {
        width: calc(100% - 18px);
    }

    .brand {
        max-width: 64vw;

        font-size: 0.94rem;
    }

    .follow-label {
        display: none;
    }

    .social-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }

    .main-nav a {
        max-width: none;

        padding-left: 7px;
        padding-right: 7px;

        font-size: 0.83rem;
    }

    .manifesto {
        padding: 22px 13px;
    }

    .manifesto p {
        font-size: 0.9rem;
    }

    .presentation > h2 {
        font-size: 1.8rem;
    }

    .presentation-bloc {
        padding: 23px 17px 23px 21px;
    }

    .presentation-bloc p {
        font-size: 0.96rem;
    }

    .page-header h1 {
        font-size: 1.55rem;
    }

    .compostelle-intro-card p {
        font-size: 0.96rem;
    }

    .legal {
        padding: 22px 17px;
    }
}

/* =========================================================
   AJOUT — TROISIÈME BOUTON DU MENU
   ========================================================= */

@media (max-width: 1120px) and (min-width: 701px) {

    .main-nav {
        gap: 6px;
    }

    .main-nav a {
        min-width: 0;
        padding: 9px 11px;
        font-size: 0.86rem;
    }

    .follow-label {
        font-size: 0.9rem;
    }
}


/* =========================================================
   PAGE — ILS PARLENT DE NOUS
   ========================================================= */

.page-header-presse {
    padding-top: 58px;
    padding-bottom: 26px;
}

.page-header-presse h1 {
    position: relative;
    padding-bottom: 20px;
}

.page-header-presse h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 2px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.55),
            rgba(8, 43, 131, 0)
        );
}

.press-list {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 60px;
}

.press-empty,
.press-card {
    padding: 32px 36px;
    background: var(--blanc);
    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(26, 76, 145, 0.08);
}

.press-empty {
    text-align: center;
}

.press-empty h2,
.press-card h2 {
    margin: 0 0 12px;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: 1.5rem;
}

.press-empty p,
.press-card p {
    margin: 0;
    color: #294669;
    font-size: 1rem;
    line-height: 1.7;
}

.press-meta {
    margin-bottom: 10px !important;
    color: var(--bleu-secondaire) !important;
    font-size: 0.9rem !important;
    font-weight: 700;
}

.press-link {
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 18px;
    color: var(--blanc);
    background: var(--bleu-principal);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.press-link:hover {
    background: var(--bleu-secondaire);
}

@media (max-width: 700px) {

    .page-header-presse {
        padding-top: 34px;
        padding-bottom: 20px;
    }

    .page-header-presse h1 {
        padding-bottom: 16px;
    }

    .page-header-presse h1::after {
        width: 58px;
    }

    .press-list {
        width: calc(100% - 24px);
        padding-bottom: 42px;
    }

    .press-empty,
    .press-card {
        padding: 24px 20px;
        border-radius: 19px;
    }

    .press-empty h2,
    .press-card h2 {
        font-size: 1.3rem;
    }
}


/* =========================================================
   MOBILE — 3 BOUTONS SUR UNE SEULE LIGNE
   ========================================================= */

@media (max-width: 700px) {

    .main-nav {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .main-nav a,
    .main-nav a:nth-child(3) {
        flex: 1 1 0;
        flex-basis: 0;
        min-width: 0;
        max-width: none;
        min-height: 52px;
        padding: 7px 5px;
        font-size: 0.78rem;
        line-height: 1.12;
        text-align: center;
        white-space: normal;
        border-width: 1.5px;
    }
}

@media (max-width: 430px) {

    .main-nav {
        gap: 5px;
    }

    .main-nav a,
    .main-nav a:nth-child(3) {
        min-height: 50px;
        padding: 6px 4px;
        font-size: 0.74rem;
        line-height: 1.1;
    }
}

/* =========================================================
   MOBILE — MENU ENCORE PLUS COMPACT
   Ces règles prennent le dessus sur le test précédent.
   ========================================================= */

@media (max-width: 700px) {

    .main-nav {
        gap: 5px;
    }

    .main-nav a,
    .main-nav a:nth-child(3) {
        min-height: 44px;

        padding: 5px 3px;

        font-size: 0.70rem;
        line-height: 1.08;

        border-width: 1px;
    }
}

@media (max-width: 430px) {

    .main-nav {
        gap: 4px;
    }

    .main-nav a,
    .main-nav a:nth-child(3) {
        min-height: 42px;

        padding: 4px 2px;

        font-size: 0.67rem;
        line-height: 1.06;
    }
}

/* =========================================================
   MENU — "NOS ACTIONS" AVEC SOUS-MENU
   ========================================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    min-width: 118px;

    padding: 11px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 2px solid var(--bleu-principal);
    border-radius: 999px;

    color: var(--bleu-principal);
    background: var(--blanc);

    font-size: 0.98rem;
    font-weight: 800;

    list-style: none;
    cursor: pointer;

    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown > summary::after {
    content: "▾";

    font-size: 0.72em;
    line-height: 1;

    transition: transform 160ms ease;
}

.nav-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.nav-dropdown > summary:hover {
    background: var(--bleu-tres-clair);
    transform: translateY(-1px);
}

.nav-dropdown.current-section > summary {
    color: var(--blanc);
    background: var(--bleu-principal);

    box-shadow: 0 6px 16px rgba(8, 43, 131, 0.22);
}

.nav-dropdown.current-section > summary:hover {
    background: var(--bleu-principal);
}

.nav-dropdown > summary:focus-visible {
    outline: 3px solid var(--bleu-secondaire);
    outline-offset: 4px;
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 100;

    top: calc(100% + 9px);
    left: 50%;

    width: 230px;

    padding: 7px;

    transform: translateX(-50%);

    background: var(--blanc);

    border: 1px solid rgba(8, 43, 131, 0.12);
    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(8, 43, 131, 0.18);
}

.main-nav .nav-dropdown-menu a {
    width: 100%;
    min-width: 0;

    padding: 11px 13px;

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

    border: 0;
    border-radius: 11px;

    color: var(--bleu-principal);
    background: transparent;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    box-shadow: none;
}

.main-nav .nav-dropdown-menu a:hover {
    color: var(--bleu-principal);
    background: var(--bleu-tres-clair);

    transform: none;
}

.main-nav .nav-dropdown-menu a[aria-current="page"] {
    color: var(--bleu-principal);
    background: var(--bleu-tres-clair);

    box-shadow: none;
}


/* Tablette */

@media (max-width: 1120px) and (min-width: 701px) {

    .nav-dropdown > summary {
        min-width: 0;
        padding: 9px 11px;
        font-size: 0.86rem;
    }
}


/* Téléphone */

@media (max-width: 700px) {

    .nav-dropdown {
        flex: 1 1 0;
        min-width: 0;
    }

    .nav-dropdown > summary {
        width: 100%;
        min-width: 0;
        min-height: 44px;

        padding: 5px 3px;

        border-width: 1px;

        font-size: 0.70rem;
        line-height: 1.08;
        text-align: center;
    }

    .nav-dropdown-menu {
        top: calc(100% + 7px);

        width: min(220px, calc(100vw - 30px));

        padding: 6px;

        border-radius: 14px;
    }

    .main-nav .nav-dropdown-menu a {
        min-height: 42px;

        padding: 9px 11px;

        font-size: 0.82rem;
    }
}


/* Petits téléphones */

@media (max-width: 430px) {

    .nav-dropdown > summary {
        min-height: 42px;

        padding: 4px 2px;

        font-size: 0.67rem;
        line-height: 1.06;
    }

    .nav-dropdown-menu {
        width: min(210px, calc(100vw - 24px));
    }
}



/* =========================================================
   MENU FINAL — 5 RUBRIQUES
   ========================================================= */

/* Le menu peut prendre plus de largeur sur ordinateur. */
@media (min-width: 1121px) {
    .header-inner {
        width: calc(100% - 60px);
    }

    .main-nav {
        gap: 7px;
    }

    .main-nav > a,
    .nav-dropdown > summary {
        min-width: 0;
        padding-left: 13px;
        padding-right: 13px;
        font-size: 0.88rem;
    }
}


/* Tablettes : boutons un peu plus fins pour conserver une barre propre. */
@media (max-width: 1120px) and (min-width: 701px) {
    .header-inner {
        width: calc(100% - 28px);
    }

    .main-nav {
        gap: 5px;
    }

    .main-nav > a,
    .nav-dropdown > summary {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 0.78rem;
    }

    .brand {
        font-size: 1.05rem;
    }

    .follow-label {
        display: none;
    }
}


/* Téléphone : deux lignes compactes.
   3 rubriques sur la première ligne, 2 sur la seconde. */
@media (max-width: 700px) {

    .main-nav {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 4px;
        align-items: stretch;
    }

    .main-nav > a,
    .main-nav > .nav-dropdown {
        min-width: 0;
        max-width: none;
    }

    .main-nav > a,
    .nav-dropdown > summary {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        padding: 4px 3px;
        font-size: 0.66rem;
        line-height: 1.05;
        border-width: 1px;
    }

    .main-nav > a:nth-of-type(1) {
        grid-column: span 2;
    }

    .main-nav > .nav-dropdown {
        grid-column: span 2;
    }

    .main-nav > a[href="papillons-messagers.html"] {
        grid-column: span 2;
    }

    .main-nav > a[href="ils-parlent-de-nous.html"] {
        grid-column: 2 / span 2;
    }

    .main-nav > a[href="nous-contacter.html"] {
        grid-column: 4 / span 2;
    }

    .nav-dropdown-menu {
        width: min(210px, calc(100vw - 24px));
    }
}

@media (max-width: 430px) {

    .main-nav > a,
    .nav-dropdown > summary {
        min-height: 36px;
        padding: 3px 2px;
        font-size: 0.63rem;
    }
}


/* =========================================================
   PAGES SIMPLES — PAPILLONS MESSAGERS / CONTACT
   ========================================================= */

.page-header-simple {
    padding-top: 58px;
    padding-bottom: 24px;
}

.page-header-simple h1 {
    position: relative;
    padding-bottom: 20px;
}

.page-header-simple h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 2px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.55),
            rgba(8, 43, 131, 0)
        );
}

.page-header-simple .page-intro {
    width: min(100%, 800px);
    margin: 24px auto 0;
    color: #294669;
    font-size: 1.08rem;
    line-height: 1.78;
}

.page-header-simple .page-intro p {
    width: 100%;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.simple-card {
    width: min(800px, calc(100% - 32px));
    margin: 0 auto 60px;
    padding: 30px 34px;
    text-align: center;
    color: #294669;
    background: var(--blanc);
    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(26, 76, 145, 0.08);
}

.simple-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.72;
}

.simple-card p + p {
    margin-top: 16px;
}

.simple-card-note {
    color: var(--texte-doux);
    font-style: italic;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 11px 22px;
    color: var(--blanc);
    background: var(--bleu-principal);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.contact-button:hover {
    background: var(--bleu-secondaire);
}

.contact-email {
    margin-top: 16px !important;
    color: var(--bleu-principal);
    font-weight: 700;
}

@media (max-width: 700px) {

    .page-header-simple {
        padding-top: 34px;
        padding-bottom: 20px;
    }

    .page-header-simple h1 {
        padding-bottom: 16px;
    }

    .page-header-simple h1::after {
        width: 58px;
    }

    .page-header-simple .page-intro {
        margin-top: 19px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .simple-card {
        width: calc(100% - 24px);
        margin-bottom: 42px;
        padding: 24px 20px;
        border-radius: 19px;
    }
}


/* =========================================================
   MENU MOBILE DÉROULANT
   Le menu ordinateur reste inchangé.
   ========================================================= */

/* Caché sur ordinateur */
.mobile-menu {
    display: none;
}


/* Téléphone */
@media (max-width: 700px) {

    /* On masque uniquement le menu horizontal du PC */
    .desktop-nav {
        display: none !important;
    }

    /* Le bouton Menu prend toute la deuxième ligne */
    .mobile-menu {
        position: relative;

        order: 3;

        width: 100%;

        display: block;
    }

    .mobile-menu > summary {
        width: min(180px, 100%);

        min-height: 38px;

        margin: 0 auto;
        padding: 7px 16px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        color: var(--bleu-principal);
        background: var(--blanc);

        border: 1px solid var(--bleu-principal);
        border-radius: 999px;

        font-size: 0.78rem;
        font-weight: 800;

        list-style: none;
        cursor: pointer;
    }

    .mobile-menu > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu-icon {
        font-size: 1rem;
        line-height: 1;
    }

    .mobile-menu[open] > summary {
        color: var(--blanc);
        background: var(--bleu-principal);
    }

    .mobile-menu-panel {
        width: min(330px, calc(100vw - 28px));

        margin: 8px auto 0;
        padding: 8px;

        display: flex;
        flex-direction: column;
        gap: 5px;

        background: var(--blanc);

        border: 1px solid rgba(8, 43, 131, 0.12);
        border-radius: 16px;

        box-shadow:
            0 12px 30px rgba(8, 43, 131, 0.18);
    }

    .mobile-menu-panel > a,
    .mobile-actions > summary,
    .mobile-submenu a {
        width: 100%;

        min-height: 38px;

        padding: 8px 12px;

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

        color: var(--bleu-principal);
        background: transparent;

        border: 0;
        border-radius: 10px;

        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.15;

        text-align: center;
        text-decoration: none;
    }

    .mobile-menu-panel > a:hover,
    .mobile-actions > summary:hover,
    .mobile-submenu a:hover {
        background: var(--bleu-tres-clair);
    }

    .mobile-menu-panel > a[aria-current="page"],
    .mobile-submenu a[aria-current="page"] {
        color: var(--blanc);
        background: var(--bleu-principal);
    }

    .mobile-actions {
        width: 100%;
    }

    .mobile-actions > summary {
        position: relative;

        list-style: none;
        cursor: pointer;
    }

    .mobile-actions > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-actions > summary::after {
        content: "▾";

        position: absolute;
        right: 12px;

        font-size: 0.72rem;

        transition: transform 160ms ease;
    }

    .mobile-actions[open] > summary::after {
        transform: rotate(180deg);
    }

    .mobile-actions.current-section > summary {
        color: var(--bleu-principal);
        background: var(--bleu-tres-clair);
    }

    .mobile-submenu {
        padding: 3px 5px 5px;
    }

    .mobile-submenu a {
        min-height: 36px;

        color: #294669;
        background: #f7fbff;

        font-size: 0.78rem;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .mobile-menu > summary {
        width: min(160px, 100%);

        min-height: 36px;

        padding: 6px 14px;

        font-size: 0.74rem;
    }

    .mobile-menu-panel {
        width: calc(100vw - 20px);
    }

    .mobile-menu-panel > a,
    .mobile-actions > summary {
        min-height: 36px;

        font-size: 0.79rem;
    }
}

/* =========================================================
   MOBILE — MENU À GAUCHE / RÉSEAUX À DROITE
   L'affichage ordinateur reste inchangé.
   ========================================================= */

@media (max-width: 700px) {

    /* Le nom du site est masqué uniquement sur téléphone :
       il reste présent sur ordinateur. */
    .brand {
        display: none;
    }

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;

        row-gap: 8px;
    }

    /* MENU À GAUCHE */
    .mobile-menu {
        order: 1;

        width: auto;

        margin: 0;
    }

    .mobile-menu > summary {
        width: auto;
        min-width: 112px;
        min-height: 36px;

        margin: 0;
        padding: 6px 13px;

        justify-content: center;

        font-size: 0.76rem;
    }

    /* RÉSEAUX À DROITE */
    .social-follow {
        position: static;

        order: 2;

        margin-left: auto;
        padding-left: 0;

        display: flex;
        align-items: center;
        gap: 6px;
    }

    .follow-label {
        display: inline;

        margin-right: 2px;

        font-size: 0.76rem;
        font-weight: 700;
    }

    .social-icon {
        width: 32px;
        height: 32px;

        flex: 0 0 32px;
    }

    .instagram-header img {
        width: 29px;
        height: 29px;
    }

    .facebook-attente {
        font-size: 20px;
    }

    /* Le panneau du menu s'ouvre sous le bouton de gauche. */
    .mobile-menu-panel {
        position: absolute;
        z-index: 120;

        top: calc(100% + 7px);
        left: 0;

        width: min(300px, calc(100vw - 28px));

        margin: 0;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .header-inner {
        width: calc(100% - 18px);
    }

    .mobile-menu > summary {
        min-width: 104px;
        min-height: 34px;

        padding: 5px 11px;

        font-size: 0.72rem;
    }

    .follow-label {
        display: inline;

        font-size: 0.70rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;

        flex-basis: 30px;
    }

    .instagram-header img {
        width: 27px;
        height: 27px;
    }

    .mobile-menu-panel {
        width: min(285px, calc(100vw - 20px));
    }
}

/* =========================================================
   CORRECTION MOBILE — POSITION RÉELLE DU MENU
   Menu à gauche / réseaux à droite
   ========================================================= */

@media (max-width: 700px) {

    .header-inner {
        position: relative;

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

        column-gap: 10px;
    }

    /* Le bloc qui contient les réseaux passe réellement à droite */
    .header-left {
        width: auto;
        min-width: 0;

        order: 2;

        margin-left: auto;

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

    .brand {
        display: none;
    }

    .header-left .social-follow {
        position: static;

        margin: 0;
        padding: 0;

        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Le menu passe réellement à gauche */
    .mobile-menu {
        position: relative;

        order: 1;

        width: auto;
        flex: 0 0 auto;

        margin: 0;
    }

    .mobile-menu > summary {
        margin: 0;
    }

    /* Le panneau part du bord gauche du bouton Menu */
    .mobile-menu-panel {
        position: absolute;
        z-index: 200;

        top: calc(100% + 7px);
        left: 0;
        right: auto;

        width: min(300px, calc(100vw - 28px));

        margin: 0;

        transform: none;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .header-inner {
        column-gap: 7px;
    }

    .mobile-menu-panel {
        left: 0;
        right: auto;

        width: min(285px, calc(100vw - 20px));
    }
}

/* =========================================================
   NOS ACTIONS — GRAND BLOC PHOTO + TEXTE
   ========================================================= */

.action-feature {
    width: min(980px, calc(100% - 32px));

    margin: 0 auto 64px;

    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);

    background: var(--blanc);

    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 26px;

    box-shadow:
        0 14px 36px rgba(26, 76, 145, 0.10);
}

.action-feature > img {
    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;
}

.action-feature-content {
    padding: 38px 38px 36px;

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

.action-date {
    margin: 0 0 10px;

    color: var(--bleu-secondaire);

    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;

    text-transform: uppercase;
}

.action-feature-content h2 {
    margin: 0 0 20px;

    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.action-feature-content p {
    margin: 0 0 16px;

    color: #294669;

    font-size: 1.02rem;
    line-height: 1.72;
}

.action-feature-content p:last-child {
    margin-bottom: 0;
}

.action-feature-content strong {
    color: var(--bleu-principal);
}

.action-phrase {
    margin-top: 4px !important;
    padding: 14px 16px;

    color: var(--bleu-principal) !important;

    font-weight: 700;
    font-style: italic;

    background: #f2f7ff;

    border-left: 3px solid rgba(36, 103, 220, 0.62);
    border-radius: 0 12px 12px 0;
}


/* Les deux actions dans le sous-menu sont affichées dans l'ordre chronologique */
.nav-dropdown-menu,
.mobile-submenu {
    display: flex;
    flex-direction: column;
}


/* Tablette */
@media (max-width: 900px) and (min-width: 701px) {

    .action-feature {
        grid-template-columns: 1fr 1fr;
    }

    .action-feature > img {
        min-height: 360px;
    }

    .action-feature-content {
        padding: 30px 28px;
    }
}


/* Téléphone */
@media (max-width: 700px) {

    .action-feature {
        width: calc(100% - 24px);

        margin-bottom: 42px;

        display: block;

        border-radius: 19px;
    }

    .action-feature > img {
        width: 100%;
        height: auto;
        min-height: 0;

        aspect-ratio: auto;

        object-fit: contain;

        background: #eef4fb;
    }

    .action-feature-content {
        padding: 24px 20px;
    }

    .action-date {
        font-size: 0.78rem;
    }

    .action-feature-content h2 {
        margin-bottom: 16px;

        font-size: 1.5rem;
    }

    .action-feature-content p {
        font-size: 0.97rem;
        line-height: 1.65;
    }
}

/* =========================================================
   SEMI-MARATHON — VERSION PLUS COMPACTE
   Optimisée ordinateur + téléphone
   ========================================================= */

/* En-tête moins imposant */
.page-header-action-compact {
    width: min(900px, calc(100% - 32px));

    padding-top: 40px;
    padding-bottom: 18px;
}

.page-header-action-compact h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
}

.page-header-action-compact .page-intro {
    width: min(100%, 680px);

    margin-top: 17px;

    font-size: 1rem;
    line-height: 1.62;
}


/* Carte du semi-marathon : volontairement plus petite que Compostelle */
.action-feature-semi {
    width: min(820px, calc(100% - 32px));

    margin-bottom: 50px;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    border-radius: 22px;
}

.action-feature-semi > img {
    width: 100%;
    height: auto;
    min-height: 0;

    align-self: center;

    object-fit: contain;

    background: #eef4fb;
}

.action-feature-semi .action-feature-content {
    padding: 27px 30px 28px;
}

.action-feature-semi .action-date {
    margin-bottom: 8px;

    font-size: 0.8rem;
}

.action-feature-semi .action-feature-content h2 {
    margin-bottom: 15px;

    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

.action-feature-semi .action-feature-content p {
    margin-bottom: 12px;

    font-size: 0.96rem;
    line-height: 1.6;
}


/* Tablettes */
@media (max-width: 900px) and (min-width: 701px) {

    .page-header-action-compact {
        padding-top: 34px;
    }

    .action-feature-semi {
        width: min(760px, calc(100% - 28px));
    }

    .action-feature-semi .action-feature-content {
        padding: 23px 24px;
    }

    .action-feature-semi .action-feature-content h2 {
        font-size: 1.5rem;
    }

    .action-feature-semi .action-feature-content p {
        font-size: 0.93rem;
    }
}


/* Téléphones */
@media (max-width: 700px) {

    .page-header-action-compact {
        width: calc(100% - 22px);

        padding-top: 24px;
        padding-bottom: 14px;
    }

    .page-header-action-compact .page-kicker {
        margin-bottom: 7px !important;
    }

    .page-header-action-compact h1 {
        padding-bottom: 13px;

        font-size: clamp(1.4rem, 6.5vw, 1.65rem);
        line-height: 1.12;
    }

    .page-header-action-compact h1::after {
        width: 52px;
    }

    .page-header-action-compact .page-intro {
        margin-top: 14px;

        font-size: 0.94rem;
        line-height: 1.52;
    }

    .action-feature-semi {
        width: calc(100% - 20px);

        margin-bottom: 32px;

        display: block;

        border-radius: 17px;
    }

    .action-feature-semi > img {
        width: 100%;
        height: auto;
        min-height: 0;

        object-fit: contain;

        border-radius: 17px 17px 0 0;
    }

    .action-feature-semi .action-feature-content {
        padding: 18px 16px 20px;
    }

    .action-feature-semi .action-date {
        margin-bottom: 7px;

        font-size: 0.72rem;
        letter-spacing: 0.035em;
    }

    .action-feature-semi .action-feature-content h2 {
        margin-bottom: 12px;

        font-size: 1.32rem;
        line-height: 1.16;
    }

    .action-feature-semi .action-feature-content p {
        margin-bottom: 10px;

        font-size: 0.93rem;
        line-height: 1.55;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .page-header-action-compact {
        width: calc(100% - 18px);

        padding-top: 21px;
    }

    .page-header-action-compact h1 {
        font-size: 1.38rem;
    }

    .page-header-action-compact .page-intro {
        font-size: 0.91rem;
    }

    .action-feature-semi {
        width: calc(100% - 16px);

        border-radius: 15px;
    }

    .action-feature-semi > img {
        border-radius: 15px 15px 0 0;
    }

    .action-feature-semi .action-feature-content {
        padding: 16px 14px 18px;
    }

    .action-feature-semi .action-feature-content h2 {
        font-size: 1.24rem;
    }

    .action-feature-semi .action-feature-content p {
        font-size: 0.91rem;
        line-height: 1.5;
    }
}

/* =========================================================
   NOS ACTIONS — VERSION COMPACTE HARMONISÉE
   Semi-marathon + Compostelle
   ========================================================= */

/* En-têtes plus discrets sur les pages d'actions */
.page-header-compostelle,
.page-header-action-compact {
    width: min(820px, calc(100% - 32px));
    padding-top: 34px;
    padding-bottom: 16px;
}

.page-header-compostelle h1,
.page-header-action-compact h1 {
    font-size: clamp(1.65rem, 2.3vw, 2.2rem);
}

.page-header-compostelle .page-intro,
.page-header-action-compact .page-intro {
    width: min(100%, 700px);
    margin-top: 15px;
    font-size: 0.98rem;
    line-height: 1.58;
}


/* Même taille pour les deux fiches */
.action-feature,
.action-feature-semi {
    width: min(720px, calc(100% - 32px));

    margin: 0 auto 44px;

    display: grid;
    grid-template-columns: 42% 58%;

    overflow: hidden;

    background: var(--blanc);

    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 20px;

    box-shadow:
        0 10px 26px rgba(26, 76, 145, 0.08);
}


/* Photo volontairement limitée : elle ne prend plus toute la page */
.action-feature > img,
.action-feature-semi > img {
    width: 100%;
    height: 100%;
    max-height: 310px;
    min-height: 0;

    align-self: center;

    object-fit: contain;

    background: #eef4fb;
}


/* Texte plus resserré */
.action-feature-content,
.action-feature-semi .action-feature-content {
    padding: 22px 24px;
}

.action-date,
.action-feature-semi .action-date {
    margin: 0 0 7px;

    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.action-feature-content h2,
.action-feature-semi .action-feature-content h2 {
    margin: 0 0 12px;

    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.15;
}

.action-feature-content p,
.action-feature-semi .action-feature-content p {
    margin: 0 0 10px;

    font-size: 0.92rem;
    line-height: 1.55;
}

.action-phrase {
    margin-top: 2px !important;
    padding: 10px 12px;

    font-size: 0.9rem !important;

    border-radius: 0 9px 9px 0;
}


/* Tablettes */
@media (max-width: 900px) and (min-width: 701px) {

    .action-feature,
    .action-feature-semi {
        width: min(680px, calc(100% - 28px));
        grid-template-columns: 41% 59%;
    }

    .action-feature > img,
    .action-feature-semi > img {
        max-height: 285px;
    }

    .action-feature-content,
    .action-feature-semi .action-feature-content {
        padding: 19px 20px;
    }

    .action-feature-content h2,
    .action-feature-semi .action-feature-content h2 {
        font-size: 1.35rem;
    }

    .action-feature-content p,
    .action-feature-semi .action-feature-content p {
        font-size: 0.89rem;
    }
}


/* Téléphones : photo au-dessus mais volontairement peu haute */
@media (max-width: 700px) {

    .page-header-compostelle,
    .page-header-action-compact {
        width: calc(100% - 22px);

        padding-top: 32px;
        padding-bottom: 12px;
    }

    .page-header-compostelle h1,
    .page-header-action-compact h1 {
        padding-bottom: 12px;

        font-size: clamp(1.32rem, 6vw, 1.52rem);
        line-height: 1.12;
    }

    .page-header-compostelle .page-intro,
    .page-header-action-compact .page-intro {
        margin-top: 12px;

        font-size: 0.91rem;
        line-height: 1.48;
    }

    .action-feature,
    .action-feature-semi {
        width: calc(100% - 22px);

        margin-bottom: 28px;

        display: block;

        border-radius: 16px;
    }

    .action-feature > img,
    .action-feature-semi > img {
        width: 100%;
        height: auto;
        max-height: 245px;
        min-height: 0;

        object-fit: contain;

        border-radius: 16px 16px 0 0;

        background: #eef4fb;
    }

    .action-feature-content,
    .action-feature-semi .action-feature-content {
        padding: 16px 15px 18px;
    }

    .action-date,
    .action-feature-semi .action-date {
        margin-bottom: 6px;

        font-size: 0.69rem;
    }

    .action-feature-content h2,
    .action-feature-semi .action-feature-content h2 {
        margin-bottom: 10px;

        font-size: 1.18rem;
        line-height: 1.15;
    }

    .action-feature-content p,
    .action-feature-semi .action-feature-content p {
        margin-bottom: 9px;

        font-size: 0.88rem;
        line-height: 1.48;
    }

    .action-phrase {
        padding: 9px 10px;

        font-size: 0.86rem !important;
        line-height: 1.45 !important;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .page-header-compostelle,
    .page-header-action-compact {
        width: calc(100% - 18px);
        padding-top: 32px;
    }

    .page-header-compostelle h1,
    .page-header-action-compact h1 {
        font-size: 1.3rem;
    }

    .action-feature,
    .action-feature-semi {
        width: calc(100% - 16px);

        border-radius: 14px;
    }

    .action-feature > img,
    .action-feature-semi > img {
        max-height: 220px;

        border-radius: 14px 14px 0 0;
    }

    .action-feature-content,
    .action-feature-semi .action-feature-content {
        padding: 14px 13px 16px;
    }

    .action-feature-content h2,
    .action-feature-semi .action-feature-content h2 {
        font-size: 1.12rem;
    }

    .action-feature-content p,
    .action-feature-semi .action-feature-content p {
        font-size: 0.86rem;
        line-height: 1.45;
    }
}

/* =========================================================
   PHOTOS D'ACTIONS — AGRANDISSEMENT UNIQUEMENT AU CLIC
   ========================================================= */

.action-photo-button {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    background: #eef4fb;
    border: 0;
    cursor: zoom-in;
}

.action-photo-button img {
    width: 100%;
    height: 100%;
    max-height: 310px;
    display: block;
    object-fit: contain;
}


/* Galerie : petites vignettes sous la photo principale */
.action-photo-thumbnails {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    padding: 8px 0 0;
}

.action-photo-thumbnail {
    width: 72px;
    height: 58px;

    flex: 0 0 72px;

    overflow: hidden;

    border: 1px solid rgba(8, 43, 131, 0.14);
    border-radius: 8px;

    background: #eef4fb;
}

.action-photo-thumbnail img {
    width: 100%;
    height: 100%;
    max-height: none;

    object-fit: cover;
}

.action-photo-caption {
    margin: 0;
    padding: 5px 4px;
    color: #8293aa;
    background: #eef4fb;
    font-size: 0.70rem;
    line-height: 1.3;
    text-align: center;
    font-style: italic;
}

body.photo-zoom-open {
    overflow: hidden;
}

.photo-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 18, 45, 0.90);
    cursor: zoom-out;
}

.photo-zoom-overlay > img {
    width: auto;
    max-width: min(94vw, 1200px);
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
    cursor: default;
}

.photo-zoom-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--bleu-principal);
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 700px) {
    .action-photo-button img {
        width: 100%;
        height: auto;
        max-height: 245px;
    }

    .action-photo-caption {
        font-size: 0.68rem;
    }

    .action-photo-thumbnails {
        gap: 7px;
        padding-top: 7px;
    }

    .action-photo-thumbnail {
        width: 64px;
        height: 52px;
        flex-basis: 64px;
    }

    .action-photo-thumbnail img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .photo-zoom-overlay {
        padding: 12px;
    }

    .photo-zoom-overlay > img {
        max-width: 96vw;
        max-height: 86vh;
        border-radius: 9px;
    }

    .photo-zoom-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
}

@media (max-width: 430px) {
    .action-photo-button img {
        max-height: 220px;
    }

    .action-photo-thumbnail {
        width: 58px;
        height: 48px;
        flex-basis: 58px;
    }

    .action-photo-thumbnail img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .photo-zoom-overlay {
        padding: 8px;
    }

    .photo-zoom-overlay > img {
        max-width: 98vw;
        max-height: 84vh;
    }
}

/* =========================================================
   RÉSEAUX SOCIAUX — FACEBOOK + TIKTOK SUR TOUTES LES PAGES
   ========================================================= */

.facebook-attente,
.tiktok-attente {
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: default;
    opacity: 0.62;
}

.facebook-attente img,
.tiktok-attente img {
    width: 34px;
    height: 34px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}

@media (max-width: 700px) {
    .facebook-attente img,
    .tiktok-attente img {
        width: 25px;
        height: 25px;
    }
}


/* =========================================================
   CHARTE — ARTICLES + DÉTAIL DES ARTICLES
   Le préambule reste sur la page d'accueil.
   ========================================================= */

.page-header-charte {
    width: min(850px, calc(100% - 32px));
    padding-top: 38px;
    padding-bottom: 20px;
}

.page-header-charte h1 {
    position: relative;
    padding-bottom: 17px;
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    line-height: 1.15;
    white-space: normal;
}

.page-header-charte h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70px;
    height: 2px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.55),
            rgba(8, 43, 131, 0)
        );
}

.page-header-charte .page-intro {
    width: min(100%, 710px);
    margin-top: 18px;
    color: #294669;
    font-size: 0.98rem;
    line-height: 1.62;
}

.charte-articles-page {
    width: min(930px, calc(100% - 32px));
    margin: 0 auto;
    padding: 4px 0 60px;
}

.charte-section-heading {
    width: min(760px, 100%);
    margin: 0 auto 24px;
    text-align: center;
}

.charte-small-title {
    margin: 0 0 7px;
    color: var(--bleu-secondaire);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.charte-section-heading h2 {
    margin: 0;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.charte-section-heading > p:last-child {
    margin: 11px auto 0;
    color: var(--texte-doux);
    font-size: 0.94rem;
    line-height: 1.55;
}


/* =========================================================
   SYNTHÈSE DES 5 ARTICLES
   ========================================================= */

.charte-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.charte-summary-card {
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
    background: var(--blanc);
    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 19px;
    box-shadow: 0 9px 24px rgba(26, 76, 145, 0.07);
}

.charte-summary-card:last-child {
    grid-column: 1 / -1;
    width: min(455px, 100%);
    justify-self: center;
}

.charte-summary-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    background:
        linear-gradient(
            180deg,
            var(--bleu-secondaire),
            var(--bleu-principal)
        );
    border-radius: 0 4px 4px 0;
}

.charte-number {
    display: block;
    margin-bottom: 7px;
    color: var(--bleu-secondaire);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.charte-summary-card h3 {
    margin: 0 0 10px;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: 1.22rem;
    line-height: 1.25;
}

.charte-summary-card p {
    margin: 0 0 6px;
    color: #294669;
    font-size: 0.9rem;
    line-height: 1.48;
}

.charte-summary-card p:last-child {
    margin-bottom: 0;
}

.charte-summary-strong {
    color: var(--bleu-principal) !important;
    font-weight: 800;
}


/* =========================================================
   DÉTAIL DES ARTICLES
   ========================================================= */

.charte-details {
    margin-top: 50px;
}

.charte-details-heading {
    margin-bottom: 24px;
}

.charte-detail-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 28px 31px 29px 35px;
    background: var(--blanc);
    border: 1px solid rgba(8, 43, 131, 0.08);
    border-radius: 21px;
    box-shadow: 0 10px 28px rgba(26, 76, 145, 0.07);
}

.charte-detail-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background:
        linear-gradient(
            180deg,
            var(--bleu-secondaire),
            var(--bleu-principal)
        );
    border-radius: 0 4px 4px 0;
}

.charte-detail-title {
    margin-bottom: 17px;
}

.charte-detail-title .charte-number {
    margin-bottom: 5px;
}

.charte-detail-title h3 {
    margin: 0;
    color: var(--bleu-principal);
    font-family: var(--police-elegante);
    font-size: 1.42rem;
    line-height: 1.25;
}

.charte-detail-card p {
    margin: 0 0 13px;
    color: #294669;
    font-size: 0.97rem;
    line-height: 1.68;
}

.charte-detail-card p:last-child {
    margin-bottom: 0;
}

.charte-detail-card strong {
    color: var(--bleu-principal);
    font-weight: 700;
}

.charte-detail-lead {
    color: var(--bleu-principal) !important;
    font-weight: 700;
}

.charte-detail-subtitle {
    margin-top: 18px !important;
    margin-bottom: 6px !important;
    color: var(--bleu-principal) !important;
    font-weight: 700;
}

.charte-detail-list {
    margin: 4px 0 15px;
    padding-left: 22px;
    color: #294669;
}

.charte-detail-list li {
    margin-bottom: 8px;
    padding-left: 3px;
    font-size: 0.97rem;
    line-height: 1.6;
}

.charte-detail-list li:last-child {
    margin-bottom: 0;
}

.charte-detail-phrase {
    margin-top: 18px !important;
    padding: 12px 15px;
    color: var(--bleu-principal) !important;
    background: #f2f7ff;
    border-left: 3px solid rgba(36, 103, 220, 0.62);
    border-radius: 0 10px 10px 0;
    font-family: var(--police-elegante);
    font-style: italic;
    font-weight: 700;
}


/* =========================================================
   BOUTON DEPUIS L'ACCUEIL
   ========================================================= */

.charte-home-link {
    margin: 30px auto 0;
    text-align: center;
}

.charte-home-button {
    min-height: 44px;
    padding: 11px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    background: var(--bleu-principal);
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(8, 43, 131, 0.17);
    transition:
        background 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.charte-home-button:hover {
    background: var(--bleu-secondaire);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(8, 43, 131, 0.20);
}

.charte-home-button:focus-visible {
    outline: 3px solid var(--bleu-secondaire);
    outline-offset: 4px;
}


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

@media (max-width: 700px) {

    .page-header-charte {
        width: calc(100% - 22px);
        padding-top: 21px;
        padding-bottom: 15px;
    }

    .page-header-charte h1 {
        padding-bottom: 12px;
        font-size: clamp(1.33rem, 6vw, 1.55rem);
    }

    .page-header-charte h1::after {
        width: 56px;
    }

    .page-header-charte .page-intro {
        margin-top: 13px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .charte-articles-page {
        width: calc(100% - 22px);
        padding-bottom: 40px;
    }

    .charte-section-heading {
        margin-bottom: 18px;
    }

    .charte-small-title {
        font-size: 0.68rem;
    }

    .charte-section-heading h2 {
        font-size: 1.32rem;
    }

    .charte-section-heading > p:last-child {
        margin-top: 8px;
        font-size: 0.86rem;
    }

    .charte-summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .charte-summary-card,
    .charte-summary-card:last-child {
        width: 100%;
        grid-column: auto;
        padding: 18px 17px 18px 20px;
        border-radius: 16px;
    }

    .charte-summary-card::before {
        top: 15px;
        bottom: 15px;
    }

    .charte-summary-card h3 {
        font-size: 1.08rem;
    }

    .charte-summary-card p {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .charte-details {
        margin-top: 38px;
    }

    .charte-detail-card {
        margin-bottom: 15px;
        padding: 22px 17px 23px 21px;
        border-radius: 17px;
    }

    .charte-detail-card::before {
        top: 19px;
        bottom: 19px;
        width: 3px;
    }

    .charte-detail-title {
        margin-bottom: 14px;
    }

    .charte-detail-title h3 {
        font-size: 1.2rem;
    }

    .charte-detail-card p,
    .charte-detail-list li {
        font-size: 0.89rem;
        line-height: 1.57;
    }

    .charte-detail-phrase {
        padding: 11px 12px;
    }

    .charte-home-link {
        margin-top: 24px;
    }

    .charte-home-button {
        min-height: 42px;
        padding: 10px 17px;
        font-size: 0.87rem;
    }
}

@media (max-width: 430px) {

    .charte-articles-page {
        width: calc(100% - 16px);
    }

    .charte-summary-card,
    .charte-summary-card:last-child {
        padding: 17px 14px 17px 18px;
    }

    .charte-detail-card {
        padding: 20px 14px 21px 18px;
    }

    .charte-detail-card p,
    .charte-detail-list li {
        font-size: 0.86rem;
    }
}


/* =========================================================
   ACCUEIL — PRÉAMBULE : BLOC D'OUVERTURE + BLOC DE FIN
   ========================================================= */

.manifesto-preambule {
    padding-top: 25px;
    padding-bottom: 27px;
}

.manifesto-preambule .manifesto-preambule-title {
    margin-bottom: 21px;

    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: clamp(1rem, 2.1vw, 1.32rem);
    font-weight: 700;
    line-height: 1.35;

    letter-spacing: 0.02em;
}

.manifesto-preambule .manifesto-preambule-principe {
    font-size: clamp(1.18rem, 2.7vw, 1.65rem);
    line-height: 1.38;
}

.manifesto-preambule .manifesto-preambule-principe + .manifesto-preambule-principe {
    margin-top: 15px;
}

.manifesto-preambule strong {
    color: #041f63;
    font-weight: 700;
}

.manifesto-fin {
    margin-top: 32px;
}

.manifesto-mobile-break {
    display: none;
}


/* Téléphone */
@media (max-width: 700px) {

    .manifesto-preambule {
        padding: 20px 13px 21px;
    }

    .manifesto-preambule p {
        white-space: normal;
    }

    .manifesto-preambule .manifesto-preambule-title {
        margin-bottom: 18px;

        font-size: 0.92rem;
        line-height: 1.35;
    }

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: 1.08rem;
        line-height: 1.38;
    }

    .manifesto-preambule .manifesto-preambule-principe + .manifesto-preambule-principe {
        margin-top: 14px;
    }

    .manifesto-mobile-break {
        display: initial;
    }

    .manifesto-fin {
        margin-top: 26px;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .manifesto-preambule .manifesto-preambule-title {
        font-size: 0.86rem;
    }

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: 1rem;
    }

    .manifesto-fin p {
        white-space: normal;
    }
}


/* ACCUEIL — FIN DU PRÉAMBULE : phrase "Chaque geste..." */
.manifesto-fin .manifesto-fin-intro {
    width: min(700px, 100%);
    margin: 0 auto 20px;

    color: #294669;

    font-family: var(--police-texte);
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .manifesto-fin .manifesto-fin-intro {
        margin-bottom: 17px;
        font-size: 0.88rem;
        line-height: 1.52;
    }
}

@media (max-width: 430px) {
    .manifesto-fin .manifesto-fin-intro {
        font-size: 0.85rem;
    }
}


/* =========================================================
   ACCUEIL — PRÉAMBULE : HIÉRARCHIE TYPOGRAPHIQUE
   ========================================================= */

/* Le titre intermédiaire "Opération Papillon" a été retiré */
.presentation-sans-titre {
    margin-top: 34px;
}


/* Bloc d'annonce */
.manifesto-preambule {
    padding: 27px 24px 29px;
}


/* PRÉAMBULE puis CHARTE... : deux niveaux distincts */
.manifesto-preambule .manifesto-preambule-title {
    margin: 0 0 26px;
    padding: 0;

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

    line-height: 1.2;
}

.manifesto-preambule .manifesto-preambule-label {
    margin-bottom: 8px;

    color: var(--bleu-secondaire);

    font-family: var(--police-texte);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.manifesto-preambule .manifesto-preambule-charte {
    color: var(--bleu-principal);

    font-family: var(--police-elegante);
    font-size: clamp(1.22rem, 2.35vw, 1.58rem);
    font-weight: 700;
    line-height: 1.28;

    letter-spacing: 0.01em;
}


/* Les deux formules fondatrices */
.manifesto-preambule .manifesto-preambule-principe {
    margin: 0;

    color: #294669;

    font-family: var(--police-elegante);
    font-size: clamp(1rem, 1.9vw, 1.18rem);
    font-weight: 400;
    line-height: 1.36;
}

.manifesto-preambule .manifesto-preambule-principe + .manifesto-preambule-principe {
    margin-top: 20px;
}

.manifesto-preambule .manifesto-principe-ligne {
    display: block;
}

.manifesto-preambule .manifesto-principe-liaison {
    font-size: 0.94em;
    font-weight: 400;
}

.manifesto-preambule .manifesto-preambule-principe strong {
    color: #041f63;

    font-size: 1.22em;
    font-weight: 700;

    letter-spacing: 0.025em;
}


/* Séparation légère entre les deux idées */
.manifesto-preambule .manifesto-preambule-principe:first-of-type {
    position: relative;
    padding-bottom: 19px;
}

.manifesto-preambule .manifesto-preambule-principe:first-of-type::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 42px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 131, 0),
            rgba(8, 43, 131, 0.27),
            rgba(8, 43, 131, 0)
        );
}


/* Téléphone */
@media (max-width: 700px) {

    .presentation-sans-titre {
        margin-top: 25px;
    }

    .manifesto-preambule {
        padding: 22px 14px 24px;
    }

    .manifesto-preambule .manifesto-preambule-title {
        margin-bottom: 22px;
    }

    .manifesto-preambule .manifesto-preambule-label {
        margin-bottom: 7px;

        font-size: 0.67rem;
        letter-spacing: 0.16em;
    }

    .manifesto-preambule .manifesto-preambule-charte {
        font-size: 1.16rem;
        line-height: 1.25;
    }

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: 0.98rem;
        line-height: 1.34;
    }

    .manifesto-preambule .manifesto-preambule-principe strong {
        font-size: 1.18em;
    }

    .manifesto-preambule .manifesto-preambule-principe + .manifesto-preambule-principe {
        margin-top: 17px;
    }

    .manifesto-preambule .manifesto-preambule-principe:first-of-type {
        padding-bottom: 17px;
    }
}


/* Petits téléphones */
@media (max-width: 430px) {

    .manifesto-preambule {
        padding-left: 11px;
        padding-right: 11px;
    }

    .manifesto-preambule .manifesto-preambule-charte {
        font-size: 1.08rem;
    }

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: 0.94rem;
    }
}


/* =========================================================
   ACCUEIL — PRÉAMBULE : 2 PHRASES SUR 2 LIGNES COMPLÈTES
   ========================================================= */

.manifesto-preambule .manifesto-preambule-principe {
    white-space: nowrap;
}

.manifesto-preambule .manifesto-principe-ligne {
    display: inline;
}


/* Téléphone : taille ajustée pour conserver chaque phrase sur une seule ligne */
@media (max-width: 700px) {

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: clamp(0.82rem, 3.5vw, 0.98rem);
        line-height: 1.4;
        white-space: nowrap;
    }

    .manifesto-preambule .manifesto-preambule-principe strong {
        font-size: 1.12em;
        letter-spacing: 0.01em;
    }

    .manifesto-preambule .manifesto-principe-liaison {
        font-size: 0.96em;
    }
}


/* Très petits écrans */
@media (max-width: 380px) {

    .manifesto-preambule .manifesto-preambule-principe {
        font-size: 0.78rem;
    }

    .manifesto-preambule .manifesto-preambule-principe strong {
        font-size: 1.08em;
    }
}


/* =========================================================
   CHARTE — RETOUR AU PRÉAMBULE
   ========================================================= */

.charte-back-preambule {
    margin-top: 16px;
    text-align: center;
}

.charte-back-preambule a {
    min-height: 40px;
    padding: 8px 15px;

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

    color: var(--bleu-principal);
    background: var(--blanc);

    border: 1px solid rgba(8, 43, 131, 0.20);
    border-radius: 999px;

    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(26, 76, 145, 0.06);

    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.charte-back-preambule a:hover {
    background: var(--bleu-tres-clair);
    border-color: rgba(8, 43, 131, 0.32);
    transform: translateY(-1px);
}

.charte-back-preambule a:focus-visible {
    outline: 3px solid var(--bleu-secondaire);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .charte-back-preambule {
        margin-top: 13px;
    }

    .charte-back-preambule a {
        min-height: 38px;
        padding: 8px 13px;
        font-size: 0.82rem;
    }
}


/* =========================================================
   TABLETTE — MENU DÉROULANT COMPACT
   701px à 1120px
   L'ordinateur (>1120px) reste inchangé.
   ========================================================= */

@media (min-width: 701px) and (max-width: 1120px) {

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        position: relative;

        width: calc(100% - 32px);
        min-height: 58px;

        padding: 9px 0;

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

        column-gap: 14px;
    }

    /* Même logique que sur téléphone :
       on évite de comprimer les 5 boutons horizontaux. */
    .desktop-nav {
        display: none !important;
    }

    .brand {
        display: none;
    }

    /* Bouton Menu à gauche */
    .mobile-menu {
        position: relative;

        order: 1;

        width: auto;
        flex: 0 0 auto;

        display: block;
    }

    .mobile-menu > summary {
        width: auto;
        min-width: 118px;
        min-height: 38px;

        margin: 0;
        padding: 7px 14px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        color: var(--bleu-principal);
        background: var(--blanc);

        border: 1px solid var(--bleu-principal);
        border-radius: 999px;

        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1;

        list-style: none;
        cursor: pointer;
    }

    .mobile-menu > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu-icon {
        font-size: 1rem;
        line-height: 1;
    }

    .mobile-menu[open] > summary {
        color: var(--blanc);
        background: var(--bleu-principal);
    }

    /* Réseaux à droite */
    .social-follow {
        position: static;

        order: 2;

        margin-left: auto;
        padding: 0;

        display: flex;
        align-items: center;
        gap: 7px;
    }

    .follow-label {
        display: inline;

        margin-right: 2px;

        font-size: 0.76rem;
        font-weight: 700;
    }

    .social-icon {
        width: 31px;
        height: 31px;

        flex: 0 0 31px;
    }

    .instagram-header img {
        width: 28px;
        height: 28px;
    }

    .facebook-attente {
        font-size: 20px;
    }

    /* Panneau déroulant sous le bouton Menu */
    .mobile-menu-panel {
        position: absolute;
        z-index: 200;

        top: calc(100% + 7px);
        left: 0;
        right: auto;

        width: 315px;

        margin: 0;
        padding: 8px;

        display: flex;
        flex-direction: column;
        gap: 4px;

        background: var(--blanc);

        border: 1px solid rgba(8, 43, 131, 0.12);
        border-radius: 16px;

        box-shadow:
            0 12px 30px rgba(8, 43, 131, 0.18);
    }

    .mobile-menu-panel > a,
    .mobile-actions > summary,
    .mobile-submenu a {
        width: 100%;
        min-height: 38px;

        padding: 8px 12px;

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

        color: var(--bleu-principal);
        background: transparent;

        border: 0;
        border-radius: 10px;

        font-size: 0.80rem;
        font-weight: 700;
        line-height: 1.15;

        text-align: center;
        text-decoration: none;

        white-space: nowrap;
    }

    .mobile-menu-panel > a:hover,
    .mobile-actions > summary:hover,
    .mobile-submenu a:hover {
        background: var(--bleu-tres-clair);
    }

    .mobile-menu-panel > a[aria-current="page"],
    .mobile-submenu a[aria-current="page"] {
        color: var(--blanc);
        background: var(--bleu-principal);
    }

    .mobile-actions {
        width: 100%;
    }

    .mobile-actions > summary {
        position: relative;

        list-style: none;
        cursor: pointer;
    }

    .mobile-actions > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-actions > summary::after {
        content: "▾";

        position: absolute;
        right: 12px;

        font-size: 0.72rem;

        transition: transform 160ms ease;
    }

    .mobile-actions[open] > summary::after {
        transform: rotate(180deg);
    }

    .mobile-actions.current-section > summary {
        color: var(--bleu-principal);
        background: var(--bleu-tres-clair);
    }

    .mobile-submenu {
        padding: 3px 5px 5px;
    }

    .mobile-submenu a {
        min-height: 36px;

        color: #294669;
        background: #f7fbff;

        font-size: 0.77rem;
    }
}


/* Tablettes étroites : on garde encore un peu plus d'air. */
@media (min-width: 701px) and (max-width: 820px) {

    .header-inner {
        width: calc(100% - 24px);
    }

    .mobile-menu > summary {
        min-width: 108px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .follow-label {
        font-size: 0.72rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .instagram-header img {
        width: 27px;
        height: 27px;
    }

    .mobile-menu-panel {
        width: 300px;
    }
}

