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

/* Section principale */
.pricing-section-modern {
    position: relative;
    background: #e5e7eb !important;
    color: #000 !important;
    padding: 40px 0 64px 0; /* réduit le top pour diminuer l’espace avec la section précédente */
    min-height: auto;
    /* grille subtile */
    background-image: linear-gradient(#d1d5db 1px, transparent 1px), linear-gradient(90deg, #d1d5db 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center;
}

/* Ne force plus tous les textes en blanc, hérite du thème */
.pricing-section-modern * {
    color: inherit !important;
}

/* Textes spécifiques en noir */
.pricing-section-modern .text-gray-600,
.pricing-section-modern .text-gray-400,
.pricing-section-modern .text-gray-300,
.pricing-section-modern .text-gray-700 {
    color: #000 !important;
}

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

/* Headers et titres (fond clair) */
.pricing-section-modern h2,
.pricing-section-modern h3,
.pricing-section-modern h4 {
    color: #000 !important;
}

/* Images décoratives de chaque côté du titre */
.pricing-decor-left,
.pricing-decor-right {
    display: inline-block !important;
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
}

.pricing-decor-left {
    margin-right: 12px !important;
}

.pricing-decor-right {
    margin-left: 12px !important;
}

/* Responsive pour les images décoratives */
@media (max-width: 768px) {
    .pricing-decor-left,
    .pricing-decor-right {
        height: 60px !important;
    }
    
    .pricing-decor-left {
        margin-right: 15px !important;
    }
    
    .pricing-decor-right {
        margin-left: 15px !important;
    }
}

@media (max-width: 480px) {
    .pricing-decor-left,
    .pricing-decor-right {
        height: 40px !important;
    }
    
    .pricing-decor-left {
        margin-right: 10px !important;
    }
    
    .pricing-decor-right {
        margin-left: 10px !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: #000 !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); }
}

/* Section principale en thème clair, avec motif grille subtil */
.pricing-section-modern {
    position: relative;
    background: #ffffff !important;
    color: #111827 !important;
    padding: 80px 0 48px 0; /* réduit l’espace en bas pour rapprocher des témoignages */
    min-height: auto;
    background-image: linear-gradient(#f3f4f6 1px, transparent 1px), linear-gradient(90deg, #f3f4f6 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center;
}

.pricing-section-modern h2,
.pricing-section-modern h3,
.pricing-section-modern h4 {
    color: #111827 !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 {
    color: #000 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    animation: none !important;
}

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

.dark .pricing-header-container h2 {
    color: #f9fafb !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Toggle de facturation moderne */
.billing-toggle-modern {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid #e5e7eb !important; /* gris clair */
    box-shadow: none !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: #6b7280 !important; /* gris moyen */
    transition: none;
    position: relative;
    font-weight: 500;
}

.billing-toggle-modern .toggle-btn.active {
    background: #f3f4f6 !important; /* light */
    color: #111827 !important; /* texte foncé */
    box-shadow: none !important;
    transform: none !important;
}

.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;
}

/* Nouveau header pricing - styles maquette */
.pricing-header-title { letter-spacing: -0.01em; color: #000 !important; }
.pricing-header-title .header-icon { color: #000; }
.pricing-inline-icons { display: inline-flex; align-items: center; gap: 6px; }
.pricing-inline-icon { width: 20px; height: 20px; object-fit: contain; }
@media (min-width: 640px) { .pricing-inline-icon { width: 22px; height: 22px; } }
@media (min-width: 1024px) { .pricing-inline-icon { width: 24px; height: 24px; } }
.pricing-header-toggle { font-size: 14px; }
.pricing-header-toggle .toggle-link { appearance: none; background: transparent; border: 0; padding: 0; margin: 0; font-weight: 600; color: #000; cursor: pointer; }
.pricing-header-toggle .toggle-link.active { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.pricing-header-toggle .toggle-link .text-gray-600 { color: #6b7280 !important; font-weight: 500; }
.pricing-header-toggle .toggle-dot { width: 6px; height: 6px; border-radius: 9999px; background: #f43f5e; display: inline-block; }
.dark .pricing-header-title .header-icon { color: #e5e7eb; }
.dark .pricing-header-toggle .toggle-link { color: #e5e7eb; }
.dark .pricing-header-toggle .toggle-link.active { color: #ffffff; }
.dark .pricing-header-toggle .toggle-link .text-gray-600 { color: #9ca3af !important; }

/* Icônes décoratives en ligne sous le titre */
.pricing-inline-icons { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; }
.pricing-inline-icon { width: 24px; height: 24px; object-fit: contain; }
@media (min-width: 640px) { .pricing-inline-icon { width: 28px; height: 28px; } }
@media (min-width: 1024px) { .pricing-inline-icon { width: 32px; height: 32px; } }

/* Cartes de pricing modernes */
.pricing-cards-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* grille fixe 3 colonnes */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card-modern {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    transition: none !important;
    position: relative;
    color: #111827 !important;
    will-change: auto;
    transform: none;
}

/* 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: none !important;
    box-shadow: none !important;
    border-color: #e5e7eb !important;
}

.dark .pricing-card-modern {
    background: #111827 !important;
    border-color: #374151 !important;
    box-shadow: none !important;
    color: #e5e7eb !important;
}

.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: #e5e7eb !important;
    position: relative;
    z-index: auto;
}

/* 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;
}



/* 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: #000 !important;
    }
    
    /* 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;
    }
    

    

}

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

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        display: block;
        text-align: center;
        margin-top: 12px; /* réduit de 20px à 12px */
        padding: 0 12px; /* réduit légèrement le padding latéral */
    }
    
    .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: 24px 0; /* réduit de 30px à 24px */
    }
    
    /* 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;
    }
    

}

/* 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;
    }
    

    
    .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: #000 !important;
    }
    
    /* 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);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
} 

.pricing-card-modern {
    background: #ffffff !important;
    backdrop-filter: none;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    color: #111827 !important;
    transition: none;
    transform: none;
}

.pricing-card-modern:hover {
    transform: none !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08) !important;
    border-color: #e5e7eb !important;
}

.dark .pricing-card-modern {
    background: #111827 !important;
    border-color: #374151 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    color: #f9fafb !important;
}

.dark .pricing-toggle-modern {
    background: transparent !important;
    backdrop-filter: none;
    border: none !important;
    box-shadow: none !important;
}
.dark .billing-toggle-modern {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.billing-toggle-modern .toggle-btn {
    color: #374151 !important;
    background: transparent !important;
    font-weight: 500;
}
.billing-toggle-modern .toggle-btn.active {
    background: transparent !important;
    color: #111827 !important;
    box-shadow: none !important;
    transform: none;
}
.dark .billing-toggle-modern .toggle-btn.active {
    background: transparent !important;
    color: #e5e7eb !important;
    box-shadow: none !important;
}
.billing-toggle-modern .toggle-dot {
    width: 6px;
    height: 6px;
    background: #ec4899; /* rose */
    border-radius: 9999px;
    display: inline-block;
    margin: 0 12px;
}

.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;
}



/* 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: #000 !important;
    }
    
    /* 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;
    }
    

    

}

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

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        display: block;
        text-align: center;
        margin-top: 12px; /* réduit de 20px à 12px */
        padding: 0 12px; /* réduit légèrement le padding latéral */
    }
    
    .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: 24px 0; /* réduit de 30px à 24px */
    }
    
    /* 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;
    }
    

}

/* 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;
    }
    

    
    .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%);
}

/* Boutons gray en thème sombre */
.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);
}

/* --- Maquette Pricing: styles spécifiques des cartes --- */

/* Bouton CTA dégradé en pilule avec icône ronde à gauche */
.pricing-cta-button {
  background: #e5e7eb;
  border: 0;
  color: #111827;
  border-radius: 9999px;
  padding: 12px 20px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.pricing-cta-button .cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.pricing-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.pricing-cta-button:active { transform: translateY(0); }

/* Liste de fonctionnalités avec pastille ronde et check */
.feature-item { align-items: center; }
.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 2px solid #16a34a; /* emerald-600 */
  background: #ecfdf5;       /* emerald-50 */
  color: #16a34a;
  flex-shrink: 0;
}
.feature-check svg { width: 14px; height: 14px; }

/* Ajustements typographiques de la carte */
.pricing-card-modern h3 { font-size: 20px; font-weight: 700; }
.pricing-amount-modern { margin-top: 4px; }
.pricing-amount-modern span:first-child { letter-spacing: -0.02em; }

/* Overrides maquette: forcer tous les textes en noirs dans la section pricing */
.pricing-section-modern .text-gray-900 { color: #000 !important; }
.pricing-section-modern .text-gray-700 { color: #000 !important; }
.pricing-header-container p { color: #000 !important; }
.pricing-amount-modern span:last-child { color: #000 !important; }