* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #070b12;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: rgba(3, 7, 13, .72);
    border-bottom: 1px solid rgba(216, 171, 56, .22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    width: min(1380px, calc(100% - 60px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 35px;
}

.brand {
    flex: 0 0 auto;
    text-decoration: none;
    color: #d8ab38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
}

.main-nav a {
    position: relative;
    color: #eee;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: #d8ab38;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover {
    color: #d8ab38;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.languages {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 1px;
}

.languages a {
    text-decoration: none;
    color: #aaa;
}

.languages a.active,
.languages a:hover {
    color: #d8ab38;
}

.languages span {
    color: #666;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #d8ab38;
    color: #d8ab38;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: .2s ease;
}

.header-button:hover {
    background: #d8ab38;
    color: #080b10;
}

.mobile-menu {
    display: none;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 26px;
}

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

.hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        url("../images/hero-accueil.webp")
        center center / cover no-repeat;
    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 15, .94) 0%,
            rgba(3, 8, 15, .78) 35%,
            rgba(3, 8, 15, .30) 65%,
            rgba(3, 8, 15, .58) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .28) 0%,
            rgba(0, 0, 0, .08) 50%,
            rgba(0, 0, 0, .70) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1380px, calc(100% - 60px));
    margin: 0 auto;
    padding-top: 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 680px;
    padding: 45px 0;
}

.hero-eyebrow {
    margin-bottom: 20px;
    color: #d8ab38;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 5.7vw, 82px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .55);
}

.hero-motto {
    margin-top: 25px;
    color: #d8ab38;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero-description {
    max-width: 570px;
    margin: 30px 0 38px;
    color: #e6e6e6;
    font-size: 16px;
    line-height: 1.7;
}

.hero-description-heading {
    display: block;
    margin-bottom: .65em;
    font-size: clamp(15px, 1.06em, 18px);
    font-weight: 700;
    line-height: 1.3;
}

.hero-description-copy {
    display: block;
    font-size: 1em;
    font-weight: 400;
}

.hero-description-mobile-copy {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 27px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: .2s ease;
}

.btn-gold {
    color: #080b10;
    background: linear-gradient(
        135deg,
        #efd06a,
        #d8ab38,
        #b9881e
    );
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}

.btn-outline {
    color: #fff;
    border: 1px solid rgba(216, 171, 56, .85);
    background: rgba(0, 0, 0, .20);
}

.btn-outline:hover {
    background: rgba(216, 171, 56, .12);
}

.btn-dark {
    color: #d8ab38;
    background: #101319;
}

.hero-logo {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    position: relative;
    z-index: 2;
    width: min(570px, 90%);
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 6px 14px rgba(0, 0, 0, .40))
        drop-shadow(0 0 18px rgba(255, 255, 255, .15));
}

.logo-glow {
    position: absolute;
    z-index: 1;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, .30) 0%,
        rgba(255, 255, 255, .14) 35%,
        rgba(216, 171, 56, .08) 55%,
        transparent 73%
    );
    filter: blur(12px);
}

.hero-bottom-fade {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 300px !important;
    background: linear-gradient(
        to bottom,
        rgba(2, 7, 15, 0) 0%,
        rgba(2, 7, 15, .18) 30%,
        rgba(2, 7, 15, .55) 65%,
        #02070f 100%
    ) !important;
    pointer-events: none !important;
    z-index: 20 !important;
}

/* =========================================================
   VALEURS
   ========================================================= */

.values-section {
    position: relative;
    padding: 85px 30px 95px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(216, 171, 56, .07),
            transparent 45%
        ),
        #070b12;
    border-top: 1px solid rgba(216, 171, 56, .12);
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.small-title {
    margin-bottom: 14px;
    color: #d8ab38;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
}

.values-grid {
    width: min(1120px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    min-height: 260px;
    padding: 45px 35px;
    text-align: center;
    border: 1px solid rgba(216, 171, 56, .16);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .01)
        );
    transition: .25s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 171, 56, .42);
}

.value-icon {
    height: 60px;
    color: #d8ab38;
    font-size: 40px;
    line-height: 1;
}

.value-card h3 {
    margin: 20px 0 15px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 2px;
}

.value-card p {
    max-width: 290px;
    margin: auto;
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   MISSION — VERSION PREMIUM
   ========================================================= */

.mission-section {
    position: relative !important;
    overflow: hidden !important;
    min-height: 620px !important;
    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(216,171,56,.10),
            transparent 34%
        ),
        #02070f !important;
    border-top: 1px solid rgba(216,171,56,.12) !important;
    border-bottom: 1px solid rgba(216,171,56,.12) !important;
}

.mission-content {
    width: min(1280px, calc(100% - 100px)) !important;
    min-height: 620px !important;
    margin: 0 auto !important;
    padding: 70px 0 !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: 52% 48% !important;
    align-items: center !important;
}

.mission-copy {
    position: relative !important;
    z-index: 5 !important;
    max-width: 700px !important;
}

.mission-symbol {
    margin-bottom: 18px !important;
    color: #d8ab38 !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

.mission-copy .small-title {
    margin-bottom: 18px !important;
    color: #d8ab38 !important;
    letter-spacing: 4px !important;
}

.mission-copy h2 {
    margin: 0 !important;
    color: #f5f3ed !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(48px, 5vw, 72px) !important;
    line-height: .98 !important;
    font-weight: 400 !important;
}

.mission-copy h2 span {
    color: #d8ab38 !important;
}

.mission-line {
    width: 58px !important;
    height: 2px !important;
    margin: 28px 0 !important;
    background: #d8ab38 !important;
}

.mission-copy p {
    max-width: 650px !important;
    margin: 0 0 18px !important;
    color: #c7cbd0 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.mission-copy .btn {
    margin-top: 18px !important;
}

.mission-emblem {
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mission-cross {
    position: relative !important;
    z-index: 10 !important;
    width: 300px !important;
    height: 390px !important;
}

.mission-cross::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    width: 82px !important;
    height: 390px !important;
    transform: translateX(-50%) !important;
    background: #d8ab38 !important;
    box-shadow: 0 0 18px rgba(216,171,56,.40) !important;
}

.mission-cross::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 300px !important;
    height: 82px !important;
    transform: translateY(-50%) !important;
    background: #d8ab38 !important;
    box-shadow: 0 0 18px rgba(216,171,56,.40) !important;
}

.mission-emblem img {
    display: block !important;
    width: 760px !important;
    max-width: 125% !important;
    height: auto !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;

    mix-blend-mode: screen !important;

    -webkit-mask-image: radial-gradient(
        ellipse at center,
        #000 42%,
        rgba(0,0,0,.92) 60%,
        rgba(0,0,0,.45) 78%,
        transparent 100%
    ) !important;

    mask-image: radial-gradient(
        ellipse at center,
        #000 42%,
        rgba(0,0,0,.92) 60%,
        rgba(0,0,0,.45) 78%,
        transparent 100%
    ) !important;
}

.mission-glow {
    position: absolute !important;
    width: 430px !important;
    height: 430px !important;
    border-radius: 50% !important;
    background: radial-gradient(
        circle,
        rgba(216,171,56,.18) 0%,
        rgba(216,171,56,.06) 38%,
        transparent 70%
    ) !important;
}

.mission-ring {
    position: absolute !important;
    width: 430px !important;
    height: 430px !important;
    border: 1px solid rgba(216,171,56,.32) !important;
    border-radius: 50% !important;
}

.mission-values {
    position: absolute !important;
    right: -10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 4 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;

    color: #d8ab38 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 4px !important;
}

.mission-values span {
    position: relative !important;
}

.mission-values span::before {
    content: "" !important;
    display: block !important;
    width: 30px !important;
    height: 1px !important;
    margin-bottom: 10px !important;
    background: rgba(216,171,56,.65) !important;
}


/* =========================================================
   MISSION — MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .mission-section {
        min-height: auto !important;
    }

    .mission-content {
        width: calc(100% - 40px) !important;
        min-height: auto !important;
        padding: 75px 0 !important;
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .mission-copy {
        max-width: 700px !important;
        margin: 0 auto !important;
    }

    .mission-symbol {
        margin-bottom: 15px !important;
    }

    .mission-copy h2 {
        font-size: 42px !important;
    }

    .mission-line {
        margin: 25px auto !important;
    }

    .mission-copy p {
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 14px !important;
    }

    .mission-copy .btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .mission-emblem {
        min-height: 390px !important;
        margin-top: 35px !important;
    }

    .mission-emblem img {
        width: 330px !important;
    }

    .mission-glow,
    .mission-ring {
        width: 310px !important;
        height: 310px !important;
    }

    .mission-values {
        right: 0 !important;
        gap: 18px !important;
        font-size: 9px !important;
        letter-spacing: 3px !important;
    }
}


/* =========================================================
   MISSION — PETIT MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .mission-content {
        width: calc(100% - 30px) !important;
        padding: 60px 0 !important;
    }

    .mission-copy h2 {
        font-size: 35px !important;
    }

    .mission-emblem {
        min-height: 330px !important;
    }

    .mission-emblem img {
        width: 270px !important;
    }

    .mission-glow,
    .mission-ring {
        width: 260px !important;
        height: 260px !important;
    }

    .mission-values {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 20px !important;
        flex-direction: row !important;
        gap: 18px !important;
    }

    .mission-values span::before {
        display: none !important;
    }
}


/* =========================================================
   ORDRE
   ========================================================= */

.order-section {
    padding: 100px 25px;
    text-align: center;
    background:
        linear-gradient(
            rgba(3, 7, 13, .82),
            rgba(3, 7, 13, .95)
        ),
        url("../images/montagne.png")
        center / cover no-repeat;
}

.order-inner {
    width: min(760px, 100%);
    margin: auto;
}

.order-section h2 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1;
    font-weight: 400;
}

.order-section p {
    max-width: 650px;
    margin: 0 auto 32px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 45px 25px;
    background: #05070b;
    border-top: 1px solid rgba(216, 171, 56, .18);
}

.footer-inner {
    width: min(1100px, 100%);
    margin: auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 10px;
    color: #d8ab38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    letter-spacing: 3px;
}

.footer-eu-flag {
    transform: translateY(-2px);
}

.footer-motto {
    margin-bottom: 20px;
    color: #777;
    font-size: 9px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #aaa;
    font-size: 10px;
    letter-spacing: 1px;
}

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

.footer-links a:hover {
    color: #d8ab38;
}

.footer-copy {
    color: #555;
    font-size: 9px;
    letter-spacing: 1px;
}

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

@media (max-width: 1050px) {

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

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .header-button {
        padding: 0 13px;
        font-size: 9px;
    }

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

    .hero h1 {
        font-size: clamp(48px, 6vw, 68px);
    }

    .hero-logo img {
        width: min(500px, 95%);
    }
}

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

@media (max-width: 760px) {

    .hero {
        min-height: 730px !important;
        align-items: flex-start !important;
    }

    .hero-background {
        background-image: url("../images/hero-accueil-mobile.webp") !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2,7,15,.42) 0%,
                rgba(2,7,15,.18) 28%,
                rgba(2,7,15,.55) 58%,
                rgba(2,7,15,.94) 100%
            ) !important;
    }

    .hero-content {
        width: calc(100% - 36px) !important;
        min-height: 730px !important;
        padding-top: 78px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important;
    }

    .hero-logo {
        order: 1 !important;
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        margin: 0 0 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-logo img {
        width: min(275px, 72vw) !important;
        max-width: 275px !important;
        max-height: none !important;
        height: auto !important;
    }

    .logo-glow {
        width: 230px !important;
        height: 230px !important;
    }

    .hero-text {
        order: 2 !important;
        width: 100% !important;
        max-width: 520px !important;
        padding: 0 !important;
        text-align: center !important;
        transform: none !important;
    }

    .hero-eyebrow {
        margin-bottom: 13px !important;
        font-size: 8px !important;
        letter-spacing: 3px !important;
    }

    .hero h1 {
        margin: 0 !important;
        font-size: clamp(34px, 9vw, 46px) !important;
        line-height: .98 !important;
        letter-spacing: .5px !important;
    }

    .hero-motto {
        margin-top: 15px !important;
        font-size: 9px !important;
        letter-spacing: 2.2px !important;
    }

    .hero-description {
        width: 100% !important;
        max-width: none !important;
        margin: 18px auto 25px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
    }

    .hero-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 11px !important;
    }

    .hero-actions .btn {
        width: min(330px, 100%) !important;
        min-height: 54px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

}

/* =========================================================
   PETITS MOBILES
   ========================================================= */

@media (max-width: 390px) {

    .hero {
        min-height: 760px;
    }

    .hero-content {
        min-height: 760px;
        padding-top: 88px;
    }

    .hero-logo img {
        width: 245px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 12px;
    }

    .mission-content h2 {
        font-size: 34px;
    }
}
/* =========================================================
   HEADER — BURGER TOUJOURS VISIBLE
   ========================================================= */

.site-header {
    position: absolute !important;
    z-index: 200 !important;
}

.header-inner {
    position: relative !important;
}

.mobile-menu {
    display: flex !important;
    position: absolute !important;
    right: 7% !important;
    top: 38% !important;
    transform: translateY(-50%) !important;
    z-index: 210 !important;
}

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

@media (max-width: 800px) {

    .hero-content {
        width: calc(100% - 40px) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .hero-logo {
        order: 1 !important;
    }

    .hero-logo img {
        width: min(380px, 82vw) !important;
    }

    .hero-text {
        order: 2 !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        text-align: center !important;
    }

    .hero-text h1 {
        font-size: clamp(40px, 10vw, 58px) !important;
        line-height: 1 !important;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-actions {
        justify-content: center !important;
    }
}


/* =========================================================
   BURGER — FORCÉMENT VISIBLE
   ========================================================= */

.site-header .mobile-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    position: absolute !important;
    right: 7% !important;
    top: 38% !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    border: 0 !important;
    background: transparent !important;

    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 6px !important;

    z-index: 9999 !important;
    cursor: pointer !important;
}

.site-header .mobile-menu span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    height: 2px !important;
    background: #d8ab38 !important;

    flex-shrink: 0 !important;
}

.site-header .mobile-menu span:nth-child(1),
.site-header .mobile-menu span:nth-child(3) {
    width: 28px !important;
}

.site-header .mobile-menu span:nth-child(2) {
    width: 21px !important;
}

@media (max-width: 800px) {
    .site-header .mobile-menu {
        right: 7% !important;
    }
}


/* =========================================================
   HEADER — TITRE DISCRET ET PREMIUM
   ========================================================= */

.site-header .brand {
    color: #f3efe5 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

@media (max-width: 700px) {
    .site-header .brand {
        font-size: 10px !important;
        letter-spacing: 2px !important;
    }
}


/* =========================================================
   HEADER PREMIUM + MENU BURGER
   ========================================================= */

.site-header {
    height: 82px;
    background: #000 !important;
    border-bottom: 1px solid rgba(216, 171, 56, 0.20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    width: min(1380px, calc(100% - 60px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: #f3efe5;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.brand::first-letter {
    color: #d8ab38;
}

/* BURGER */

.mobile-menu {
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    height: 1px;
    background: #d8ab38;
    transition: transform .3s ease, width .3s ease;
}

.mobile-menu span:nth-child(1) {
    width: 27px;
}

.mobile-menu span:nth-child(2) {
    width: 20px;
}

.mobile-menu span:nth-child(3) {
    width: 27px;
}

.mobile-menu:hover span:nth-child(2) {
    width: 27px;
}

/* BURGER → CROIX */

.mobile-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   PANNEAU DU MENU
   ========================================================= */

.menu-panel {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background:
        radial-gradient(circle at 80% 20%, rgba(216,171,56,.07), transparent 35%),
        rgba(2, 7, 15, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateX(35px);
    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}

.menu-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.menu-panel-inner {
    width: min(1100px, calc(100% - 80px));
    min-height: 100%;
    margin: 0 auto;
    padding: 42px 0 60px;
    position: relative;
}

.menu-close {
    position: absolute;
    top: 25px;
    right: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(216,171,56,.35);
    background: transparent;
    color: #d8ab38;
    font-size: 34px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease;
}

.menu-close:hover {
    background: rgba(216,171,56,.08);
    border-color: #d8ab38;
}

.menu-title {
    padding-top: 12px;
    margin-bottom: 70px;
    color: #d8ab38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.menu-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.menu-navigation a {
    width: 100%;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
    color: #f3efe5;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 42px);
    letter-spacing: 1px;
    transition: color .25s ease, padding-left .25s ease;
}

.menu-navigation a:hover {
    color: #d8ab38;
    padding-left: 12px;
}

.menu-navigation > a span {
    display: inline-block;
    width: 55px;
    color: rgba(216,171,56,.65);
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    vertical-align: middle;
}

.menu-navigation .menu-join {
    width: auto;
    margin-top: 42px;
    padding: 15px 28px;
    border: 1px solid #d8ab38;
    color: #d8ab38;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu-navigation .menu-join:hover {
    padding-left: 28px;
    background: #d8ab38;
    color: #05090f;
}

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

@media (max-width: 700px) {

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

    .brand {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .mobile-menu {
        width: 42px;
        height: 42px;
    }

    .menu-panel-inner {
        width: calc(100% - 42px);
        padding-top: 30px;
    }

    .menu-close {
        top: 18px;
        right: 0;
    }

    .menu-title {
        margin-bottom: 45px;
        padding-right: 60px;
        font-size: 10px;
        letter-spacing: 3px;
    }

    .menu-navigation a {
        padding: 16px 0;
        font-size: 25px;
    }

    .menu-navigation > a span {
        width: 42px;
        font-size: 9px;
    }

    .menu-navigation .menu-join {
        margin-top: 30px;
    }
}


/* TEST PHOTO ORDRE */
.order-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 500px !important;
    padding: 0 !important;
}

.order-photo {
    display: block !important;
    width: 100% !important;
    min-height: 500px !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
}

.order-photo img {
    display: block !important;
    width: 100% !important;
    height: 500px !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.order-section .order-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 60px !important;
}


/* =========================================================
   BLOCS SANS IMAGES — TEXTE CENTRÉ
   ========================================================= */

.order-photo {
    display: none !important;
}

.order-section {
    display: block !important;
    min-height: 430px !important;
    padding: 0 !important;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(216,171,56,.08),
            transparent 38%
        ),
        #02070f !important;
    border-top: 1px solid rgba(216,171,56,.10) !important;
}

.order-section .order-inner {
    width: min(900px, calc(100% - 60px)) !important;
    max-width: 900px !important;
    min-height: 430px !important;
    margin: 0 auto !important;
    padding: 60px 30px !important;
    box-sizing: border-box !important;

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

.order-section .order-inner p {
    max-width: 650px !important;
    margin: 18px auto 25px !important;
    color: #c7cbd0 !important;
    line-height: 1.7 !important;
}

.order-section .order-inner .btn {
    margin-left: auto !important;
    margin-right: auto !important;
}
.home-page .order-section h2 {
    color: #f3efe5;
    text-wrap: balance;
}

.home-page .order-heading-accent {
    color: #f2ce75;
    white-space: nowrap;
}

.home-page .order-section .order-inner p {
    line-height: 1.6 !important;
}

@media (max-width: 760px) {
    .home-page .order-section .order-inner p {
        font-size: 14.4px;
    }
}



/* O du logo OSDF dans le header */
.brand::first-letter {
    position: relative;
    color: #d8ab38;
    font-size: 1.25em;
    font-weight: 400;
}


.brand-o {
    position: relative;
    display: inline-block;
    color: #d8ab38;
    font-size: 1.25em;
    line-height: 1;
}

.brand-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d8ab38;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* =========================================================
   LES TROIS PILIERS — VERSION PREMIUM
   ========================================================= */

.values-section {
    position: relative !important;
    padding: 105px 0 90px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(216,171,56,.08), transparent 38%),
        #05090f !important;
    overflow: hidden !important;
}

.values-section::before {
    background:
        linear-gradient(
            to bottom,
            #02070f 0%,
            rgba(2,7,15,.92) 10%,
            rgba(2,7,15,.55) 24%,
            rgba(5,9,15,.25) 38%,
            rgba(5,9,15,0) 52%
        ),
        url("../images/montagne.png") center top / cover no-repeat !important;
}

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

.values-section .section-heading {
    width: min(1100px, calc(100% - 50px)) !important;
    margin: 0 auto 55px !important;
    text-align: center !important;
}

.values-section .section-heading .small-title {
    margin-bottom: 18px !important;
    color: #d8ab38 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 6px !important;
}

.values-section .section-heading h2 {
    margin: 0 !important;
    color: #f3efe5 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(22px, 2.35vw, 30px) !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
}

.values-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: min(600px, 80%) !important;
    margin: 24px auto 20px !important;
}

.values-divider span {
    height: 1px !important;
    flex: 1 !important;
    background: linear-gradient(
        to right,
        transparent,
        rgba(216,171,56,.65)
    ) !important;
}

.values-divider span:last-child {
    background: linear-gradient(
        to left,
        transparent,
        rgba(216,171,56,.65)
    ) !important;
}

.values-divider b {
    color: #d8ab38 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.values-subtitle {
    color: rgba(243,239,229,.72) !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
}

.values-grid {
    width: min(1360px, calc(100% - 70px)) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 26px !important;
}

.values-grid .value-card {
    position: relative !important;
    min-height: 610px !important;
    padding: 0 !important;
    background: rgba(7,11,17,.94) !important;
    border: 1px solid rgba(216,171,56,.30) !important;
    box-shadow:
        0 25px 60px rgba(0,0,0,.35),
        inset 0 0 0 rgba(255,255,255,0) !important;
    overflow: hidden !important;
    text-align: center !important;
    transition: transform .35s ease, border-color .35s ease !important;
}

.values-grid .value-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(216,171,56,.75) !important;
}

.value-image {
    position: relative !important;
    height: 230px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(216,171,56,.45) !important;
}

.value-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(5,9,15,.92) 100%
        ) !important;
}

/* Voiles d’images allégés sur mobile ; les fonds desktop restent inchangés. */
@media (max-width: 760px) {
    .value-image::after {
        background: linear-gradient(
            to bottom,
            transparent 45%,
            rgba(5,9,15,.70) 100%
        ) !important;
    }
}

.value-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .6s ease !important;
}

.value-card:hover .value-image img {
    transform: scale(1.05) !important;
}

.value-medallion {
    position: absolute !important;
    top: 195px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 76px !important;
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2px solid #d8ab38 !important;
    background: #05090f !important;
    color: #d8ab38 !important;
    font-size: 29px !important;
    box-shadow: 0 0 0 5px rgba(5,9,15,.8) !important;
    z-index: 3 !important;
}

.value-content {
    padding: 55px 38px 32px !important;
}

.value-content h3 {
    margin: 0 0 12px !important;
    color: #f3efe5 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 29px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
}

.value-label {
    margin-bottom: 23px !important;
    color: #d8ab38 !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 4px !important;
}

.value-content p {
    max-width: 420px !important;
    margin: 0 auto !important;
    color: rgba(243,239,229,.78) !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.value-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 35px !important;
    min-width: 190px !important;
    margin-top: 30px !important;
    padding: 13px 20px !important;
    border: 1px solid rgba(216,171,56,.8) !important;
    color: #f3efe5 !important;
    text-decoration: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    transition: all .3s ease !important;
}

.value-link span {
    color: #d8ab38 !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.value-link:hover {
    background: #d8ab38 !important;
    color: #05090f !important;
}

.value-link:hover span {
    color: #05090f !important;
}

.values-quote {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 48px auto 0 !important;
    color: rgba(243,239,229,.82) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-style: italic !important;
    text-align: center !important;
}

.values-quote span {
    width: 65px !important;
    height: 1px !important;
    background: rgba(216,171,56,.55) !important;
}

/* MOBILE */

@media (max-width: 850px) {

    .values-section {
        padding: 75px 0 65px !important;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
        width: min(520px, calc(100% - 36px)) !important;
    }

    .values-grid .value-card {
        min-height: auto !important;
    }

    .value-image {
        height: 240px !important;
    }

    .value-medallion {
        top: 205px !important;
    }

    .values-quote {
        width: calc(100% - 40px) !important;
        font-size: 16px !important;
    }

    .values-quote span {
        width: 35px !important;
    }
}


/* Transition sombre entre les images des piliers */
.values-section::before {
    background:
        linear-gradient(
            to bottom,
            rgba(5, 9, 15, 0.35) 0%,
            rgba(5, 9, 15, 0.72) 45%,
            rgba(5, 9, 15, 0.95) 100%
        ),
        url("../images/montagne.png") center top / cover no-repeat !important;
}


/* Fond noir des 3 piliers */
.values-grid .value-card {
    background: #020304 !important;
}


/* Image de fond des trois piliers */
.values-section::before {
    background:
        linear-gradient(
            to bottom,
            rgba(5, 9, 15, 0.35) 0%,
            rgba(5, 9, 15, 0.72) 45%,
            rgba(5, 9, 15, 0.95) 100%
        ),
        url("../images/montagne.png") center top / cover no-repeat !important;
    opacity: .16 !important;
}

.values-section {
    background: #05090f !important;
}


/* Nouvelle image — bloc Notre Mission */
.mission-image {
    background-image: url("../images/fraternite.png") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}


/* Ajustement image Notre Mission */
.mission-image {
    background-size: auto 100% !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-color: #05090f !important;
}


/* =========================================================
   HERO — CONFIGURATION DESKTOP PROPRE
   ========================================================= */

@media (min-width: 769px) {

    .hero {
        position: relative !important;
    }

    .hero-background {
        background-image: url("../images/hero-accueil.webp") !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(2, 7, 15, .65) 0%, rgba(2, 7, 15, .30) 35%, rgba(2, 7, 15, .08) 65%, rgba(2, 7, 15, 0) 100%) !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    .hero-text {
        order: 1 !important;
        transform: translateX(120px) !important;
    }

    .hero-logo {
        position: absolute !important;
        order: 2 !important;
        right: 7% !important;
        left: auto !important;
        top: 38% !important;
        width: 510px !important;
        min-height: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: translateY(-50%) !important;
        z-index: 50 !important;
    }

    .hero-logo img {
        display: block !important;
        width: 510px !important;
        max-width: 510px !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =========================================================
   FIN CONFIGURATION HERO DESKTOP
   =========================================================
*/

/* =========================================================
   OSDF — AJUSTEMENTS MOBILE MOBILEBG
   ========================================================= */
@media (max-width: 760px) {

    /* Nouveau fond mobile */
    .hero-background {
        background-image: url("../images/hero-accueil-mobile.webp") !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    /* Devise mobile */
    .hero-motto {
        margin-top: 8px !important;
        color: #d8ab38 !important;
        font-size: clamp(13px, 3.8vw, 17px) !important;
        font-weight: 600 !important;
        letter-spacing: 1.2px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    /* Logo légèrement plus bas */
    .hero-content {
        padding-top: 105px !important;
    }

    .hero-logo {
        margin-bottom: 18px !important;
    }

}

@media (max-width: 760px) {

    /* Descendre tout le contenu du hero */
    .hero-content {
        transform: translateY(80px) !important;
    }

}

@media (max-width: 760px) {

    .hero {
        min-height: calc(100dvh - 145px) !important;
        height: calc(100dvh - 145px) !important;
    }

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

    .hero-background {
        inset: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }

}

/* =========================================================
   OSDF — COMPOSITION MOBILE FINALE
   Référence : maquette validée
   ========================================================= */

@media (max-width: 760px) {

    /* HERO = tout l'écran disponible sous le header */
    .hero {
        height: calc(100dvh - 145px) !important;
        min-height: calc(100dvh - 145px) !important;
        max-height: none !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }

    /* IMAGE PLEIN ÉCRAN */
    .hero-background {
        position: absolute !important;
        inset: 0 !important;
        background-image: url("../images/hero-accueil-mobile.webp") !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    /* VOILE BEAUCOUP PLUS LÉGER */
    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.08) 0%,
                rgba(0,0,0,.03) 35%,
                rgba(0,0,0,.12) 65%,
                rgba(0,0,0,.38) 100%
            ) !important;
    }

    /* SUPPRESSION DU DÉPLACEMENT PRÉCÉDENT */
    .hero-content {
        transform: none !important;
        width: 100% !important;
        min-height: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;

        padding:
            155px 48px 55px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;

        text-align: center !important;
    }

    /* LOGO */
    .hero-logo {
        order: 1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

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

    .hero-logo img {
        width: min(245px, 64vw) !important;
        max-width: 245px !important;
        height: auto !important;
    }

    .logo-glow {
        width: 215px !important;
        height: 215px !important;
    }

    /* BLOC TEXTE */
    .hero-text {
        order: 2 !important;
        width: 100% !important;
        max-width: 650px !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* DEVISE */
    .hero-motto {
        margin: 0 0 20px !important;
        color: #d8ab38 !important;
        font-size: clamp(13px, 3.8vw, 17px) !important;
        font-weight: 600 !important;
        letter-spacing: 1.2px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    /* DESCRIPTION */
    .hero-description {
        max-width: 620px !important;
        margin: 0 auto 25px !important;
        font-size: clamp(14px, 4vw, 17px) !important;
        line-height: 1.65 !important;
        color: #fff !important;
        text-shadow: 0 2px 5px rgba(0,0,0,.65) !important;
    }

    /* BOUTONS */
    .hero-actions {
        order: 3 !important;
        width: 100% !important;
        margin: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 590px !important;
        min-height: 62px !important;
        box-sizing: border-box !important;
    }

}

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

    .hero-content {
        padding:
            125px 28px 38px !important;
    }

    .hero-logo img {
        width: min(220px, 68vw) !important;
    }

    .hero-motto {
        font-size: 12px !important;
        letter-spacing: .9px !important;
    }

    .hero-description {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .hero-actions .btn {
        min-height: 58px !important;
    }

}

@media (max-width: 760px) {

    /* Le hero doit remplir toute la hauteur de l'écran */
    .hero {
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: none !important;
    }

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

}

@media (max-width: 760px) {
    .hero-content {
        transform: translateY(-50px) !important;
    }
}

@media (max-width: 760px) {
    .hero-background {
        transform: translateY(-50px) !important;
        height: calc(100% + 50px) !important;
    }
}

@media (max-width: 760px) {
    .hero-background {
        transform: translateY(-80px) !important;
        height: calc(100% + 80px) !important;
    }
}

@media (max-width: 760px) {

    /* ANNULATION DES DERNIERS DÉPLACEMENTS */
    .hero-content {
        transform: none !important;
    }

    .hero-background {
        transform: none !important;
        height: auto !important;
    }

}

@media (max-width: 760px) {
    .hero-logo img {
        width: min(270px, 70vw) !important;
        max-width: 270px !important;
    }
}

@media (max-width: 760px) {

    /* Header mobile plus compact */
    .topbar {
        height: 52px !important;
        min-height: 52px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

}






@media (max-width: 760px) {
    .site-header {
        height: 48px !important;
        min-height: 48px !important;
    }

    .site-header .header-inner {
        height: 48px !important;
        min-height: 48px !important;
    }
}

@media (max-width: 760px) {
    .site-header .mobile-menu {
        transform: translateY(1px) !important;
    }
}

@media (max-width: 760px) {
    .site-header .mobile-menu {
        transform: none !important;
    }
}

@media (max-width: 760px) {
    .site-header .mobile-menu {
        transform: none !important;
    }
}

@media (max-width: 760px) {
    .site-header .mobile-menu {
        transform: none !important;
    }
}

@media (max-width: 760px) {
    .site-header .mobile-menu {
        position: relative !important;
        top: 0 !important;
        bottom: auto !important;
        transform: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 760px) {
    .hero-actions .btn {
        width: min(280px, 88%) !important;
        min-height: 46px !important;
        height: 46px !important;
        padding: 0 18px !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-actions .btn {
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 390px) {
    .hero .hero-actions .btn {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-actions .btn {
        width: 240px !important;
        max-width: 240px !important;
        min-width: 240px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        padding: 0 14px !important;
        border-radius: 19px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 390px) {
    .hero .hero-actions .btn {
        width: 240px !important;
        max-width: 240px !important;
        min-width: 240px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        border-radius: 19px !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-actions {
        transform: translateY(-8px) !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-actions {
        transform: translateY(-8px) !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-motto {
        font-size: 17px !important;
        letter-spacing: 1.6px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay {
        background: transparent !important;
        opacity: 0 !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay,
    .hero-bottom-fade {
        background: transparent !important;
        opacity: 0 !important;
        display: none !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay {
        display: block !important;
        opacity: 1 !important;
        background: rgba(0,0,0,.10) !important;
    }

    .hero-bottom-fade {
        display: block !important;
        opacity: 1 !important;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.12) 100%
        ) !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay {
        background: rgba(0,0,0,.15) !important;
    }

    .hero-bottom-fade {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.17) 100%
        ) !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay {
        background: rgba(0,0,0,.25) !important;
    }

    .hero-bottom-fade {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.25) 100%
        ) !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-text {
        transform: translateY(-15px) !important;
    }
}

@media (max-width: 760px) {
    .hero-bottom-fade {
        display: block !important;
        opacity: 1 !important;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.10) 45%,
            rgba(0,0,0,.35) 75%,
            rgba(0,0,0,.70) 100%
        ) !important;
    }
}

@media (max-width: 760px) {
    .hero .hero-text {
        transform: translateY(-60px) !important;
    }
}

@media (max-width: 760px) {
    .hero-bottom-fade {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.10) 35%,
            rgba(0,0,0,.30) 65%,
            rgba(0,0,0,.58) 100%
        ) !important;
    }
}

@media (max-width: 760px) {
    .hero-overlay {
        background: rgba(0,0,0,.14) !important;
    }
}

@media (max-width: 760px) {

    .value-card {
        width: calc(100% - 40px) !important;
        max-width: 620px !important;
        margin: 0 auto 28px !important;
        border: 1px solid rgba(216,171,56,.55) !important;
        background: rgba(1,14,42,.92) !important;
        box-shadow:
            0 12px 30px rgba(0,0,0,.45),
            inset 0 0 25px rgba(216,171,56,.035) !important;
        overflow: hidden !important;
    }

    .value-card img {
        width: 100% !important;
        height: 210px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .value-card > div,
    .value-card .value-content {
        padding: 22px 22px 24px !important;
    }

    .value-card h3 {
        font-size: 27px !important;
        margin: 0 0 10px !important;
        letter-spacing: 1px !important;
    }

    .value-card .value-subtitle {
        font-size: 11px !important;
        letter-spacing: 3px !important;
        margin-bottom: 18px !important;
    }

    .value-card p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        margin-bottom: 20px !important;
    }

    .value-card .btn {
        min-height: 42px !important;
        height: 42px !important;
        padding: 0 22px !important;
        border-radius: 21px !important;
        font-size: 10px !important;
        letter-spacing: 2px !important;
    }
}

@media (max-width: 760px) {
    .mission-emblem {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .mission-emblem,
    .mission-emblem img,
    .mission-emblem .mission-values {
        display: none !important;
        visibility: hidden !important;
    }

    .mission-emblem {
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 760px) {

    /* CARTES VALEURS — MOBILE */
    .values-grid .value-card {
        width: calc(100% - 40px) !important;
        min-height: auto !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .values-grid .value-image {
        width: 100% !important;
        height: 210px !important;
        overflow: hidden !important;
    }

    .values-grid .value-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* MÉDAILLON */
    .values-grid .value-medallion {
        top: 172px !important;
        left: 50% !important;
        width: 68px !important;
        height: 68px !important;
        transform: translateX(-50%) !important;
        font-size: 25px !important;
        z-index: 10 !important;
    }

    /* CONTENU */
    .values-grid .value-content {
        padding: 58px 22px 25px !important;
    }

    .values-grid .value-content h3 {
        margin: 0 0 10px !important;
        font-size: 26px !important;
    }

    .values-grid .value-content .value-label {
        margin-bottom: 18px !important;
        font-size: 10px !important;
        letter-spacing: 2.5px !important;
    }

    .values-grid .value-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }


    .values-grid .value-link {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 0 !important;
    }
}


/* TEST — suppression totale des bordures des cartes */
}

/* MISSION — VALEURS SOUS LA CROIX — DESKTOP */
@media (min-width: 851px) {
    .mission-values {
        position: absolute !important;
        right: auto !important;
        top: auto !important;
        bottom: 25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;

        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;

        white-space: nowrap !important;
    }

    .mission-values span::before {
        display: none !important;
    }

    .mission-values span + span::before {
        content: "•" !important;
        display: inline !important;
        width: auto !important;
        height: auto !important;
        margin: 0 18px 0 0 !important;
        background: none !important;
    }
}

@media (max-width: 760px) {
    html[lang] .hero .hero-description-heading,
    html[lang] .hero .hero-description-mobile-copy {
        display: none !important;
    }

    html[lang] .hero .hero-description-copy {
        display: block !important;
        text-align: center !important;
    }

    html[lang] .home-page .hero .hero-description-copy {
        display: none !important;
    }

    html[lang] .home-page .hero .hero-description-mobile-copy {
        display: block !important;
        text-align: center;
    }
}

/* Accueil — aérer le paragraphe de présentation sur mobile. */
@media (max-width: 760px) {
    html[lang] .hero .hero-description {
        margin-bottom: 30px !important;
        line-height: 1.5 !important;
    }
}

/* Décalage des valeurs de mission vers la droite */
@media (min-width: 851px) {
    .mission-values {
        margin-left: 100px !important;
    }
}

/* Texte des valeurs de mission légèrement agrandi — desktop */
@media (min-width: 851px) {
    .mission-values {
        font-size: 13px !important;
    }
}

/* Logo OSDF — descendu de 100px sur desktop */
@media (min-width: 851px) {
    .hero-logo {
        transform: translateY(calc(-50% + 100px)) !important;
    }
}

/* Logo OSDF — encore 50px plus bas */
@media (min-width: 851px) {
    .hero-logo {
        transform: translateY(calc(-50% + 150px)) !important;
    }
}

/* Logo OSDF — 50px vers la droite */
@media (min-width: 851px) {
    .hero-logo {
        transform: translate(50px, calc(-50% + 150px)) !important;
    }
}

/* Logo OSDF — 30px plus haut */
@media (min-width: 851px) {
    .hero-logo {
        transform: translate(50px, calc(-50% + 120px)) !important;
    }
}

/* Logo OSDF — 10px plus à droite */
@media (min-width: 851px) {
    .hero-logo {
        transform: translate(60px, calc(-50% + 120px)) !important;
    }
}

/* Logo OSDF — 30px plus haut sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(-30px) !important;
    }
}

/* Logo OSDF — encore 10px plus haut sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(-40px) !important;
    }
}

/* Logo OSDF — encore 10px plus haut sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(-50px) !important;
    }
}

/* Logo OSDF — légèrement réduit sur mobile */
@media (max-width: 850px) {
    .hero-logo img {
        width: min(245px, 64vw) !important;
        max-width: 245px !important;
    }
}

/* Logo OSDF — 5px plus haut sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(-65px) !important;
    }
}

/* Logo OSDF — 20px plus haut sur desktop */
@media (min-width: 851px) {
    .hero-logo {
        transform: translate(60px, calc(-50% + 100px)) !important;
    }
}

/* Logo OSDF — 100px plus bas sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(35px) !important;
    }
}

/* Logo OSDF — 30px plus haut sur mobile */
@media (max-width: 850px) {
    .hero-logo {
        transform: translateY(5px) !important;
    }
}

/* Bloc texte et boutons — 30px plus bas sur mobile */
@media (max-width: 850px) {
    .hero-text {
        transform: translateY(30px) !important;
    }
}

/* Annulation du dernier déplacement du bloc texte mobile */
@media (max-width: 850px) {
    .hero-text {
        transform: none !important;
    }
}

/* Hero — texte + boutons 30px plus bas sur mobile */
@media (max-width: 850px) {
    .hero-text {
        transform: translateY(30px) !important;
    }
}

/* MOBILE — descendre le contenu texte du hero */
@media (max-width: 850px) {
    .hero-motto,
    .hero-description,
    .hero-actions {
        position: relative !important;
        top: 30px !important;
    }
}

/* FOND GÉNÉRAL DU SITE */
html,
body {
    background: #000 !important;
}

main,
section:not(.hero) {
    background-color: #000 !important;
}




/* CARTES VALEURS — FINAL */
.values-grid .value-card {
    border: 1px solid rgba(216,171,56,.55) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.values-grid .value-image {
    overflow: hidden !important;
}

.values-grid .value-image img {
    transform: scale(1.025) !important;
    transform-origin: center center !important;
}

/* MOBILE — uniquement la taille des images */
@media (max-width: 760px) {
    .values-grid .value-card {
        width: calc(100% - 40px) !important;
        min-height: auto !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
    }

    .values-grid .value-image {
        width: 100% !important;
        height: 210px !important;
        overflow: hidden !important;
    }

    .values-grid .value-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transform: none !important;
    }
}

/* BOUTONS ARRONDIS */
.btn,
.btn-gold,
.btn-outline,
.menu-join {
    border-radius: 40px !important;
}

/* MENU MOBILE — MASQUE COMPLET DU CONTENU DERRIÈRE */
@media (max-width: 850px) {
    .mobile-nav,
    .mobile-menu-panel,
    .nav-mobile,
    .mobile-menu-content {
        background: #000 !important;
        background-color: #000 !important;
        opacity: 1 !important;
    }
}

/* MENU MOBILE — FOND OPAQUE */
@media (max-width: 850px) {
    .menu-panel {
        background: #000 !important;
        background-color: #000 !important;
        opacity: 1 !important;
    }

    .menu-panel-inner {
        background: #000 !important;
        background-color: #000 !important;
    }
}

/* =========================================================
   MENU MOBILE — NOUVEAU RENDU
   ========================================================= */

@media (max-width: 700px) {

    .menu-panel {
        position: fixed !important;
        inset: 0 !important;
        z-index: 99999 !important;

        background:
            linear-gradient(
                rgba(2,7,15,.88),
                rgba(2,7,15,.94)
            ),
            url("../images/mobilebg.png") center center / cover no-repeat !important;

        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(0) !important;

        overflow-y: auto !important;
    }

    .menu-panel.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    .menu-panel-inner {
        width: calc(100% - 42px) !important;
        min-height: 100% !important;
        margin: 0 auto !important;
        padding: 82px 0 45px !important;
        background: transparent !important;
    }

    /* TITRE */
    .menu-title {
        padding-top: 0 !important;
        margin: 0 0 38px !important;

        color: #d8ab38 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 10px !important;
        letter-spacing: 3px !important;
        text-align: center !important;
        text-transform: uppercase !important;
    }

    /* NAVIGATION */
    .menu-navigation {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .menu-navigation a {
        width: 100% !important;
        box-sizing: border-box !important;

        padding: 19px 0 !important;

        border-bottom: 1px solid rgba(255,255,255,.10) !important;

        color: #f3efe5 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 29px !important;
        font-weight: 400 !important;
        letter-spacing: .5px !important;
        text-decoration: none !important;

        transition: color .2s ease !important;
    }

    .menu-navigation a:hover {
        padding-left: 0 !important;
        color: #d8ab38 !important;
    }

    .menu-navigation > a span {
        display: inline-block !important;
        width: 52px !important;

        color: rgba(216,171,56,.70) !important;
        font-family: Arial, sans-serif !important;
        font-size: 10px !important;
        letter-spacing: 2px !important;
        vertical-align: middle !important;
    }

    /* BOUTON REJOINDRE */
    .menu-navigation .menu-join {
        align-self: flex-start !important;

        width: auto !important;
        margin-top: 32px !important;
        padding: 13px 28px !important;

        border: 1px solid #d8ab38 !important;
        border-radius: 40px !important;

        color: #d8ab38 !important;
        background: transparent !important;

        font-family: Arial, sans-serif !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
    }

    .menu-navigation .menu-join:hover {
        padding-left: 28px !important;
        background: #d8ab38 !important;
        color: #05090f !important;
    }

    /* LANGUES */
    .language-switcher {
        margin-top: 24px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .language-switcher a {
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 25px !important;
        line-height: 1 !important;
    }
}

/* CROIX DU BURGER — TOUJOURS AU-DESSUS DU MENU */
@media (max-width: 700px) {

    .site-header .mobile-menu {
        position: relative !important;
        z-index: 100001 !important;
    }

    .site-header .mobile-menu[aria-expanded="true"] {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        z-index: 100002 !important;
    }

    .site-header .mobile-menu[aria-expanded="true"] span {
        background: #d8ab38 !important;
    }

}

/* MENU OUVERT — HEADER ET CROIX AU-DESSUS DU PANNEAU */
@media (max-width: 700px) {

    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 100001 !important;
    }

    .site-header .mobile-menu {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        z-index: 100002 !important;
        display: flex !important;
    }

    .site-header .mobile-menu[aria-expanded="true"] {
        z-index: 100003 !important;
    }

    .site-header .mobile-menu[aria-expanded="true"] span {
        background: #d8ab38 !important;
    }
}

/* BURGER — RETOUR À SA POSITION ORIGINALE */
@media (max-width: 700px) {
    .site-header {
        position: absolute !important;
        z-index: 100001 !important;
    }

    .site-header .mobile-menu {
        position: absolute !important;
        top: 38% !important;
        right: 7% !important;
        transform: translateY(-50%) !important;
        z-index: 100002 !important;
    }
}

/* BURGER — LÉGÈREMENT PLUS BAS */
@media (max-width: 700px) {
    .site-header .mobile-menu {
        top: 40% !important;
    }
}

/* BURGER — AJUSTEMENT FIN */
@media (max-width: 700px) {
    .site-header .mobile-menu {
        top: calc(38% + 4px) !important;
    }
}

/* BURGER — 10 PX À DROITE */
@media (max-width: 700px) {
    .site-header .mobile-menu {
        right: calc(7% - 10px) !important;
    }
}

/* BURGER DESKTOP — LÉGÈREMENT PLUS BAS */
@media (min-width: 701px) {
    .site-header .mobile-menu {
        top: calc(38% + 5px) !important;
    }
}

/* BURGER DESKTOP — 50 PX À DROITE */
@media (min-width: 701px) {
    .site-header .mobile-menu {
        right: calc(7% - 50px) !important;
    }
}

/* LT — texte blanc du hero sur mobile */
@media (max-width: 700px) {
    html[lang="lt"] .hero-description {
        font-size: 16px !important;
        line-height: 1.45 !important;
        max-width: 100% !important;
        width: 100% !important;
        letter-spacing: 0 !important;
    }
}





/* MISSION — FOI / HONNEUR / PROTECTION SOUS LA CROIX */
@media (min-width: 851px) {
    .mission-values {
        position: static !important;
        transform: none !important;
        margin: 22px auto 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        gap: 18px !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   MISSION — CROIX PUIS VALEURS EN DESSOUS
   ========================================================= */

@media (min-width: 851px) {

    .mission-emblem {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mission-emblem img {
        display: block !important;
        margin: 0 auto !important;
    }

    .mission-emblem .mission-values {
        position: static !important;
        transform: none !important;
        margin: 22px auto 0 !important;

        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;

        width: auto !important;
        white-space: nowrap !important;
        gap: 18px !important;
    }
}


/* MISSION — VALEURS : CENTRAGE ET SUPPRESSION DES TRAITS */
@media (min-width: 851px) {

    .mission-emblem .mission-values {
        width: 100% !important;
        margin: 22px 0 0 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .mission-emblem .mission-values span::before,
    .mission-emblem .mission-values span + span::before {
        display: none !important;
        content: none !important;
    }
}


@media (min-width: 851px) {
    .mission-emblem .mission-values {
        transform: translateX(40px) !important;
    }
}


@media (min-width: 851px) {
    .mission-emblem .mission-values {
        transform: translateX(80px) !important;
    }
}


@media (min-width: 851px) {
    .mission-emblem .mission-values {
        transform: translateX(120px) !important;
    }
}


@media (min-width: 851px) {
    .mission-emblem .mission-values {
        transform: translateX(160px) !important;
    }
}


@media (min-width: 851px) {
    .mission-emblem .mission-values span + span::before {
        content: "-" !important;
        display: inline !important;
        margin: 0 18px 0 0 !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
}

/* LOGO ACCUEIL FR — légèrement réduit */
@media (min-width: 851px) {
    html[lang="fr"] .hero-logo img {
        width: 430px !important;
        max-width: 90% !important;
    }
}

/* LOGO ACCUEIL FR — remonter de 30px */
@media (min-width: 851px) {
    html[lang="fr"] .hero-logo {
        transform: translateY(calc(-50% + 70px)) !important;
    }
}

/* LOGO ACCUEIL FR — remonter encore de 30px */
@media (min-width: 851px) {
    html[lang="fr"] .hero-logo {
        transform: translateY(calc(-50% + 40px)) !important;
    }
}

/* LOGO ACCUEIL LT — même position que le FR */
@media (min-width: 851px) {
    html[lang="lt"] .hero-logo {
        transform: translateY(calc(-50% + 40px)) !important;
    }
}

/* === ALIGNEMENT LOGO LT SUR LE LOGO FR === */
@media (min-width: 851px) {
    html[lang="lt"] .hero-logo img {
        width: 430px !important;
        max-width: 430px !important;
        height: auto !important;
    }
}

/* =========================================================
   MOBILE — chaque texte reste associé à son image
   ========================================================= */
@media (max-width: 768px) {

    .valeur {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .valeur-image,
    .valeur:nth-child(even) .valeur-image {
        order: 1 !important;
        width: 100% !important;
        height: 330px !important;
        min-height: 330px !important;
        aspect-ratio: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;
        border-radius: 0 !important;
    }

    .valeur-content,
    .valeur:nth-child(even) .valeur-content {
        order: 2 !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        padding: 50px 25px 60px !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .valeur + .valeur::before {
        display: none !important;
    }
}

/* =========================================================
   4 PILIERS — 2 CARTES PAR RANGÉE
   ========================================================= */

@media (min-width: 761px) {

    .values-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }

    /* 01 — FOI */
    .values-grid .value-card:nth-child(1) {
        grid-column: 1 / span 2 !important;
    }

    /* 02 — HONNEUR */
    .values-grid .value-card:nth-child(2) {
        grid-column: 3 / span 2 !important;
    }

    /* 03 — FRATERNITÉ */
    .values-grid .value-card:nth-child(3) {
        grid-column: 1 / span 2 !important;
    }

    /* 04 — PROTECTION */
    .values-grid .value-card:nth-child(4) {
        grid-column: 3 / span 2 !important;
    }

}


/* TITRES DES CARTES — MAJUSCULES */
.values-grid .value-card .value-content h3 {
    text-transform: uppercase !important;
}


/* =========================================================
   BURGER FIXE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .mobile-menu {
        position: fixed !important;
        top: 18px;
        right: 18px;
        z-index: 9999;
    }

}


/* =========================================================
   BURGER FIXE — CORRECTION FINALE
   ========================================================= */

@media (max-width: 768px) {

    .site-header .mobile-menu {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        transform: none !important;
        z-index: 100002 !important;
    }

}


/* =========================================================
   HEADER MOBILE FIXE — BARRE NOIRE + NOM + BURGER
   ========================================================= */

@media (max-width: 768px) {

    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 100001 !important;
    }

    .site-header .mobile-menu {
        position: absolute !important;
        top: 50% !important;
        right: 7% !important;
        transform: translateY(-50%) !important;
        z-index: 100002 !important;
    }

}


/* O doré dans le nom lituanien */
.brand-gold-o {
    color: #d8ab38 !important;
}


/* Correction définitive du nom lituanien */
.site-header .brand .brand-gold-o {
    color: #d8ab38 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    display: inline !important;
}

/* Le T de TIKĖJIMO doit rester blanc */
.site-header .brand {
    color: #f3efe5 !important;
}


/* Annule la mise en doré de la première lettre du nom */
.site-header .brand::first-letter {
    color: #f3efe5 !important;
}

/* Seul le O de ORDĖNAS reste doré */
.site-header .brand .brand-gold-o {
    color: #d8ab38 !important;
}


.site-header .brand .brand-gold-o {
    font-size: 1.08em !important;
}


/* =========================================================
   HEADER FIXE — PC
   ========================================================= */
@media (min-width: 769px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 100001 !important;
    }
}

/* =========================================================
   VALEURS — SUPPRESSION DU DÉBORDEMENT HORIZONTAL MOBILE
   ========================================================= */
@media (max-width: 760px) {
    .valeurs-page .values-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .valeurs-page .values-grid .value-card {
        max-width: calc(100% - 40px) !important;
        box-sizing: border-box !important;
    }

    .valeurs-page .values-grid .value-image,
    .valeurs-page .values-grid .value-image img {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* TEST — empêcher tout débordement horizontal sur la page Valeurs */
@media (max-width: 768px) {
    body.valeurs-page {
        overflow-x: hidden !important;
    }
}

/* CORRECTION — largeur du contenu Hero Valeurs sur mobile */
@media (max-width:768px) {
    .valeurs-page .valeurs-hero-content {
        box-sizing: border-box !important;
        width: 100% !important;
    }
}

/* MOBILE — les cinq piliers restent dans la largeur de l'écran */
@media (max-width:768px) {
    .valeurs-intro .valeurs-piliers {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

/* MOBILE — ligne des cinq piliers */
@media (max-width:768px) {
    .valeurs-liste {
        font-size: 11px !important;
        letter-spacing: .5px !important;
        line-height: 1.8 !important;
        white-space: normal !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
    }
}

/* OSDF — correction des cinq valeurs sur mobile */
@media screen and (max-width: 600px) {
    .hero .hero-motto,
    .hero .hero-subtitle {
        max-width: 100%;
        box-sizing: border-box;
    }

    .values-section .section-heading h2 {
        font-size: clamp(17px, 4.5vw, 24px) !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-wrap: anywhere;
    }
}

/* OSDF — correction des cinq valeurs sur mobile */
@media screen and (max-width: 600px) {
    .hero .hero-motto,
    .hero .hero-subtitle {
        max-width: 100%;
        box-sizing: border-box;
    }

    .values-section .section-heading h2 {
        font-size: clamp(17px, 4.5vw, 24px) !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-wrap: anywhere;
    }
}

/* OSDF — réglages finaux du hero mobile */
@media screen and (max-width: 600px) {
    .hero .hero-text {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        transform: translateY(-30px) !important;
        box-sizing: border-box !important;
    }

    .hero .hero-motto {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto 18px !important;
        padding: 0 6px !important;
        box-sizing: border-box !important;
        color: #d8ab38 !important;
        font-size: clamp(14px, 4vw, 17px) !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
    }

    .hero .hero-description {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto 22px !important;
        padding: 0 2px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .hero .hero-actions {
        width: 100% !important;
        gap: 11px !important;
    }
}

/* Correction ciblée de la devise et du texte sur mobile */
@media screen and (max-width: 600px) {
    .hero .hero-motto {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 4px !important;
        margin: 0 auto 18px !important;
        box-sizing: border-box !important;
        font-size: clamp(13px, 3.8vw, 16px) !important;
        line-height: 1.45 !important;
        letter-spacing: 1px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .hero .hero-motto span {
        display: block !important;
        white-space: nowrap !important;
    }

    .hero .hero-description {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 auto 22px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        letter-spacing: 0 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        text-wrap: pretty;
    }
}

/* OSDF — correction du texte blanc sur mobile */
@media screen and (max-width: 600px) {
    .hero .hero-description {
        display: block !important;
        width: calc(100% + 24px) !important;
        max-width: none !important;
        margin: 0 -12px 22px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        text-wrap: pretty;
    }
}

/* OSDF — remonter l'image de fond sur mobile */
@media screen and (max-width: 600px) {
    .hero {
        background-position: center 35% !important;
    }
}

/* OSDF : remonter le visuel de fond sur mobile */
@media screen and (max-width: 600px) {
    .hero-background {
        background-position: center 65% !important;
    }
}


/* LOGO ACCUEIL ESPAGNOL — taille ajustée */
@media (min-width: 851px) {
    html[lang="es"] .hero-logo img {
        position: relative !important;
        transform: translate(-30px, -20px) !important;
        width: 460px !important;
        max-width: 460px !important;
        height: auto !important;
    }
}


/* MOBILE — centrage du logo espagnol uniquement */
@media (max-width: 850px) {
    html[lang="es"] .hero-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html[lang="es"] .hero-logo img {
        position: static !important;
        transform: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* FIX FINAL — PAGE NOTRE MISSION : 4 CARTES SUR UNE LIGNE */
@media (min-width: 1100px) {
    body:has(section.ordre-pillars) section.ordre-pillars {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        width: calc(100% - 60px) !important;
        max-width: 1400px !important;
        gap: 20px !important;
    }

    body:has(section.ordre-pillars) section.ordre-pillars > article.ordre-pillar {
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 300px !important;
        padding: 25px !important;
        box-sizing: border-box !important;
    }
}

/* LOGO ACCUEIL ANGLAIS — taille et position alignées sur le français */
@media (min-width: 851px) {
    html[lang="en"] .hero-logo {
        top: 34% !important;
    }

    html[lang="en"] .hero-logo img {
        width: 430px !important;
        max-width: 430px !important;
        height: auto !important;
    }
}

/* OSDF — garder les intitulés du menu mobile sur une seule ligne */
@media (max-width: 700px) {
    .menu-navigation a[href*="engagement.php"] {
        white-space: nowrap !important;
    }
}

/* Hauteur commune des logos de la page d'accueil */
@media (min-width: 851px) {
    html[lang] .hero-logo img {
        width: auto !important;
        height: 208px !important;
        max-width: none !important;
    }
}

@media (max-width: 850px) {
    html[lang] .hero-logo img {
        width: auto !important;
        height: 118px !important;
        max-width: none !important;
    }
}

@media screen and (max-width: 600px) {
    html[lang="en"] .hero .hero-motto span {
        max-width: 100% !important;
        white-space: normal !important;
    }
}

/* Préférences de cookies — interface commune à toutes les pages */
.cookie-consent-banner[hidden],
.cookie-consent-dialog:not([open]) {
    display: none !important;
}

/* Accueil — réduire les trois lignes du titre du Hero sans toucher aux autres éléments */
@media (min-width: 1051px) {
    .hero .hero-text h1 {
        max-width: 100%;
        font-size: clamp(42px, 4.3vw, 62px) !important;
        line-height: .88 !important;
        text-align: left !important;
    }
}

@media (min-width: 851px) and (max-width: 1050px) {
    .hero .hero-text h1 {
        max-width: 100%;
        font-size: clamp(38px, 4.5vw, 47px) !important;
        line-height: .88 !important;
        text-align: left !important;
    }
}

@media (min-width: 801px) and (max-width: 850px) {
    .hero .hero-text h1 {
        max-width: 100%;
        font-size: clamp(36px, 4.5vw, 38px) !important;
        line-height: .88 !important;
        text-align: left !important;
    }
}

@media (max-width: 800px) {
    .hero .hero-text h1 {
        width: 100%;
        max-width: 100%;
        align-self: flex-start;
        font-size: clamp(32px, 7.3vw, 44px) !important;
        line-height: .88 !important;
        letter-spacing: .5px !important;
        text-align: left !important;
    }
}

@media (max-width: 760px) {
    .hero {
        height: auto !important;
        min-height: 100dvh !important;
        overflow: hidden !important;
    }

    .hero-content {
        height: auto !important;
        min-height: 100dvh !important;
    }

    .hero-background {
        background-position: center 65% !important;
    }

    .hero-logo .logo-glow {
        display: none !important;
    }

    .hero-logo {
        margin: 0 auto 12px !important;
        transform: none !important;
    }
}

/* Accueil — progression visuelle des trois lignes du titre */
.hero .hero-text h1 .hero-title-line {
    display: block;
    line-height: 1 !important;
}

.hero .hero-text h1 .hero-title-line:nth-child(1) {
    font-size: .75em !important;
}

.hero .hero-text h1 .hero-title-line:nth-child(2) {
    margin-top: .04em;
    font-size: .88em !important;
}

.hero .hero-text h1 .hero-title-line:nth-child(3) {
    margin-top: .04em;
    font-size: 1em !important;
    background: linear-gradient(
        135deg,
        #efd06a,
        #d8ab38,
        #b9881e
    );
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

/* Accueil — logo unique du Hero, commun aux langues et aux écrans */
@media (min-width: 761px) {
    html[lang] .hero-logo img.hero-logo-image {
        display: block !important;
        width: min(510px, 90%) !important;
        max-width: 510px !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 760px) {
    html[lang] .hero-logo img.hero-logo-image {
        display: block !important;
        width: min(354px, 100%) !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }
}

.cookie-consent-banner {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    color: #fff;
    background: #07101c;
    border: 1px solid rgba(216, 171, 56, .75);
    border-radius: 12px;
    box-shadow: 0 12px 42px rgba(0, 0, 0, .55);
}

.cookie-consent-content,
.cookie-dialog-content {
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 20px 22px;
}

.cookie-consent-banner h2,
.cookie-consent-dialog h2 {
    margin: 0 0 8px;
    color: #e4c36d;
    font: 600 1.2rem/1.35 Georgia, "Times New Roman", serif;
}

.cookie-consent-banner p,
.cookie-consent-dialog p {
    margin: 0 0 14px;
    color: #e0e4e9;
    font-size: .95rem;
    line-height: 1.55;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-button,
.cookie-preferences-button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #d8ab38;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-button-primary {
    color: #111;
    background: #e4c36d;
}

.cookie-button-secondary,
.cookie-preferences-button {
    color: #fff;
    background: transparent;
}

.cookie-button:hover,
.cookie-preferences-button:hover {
    filter: brightness(1.12);
}

.cookie-button:focus-visible,
.cookie-preferences-button:focus-visible,
.cookie-consent-dialog input:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.cookie-preferences-button {
    display: block;
    margin: 14px auto 10px;
    min-height: 0;
    padding: 0;
    color: #d8ab38;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.cookie-preferences-button:hover {
    filter: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-dialog {
    width: min(640px, calc(100% - 28px));
    max-width: none;
    max-height: min(86vh, 760px);
    padding: 0;
    overflow: auto;
    color: #fff;
    background: #07101c;
    border: 1px solid rgba(216, 171, 56, .8);
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .65);
}

.cookie-consent-dialog::backdrop {
    background: rgba(0, 0, 0, .72);
}

.cookie-dialog-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-dialog-topbar h2 {
    margin-bottom: 0;
}

.cookie-dialog-close {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(216, 171, 56, .65);
    border-radius: 6px;
    font: inherit;
    cursor: pointer;
}

.cookie-dialog-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(216, 171, 56, .35);
    border-radius: 8px;
}

.cookie-category h3,
.cookie-category strong {
    display: block;
    margin: 0 0 5px;
    color: #e4c36d;
    font-size: 1rem;
}

.cookie-category p,
.cookie-category-description {
    display: block;
    margin: 0;
    color: #d5dbe2;
    font-size: .9rem;
    line-height: 1.5;
}

.cookie-category input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    accent-color: #e4c36d;
}

.cookie-required-state {
    flex: 0 0 auto;
    color: #d5dbe2;
    font-size: .82rem;
}

.cookie-consent-dialog .cookie-consent-notice {
    padding: 12px;
    color: #f3dfaa;
    background: rgba(216, 171, 56, .1);
    border-left: 3px solid #d8ab38;
}

.cookie-consent-status {
    position: fixed;
    z-index: 10001;
    right: 8px;
    bottom: 8px;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

    .cookie-consent-content,
    .cookie-dialog-content {
        padding: 16px;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-button {
        width: 100%;
    }

    .cookie-dialog-actions {
        grid-template-columns: 1fr;
    }

    .cookie-category {
        align-items: flex-start;
        gap: 10px;
    }
}

/* Hero d'accueil — retouches mobiles uniquement */
@media (max-width: 760px) {
    html[lang] .hero .hero-text h1 {
        font-size: clamp(26.5px, 6.1vw, 36px) !important;
    }

    html[lang] .hero .hero-text h1 .hero-title-line {
        color: #fff !important;
    }

    html[lang] .hero .hero-text h1 .hero-title-line:nth-child(3) {
        background: none !important;
        box-shadow: none !important;
    }

    .hero-background {
        background-position: center center !important;
    }

    .hero-bottom-fade {
        height: 340px !important;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, .10) 42%,
            rgba(0, 0, 0, .42) 72%,
            #000 100%
        ) !important;
    }

    .hero .hero-actions .btn-outline {
        border-color: rgba(216, 171, 56, .95) !important;
        box-shadow: 0 0 8px rgba(216, 171, 56, .12) !important;
    }
}

/* Hero téléphone — image centrée et zones de texte élargies */
@media (max-width: 600px) {
    .hero-background {
        background-size: 100% auto !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #000 !important;
    }

    .hero .hero-motto,
    .hero .hero-description {
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .hero .hero-motto span {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
}

/* Hero d'accueil — ajustements ordinateur uniquement */
@media (min-width: 851px) {
    html[lang] .hero .hero-text {
        translate: 0 45px;
    }

    html[lang] .hero .hero-text h1 {
        font-size: clamp(35px, 4vw, 57px) !important;
    }

    html[lang] .hero .hero-text h1 .hero-title-line:nth-child(3) {
        background: none !important;
        box-shadow: none !important;
    }

    html[lang] .hero-logo img.hero-logo-image {
        width: min(728px, 100%) !important;
        max-width: 728px !important;
        height: auto !important;
        object-fit: contain !important;
        margin-left: auto !important;
        margin-right: auto !important;
        translate: 0 -15px;
    }
}

/* Hero mobile — position du fond et voile bas, sans déplacer le contenu */
@media screen and (max-width: 760px) {
    .hero-logo {
        transform: translateY(-45px) !important;
    }

    .hero-background {
        background-position: center calc(50% - 50px) !important;
    }

    .hero-bottom-fade {
        height: 45vh !important;
        z-index: 2 !important;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, .06) 18%,
            rgba(0, 0, 0, .18) 26%,
            rgba(0, 0, 0, .42) 32%,
            rgba(0, 0, 0, .58) 38%,
            #000 46%,
            #000 100%
        ) !important;
    }
}


/* Hero mobile LT — appliquer au paragraphe la largeur étendue commune */
@media (max-width: 600px) {
    html[lang="lt"] .hero .hero-description {
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }
}

/* OSDF — menu ordinateur : panneau entier défilable (v2) */
@media (min-width: 701px) {
    html:has(.menu-panel.open),
    body:has(.menu-panel.open) {
        overflow: hidden;
    }

    .menu-panel {
        position: fixed;
        inset: 0;
        z-index: 100002;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        background-color: rgb(2, 7, 15);
    }

    /* Un transform, même translateX(0), retient les enfants fixed.
       none garde la fermeture liée à la fenêtre pendant le défilement.
       La transition existante depuis translateX(35px) reste active. */
    .menu-panel.open {
        transform: none;
    }

    .menu-panel .menu-close {
        position: fixed;
        top: 25px;
        right: max(40px, calc((100% - 1100px) / 2));
        z-index: 2;
        background-color: rgb(2, 7, 15);
    }

    .menu-panel .menu-close:hover {
        background-color: rgb(19, 20, 18);
    }
}

/* OSDF — espacements du menu PC et mobile, sans réduction des polices */
@media (min-width: 701px) {
    .menu-panel-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px 0 42px;
    }

    .menu-title,
    .menu-navigation {
        flex-shrink: 0;
    }

    .menu-title {
        margin-bottom: 49px;
    }

    .menu-navigation a:not(.menu-join) {
        line-height: 1.15;
    }

    .menu-navigation > a:not(.menu-join) {
        padding-top: 13.3px;
        padding-bottom: 13.3px;
    }

    .menu-navigation .menu-join {
        margin-top: 29.4px;
        padding-top: 10.5px;
        padding-bottom: 10.5px;
        min-height: 44px;
    }
}

@media (min-width: 701px) and (max-height: 900px) {
    .menu-panel-inner {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .menu-title {
        padding-top: 8px;
        margin-bottom: 21px;
    }

    .menu-navigation > a:not(.menu-join) {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .menu-navigation .menu-join {
        margin-top: 20px;
    }
}

@media (max-width: 700px) {
    html:has(.menu-panel.open),
    body:has(.menu-panel.open) {
        overflow: hidden;
    }

    .menu-panel {
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
        z-index: 100002 !important;
    }

    .menu-panel.open {
        transform: none !important;
    }

    .menu-panel-inner {
        padding-top: clamp(56px, 7.82dvh, 60px) !important;
        padding-bottom: 24px !important;
    }

    .menu-panel .menu-close {
        position: fixed;
        top: 18px;
        right: 21px;
        z-index: 2;
        background-color: rgba(2, 7, 15, .94);
    }

    .menu-title {
        margin-bottom: 14px !important;
    }

    .menu-navigation > a:not(.menu-join) {
        line-height: 1.2 !important;
        padding-top: clamp(10px, 1.8dvh, 15.2px) !important;
        padding-bottom: clamp(10px, 1.8dvh, 15.2px) !important;
        min-height: 44px;
    }

    .menu-navigation .menu-join {
        margin-top: 16px !important;
        padding-top: 10.4px !important;
        padding-bottom: 10.4px !important;
        min-height: 44px;
    }

    .menu-navigation .language-switcher {
        margin-top: 10px !important;
    }

    .menu-navigation .language-switcher a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Hauteurs mobiles intermédiaires : garder les caractères et les cibles tactiles. */
@media (max-width: 700px) and (min-height: 741px) and (max-height: 820px) {
    .menu-navigation > a:not(.menu-join) {
        padding-top: 13.5px !important;
        padding-bottom: 13.5px !important;
    }
}

/* Test ordinateur — descendre le logo du HERO de 60px sans changer son axe horizontal. */
@media (min-width: 851px) {
    .hero-logo {
        translate: 0 60px !important;
    }
}

/* Accueil lituanien — ajustement ordinateur supplémentaire de 40px vers le bas. */
@media (min-width: 851px) {
    html[lang="lt"] .hero-logo {
        translate: 0 100px !important;
    }
}

/* Accueil anglais — décalage ordinateur de 50px vers la gauche. */
@media (min-width: 851px) {
    html[lang="en"] .hero-logo {
        translate: -50px 60px !important;
    }
}

/* Accueil espagnol — décalage ordinateur de 50px vers la gauche. */
@media (min-width: 851px) {
    html[lang="es"] .hero-logo {
        translate: -50px 60px !important;
    }
}

/* Accueil anglais — titre du HERO ajusté aux colonnes étroites sur ordinateur. */
@media (min-width: 851px) and (max-width: 1050px) {
    html[lang="en"] .hero .hero-text h1 {
        font-size: clamp(30px, 3.5vw, 37px) !important;
    }
}

/* Accueil — garder les lignes longues lisibles sans toucher au logo. */
@media (min-width: 851px) {
    html[lang="en"] .hero .hero-text h1,
    html[lang="es"] .hero .hero-text h1 {
        font-size: clamp(38px, 3.2vw, 48px) !important;
    }

    html[lang="lt"] .hero .hero-text h1 {
        font-size: clamp(40px, 3.5vw, 50px) !important;
    }
}

@media (min-width: 761px) and (max-width: 850px) {
    html[lang="en"] .hero .hero-text h1,
    html[lang="es"] .hero .hero-text h1 {
        font-size: clamp(29px, 4vw, 34px) !important;
    }

    html[lang="lt"] .hero .hero-text h1 {
        font-size: clamp(30px, 4vw, 35px) !important;
    }
}

@media (max-width: 760px) {
    html[lang="en"] .hero .hero-text h1,
    html[lang="es"] .hero .hero-text h1 {
        font-size: clamp(22px, 5.8vw, 30px) !important;
    }

    html[lang="lt"] .hero .hero-text h1 {
        font-size: clamp(24px, 5.8vw, 32px) !important;
    }

}

/* Accueil — renforcer le contraste du texte sans déplacer le fond. */
.home-page .hero .hero-motto,
.home-page .hero .hero-motto span {
    color: #f5cf66 !important;
    white-space: normal !important;
    text-wrap: balance;
    text-shadow: 0 1px 3px #02070f, 0 0 7px #02070f, 0 0 13px rgba(2, 7, 15, .85);
}

.home-page .hero .hero-description {
    position: relative;
    isolation: isolate;
}

.home-page .hero .hero-description::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -18px -25px;
    background: radial-gradient(ellipse at center, rgba(2, 7, 15, .48) 0%, rgba(2, 7, 15, .32) 48%, transparent 78%);
    pointer-events: none;
}

.home-page .hero-bottom-fade {
    z-index: 2 !important;
}

@media (min-width: 769px) and (max-width: 850px) {
    .home-page .hero .hero-content {
        padding-bottom: 30px;
    }

    .home-page .hero .hero-text {
        max-width: clamp(235px, calc(100vw - 534px), 260px) !important;
    }

    .home-page .hero .hero-actions {
        top: 0 !important;
    }
}

@media (min-width: 769px) and (max-width: 800px) {
    .home-page .hero .hero-text {
        text-align: left !important;
    }

    .home-page .hero .hero-actions {
        justify-content: flex-start !important;
    }
}

@media (min-width: 851px) and (max-width: 1350px) {
    .home-page .hero .hero-text {
        --hero-text-offset: clamp(0px, calc(50vw - 540px), 120px);
        max-width: clamp(265px, calc(93vw - 580px - var(--hero-text-offset)), 570px);
        transform: translateX(var(--hero-text-offset)) !important;
    }
}

@media (min-width: 761px) and (max-width: 850px) {
    .home-page .values-grid {
        width: calc(100% - 72px) !important;
    }
}

@media (min-width: 761px) and (max-width: 768px) {
    .home-page .hero .hero-actions {
        top: 5px !important;
    }
}

@media (min-width: 769px) and (max-width: 909px) {
    html[lang="fr"] .home-page .hero-logo img.hero-logo-image {
        width: clamp(380px, calc(92vw - 328px), 510px) !important;
    }
}

/* Réduire le logo autour de son centre sans déplacer le contenu du bandeau. */
.home-page .hero-logo img.hero-logo-image {
    scale: .792;
}

.home-page .hero-logo::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(100%, 500px);
    aspect-ratio: 2.6;
    transform: translate(-50%, -50%);
    translate: 0 var(--home-logo-y, 0px);
    background: radial-gradient(ellipse closest-side, rgba(0, 0, 0, .30), rgba(0, 0, 0, .24) 38%, rgba(0, 0, 0, .11) 66%, transparent 94%);
    pointer-events: none;
}

/* Aligner le centre visible des logos sur l’Accueil français en largeur ordinateur. */
@media (min-width: 851px) {
    .home-page .hero-logo {
        --home-logo-y: -15px;
    }

    html[lang="en"] .home-page .hero-logo {
        --home-logo-y: calc(-15px - clamp(31.5px, calc(12vw - 78px), 40.3px));
    }

    html[lang="lt"] .home-page .hero-logo {
        --home-logo-y: -60.5px;
    }

    html[lang="es"] .home-page .hero-logo {
        --home-logo-y: -78.6px;
    }

    html[lang] .home-page .hero-logo img.hero-logo-image {
        translate: 0 var(--home-logo-y);
    }
}

@media (max-width: 768px) {
    .home-page .hero-logo img.hero-logo-image {
        scale: .765;
    }
}

@media (min-width: 851px) {
    .home-page .mission-emblem .mission-values {
        flex-wrap: wrap;
        transform: none !important;
    }
}


/* Croix officielle devant le nom, dans le bandeau commun. */
.site-header .brand {
    --brand-cross-size: 44px;
    --brand-cross-gap: 10px;
    position: relative;
    display: inline-block;
    padding-inline-start: calc(var(--brand-cross-size) + var(--brand-cross-gap));
    white-space: nowrap;
}

.site-header .brand::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: var(--brand-cross-size);
    height: var(--brand-cross-size);
    transform: translateY(-50%);
    background: url("../images/croix-officielle-osdf.webp") center / contain no-repeat;
    pointer-events: none;
}

@media (max-width: 760px) {
    .site-header .brand {
        --brand-cross-size: 34px;
        --brand-cross-gap: 4px;
    }
}

@media (360px < width < 390px) {
    .site-header .brand {
        --brand-cross-size: clamp(20px, calc(50vw - 160px), 34px);
        margin-inline-start: clamp(-13px, calc(45vw - 175.5px), 0px);
    }
}

@media (max-width: 360px) {
    .site-header .brand {
        --brand-cross-size: clamp(29px, calc(74px - 12.5vw), 34px);
        margin-inline-start: -2px;
        font-size: clamp(8.75px, 2.7vw, 10px) !important;
        letter-spacing: clamp(.65px, calc(2vw - 5.75px), 1.6px) !important;
    }
}


/* Dimensions visuelles communes, sur la référence du drapeau français. */
.language-switcher .language-flag {
    --language-flag-width: 23px;
    --language-flag-height: 18px;
    display: inline-flex;
    width: var(--language-flag-width);
    height: var(--language-flag-height);
    flex: none;
    align-items: center;
    justify-content: center;
    font: 25px / 1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    vertical-align: middle;
}

.language-switcher .language-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Dimensions visuelles communes, sur la référence du drapeau français. */
.header-language .language-flag {
    --language-flag-width: 23px;
    --language-flag-height: 18px;
    display: inline-flex;
    width: var(--language-flag-width);
    height: var(--language-flag-height);
    flex: none;
    align-items: center;
    justify-content: center;
    font: 25px / 1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    vertical-align: middle;
}

.header-language .language-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Le sélecteur partage le bandeau avec la marque et le bouton principal. */
.site-header .header-inner:has(.header-controls) {
    justify-content: space-between;
    gap: clamp(4px, 1vw, 12px);
}

.site-header .header-controls {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    height: 100%;
    gap: 4px;
    margin-inline-end: max(0px, calc(7% - 50px));
}

.site-header .header-controls .mobile-menu {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
}

.header-language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #e4ba65;
    font: 600 12px/1 Arial, sans-serif;
    letter-spacing: .06em;
    cursor: pointer;
}

.header-language-chevron,
.header-language-check {
    width: 6px;
    height: 6px;
    border: 1.5px solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}

.header-language-toggle[aria-expanded="true"] .header-language-chevron {
    transform: translateY(2px) rotate(225deg);
}

.header-language-options {
    position: absolute;
    z-index: 1;
    inset-block-start: 100%;
    inset-inline-end: 0;
    box-sizing: border-box;
    width: min(16rem, calc(100vw - 28px));
    max-height: min(25rem, calc(100vh - 66px));
    max-height: min(25rem, calc(100dvh - 66px));
    overflow: auto;
    overscroll-behavior: contain;
    padding: 5px;
    margin: 0;
    list-style: none;
    border: 1px solid rgba(216, 171, 56, .48);
    border-radius: 8px;
    background: #080e17;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.header-language-options[hidden] {
    display: none;
}

.header-language-options a {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding-inline: 8px;
    border-radius: 4px;
    color: #f3efe5;
    text-decoration: none;
    font: 15px/1.2 Georgia, "Times New Roman", serif;
    overflow-wrap: anywhere;
}

.header-language-options a:hover,
.header-language-options a:focus-visible,
.header-language-toggle:hover {
    background: rgba(216, 171, 56, .12);
    color: #f1ce7b;
}

.header-language-options a[aria-current="page"],
.header-language-check {
    color: #e4ba65;
}

.header-language-check {
    width: 6px;
    height: 10px;
}

.header-language-toggle:focus-visible,
.header-language-options a:focus-visible {
    outline: 1px solid #e4ba65;
    outline-offset: -2px;
}

@media (max-width: 768px) {
    .site-header .header-inner:has(.header-controls) > .brand {
        flex: 0 1 auto;
        min-width: 0;
        white-space: normal;
        line-height: 1.14 !important;
    }

    .site-header .header-controls {
        margin-inline-end: 0;
        gap: 2px;
    }

    .site-header .header-controls .mobile-menu {
        width: 44px !important;
    }
}
