.certificacoes-page {
    position: relative;
}

.certificacoes-intro-box {
    padding: 50px;
}

.certificacoes-intro-box p {
    color: var(--text-dim);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.certificacoes-grid {
    justify-content: center;
}

.cert-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.cert-card img {
    max-width: 100%;
    max-height: 130px; /* antes 95px */
    object-fit: contain;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 140, 255, 0.32);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.cert-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .certificacoes-intro-box {
        padding: 30px;
    }

    .cert-card {
        height: 150px;
        padding: 18px;
    }
}

@media (max-width: 767.98px) {
    .certificacoes-intro-box p {
        font-size: 1rem;
    }

    .cert-card {
        height: 132px;
        padding: 16px;
        border-radius: 18px;
    }

    .cert-card img {
        max-height: 82px;
    }
}