

/*****/
/*****Partie des services *****/

/*****Partie des services *****/

/* custom services */
.base-container {
    flex-direction: column;
    flex: 1;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    overflow: hidden;
}

.nosServicesBg .section-line {
    width: 4px;
    height: 100px;
    background-color: var(--color1);
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    margin-top: 140px;
    margin-left: 120px
}

.services-block-wrap {
    width: 100%;
    /* grid-column-gap: 70px; */
    display: flex;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.description-services {
    width: 100%;
}

.description-services .h1,
.description-services span.titre-secondaire {
    text-align: center;
    width: 100%;
}

.description-services:before {
    width: 30px;
    height: 40px;
    background-color: var(--color1);
    position: absolute;
    left: 0px
}

.description-services .paragraph-with-margin {
    margin: 15px 0 25px;
    font-size: 18px
}

.description-services .secondary-button.black-text.w-button {
    color: var(--color1);
    letter-spacing: .5px;
    background-color: var(--color0);
    border: 1px solid var(--color1);
    padding: 10px 20px;
    font-family: var(--font_family_1);
    font-weight: 400;
    line-height: 1.5em;
    transition: all .3s ease;
    text-decoration: none;
}

.description-services .secondary-button.black-text.w-button:hover {
    background: var(--color1);
    color: var(--color0);
    text-decoration: none
}

.card-wrapper {
    flex-direction: row;
    width: 100%;
    position: relative
}

.card-wrapper .services-list {
    overflow: hidden;
    padding-bottom: 10%;
}

.service-content {
    grid-column-gap: 30px;
    display: flex;
    width: 100%;
    position: relative;
    flex-direction: column;
    border-radius: var(--border-radius);
}

.service-image {
    width: 100%;
    height: 50vh;
    max-width: 100%;
    flex: none;
    overflow: hidden;
    background: var(--color3);
    align-items: center;
    border-radius: var(--border-radius);
}

.service-image img {
    height: 100%;
    transition: all .5s ease;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.service-image:hover img {
    transform: scale(1.2) rotate(0deg);
}

.service-content:hover .service-image img {
    height: 100%
}

a.link-cms {
    color: var(--color2);
    font-family: var(--font_family_6);
    font-size: calc( var(--taille_font) * 1.325);
    color: var(--color6) !important;
    text-decoration: none !important;
    transition: all .3s ease;
    text-align: center;
    line-height: calc( var(--taille_font) * 1.5);
    width: 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 0 2px;
    background-position: 100% 100%, 0 100%;
    transition: background-size 0.4s linear;
    /* background-image: linear-gradient(#0e3631, #0e3631), linear-gradient(#0e3631, #0e3631); */
    text-transform: uppercase;
}

p.paragraph-with-margin {
    margin-top: 20px;
    margin-bottom: 50px;
    overflow: hidden;
    height: 112px;
    line-height: 1.4;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical
}

.service-description {
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px;
    display: flex;
    width: 75%;
    text-align: center;
    gap: 4px;
    background: #ffffff;
    min-height: 140px;
    position: absolute;
    box-shadow: 5px 5px 40px #00000014;
    left: 50%;
    transform: translate(-50%);
    bottom: -45px;
    border-radius: 1px;
    border-radius: var(--border-radius);
}

.service-description span.num {
    position: absolute;
    top: -15px;
    height: 30px;
    width: 30px;
    background: var(--color4);
    color: var(--color0);
    font-family: var(--font_family_3);
    display: flex;
    align-items: center;
    left: 50px;
    justify-content: center;
    font-size: 12px;
    transition: all .3s linear;
}

.service-description span.num:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 15px;
    background: #9f7346;
    bottom: 15px;
    left: -4px;
    transform: skew(-23deg);
    z-index: -1;
    transition: all .3s linear;
}

.service-description:hover span.num:before {
    background: var(--color1);
}

.service-description:hover span.num {
    background: var(--color3);
}

.service-description div {
    width: 100%;
}

.service-description div:hover a {
    background-size: 0% 2px, 100% 2px;
}

box-shadow: 10px 10px 50px #00000012;
}

.service-description .link-with-line {
    position: relative
}

.link-collection {
    color: var(--color0);
    text-transform: uppercase;
    text-decoration: none !important;
    margin-bottom: 10px;
    font-family: var(--font_family_1);
    font-size: 16px;
    display: inline-block;
    transition: all .3s ease
}

a.link-collection {
    color: var(--color1) !important;
    text-transform: initial;
    letter-spacing: 1px;
    font-family: var(--font_family_1);
    background: transparent;
    padding: 0;
    font-weight: 600;
    font-size: var(--taille_font);
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a.link-collection:hover {
    opacity: .7;
    color: var(--color1);
}

.service-content:hover .service-description .link-with-line .red-line {
    width: 100%
}

.swiper-button-next-serv,
.swiper-button-prev-serv {
    border-radius: 0;
    background: var(--color3);
    margin: 0px 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 40px;
    height: 40px;
    font-size: 12px;
    transition: all .3s linear;
    color: var(--color0);
    border: 1px solid var(--color3);
    border-radius: var(--border-radius);
    box-shadow: 1px 1px 1rem #5e5e5e42;
}

.swiper-button-next-serv:hover,
.swiper-button-prev-serv:hover {
    background: var(--color1);
    color: var(--color0);
    border-color: var(--color1);
}

.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: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    gap: 15px;
}
.nosServicesBg {
    padding: 6vh 9vw 10vh;
    background: #fff;
    position: relative;
}

/*****/
/*****End Partie des services *****/
/*****/
/*****End Partie des services *****/

