.produtos-servicos .container{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.produtos-servicos .first-title {
    color: var(--blue2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.produtos-servicos .first-title::after {
    margin-top: 0.5rem;
    display: block;
    content: '';
    width: 90%;
    height: 3px;
    margin-top: 8px;
    background-color: var(--orange);
}

.produtos-servicos__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap : 20px;
    align-items: stretch;
    justify-content: center;
}

.produtos-servicos__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 1rem;
    background-color: #FFF;
    border: 2px solid #F5F5F5;
    transition: 0.3s ease-in-out;
}

.produtos-servicos__card:hover {
    background-color: #F7F7F7;
    border: 2px solid #1f3a93;
    transition: 0.3s ease-in-out;
}

.produtos-servicos__card h2 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--blue2);
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.produtos-servicos__card h2::after {
    margin-top: 0.5rem;
    display: block;
    content: '';
    width: 36px;
    height: 2px;
    background-color: var(--blue2);
}

.produtos-servicos__card h3 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--blue2);
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.produtos-servicos__card h3::after {
    margin-top: 0.5rem;
    display: block;
    content: '';
    width: 36px;
    height: 2px;
    background-color: var(--blue2);
}

.produtos-servicos__card img {
    width: 100%;
    height: auto;
}

.produtos-servicos__card p {
    text-align: center;
    color: #1F3A93;
    height: 80px;
}

@media only screen and (max-width: 1480px) {
    .produtos-servicos__card p{
        font-size: 14px;        
    }
}

@media only screen and (max-width: 1320px) {
    .produtos-servicos__cards {
        column-gap: 20px;
    }
    .produtos-servicos .container {
        max-width: 90%;
    }
}

@media only screen and (max-width: 1140px) {
    .produtos-servicos__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .produtos-servicos__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media only screen and (max-width: 550px) {
    .produtos-servicos__cards {
        grid-template-columns: repeat(1, 1fr);
    }
}