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

.mobile-menu {
    position: fixed;

    inset: 0;

    width: 100vw;
    min-height: 100dvh;

    z-index: 9999;

    overflow-y: auto;

    padding:
        22px
        22px
        40px;

    background: #ffffff;
}


.mobile-menu[hidden] {
    display: none;
}


/* ========================================
HAUT DU MENU
======================================== */

.mobile-menu-top {
    min-height: 70px;

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

    gap: 20px;
}


.mobile-menu-brand {
    color: var(--black);

    font-family: "Kalam", cursive;

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

    line-height: 1;

    letter-spacing: -0.7px;

    text-decoration: none;
}


.mobile-menu-close {
    border: 0;

    padding: 0;

    background: transparent;

    color: var(--coral);

    font-size: 42px;

    line-height: 1;

    cursor: pointer;
}


/* ========================================
NAVIGATION
======================================== */

.mobile-menu-nav {
    margin-top: 45px;
}


.mobile-menu-nav a {
    min-height: 72px;

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

    gap: 10px;

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

    color: var(--black);

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

    text-decoration: none;
}


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


.mobile-menu-nav a span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--coral);
}


.mobile-menu-nav a span:last-child .site-arrow {
    width: 27px;
    height: auto;

    display: block;
}


/* ========================================
SOUTIEN
======================================== */

.mobile-menu-donation {
    min-height: 68px;

    margin-top: 30px;

    padding:
        0
        18px;

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

    background: var(--coral);

    color: #ffffff;

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

    text-decoration: none;
}


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

    display: block;
}


/* ========================================
BODY
======================================== */

body.menu-open {
    overflow: hidden;
}


/* ========================================
ORDINATEUR
======================================== */

@media (min-width: 1180px) {

    .mobile-menu {
        display: none !important;
    }

    body.menu-open {
        overflow: auto;
    }
}


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

@media (max-width: 760px) {

    .mobile-menu {
        padding:
            20px
            18px
            35px;
    }

    .mobile-menu-top {
        min-height: 62px;
    }

    .mobile-menu-brand {
        max-width: 220px;

        font-size: 24px;
    }

    .mobile-menu-nav {
        margin-top: 32px;
    }

    .mobile-menu-nav a {
        min-height: 64px;

        font-size: 20px;
    }

    .mobile-menu-donation {
        min-height: 62px;

        margin-top: 24px;

        font-size: 18px;
    }

    .mobile-menu-nav a span:last-child .site-arrow,
    .mobile-menu-donation .site-arrow {
        width: 24px;
    }
}