/**
 * Séparateurs et fonds de sections - Simple et efficace
 * Palette violet Learnifi
 */

:root {
    --lf-violet-brand: #a435f0;
    --lf-violet-light: #e9e1f9;
    --lf-violet-very-light: #f2e6ff;
    --lf-white: #ffffff;
}

/* ===== FONDS DE SECTIONS ===== */

/* Fond violet clair */
.lf-bg-violet-light {
    background-color: var(--lf-violet-light) !important;
}

/* Fond violet très clair */
.lf-bg-violet-very-light {
    background-color: var(--lf-violet-very-light) !important;
}

/* Padding généreux pour toutes les sections */
section {
    padding: 60px 0;
}

section.mb-5 {
    margin-bottom: 0 !important; /* Enlever les marges pour éviter les espaces */
}

/* ===== SÉPARATEURS ONDULÉS SVG ===== */

.wave-separator {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Variante : du blanc vers violet */
.wave-white-to-violet {
    background: var(--lf-white);
}

.wave-white-to-violet svg {
    fill: var(--lf-violet-light);
}

/* Variante : du violet vers blanc */
.wave-violet-to-white {
    background: var(--lf-violet-light);
}

.wave-violet-to-white svg {
    fill: var(--lf-white);
}

/* ===== SECTIONS SPÉCIALES ===== */

/* Section Tarifs - Mise en avant */
.lf-section-highlight {
    box-shadow: 0 20px 60px rgba(164, 53, 240, 0.15);
    position: relative;
    z-index: 10;
}

/* Section Témoignages - Bordure subtile */
.lf-section-testimonials {
    border-top: 3px solid var(--lf-violet-light);
    border-bottom: 3px solid var(--lf-violet-light);
}

/* ===== TITRES DE SECTIONS AMÉLIORÉS ===== */

.udemy-section-title {
    position: relative;
    padding-bottom: 15px;
}

.udemy-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--lf-violet-brand), transparent);
    border-radius: 2px;
}

/* ===== BADGES DE CONFIANCE ===== */

.lf-trust-badges {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover {
    transform: scale(1.05);
}

.trust-badge-item i {
    font-size: 20px;
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: #1c1d1f;
    white-space: nowrap;
}

/* ===== PÉRIODE DES STATISTIQUES ===== */

.stat-period {
    font-size: 12px;
    color: #6a6f73;
    margin-top: 5px;
    font-weight: 400;
}

/* ===== CARTES TARIFAIRES SIMPLIFIÉES ===== */

.lf-pricing-card {
    background: white;
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lf-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: var(--lf-violet-brand);
}

/* Carte populaire */
.lf-pricing-popular {
    border-color: var(--lf-violet-brand);
    box-shadow: 0 8px 20px rgba(164, 53, 240, 0.2);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1c1d1f;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 15px;
}

.pricing-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--lf-violet-brand);
    line-height: 1;
}

.price-unit {
    font-size: 16px;
    color: #6a6f73;
}

.price-save {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.pricing-subtitle {
    color: #6a6f73;
    font-size: 14px;
}

.pricing-body {
    flex-grow: 1;
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #1c1d1f;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--lf-violet-brand);
    margin-right: 10px;
    font-size: 16px;
}

.pricing-footer {
    margin-top: 20px;
}

/* ===== GRILLE TARIFAIRE HORIZONTALE ===== */

.lf-pricing-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pricing-option {
    background: white;
    border: 2px solid #e8e9eb;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    min-width: 140px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #a435f0;
}

.pricing-popular {
    border-color: #a435f0;
    background: linear-gradient(135deg, #f2e6ff 0%, #e9e1f9 100%);
}

.option-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffd700;
    color: #1c1d1f;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.option-credits {
    font-size: 32px;
    font-weight: 700;
    color: #a435f0;
    line-height: 1;
    margin-bottom: 8px;
}

.option-price {
    font-size: 18px;
    font-weight: 600;
    color: #1c1d1f;
    margin-bottom: 6px;
}

.option-save {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.option-total {
    font-size: 16px;
    font-weight: 600;
    color: #1c1d1f;
}

/* ===== STATISTIQUES FONCTIONNALITÉS ===== */

.feature-stat {
    background: white;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
    padding: 20px 10px;
    transition: all 0.3s ease;
}

.feature-stat:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #a435f0;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6a6f73;
    font-weight: 600;
    margin-top: 5px;
}

/* ===== CARTES FONCTIONNALITÉS ===== */

.feature-card {
    background: white;
    border: 1px solid #e8e9eb;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #a435f0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9e1f9 0%, #f2e6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #a435f0;
}

.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1c1d1f;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: #6a6f73;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== SECTION PRICING UNIFIÉE ===== */

.lf-unified-pricing-box {
    background: white;
    border: 1px solid #e8e9eb;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Grille tarifaire compacte */
.pricing-grid-compact {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.price-item {
    background: #f8f9fa;
    border: 2px solid #e8e9eb;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    min-width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.price-item:hover {
    transform: translateY(-3px);
    border-color: #a435f0;
    background: white;
}

.price-popular {
    border-color: #a435f0;
    background: linear-gradient(135deg, #f2e6ff 0%, #e9e1f9 100%);
}

.popular-star {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffd700;
    color: #1c1d1f;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.price-credits {
    font-size: 24px;
    font-weight: 700;
    color: #a435f0;
    line-height: 1;
    margin-bottom: 4px;
}

.price-rate {
    font-size: 14px;
    font-weight: 600;
    color: #1c1d1f;
}

.discount {
    font-size: 10px;
    background: #27ae60;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 4px;
}

/* Listes de fonctionnalités compactes */
.feature-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-compact li {
    padding: 8px 0;
    font-size: 14px;
    color: #1c1d1f;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list-compact li:last-child {
    border-bottom: none;
}

.feature-list-compact li i {
    margin-right: 12px;
    font-size: 14px;
    width: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .lf-unified-pricing-box {
        padding: 25px 20px;
    }
    
    .pricing-grid-compact {
        gap: 8px;
    }
    
    .price-item {
        min-width: 90px;
        padding: 10px 6px;
    }
    
    .price-credits {
        font-size: 20px;
    }
    
    .price-rate {
        font-size: 12px;
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .wave-separator {
        height: 40px;
    }
    
    .wave-separator svg {
        height: 40px;
    }
    
    .trust-badge-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .trust-badge-item i {
        font-size: 24px;
    }
    
    .trust-text {
        font-size: 11px;
    }
}

