html {
    scroll-behavior: smooth !important;
    height: auto; /* Garante que a altura não esteja travada */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Evita barra lateral horizontal */
    overflow-y: visible; /* Garante que o scroll vertical exista */
}

/* Garante que o botão suma completamente no computador */
.mobile-menu-btn {
    display: none !important; /* O !important garante que nada o force a aparecer */
}

/* --- AJUSTES PARA CELULAR --- */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex !important; /* Só aparece quando a tela for pequena */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
        margin-left: 15px; /* Espaçamento para não grudar no botão play */
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 10px;
    }

    /* Esconde os ícones sociais no celular para sobrar espaço (opcional) */
    header .social-icons {
        display: none;
    }

    /* Transforma o Menu em uma lista vertical escondida */
    nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 120px; /* Logo abaixo do header */
        left: 0;
        width: 100%;
        background: #b71c1c; /* Cor sólida para o menu aberto */
        padding: 20px 0;
        z-index: 99;
    }

    /* Quando clicar no botão, essa classe será adicionada pelo JS */
    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
}

/* Aplica o recuo para todas as seções que possuem um ID (alvos do menu) */
section[id], main[id] {
    scroll-margin-top: 140px; /* Aumentei um pouco para garantir que o título apareça bem */
}	
	
        /* Variáveis de Cores da Logo */
        :root {
            --vermelho-coracao: #d32f2f;
            --amarelo-coracao: #ffeb3b;
            --dark-vermelho: #b71c1c;
        }
		@font-face {
    font-family: 'Rockville Solid';
    src: url('Rockville-Solid.ttf') format('truetype'); /* Verifique se o nome do arquivo está correto */
    font-weight: normal;
    font-style: normal;
}

        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; }

        /* --- EFEITO FADE IN / SPLASH --- */
        #splash-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    /* Mude de background-color para background */
    background: linear-gradient(to bottom, #b71c1c 0%, #ffeb3b 100%); 
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; transition: opacity 0.8s ease-out;
}
        #splash-logo {
            width: 250px; opacity: 0; transform: scale(0.8);
            transition: all 1.2s ease-in-out;
        }

        /* --- ESTRUTURA DO SITE --- */
        #main-content { opacity: 0; transition: opacity 1s ease-in; }
		
		
		main[id], section[id] {
    scroll-margin-top: 130px;
}

       /* Header Moderno com Degradê */
header { 
    /* Degradê Vertical: Vermelho vivo para Vermelho mais escuro (Vinho) */
    background: linear-gradient(to bottom, #b71c1c 0%, #FFFF00 100%);
    color: white; 
	padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Linha fina no topo para dar brilho e a borda amarela na base */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 4px solid var(--vermelho-coracao);
    
    /* Sombra suave para destacar do conteúdo abaixo */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}


nav a { 
    color: white; 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: 600; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Melhora leitura sobre o degradê */
    transition: color 0.3s;
}

nav a:hover {
    color: var(--amarelo-coracao);
}

        .player-bar {
            background: linear-gradient(to bottom, #b71c1c 0%, #FFFF00 100%);
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            font-weight: bold;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

.hero-banner {
    position: relative; /* Necessário para posicionar o vídeo atrás */
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden; /* Garante que o vídeo não saia da área */
}

/* O container do vídeo */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Joga para trás do texto */
    pointer-events: none; /* Impede que cliques no banner parem o vídeo */
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw; /* Proporção 16:9 */
    min-height: 100vh;
    min-width: 177.77vh; /* Proporção 16:9 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.hero-banner h2 { 
    font-family: 'Rockville Solid', sans-serif; /* Aplicado aqui */
    font-size: 4rem; 
    margin: 0; 
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Ajuda na leitura sobre o vídeo */
}

.hero-banner p { 
    font-family: 'Rockville Solid', sans-serif; /* Se quiser no subtítulo também */
    font-size: 1.5rem; 
    background: var(--vermelho-coracao); 
    padding: 5px 20px;
    position: relative;
    z-index: 1;
}



        .hero-banner h2 { font-size: 3rem; margin: 0; text-transform: uppercase; }
        .hero-banner p { font-size: 1.2rem; background: var(--vermelho-coracao); padding: 5px 15px; }

        /* Grid de Notícias estilo Imagem */
        .news-section { padding: 40px 5%; }
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }

        .news-card {
            background: white;
            border-bottom: 5px solid var(--vermelho-coracao);
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .news-card img { width: 100%; height: 200px; object-fit: cover; }
        .news-card h3 { padding: 15px; margin: 0; color: var(--vermelho-coracao); }
        .news-card p { padding: 0 15px 15px; color: #555; font-size: 0.9rem; }

        footer { background: linear-gradient(to bottom, #FFFF00 0%, #b71c1c 100%); color: white; padding: 30px; text-align: center; margin-top: 50px; }
		
		
		/* Container das Redes Sociais */
.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Círculos das Redes Sociais */
.social-icons a {
    width: 38px;
    height: 38px;
    background-color: white; /* Fundo branco igual à Vanguarda */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cores dos Ícones (Puxando o vermelho da sua rádio) */
.social-icons a i {
    color: #b71c1c; 
    font-size: 18px;
}

/* Efeito ao passar o mouse */
.social-icons a:hover {
    transform: translateY(-3px);
    background-color: #ffeb3b; /* Fica amarelo quando passa o mouse */
}

/* --- SEÇÃO EQUIPE --- */
.team-section { 
    padding: 60px 5%; 
    background-color: #fff; /* Fundo branco para contrastar com as notícias */
    text-align: center;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    width: 200px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Deixa a foto redonda */
    object-fit: cover;
    border: 5px solid var(--vermelho-coracao);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.team-member h3 {
    color: var(--dark-vermelho);
    margin: 5px 0;
    font-size: 1.2rem;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* --- SEÇÃO PROGRAMAÇÃO --- */
.schedule-section {
    padding: 60px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.schedule-container {
    max-width: 900px;
    margin: 40px auto 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background-color: #fffde7; /* Leve destaque amarelo ao passar o mouse */
}

.schedule-time {
    flex: 0 0 120px;
    background: var(--amarelo-coracao);
    color: #000;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.1rem;
}

.schedule-info {
    flex: 1;
    text-align: left;
    padding-left: 30px;
}

.schedule-info h3 {
    margin: 0;
    color: var(--dark-vermelho);
    font-size: 1.3rem;
}

.schedule-info p {
    margin: 5px 0 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 600px) {
    .schedule-item {
        flex-direction: column;
        text-align: center;
    }
    .schedule-info {
        padding-left: 0;
        margin-top: 10px;
    }
}
/* Estilo das Abas */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    background: white;
    border: none;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #333;
}

.tab-btn.active {
    background: var(--vermelho-coracao);
    color: white;
    transform: translateY(-2px);
}

/* Controle de visibilidade das abas */
.tab-content {
    display: none; /* Esconde todas por padrão */
}

.tab-content.active {
    display: block; /* Mostra apenas a ativa */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SEÇÃO AUDIOCAST --- */
.audiocast-section {
    padding: 60px 5%;
    background-color: #fff;
	text-align: center;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.audio-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.audio-card i {
    font-size: 2rem;
    color: var(--vermelho-coracao);
    margin-bottom: 10px;
}

.audio-card audio {
    width: 100%;
    margin-top: 15px;
}

/* --- SEÇÃO VÍDEOS (YouTube/Instagram) --- */
.video-section {
    padding: 60px 5%;
    background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
	text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

/* Estilos do Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #333;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.modal-body { padding: 30px; }
.modal-body img { width: 100%; border-radius: 10px; margin-bottom: 20px; }
.modal-body h2 { color: var(--vermelho-coracao); margin-top: 0; }
.modal-body .texto-noticia { 
    line-height: 1.6; 
    color: #444; 
    font-size: 1.1rem;
    text-align: justify;
}

/* Estilo dos Botões de Compartilhamento no Modal */
.share-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.share-container span {
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
}

.share-btn {
    padding: 8px 15px;
    border-radius: 5px;
    color: white !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.share-btn:hover { opacity: 0.8; }

.share-btn.wa { background-color: #25d366; } /* Verde WhatsApp */
.share-btn.fb { background-color: #1877f2; } /* Azul Facebook */


/* Isso cria um espaço invisível no topo de cada seção para compensar o menu fixo */
section[id] {
    scroll-margin-top: 130px; /* Ajuste esse valor (130px) de acordo com a altura do seu header */
}
