/* Complementos específicos desta landing (o restante vem de app.css, o CSS do site) */

/* Curso: vídeo de preview aparece no hover do card */
.item-video:hover .video-placeholder {
    opacity: 1;
}

/* Modal de vídeo (aberto via JS com display: flex) */
.modal-video-container {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(16, 17, 23, .88);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-video-container .modal-content {
    position: relative;
    width: min(60rem, 100%);
}

.modal-video-container .video-container {
    aspect-ratio: 16 / 9;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid var(--color-raised);
    background: var(--color-stage-soft);
}

.modal-video-container iframe {
    width: 100%;
    height: 100%;
}

.modal-video-container .close-btn {
    position: absolute;
    top: -2.75rem;
    right: 0;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}
