/* ==========================================
   PROGRAMAS PAGE STYLES
   ========================================== */

/* Page Hero */
.page-hero {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: var(--text-5xl);
    margin-bottom: var(--space-md);
}

.page-hero p {
    color: var(--color-beige);
    font-size: var(--text-xl);
}

/* Programa Section */
.programa-section {
    background-color: var(--color-beige);
}

.programa-section.section-dark {
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, #0d2849 100%);
}

.programa-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.programa-reverse {
    direction: rtl;
}

.programa-reverse>* {
    direction: ltr;
}

.programa-hero-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.programa-hero-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 167, 83, 0.3);
}

.programa-hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 167, 83, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.programa-badge {
    font-size: 8rem;
    color: var(--color-gold);
    z-index: 2;
}

/* Fundo com logo (watermark) na seção inteira */
#podcast {
    position: relative;
    overflow: hidden;
}



/* Garante que o conteúdo fique acima do fundo */
#podcast .container {
    position: relative;
    z-index: 1;
}

/* Badge do play (substitui o visual “spotify”) */
#podcast .podcast-badge {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#podcast .podcast-badge i {
    font-size: 28px;
    margin-left: 3px;
    /* deixa o play mais “central” visualmente */
}

.programa-hero-content h2 {
    color: var(--color-navy-deep);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-sm);
}

.section-dark .programa-hero-content h2 {
    color: var(--color-gold);
}



.podcast-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.programa-subtitle {
    font-size: var(--text-xl);
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
}

.section-dark .programa-subtitle {
    color: var(--color-gold-light);
}

.programa-hero-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: var(--color-gray-dark);
}

.section-dark .programa-hero-content p {
    color: var(--color-beige);
}

.programa-hero-content strong {
    color: var(--color-navy);
    font-weight: 600;
}

.section-dark .programa-hero-content strong {
    color: var(--color-white);
}

/* Programa Stats */
.programa-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-item i {
    font-size: var(--text-3xl);
    color: var(--color-gold);
}

.stat-item strong {
    display: block;
    color: var(--color-navy-deep);
    font-size: var(--text-sm);
    margin-bottom: 2px;
}

.stat-item p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-gray);
}

/* Episódios Section */
.episodios-section {
    margin-top: var(--space-3xl);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-navy-deep);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
}

.section-dark .section-title {
    color: var(--color-gold);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.video-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all var(--transition);
    z-index: 1;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-icon {
    font-size: 4rem;
    color: var(--color-gold);
    z-index: 2;
    transition: all var(--transition);
}

.video-card:hover .play-icon {
    transform: scale(1.2);
    color: var(--color-gold-light);
}

.video-info {
    padding: var(--space-lg);
}

.video-info h4 {
    color: var(--color-navy-deep);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.video-info p {
    color: var(--color-gray);
    font-size: var(--text-base);
    margin: 0;
}

/* Episódios Grid */
.episodios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.episodio-card {
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition);
    cursor: pointer;
}

.episodio-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.episodio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
}

.episodio-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-navy-deep);
    font-size: var(--text-xl);
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.episodio-card h4 {
    color: var(--color-white);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.episodio-card p {
    color: var(--color-beige);
    margin-bottom: var(--space-lg);
}

.episodio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.episodio-meta span {
    color: var(--color-beige-dark);
    font-size: var(--text-sm);
}

.episodio-meta i {
    margin-right: var(--space-xs);
}

.listen-link {
    color: var(--color-gold);
    font-weight: 600;
    transition: all var(--transition);
}

.listen-link:hover {
    color: var(--color-gold-light);
    transform: translateX(5px);
}

/* Spotify Button */
.spotify-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.spotify-btn i {
    font-size: var(--text-2xl);
}

.spotify-btn:hover {
    background-color: #1DB954;
    border-color: #1DB954;
    color: var(--color-white);
}

/* CTA Programas */
.cta-programas {
    text-align: center;
}

.cta-programas h2 {
    color: var(--color-navy-deep);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.cta-programas p {
    color: var(--color-navy);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Responsive Design */
@media (max-width: 992px) {
    .programa-hero {
        grid-template-columns: 1fr;
    }

    .programa-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: var(--text-4xl);
    }

    .programa-badge,
    .podcast-badge {
        font-size: 5rem;
    }

    .video-grid,
    .episodios-grid {
        grid-template-columns: 1fr;
    }

    /* Fix podcast section order on mobile: play button, then content, then episodes */
    #podcast .programa-hero {
        display: flex;
        flex-direction: column;
    }

    #podcast .programa-hero-image {
        order: 1;
        margin-bottom: var(--space-lg);
    }

    #podcast .programa-hero-content {
        order: 2;
        text-align: center;
    }

    /* Make podcast cover larger on mobile to match Momento de Fé */
    #podcast .programa-hero-image {
        max-width: 400px;
        width: 100%;
        min-height: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Keep CTA buttons on same line on mobile */
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
    }

    .cta-buttons .btn {
        flex: 1;
        min-width: 0;
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
    }
}


/* Podcast cover - match Momento de Fé style */
#podcast .podcast-cover {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: rgba(10, 31, 68, 1);
}