

/*****/
/*****Partie des services *****/
.services-home {
    padding: 4em 9vw 11em;
    position: relative;
    z-index: 9;
    background: url(../images/wall.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--color0);
    background-blend-mode: hard-light;
}
.title-serv {
    margin-bottom: 4em;
}
.services-home:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .92488;
}

.services-home-content {
    overflow: hidden;
}

.arrow-services {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-top: 40px;
    position: relative;
}

.arrow-services i {
    color: #fff;
}

.arrow-services div {
    width: 40px;
    height: 40px;
    background: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    font-size: 10px;
    opacity: 1;
    border-radius: var(--border-radius);
}

.arrow-services div:hover {
    opacity: .7;
}

.one-service {
    height: 55vh;
    position: relative;
    transition: .4s ease;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow_atout);
}

.one-service:hover img {
    transform: translateY(-5%);
    transition: .4s ease;
}

.one-service:before {content: "";position: absolute;left: 0;top: 0;width: 100%;height: 100%;/* background: #00000099; */opacity: .54321;transition: all .4s ease;}

.one-service:hover .titre-service-premier p {
    display: block;
    text-align: center;
    /* padding: 0 15px; */
    transition: all .3s ease-in .05s;
}

.one-service:hover .titre-service-premier p {
    margin-top: 40px;
    color: var(--color0);
    width: 5vw;
    background: var(--color1);
}

.one-service:hover .titre-service-premier span {
    background: var(--color3);
    color: var(--color0);
    width: 30px;
    font-family: var(--corps_text);
    height: 30px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    display: block;
}

.one-service:hover .titre-service-premier h2 {
    text-align: left;
    font-size: 18px;
    transition: all .4s ease;
}



.lien_image {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.titre-service-premier {
    position: absolute;
    bottom: 0;
    width: 100%;
/* From https: //css.glass */
    text-align: center;
    transition: .4s ease;
    z-index: 1;
    height: 80px;
}

.titre-service-premier p, .titre-service-premier span {
    display: none;
}

.titre-service-premier p {
    display: block;
    width: 5vw;
    color: #fff;
    padding: 6px;
    background: var(--color2);
    margin-left: 4%;
    border-radius: var(--border-radius);
    position: relative;
    font-weight: 500;
    box-shadow: var(--box-shadow_atout);
    transition: all .4s ease-in;
}

.one-service:hover .titre-service-premier {
    z-index: 1;
    bottom: 100px;
}

.titre-service-premier h2 {
    font-size: calc(var(--taille_font) * 1.6 );
    color: var(--color0);
    text-transform: initial;
    padding: 0 15px;
    text-align: left;
    transition: .4s ease;
    letter-spacing: initial;
    margin-top: 0;
    text-shadow: 0 1px 14px #000000;
}

.lien_image img {
    height: 60vh;
    width: 100%;
    object-fit: cover;
    transition: transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1);
}
/*****/
/*****End Partie des services *****/

