/* ════════════════════════════════════════════════════════════════════════════════
   VIDEO DEMO 2026 - FEATURED VIDEO NAVY (VARIANTE B)
   ════════════════════════════════════════════════════════════════════════════════
   Design: Fond navy, video principale + sidebar thumbnails
   Play button pulse gold, ambiance cinema premium
   FIX 2026-02-06: Conversion max-width -> min-width (mobile-first)
   ════════════════════════════════════════════════════════════════════════════════ */

/* === SECTION PRINCIPALE === */
.sxo-2026-wrapper .trust-video-demo-2026 {
    background: #0a1628;
    padding: 80px 0;
}

/* === HEADER === */
.sxo-2026-wrapper .video-demo-header-2026 {
    text-align: center;
    margin-bottom: 48px;
}

.sxo-2026-wrapper .video-demo-title-2026 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.sxo-2026-wrapper .video-demo-subtitle-2026 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === LAYOUT - Mobile first: 1 colonne === */
.sxo-2026-wrapper .video-demo-layout-2026 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1200px) {
    .sxo-2026-wrapper .video-demo-layout-2026 {
        grid-template-columns: 2fr 1fr;
        gap: 32px;
    }
}

/* === FEATURED VIDEO === */
.sxo-2026-wrapper .video-demo-featured-2026 {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a365d 0%, #0a1628 100%);
}

.sxo-2026-wrapper .video-demo-featured-2026 .video-demo-thumbnail-2026 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
}

.sxo-2026-wrapper .video-demo-featured-2026 .video-demo-thumbnail-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(196, 163, 90, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(26, 54, 93, 0.4) 0%, transparent 60%);
}

/* Play Button Featured avec Pulse */
.sxo-2026-wrapper .video-demo-play-featured-2026 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: transparent;
    border: 4px solid #c4a35a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
    animation: pulse-ring-video 2s ease-out infinite;
}

@keyframes pulse-ring-video {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(196, 163, 90, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(196, 163, 90, 0);
    }
}

.sxo-2026-wrapper .video-demo-play-featured-2026::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: #c4a35a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sxo-2026-wrapper .video-demo-play-featured-2026 i {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    color: #0a1628;
    margin-left: 6px;
}

.sxo-2026-wrapper .video-demo-featured-2026:hover .video-demo-play-featured-2026 {
    transform: translate(-50%, -50%) scale(1.1);
}

.sxo-2026-wrapper .video-demo-featured-2026:hover .video-demo-play-featured-2026::before {
    box-shadow: 0 0 60px rgba(196, 163, 90, 0.8);
}

/* Featured Overlay */
.sxo-2026-wrapper .video-demo-featured-overlay-2026 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
}

.sxo-2026-wrapper .video-demo-featured-title-2026 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.sxo-2026-wrapper .video-demo-featured-desc-2026 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Featured Duration Badge */
.sxo-2026-wrapper .video-demo-featured-duration-2026 {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(196, 163, 90, 0.9);
    color: #0a1628;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* === SIDEBAR VIDEOS - Mobile first: horizontal scroll === */
.sxo-2026-wrapper .video-demo-sidebar-2026 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 16px;
}

.sxo-2026-wrapper .video-demo-sidebar-item-2026 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 280px;
}

.sxo-2026-wrapper .video-demo-sidebar-item-2026:hover {
    border-color: #c4a35a;
    transform: translateY(-4px);
}

/* Desktop: vertical stack */
@media (min-width: 1200px) {
    .sxo-2026-wrapper .video-demo-sidebar-2026 {
        flex-direction: column;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .sxo-2026-wrapper .video-demo-sidebar-item-2026 {
        min-width: auto;
    }

    .sxo-2026-wrapper .video-demo-sidebar-item-2026:hover {
        transform: translateX(-4px);
    }
}

.sxo-2026-wrapper .video-demo-sidebar-item-2026 .video-demo-thumbnail-2026 {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1a365d 0%, #0a1628 100%);
}

.sxo-2026-wrapper .video-demo-sidebar-item-2026 .video-demo-thumbnail-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(196, 163, 90, 0.1) 0%, transparent 70%);
}

/* Sidebar Play Icon */
.sxo-2026-wrapper .video-demo-sidebar-play-2026 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(196, 163, 90, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sxo-2026-wrapper .video-demo-sidebar-play-2026 i {
    font-size: 1rem;
    color: #0a1628;
    margin-left: 2px;
}

.sxo-2026-wrapper .video-demo-sidebar-item-2026:hover .video-demo-sidebar-play-2026 {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.5);
}

/* Sidebar Overlay */
.sxo-2026-wrapper .video-demo-sidebar-overlay-2026 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 12px 12px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
}

.sxo-2026-wrapper .video-demo-sidebar-title-2026 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

/* Sidebar Duration */
.sxo-2026-wrapper .video-demo-sidebar-duration-2026 {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(10, 22, 40, 0.8);
    color: #c4a35a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* === IFRAME (pour integration reelle) === */
.sxo-2026-wrapper .video-demo-iframe-2026 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === PRINT === */
@media print {
    .sxo-2026-wrapper .trust-video-demo-2026 {
        background: #ffffff;
    }
    .sxo-2026-wrapper .video-demo-title-2026 {
        color: #0a1628;
    }
}
