/* Styles pour la section tarifs */
.tarifs-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 100px 0;
}

.tarifs-section .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #000B10;
    line-height: 1.1;
    text-align: center;
    margin: 0 auto 60px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    letter-spacing: -0.02em;
    padding: 0 20px;
}

.section-title .title-line {
    display: block;
}

.section-title .title-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #7C89FF;
    padding: 5px 15px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    z-index: 2;
    margin: 15px -5px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

.section-title .title-highlight::after,
.section-title .title-highlight::before {
    content: none !important;
    display: none !important;
}

/* Styles pour le toggle annuel/mensuel */
.offres-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.toggle-btn {
    background: #fff;
    color: #6b7280;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.toggle-btn.active {
    background: #7C89FF;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.3);
}

/* Styles pour les cartes de tarification */
.offres-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px 60px 40px 60px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #7C89FF #f0f0f0;
    box-sizing: border-box;
}

.offres-cards::-webkit-scrollbar {
    height: 8px;
}

.offres-cards::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.offres-cards::-webkit-scrollbar-thumb {
    background-color: #7C89FF;
    border-radius: 10px;
}

.offre-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px 30px;
    min-width: 320px;
    max-width: 380px;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1 1 30%;
    margin: 10px 0;
}

.offre-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.offre-card.populaire {
    border: 2.5px solid #7C89FF;
    box-shadow: 0 15px 40px rgba(124, 137, 255, 0.2);
}

.offre-header {
    margin-bottom: 25px;
    position: relative;
}

.offre-titre {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000B10;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
}

.offre-prix-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
}

.offre-prix-value {
    font-size: 3.2rem;
    font-weight: 800;
    color: #000B10;
    line-height: 1;
    font-family: 'Rubik', sans-serif;
}

.offre-prix-euro {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000B10;
    margin-left: 3px;
    position: relative;
    bottom: 8px;
}

.offre-prix-suffix {
    font-size: 1.1rem;
    color: #6b7280;
    margin-left: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.offre-badge {
    position: absolute;
    top: -20px;
    right: 0;
    background: linear-gradient(90deg, #7C89FF, #A6B1FF);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.3);
    z-index: 2;
    transform: translateY(-8px);
}

.offre-main-feature {
    background: #F8F9FF;
    color: #4B5563;
    font-weight: 600;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.5;
    border-left: 3px solid #7C89FF;
}

.offre-btn {
    background: #7C89FF;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 0;
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.offre-btn:hover {
    background: #6A77E6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 137, 255, 0.3);
}

.offre-btn:active {
    transform: translateY(0);
}

.offre-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-top: 25px;
}

.offre-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.5;
}

.offre-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7C89FF;
    font-weight: bold;
    font-size: 1.1rem;
}

.offre-features b {
    color: #000B10;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1400px) {
    .offres-cards {
        max-width: 100%;
        justify-content: center;
    }
    
    .offre-card {
        min-width: 300px;
        padding: 35px 25px;
    }
}

@media (max-width: 1024px) {
    .offres-cards {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .offre-card {
        min-width: 280px;
        padding: 30px 20px;
    }
    
    .offre-titre {
        font-size: 1.6rem;
    }
    
    .offre-prix-value {
        font-size: 2.8rem;
    }
    
    .offre-features li {
        font-size: 0.95rem;
        padding-left: 25px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin: 0 0 20px 0;
        padding: 0 20px;
        width: 100%;
    }
    
    .offres-cards {
        padding: 20px 20px 40px 20px;
        margin: 0;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .offres-toggle {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .offre-card {
        min-width: 280px;
        max-width: 90%;
        width: 90%;
        padding: 25px 20px;
    }
    
    .offre-titre {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .offre-prix-value {
        font-size: 2.5rem;
    }
    
    .offre-main-feature {
        font-size: 0.95rem;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .offre-features li {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .offres-toggle {
        max-width: 300px;
        margin-bottom: 40px;
    }
    
    .toggle-btn {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .offre-card {
        padding: 30px 20px;
    }
    
    .offre-titre {
        font-size: 1.6rem;
    }
    
    .offre-prix-value {
        font-size: 2.8rem;
    }
    
    .offre-main-feature {
        font-size: 1rem;
    }
    
    .offre-features li {
        font-size: 1rem;
    }
}
