﻿/* ====== BASE ====== */
.section-bg {
    background: #f7f9fc;
}

.section-title h2 {
    font-weight: 700;
    letter-spacing: .2px;
}

.btn-wa {
    background: #25D366;
    color: #fff;
    padding: .65rem 1rem;
    border-radius: .75rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(37,211,102,.25);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

    .btn-wa:hover {
        background: #1ebe5d; /* tom ligeiramente mais escuro no hover */
        color: #fff; /* garante que o texto continua branco */
        box-shadow: 0 8px 18px rgba(37,211,102,.35);
        text-decoration: none;
    }

.link-switch {
    text-decoration: none;
    font-weight: 600;
    color: #0b5ed7;
}

    .link-switch:hover {
        text-decoration: underline;
    }

/* ====== CARD ====== */
.pricing-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16,24,40,.06);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(16,24,40,.10);
    }

    /* destaque do premium */
    .pricing-card.featured {
        outline: 3px solid #e6f0ff;
        box-shadow: 0 14px 40px rgba(38,99,255,.18);
        transform: translateY(-6px);
    }

/* ====== HEADER (inspirado na imagem) ====== */
.pricing-header {
    background: linear-gradient(180deg,#0e2a57 0%, #0b1f40 100%);
    color: #fff;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(180deg,#103b8c 0%, #0b2c6f 100%);
}

.pricing-header .title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.price {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .2px;
}

    .price .currency {
        font-size: 1rem;
        font-weight: 700;
        opacity: .9;
        margin-left: .25rem;
    }

.sub {
    font-size: .95rem;
    opacity: .9
}

/* ====== BENEFITS ====== */
.benefits {
    list-style: none;
    margin: 1rem 0 0;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

    .benefits li {
        display: block;
    }

.beneficio-link {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    padding: .5rem .25rem;
    text-decoration: none;
    color: #2b3445;
    border-radius: .5rem;
    transition: background .15s ease, color .15s ease;
}

    .beneficio-link i {
        font-size: 1.15rem;
        margin-top: .1rem;
    }

    .beneficio-link:hover {
        background: #f0f5ff;
        color: #0b2c6f;
    }

.pricing-card.featured .beneficio-link:hover {
    background: #e9f1ff;
}

/* ====== BUTTONS ====== */
.btn.cta {
    margin: .75rem 1.25rem 1.25rem;
    padding: .75rem 1rem;
    border-radius: .9rem;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.cta-primary {
    background: #0f62fe;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15,98,254,.25);
}

    .cta-primary:hover {
        filter: brightness(.98);
        color: #fff;
    }

.cta-secondary {
    background: #eef2ff;
    color: #0b2c6f;
}

    .cta-secondary:hover {
        background: #e6ecff;
    }

/* ====== UTIL ====== */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Link invisível que cobre o card todo */
.stretched-link {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    z-index: 1;
}

/* Garante que o botão e outros links fiquem por cima do stretched-link */
.pricing-card .pricing-footer .btn,
.pricing-card .beneficio-link {
    position: relative;
    z-index: 2;
}

/* Cursor de mão no card */
.pricing-card.clickable {
    cursor: pointer;
}
