.pricing-wrapper {
    margin-top: 3rem;
}


/* grille responsive */

.pricing-grid {
    display: grid;
    gap: 1.5rem;
}


/* 3 colonnes à partir du md */

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ---- CARTE DE BASE ---- */

.pricing-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 1.8rem 1.4rem 1.6rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 50%), radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.25), #020617 75%);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7), 0 18px 40px rgba(15, 23, 42, 0.65);
    color: #e5e7eb;
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .35s ease;
}


/* halo interne doux */

.pricing-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease-out, transform .35s ease-out;
}


/* ---- HOVER BOOST ---- */

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 142, 61, 0.65);
    background: radial-gradient(circle at top left, rgba(247, 142, 61, 0.35), transparent 55%), radial-gradient(circle at bottom right, rgba(255, 158, 99, 0.38), #0d1220 75%);
    box-shadow: 0 0 0 1px rgba(247, 142, 61, 0.4), 0 25px 65px rgba(247, 142, 61, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.pricing-card:hover::before {
    opacity: 0.45;
    transform: scale(1.15);
}


/* ---- PLAN MIS EN AVANT ---- */

.pricing-card.featured {
    border-color: rgba(247, 142, 61, 0.9);
    box-shadow: 0 0 0 1px rgba(247, 142, 61, 0.6), 0 26px 70px rgba(247, 142, 61, 0.45);
    transform: translateY(-4px);
}


/* petit ruban "Populaire" */

.pricing-card.featured .plan-ribbon {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: linear-gradient(120deg, var(--brand-orange), #ffb37a);
    color: #111827;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    z-index: 3;
}


/* header du plan */

.plan-header {
    margin-bottom: 1.1rem;
}

.plan-name {
    font-size: 0.8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .85;
}

.plan-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.plan-tagline {
    font-size: 0.8rem;
    opacity: .78;
}


/* prix */

.plan-price-block {
    margin: 0.8rem 0 1rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.plan-price span.small {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: .8;
}

.plan-period {
    font-size: 0.8rem;
    opacity: .8;
}


/* liste features */

.plan-features {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.2rem;
    font-size: 0.8rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

.plan-features .check {
    font-size: 0.9rem;
    margin-top: 0.1rem;
}


/* ---- CTA DESIGN ---- */

.plan-cta .btn-plan {
    position: relative;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    width: 100%;
    border: none;
    /* gradient brand */
    background: linear-gradient(120deg, #f78e3d, #ffb37a);
    color: #0f172a;
    /* glow léger */
    box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.08), 0 10px 25px rgba(15, 23, 42, 0.6);
    text-transform: uppercase;
    letter-spacing: .08em;
    /* anims */
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position .35s ease-out, transform .15s ease-out, box-shadow .15s ease-out, filter .15s ease-out;
}


/* Hover + focus */

.plan-cta .btn-plan:hover,
.plan-cta .btn-plan:focus-visible {
    background-position: 100% 50%;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(247, 142, 61, 0.9), 0 0 18px rgba(247, 142, 61, 0.6), 0 18px 40px rgba(15, 23, 42, 0.8);
    color: #0f172a;
    outline: none;
}

.plan-footnote {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    opacity: .9;
}


/* Sur très petits écrans */

@media (max-width: 400px) {
    .pricing-card {
        padding: 1.5rem 1.1rem 1.4rem;
    }
}