/* =============================================
   Section: Vídeo Apresentação
   ============================================= */

#video-apresentacao {
    background-color: #ebebeb;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    max-height: 75vh;
    max-width: min(900px, 100%);
    cursor: pointer;
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 75vh;
    border-radius: 16px;
}

/* Overlay escuro antes de iniciar */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Botão play */
.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    margin-left: 5px; /* compensar visualmente o triângulo */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.video-wrapper:hover .video-play-btn {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}
