/* ==========================================================
   VALORESSENCE — GLOBAL
   Styles communs à l'ensemble du site
========================================================== */


/* ==========================================================
   VARIABLES
========================================================== */

:root {
    --brown: #1c120d;
    --brown-2: #291b15;

    --orange: #d87d21;
    --orange-light: #f2a126;

    --cream: #f7f3ee;

    --white: #ffffff;
    --grey: #cec6c4;

    --text: #1c120d;
    --muted: #6c625c;

    --line: rgba(216, 125, 33, .22);

    --container: 1680px;
}


/* ==========================================================
   RESET
========================================================== */

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--cream);
    color: var(--text);

    font-family: "Montserrat", sans-serif !important;
    font-size: 15px;
    font-weight: 400;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

img {
    display: block;

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select,
option {
    font-family: "Montserrat", sans-serif !important;
}

button {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin-top: 0;
}


/* ==========================================================
   CONTAINER
========================================================== */

.container {
    width: min(
        var(--container),
        calc(100% - 80px)
    );

    margin-right: auto;
    margin-left: auto;
}


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

.btn {
    min-height: 44px;

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

    padding: 0 25px;

    border: 0;

    font-size: 10px;
    line-height: 1;
    font-weight: 600;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.btn--orange {
    background: var(--orange);
    color: var(--white);
}

.btn--orange:hover {
    background: #e48a2d;
}


/* ==========================================================
   LABELS COMMUNS
========================================================== */

.section-label {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 24px;

    color: var(--orange);

    font-size: 10px;
    line-height: 1;
    font-weight: 500;

    text-transform: uppercase;
}

.section-mark {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

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

    border-radius: 50%;

    background: var(--orange);
    color: var(--white);

    font-size: 7px;
    line-height: 1;
    font-weight: 700;
}


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

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: var(--brown);
    color: var(--white);

    border-bottom:
        1px solid
        rgba(216, 125, 33, .15);
}


.site-header__inner {
    width: min(
        var(--container),
        calc(100% - 80px)
    );

    height: 90px;

    margin-right: auto;
    margin-left: auto;

    display: flex;
    align-items: center;
}


/* LOGO */

.site-logo {
    flex: 0 0 230px;

    display: flex;
    align-items: center;

    gap: 11px;
}

.site-logo__icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: block;

    object-fit: contain;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
}

.site-logo__main {
    color: var(--orange);

    font-size: 22px;
    line-height: 1;
    font-weight: 500;

    letter-spacing: -.7px;
}

.site-logo__sub {
    margin-top: 6px;

    color: #d9ba7c;

    font-size: 7px;
    line-height: 1;
    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* NAVIGATION */

.site-nav {
    flex: 1;

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

    gap: clamp(24px, 3vw, 50px);
}

.site-nav a {
    position: relative;

    display: flex;
    align-items: center;

    height: 90px;

    color: var(--white);

    font-size: 10px;
    line-height: 1;
    font-weight: 500;

    text-transform: uppercase;

    transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--orange);
}

.site-nav a::after {
    content: "";

    position: absolute;

    right: 100%;
    bottom: 25px;
    left: 0;

    height: 1px;

    background: var(--orange);

    transition: right .2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    right: 0;
}


/* ACTIONS HEADER */

.site-header__actions {
    flex: 0 0 230px;

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

.header-cta {
    min-height: 43px;

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

    padding: 0 24px;

    background: var(--orange);
    color: var(--white);

    font-size: 10px;
    line-height: 1;
    font-weight: 600;

    text-transform: uppercase;

    transition: background-color .2s ease;
}

.header-cta:hover {
    background: #e48a2d;
}


/* ==========================================================
   BOUTON MENU MOBILE
========================================================== */

.menu-toggle {
    position: relative;

    display: none;

    width: 45px;
    height: 45px;

    margin-left: 10px;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    position: absolute;

    left: 8px;

    width: 29px;
    height: 1px;

    background: var(--white);

    transition:
        top .25s ease,
        transform .25s ease;
}

.menu-toggle span:first-child {
    top: 18px;
}

.menu-toggle span:last-child {
    top: 27px;
}

.menu-open .menu-toggle span:first-child {
    top: 22px;

    transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
    top: 22px;

    transform: rotate(-45deg);
}


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

.mobile-menu {
    display: none;
}


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

.site-footer {
    background: var(--brown);
    color: var(--white);
}

.site-footer__main {
    padding: 70px 0;
}

.site-footer__grid {
    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        1fr
        1.3fr;

    gap: 60px;
}

.footer-logo {
    color: var(--orange);

    font-size: 23px;
    line-height: 1;
    font-weight: 500;
}

.site-footer p {
    max-width: 280px;

    margin: 10px 0 0;

    color: #cbbf9a;

    font-size: 11px;
    line-height: 1.7;
}

.footer-title {
    display: block;

    margin-bottom: 20px;

    color: var(--orange);

    font-size: 9px;
    line-height: 1;
    font-weight: 600;

    text-transform: uppercase;
}

.site-footer__grid > div > a:not(.footer-logo) {
    display: block;

    margin: 10px 0;

    font-size: 11px;
    line-height: 1.5;

    transition: color .2s ease;
}

.site-footer__grid > div > a:hover {
    color: var(--orange);
}


/* FOOTER BAS */

.site-footer__bottom {
    border-top:
        1px solid
        rgba(216, 125, 33, .2);
}

.site-footer__bottom .container {
    min-height: 65px;

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

    color: #a99d7b;

    font-size: 9px;
}

.site-footer__bottom .container > div {
    display: flex;

    gap: 25px;
}

.site-footer__bottom a {
    transition: color .2s ease;
}

.site-footer__bottom a:hover {
    color: var(--orange);
}


/* ==========================================================
   TABLETTE / NAVIGATION MOBILE
========================================================== */

@media (max-width: 1050px) {

    .container,
    .site-header__inner {
        width: calc(100% - 50px);
    }


    /* HEADER */

    .site-nav {
        display: none;
    }

    .site-logo {
        flex: 1;
    }

    .site-header__actions {
        flex: 0 0 auto;
    }

    .menu-toggle {
        display: block;
    }


    /* MENU */

    .mobile-menu {
        position: fixed;
        z-index: 999;

        top: 90px;
        right: 0;
        bottom: 0;
        left: 0;

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

        padding: 45px 25px 30px;

        background: var(--brown);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }

    .menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }

    .mobile-menu nav {
        border-top: 1px solid var(--line);
    }

    .mobile-menu nav a {
        display: flex;
        align-items: center;

        padding: 20px 0;

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

        color: var(--white);

        font-size: 25px;
        line-height: 1.2;
        font-weight: 300;
    }

    .mobile-menu nav a span {
        width: 45px;

        color: var(--orange);

        font-size: 9px;
        font-weight: 500;
    }

    .mobile-menu__cta {
        min-height: 55px;

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

        background: var(--orange);
        color: var(--white);

        font-size: 10px;
        font-weight: 600;

        text-transform: uppercase;
    }


    /* FOOTER */

    .site-footer__grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 45px;
    }

}


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

@media (max-width: 700px) {

    .container,
    .site-header__inner {
        width: calc(100% - 38px);
    }


    /* HEADER */

    .site-header__inner {
        height: 76px;
    }

    .site-logo__main {
        font-size: 20px;
    }

    .site-logo__icon {
        width: 36px;
        height: 36px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu {
        top: 76px;
    }


    /* FOOTER */

    .site-footer__main {
        padding: 55px 0;
    }

}


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

@media (max-width: 520px) {

    .site-footer__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .site-footer__bottom .container {
        min-height: auto;

        align-items: flex-start;
        flex-direction: column;
        justify-content: center;

        gap: 12px;

        padding: 20px 0;
    }

    .site-footer__bottom .container > div {
        flex-wrap: wrap;

        gap: 10px 20px;
    }

}

/* ==========================================================
   HEADER FIXE + ESPACE MEMBRE
   Version nettoyée
========================================================== */

/* Le header conserve la charte brune d'origine */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    z-index: 9990;

    width: 100%;

    background: rgba(28, 18, 13, .97);
    color: var(--white);

    border-bottom:
        1px solid
        rgba(216, 125, 33, .15);

    overflow: visible;

    transition:
        background-color .28s ease,
        box-shadow .28s ease,
        backdrop-filter .28s ease;
}


/* Le contenu ne passe pas sous le header */
body {
    padding-top: 90px;
}


/* État après scroll */
.site-header.is-scrolled {
    background: rgba(28, 18, 13, .92);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 12px 34px
        rgba(17, 9, 6, .18);
}


/* Légère animation de hauteur */
.site-header__inner {
    overflow: visible;

    transition:
        height .28s ease;
}


.site-header.is-scrolled
.site-header__inner {
    height: 78px;
}


.site-header__actions {
    overflow: visible;
}


/* ==========================================================
   LOGIN DÉCONNECTÉ
========================================================== */

.header-login {
    min-height: 43px;

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

    margin-right: 10px;
    padding: 0 16px;

    border:
        1px solid
        rgba(216, 125, 33, .35);

    color: #f2e9e3;

    font-size: 9px;
    line-height: 1;
    font-weight: 600;

    text-transform: uppercase;

    transition:
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease;
}


.header-login:hover {
    border-color: var(--orange);

    background:
        rgba(216, 125, 33, .08);

    color: var(--orange-light);
}


/* ==========================================================
   ESPACE MEMBRE — DESKTOP
========================================================== */

.header-member {
    position: relative;

    flex: 0 0 auto;
}


/* BOUTON MEMBRE */

.header-member__toggle {
    min-width: 208px;
    height: 48px;

    display: flex;
    align-items: center;

    gap: 11px;

    margin: 0;
    padding: 5px 12px 5px 5px;

    border:
        1px solid
        rgba(216, 125, 33, .28);

    border-radius: 8px;

    appearance: none;
    -webkit-appearance: none;

    background:
        rgba(255, 255, 255, .035);

    color: var(--white);

    font-family: "Montserrat", sans-serif !important;
    text-align: left;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.header-member__toggle:hover {
    transform: translateY(-1px);

    border-color:
        rgba(216, 125, 33, .7);

    background:
        rgba(255, 255, 255, .06);
}


/* AVATAR */

.header-member__avatar {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    margin: 0;

    border-radius: 50%;

    background: var(--orange);
    color: var(--brown);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    overflow: hidden;
}

.header-member__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* IDENTITÉ */

.header-member__identity {
    min-width: 0;

    display: block;
    flex: 1;

    margin: 0;

    line-height: 1.1;
}


.header-member__identity small {
    display: block;

    margin: 0 0 4px;

    color: #a99284;

    font-size: 6px;
    line-height: 1;
    font-weight: 600;

    letter-spacing: .09em;

    text-transform: uppercase;
}


.header-member__identity strong {
    display: block;

    max-width: 132px;

    margin: 0;

    overflow: hidden;

    color: #fff;

    font-size: 9px;
    line-height: 1.15;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* CHEVRON */

.header-member__chevron {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    display: grid;
    place-items: center;

    margin-left: 2px;

    border-radius: 50%;

    background:
        rgba(216, 125, 33, .09);

    color: var(--orange-light);

    font-size: 8px;
    line-height: 1;

    transition:
        transform .2s ease,
        background-color .2s ease;
}


.header-member.is-open
.header-member__chevron {
    transform: rotate(180deg);

    background:
        rgba(216, 125, 33, .18);
}


/* ==========================================================
   DROPDOWN MEMBRE
========================================================== */

.header-member__menu {
    position: absolute;

    top: calc(100% + 11px);
    right: 0;

    z-index: 99999;

    width: 260px;

    display: block;

    margin: 0;
    padding: 8px;

    visibility: hidden;
    opacity: 0;

    transform: translateY(-7px);

    border:
        1px solid
        rgba(216, 125, 33, .24);

    border-radius: 9px;

    background: #24160f;

    box-shadow:
        0 24px 60px
        rgba(10, 5, 3, .32);

    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}


.header-member.is-open
.header-member__menu {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
}


/* Petit repère visuel */

.header-member__menu::before {
    content: "";

    position: absolute;

    top: -5px;
    right: 22px;

    width: 9px;
    height: 9px;

    transform: rotate(45deg);

    border-top:
        1px solid
        rgba(216, 125, 33, .24);

    border-left:
        1px solid
        rgba(216, 125, 33, .24);

    background: #24160f;
}


/* LIENS */

.header-member__menu a {
    min-height: 46px;

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

    gap: 15px;

    margin: 0;
    padding: 0 13px;

    border: 0;
    border-radius: 5px;

    background: transparent;

    color: #e8ddd6;

    font-size: 8px;
    line-height: 1.25;
    font-weight: 600;

    letter-spacing: .025em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color .15s ease,
        color .15s ease,
        padding-left .15s ease;
}


.header-member__menu a + a {
    margin-top: 2px;
}


.header-member__menu a span {
    flex: 0 0 auto;

    color: var(--orange-light);

    font-size: 11px;
}


.header-member__menu a:hover {
    padding-left: 16px;

    background:
        rgba(255, 255, 255, .05);

    color: #fff;
}


/* Déconnexion */

.header-member__menu
.header-member__logout {
    margin-top: 7px;

    border-top:
        1px solid
        rgba(255, 255, 255, .08);

    color: #d89a81;
}


.header-member__menu
.header-member__logout:hover {
    background:
        rgba(216, 125, 33, .06);

    color: #f0b195;
}


/* ==========================================================
   ESPACE MEMBRE — MOBILE
========================================================== */

.mobile-menu__member {
    margin-top: 24px;
    padding: 16px 0;

    border-top:
        1px solid
        var(--line);

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


.mobile-menu__member span,
.mobile-menu__member strong {
    display: block;
}


.mobile-menu__member span {
    margin-bottom: 6px;

    color: #a99588;

    font-size: 8px;
    line-height: 1;
    font-weight: 500;

    text-transform: uppercase;
}


.mobile-menu__member strong {
    color: #fff;

    font-size: 13px;
    font-weight: 600;
}


.mobile-menu__login,
.mobile-menu__logout {
    min-height: 48px;

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

    margin-top: 10px;

    border:
        1px solid
        rgba(216, 125, 33, .35);

    color: var(--orange-light);

    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
}


.mobile-menu__logout {
    border-color:
        rgba(216, 125, 33, .15);

    color: #d89a81;
}


/* ==========================================================
   RESPONSIVE HEADER FIXE
========================================================== */

@media (max-width: 1050px) {

    .header-member,
    .header-login,
    .header-cta {
        display: none;
    }


    .site-header.is-scrolled
    .site-header__inner {
        height: 82px;
    }

}


@media (max-width: 700px) {

    body {
        padding-top: 76px;
    }


    .site-header.is-scrolled
    .site-header__inner {
        height: 70px;
    }


    .mobile-menu {
        top: 76px;
    }

}

.header-member__top {
    display: flex;
    align-items: stretch;
}


.header-member__menu-toggle {
    position: relative;

    width: 34px;
    min-width: 34px;
    height: 48px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(216,125,33,.28);
    border-left: 0;

    border-radius: 0 8px 8px 0;

    background: rgba(255,255,255,.035);

    cursor: pointer;
}


/* Petit chevron */

.header-member__menu-toggle span {
    width: 7px;
    height: 7px;

    display: block;

    border-right: 1.5px solid #df792a;
    border-bottom: 1.5px solid #df792a;

    transform:
        translateY(-2px)
        rotate(45deg);

    transition:
        transform .2s ease;
}


/* Menu ouvert */

.header-member.is-open
.header-member__menu-toggle span {
    transform:
        translateY(2px)
        rotate(225deg);
}
/* ==========================================================
   MODALE — REJOINDRE LE CLUB
========================================================== */

body.join-modal-open {
    overflow: hidden;
}

.join-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    padding: 28px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.join-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.join-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 12, 8, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.join-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(1120px, 100%);
    max-height: calc(100dvh - 56px);

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

    overflow: hidden;

    border: 1px solid rgba(216, 125, 33, .22);
    border-radius: 2px;

    background: #f7f3ee;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .42);

    transform: translateY(18px) scale(.985);
    transition: transform .25s ease;
}

.join-modal.is-open .join-modal__dialog {
    transform: translateY(0) scale(1);
}

.join-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 4;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(28, 18, 13, .13);
    border-radius: 50%;

    background: rgba(247, 243, 238, .9);
    cursor: pointer;

    transition:
        border-color .18s ease,
        transform .18s ease;
}

.join-modal__close:hover {
    border-color: rgba(216, 125, 33, .65);
    transform: rotate(4deg);
}

.join-modal__close span {
    position: absolute;
    width: 15px;
    height: 1px;
    background: #1c120d;
}

.join-modal__close span:first-child {
    transform: rotate(45deg);
}

.join-modal__close span:last-child {
    transform: rotate(-45deg);
}

.join-modal__aside {
    position: relative;

    min-height: 100%;
    padding: 44px 34px 38px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        radial-gradient(circle at 25% 12%, rgba(216, 125, 33, .22), transparent 34%),
        linear-gradient(155deg, #2b1b14 0%, #1b110c 72%);
    color: #fff;
}

.join-modal__aside::after {
    content: "";
    position: absolute;
    right: -78px;
    bottom: -72px;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(216, 125, 33, .28);
    border-radius: 50%;
}

.join-modal__mark,
.join-modal__success-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange);
    color: #fff;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.join-modal__aside p {
    margin: 18px 0 0;

    color: #f5ede8;

    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.join-modal__aside strong {
    margin-top: auto;
    max-width: 155px;

    color: #f5ede8;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 300;
}

.join-modal__content {
    min-width: 0;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;

    padding: 48px 62px 44px;
}

.join-modal__eyebrow {
    margin-bottom: 12px;

    color: var(--orange);

    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.join-modal__content h2 {
    margin: 0;

    color: var(--brown);

    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.04;
    font-weight: 300;
    letter-spacing: -.045em;
}

.join-modal__content h2 em {
    color: var(--orange);
    font-weight: 300;
}

.join-modal__intro {
    max-width: 600px;
    margin: 17px 0 28px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}

.join-form {
    position: relative;
}

.join-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.join-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.join-field {
    display: block;
    margin-bottom: 14px;
}

.join-field > span {
    display: block;
    margin-bottom: 7px;

    color: #4a403a;

    font-size: 8px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.join-field > span b {
    color: var(--orange);
    font-weight: 600;
}

.join-field input,
.join-field textarea {
    width: 100%;

    border: 1px solid rgba(28, 18, 13, .14);
    border-radius: 0;
    outline: 0;

    background: rgba(255, 255, 255, .52);
    color: var(--brown);

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

    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

.join-field input {
    height: 48px;
    padding: 0 14px;
}

.join-field textarea {
    min-height: 102px;
    padding: 13px 14px;
    resize: vertical;
    line-height: 1.55;
}

.join-field input::placeholder,
.join-field textarea::placeholder {
    color: #a49a94;
}

.join-field input:focus,
.join-field textarea:focus {
    border-color: rgba(216, 125, 33, .72);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(216, 125, 33, .07);
}

.join-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-top: 5px;
}

.join-form__footer p {
    max-width: 390px;
    margin: 0;

    color: #8b817b;

    font-size: 8px;
    line-height: 1.55;
}

.join-form__submit {
    min-width: 205px;
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    padding: 0 18px 0 20px;

    border: 0;
    border-radius: 0;

    background: var(--orange);
    color: #fff;

    cursor: pointer;

    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;

    transition:
        background-color .18s ease,
        transform .18s ease,
        opacity .18s ease;
}

.join-form__submit:hover {
    background: #e48a2d;
    transform: translateY(-1px);
}

.join-form__submit:disabled {
    opacity: .62;
    cursor: wait;
    transform: none;
}

.join-form__submit i {
    font-size: 16px;
    line-height: 1;
    font-style: normal;
    font-weight: 300;
}

.join-form__error {
    margin: 15px 0 0;
    padding: 10px 12px;

    border: 1px solid rgba(174, 62, 43, .22);

    background: rgba(174, 62, 43, .06);
    color: #9a3526;

    font-size: 10px;
    line-height: 1.5;
}

.join-modal__success {
    min-height: 510px;

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

.join-modal__success[hidden] {
    display: none;
}

.join-modal__success-mark {
    margin-bottom: 28px;
}

.join-modal__success > p:not(.join-modal__eyebrow) {
    max-width: 550px;
    margin: 22px 0 30px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 850px) {

    .join-modal {
        padding: 14px;
        place-items: end center;
    }

    .join-modal__dialog {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: calc(100dvh - 28px);
    }

    .join-modal__aside {
        display: none;
    }

    .join-modal__content {
        max-height: calc(100dvh - 28px);
        padding: 38px 26px 30px;
    }

    .join-modal__close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }

}

@media (max-width: 560px) {

    .join-modal {
        padding: 0;
    }

    .join-modal__dialog,
    .join-modal__content {
        max-height: 100dvh;
    }

    .join-modal__dialog {
        height: 100dvh;
    }

    .join-modal__content {
        padding: 66px 20px 26px;
    }

    .join-modal__content h2 {
        font-size: 34px;
    }

    .join-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .join-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .join-form__submit {
        width: 100%;
    }

    .join-modal__success {
        min-height: calc(100dvh - 92px);
    }

}


/* Consentement explicite — formulaires publics */
.form-consent {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 2px 0 18px;
    color: #716761;
    font-size: 9px;
    line-height: 1.55;
    cursor: pointer;
}
.form-consent input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--orange);
}
.form-consent b {
    color: var(--orange);
}
.contact-modal__aside {
    background:
        radial-gradient(circle at 22% 14%, rgba(216, 125, 33, .30), transparent 34%),
        linear-gradient(155deg, #342016 0%, #1b110c 74%);
}


/* ==========================================================
   CENTRE DE NOTIFICATIONS GLOBAL
========================================================== */
.header-notifications {
    position: relative;
    flex: 0 0 auto;
}

.header-notifications__toggle {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 10px 0 0;
    padding: 0;
    border: 1px solid rgba(216, 125, 33, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.header-notifications__toggle:hover,
.header-notifications.is-open .header-notifications__toggle {
    transform: translateY(-1px);
    border-color: rgba(216, 125, 33, .75);
    background: rgba(216, 125, 33, .10);
}

.header-notifications__bell,
.header-notifications__bell svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header-notifications__bell svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-notifications__badge {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #24160f;
    border-radius: 999px;
    background: var(--orange);
    color: #24160f;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}

.header-notifications__badge.is-visible {
    display: flex;
}

.header-notifications__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 100000;
    width: min(420px, calc(100vw - 28px));
    max-height: min(620px, calc(100vh - 110px));
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    overflow: hidden;
    border: 1px solid rgba(216,125,33,.25);
    border-radius: 18px;
    background: #fffdfb;
    color: #25150f;
    box-shadow: 0 28px 70px rgba(29,16,10,.28);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.header-notifications.is-open .header-notifications__panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.header-notifications__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid #eadfd8;
}

.header-notifications__head small {
    display: block;
    margin-bottom: 5px;
    color: #d86f20;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.header-notifications__head strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.header-notifications__head > span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f6eee8;
    color: #806d62;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

.header-notifications__list {
    min-height: 110px;
    overflow-y: auto;
}

.header-notification {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee3dc;
    background: #fffdfb;
    transition: background-color .15s ease;
}

.header-notification:hover { background: #fbf5f1; }

.header-notification__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f6e5d7;
    color: #d86f20;
    font-size: 14px;
    font-weight: 700;
}

.header-notification__content strong {
    display: block;
    margin: 1px 0 5px;
    color: #28160f;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 650;
}

.header-notification__content p {
    margin: 0;
    color: #806f65;
    font-size: 10px;
    line-height: 1.55;
}

.header-notification__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.header-notification__actions button {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid #df792a;
    border-radius: 999px;
    background: #df792a;
    color: #24160f;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.header-notification__actions button.is-secondary {
    border-color: #decfc5;
    background: #fff;
    color: #6d5c52;
}

.header-notifications__empty {
    padding: 34px 22px;
    text-align: center;
    color: #7d6b61;
}

.header-notifications__empty > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #e9f0e9;
    color: #64806b;
}

.header-notifications__empty strong {
    display: block;
    color: #2a1a14;
    font-size: 13px;
    font-weight: 600;
}

.header-notifications__empty p {
    margin: 5px 0 0;
    font-size: 10px;
}

.header-notifications__footer {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-top: 1px solid #eadfd8;
    color: #5c4a40;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.header-notifications__footer span { color: #df792a; font-size: 15px; }

@media (max-width: 1050px) {
    .header-notifications__toggle {
        width: 42px;
        height: 42px;
        margin-right: 10px;
    }
    .header-notifications__panel {
        position: fixed;
        top: 82px;
        right: 14px;
        width: min(420px, calc(100vw - 28px));
        max-height: calc(100vh - 100px);
    }
}

@media (max-width: 700px) {
    .header-notifications__toggle {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    .header-notifications__panel {
        top: 70px;
        right: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 84px);
        border-radius: 15px;
    }
    .header-notifications__head { padding: 18px 17px 15px; }
    .header-notification { padding: 16px 17px; }
}

/* ==========================================================
   RECOMMANDATIONS — DOUBLE ENTRÉE
========================================================== */

.site-nav__dropdown {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
}

.site-nav__dropdown-trigger {
    height: 90px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}

.site-nav__dropdown-trigger span {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    transition: transform .2s ease;
}

.site-nav__dropdown:hover .site-nav__dropdown-trigger,
.site-nav__dropdown:focus-within .site-nav__dropdown-trigger,
.site-nav__dropdown.is-active .site-nav__dropdown-trigger {
    color: var(--orange);
}

.site-nav__dropdown:hover .site-nav__dropdown-trigger span,
.site-nav__dropdown:focus-within .site-nav__dropdown-trigger span {
    transform: rotate(180deg);
}

.site-nav__dropdown-menu {
    position: absolute;
    z-index: 1200;
    top: 72px;
    left: 50%;
    width: 330px;
    padding: 10px;
    border: 1px solid rgba(231,123,35,.22);
    border-radius: 16px;
    background: #fffdfb;
    box-shadow: 0 20px 55px rgba(35,18,12,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%,8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.site-nav__dropdown:hover .site-nav__dropdown-menu,
.site-nav__dropdown:focus-within .site-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%,0);
}

.site-nav__dropdown-menu a {
    display: block;
    height: auto;
    padding: 13px 14px;
    border-radius: 11px;
    color: #2a1711;
    text-transform: none;
}

.site-nav__dropdown-menu a::after {
    display: none;
}

.site-nav__dropdown-menu a:hover {
    background: #f8efe8;
    color: #2a1711;
}

.site-nav__dropdown-menu strong,
.site-nav__dropdown-menu small {
    display: block;
}

.site-nav__dropdown-menu strong {
    margin-bottom: 4px;
    font-size: 13px;
}

.site-nav__dropdown-menu small {
    color: #8b7468;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 1050px) {
    .mobile-menu__recommendations {
        border: 0;
    }

    .mobile-menu__recommendations summary {
        display: flex;
        align-items: center;
        gap: 18px;
        cursor: pointer;
        list-style: none;
    }

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

    .mobile-menu__recommendations summary i {
        margin-left: auto;
        font-style: normal;
        transition: transform .2s ease;
    }

    .mobile-menu__recommendations[open] summary i {
        transform: rotate(180deg);
    }

    .mobile-menu__recommendations-links {
        display: grid;
        gap: 4px;
        padding: 10px 0 4px 48px;
    }

    .mobile-menu__recommendations-links a {
        display: block;
        padding: 10px 0;
        font-size: 12px;
        opacity: .82;
    }
}

/* ==========================================================
   NAVIGATION MOBILE TYPE APPLICATION
========================================================== */
.mobile-app-nav,
.mobile-reco-sheet,
.mobile-reco-backdrop { display: none; }

@media (max-width: 700px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .menu-toggle, .mobile-menu { display: none !important; }

    .mobile-app-nav {
        position: fixed;
        z-index: 1200;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 68px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
        border: 1px solid rgba(255,255,255,.10);
        border-bottom: 0;
        border-radius: 18px 18px 0 0;
        background: rgba(54, 43, 37, .96);
        box-shadow: 0 10px 35px rgba(25,18,14,.24);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        transform: translateY(0);
        transition: transform .42s cubic-bezier(.22,.61,.36,1);
        will-change: transform;
    }
    .mobile-app-nav.is-hidden {
        /* La barre ne disparaît plus : elle coulisse physiquement sous l'écran. */
        transform: translateY(100%);
        pointer-events: none;
    }
    .mobile-app-nav__item {
        position: relative;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 4px 1px;
        border: 0;
        background: transparent;
        color: rgba(255,255,255,.66);
        font: inherit;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-app-nav__item svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-app-nav__item span {
        overflow: hidden;
        width: 100%;
        font-size: 8px;
        line-height: 1.1;
        font-weight: 600;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mobile-app-nav__item.is-active { color: var(--orange); }
    .mobile-app-nav__item.is-active::before {
        content: '';
        position: absolute;
        top: 0;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--orange);
    }

    .mobile-reco-backdrop {
        position: fixed;
        z-index: 1205;
        inset: 0;
        display: block;
        background: rgba(24,18,15,.38);
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s ease, visibility .28s ease;
    }
    .mobile-reco-backdrop.is-open { opacity: 1; visibility: visible; }

    .mobile-reco-sheet {
        position: fixed;
        z-index: 1210;
        left: 10px;
        right: 10px;
        bottom: max(8px, env(safe-area-inset-bottom));
        display: block;
        padding: 8px 16px 18px;
        border-radius: 22px;
        background: var(--brown);
        box-shadow: 0 18px 50px rgba(20,14,11,.35);
        transform: translateY(calc(100% + 30px));
        opacity: 0;
        visibility: hidden;
        transition: transform .36s cubic-bezier(.22,.61,.36,1), opacity .25s ease, visibility .36s ease;
    }
    .mobile-reco-sheet.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .mobile-reco-sheet__handle { width: 38px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: rgba(255,255,255,.22); }
    .mobile-reco-sheet__head { display:flex; align-items:center; justify-content:space-between; padding: 2px 2px 13px; }
    .mobile-reco-sheet__head div { display:flex; flex-direction:column; gap:2px; color:#fff; }
    .mobile-reco-sheet__head small { color:var(--orange); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
    .mobile-reco-sheet__head strong { font-size:20px; font-weight:500; }
    .mobile-reco-sheet__head button { width:36px; height:36px; border:0; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font-size:24px; line-height:1; }
    .mobile-reco-sheet > a { position:relative; display:flex; flex-direction:column; gap:4px; padding:15px 42px 15px 2px; border-top:1px solid rgba(255,255,255,.12); color:#fff; }
    .mobile-reco-sheet > a strong { font-size:13px; font-weight:600; }
    .mobile-reco-sheet > a span { color:rgba(255,255,255,.58); font-size:10px; line-height:1.4; }
    .mobile-reco-sheet > a i { position:absolute; right:5px; top:50%; color:var(--orange); font-style:normal; font-size:20px; transform:translateY(-50%); }
}
