/* ============================================
   VANTAGENS
   ============================================ */

.advantages-section {
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.advantages-section::before,
.advantages-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.45;
    z-index: 0;
    animation: advantagesBgMove 12s ease-in-out infinite alternate;
}

.advantages-section::before {
    width: 420px;
    height: 420px;
    left: -140px;
    top: 80px;
    background: rgba(211, 27, 32, 0.16);
}

.advantages-section::after {
    width: 460px;
    height: 460px;
    right: -160px;
    bottom: 40px;
    background: rgba(8, 79, 152, 0.18);
    animation-delay: 1.5s;
}

.advantages-section .container {
    position: relative;
    z-index: 2;
}

@keyframes advantagesBgMove {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(40px, -35px, 0) scale(1.18);
    }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.advantage-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 34px;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);

    opacity: 0;
    transform: translateY(38px);
    filter: blur(14px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.advantage-card.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.advantage-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(8,79,152,0.08), transparent 70%);
    transition: 0.5s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--vermelho);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.13);
}

.advantage-card.show:hover {
    transform: translateY(-8px);
}

.advantage-card:hover::before {
    transform: scale(1.25);
    background: radial-gradient(circle, rgba(211,27,32,0.12), transparent 70%);
}

.advantage-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--vermelho), #ff4348);
    color: var(--branco);
    font-size: 1.4rem;
    box-shadow: 0 18px 35px rgba(211, 27, 32, 0.22);
}

.advantage-card h3 {
    position: relative;
    z-index: 1;
    color: var(--texto-escuro);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.advantage-card p {
    position: relative;
    z-index: 1;
    color: var(--texto-cinza);
    line-height: 1.8;
    margin-bottom: 26px;
    font-size: 0.96rem;
}

/* RESPONSIVO */

@media (max-width: 1100px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        padding: 28px;
    }
}