/* ============ PRICING HERO ============ */
.pricing-hero { padding: 140px 0 60px; text-align: center; }

.pricing-hero .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; background: var(--gold-light); color: var(--gold-hover);
    border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}

.type-toggle {
    display: inline-flex; background: var(--gray-light); border-radius: 12px; padding: 4px; margin-bottom: 32px;
}

.type-toggle-btn {
    padding: 10px 24px; border-radius: 10px; border: none; background: transparent;
    font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--gray-text);
    cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px;
}

.type-toggle-btn.active { background: white; color: var(--black); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.type-toggle-btn svg { width: 18px; height: 18px; }

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.billing-label { font-size: 14px; font-weight: 500; color: var(--gray-text); }
.billing-label.active { color: var(--black); font-weight: 700; }

.toggle-switch {
    width: 48px; height: 26px; background: var(--gray-border); border-radius: 13px;
    position: relative; cursor: pointer; transition: background 0.3s;
}
.toggle-switch.active { background: var(--gold); }
.toggle-switch::after {
    content: ''; width: 20px; height: 20px; background: white; border-radius: 50%;
    position: absolute; top: 3px; left: 3px; transition: transform 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.toggle-switch.active::after { transform: translateX(22px); }

.billing-badge { padding: 3px 8px; background: #D1FAE5; color: #059669; border-radius: 6px; font-size: 11px; font-weight: 700; }

/* ============ PRICING CARDS ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto 48px; }
.pricing-grid.coach-grid { grid-template-columns: repeat(2, 1fr); max-width: 660px; }

.pricing-card {
    background: white; border: 1.5px solid var(--gray-border); border-radius: 20px; padding: 36px;
    position: relative; transition: all 0.3s ease; display: flex; flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

.pricing-card.popular { border-color: var(--gold); box-shadow: 0 8px 24px rgba(212,168,67,0.15); }

.pricing-card.popular::before {
    content: 'LE PLUS POPULAIRE'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--black); padding: 4px 16px; border-radius: 100px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.05em; white-space: nowrap;
}

.pricing-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 16px;
}
.pricing-icon.starter { background: #DBEAFE; color: #2563EB; }
.pricing-icon.pro { background: var(--gold-light); color: var(--gold); }
.pricing-icon.business { background: #EDE9FE; color: #7C3AED; }
.pricing-icon.free { background: #D1FAE5; color: var(--green); }
.pricing-icon svg { width: 22px; height: 22px; }

.pricing-plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pricing-plan-desc { font-size: 13px; color: var(--gray-text); margin-bottom: 20px; }

.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-currency { font-size: 20px; font-weight: 700; color: var(--black); }
.pricing-amount { font-family: var(--font-display); font-size: 48px; font-weight: 900; line-height: 1; color: var(--black); }
.pricing-period { font-size: 14px; color: var(--gray-text); }
.pricing-original { font-size: 13px; color: var(--gray-text); text-decoration: line-through; margin-bottom: 20px; min-height: 20px; }

.pricing-cta { width: 100%; text-align: center; justify-content: center; margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--gray-border); margin-bottom: 24px; }

.pricing-features { list-style: none; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; margin-bottom: 12px; line-height: 1.4; }
.pricing-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.pricing-features li .check { color: var(--green); }
.pricing-features li .cross { color: var(--gray-border); }
.pricing-features li.disabled { color: var(--gray-text); opacity: 0.5; }

/* Trust bar */
.trust-bar {
    display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
    padding: 24px 0; font-size: 13px; color: var(--gray-text);
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar svg { width: 16px; height: 16px; color: var(--green); }

/* Comparison */
.comparison-section { padding: 80px 0; background: var(--off-white); }

.comparison-table-wrapper {
    overflow-x: auto; border-radius: 16px; border: 1px solid var(--gray-border);
    background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 14px; }
.comparison-table thead th { padding: 16px 20px; text-align: center; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--gray-border); background: var(--gray-light); }
.comparison-table thead th:first-child { text-align: left; min-width: 240px; }
.comparison-table thead th.hl { background: var(--gold-light); }
.comparison-table tbody td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--gray-border); color: var(--gray-text); }
.comparison-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--black); }
.comparison-table tbody td.hl { background: rgba(212,168,67,0.04); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .yes { color: var(--green); font-weight: 700; }
.comparison-table .no { color: var(--gray-border); }
.comparison-table .value { font-weight: 700; color: var(--black); }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-border); }

.faq-question {
    width: 100%; background: none; border: none; padding: 20px 0; display: flex;
    align-items: center; justify-content: space-between; cursor: pointer;
    font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--black); text-align: left;
}
.faq-question svg { width: 20px; height: 20px; color: var(--gray-text); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }

/* CTA */
.pricing-cta-section { padding: 80px 0; background: var(--black); text-align: center; }
.pricing-cta-section .section-title { color: white; margin-bottom: 12px; }
.pricing-cta-section .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto 32px; }

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid, .pricing-grid.coach-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 768px) {
    .pricing-hero { padding: 110px 0 40px; }
    .pricing-card { padding: 28px; }
    .comparison-section, .faq-section { padding: 60px 0; }
}
