/* Modern CTA Section Styles */
.cta-section-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 54, 93, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Header Styles - COHÉRENT AVEC LES AUTRES SECTIONS */
.cta-section-modern .section-header-modern {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(26, 54, 93, 0.08) 0%, 
        rgba(44, 82, 130, 0.05) 50%, 
        rgba(43, 108, 176, 0.08) 100%);
    border-radius: 1rem;
    margin-bottom: 3rem;
    overflow: hidden;
    border: 2px solid rgba(26, 54, 93, 0.1);
}

/* Force override parent CSS */
.cta-section-modern .section-header-modern h2,
.cta-section-modern .section-header-modern .display-4,
.cta-section-modern .section-header-modern .text-gradient-enhanced {
    color: #1a365d !important;
    -webkit-text-fill-color: transparent !important;
}

.cta-section-modern .section-header-modern p,
.cta-section-modern .section-header-modern .description-enhanced,
.cta-section-modern .section-header-modern .lead {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.cta-section-modern .section-header-modern .section-badge-enhanced {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%) !important;
    color: white !important;
    border: 2px solid #1a365d !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Header Decorations */
.cta-section-modern .header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-section-modern .decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.cta-section-modern .decoration-circle-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    top: -60px;
    left: 10%;
    animation-delay: 0s;
}

.cta-section-modern .decoration-circle-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    top: 20px;
    right: 15%;
    animation-delay: 2s;
}

.cta-section-modern .decoration-circle-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b6cb0 0%, #3182ce 100%);
    bottom: -30px;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Enhanced Section Badge */
.cta-section-modern .section-badge-enhanced {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    border: 2px solid rgba(26, 54, 93, 0.2);
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
}

.cta-section-modern .section-badge-enhanced::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: left 0.6s ease;
}

.cta-section-modern .section-badge-enhanced:hover::before {
    left: 100%;
}

.cta-section-modern .section-badge-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.4);
}

.cta-section-modern .badge-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Title */
.cta-section-modern .display-4 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

.cta-section-modern .title-background {
    position: relative;
    display: inline-block;
}

.cta-section-modern .text-gradient-enhanced {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 30%, #2b6cb0 60%, #3182ce 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative !important;
    font-weight: 800 !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9)) !important;
}

.cta-section-modern .title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%) !important;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.3) !important;
}

.cta-section-modern .title-underline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Enhanced Description - ÉLÉGANT ET LISIBLE */
.cta-section-modern .description-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section-modern .description-enhanced {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
}

/* Description Stats - DESIGN ÉLÉGANT */
.cta-section-modern .description-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-section-modern .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
    border: 1px solid rgba(26, 54, 93, 0.15);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cta-section-modern .stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
    border-color: rgba(26, 54, 93, 0.25);
}

.cta-section-modern .stat-item i {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.cta-section-modern .stat-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a365d;
    text-align: center;
}

/* CTA Actions Modern */
.cta-actions-modern {
    position: relative;
    z-index: 2;
}

/* CTA Cards Grid */
.cta-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* CTA Card */
.cta-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(44, 82, 130, 0.01) 100%);
    pointer-events: none;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

/* CTA Card Variants */
.cta-card-primary {
    border-top: 4px solid #1a365d;
}

.cta-card-primary:hover {
    border-top-color: #2c5282;
}

.cta-card-secondary {
    border-top: 4px solid #2c5282;
}

.cta-card-secondary:hover {
    border-top-color: #2b6cb0;
}

.cta-card-tertiary {
    border-top: 4px solid #2b6cb0;
}

.cta-card-tertiary:hover {
    border-top-color: #3182ce;
}

/* CTA Card Icon */
.cta-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    color: white;
    font-size: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cta-card:hover .cta-card-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.4);
}

.cta-card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 1rem;
}

/* CTA Card Content */
.cta-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.cta-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.cta-card-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* CTA Card Features */
.cta-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(44, 82, 130, 0.03) 100%);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(44, 82, 130, 0.05) 100%);
    color: #1a365d;
    transform: translateY(-1px);
}

.feature-tag i {
    color: #1a365d;
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

/* CTA Card Action */
.cta-card-action {
    margin-top: auto;
}

/* Modern WCAG Buttons */
.btn-modern-wcag {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-modern-wcag::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: left 0.6s ease;
}

.btn-modern-wcag:hover::before {
    left: 100%;
}

.btn-modern-wcag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Primary WCAG Button */
.btn-primary-wcag {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    color: white;
    border-color: #1a365d;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}

.btn-primary-wcag:hover {
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 50%, #3182ce 100%);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.4);
}

/* Outline Primary WCAG Button */
.btn-outline-primary-wcag {
    background: transparent;
    color: #1a365d;
    border-color: #1a365d;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.btn-outline-primary-wcag:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* Outline Secondary WCAG Button */
.btn-outline-secondary-wcag {
    background: transparent;
    color: #64748b;
    border-color: #64748b;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.2);
}

.btn-outline-secondary-wcag:hover {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

/* Additional Info Section */
.cta-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    font-size: 1.25rem;
    border-radius: 0.75rem;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(26, 54, 93, 0.3);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.info-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Animations */
.animate-fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.animate-fade-in-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cta-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-additional-info {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-card {
        padding: 1.5rem;
    }
    
    .cta-card-title {
        font-size: 1.25rem;
    }
    
    .cta-card-description {
        font-size: 0.875rem;
    }
    
    .cta-additional-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cta-section-modern {
        padding: 3rem 0;
    }
    
    .cta-cards-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .cta-card {
        padding: 1.25rem;
    }
    
    .cta-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .cta-card-title {
        font-size: 1.125rem;
    }
    
    .cta-card-description {
        font-size: 0.825rem;
    }
    
    .btn-modern-wcag {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-title {
        font-size: 1rem;
    }
    
    .info-description {
        font-size: 0.825rem;
    }
}

@media (max-width: 576px) {
    .cta-card {
        padding: 1rem;
    }
    
    .cta-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .cta-card-features {
        gap: 0.375rem;
    }
    
    .feature-tag {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }
    
    .btn-modern-wcag {
        padding: 0.625rem 1.25rem;
        font-size: 0.825rem;
        width: 100%;
        justify-content: center;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-icon {
        margin: 0 0 1rem 0;
    }
}
