.ordre-page {
    background: #02070f;
    color: #f5f3ed;
}

.ordre-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(2,7,15,.96) 0%,
            rgba(2,7,15,.82) 48%,
            rgba(2,7,15,.42) 100%
        ),
        url("../images/hero-osdf-medieval.webp") center / cover no-repeat;
}

.ordre-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(
        to bottom,
        transparent,
        #02070f
    );
}

.ordre-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 80px));
    margin: auto;
    padding-top: 120px;
    box-sizing: border-box;
}

.ordre-eyebrow {
    margin-bottom: 22px;
    color: #d8ab38;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
}

.ordre-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5.5vw, 68px);
    line-height: .98;
    font-weight: 400;
}

.ordre-hero h1 span {
    color: #d8ab38;
}

.ordre-divider {
    width: 90px;
    height: 1px;
    margin: 35px 0;
    background: #d8ab38;
}

.ordre-lead {
    max-width: 650px;
    color: #c9cdd2;
    font-size: 17px;
    line-height: 1.8;
}

.ordre-section {
    padding: 120px 40px;
}

.ordre-section-inner {
    width: min(1100px, 100%);
    margin: auto;
}

.ordre-small-title {
    margin-bottom: 18px;
    color: #d8ab38;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
}

.ordre-section h2 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    font-weight: 400;
}

.ordre-section p {
    max-width: 780px;
    color: #c7cbd0;
    font-size: 16px;
    line-height: 1.85;
}

.ordre-mission {
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(216,171,56,.08),
            transparent 45%
        ),
        #02070f;
}

.ordre-mission .ordre-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ordre-mission p {
    margin-left: auto;
    margin-right: auto;
}

.ordre-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 70px 5%;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(216,171,56,.06),
            transparent 45%
        ),
        #02070f;
}

.ordre-pillar {
    position: relative;
    min-height: 330px;
    padding: 55px 45px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.005)
        ),
        #050a12;

    border: 1px solid rgba(216,171,56,.22);
    box-shadow:
        0 25px 60px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.025);

    overflow: hidden;
}

.ordre-pillar-symbol {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 38px;

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

    color: #d8ab38;
    font-size: 27px;

    border: 1px solid rgba(216,171,56,.35);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216,171,56,.10),
            transparent 70%
        );

    box-shadow:
        0 0 30px rgba(216,171,56,.06);
}

.ordre-pillar h3 {
    margin: 0 0 18px;

    color: #f5f3ed;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1px;
}

.ordre-pillar-label {
    max-width: 100%;
    margin: 0 0 14px;
    color: #d8ab38;
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ordre-pillar p {
    max-width: 360px;
    margin: 0 auto;

    color: #aeb4bb;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.ordre-identity {
    text-align: center;
}

.ordre-identity .ordre-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ordre-identity-symbol {
    margin: 35px 0;
    color: #d8ab38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 90px;
    line-height: 1;
}

.ordre-identity p {
    margin-left: auto;
    margin-right: auto;
}

.ordre-final {
    position: relative;
    padding: 110px 40px 120px;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(216,171,56,.09),
            transparent 42%
        ),
        #02070f;
    border-top: 1px solid rgba(216,171,56,.12);
}

.ordre-final .ordre-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ordre-final h2 {
    max-width: 850px;
    margin: 0 auto 60px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 400;
}

.ordre-final-values {
    width: min(1000px, 100%);
    margin: 0 auto 55px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.ordre-final-values div {
    padding: 0 25px;
}

@media (min-width: 801px) {
    body.engagement-page .ordre-final-values > div:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 25px);
        box-sizing: border-box;
        justify-self: center;
    }
}

.ordre-final-values span {
    display: block;
    margin-bottom: 16px;
    color: #d8ab38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 2px;
}

.ordre-final-values p {
    margin: 0;
    color: #c7cbd0;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 800px) {

    .ordre-hero {
        min-height: 620px;
    }

    .ordre-hero-inner {
        width: calc(100% - 40px);
    }

    .ordre-hero h1 {
        font-size: 48px;
    }

    .ordre-section {
        padding: 80px 25px;
    }

    .ordre-pillars {
        grid-template-columns: 1fr;
    }

    .ordre-pillar {
        min-height: auto;
    }
}


/* Correction débordement horizontal — page Ordre */
.ordre-page {
    overflow-x: hidden;
}

.ordre-page main,
.ordre-page section,
.ordre-page .ordre-section-inner,
.ordre-page .ordre-hero-inner {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 800px) {

    .ordre-pillars {
        grid-template-columns: 1fr !important;
    }

    .ordre-final-values {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        width: 100% !important;
    }

    .ordre-final-values div {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Empêche le débordement horizontal sur la page Ordre */
html:has(body.ordre-page),
body.ordre-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.ordre-page .menu-panel {
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

body.ordre-page .menu-panel-inner {
    max-width: 100%;
    box-sizing: border-box;
}


/* DECLARATION FONDATRICE OSDF */
.osdf-declaration {
    position: relative;
    padding: 75px 20px;
    background: linear-gradient(180deg, #010817 0%, #08162d 50%, #010817 100%);
    text-align: center;
    overflow: hidden;
}

.declaration-inner {
    max-width: 900px;
    margin: 0 auto;
}

.declaration-kicker {
    display: block;
    color: #c9a44c;
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.declaration-inner h2 {
    color: #f2f0e9;
    font-family: Georgia, serif;
    font-size: clamp(23px, 4vw, 38px);
    letter-spacing: 2px;
    margin: 0;
}

.declaration-separator {
    width: 75px;
    height: 2px;
    background: #c9a44c;
    margin: 28px auto;
}

.declaration-inner h3 {
    color: #c9a44c;
    font-family: Georgia, serif;
    font-size: clamp(22px, 3.5vw, 32px);
    letter-spacing: 3px;
    margin: 0 0 35px;
}

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

.declaration-values p {
    color: #f3f1eb;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .osdf-declaration {
        padding: 55px 18px;
    }

    .declaration-kicker {
        letter-spacing: 3px;
    }

    .declaration-inner h2 {
        letter-spacing: 1px;
    }

    .declaration-inner h3 {
        letter-spacing: 2px;
        margin-bottom: 28px;
    }

    .declaration-values p {
        font-size: 17px;
    }
}

/* HERO IDENTITÉ — même univers visuel que NOS VALEURS */
body.identite-page .ordre-hero {
    background:
        linear-gradient(
            90deg,
            rgba(2,7,15,.72) 0%,
            rgba(2,7,15,.42) 48%,
            rgba(2,7,15,.12) 100%
        ),
        url("../images/hero-valeurs-web.webp") center / cover no-repeat;
}

body.identite-page .ordre-hero::after {
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(2,7,15,.60) 100%
    );
}

/* IDENTITÉ — cadrage mobile */
@media (max-width: 768px) {
    body.identite-page .ordre-hero {
        background:
            linear-gradient(
                to top,
                rgba(2,7,15,.88) 0%,
                rgba(2,7,15,.35) 45%,
                rgba(2,7,15,.08) 100%
            ),
            url("../images/hero-valeurs-mobile-v2.webp") center 42% / cover no-repeat;
    }
}


/* =========================================================
   OSDF — LUMIÈRE / TÉNÈBRES
   Atmosphère cinématographique
   ========================================================= */

/* ---------------------------------------------------------
   HERO — LES TÉNÈBRES
   --------------------------------------------------------- */

body.ordre-page .ordre-hero {
    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(216,171,56,.13) 0%,
            rgba(216,171,56,.045) 18%,
            transparent 42%
        ),
        linear-gradient(
            90deg,
            rgba(1,4,10,.98) 0%,
            rgba(2,7,15,.90) 42%,
            rgba(2,7,15,.48) 72%,
            rgba(2,7,15,.72) 100%
        ),
        url("../images/hero-osdf-medieval.webp") center / cover no-repeat;
}

/* Vignette sombre autour de l'image */
body.ordre-page .ordre-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(0,0,0,.22) 58%,
            rgba(0,0,0,.78) 100%
        );
}

/* Transition vers le noir */
body.ordre-page .ordre-hero::after {
    height: 280px;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(2,7,15,.45) 35%,
            #02070f 100%
        );
}


/* ---------------------------------------------------------
   TITRE HERO — LA LUMIÈRE APPARAÎT
   --------------------------------------------------------- */

body.ordre-page .ordre-hero h1 {
    text-shadow:
        0 2px 25px rgba(0,0,0,.75);
}

body.ordre-page .ordre-hero h1 span {
    color: #e1b947;

    text-shadow:
        0 0 18px rgba(216,171,56,.18),
        0 0 45px rgba(216,171,56,.08);
}

body.ordre-page .ordre-divider {
    box-shadow:
        0 0 12px rgba(216,171,56,.30),
        0 0 35px rgba(216,171,56,.10);
}


/* ---------------------------------------------------------
   MISSION — LA LUMIÈRE AU MILIEU DES TÉNÈBRES
   --------------------------------------------------------- */

body.ordre-page .ordre-mission {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(216,171,56,.18) 0%,
            rgba(216,171,56,.075) 18%,
            rgba(216,171,56,.025) 34%,
            transparent 58%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.025),
            transparent 45%
        ),
        #02070f;
}

/* Halo central */
body.ordre-page .ordre-mission::before {
    content: "";
    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216,171,56,.075) 0%,
            rgba(216,171,56,.025) 32%,
            transparent 70%
        );

    filter: blur(18px);
    pointer-events: none;
}

/* Tout le contenu reste au-dessus du halo */
body.ordre-page .ordre-mission .ordre-section-inner {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   TITRE DE MISSION
   --------------------------------------------------------- */

body.ordre-page .ordre-mission h2 {
    text-shadow:
        0 0 20px rgba(216,171,56,.10),
        0 3px 30px rgba(0,0,0,.8);
}

body.ordre-page .ordre-mission h2::after {
    content: "✦";

    display: block;

    margin-top: 30px;

    color: #d8ab38;

    font-family: Georgia, serif;
    font-size: 18px;

    opacity: .75;

    text-shadow:
        0 0 15px rgba(216,171,56,.45);
}


/* ---------------------------------------------------------
   PETIT TITRE — SIGNAL DE LUMIÈRE
   --------------------------------------------------------- */

body.ordre-page .ordre-mission .ordre-small-title {
    text-shadow:
        0 0 12px rgba(216,171,56,.25);
}


/* ---------------------------------------------------------
   PARAGRAPHES — CONTRASTE
   --------------------------------------------------------- */

body.ordre-page .ordre-mission p {
    color: #d0d3d7;
}

body.ordre-page .ordre-mission p:first-of-type {
    color: #e3e0d8;
}


/* ---------------------------------------------------------
   CINQ VALEURS — CINQ GARDIENS
   --------------------------------------------------------- */

body.ordre-page .ordre-pillars {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #02070f 0%,
            #01040a 50%,
            #02070f 100%
        );
}

/* Ligne lumineuse supérieure */
body.ordre-page .ordre-pillars::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(700px, 70%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216,171,56,.5),
            transparent
        );

    box-shadow:
        0 0 18px rgba(216,171,56,.15);
}


/* Cartes */
body.ordre-page .ordre-pillar {
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(216,171,56,.055),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.028),
            rgba(255,255,255,.004)
        ),
        #050a12;
}

/* Effet lumineux au survol */
body.ordre-page .ordre-pillar:hover {
    transform: translateY(-6px);

    border-color:
        rgba(216,171,56,.48);

    box-shadow:
        0 30px 70px rgba(0,0,0,.55),
        0 0 35px rgba(216,171,56,.07),
        inset 0 1px 0 rgba(255,255,255,.04);
}


/* Symboles */
body.ordre-page .ordre-pillar-symbol {
    box-shadow:
        0 0 18px rgba(216,171,56,.10),
        0 0 50px rgba(216,171,56,.035);

    text-shadow:
        0 0 15px rgba(216,171,56,.30);
}


/* ---------------------------------------------------------
   IDENTITÉ — LA CROIX COMME SOURCE DE LUMIÈRE
   --------------------------------------------------------- */

body.ordre-page .ordre-identity {
    position: relative;

    background:
        radial-gradient(
            circle at center,
            rgba(216,171,56,.10),
            transparent 38%
        ),
        #02070f;
}

body.ordre-page .ordre-identity-symbol {
    color: #e0b84e;

    text-shadow:
        0 0 15px rgba(216,171,56,.25),
        0 0 55px rgba(216,171,56,.12),
        0 0 100px rgba(216,171,56,.06);
}


/* ---------------------------------------------------------
   CONCLUSION — LA LUMIÈRE DOMINE LES TÉNÈBRES
   --------------------------------------------------------- */

body.ordre-page .ordre-final {
    background:
        radial-gradient(
            ellipse at 50% 20%,
            rgba(216,171,56,.17) 0%,
            rgba(216,171,56,.06) 20%,
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #02070f 0%,
            #071224 55%,
            #01040a 100%
        );

    border-top:
        1px solid rgba(216,171,56,.20);
}

body.ordre-page .ordre-final h2 {
    text-shadow:
        0 0 25px rgba(216,171,56,.12),
        0 5px 35px rgba(0,0,0,.8);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    body.ordre-page .ordre-hero {
        background:
            radial-gradient(
                circle at 70% 38%,
                rgba(216,171,56,.10),
                transparent 42%
            ),
            linear-gradient(
                90deg,
                rgba(1,4,10,.78),
                rgba(2,7,15,.42)
            ),
            url("../images/hero-osdf-medieval.webp") center / cover no-repeat;
    }

    body.ordre-page .ordre-mission::before {
        width: 420px;
        height: 420px;
    }

    body.ordre-page .ordre-mission h2::after {
        margin-top: 22px;
    }
}



/* =========================================================
   OSDF — 5 VALEURS
   Centrage du bloc final
   ========================================================= */

@media (min-width: 801px) {
    body.ordre-page .ordre-pillars {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 26px !important;
    }

    body.ordre-page .ordre-pillars .ordre-pillar {
        grid-column: auto !important;
        grid-row: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   OSDF — 5 VALEURS
   Centrage des cartes
   ========================================================= */

@media (min-width: 801px) {

    body.ordre-page .ordre-pillars {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    body.ordre-page .ordre-pillars .ordre-pillar {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}


/* =========================================================
   MISSION — LUMIÈRE / TÉNÈBRES
   ========================================================= */

body.ordre-page .ordre-mission {
    position: relative;
    overflow: hidden;
}

/* Atmosphère sombre sur les côtés + lumière au centre */
body.ordre-page .ordre-mission::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255,215,100,.20) 0%,
            rgba(216,171,56,.10) 18%,
            rgba(216,171,56,.035) 38%,
            transparent 68%
        );
    filter: blur(12px);
    pointer-events: none;
}

body.ordre-page .ordre-mission .ordre-section-inner {
    position: relative;
    z-index: 2;
}

/* Symbole central */
.light-dark-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 8px 0 28px;
    height: 45px;
}

.light-dark-symbol .dark {
    color: #1a1f29;
    font-size: 20px;
    text-shadow: 0 0 12px rgba(0,0,0,.9);
}

.light-dark-symbol .cross {
    color: #e2b84d;
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1;
    text-shadow:
        0 0 12px rgba(216,171,56,.55),
        0 0 35px rgba(216,171,56,.25);
}

.light-dark-symbol .light {
    color: #fff1ad;
    font-size: 18px;
    text-shadow:
        0 0 10px rgba(255,230,130,.9),
        0 0 30px rgba(216,171,56,.6),
        0 0 60px rgba(216,171,56,.3);
}

/* Titre */
body.ordre-page .ordre-mission h2 {
    max-width: 950px;
    margin-bottom: 35px;
}

body.ordre-page .ordre-mission h2 span {
    color: #d8ab38;
    text-shadow:
        0 0 20px rgba(216,171,56,.18),
        0 0 50px rgba(216,171,56,.08);
}

/* Premier texte plus lumineux */
body.ordre-page .ordre-mission .mission-intro {
    color: #eee9dc;
    font-size: 18px;
    line-height: 1.8;
}

/* Dernière phrase */
body.ordre-page .ordre-mission .mission-law {
    margin-top: 28px;
    color: #8f969f;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 800px) {

    .light-dark-symbol {
        margin-bottom: 22px;
    }

    .light-dark-symbol .cross {
        font-size: 36px;
    }

    body.ordre-page .ordre-mission::after {
        width: 420px;
        height: 420px;
    }

    body.ordre-page .ordre-mission .mission-intro {
        font-size: 17px;
    }
}


/* =========================================================
   HERO — PROTÉGER LA LUMIÈRE
   ========================================================= */

body.ordre-page .ordre-hero {
    min-height: 650px;
}

/* Marque lumineuse au-dessus du titre */
.hero-light-mark {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 310px;
    margin-bottom: 28px;
}

.hero-light-mark span {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(216,171,56,.65)
    );
    box-shadow: 0 0 10px rgba(216,171,56,.20);
}

.hero-light-mark span:last-child {
    background: linear-gradient(
        90deg,
        rgba(216,171,56,.65),
        transparent
    );
}

.hero-light-mark b {
    color: #e2b84d;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    text-shadow:
        0 0 12px rgba(216,171,56,.55),
        0 0 35px rgba(216,171,56,.25);
}

/* Titre principal */
body.ordre-page .ordre-hero h1 {
    max-width: 1000px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .94;
    letter-spacing: -1px;
    text-shadow:
        0 4px 30px rgba(0,0,0,.9),
        0 0 70px rgba(0,0,0,.55);
}

body.ordre-page .ordre-hero h1 span {
    color: #d8ab38;
    text-shadow:
        0 0 18px rgba(216,171,56,.22),
        0 0 50px rgba(216,171,56,.12);
}

/* Petite phrase forte */
body.ordre-page .hero-motto {
    max-width: 720px;
    margin: -8px 0 22px;
    color: #eee9dc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.45;
    font-style: italic;
    text-shadow: 0 2px 15px rgba(0,0,0,.8);
}

/* Texte explicatif */
body.ordre-page .ordre-hero .ordre-lead {
    max-width: 680px;
    color: #c6cbd1;
    font-size: 16px;
    line-height: 1.8;
}

/* Halo discret derrière le titre */
body.ordre-page .ordre-hero::before {
    background:
        radial-gradient(
            ellipse at 47% 50%,
            rgba(216,171,56,.10) 0%,
            rgba(216,171,56,.035) 24%,
            transparent 52%
        ),
        radial-gradient(
            ellipse at center,
            transparent 25%,
            rgba(0,0,0,.28) 65%,
            rgba(0,0,0,.82) 100%
        );
}

/* Mobile */
@media (max-width: 800px) {

    body.ordre-page .ordre-hero {
        min-height: 650px;
    }

    .hero-light-mark {
        width: 230px;
        gap: 12px;
    }

    .hero-light-mark b {
        font-size: 24px;
    }

    body.ordre-page .ordre-hero h1 {
        font-size: 46px;
        line-height: .98;
    }

    body.ordre-page .hero-motto {
        font-size: 18px;
    }
}


/* =========================================================
   HERO — PLUS DE LUMIÈRE DANS LA MÊME IMAGE
   ========================================================= */

body.ordre-page .ordre-hero {
    background:
        /* Lumière chaude autour du château */
        radial-gradient(
            ellipse 42% 70% at 62% 43%,
            rgba(216,171,56,.20) 0%,
            rgba(216,171,56,.09) 25%,
            rgba(216,171,56,.025) 48%,
            transparent 72%
        ),

        /* Ciel légèrement éclairci */
        radial-gradient(
            ellipse 65% 55% at 70% 18%,
            rgba(255,218,130,.12) 0%,
            transparent 65%
        ),

        /* Ténèbres sur la partie gauche */
        linear-gradient(
            90deg,
            rgba(1,4,10,.98) 0%,
            rgba(1,5,12,.88) 32%,
            rgba(2,7,15,.48) 62%,
            rgba(2,7,15,.70) 100%
        ),

        url("../images/hero-osdf-medieval.webp") center / cover no-repeat;
}

/* Vignette : les bords restent dans les ténèbres */
body.ordre-page .ordre-hero::before {
    background:
        radial-gradient(
            ellipse 48% 65% at 62% 42%,
            transparent 0%,
            rgba(0,0,0,.08) 38%,
            rgba(0,0,0,.50) 78%,
            rgba(0,0,0,.82) 100%
        );
}

/* Transition douce vers le noir */
body.ordre-page .ordre-hero::after {
    height: 230px;
    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(2,7,15,.35) 35%,
            #02070f 100%
        );
}


/* Croix centrale — source de lumière */
body.ordre-page .light-dark-symbol span {
    flex: 1;
    height: 1px;
}

body.ordre-page .light-dark-symbol span:first-child {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(216,171,56,.18)
    );
}

body.ordre-page .light-dark-symbol span:last-child {
    background: linear-gradient(
        90deg,
        rgba(216,171,56,.55),
        transparent
    );
}

body.ordre-page .light-dark-symbol b {
    color: #f0c95b;
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    text-shadow:
        0 0 12px rgba(255,220,110,.75),
        0 0 30px rgba(216,171,56,.45),
        0 0 65px rgba(216,171,56,.20);
}


/* =========================================================
   HERO — CORRECTION MOBILE
   ========================================================= */

@media (max-width: 800px) {

    body.ordre-page .ordre-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 75px 36px 85px !important;
        background-position: 62% center !important;
    }

    body.ordre-page .ordre-hero .ordre-hero-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .hero-light-mark {
        width: 100% !important;
        max-width: 270px !important;
        margin: 0 auto 28px !important;
    }

    .hero-light-mark b {
        font-size: 34px !important;
    }

    body.ordre-page .ordre-hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 28px !important;
        font-size: clamp(39px, 11vw, 52px) !important;
        line-height: .98 !important;
        letter-spacing: -0.8px !important;
        overflow-wrap: normal !important;
    }

    body.ordre-page .ordre-hero h1 span {
        display: inline !important;
    }

    body.ordre-page .ordre-hero .ordre-divider {
        margin: 0 0 28px !important;
    }

    body.ordre-page .hero-motto {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 22px !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    body.ordre-page .ordre-hero .ordre-lead {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
        overflow-wrap: break-word !important;
    }

    body.ordre-page .ordre-hero::after {
        height: 140px !important;
    }
}

@media (max-width: 480px) {

    body.ordre-page .ordre-hero {
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-top: 65px !important;
        padding-bottom: 70px !important;
    }

    body.ordre-page .ordre-hero h1 {
        font-size: 38px !important;
        line-height: 1 !important;
    }

    body.ordre-page .hero-motto {
        font-size: 17px !important;
    }

    body.ordre-page .ordre-hero .ordre-lead {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .hero-light-mark {
        max-width: 240px !important;
        margin-bottom: 25px !important;
    }

    .hero-light-mark b {
        font-size: 32px !important;
    }
}


/* Espace entre la devise et le texte du HERO */
@media (max-width: 800px) {
    body.ordre-page .hero-motto {
        margin-bottom: 32px !important;
    }
}

/* HERO mobile — remonter le contenu */
@media (max-width: 800px) {
    body.ordre-page .ordre-hero {
        padding-top: 35px !important;
        padding-bottom: 55px !important;
    }
}

/* Réduction des vignettes mobiles sans toucher aux fonds desktop. */
@media (max-width: 800px) {
    body.ordre-page .ordre-hero::before {
        background:
            radial-gradient(
                ellipse 42% 58% at 62% 40%,
                rgba(216,171,56,.10) 0%,
                rgba(216,171,56,.025) 42%,
                transparent 68%
            ),
            radial-gradient(
                ellipse 48% 65% at 62% 42%,
                transparent 0%,
                rgba(0,0,0,.05) 38%,
                rgba(0,0,0,.28) 78%,
                rgba(0,0,0,.52) 100%
            ) !important;
    }

    body.ordre-page .ordre-hero::after {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(2,7,15,.22) 35%,
            rgba(2,7,15,.88) 100%
        ) !important;
    }
}

@media (max-width: 480px) {
    body.ordre-page .ordre-hero {
        padding-top: 35px !important;
        padding-bottom: 55px !important;
    }
}


/* Identité — même cadrage de bandeau, fonds sélectionnés selon le pays. */
body.identite-page .ordre-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2,7,15,.68) 0%,
            rgba(2,7,15,.35) 48%,
            rgba(2,7,15,.08) 100%
        ),
        var(--identity-desktop);
    background-position: right center;
}

@media (max-width: 768px) {
    body.identite-page .ordre-hero {
        background-image:
            linear-gradient(
                to top,
                rgba(2,7,15,.74) 0%,
                rgba(2,7,15,.30) 45%,
                rgba(2,7,15,.04) 100%
            ),
            var(--identity-mobile);
        background-position: var(--identity-mobile-position) !important;
    }
}

body.identite-page .ordre-hero h1,
.identite-country h2,
.identite-country h3 {
    overflow-wrap: anywhere;
}

body.identite-page .ordre-identity-symbol {
    margin-top: 0;
}

.identite-logo {
    display: block;
    width: min(320px, 100%);
    height: auto;
    margin: 24px auto 10px;
}

.identite-values-link,
.identite-sources a {
    color: #e2bf64;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.identite-country {
    padding-top: 90px;
}

.identite-country h2 {
    margin: 0 25px 32px;
    font: 400 clamp(30px, 4vw, 52px) / 1.12 Georgia, "Times New Roman", serif;
}

.identite-country .ordre-pillar h3 {
    font-size: clamp(22px, 2.15vw, 32px);
    max-width: 100%;
}

.identite-sources {
    max-width: 100%;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.identite-sources li + li {
    margin-top: 6px;
}

body.identite-page .ordre-final .btn {
    margin-top: 26px;
}

@media (min-width: 1100px) {
    body.identite-page .identite-country .ordre-pillars {
        padding-inline: 2%;
    }

    body.identite-page .identite-country .ordre-pillar {
        padding-inline: 22px;
    }
}

@media (max-width: 800px) {
    .identite-country {
        padding-top: 60px;
    }
}

/* =========================================================
   HERO — NOTRE ENGAGEMENT
   ========================================================= */

body.engagement-page .ordre-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(2,7,15,.72) 0%,
            rgba(2,7,15,.38) 48%,
            rgba(2,7,15,.08) 100%
        ),
        url("../images/hero-engagement-web.webp");
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
}

body.engagement-page .ordre-hero h1,
body.engagement-page .ordre-pillar h3 {
    overflow-wrap: anywhere;
}

body.engagement-page .ordre-pillar h3 {
    max-width: 100%;
    font-size: clamp(22px, 2.2vw, 32px);
}

body.engagement-page .engagement-freedom-title {
    margin-top: 46px;
}

body.engagement-page .ordre-final .btn {
    margin-top: 26px;
}

@media (min-width: 1100px) {
    body.engagement-page .ordre-pillars {
        padding-inline: 2%;
    }

    body.engagement-page .ordre-pillar {
        padding-inline: 22px;
    }
}

@media (max-width: 480px) {
    body.engagement-page .ordre-hero h1 {
        font-size: clamp(27px, 8vw, 38px) !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    body.engagement-page .ordre-hero {
        background-image:
            linear-gradient(
                to top,
                rgba(2,7,15,.76) 0%,
                rgba(2,7,15,.34) 45%,
                rgba(2,7,15,.04) 100%
            ),
            url("../images/hero-engagement-mobile.webp");
        background-position: center 40%;
        background-size: cover;
        background-repeat: no-repeat;
    }

}

/* =========================================================
   ENGAGEMENT — VALEURS MOBILE
   ========================================================= */

@media (max-width: 768px) {

    body.engagement-page .values-grid {
        text-align: center;
    }

    body.engagement-page .values-grid .value-card {
        text-align: center;
    }

    body.engagement-page .values-grid .value-card h3 {
        text-align: center;
    }

}

/* OSDF — quatre piliers sur une ligne sur grand écran */
@media (min-width: 1100px) {
    body.ordre-page .ordre-pillars {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 20px !important;
        width: calc(100% - 60px) !important;
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.ordre-page .ordre-pillars > .ordre-pillar {
        grid-column: auto !important;
        grid-row: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Notre mission */
@font-face {
    font-family: 'Cormorant Mission';
    src: url('../fonts/cormorant-garamond-hero.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

.mission-main {
    --night: #0b111c;
    --black: #080a0e;
    --ink: #f5eee1;
    --muted: #d0c7b8;
    --gold: #e9c98b;
    --line: #ab874d64;
    --mission-header-height: 82px;
    padding-top: var(--mission-header-height);
    background-color: var(--black) !important;
    color: var(--ink);
    font: 16px/1.67 Arial, sans-serif;
}
.mission-main a {
    color: inherit;
}
.mission-main .wrap {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}
.mission-main h1, .mission-main h2, .mission-main h3, .mission-main .hope {
    margin: 0;
    font: 550 48px/1.02 'Cormorant Mission', Georgia, serif;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.mission-main h1 {
    font-size: clamp(63px,8vw,122px);
    letter-spacing: -.052em;
}
.mission-main h2 {
    font-size: clamp(43px,6vw,78px);
    letter-spacing: -.035em;
}
.mission-main h3 {
    font-size: clamp(30px,3.5vw,46px);
    letter-spacing: -.023em;
    color: var(--gold);
}
.mission-main p {
    margin: 0;
    color: var(--muted);
}
.mission-main p + p {
    margin-top: 14px;
}
.mission-main .opening {
    padding-block: 48px 30px;
    background: radial-gradient(ellipse at 89% 5%,#171b28,transparent 65%),var(--night);
    background-color: var(--night) !important;
}
.mission-main .opening-grid {
    display: grid;
    gap: 31px;
    align-items: center;
}
.mission-main .opening-grid h1::after {
    display: block;
    content: "";
    width: 64px;
    height: 1px;
    background: var(--gold);
    margin: 22px 0 18px;
}
.mission-main .opening p {
    font-size: clamp(16px,1.3vw,19px);
    max-width: 53ch;
}
.mission-main .jump {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    padding-bottom: 7px;
}
.mission-main figure {
    margin: 0;
    min-width: 0;
    padding: 7px 7px 0;
    border: 1px solid #b5976066;
    background: #141b25;
}
.mission-main figure img {
    display: block;
    width: 100%;
    height: auto;
}

.mission-main figcaption {
    padding: 8px 4px 9px;
    border-top: 1px solid #ab874d44;
    color: #e3ddcf;
    font-size: 13px;
    line-height: 1.55;
}

.mission-main figcaption a {
    color: var(--gold);
    text-underline-offset: 2px;
}

.mission-main figcaption a[rel="license"] {
    white-space: nowrap;
}
.mission-main .priorities, .mission-main .declaration, .mission-main .closing {
    padding-block: 54px;
    border-top: 1px solid var(--line);
}
.mission-main .priorities h2, .mission-main .closing h2 {
    margin-bottom: 19px;
}
.mission-main .priorities header p {
    max-width: 63ch;
}
.mission-main .priorities .items {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}
.mission-main .items article {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.mission-main .items p {
    margin-top: 12px;
}
.mission-main .declaration {
    background: radial-gradient(ellipse at 80% 80%,#211c1b,transparent 70%),#111720;
    background-color: #111720 !important;
}
.mission-main .declaration .wrap {
    display: grid;
    gap: 20px;
}
.mission-main .declaration .text {
    border-inline-start: 1px solid var(--gold);
    padding-inline-start: 19px;
}
.mission-main .eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 11px;
    margin-bottom: 10px;
    font-weight: 700;
}
.mission-main .hope {
    display: block;
    margin-top: 19px;
    color: var(--gold);
    font-size: clamp(29px,3.5vw,47px);
}
.mission-main .closing {
    background-color: #0c121a !important;
}
.mission-main .closing .wrap {
    display: grid;
    gap: 5px;
}
.mission-main .join {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(115deg,#f0d59d,#c79a57);
    color: #121011;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
@media (min-width: 800px) {
    .mission-main .opening {
        padding-block: 70px 59px;
    }
    .mission-main .opening-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: clamp(32px, 4.3vw, 62px);
    }

    .mission-main .opening h1 {
        font-size: clamp(60px, 6.7vw, 100px);
        text-wrap: initial;
    }

    .mission-main .opening figure {
        padding: 10px 10px 0;
    }

    .mission-main .opening figcaption {
        padding: 11px 6px 12px;
    }
    .mission-main .priorities, .mission-main .declaration, .mission-main .closing {
        padding-block: 77px;
    }
    .mission-main .priorities .items {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: clamp(24px, 3.2vw, 46px);
        margin-top: 39px;
    }
    .mission-main .declaration .wrap, .mission-main .closing .wrap {
        grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
        gap: 60px;
    }
    .mission-main .declaration .text {
        padding-inline-start: 29px;
    }
    .mission-main .declaration .text, .mission-main .closing p {
        line-height: 1.7;
    }

    .mission-main .priorities .items p {
        font-size: clamp(16px, 1.3vw, 19px);
        line-height: 1.62;
    }
}

.mission-main :is(#priorites, #declaration-fondatrice) {
    scroll-margin-top: var(--mission-header-height);
}

.mission-main .photo-caption {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
}

.mission-main a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .mission-main {
        --mission-header-height: 48px;
    }
}
