/* links uteis */
/* =========================================
   LINKS ÚTEIS - CSS MODERNO
========================================= */

.links-modern-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.links-header {
    max-width: 760px;
    margin: 0 auto 55px;
}

.links-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 800;
    font-size: .88rem;
    margin-bottom: 18px;
}

.links-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #07142e;
    margin-bottom: 14px;
}

.links-header p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.link-modern-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 26px;
    padding: 30px 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .06);
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.link-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, .12);
}

.link-modern-card.featured {
    border: 1px solid rgba(99, 102, 241, .20);
    background: linear-gradient(180deg, #ffffff, #f8faff);
}

.link-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, #000658, #000ece);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    box-shadow: 0 14px 28px rgba(106, 37, 235, .25);
}

.link-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #ef4444;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.link-modern-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: #07142e;
    font-weight: 700;
    margin-bottom: 14px;
    min-height: 64px;
}

.link-modern-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.link-modern-card a {
    min-height: 48px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #000658, #000ece);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s ease;
}

.link-modern-card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(0, 8, 121, 0.527);
}

/* RESPONSIVO */
@media(max-width:1200px) {
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:991px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .link-modern-card {
        padding: 26px 22px;
    }
}

/* links uteis */