/* Tarifs CSS - Style moderne basé sur index.php */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Toggle Pricing */
.pricing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.toggle-option {
    background: none;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 46px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-option.active {
    background: white;
    color: #6366F1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-save {
    background: #10B981;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Hero Bundles Link */
.hero-bundles-link {
    margin-top: 3rem;
}

.scroll-to-bundles {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border: 3px solid white;
    border-radius: 50px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-to-bundles::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.scroll-to-bundles:hover::before {
    left: 100%;
}

.scroll-to-bundles:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: white;
}

.scroll-to-bundles svg:first-child {
    color: #FEF3C7;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.scroll-to-bundles svg:last-child {
    animation: bounce 2s infinite;
    margin-left: -0.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(4px);
    }
    60% {
        transform: translateY(2px);
    }
}

/* Pulse animation for attention */
.hero-bundles-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
    }
}

/* Section Headers */
.products-pricing-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1F2937;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: #6B7280;
    margin-bottom: 3rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2.5rem 180px 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 600px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #6366F1;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.badge-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 0 20px 0 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-header {
    min-height: 100px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.5;
    min-height: 3rem;
}

/* Price Section */
.price-section {
    margin-bottom: 2rem;
    min-height: 80px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6366F1;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1F2937;
}

.period {
    font-size: 1.125rem;
    color: #6B7280;
}

.engagement-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin: 0;
}

.engagement-info svg {
    color: #6366F1;
}

.engagement-info.no-engagement {
    color: #10B981;
}

.engagement-info.no-engagement svg {
    color: #10B981;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #4B5563;
}

.features-list svg {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Card Actions */
.card-actions {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-actions .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-actions .btn svg {
    flex-shrink: 0;
}

.btn-link {
    color: #6366F1;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #4F46E5;
}

/* Bundles Section */
.bundles-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6B7280;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bundle-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bundle-card.featured {
    border: 2px solid #6366F1;
    transform: scale(1.05);
}

.bundle-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bundle-description {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.bundle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.bundle-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.bundle-discount {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.bundle-products {
    margin-bottom: 2rem;
}

.bundle-product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #4B5563;
}

.bundle-product svg {
    color: #10B981;
}

.bundle-pricing {
    margin-bottom: 2rem;
}

.price-comparison {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.original-price .label,
.discounted-price .label {
    display: block;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 4px;
}

.original-price .value {
    text-decoration: line-through;
    color: #9CA3AF;
    font-weight: 500;
}

.discounted-price .value {
    color: #1F2937;
    font-weight: 700;
    font-size: 1.125rem;
}

.savings-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Enterprise Section */
.enterprise-section {
    padding: 80px 0;
}

.enterprise-card {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.enterprise-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.enterprise-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.enterprise-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.enterprise-features svg {
    color: #10B981;
}

.enterprise-action {
    text-align: center;
}

.enterprise-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h3 svg {
    color: #6366F1;
    flex-shrink: 0;
}

.faq-item p {
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #6366F1;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-note svg {
    color: #10B981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 40px;
    }
    
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .bundles-grid {
        grid-template-columns: 1fr;
    }
    
    .bundle-card.featured {
        transform: none;
    }
    
    .enterprise-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .enterprise-features {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card,
    .bundle-card {
        padding: 1.5rem;
    }
    
    .enterprise-card {
        padding: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}