.servicos-intro
{
    margin-top: 5%;
}

.servicos-intro h1 {
    color: var(--laranja);
    font-size: 2.5em;
    margin-bottom: 16px;
}

main{
    padding: 2%;
}

/* SEÇÃO SERVIÇOS - CARDS ______________________________________________ */
.servicos-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
    justify-items: center;
    margin: 40px auto 32px auto;
    max-width: 1200px;
}
.servico-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(38, 117, 187, 0.459);
    padding: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: fadeInUpCard 1.8s cubic-bezier(1,2,1,0.3) forwards;
}
.servico-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    margin-bottom: 18px;
    transition: transform 0.3s;
}
.servico-card h2 {
    color: var(--azul);
    font-size: 1.25em;
    margin: 0 0 10px 0;
    text-align: center;
}
.servico-card p {
    color: #222;
    font-size: 1.05em;
    text-align: center;
    margin: 0 18px;
}
.servico-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px #f1603882;
    z-index: 2;
}
.servico-card:hover img {
    transform: scale(1.07);
}
.servico-card:nth-child(1) { animation-delay: 0.1s; }
.servico-card:nth-child(2) { animation-delay: 0.22s; }
.servico-card:nth-child(3) { animation-delay: 0.34s; }
.servico-card:nth-child(4) { animation-delay: 0.46s; }
.servico-card:nth-child(5) { animation-delay: 0.58s; }
.servico-card:nth-child(6) { animation-delay: 0.7s; }
.servico-card:nth-child(7) { animation-delay: 0.82s; }
.servico-card:nth-child(8) { animation-delay: 0.94s; }
.servico-card:nth-child(9) { animation-delay: 1.06s; }

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 900px) {
    .servicos-cards {
        gap: 18px;
        grid-template-columns: 1fr;
        max-width: 98vw;
    }
    .servico-card {
        width: 100%;
        max-width: 350px;
    }
}