/* ------ Serviços Especializados ------ */

.servicos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #F7F4FB;
    /* Cor de fundo dos serviços */
}

.servicos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 45rem;
}

.descricao {
    font-style: normal;
    font-size: small;
}

.servicos-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: rem;
    gap: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 20rem;
    height: 12rem;
    border-radius: 0.5rem;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    /* Sombra mais forte */
    padding: 1rem;
}

.card h3 {
    line-height: 1.3;
}

.card li {
    font-size: small;
}

ul {
    margin-top: 0.5rem;
    padding-left: 2rem;
    /* Espaçamento à esquerda para alinhar com o texto */
}

.card-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

}

.imagem-card {
    object-fit: cover;
    width: 4rem;
    height: 4rem;
}

/*RESPONSIVIDADE*/

/* Telas médias (tablets) */
@media (max-width: 992px) {

    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: rem;
        gap: 1rem;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 18rem;
        height: 10rem;
        border-radius: 0.5rem;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
        /* Sombra mais forte */
        padding: 1rem;
        gap: -0.5;
    }

    .card li {
        margin-top: -0.5rem;
    }


    .imagem-card {
        object-fit: cover;
        width: 3rem;
        height: 3rem;
    }

}

/* Telas médias (Celulares) */
@media (max-width: 490px) {

    .servicos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 60rem;
    }

    .sub-titulo-servicos{
        width: 90%; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: rem;
        gap: 1rem;
        width: 70%;
        margin-left: 2rem;
        overflow-y: auto;
        margin-bottom: 1rem;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 18rem;
        height: 15rem;
        border-radius: 0.5rem;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
        /* Sombra mais forte */
        padding: 1rem;
    }

    .imagem-card {
        margin-top: 0.5rem;
        object-fit: cover;
        width: 2rem;
        height: 2rem;
    }

    .card h3 {
        font-size: medium;
        font-weight: bold;
    }

    .card li{
        line-height: 1.2rem;
        font-size: 15px;
    }

 
}