/* ==============================================
   VIDEO-1.CSS - 🔥 100% ISOLADO 🔥
   Prefixo v1- em TUDO, sem conflito nenhum
   Desktop: 1.mp4 (landscape 16:9)
   Mobile: 2.mp4 (vertical/quadrado)
   ============================================== */

/* 🔥 SEÇÃO DO VÍDEO */
.v1-section {
    width: 100%;
    max-width: 1920px;
    margin: 40px auto 0 auto;
    padding: 0;
    position: relative;
    z-index: 10;
    animation: v1-fadeIn 1s ease;
}

@keyframes v1-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🔥 WRAPPER - CONTAINER DO VÍDEO */
.v1-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* 🔥🔥🔥 VÍDEO DESKTOP - MOSTRA NO DESKTOP, ESCONDE NO MOBILE 🔥🔥🔥 */
.v1-video-desktop {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.v1-video-mobile {
    display: none;
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* 🔥🔥🔥 TROCA PRO MOBILE 🔥🔥🔥 */
@media (max-width: 768px) {
    .v1-section {
        margin-top: 30px;
    }

    .v1-video-desktop {
        display: none;
    }

    .v1-video-mobile {
        display: block;
    }
}

/* 🔥 OVERLAY COM THUMBNAIL EM LOOP */
.v1-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.v1-overlay.v1-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* 🔥 THUMBNAIL - VÍDEO EM LOOP NO FUNDO */
.v1-thumb-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* FALLBACK - imagem se o vídeo não carregar */
.v1-thumb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('video4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 🔥 BOTÃO PLAY */
.v1-play-btn {
    position: relative;
    z-index: 20;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(23, 37, 74, 0.9), rgba(15, 25, 50, 0.9));
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    animation: v1-pulse 2.5s infinite;
}

@keyframes v1-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(23, 37, 74, 0.4), 0 0 0 0 rgba(23, 37, 74, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(23, 37, 74, 0.6), 0 0 0 20px rgba(23, 37, 74, 0);
    }
}

.v1-play-btn:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, rgba(23, 37, 74, 1), rgba(15, 25, 50, 1));
}

.v1-play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* 🔥 MOBILE AJUSTES */
@media (max-width: 768px) {
    .v1-play-btn {
        width: 60px;
        height: 60px;
        animation: none;
    }
    
    .v1-play-icon {
        border-left-width: 16px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .v1-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* 🔥 LANDSCAPE NO MOBILE */
@media (max-width: 900px) and (orientation: landscape) {
    .v1-section {
        margin-top: 0;
    }
}
