.header {
    position: sticky;
    top: 0;
    background: #fff;
}

.header .logo svg path {
    fill: black;
}
.header nav ul li a {
    color: #000;
}

.main {
    padding: 0px 40px 106px;
}

.breadcrumbs {
    display: none;
}

.title_project {
    font-weight: 400;
    font-size: 22px;
    line-height: 36px;
    margin-bottom: 0;
}
.infos_project {
    margin-bottom: 30px;
}
.infos_project p {
    margin-bottom: 0px;
}

.infos_project span {
    font-weight: 275;
    font-size: 16px;
    line-height: 28px;
}

.description_project {
    color: #000;
    margin-bottom: 30px;
    font-size: 18px;
}
.box-antes-depois {
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
}

.box-antes-depois .imagens {
    flex: 60%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.box-antes-depois .imagens img {
    max-width: 100%;
}

.box-antes-depois .texto {
    flex: 40%;
    font-weight: 275;
    font-size: 24px;
    line-height: 37px;
    text-align: justify;
    color: #000;
}

.box-antes-depois img {
    max-width: 100%;
}
.grid-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.grid-images a {
    transition: opacity 0.4s ease;
    height: 385px;
    flex-grow: 1;
}

.grid-images a:hover img {
    transition: 0.4s;
    opacity: 0.5;
}

.grid-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-images a:last-of-type img {
    max-width: 500px;
    width: 100%;
}

.espacamento {
    margin-top: 120px;
}

.box-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.box-videos .box-1,
.box-videos .box-2 {
    width: 100%;
}

.box-more-projects {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 27px;
}

.link-more-projects {
    transition: 0.4s;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 32px;
    line-height: 49px;
    letter-spacing: 0.2em;
    color: #000;
}

@media (max-width: 992px) {
    .main {
        padding-bottom: 27px;
    }
    .box-antes-depois {
        flex-direction: column;
    }
    .box-videos {
        grid-template-columns: 1fr;
    }
    /* .box-antes-depois .imagens {
        flex-direction: row;
        justify-content: space-between;
        gap: inherit;
    } */

    .grid-images a:last-of-type img {
        max-width: initial;
        width: 100%;
    }
    .box-videos {
        gap: 40px;
    }
    .box-more-projects {
        margin-top: 50px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .main {
        padding-bottom: 7px;
        padding-inline: 20px;
    }
    .title_project {
        font-size: 24px;
        line-height: 34px;
    }

    .infos_project span::after {
        content: '';
    }
    .infos_project span {
        display: block;
        font-size: 16px;
        line-height: 28px;
    }
    .box-antes-depois {
        margin-bottom: 60px;
        gap: 30px;
    }

    .box-antes-depois .texto {
        font-size: 18px;
        line-height: 25px;
    }
    .grid-images a {
        max-height: 420px;
        height: auto;
    }
    .box-more-projects {
        margin-top: 40px;
    }
    .link-more-projects {
        font-size: 26px;
    }
    .grid-images img {
        /* object-fit: cover; */
    }
}
