/* ========================================
   FEATURED SECTION - À LA UNE
   Section avec logos flottants et cartes 3D
======================================== */

.featured-section {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

/* Background glows */
.featured-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.featured-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: featured-pulse 8s ease-in-out infinite;
}

.featured-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-violet);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.featured-glow-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-pink);
    top: 50%;
    right: -5%;
    animation-delay: -3s;
}

.featured-glow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: -5%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes featured-pulse {
    0%, 100% { 
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2) translate(20px, -20px);
        opacity: 0.5;
    }
}

/* Header styling */
.featured-section .section-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 4rem;
}

/* Orbit container for cards */
.featured-orbit {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 1000px;
}

/* Individual card */
.featured-card {
    flex: 1;
    max-width: 380px;
    min-height: 480px;
}

.featured-card-inner {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.featured-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.featured-card:hover .featured-card-inner {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(139, 92, 246, 0.15);
}

/* Logo wrapper with floating animation */
.featured-logo-wrapper {
    position: relative;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.featured-logo-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    animation: logo-float 6s ease-in-out infinite;
    z-index: 0;
}

.featured-card:nth-child(1) .featured-logo-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    animation-delay: 0s;
}

.featured-card:nth-child(2) .featured-logo-glow {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
    animation-delay: -2s;
}

.featured-card:nth-child(3) .featured-logo-glow {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
    animation-delay: -4s;
}

@keyframes logo-float {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 0.8;
    }
}

.featured-logo {
    position: relative;
    z-index: 1;
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.5s ease;
}

.featured-card:hover .featured-logo {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Content styles */
.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-violet);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.featured-card:nth-child(2) .featured-badge {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-cyan);
    border-color: rgba(34, 211, 238, 0.3);
}

.featured-card:nth-child(3) .featured-badge {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    border-color: rgba(236, 72, 153, 0.3);
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.featured-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.featured-divider {
    width: 60px;
    height: 2px;
    background: var(--gradient-logo);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.featured-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.featured-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.featured-link:hover {
    background: var(--gradient-logo);
    border-color: transparent;
    transform: translateY(-2px);
}

.featured-link:hover i {
    transform: translate(3px, -3px);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1100px) {
    .featured-orbit {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .featured-card {
        flex: 1 1 calc(50% - 1rem);
        max-width: none;
        min-height: 420px;
    }
    
    .featured-card:nth-child(3) {
        flex: 1 1 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .featured-section {
        padding: 4rem 0 5rem;
    }
    
    .featured-orbit {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .featured-card {
        flex: 1 1 auto;
        width: 100%;
        max-width: 360px;
        min-height: auto;
    }
    
    .featured-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .featured-logo-wrapper {
        width: 150px;
        height: 100px;
    }
    
    .featured-logo {
        max-width: 130px;
        max-height: 60px;
    }
    
    .featured-title {
        font-size: 1.3rem;
    }
    
    .featured-glow {
        opacity: 0.2;
    }
    
    .featured-glow-1 {
        width: 250px;
        height: 250px;
    }
    
    .featured-glow-2 {
        width: 200px;
        height: 200px;
    }
    
    .featured-glow-3 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .featured-card-inner {
        padding: 1.5rem 1.25rem;
    }
    
    .featured-logo-wrapper {
        width: 130px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .featured-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
    }
    
    .featured-title {
        font-size: 1.2rem;
    }
    
    .featured-tagline {
        font-size: 0.85rem;
    }
    
    .featured-desc {
        font-size: 0.85rem;
    }
}
