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

@media screen and (max-width: 700px) {


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

    .header-logo {
        top: 18px;
        left: 0;

        width: 100%;

        text-align: center;
    }

    .header-logo img {
        width: 190px;

        margin: 0 auto;
    }


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

    .menu {
        top: 125px;
        right: 0;

        width: 100%;

        text-align: center;
    }

    .menu ul {
        flex-direction: column;

        align-items: center;

        gap: 5px;
    }

    .menu a {
        padding: 6px 0;

        font-size: 16px;
    }


    /* =====================================================
       ACCUEIL
    ===================================================== */

    .hero {
        height: 100vh;

        min-height: 600px;

        background-position: center center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.42);
    }

    .hero-content {
        width: 100%;

        box-sizing: border-box;

        padding: 20px;
    }

    .hero-content h1 {
        font-size: 38px;

        letter-spacing: 1px;
    }

    .hero-line {
        gap: 12px;

        margin-top: 18px;
    }

    .hero-line::before,
    .hero-line::after {
        width: 45px;
    }

    .hero-line span {
        font-size: 14px;

        letter-spacing: 5px;

        margin-left: 5px;
    }

    .hero-content p {
        margin-top: 22px;

        font-size: 18px;

        line-height: 1.5;
    }


    /* =====================================================
       PAGE LOGEMENTS
    ===================================================== */

    .page-logements {
        width: 100%;

        padding: 210px 15px 40px;

        box-sizing: border-box;
    }


    /* =====================================================
       MENU PAGE LOGEMENTS
    ===================================================== */

    body:has(.page-logements) .menu a {
        color: #333;
    }


    /* =====================================================
       LOCALISATION + INFORMATIONS
    ===================================================== */

    .contact-panels {
        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 55px;
    }

    .contact-panel {
        padding: 20px;

        border-radius: 8px;
    }

    .contact-panel h2 {
        font-size: 25px;

        margin-bottom: 20px;
    }

    .contact-panel h3 {
        font-size: 22px;
    }

    .contact-panel p,
    .contact-panel li {
        font-size: 16px;

        line-height: 1.6;
    }

    .map-container {
        height: 280px;
    }


    /* =====================================================
       TITRE NOS LOGEMENTS
    ===================================================== */

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h1 {
        font-size: 34px;
    }

    .section-title p {
        font-size: 16px;

        line-height: 1.5;
    }


    /* =====================================================
       LOGEMENTS
    ===================================================== */
.logement {
    display: block;

    margin-bottom: 65px;
}

.logement-info {
    text-align: center;

    margin-bottom: 20px;
}

.logement-info h2 {
    font-size: 29px;
}

.logement-info p {
    font-size: 15px;
}

.logement-info ul {
    display: block;

    text-align: center;

    padding-left: 0;

    list-style: none;

    margin-top: 12px;
}

.logement-info li {
    margin-bottom: 5px;
}
    /* =====================================================
       GRANDE PHOTO
    ===================================================== */

    .main-photo {
        aspect-ratio: 3 / 2;

        border-radius: 8px;
    }


    /* =====================================================
       FLECHES GRANDE PHOTO
    ===================================================== */

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;

        font-size: 28px;

        line-height: 37px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }


    /* =====================================================
       PLEIN ECRAN
    ===================================================== */

    .gallery-fullscreen {
        right: 10px;
        bottom: 10px;

        width: 38px;
        height: 38px;

        font-size: 19px;
    }


    /* =====================================================
       COMPTEUR
    ===================================================== */

    .photo-counter {
        left: 10px;
        bottom: 10px;

        padding: 6px 10px;

        font-size: 13px;
    }


    /* =====================================================
       MINIATURES
    ===================================================== */

    .thumbnails-wrapper {
        margin-top: 10px;
    }

    .thumbnail-arrow {
        flex: 0 0 30px;

        width: 30px;
        height: 60px;

        font-size: 21px;

        line-height: 55px;
    }

    .thumbnails {
        gap: 6px;

        margin: 0 6px;
    }

    .thumbnails img {
        flex: 0 0 85px;

        width: 85px;
        height: 57px;

        border-radius: 7px;
    }

}