.fst-obras {
    background: linear-gradient(rgba(17, 23, 42, 0.869), rgba(17, 23, 42, 0.869)), url(../../img/gtecImg/pag-obras.jpg) center/cover no-repeat;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 75%);
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fst-obras h1{
    font-size: min(74px, 8vw);
    font-weight: 900;
    color:var(--branco);
    position: relative;
    top: -15px;
}


.obra-fil{
    background-color: var(--branco);
}



.title-obras {
    width: 100%;
    height: fit-content;
    margin: 70px 0;
}

.title-obras p{
    max-width: 1000px;
    text-align: justify;
    padding: 0 15px;
}

/* !Filtrações */
.b-2{
    flex-direction: column;
    /* background-color: rgb(11, 218, 35); */
    padding: 1rem;
    scroll-behavior: smooth;
    scroll-margin-top: 13.5rem;
    height:fit-content;
    display: flex;

}
/* *------------------------Botões de filtro */
.activ{
    background-color: var(--vermelho)!important;
    color: var(--branco);
}

.b-2 .filter{
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}


.b-2 .filter .item{
    padding: .5rem 1rem;
    margin: 0 1rem ;
    border-radius: 1rem;
    cursor: pointer;
    background-color: var(--cinza);
}

.b-2 .filter .item:active{
    transform: scale(.7);
}

#square {
    width: 100px;
    height: 100px;
    background-color: blue; /* Cor inicial */
    cursor: pointer;
  }



/* *-------------------------------------------------ITENS */
.b-2 .itens {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    list-style:none ;
    margin: 0 auto;
    gap: 20px;
    
}

/* card */
.b-2 .itens .item {
    position: relative;
    width: 390px;
    /* margin: 20px; */
    border-radius: 5px;
    overflow: hidden;
    flex-grow: 1;
}
.b-2 .itens .item .icon a {
    display: block;
   width: 100%;
   height: 100%;
}

/* imagem */
.b-2 .itens .item figure {
    position: relative;
    width: 100%;
}

.b-2 .itens .item figure img{
    width: 100%;
    height: 17rem;
    object-fit: cover;
}

.b-2 .itens .item figure a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, black 100%);
    pointer-events: none;
}

/* titulo */
.b-2 .itens .item h3{
    position: absolute;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
    color: var(--branco);
    bottom: 10px;
    left: 10px;
}


/* !cta-obras */
.cta-obra{
    background: linear-gradient(90deg, var(--azul) 60%, rgba(17, 23, 42, 0) 90%), url(../../img/obras/roldaoMogi/DJI_0113.00_01_22_06.Still025.jpg) center / cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 140px 15px;
}

.cta-obra div{
    width: 100%;
}

.cta-obra div h2{
    font-size: min(40px, 4vw);
    text-transform: uppercase;
    color: var(--branco);
}


.cta-obra div > a button {
    background-color: transparent;
    border: 3px solid var(--vermelho);
    border-radius: 40px;
    padding: 5px 25px;
    font-size: 20px;
    margin: 20px 10px;
    color: var(--branco);
    transition: all .5s;
}

.cta-obra div > a button:hover {
    background-color: var(--vermelho);
    color: var(--branco);
}