#servicos_itens{
    align-items: center;
    padding: 60px 0px;
}

.item-servico{
    display: flex;
    align-items: center;
    justify-content: center;   /* centraliza o conjunto */
    gap: 80px;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}


.item-img{
    flex: 0 1 500px;   /* quer 500px, mas encolhe se precisar */
    min-width: 0;
}

.item-img img{
    display: block;
    width: 500px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 10 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.item-info{
    flex: 1;                   /* o texto ocupa o resto */
    max-width: 450px;
    min-width: 350PX;
    font-size: 1.2em;
}

.item-info h2{
    color: rgb(30, 167, 167);
    font-size: 2.5em;
}

.row-reverse{
    flex-direction: row-reverse;
}

.row-reverse .item-img{
    justify-content: flex-end;
}

@media screen and (max-width: 1500px) {
    .item-servico{
        width: 70%;
    }
}

@media screen and (max-width: 1050px) {
    #servicos_itens{
        padding: 30px 0px;
    }

    .item-servico{
        
        width: 100%;               /* ADICIONE: anula o 70% do bloco de 1500px */
        flex-direction: column-reverse;
        text-align: center;
        gap: 10px;
        padding: 30px 15px;
    }

    .item-img{
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .row-reverse .item-img{
        justify-content: center;
    }

    .item-img img{
         flex: none;
        width: 100%;
        max-width: 500px;
        justify-content: center;
    }

    .item-servico h2{
        margin: 0;
        padding: 0;
    }

    .item-servico p{
        display: none;
    }

        .item-info{
        flex: none;
        width: 100%;
    }
}

@media screen and (max-width: 740px){
    .item-img, 
    .item-info{
        width: 90%;
    }

    .item-servico{
      padding: 30px 10px;   /* menos espaço nas laterais */
    }

    .item-img img{
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center;
    }

    .item-info h2{
        font-size: 1.8em;
    }
}