/* =============== GLOBAL =============== */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* =============== HERO SECTION - Style Accueil =============== */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

/* Images modèles gauche et droite */
.hero-model-left,
.hero-model-right {
    position: absolute;
    width: 650px;
    top: 0;
    bottom: 0;
    z-index: 100;
    pointer-events: none;
}

.hero-model-left {
    left: clamp(-200px, calc(50vw - 975px), 0px);
}

.hero-model-right {
    right: clamp(-200px, calc(50vw - 975px), 0px);
}

.hero-model-left img,
.hero-model-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

/* Section violette */
.hero-purple-section {
    width: 100%;
    background: 
    linear-gradient(135deg, rgba(203, 108, 230, 0.85) 0%, rgba(185, 104, 255, 0.85) 50%, rgba(216, 150, 255, 0.85) 100%),
    url('../Images/tarifs-background.png');
    background-position: center;
    padding: clamp(30px, 5vw, 60px) 0px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-purple-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: none;
}

.hero-title-underline {
    width: 120px;
    height: 3px;
    background: white;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-tagline {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-premium {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    opacity: 0.9;
}

/* Section blanche avec 2 cartes */
.hero-white-section {
    width: 100%;
    background: white;
    padding: clamp(20px, 4vw, 40px) 0px;
    text-align: center;
    box-sizing: border-box;
}

.hero-choice-title {
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
    color: #cb6ce6;
    margin-bottom: 40px;
    font-weight: bold;
}

.payment-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.payment-card {
    flex: 1;
    max-width: 250px;
    background: white;
    border: 3px solid #cb6ce6;
    border-radius: 18px;
    padding: 30px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(203, 108, 230, 0.3);
    background: rgba(203, 108, 230, 0.05);
}

.payment-card-badge {
    background: #cb6ce6;
    color: white;
    padding: 10px 35px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: bold;
    letter-spacing: 2px;
}

.payment-card-badge.audiotel-badge {
    background: white;
    color: #cb6ce6;
    border: 3px solid #cb6ce6;
}

.payment-card-icon {
    width: clamp(50px, 6vw, 80px);
    height: clamp(50px, 6vw, 80px);
    color: #cb6ce6;
}

.payment-card-icon svg {
    width: 100%;
    height: 100%;
}

/* =============== BARRE DE TRANSITION ÉLÉGANTE =============== */
.transition-bar {
    width: 100%;
    background: linear-gradient(135deg, #cb6ce6 0%, #b968ff 50%, #d896ff 100%);
    padding: clamp(25px, 4vw, 50px) 40px;
    position: relative;
    overflow: hidden;
}

/* Effet de lumière subtile en arrière-plan */
.transition-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateLight 20s linear infinite;
}

@keyframes rotateLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.transition-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Lignes décoratives */
.transition-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, white, transparent);
    position: relative;
    overflow: hidden;
}

.transition-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.transition-text {
    font-size: clamp(1rem, 2.5vw, 2.2rem);
    color: white;
    font-weight: 700;
    text-align: center;
    letter-spacing: clamp(1px, 0.4vw, 4px);
    text-transform: uppercase;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* =============== SECTIONS FORFAITS =============== */
.forfait-section,
.audiotel-section {
    padding: clamp(40px, 6vw, 80px) clamp(15px, 3vw, 40px);
    text-align: center;
}

.forfait-section {
    background: white;
}

.audiotel-section {
    background: #f8f4ff;
}

.tarif-title {
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    color: #cb6ce6;
    margin-bottom: clamp(30px, 5vw, 60px);
    font-weight: bold;
    letter-spacing: clamp(1px, 0.3vw, 3px);
}

.forfait-section h2,
.audiotel-section h2 {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    color: #2c3e50;
    margin-bottom: 20px;
}

.divider {
    width: 150px;
    height: 3px;
    background: #cb6ce6;
    border: none;
    margin: 20px auto;
    border-radius: 2px;
}

.forfait-section p,
.audiotel-section p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #666;
    margin-bottom: 50px;
}

/* Grille de pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    padding-top: 20px;
}

.pricing-card {
    border: 3px solid #cb6ce6;
    border-radius: 20px;
    padding: clamp(25px, 3vw, 40px) clamp(15px, 2vw, 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.25s ease;
}

/* Overlay via ::before, sans aucune transition */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 0;
    border-radius: 17px;
    pointer-events: none;
}

/* Ombre via ::after, isolée pour ne pas affecter la perf */
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(203, 108, 230, 0);
    transition: box-shadow 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card:hover::after {
    box-shadow: 0 10px 30px rgba(203, 108, 230, 0.3);
}

/* Tout le contenu passe au-dessus */
.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card.popular::before {
    background: rgba(248, 244, 255, 0.80);
}

.pricing-card.popular {
    border-width: 4px;
    transform: scale(1.05);
    padding-top: 55px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #cb6ce6;
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: clamp(0.75rem, 1vw, 0.95rem);
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
}

.minutes-title {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    color: #cb6ce6;
    margin: 0;
    font-weight: 600;
}

.btn-choisir {
    background: #cb6ce6;
    color: white;
    padding: clamp(8px, 1vw, 12px) clamp(25px, 4vw, 50px);
    border-radius: 50px;
    border: none;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-choisir:hover {
    background: #b968ff;
    transform: scale(1.05);
}

.price {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #cb6ce6;
    font-weight: bold;
    margin: 0;
}

.bonus {
    color: #ff4444;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: 600;
    margin: 0;
}

/* Anciens styles cachés */
.pricing-cards {
    display: none;
}

.pricing-card.featured {
    transform: none;
}

.badge {
    display: none;
}

.pricing-card h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    color: #2c3e50;
    margin-bottom: 20px;
}

.pricing-card p {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    color: #666;
    margin-bottom: 30px;
}

.pricing-card .btn {
    display: inline-block;
    background: #cb6ce6;
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    background: #b968ff;
    transform: scale(1.05);
}

/* Audiotel */
.audiotel-info {
    max-width: 600px;
    margin: 0 auto;
}

.audiotel-card {
    background: white;
    border: 3px solid #cb6ce6;
    border-radius: 20px;
    padding: 50px 40px;
}

.audiotel-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #cb6ce6;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    background: white;
    border: 3px solid #cb6ce6;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-block;
}

.audiotel-price {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.audiotel-card p {
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: #666;
}

/* Filtres Audiotel */
.audiotel-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.audiotel-filter-btn {
    background: white;
    color: #cb6ce6;
    border: 2px solid #cb6ce6;
    padding: clamp(8px, 1vw, 12px) clamp(15px, 2.5vw, 30px);
    border-radius: 50px;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audiotel-filter-btn:hover {
    background: rgba(203, 108, 230, 0.1);
    transform: translateY(-2px);
}

.audiotel-filter-btn.active {
    background: #cb6ce6;
    color: white;
}

/* Grille des numéros Audiotel */
.audiotel-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 2vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
}

/* Quand un filtre est actif : flex pour garder les cartes côte à côte */
.audiotel-numbers-grid.filtered {
    display: flex;
    flex-wrap: wrap;
}

/* Carte wrapper avec bordure violette */
.audiotel-card-wrapper {
    background: white;
    border: 3px solid #cb6ce6;
    border-radius: 20px;
    padding: clamp(12px, 1.5vw, 20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.audiotel-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(203, 108, 230, 0.4);
}

/* Photo en haut */
.audiotel-photo {
    width: 100%;
    height: clamp(150px, 18vw, 250px);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.audiotel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-audiotel {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #cb6ce6 0%, #8e44ad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    font-weight: bold;
}

/* Cartouche numéro cliquable */
.audiotel-number-link {
    display: block;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.audiotel-number-link:hover {
    transform: scale(1.05);
}

.audiotel-number-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* Anciens styles cachés */
.audiotel-number-card {
    display: none;
}

/* =============== RESPONSIVE =============== */

/* On cache les photos seulement quand l'écran est vraiment trop petit */
@media (max-width: 1300px) {
    .hero-model-left,
    .hero-model-right {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .audiotel-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablette */
@media (max-width: 768px) {
    .payment-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .payment-card {
        max-width: 320px;
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .audiotel-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audiotel-filters {
        gap: 8px;
    }

    .transition-line {
        width: 60px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-purple-content {
        padding: 0 15px;
    }

    .audiotel-numbers-grid {
        grid-template-columns: 1fr;
    }

    .audiotel-filters {
        flex-direction: column;
        align-items: center;
    }

    .audiotel-filter-btn {
        width: 80%;
    }

    .transition-line {
        display: none;
    }
}

/* =============== SECTIONS INFORMATIVES TARIFS =============== */
.tarifs-info-section {
    max-width: 1000px;
    margin: clamp(40px, 6vw, 80px) auto;
    padding: 0 20px;
}

.tarifs-info-card {
    background: white;
    border: 2px solid #cb6ce6;
    border-radius: 20px;
    padding: clamp(25px, 4vw, 40px) clamp(20px, 4vw, 50px);
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(203, 108, 230, 0.15);
    transition: all 0.3s ease;
}

.tarifs-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(203, 108, 230, 0.25);
}

.tarifs-info-title {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    color: #cb6ce6;
    margin-bottom: 20px;
}

.tarifs-info-text {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.tarifs-info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.tarifs-info-list li {
    font-size: clamp(13px, 1.4vw, 16px);
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.tarifs-info-list li::before {
    content: "•";
    color: #cb6ce6;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
}

.tarifs-info-list li strong {
    color: #cb6ce6;
}

/* FAQ Card */
.tarifs-faq-card {
    background: white;
    border: 2px solid #cb6ce6;
    border-radius: 20px;
    padding: clamp(25px, 4vw, 40px) clamp(20px, 4vw, 50px);
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(203, 108, 230, 0.15);
}

.tarifs-faq-main-title {
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 700;
    color: #cb6ce6;
    margin-bottom: 35px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #cb6ce6;
}

.tarifs-faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.tarifs-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tarifs-faq-question {
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 600;
    color: #cb6ce6;
    margin-bottom: 15px;
}

.tarifs-faq-answer {
    font-size: clamp(13px, 1.4vw, 16px);
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* =============== CARTES CLIQUABLES =============== */
a.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.audiotel-card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}