/* ========================================
   PAGE TARIFS - STYLES DÉDIÉS
   ======================================== */

/* Hero Pricing */
.hero-pricing {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 50%, var(--primary-50) 100%);
}

.hero-pricing h1 {
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.1;
    margin: 24px 0 20px;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text-900);
}

.hero-pricing p {
    color: var(--text-600);
    font-size: 19px;
    line-height: 1.7;
}

/* Toggle mensuel/annuel */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 999px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-700);
}

.discount-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 32px;
    display: inline-block;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--primary-700);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(24px);
}

/* Pricing Cards détaillées */
.pricing-detailed {
    padding: 80px 0;
    background: var(--bg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card-full {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pricing-card-full:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.pricing-card-full.featured {
    border-color: var(--primary-700);
    border-width: 3px;
    box-shadow: var(--shadow-primary-lg);
    background: linear-gradient(180deg, white 0%, var(--primary-50) 100%);
    transform: scale(1.05);
}

.pricing-card-full.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.popular-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
    color: white;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-primary);
}

.pricing-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.pricing-card-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-900);
    margin: 0 0 8px;
}

.plan-description {
    font-size: 15px;
    color: var(--text-600);
    margin: 0;
}

.pricing-card-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-700);
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-period {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-600);
}

.price-info {
    font-size: 14px;
    color: var(--text-600);
    margin: 12px 0 0;
}

.pricing-features-full {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex: 1;
}

.pricing-features-full li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 0;
    color: var(--text-600);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-features-full li::before {
    content: "✓";
    font-weight: 800;
    color: var(--primary-700);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-features-full li strong {
    color: var(--text-900);
    font-weight: 700;
}

.btn-full {
    width: 100%;
    margin-top: 32px;
}

.plan-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 16px 0 0;
}

/* Help choosing section */
.help-choosing-section {
    padding: 100px 0;
    background: var(--bg);
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.help-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    transition: var(--transition);
}

.help-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.help-card.highlighted {
    border-color: var(--primary-400);
    background: linear-gradient(180deg, white 0%, var(--primary-50) 100%);
    box-shadow: var(--shadow-md);
}

.help-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.help-icon img {
    width: 125px;
    height: 125px;
    display: block;
    margin: 0 auto;
}

.help-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 16px;
}

.help-card p {
    color: var(--text-600);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.help-link {
    color: var(--primary-700);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.help-link:hover {
    color: var(--primary-800);
    gap: 8px;
}

/* FAQ Section (reprise depuis commercants.css) */
.faq-section {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 20px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-900);
    font-size: 18px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-700);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: var(--text-600);
    margin: 20px 0 0;
    line-height: 1.7;
    font-size: 16px;
}

/* ========================================
   RESPONSIVE - PAGE TARIFS
   ======================================== */
@media (max-width: 1100px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card-full.featured {
        transform: scale(1);
    }

    .pricing-card-full.featured:hover {
        transform: translateY(-6px);
    }

    .help-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .hero-pricing {
        padding: 72px 0 60px;
    }

    .pricing-toggle {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .pricing-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 20px;
    }

    .toggle-label {
        font-size: 14px;
    }

    .discount-badge {
        display: block;
        margin: 4px 0 0 0;
    }

    .price-number {
        font-size: 48px;
    }

    .help-icon img {
        width: 100px;
        height: 100px;
    }

    .help-card h3 {
        font-size: 20px;
    }
}