/* ==========================================================================
   SEÇÃO DE VÍDEOS DO FOOTER - VERSÃO REDUZIDA
   ========================================================================== */

.footer-videos-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.footer-videos-thumbnails-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo específico para thumbnails do footer */
.footer-videos-section .home-videos-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 120px;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.footer-videos-section .home-videos-thumb:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 249, 5, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.footer-videos-section .home-videos-thumb img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 0;
    margin-bottom: 0;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-videos-section .home-videos-thumb:hover img {
    transform: scale(1.05);
}

.footer-videos-section .home-videos-thumb-content {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-videos-section .home-videos-thumb-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-videos-section .home-videos-thumb-link {
    display: inline-block;
    background: linear-gradient(45deg, #FF6717, #FFF905);
    color: #000;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer-videos-section .home-videos-thumb:hover .home-videos-thumb-link {
    background: linear-gradient(45deg, #FFF905, #FF6717);
    transform: scale(1.05);
}

/* Play icon overlay para os thumbnails do footer */
.footer-videos-section .home-videos-thumb::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 15px solid rgba(255, 255, 255, 0.8);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.footer-videos-section .home-videos-thumb:hover::after {
    opacity: 1;
}

/* Estilos para os popups de vídeo (reutilizando estrutura existente) */
.correios-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.correios-popup-overlay.active {
    display: block;
    opacity: 1;
}

.correios-popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.correios-popup-overlay.active .correios-popup-container {
    transform: translate(-50%, -50%) scale(1);
}

.correios-popup-header {
    background: linear-gradient(45deg, #FF6717, #FFF905);
    color: #333;
    padding: 20px 25px;
    position: relative;
    font-weight: bold;
}

.correios-popup-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.correios-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.correios-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.correios-popup-close i {
    font-size: 16px;
    color: #333;
}

.correios-popup-content {
    padding: 25px;
}

/* Responsividade */
@media (max-width: 991px) {
    .footer-videos-thumbnails-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .footer-videos-section {
        padding: 30px 0;
    }
    
    .footer-videos-thumbnails-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .footer-videos-section .home-videos-thumb {
        height: 100px;
        padding: 12px;
        gap: 12px;
    }
    
    .footer-videos-section .home-videos-thumb img {
        width: 60px;
        height: 60px;
    }
    
    .footer-videos-section .home-videos-thumb-title {
        font-size: 13px;
    }
    
    .footer-videos-section .home-videos-thumb-link {
        font-size: 11px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .footer-videos-thumbnails-row {
        gap: 10px;
    }
    
    .footer-videos-section .home-videos-thumb {
        height: 90px;
        padding: 10px;
        gap: 10px;
    }
    
    .footer-videos-section .home-videos-thumb img {
        width: 50px;
        height: 50px;
    }
    
    .footer-videos-section .home-videos-thumb-title {
        font-size: 12px;
        margin-bottom: 6px;
    }
}

/* Responsivo para popups */
@media (max-width: 768px) {
    .correios-popup-container {
        max-width: 95%;
        margin: 20px;
    }
    
    .correios-popup-header {
        padding: 15px 20px;
    }
    
    .correios-popup-header h3 {
        font-size: 1.3em;
    }
    
    .correios-popup-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .correios-popup-container {
        max-width: 98%;
        margin: 10px;
    }
    
    .correios-popup-header {
        padding: 12px 15px;
    }
    
    .correios-popup-content {
        padding: 15px;
    }
}

/* Estilos para botões de vídeo nos popups */
.video-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    text-align: center;
    justify-content: center;
}

.video-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2b81c5;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-button:hover {
    background-color: #236da7;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
} 