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

.journey-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 ITINERARY ET SPACES */
.journey-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 */
.journey-section-modern .section-header-modern h2,
.journey-section-modern .section-header-modern .display-4,
.journey-section-modern .section-header-modern .text-gradient-enhanced {
    color: #1a365d !important;
    -webkit-text-fill-color: transparent !important;
}

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

.journey-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 */
.journey-section-modern .header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

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

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

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

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

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

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

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

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

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

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

.journey-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 */
.journey-section-modern .description-container {
    max-width: 600px;
    margin: 0 auto;
}

.journey-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 */
.journey-section-modern .description-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

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

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

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

/* Modern Journey Timeline */
.journey-timeline-modern {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.journey-timeline-modern::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Journey Item */
.journey-item-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.journey-item-modern:nth-child(even) {
    flex-direction: row-reverse;
}

/* Journey Marker */
.journey-marker {
    position: relative;
    flex-shrink: 0;
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.journey-number {
    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;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
    position: relative;
    z-index: 12;
    transition: all 0.3s ease;
}

.journey-marker:hover .journey-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.4);
}

.journey-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
    z-index: 15;
    border: 2px solid white;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Journey Content */
.journey-content {
    flex: 1;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.journey-content::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;
}

.journey-item-modern:hover .journey-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

/* Journey Badge */
.journey-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(44, 82, 130, 0.05) 100%);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.journey-badge:hover {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.15) 0%, rgba(44, 82, 130, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

/* Journey Title */
.journey-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* Journey Description */
.journey-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Journey Features */
.journey-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;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .journey-timeline-modern::before {
        left: 2rem;
    }
    
    .journey-item-modern {
        flex-direction: row !important;
        margin-left: 4rem;
    }
    
    .journey-marker {
        margin: 0 1rem 0 0;
    }
}

@media (max-width: 992px) {
    .journey-timeline-modern::before {
        left: 1.5rem;
    }
    
    .journey-item-modern {
        margin-left: 3rem;
    }
    
    .journey-content {
        padding: 1.5rem;
    }
    
    .journey-title {
        font-size: 1.25rem;
    }
    
    .journey-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .journey-section-modern {
        padding: 3rem 0;
    }
    
    .journey-timeline-modern::before {
        left: 1rem;
    }
    
    .journey-item-modern {
        margin-left: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .journey-marker {
        margin: 0 0.75rem 0 0;
    }
    
    .journey-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .journey-icon {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
        top: -8px;
        right: -8px;
    }
    
    .journey-content {
        padding: 1.25rem;
    }
    
    .journey-title {
        font-size: 1.125rem;
    }
    
    .journey-description {
        font-size: 0.825rem;
    }
    
    .feature-tag {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .journey-timeline-modern::before {
        left: 0.75rem;
    }
    
    .journey-item-modern {
        margin-left: 2rem;
    }
    
    .journey-marker {
        margin: 0 0.5rem 0 0;
    }
    
    .journey-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .journey-icon {
        width: 22px;
        height: 22px;
        font-size: 0.6875rem;
        top: -6px;
        right: -6px;
    }
    
    .journey-content {
        padding: 1rem;
    }
    
    .journey-features {
        gap: 0.375rem;
    }
    
    .feature-tag {
        font-size: 0.625rem;
        padding: 0.25rem 0.4375rem;
    }
}
