/* ==============================================
   SECTION PRICING PDF CHAT - Styles CSS Simplifiés
   ============================================== */

/* Section principale */
.pricing-section-modern {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%) !important;
    color: white !important;
    padding: 10px 0 20px 0;
    min-height: 90vh;
}

/* Force tous les textes dans la section pricing à être blancs */
.pricing-section-modern * {
    color: white !important;
}

/* Textes spécifiques plus clairs */
.pricing-section-modern .text-gray-600,
.pricing-section-modern .text-gray-400,
.pricing-section-modern .text-gray-300 {
    color: #d1d5db !important;
}

.pricing-section-modern .text-gray-700 {
    color: #e5e7eb !important;
}

/* Headers et titres */
.pricing-section-modern h2,
.pricing-section-modern h3,
.pricing-section-modern h4 {
    color: white !important;
}

/* Badges et éléments spéciaux */
.pricing-section-modern .bg-green-100 {
    background: rgba(34, 197, 94, 0.2) !important;
}

.pricing-section-modern .text-green-800 {
    color: #4ade80 !important;
}

.pricing-section-modern .bg-violet-100 {
    background: rgba(139, 92, 246, 0.2) !important;
}

.pricing-section-modern .text-violet-600 {
    color: #a78bfa !important;
}

/* Boutons avec background gray */
.pricing-section-modern .bg-gray-100 {
    background: rgba(75, 85, 99, 0.3) !important;
}

.pricing-section-modern .text-gray-900 {
    color: white !important;
}

.pricing-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Effets d'arrière-plan cohérents avec les autres sections */
.pricing-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.pricing-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.pricing-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: pricing-particles-float 20s ease-in-out infinite;
}

@keyframes pricing-particles-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(0.5deg); }
    66% { transform: translate(-10px, 10px) rotate(-0.3deg); }
}

.dark .pricing-section-modern {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    /* Animation supprimée */
}

/* Header de la section */
.pricing-header-container {
    /* Animation supprimée */
}

.pricing-header-container h2 {
    background: linear-gradient(135deg, #1f2937, #8b5cf6, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 6s ease infinite;
}

@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dark .pricing-header-container h2 {
    background: linear-gradient(135deg, #f9fafb, #a78bfa, #67e8f9);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Toggle de facturation moderne */
.billing-toggle-modern {
    background: rgba(55, 65, 81, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 85, 99, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.dark .billing-toggle-modern {
    background: rgba(55, 65, 81, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.billing-toggle-modern .toggle-btn {
    color: #d1d5db !important;
    transition: none;
    position: relative;
    font-weight: 500;
}

.billing-toggle-modern .toggle-btn.active {
    background: rgba(55, 65, 81, 0.9) !important;
    color: #a78bfa !important;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2) !important;
    transform: translateY(-1px);
}

.dark .billing-toggle-modern .toggle-btn.active {
    background: rgba(55, 65, 81, 0.9) !important;
    color: #a78bfa !important;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2) !important;
}

/* Cartes de pricing modernes */
.pricing-cards-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card-modern {
    background: rgba(31, 41, 55, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 85, 99, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: white !important;
    will-change: transform;
    transform: translateZ(0);
}

/* Plus besoin de z-index maintenant que les overlays sont supprimés */

/* Overlay supprimé - causait des problèmes */

/* Hover overlay supprimé */

.pricing-card-modern:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
}

.dark .pricing-card-modern {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark .pricing-card-modern:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
}

/* Carte populaire */
.popular-card {
    border-color: #8b5cf6 !important;
    position: relative;
    z-index: 1;
}

/* Overlay carte populaire supprimé - causait le problème bleu */

.popular-card:hover {
    box-shadow: none !important;
}

/* Dark overlay supprimé aussi */



/* Prix avec animations */
.pricing-amount-modern {
    position: relative;
}

.pricing-amount-modern span:first-child {
    display: inline-block;
    /* Transition supprimée */
}

.pricing-card-modern:hover .pricing-amount-modern span:first-child {
    transform: none;
}

/* Badge d'économies */
.savings-badge-modern {
    /* Animation supprimée */
    backdrop-filter: blur(10px);
}

@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Boutons CTA avec effets avancés */
.pricing-card-modern button {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: none; /* Transitions désactivées */
}

.pricing-card-modern button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
}

.pricing-card-modern button:hover::before {
    left: -100%; /* Pas d'animation */
}

.pricing-card-modern button:hover {
    transform: none;
    box-shadow: none;
}

.pricing-card-modern button:active {
    transform: translateY(0);
}

/* Styles spécifiques pour les boutons selon le type */
.pricing-card-modern button[class*="from-violet"] {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.pricing-card-modern button[class*="from-violet"]:hover {
    box-shadow: none;
}

.pricing-card-modern button[class*="from-emerald"] {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.pricing-card-modern button[class*="from-emerald"]:hover {
    box-shadow: none;
}

/* Features avec animations */
.pricing-card-modern ul li {
    opacity: 1;
    transform: translateX(0);
    /* Animation supprimée - contenu toujours visible */
}

/* Animation-delay supprimés */

/* Hover effects pour les features - Supprimés */
.pricing-card-modern ul li:hover {
    background: none;
    border-radius: none;
    padding: initial;
    margin: initial;
    transition: none;
}

.dark .pricing-card-modern ul li:hover {
    background: none;
}

/* Footer de pricing */
.pricing-footer {
    /* Animation supprimée */
}

.pricing-footer > div {
    background: rgba(31, 41, 55, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 85, 99, 0.3) !important;
    color: white !important;
}

.dark .pricing-footer > div {
    background: rgba(31, 41, 55, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.3) !important;
    color: white !important;
}

/* Responsive Design Optimisé pour Mobile */
@media (max-width: 1024px) {
    .pricing-section-modern {
        padding: 60px 0;
        min-height: auto;
    }
    
    .pricing-cards-modern {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .pricing-card-modern:hover {
        transform: none;
        box-shadow: none;
    }
    
    .pricing-header-container {
        margin-bottom: 3rem;
    }
    
    .pricing-header-container h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .pricing-section-modern {
        padding: 40px 0;
        background-attachment: scroll; /* Optimisation pour mobile */
    }
    
    /* Container principal mobile-friendly */
    .pricing-container {
        max-width: 100%;
        padding: 0 0; /* Supprime le padding pour permettre le scroll horizontal */
    }
    
    /* Header optimisé pour mobile */
    .pricing-header-container {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0 16px; /* Remet le padding seulement pour le header */
    }
    
    .pricing-header-container h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .pricing-header-container p {
        font-size: 1rem;
        line-height: 1.5;
        color: #94a3b8;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Toggle de facturation mobile */
    .billing-toggle-modern {
        flex-direction: row;
        gap: 0;
        padding: 0.4rem;
        margin: 0 auto 2rem;
        max-width: 280px;
        backdrop-filter: blur(15px);
    }
    
    .billing-toggle-modern .toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        min-height: 44px; /* Taille de touche recommandée pour mobile */
    }
    
    /* Layout horizontal pour mobile */
    .pricing-cards-modern {
        display: flex;
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 0 16px;
        padding-bottom: 20px; /* Espace pour la scrollbar */
        margin-bottom: 3rem;
        
        /* Scrollbar styling */
        scrollbar-width: thin;
        scrollbar-color: rgba(139, 92, 246, 0.5) transparent;
    }
    
    /* Webkit scrollbar styling */
    .pricing-cards-modern::-webkit-scrollbar {
        height: 6px;
    }
    
    .pricing-cards-modern::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .pricing-cards-modern::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.5);
        border-radius: 3px;
    }
    
    .pricing-cards-modern::-webkit-scrollbar-thumb:hover {
        background: rgba(139, 92, 246, 0.7);
    }
    
    /* Cartes optimisées pour mobile */
    .pricing-card-modern {
        flex: 0 0 300px; /* Largeur réduite pour mobile */
        max-width: none;
        margin: 0;
        padding: 1.25rem; /* Padding réduit */
        /* Optimisations pour mobile */
        backdrop-filter: none; /* Supprimer l'effet de flou coûteux */
        transform: none !important; /* Désactiver complètement les transformations */
    }
    
    .pricing-card-modern:hover {
        /* On s'assure qu'il n'y a pas de transformation au survol sur mobile */
        transform: none !important;
    }
    
    /* Header de carte mobile */
    .pricing-card-modern .p-6,
    .pricing-card-modern .sm\\:p-8 {
        padding: 1rem !important;
    }
    
    /* Titres optimisés pour mobile */
    .pricing-card-modern h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .pricing-card-modern p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Prix optimisé pour mobile */
    .pricing-amount-modern {
        margin-bottom: 1rem;
    }
    
    .pricing-amount-modern span:first-child {
        font-size: 2rem !important;
        display: block;
        line-height: 1.1;
    }
    
    .pricing-amount-modern span:last-child {
        font-size: 0.9rem;
        color: #94a3b8;
    }
    
    /* Badge d'économies mobile */
    .savings-badge-modern {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Features liste mobile */
    .pricing-card-modern ul {
        margin-bottom: 1.5rem;
    }
    
    .pricing-card-modern ul li {
        padding: 0.25rem 0;
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        gap: 0.5rem;
    }
    
    .pricing-card-modern ul li span {
        font-size: 0.8rem !important;
    }
    
    /* Icônes features plus petites */
    .pricing-card-modern ul li .w-5 {
        width: 1rem !important;
        height: 1rem !important;
    }
    
    /* Section features mobile */
    .pricing-card-modern .flex-1 {
        padding: 1rem !important;
    }
    
    .pricing-card-modern h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Boutons CTA mobile */
    .pricing-card-modern button {
        width: 100%;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-radius: 12px;
        min-height: 44px; /* Hauteur minimum pour mobile */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
    }
    
    .pricing-card-modern button svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    
    .pricing-card-modern button:active {
        transform: scale(0.98);
    }
    
    /* Badge populaire mobile */
    .popular-card {
        position: relative;
        border-width: 2px;
        transform: none; /* Pas de scale sur mobile */
        box-shadow: 0 12px 48px rgba(139, 92, 246, 0.3) !important; /* Plus visible sur mobile */
    }
    
    .popular-card .absolute {
        top: -0.75rem !important;
    }
    
    .popular-card .absolute > div {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    }
    
    /* Garantie mobile */
    .pricing-card-modern .mt-3 {
        margin-top: 0.5rem !important;
        font-size: 0.75rem !important;
    }
    

    
    /* Footer mobile */
    .pricing-footer {
        margin-top: 3rem;
        padding: 0 16px;
    }
    
    .pricing-footer > div {
        border-radius: 16px;
        padding: 1.5rem;
        background: rgba(15, 23, 42, 0.8);
        border: 1px solid rgba(139, 92, 246, 0.2);
    }
}

/* Indicateur de scroll pour mobile */
.mobile-scroll-indicator {
    display: none;
}

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        display: block;
        text-align: center;
        margin-top: 20px;
        padding: 0 16px;
    }
    
    .mobile-scroll-indicator span {
        font-size: 12px;
        color: rgba(139, 92, 246, 0.7);
        animation: fadeInOut 3s ease-in-out infinite;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (max-width: 480px) {
    .pricing-section-modern {
        padding: 30px 0;
    }
    
    /* Container très petit écran */
    .pricing-container {
        padding: 0 0;
    }
    
    /* Header très petit écran */
    .pricing-header-container {
        margin-bottom: 2rem;
        padding: 0 12px;
    }
    
    .pricing-header-container h2 {
        font-size: clamp(1.6rem, 8vw, 2rem);
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .pricing-header-container p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Toggle très petit écran */
    .billing-toggle-modern {
        max-width: 260px;
        padding: 0.3rem;
    }
    
    .billing-toggle-modern .toggle-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        min-height: 42px;
    }
    
    /* Cartes très petit écran en horizontal */
    .pricing-cards-modern {
        gap: 12px;
        padding: 0 12px;
    }
    
    .pricing-card-modern {
        flex: 0 0 280px; /* Largeur encore plus compacte pour très petits écrans */
        padding: 1rem; /* Réduire encore le padding */
    }
    
    /* Header encore plus compact */
    .pricing-card-modern .p-6,
    .pricing-card-modern .sm\\:p-8 {
        padding: 0.75rem !important;
    }
    
    .pricing-card-modern .flex-1 {
        padding: 0.75rem !important;
    }
    
    /* Titres très petit écran */
    .pricing-card-modern h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    .pricing-card-modern p {
        font-size: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Prix très petit écran */
    .pricing-amount-modern {
        margin-bottom: 0.75rem;
    }
    
    .pricing-amount-modern span:first-child {
        font-size: 1.75rem !important; /* Réduire la taille de la police du prix */
    }
    
    .pricing-amount-modern span:last-child {
        font-size: 0.8rem;
    }
    
    /* Badge très petit */
    .savings-badge-modern {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Features très petit écran */
    .pricing-card-modern ul {
        margin-bottom: 1rem;
    }
    
    .pricing-card-modern ul li {
        font-size: 0.75rem !important; /* Réduire la taille de la police des fonctionnalités */
        padding: 0.125rem 0;
        gap: 0.375rem; /* Réduire l'espacement */
    }
    
    .pricing-card-modern ul li span {
        font-size: 0.75rem !important;
    }
    
    .pricing-card-modern h4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Boutons très petits */
    .pricing-card-modern button {
        padding: 0.625rem 0.75rem !important;
        font-size: 0.8rem !important;
        min-height: 40px;
        gap: 0.25rem;
    }
    
    .pricing-card-modern button svg {
        width: 0.875rem !important;
        height: 0.875rem !important;
    }
    
    /* Badge populaire très petit */
    .popular-card .absolute > div {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
    
    .pricing-card-modern .mt-3 {
        font-size: 0.7rem !important;
    }
    
    /* Boutons très petit écran */
    .pricing-card-modern button {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        min-height: 46px;
        border-radius: 12px;
    }
    
    /* Footer très petit écran */
    .pricing-footer {
        padding: 0 12px;
    }
    
    .pricing-footer > div {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
        text-align: center;
    }
    
    .pricing-footer > div p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Optimisations spécifiques pour très petits écrans */
@media (max-width: 360px) {
    .pricing-section-modern {
        padding: 25px 0;
    }
    
    .pricing-container {
        padding: 0 0;
    }
    
    .pricing-header-container {
        padding: 0 10px;
    }
    
    .pricing-header-container h2 {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .pricing-cards-modern {
        padding: 0 10px;
        gap: 10px;
    }
    
    .pricing-card-modern {
        flex: 0 0 260px; /* Largeur minimale pour très petits écrans */
        padding: 0.875rem;
    }
    
    /* Header ultra compact */
    .pricing-card-modern .p-6,
    .pricing-card-modern .sm\\:p-8 {
        padding: 0.625rem !important;
    }
    
    .pricing-card-modern .flex-1 {
        padding: 0.625rem !important;
    }
    
    /* Titres ultra petits */
    .pricing-card-modern h3 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .pricing-card-modern p {
        font-size: 0.7rem !important;
        margin-bottom: 0.625rem !important;
    }
    
    /* Prix ultra petit */
    .pricing-amount-modern {
        margin-bottom: 0.625rem;
    }
    
    .pricing-amount-modern span:first-child {
        font-size: 1.5rem !important;
    }
    
    .pricing-amount-modern span:last-child {
        font-size: 0.75rem;
    }
    
    /* Features ultra compact */
    .pricing-card-modern ul {
        margin-bottom: 0.875rem;
    }
    
    .pricing-card-modern ul li {
        font-size: 0.7rem !important;
        padding: 0.1rem 0;
        gap: 0.25rem;
    }
    
    .pricing-card-modern ul li span {
        font-size: 0.7rem !important;
    }
    
    .pricing-card-modern h4 {
        font-size: 0.75rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    /* Boutons ultra compacts */
    .pricing-card-modern button {
        padding: 0.5rem 0.625rem !important;
        font-size: 0.75rem !important;
        min-height: 36px;
        gap: 0.125rem;
    }
    
    .pricing-card-modern button svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }
    
    .pricing-footer {
        padding: 0 10px;
    }
    
    .billing-toggle-modern {
        max-width: 240px;
        padding: 0.25rem;
    }
    
    .billing-toggle-modern .toggle-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
}

/* Optimisations tactiles pour mobile */
@media (hover: none) and (pointer: coarse) {
    /* Désactive les effets de survol sur les appareils tactiles */
    .pricing-card-modern:hover {
        transform: none !important; /* Forcer la désactivation de la transformation */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(75, 85, 99, 0.3) !important;
    }
    
    .pricing-card-modern button:hover {
        /* Style de base du bouton */
        transform: none;
    }
    
    /* Améliorer les interactions tactiles */
    .pricing-card-modern button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .toggle-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Réduire les effets de hover sur les features */
    .pricing-card-modern ul li:hover {
        background: none;
        padding: initial;
        margin: initial;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .pricing-card-modern,
    .pricing-card-modern *,
    .toggle-btn {
        animation: none !important;
        transition: none !important;
    }
    
    .pricing-card-modern:hover {
        transform: none;
    }
    
    /* Maintenir une transition minimale pour les boutons */
    .pricing-card-modern button,
    .toggle-btn {
        transition: background-color 0.2s ease !important;
    }
}

/* Focus states améliorés pour l'accessibilité */
.toggle-btn:focus,
.pricing-card-modern button:focus {
    outline: 3px solid #8b5cf6;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.2);
}

/* Focus visible pour navigation clavier */
.toggle-btn:focus-visible,
.pricing-card-modern button:focus-visible {
    outline: 3px solid #8b5cf6;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.3);
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 768px) {
    /* Meilleur contraste pour les textes secondaires */
    .pricing-card-modern ul li,
    .pricing-amount-modern span:last-child {
        color: #cbd5e1;
    }
    
    /* Espacements optimisés pour la lecture */
    .pricing-card-modern h3 {
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    /* Éviter les coupures de mots malheureuses */
    .pricing-card-modern h3,
    .pricing-header-container h2 {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* États de chargement */
.pricing-card-modern.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pricing-card-modern.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Effets de glow pour les cartes premium */
.popular-card {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.5), 0 8px 32px rgba(139, 92, 246, 0.15);
}

.popular-card:hover {
    box-shadow: none;
}

/* Animation d'apparition des cartes */
/* Animation-delay des cartes supprimés */

/* Optimisations performance - animations désactivées */
.pricing-card-modern {
    will-change: auto;
    backface-visibility: hidden;
    perspective: none;
}

.pricing-card-modern button,
.toggle-btn {
    will-change: auto;
}

/* Thème sombre cohérent avec les autres sections */
.dark .pricing-section-modern {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.dark .pricing-card-modern button[class*="bg-gray"] {
    background: linear-gradient(135deg, #374151, #4b5563);
    color: #f9fafb;
}

.dark .pricing-card-modern button[class*="bg-gray"]:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
} 