.banner-realisations {
    width: 100%;
    height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: bottom;
}

.banner-realisations span {
    font-size: 14px;
}

.carousel-item {
    height: 400px;
}

.carousel-item img {
    max-height: 100%;
    object-fit: contain;
}

.btn-primary {
    display: none;
}

.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23FFFFFF" viewBox="0 0 8 8"><path d="M4.75 0L0 4l4.75 4V6.75L1.5 4 4.75 1.25z"/></svg>');
}

.carousel-control-next-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23FFFFFF" viewBox="0 0 8 8"><path d="M3.25 0L8 4 3.25 8V6.75L6.5 4 3.25 1.25z"/></svg>');
}

.input-text {
    width: 50%;
    height: 40px;
    padding: 20px 18px;
    font-size: 15px;
    font-weight: 100;
    border: none;
}

.envoyer-btn {
    width: auto;
    border: none;
    text-align: center;
    padding: 10px 30px;
    font-size: 14px;
    color: #000;
    margin-left: 10px;
    background-color: #fff;
}

.modal-header {
    border-bottom: none !important;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: transparent !important;
    border: none;
    outline: 0;
}

/* X button */

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 9999;
    font-size: 34px;
    line-height: 1;
    color: #000;
    opacity: 1;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.7);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hover */
.modal-close-btn:hover {
    opacity: 0.85;
}

.modal-close-btn span {
    font-size: 25px;
}

/* .carousel-item img {
    width: 1000px;
} */

.col-lg-1 col-md-1 {
    flex: 0 0 10.333333%;
    max-width: 12.333333% !important;

}

p.text-center.para-show {
    width: 53%;
}

#showroom-image {
    padding-top: 3%;
}

.modal {
    top: 15%;
}

@media (max-width: 760px) {
    p.text-center.para-show {
        width: 100%;
    }

    .link {
        font-size: 12px;
    }

    .modal-open .modal {
        padding-top: 0px;
    }

    .modal {
        top: 25%;
    }
}


@media(min-width: 576px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto;
    }
}

/* =========================
   SWIPER MODAL : images centrées + même taille
   ========================= */

.swiper-center-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    /* centre dans la fenêtre */
    padding: 20px 0;
}

.swiper-container {
    width: 100%;
    max-width: 1000px;
    /* comme ton modal */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ✅ même taille pour toutes les images */
.swiper-slide img {
    width: 100%;
    height: 520px;
    /* ajuste si tu veux : 450 / 500 / 600 */
    object-fit: contain;
    /* même taille + coupe un peu si besoin */
    object-position: center;
    border-radius: 10px;
}

/* Navigation plus visible si besoin */
.swiper-button-next:after,
.swiper-button-prev:after {
    color: #000;
    font-weight: 900;
}

/* ✅ Mobile */
@media (max-width: 760px) {
    .swiper-center-page {
        min-height: auto;
        padding: 10px 0;
    }

    .swiper-slide img {
        height: 320px;
        border-radius: 8px;
    }

    .modal {
        top: 0 !important;
    }

    .modal-dialog {
        margin: 0 auto !important;
        height: 100vh;
        display: flex;
        align-items: center;
        /* ✅ centre verticalement */
        justify-content: center;
        /* ✅ centre horizontalement */
    }

    .modal-content {
        width: 95vw;
        /* largeur adaptée mobile */
        max-width: 95vw;
    }

    /* Centre le swiper dans le modal */
    .swiper-center-page {
        min-height: auto !important;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 0;
    }

    .swiper-container {
        width: 100%;
    }

    /* Image taille stable sur mobile */
    .swiper-slide img {
        width: 100%;
        height: 55vh;
        /* ajuste si tu veux */
        object-fit: cover;
        /* même taille */
        object-position: center;
    }
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 999999;
    /* plus haut */
    pointer-events: auto;
    /* cliquable */
    cursor: pointer;
}

.modal-close-btn * {
    pointer-events: none;
    /* évite que le span bloque */
}

.modal-close-btn,
.modal-close-btn .close-icon {
    font-family: Arial, sans-serif !important;
    /* ou inherit */
}