.perfecto-home-pres {
    width: 80%;
}

.perfecto-home-pres img {
    max-width: 150px;
}

.perfecto-home-pres .wp-block-button a {
    font-size: 3rem;
    padding: 0;
    max-height: 3rem;
    line-height: 2.5rem;
    font-weight: lighter;
    width: 2.5rem;
}

.block-chiffres-home {
    width: 100%;
}

.block-chiffres-home .wp-block-heading {
    padding-left: 5vw;
    margin: 0;
    line-height: 2rem;
}

.block-chiffres-home .wp-block-columns {
    width: 95vw;
    margin-right: 0 !important;
}

.number {
    font-size: 6rem;
    font-weight: 700;
}

.actualites-home {
    width: 80%;
}

.postsbytyactualites {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 4.25rem;
}

.postsbytyactualites a {
    display: flex;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 2rem;
    gap: 1.5rem;
    color: #000;
    text-decoration: none;
    height: 100%;
    position: relative;
}

.postsbytyactualites a::before {
    content: "";
    position: absolute;
    right: -2rem;
    background-image: url("../images/before-actus-home.jpg");
    background-size: cover;
    width: 150px;
    height: 280px;
    top: 0;
    z-index: -1;
}


.postsbytyactualites img {
    width: 215px;
    height: 180px;
    object-fit: cover;
}

.articles-home {
    display: flex;
    gap: 2rem;
}

.articles-home li {
    display: flex;
    gap: 1.75rem;
}

.plus-actualite {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: 100;
    transform: translate(0px, 25px);
}

.actualites-home .wp-block-buttons {
    margin-top: 5rem;
}

.realisations-home {
    width: 70%;
    padding-bottom: 6rem;
    padding-top: 8.25rem;
}

.realisations-home h2 {
    text-align: end;
    padding-right: 1.5rem;
    margin-bottom: 2.5rem;
}

.realisations-home ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    justify-content: center;
}

.realisations-home img {
    height: 240px;
    width: 480px;
    object-fit: cover;
}

.realisations-home li:nth-child(2n+1) {
    transform: translateY(-4rem);
}

.realisations-home .wp-block-buttons {
    justify-content: center;
}

.actualites-home .wp-block-button .wp-block-button__link,
.realisations-home .wp-block-button .wp-block-button__link {
    border: solid 1px #000;
    transition: all .5s ease-out;
}

.actualites-home .wp-block-button .wp-block-button__link:hover,
.realisations-home .wp-block-button .wp-block-button__link:hover {
    background-color: #fff;
    color: #000;
}

@media screen and (max-width: 800px) {
    .wp-block-column .wp-block-image.size-full.is-style-default.nofancybox {
        display: none;
    }

    .block-chiffres-home .is-layout-flex {
        justify-content: center;
    }

    .number {
        line-height: 6rem;
    }

    .block-chiffres-home .wp-block-columns {
        width: 100vw;
    }

    .postsbytyactualites {
        flex-direction: column;
    }

    .postsbytyactualites a {
        flex-direction: column;
    }

    .realisations-home li:nth-child(2n+1) {
        transform: translateY(0rem);
    }

    .realisations-home img {
        height: 160px;
    }
}

.home .lottie {
    display: none;
}

.home .lottie.active {
    display: block;
}