/* ===== STYLES POUR GALERIE VIDEO ===== */

/* Animation d'apparition */
.video-section {
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.video-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Wrapper vidéo avec effet de play */
.video-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0,0,0,0.25);
    aspect-ratio: 16 / 9;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s ease;
}

.video-wrapper:hover::after {
    background: rgba(0,0,0,0.5);
}

/* Description vidéo */
.video-desc h3 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.8rem;
}

/* Métadonnées */
.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Description */
.video-description {
    margin: 10px 0 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(59,130,246,0.25);
    color: #444;
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Mode nuit pour la description */
[data-bs-theme="dark"] .video-description {
    color: #adb5bd;
    border-left-color: rgba(59,130,246,0.5);
}

/* Cinema overlay (lightbox vidéo) */
.cinema-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    display: none;
    place-items: center;
    padding: 4vh 4vw;
    z-index: 9999;
}

.cinema-overlay.active {
    display: grid;
}

.cinema-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinema-content video {
    width: 100%;
    max-height: 90vh;
    border-radius: 18px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .video-section {
        margin-bottom: 65px;
    }
    
    .video-wrapper {
        margin-bottom: 22px;
    }
    
    .video-desc h3 {
        font-size: 1.5rem;
    }
    
    .video-meta {
        gap: 12px;
        font-size: 0.8rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        margin-bottom: 50px;
    }
    
    .video-desc h3 {
        font-size: 1.3rem;
    }
    
    .video-wrapper::after {
        font-size: 3rem;
    }
}