/* ===================================================================================== */
/*                      🎬 CSS DO CARD MULTIMÍDIA - WEEKLY CROSS                       */
/* ===================================================================================== */

.multimedia-section {
    background: linear-gradient(135deg, #2d5016 0%, #4a5568 100%);
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
    transition: none !important;
}

.multimedia-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

/* ===================================================================================== */
/*                                  📸 HEADER MULTIMÍDIA                               */
/* ===================================================================================== */

.multimedia-header {
    background: linear-gradient(135deg, #059669 0%, #374151 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.multimedia-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.multimedia-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.multimedia-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* ===================================================================================== */
/*                                 📐 LAYOUT DO CONTEÚDO                               */
/* ===================================================================================== */

.multimedia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    opacity: 1 !important;
    visibility: visible !important;
}

.multimedia-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

.multimedia-video-section {
    flex-grow: 1;
}

/* ===================================================================================== */
/*                                   🎬 PLAYERS DE VÍDEO                               */
/* ===================================================================================== */

.video-section {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.video-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Player iframe (quando vídeo carregado) */
.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* ===================================================================================== */
/*                                 🎵 OUTROS TIPOS DE MÍDIA                            */
/* ===================================================================================== */

/* Container para embeds (Spotify, SoundCloud, etc.) */
.embed-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Vídeo local */
.local-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Placeholder quando não há vídeo */
.video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.placeholder-content p {
    font-size: 1.1rem;
    margin: 0;
}

/* ===================================================================================== */
/*                                   📝 TÍTULOS DAS SEÇÕES                             */
/* ===================================================================================== */

.section-title {
    color: #059669;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.podcast-title {
    color: #065f46;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i,
.podcast-title i {
    font-size: 1.1rem;
}

/* ===================================================================================== */
/*                                   🔗 BOTÕES DE ACESSO                               */
/* ===================================================================================== */

.hub-button {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.hub-button::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="10" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="50" r="8" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="12" fill="rgba(255,255,255,0.1)"/></svg>') center/cover;
    opacity: 0.3;
}

.hub-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.hub-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.hub-text {
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

.hub-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.hub-text small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* ===================================================================================== */
/*                                 📱 RESPONSIVIDADE                                   */
/* ===================================================================================== */

@media (max-width: 968px) {
    .multimedia-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }
    
    .multimedia-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .multimedia-header {
        padding: 25px 20px;
    }
    
    .multimedia-title {
        font-size: 1.7rem;
    }
    
    .multimedia-subtitle {
        font-size: 1rem;
    }
    
    .video-section {
        height: 250px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button::before {
        border-left-width: 18px;
        border-top-width: 12px;
        border-bottom-width: 12px;
    }
}

@media (max-width: 640px) {
    .multimedia-section {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .multimedia-content {
        padding: 20px;
        gap: 20px;
    }
    
    .multimedia-header {
        padding: 20px 15px;
    }
    
    .multimedia-title {
        font-size: 1.5rem;
    }
    
    .video-section {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .video-title {
        padding: 15px;
        font-size: 1rem;
    }
    
    .section-title,
    .podcast-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .hub-button {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ===================================================================================== */
/*                                ✨ ANIMAÇÕES                                         */
/* ===================================================================================== */

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.5; 
    }
}

/* Animação de entrada */
.multimedia-section {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de carregamento do vídeo */
.video-loading {
    position: relative;
}

.video-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Efeito hover nos cards */
.multimedia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}