/* Estilos para o Fluxo Video Modal */
.fluxo-video-wrapper {
    max-width: 100%;
    margin: 20px auto;
}

.fluxo-video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.fluxo-video-thumbnail:hover {
    transform: scale(1.02);
}

.fluxo-video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.fluxo-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
    pointer-events: none;
}

.fluxo-video-thumbnail:hover .fluxo-play-button {
    color: #fff;
}

/* Modal Overlay */
.fluxo-video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999; /* Garante que fique acima de tudo */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fluxo-video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Conteúdo do Modal */
.fluxo-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.fluxo-video-modal-overlay.active .fluxo-video-modal-content {
    transform: scale(1);
}

.fluxo-video-responsive-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.fluxo-video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Botão de Fechar */
.fluxo-video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    z-index: 1000000;
    line-height: 1;
    transition: color 0.2s ease;
}

.fluxo-video-modal-close:hover {
    color: #ff6fa3; /* Rosa destaque */
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .fluxo-play-button {
        font-size: 40px;
    }
}
