/* Vídeo Destaque Full Width */
.hero-video-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #000;
    margin-top: 40px;
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Vídeo Carousel Styles */

.video-carousel-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.video-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.video-carousel-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
    margin-bottom: 30px;
    /*padding: 10px 10px 10px 10px;*/
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
    gap: 20px;
    flex-wrap: nowrap;
    width: max-content;
}

.vc-item {
    min-width: 280px;
    flex-shrink: 0;
    width: 280px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: block;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 2;
    border-radius: 15px;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: #1abc9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.4);
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: #16a085;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.6);
}

.video-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.video-info {

    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    /*padding: 40px;*/
    padding-left: 10px;
  padding-right: 10px;
  padding-top: 30px;
  padding-bottom: 40px;
    background: white;
    text-align: center;
}

.video-presenter-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.video-presenter-role {
    font-size: 14px;
    color: #1abc9c;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-button {
    background: white;
    border: 2px solid #1abc9c;
    color: #1abc9c;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-button:hover {
    background: #1abc9c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-dots {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 188, 156, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #1abc9c;
    transform: scale(1.3);
    border-color: #1abc9c;
}

/* Modal Video Player */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.show {
    display: flex;
}

.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(26, 188, 156, 0.3);
    animation: slideUp 0.4s ease;
}

.modal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

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

.modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: white;
    border: none;
    color: #333;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-close-btn:hover {
    background: #1abc9c;
    color: white;
    transform: scale(1.1);
}

.modal-info {
    padding: 20px;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.modal-presenter-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-presenter-role {
    font-size: 14px;
    color: #1abc9c;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 1200px) {
    .vc-item {
        min-width: 220px;
        width: 220px;
    }

    .video-carousel-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .video-carousel-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .carousel-container {
        border-radius: 10px;
    }

    /* 1 vídeo por vez no mobile/tablet */
    .carousel-inner {
        gap: 0;
    }

    .vc-item {
        min-width: 100%;
        width: 100%;
    }

    .carousel-controls {
        gap: 15px;
    }

    .carousel-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button::after {
        border-left: 20px solid white;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }

    .modal-content-wrapper {
        width: 95%;
        border-radius: 10px;
    }

    .modal-close-btn {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .video-carousel-section {
        /*padding: 30px 15px;*/
    }

    .video-carousel-title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .carousel-inner {
        gap: 0;
    }

    /* 1 vídeo por vez no mobile — ocupa 100% do container */
    .vc-item {
        min-width: 100%;
        width: 100%;
    }

    .carousel-controls {
        gap: 10px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .video-info {
        /*padding: 15px;*/
    }

    .video-presenter-name {
        font-size: 16px;
    }

    .video-presenter-role {
        font-size: 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dots {
        gap: 8px;
    }
}