/* /css/style.css */
/* =================================
   VARIÁVEIS E ESTILOS GLOBAIS
   ================================= */ :root {
    --primary-color: #C10C0C; /* Vermelho forte, da bandeira de Minas */
    --secondary-color: #FFD700; /* Dourado/Amarelo para destaque */
    --dark-color: #1a1a1a; /* Preto suave */
    --light-color: #FFFFFF;
    --gray-color: #f4f4f4;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-secondary);
    background-color: var(--light-color);
    color: #212225;
    line-height: 1.6;
}
body.modal-open {
    overflow: hidden; /* Impede o scroll do fundo quando o modal está aberto */
}
.center{
	max-width: 1280px;
	padding:0 2%;
	margin:0 auto;
}

.w33{
	width: 33.3%;
	padding: 0 10px;
}

.w19{
	width: 19%;
	padding: 0 10px;
}

.w25{
	width: 25%;
	padding: 0 10px;
}

.w30{
	width: 30%;
	padding: 0 10px;
}

.w40{
	padding:0 10px;
	width: 40%;
}

.w50{
	/*padding:0 10px;*/
	width: 50%;
}

.w60{
	padding:0 10px;
	width: 60%;
}

.w70{
	padding:0 10px;
	width: 70%;
}

.w80{
	padding:0 10px;
	width: 80%;
}

.w100{
	padding:0 10px;
	width: 100%;
}

.center{
	max-width: 1280px;
	padding:0 2%;
	margin:0 auto;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.linha {
	border-bottom:1px solid #C4C6CC;
}


.bg-black {
    background-color: #f7f6f6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 10px;
}
h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn:hover {
    background: #9a0909;
    transform: translateY(-3px);
}
/* =================================
   CABEÇALHO E NAVEGAÇÃO
   ================================= */
#main-header {
    background: rgba(205,0,3,1.00);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    height: 80px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}
.nav-links a {
    color: rgba(255,255,255,1.00);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: rgba(255,174,0,1.00);
}
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 850px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        gap: 40px;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        color: var(--light-color);
        font-size: 1.2rem;
    }
    .hamburger {
        display: block;
    }
    .hamburger i {
        transition: transform 0.3s ease;
    }
    .hamburger.active i {
        transform: rotate(90deg);
    }
}

/* =================================
   PLAYER AO VIVO
   ================================= */
#sticky-player {
    /*background: var(--primary-color);*/
    color: var(--light-color);
    /*padding: 15px 0;*/
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.player-container h3 {
    font-size: 1rem;
    margin: 0;
}
.program-info {
    text-align: left;
}
.program-info strong {
    display: block;
}
audio {
    height: 40px;
    border-radius: 50px;
    max-width: 300px;
}
/* =================================
   SEÇÕES DE CONTEÚDO
   ================================= */
#sobre p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(22,14,14,1.00);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    align-items: center;
}
#anunciantes .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.gallery-item {
    background: var(--light-color);
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.botoes-promocao{
    width: 100%;
}
@media (max-width: 970px) {
  
    
}
#galeria-fotos .gallery-item img {
    height: 200px;
    object-fit: cover;
}
.cta-section {
    background-color: var(--gray-color);
    /*padding: 80px 20px;*/
    text-align: center;
}
.cta-section h2 {
    margin-bottom: 20px;
}
.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}
/* GALERIA ATUAl */
/* Galeria */
/* Seções */
.section {
    padding: 10px; /* py-16 */
    border-top: 1px dashed #E5B003;
    margin-bottom: 25px;
    margin-top: 25px;
}
.section-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    margin-bottom: 2rem; /* mb-8 / mb-12 */
}
.section-paragraph {
    font-size: 1.125rem; /* text-lg */
    color: #d1d5db; /* text-gray-300 */
    line-height: 1.75; /* leading-relaxed */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
.section-image {
    margin-top: 2rem; /* mt-8 */
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-xl */
    display: block;
    max-width: 100%;
    height: auto;
}
.text-center {
    text-align: center;
}
.text-gray-400 {
    color: #9ca3af;
}


.album-select-container {
    text-align: center;
    margin-bottom: 2rem; /* mb-8 */
}
.album-label {
    margin-right: 0.5rem;
    font-size: 1.125rem; /* text-lg */
    color: #212225; /* text-gray-300 */
}
.album-select {
    background-color: #374151; /* bg-gray-800 (aproximado) */
    border: 1px solid #DAA520; /* border-gold-custom */
    color: #FFD700; /* text-gold-custom */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 0.625rem; /* p-2.5 */
}
.gallery-gridnew {
    /*display: grid;*/
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem; /* gap-6 */
    
}
@media (min-width: 640px) { /* sm breakpoint */
    .gallery-gridnew { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) { /* md breakpoint */
    .gallery-gridnew { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .gallery-gridnew { grid-template-columns: repeat(4, 1fr); }
}
.gallery-thumbnail {
    width: 20%;
    height: 200px; 
    object-fit: cover;
    border-radius: 0.5rem; /* rounded-lg */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}
.gallery-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7); /* Gold shadow */
    border-color: #DAA520; /* hover:border-gold-custom */
}

/* Modal da Galeria */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal-content-img { /* Renomeado de .modal-content para evitar conflito com Bootstrap se usado futuramente */
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    position: relative; /* Para centralização vertical */
    top: 50%;
    transform: translateY(-50%);
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}
.modal-nav-btn { /* Renomeado de .modal-nav */
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -25px; /* Ajustado para alinhar melhor */
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.modal-nav-btn.prev-modal { left: 0; border-radius: 3px 0 0 3px;}
.modal-nav-btn.next-modal { right: 0; border-radius: 0 3px 3px 0;}
.modal-nav-btn:hover { background-color: rgba(255,215,0,0.4); }

/*PROGRAMAÇÃO AO VIVO*/

/* Estilo para o container quando está ao vivo */
.programacao-time.ao-vivo {
    display: flex;
    flex-direction: column; /* Empilha os itens verticalmente */
    justify-content: center; /* Centraliza na vertical */
    align-items: center;     /* Centraliza na horizontal */
    padding: 10px 5px;       /* Ajusta o espaçamento interno */
    line-height: 1.3;        /* Melhora o espaçamento entre as linhas */
    background-color: #e74c3c; /* Fundo vermelho, como antes */
    color: #ffffff;          /* Letras brancas, como antes */
    animation: piscar 1.5s infinite;
}

/* Estilo para o texto principal 'AO VIVO', que já tem o ícone */
.programacao-time.ao-vivo .texto-ao-vivo {
    font-size: 1.1em;
    font-weight: bold;
}

/* Estilo para os horários de início e fim quando está ao vivo */
.programacao-time.ao-vivo .horario-ao-vivo {
    font-size: 0.9em;
    opacity: 0.85; /* Deixa o horário um pouco mais sutil */
}

/* O ícone piscando (já deve existir no seu CSS, mas garantindo) */
.icone-ao-vivo {
    display: inline-block;
    margin-right: 8px;
    font-size: 0.8em;
    /*animation: piscar 1.5s infinite;*/
}

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
/* =================================
   PROGRAMAÇÃO
   ================================= */
.programacao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.programacao-item {
    display: flex;
    background: var(--gray-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.programacao-item:hover {
    box-shadow: var(--shadow);
}
.programacao-time {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.programacao-details {
    padding: 20px;
}
.programacao-details h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.programacao-details p {
    color: #666;
}
/* =================================
   FORMULÁRIOS
   ================================= */
.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.form-box {
    background: var(--gray-color);
    padding: 30px;
    border-radius: 8px;
}
.form-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.form-box input, .form-box textarea, .form-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-secondary);
}
.form-box button {
    width: 100%;
}
/* =================================
   MODAL
   ================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--light-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover {
    color: var(--dark-color);
}
#modal-promotion-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-primary);
}
/* =================================
   UTILIDADES (NOTÍCIAS, EVENTOS)
   ================================= */
.utilidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.utilidades-grid > div {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 8px;
}
.utilidades-grid h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    height: 80px;;
}
.utilidades-grid h4 {
    font-family: var(--font-primary);
    margin-top: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.utilidades-grid a, .utilidades-grid p {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
.utilidades-grid a:hover {
    color: var(--primary-color);
}
#eventos-bh strong {
    display: block;
    color: #333;
}
#eventos-bh p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 15px;
}
/* =================================
   REDES SOCIAIS
   ================================= */
#redes-sociais .social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.social-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.social-card .fab {
    font-size: 3rem;
    margin-bottom: 15px;
}
/*.fa-instagram {
    color: #E4405F;
}
.fa-facebook-f {
    color: #1877F2;
}
.fa-twitter {
    color: #1DA1F2;
}
 =================================
   MAPA E RODAPÉ
   ================================= */
#map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.site-footer {
    background: var(--dark-color);
    color: #ccc;
    padding-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
}
.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.footer-container h4 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}
.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.footer-contact i {
    color: var(--primary-color);
    width: 25px;
}
.footer-social-links a {
    color: #ccc;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.footer-social-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    /*margin-top: 30px;*/
    border-top: 1px solid #444;
}

.footer-container p {
    /*text-align: center;*/
}


@media (max-width: 850px) {
    .gallery-thumbnail {
        width: 25%;
    }
    .forms-container {
        width: 80%;
    }
    
}



@media (max-width: 600px) {
    .gallery-thumbnail {
        width: 33%;
    }
    .forms-container {
        width: 100%;
    }
}

@media (max-width: 450px) {
    .gallery-thumbnail {
        width: 50%;
    }
}

@media (max-width: 850px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
}
/* /css/style.css */
/* SUBSTITUA O ESTILO .news-item ANTERIOR POR ESTE */
/* /css/style.css */
/* SUBSTITUA O ESTILO .news-item ANTERIOR POR ESTE BLOCO COMPLETO */
.news-item {
    display: flex; /* ATIVA O FLEXBOX */
    flex-direction: column; /* Organiza os itens em coluna (imagem em cima, conteúdo embaixo) */
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}
.news-item-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-item:hover .news-item-image img {
    transform: scale(1.05);
}
.news-item-content {
    padding: 15px;
    display: flex; /* ATIVA O FLEXBOX INTERNO */
    flex-direction: column;
    flex-grow: 1; /* ESSA É A MÁGICA: faz esta área crescer para preencher o espaço vazio */
}
.news-item-content h4 {
    font-family: var(--font-primary);
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.4;
    /* NOVO: Limita o título a no máximo 2 linhas e adiciona "..." */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-item-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1; /* Faz o parágrafo ocupar o espaço restante, empurrando o link para baixo (se houver) */
    /* NOVO: Limita o subtítulo a no máximo 3 linhas e adiciona "..." */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =================================
           CARROSSEL
           ================================= */
        #carousel-section { padding-top: 180px; }
        .carousel-container { position: relative; width: 100%; max-height: 600px; overflow: hidden; }
        .carousel-slide { display: none; width: 100%; animation: fadeIn 1s; }
        @keyframes fadeIn { from { opacity: 0.4; } to { opacity: 1; } }
        .carousel-slide.active { display: block; }
        .carousel-slide img { width: 100%; display: block; }
        .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 10px 15px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: background 0.3s; }
        .carousel-btn:hover { background: var(--primary-color); }
        .prev { left: 20px; }
        .next { right: 20px; }

/* =================================
   BOTÕES FLUTUANTES DE AÇÃO
   ================================= */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons a {
    width: 60px;
    height: 60px;
    /*background-color: var(--primary-color);*/
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

/* Cores específicas para cada botão */
.whatsapp-float {
    background-color: #25D366; /* Verde do WhatsApp */
}
.whatsapp-float:hover {
    background-color: #128C7E;
}

.phone-float {
    background-color: #3498db; /* Azul para telefone */
}
.phone-float:hover {
    background-color: #2980b9;
}
/* =================================
   BOTÕES FLUTUANTES DE AÇÃO COPIA
   ================================= */
.floating-buttons-redes {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 15px;
    background-color: #ff000033;    
    padding: 5px 8px;
    border-radius: 50px;
}

.floating-buttons-redes a {
    width: 40px;
    height: 40px;
    /*background-color: var(--primary-color);*/
    color: #D3080B;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-buttons-redes a:hover {
    transform: scale(1.1);
}

/* Cores específicas para cada botão */
.instagram-float {
    /*background-color: #FC9127;  Verde do WhatsApp */
}
.instagram-float:hover {
    background-color: #FFFFFF;
}

.face-float {
    background-color: #000798; /* Azul para telefone */
}
.face-float:hover {
    background-color: #000798;
}
