

/*****/
/*****Partie des services *****/

/*****Partie des services *****/

/* custom services */


/*****/
/*****Partie des services *****/

/*****Partie des services *****/

/* custom services */

/**/

.services-home {
    position: relative;
    padding: 4em 10% 8em;
    background: var(--bg-facultatif);
    opacity: 1;
    transition: background 0.3s ease 0s, border-radius 0.3s ease 0s, opacity 0.3s ease 0s;
    /*! margin-bottom: 4em; */
}

.serviceblocNK {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-home::before {
    content: "";
    position: absolute;
    /* top: 0px; */
    /* left: 0px; */
    /* width: 100%; */
    /* height: 50%; */
}

.services-home .h1 {
    color: var(--color2);
    text-align: left;
}

.services-home .h1::before {
    /*! background-color: var(--color1); */
    /*! left: 15%; */
}

.title-serv .titre-secondaire {
  text-align: left;
}
.one-service {
    height: 50vh;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: var(--border-radius);
}



.one-service::after {
    content: "";
    /* position: absolute; */
    /* inset: -50%; */
    /* width: 900px; */
    /* background: linear-gradient(rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.7) 50%, rgba(229, 172, 142, 0)); */
    /* transform: rotateZ(60deg) translate(-5em, 50em); */
}

.one-service:hover::after {
    /* animation: 0.3s ease-in 0s 1 normal forwards running shine; */
}

@keyframes shine {
    100% {
        transform: rotateZ(60deg) translate(1em, -60em);
    }
}

.lien_image {
    height: 100%;
    width: 100%;
    position: relative;
    display: block;
}

.titre-service-premier {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 100%;
    padding: 24px 16px;
    transition: all 0.4s ease 0s;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.738) 19%, rgba(0, 0, 0, 0.541) 34%, rgba(0, 0, 0, 0.382) 47%, rgba(0, 0, 0, 0.278) 56.5%, rgba(0, 0, 0, 0.194) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%);
}

.one-service.item:hover .titre-service-premier {
    background: rgba(0, 0, 0, 0.38);
    transition: all .4s ease;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.738) 19%, rgba(0, 0, 0, 0.541) 34%, rgba(0, 0, 0, 0.382) 47%, rgba(0, 0, 0, 0.278) 56.5%, rgba(0, 0, 0, 0.194) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%);
}

.titre-service-premier h2 {
    color: var(--color0);
    font-size: 24px;
    line-height: 30px;
    font-family: var(--font_family_1);
    margin-top: 7px;
    /* margin-bottom: 5px; */
    position: relative;
    /* margin-left: 10px; */
}

/* .titre-service-premier span::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: var(--color0);
    opacity: 0.8;
    transition: all 0.4s ease 0s;
    transform: scaleX(0);
    transform-origin: left bottom;
} */

.titre-service-premier span {
    position: relative;
    font-size: 14px;
    color: var(--color0);
    font-family: var(--font_family_3);
    /* margin-left: 10px; */
    transition: all .4s ease;
}

.titre-service-premier span:hover {
    /* background: var(--color5); */
    color: #fff;
}

/* .one-service.item:hover .titre-service-premier span::after {
    transform: scaleX(1);
    transform-origin: right bottom;
} */

.lien_image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1);
    transition: all .5s ease;
}

.one-service:hover .lien_image img {
    transform: scale(1.05);
    transition: all 500ms ease;
}

.engegements-content {
    overflow: hidden;
}

.swiper-button-next-serv, .swiper-button-prev-serv {
    border-radius: var(--border-radius);
    background: transparent;
    margin: 0px 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 40px;
    height: 40px;
    background: var(--color1);
    font-size: 13px;
    transition: all 0.3s linear 0s;
    color: var(--color2);
}

.swiper-button-next-serv:hover, .swiper-button-prev-serv:hover {
    background: var(--color3);
    color: var(--color0);
    border: none;
}

.swiper-buttons {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-buttons {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-service {
    display: flex;
    align-items: center;
    justify-content: center;
}


/***/
/*****/
/*****End Partie des services *****/
/*****/
/*****End Partie des services *****/



/*****/
/*****End Partie des services *****/
/*****/
/*****End Partie des services *****/

