/* Efficasante SaaS — pages tarifs / souscription */

.saas-pricing-page,
.saas-subscribe-page,
.saas-payment-page,
.saas-renew-page {
    background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 100%);
    min-height: 100vh;
}

.saas-hero {
    background: linear-gradient(135deg, #0B2A4A 0%, #1F8A4C 50%, #1F8A4C 100%);
}

/* ── Grille tarifs ── */
.pub-pricing-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.pub-pricing-lead {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}

.pub-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .pub-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .pub-pricing-grid .saas-plan-popular {
        transform: scale(1.03);
        z-index: 2;
    }
}

/* ── Cartes plans ── */
.saas-plan-card {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11, 42, 74, 0.06);
}

.saas-plan-card__accent {
    height: 4px;
    background: linear-gradient(90deg, #0B2A4A, #1F8A4C 55%, #1F8A4C);
    margin: -1px -1px 0;
}

.saas-plan-popular .saas-plan-card__accent {
    height: 5px;
    background: linear-gradient(90deg, #1F8A4C, #1F8A4C, #6366f1);
}

.saas-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11, 42, 74, 0.14);
    border-color: rgba(31, 138, 76, 0.35);
}

.saas-plan-popular {
    border-color: #1F8A4C;
    box-shadow: 0 12px 40px rgba(31, 138, 76, 0.18);
}

.saas-plan-popular:hover {
    transform: translateY(-6px) scale(1.03);
}

.saas-plan-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.saas-plan-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11, 42, 74, 0.12), rgba(31, 138, 76, 0.18));
    color: #0B2A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.saas-plan-popular .saas-plan-card__icon {
    background: linear-gradient(135deg, #1F8A4C, #1F8A4C);
    color: #fff;
}

.saas-badge {
    position: absolute;
    top: 14px;
    right: -34px;
    background: linear-gradient(135deg, #1F8A4C, #1F8A4C);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 5px 42px;
    transform: rotate(45deg);
    letter-spacing: 0.06em;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(31, 138, 76, 0.35);
}

.saas-price {
    color: #0B2A4A;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, rgba(11, 42, 74, 0.05), rgba(0, 181, 173, 0.06));
    border-radius: 12px;
    border: 1px solid rgba(31, 138, 76, 0.12);
}

.saas-price-amount {
    display: block;
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.saas-price-annual {
    white-space: nowrap;
}

.saas-price-annual .saas-price-amount {
    display: inline;
}

.saas-price-period {
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
}

.saas-price-annual .saas-price-period {
    white-space: nowrap;
}

.saas-price-period-below {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.82rem;
}

.saas-features-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin: 0.85rem 0 0.5rem;
}

.saas-features {
    margin: 0;
}

.saas-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.38rem 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #334155;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.saas-feature-item:last-child {
    border-bottom: none;
}

.saas-feature-item.no {
    opacity: 0.45;
}

.saas-feature-item--highlight .saas-feature-text {
    font-weight: 600;
    color: #0B2A4A;
}

.saas-feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.saas-feature-item--highlight .saas-feature-icon {
    background: linear-gradient(135deg, rgba(31, 138, 76, 0.15), rgba(31, 138, 76, 0.2));
    color: #1F8A4C;
}

.saas-feature-text {
    flex: 1;
    min-width: 0;
}

.saas-plan-cta {
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.pub-plan-footnote {
    font-size: 0.88rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* Page tarifs dédiée */
.pub-tarifs .pub-main {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
}

.pub-tarifs .pub-pricing-wrap {
    padding: 0.5rem 0;
}

/* Legacy list (subscribe pages) */
.saas-features li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
}

.saas-features li.no {
    opacity: 0.5;
}

.saas-amount-box {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    border: 1.5px solid #dee2e6;
    border-radius: 12px;
    padding: 1.25rem;
}

.saas-amount-display {
    font-size: 2rem;
    font-weight: 800;
    color: #0B2A4A;
}

.saas-phone-box {
    background: linear-gradient(135deg, #0B2A4A, #1F8A4C);
    border-radius: 12px;
    padding: 1.25rem;
}

.saas-phone-link {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.saas-phone-link:hover {
    color: #e0e7ff;
}

.saas-steps {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.saas-steps li {
    margin-bottom: 0.5rem;
}
