.container_nos_services_hp{
    display: flex;
    gap: 25px;
}

.nos_services_single{
    background-color: white;
    width: 30%;
}

.container_top_nos_services{
    position: relative;
}

.nos_services_title_single{
    position: absolute;
    bottom: 20px;
    left: 35px;
    font-size: 1.4rem;
    color: white;
    font-weight: 800;
    width: 50%;
}

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

.container_content_nos_services{
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nos_services_texte{
    line-height: 1.5;
    font-size: 1.1rem;
    flex: 1;
}

.nos_services_single_container {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.container_single_reference{
    width: calc(50% - 25px);
}

.container_nos_references_hp{
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.references_container_text {
    text-align: center;
    margin-top: 25px;
}

.titre_reference_hp {
    font-weight: 700;
    font-size: 1.4rem;
    font-family: 'Montserrat';
    margin-bottom: 5px;
    line-height: 1.2;
}

.sous_titre_reference_hp {
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Modale */

.modale.references_modal {
    position: fixed;
    background-color: rgba(0,0,0,0.7);
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: 5;
    left: 0;
    display: none;  
    z-index: 999999; 
}

.references_modal .close {
    color: white;
}

.references_modale_slides {
    max-width: 600px;
    margin: auto;
}

.references_modale_slides img {
    width: 100%;
    height: 100%;
}

.cross {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 0px;
    cursor: pointer;
    right: 40px;
    top: -15px;
    
}

.cross span {
    position: absolute;
    top: 50px;
    right: 4-50px;
    width: 30px;
    height: 2px;
    background-color: white;
}

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

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

.modal_open {
    overflow-y: hidden;
}


/* Swiper */

.container_img{
    aspect-ratio: 4 / 3;
    align-items: center;
    display: flex;
}

.container_img img {
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-references-next, .swiper-references-prev {
    width: 25px;
    height: 25px;
    background-color: var(--color_grey3);
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
    z-index: 99;
    cursor: pointer;
    display: none;
}

.swiper-references-next {
    -webkit-mask: url('/wp-content/uploads/2023/05/arrow.svg') no-repeat;
    mask: url('/wp-content/uploads/2023/05/arrow.svg') no-repeat;
    right: 18px;
}

.swiper-references-prev {
    -webkit-mask: url('/wp-content/uploads/2023/05/arrow.svg') no-repeat;
    mask: url('/wp-content/uploads/2023/05/arrow.svg') no-repeat;
    left: 18px;
    transform: rotate(180deg);
    top: 46%;
}

.container_slider_logos{
    position: relative;
}

.swiper-wrapper.disabled {
    transform: translate3d(0px, 0, 0) !important;
}
.swiper-pagination.disabled {
    display: none;
}

.loupe-references-hp {
    -webkit-mask: url('/wp-content/uploads/2023/05/loupe.svg') no-repeat;
    mask: url('/wp-content/uploads/2023/05/loupe.svg') no-repeat;
    right: 1vw;
    width: 30px;
    height: 30px;
    background-color: var(--color_grey3);
    position: absolute;
    transform: translate(0px, -50%);
    z-index: 99;
    cursor: pointer;
    bottom: 0%;
    display: none;
}

.mySwiperReferences::before{
    content: "";
    opacity: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(26,26,26,1) 0%, rgba(255,255,255,0) 30%);
    position: absolute;
    left: 0;
    z-index: 5;
    transition: 0.4s;
}

.mySwiperReferences::after{
    content: "";
    opacity: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(280deg, rgba(26,26,26,1) 0%, rgba(255,255,255,0) 30%);
    position: absolute;
    right: 0;
    top:0;
    z-index: 5;
    transition: 0.4s;
}

.mySwiperReferences:hover .swiper-references-next,
.mySwiperReferences:hover .swiper-references-prev,
.mySwiperReferences:hover .loupe-references-hp,
.mySwiperReferences:hover::before,
.mySwiperReferences:hover::after {
    display: block;
    opacity: 1 !important;
}

.swiper-references-next[aria-disabled="true"], .swiper-references-prev[aria-disabled="true"] {
    display: none !important;
}

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

@media screen and (max-width: 768px) {
    .container_single_reference {
        width: 75%;
        margin: auto;
    }

    .container_nos_references_hp{
        flex-direction: column;
    }

    .loupe-references-hp {
        right: 22px;
    }
}  
 

@media screen and (max-width: 492px) {
    .container_single_reference {
        width: 100%;
    }

    .container_single_reference {
        width: 100%;
    }
}   