.block__price {
    margin-bottom: 150px;
}
.price__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    .btn {
        width: fit-content;
    margin: 0 auto;
    }
}
/* Onglets de tarification */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.tabs-navigation {
    display: flex;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: var(--Font-Family-Headline, Rubik);
    font-weight: 600;
    font-size: 1rem;
    color: var(--Text-Text-primary, #171c60);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: var(--Text-Text-primary, #171c60);
    color: white;
    box-shadow: 0px 4px 12px rgba(23, 28, 96, 0.2);
}

.tab-btn:hover:not(.active) {
    background: rgba(23, 28, 96, 0.1);
}

.savings-badge {
    background: var(--Text-Text-accent, #ff7551);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animation des prix */
.pricing-container {
    position: relative;
}

.price {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.price.hide {
    opacity: 0;
    transform: translateY(10px);
}

.abonnement span {
    transition: opacity 0.3s ease;
}

/* Liens de paiement */
.payment-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.payment-link.hide {
    opacity: 0;
    transform: translateY(10px);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .pricing-tabs {
        margin-bottom: 2rem;
    }

    .tabs-navigation {
        width: 100%;
        max-width: 300px;
    }

    .tab-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        flex: 1;
    }
}
.price__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 350px));
    align-items: end;
    gap: 1rem;
    justify-content: center;
}
@media screen and (max-width: 992px) {
    .price__list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 6rem;
    }
}

.price__table {
    position: relative;
    margin-bottom: 15px;
    -webkit-box-shadow: 0px 16px 32px rgba(25, 86, 168, 0.1);
    box-shadow: 0px 16px 32px rgba(25, 86, 168, 0.1);
    border-radius: 16px;
    background: #ffffff;
}

.price__head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    .type {
        margin-bottom: 0;
        color: var(--Text-Text-primary, #171c60);
        font-style: normal;
        font-weight: 700;
        font-size: var(--Font-Size-S, 1rem);
        line-height: normal;
        /* H3-Rubik-Bold */
        font-family: var(--Font-Family-Headline, Rubik);
        text-transform: uppercase;
    }
    .popular {
        display: block;
        margin: 0 auto;
        box-shadow: 0px 8px 8px 0px #e8effb;
        border-radius: 0.25rem;
        background: var(--Neutral-White-FFFFFF, #fff);
        padding: 0.5rem 1rem;
        width: fit-content;
        span {
            color: var(--Text-Text-accent, #ff7551);
            font-style: normal;
            font-weight: 700;
            font-size: var(--Font-Size-S, 1rem);
            line-height: normal;

            /* H3-Rubik-Bold */
            font-family: var(--Font-Family-Headline, Rubik);
            text-transform: uppercase;
        }
    }

    .price {
        color: var(--Text-Text-primary, #171c60);
        font-style: normal;
        font-weight: 800;
        font-size: var(--Font-Size-XL, 2.8125rem);
        line-height: normal;

        /* H1-Rubik_Extrabold */
        font-family: var(--Font-Family-Headline, Rubik);
        text-transform: uppercase;
    }
    .infos {
        border-radius: var(--Radius-Button-6, 0.375rem);
        background: var(--Background-E8EFFB, #e8effb);
        padding: 0.3125rem var(--Spacing-0, 0rem);
        color: var(--Text-Text-primary, #171c60);
        font-style: normal;
        font-weight: 500;
        font-size: var(--Font-Size-XS, 0.875rem);
        line-height: var(--Font-Size-L, 1.5rem); /* 171.429% */

        /* B3-Raleway-Medium */
        font-family: var(--Font-Family-Body, Raleway);
        text-align: center;
        p {
            margin-bottom: 0;
        }
    }
}

.price__body {
    padding: 1.69506rem 1.88338rem;
}

.price__footer {
    position: absolute;
    bottom: -5.5rem;
    z-index: -1;
    border-radius: 16px;
    background: linear-gradient(278.49deg, #1956a8 0%, #171c60 88.22%);
    padding: 3rem 1rem 1rem;
    width: 100%;
    text-align: center;
    @media screen and (max-width: 992px) {
padding: 1rem;
z-index: 0;
bottom: -3.5rem;

    }
    a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: auto;
        border-radius: 7px;
        background: #ffffff;
        padding: 15px;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        font-family: "Raleway";
        letter-spacing: 0.5px;
        text-align: center;
        text-transform: uppercase;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-transition: 0.2s ease;
        transition: 0.2s ease;
    }
}

/* Styles pour l'affichage/masquage des détails */
.offer-details {
    max-height: 1000px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-bottom: 1rem;
}

.offer-details.details-hidden {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.toggle-details-btn {
    transition: all 0.3s ease;
    position: relative;
}

.toggle-details-btn .btn-text::after {
    content: ' ▼';
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.toggle-details-btn.active .btn-text::after {
    transform: rotate(180deg);
}
