/* ================================================
   TRANSITIONS FORTES ET MARQUÉES
   Pour une séparation visuelle claire entre sections
   ================================================ */

/* ================================================
   1. TRANSITION FORTE POUR RESEARCH DATA
   ================================================ */

/* Diviseur avec gradient et ombre */
.strong-section-divider {
    position: relative;
    height: 160px;
    margin: -80px 0;
    z-index: 10;
    overflow: hidden;
}

.strong-section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(167, 243, 208, 0.05) 20%,
        rgba(199, 229, 255, 0.08) 50%,
        rgba(229, 217, 255, 0.05) 80%,
        transparent 100%);
    transform: translateY(-50%);
    filter: blur(20px);
}

.strong-section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.3) 20%,
        rgba(236, 72, 153, 0.3) 50%,
        rgba(20, 184, 166, 0.3) 80%,
        transparent 100%);
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    animation: pulseWidth 4s ease-in-out infinite;
}

@keyframes pulseWidth {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1);
    }
}

/* Points décoratifs animés */
.divider-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 24px;
    z-index: 2;
}

.divider-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    animation: dotPulse 2s ease-in-out infinite;
}

.divider-dot:nth-child(1) {
    animation-delay: 0s;
}

.divider-dot:nth-child(2) {
    animation-delay: 0.3s;
    width: 16px;
    height: 16px;
}

.divider-dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ================================================
   2. TRANSITION GÉOMÉTRIQUE FORTE
   ================================================ */

.geometric-transition {
    position: relative;
    height: 120px;
    margin-top: -60px;
    margin-bottom: -60px;
    overflow: hidden;
    z-index: 5;
}

.geometric-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 48%, 
        #F0FDF9 50%, 
        #F0FDF9 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
}

.geometric-transition::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--mint-300) 0%, 
        var(--sky-300) 50%, 
        var(--lavender-300) 100%);
    filter: blur(1px);
    box-shadow: 0 0 30px rgba(167, 243, 208, 0.4);
}

/* ================================================
   3. SECTION RESEARCH DATA - STYLE RENFORCÉ
   ================================================ */

.research-data.strong-contrast {
    background: linear-gradient(180deg, 
        #E8FBF5 0%,          /* Menthe plus marquée */
        #E0F2FF 35%,         /* Bleu ciel visible */
        #F3EDFF 70%,         /* Lavande douce */
        #FFF9FE 100%);       /* Rose très léger */
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, 
        rgba(167, 243, 208, 0.5) 0%, 
        rgba(147, 197, 253, 0.5) 50%, 
        rgba(196, 181, 253, 0.5) 100%) 1;
    position: relative;
}

/* Overlay pattern pour plus de texture */
.research-data.strong-contrast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(167, 243, 208, 0.02) 100px,
            rgba(167, 243, 208, 0.02) 200px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(147, 197, 253, 0.02) 100px,
            rgba(147, 197, 253, 0.02) 200px
        );
    pointer-events: none;
}

/* Badge "Nouvelle section" */
.section-badge {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 243, 208, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-modern);
    box-shadow: 
        0 4px 20px rgba(167, 243, 208, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.05);
    animation: badgeFadeIn 1s ease forwards;
    z-index: 10;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ================================================
   4. WAVE TRANSITION RENFORCÉE
   ================================================ */

.strong-wave-transition {
    position: relative;
    padding-bottom: 80px;
}

.strong-wave-transition::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 160px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='waveGrad' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23E8FBF5'/%3E%3Cstop offset='100%25' stop-color='%23E0F2FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,32 C360,96 720,0 1080,48 C1260,72 1380,48 1440,32 L1440,160 L0,160 Z' fill='url(%23waveGrad)' opacity='1'/%3E%3Cpath d='M0,64 C240,120 480,20 720,64 C960,108 1200,20 1440,64 L1440,160 L0,160 Z' fill='%23F0FDF9' opacity='0.5'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
}

/* ================================================
   5. RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .strong-section-divider {
        height: 100px;
        margin: -50px 0;
    }
    
    .divider-dots {
        gap: 16px;
    }
    
    .divider-dot {
        width: 8px;
        height: 8px;
    }
    
    .divider-dot:nth-child(2) {
        width: 12px;
        height: 12px;
    }
    
    .geometric-transition {
        height: 80px;
        margin-top: -40px;
        margin-bottom: -40px;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.5rem;
    }
    
    .strong-wave-transition {
        padding-bottom: 60px;
    }
    
    .strong-wave-transition::after {
        height: 100px;
    }
}
