/* ===========================
   RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   BASE DO SITE
=========================== */
body {
    font-family: 'Inter', sans-serif;
    background: var(--cor-fundo);
    color: var(--cor-texto);
}

/* ===========================
   HEADER / TOPO
=========================== */
.top-header {
    width: 100%;
    background: var(--cor-topo-fundo);
    color: var(--cor-topo-texto);
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.container-header {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 60px;
    object-fit: contain;
}

/* Menu desktop */
.menu-desktop ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu-desktop ul li a {
    text-decoration: none;
    font-size: 15px;
    color: var(--cor-topo-texto);
    transition: 0.2s;
}
.menu-desktop ul li a:hover {
    opacity: 0.7;
}

/* ===========================
   MENU MOBILE / LATERAL
=========================== */
.menu-mobile-btn {
    width: 35px;
    height: 28px;
    cursor: pointer;
    display: block; /* deixa o hambúrguer sempre visível */
}
.menu-mobile-btn span {
    display: block;
    height: 4px;
    margin: 6px 0;
    background: var(--cor-topo-texto);
    border-radius: 5px;
}

.menu-principal {
    width: 260px;
    background: var(--cor-menu-fundo);
    color: var(--cor-menu-texto);
    height: 100vh;
    position: fixed;
    top: 0;
    left: -270px;
    padding-top: 80px;
    transition: 0.3s;
    z-index: 1500;
}
.menu-principal.menu-aberto {
    left: 0;
}

#menu-overlay {
    display: none;
}
#menu-overlay.overlay-ativo {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1200;
}

.menu-principal ul {
    list-style: none;
}
.menu-principal ul li a {
    display: block;
    padding: 12px 25px;
    color: var(--cor-menu-texto);
    font-size: 17px;
    text-decoration: none;
    transition: 0.2s;
}
.menu-principal ul li a:hover {
    background: var(--cor-menu-hover);
}

/* ===========================
   PLAYER DA RÁDIO
=========================== */
.player-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
}

.player-iframe {
    width: 100%;
    height: 90px;
    border: none;
}

/* ===========================
   CARROSSEL
=========================== */
.hero-carrossel {
    width: 100%;
    overflow: hidden;
}
.carrossel-wrapper {
	    position: relative;
	    width: 100%;
	    height: 380px;
	}
	.carrossel-slide {
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    display: none;
	    opacity: 0;
	    transition: opacity 0.8s ease-in-out;
	}
	.carrossel-slide.active {
	    display: block;
	    opacity: 1;
	}
.carrossel-slide img {
    width: 100%;
    height: 380px;
    object-fit: contain;
}
.carrossel-texto {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.55);
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 40%;
}

/* ===========================
   BLOCOS
=========================== */
.bloco {
    padding: 40px 20px;
    max-width: 1300px;
    margin: auto;
}

.pagina-conteudo {
    min-height: calc(100vh - 300px); /* Garante que o conteúdo tenha altura mínima */
}
.titulo-sessao {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    color: var(--cor-primaria);
}

.titulo-sessao-menor {
    font-size: 20px;
    margin-bottom: 12px;
}

/* ===========================
   WEBTV + CHAT
=========================== */
.destaque-ao-vivo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.linha-3-col {
    width: 100%;
    max-width: 1300px;
    display: flex;
    gap: 20px;
}

.col {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.col-webtv {
    flex: 2;
}
.col-chat {
	    flex: 1;
	    height: flex; /* Altura fixa para o chat no desktop */
	}

/* WEBTV container */
#webtv-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    border-radius: 10px;
    background: #000;
    overflow: hidden;
}
#webtv-container iframe,
#webtv-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* CHAT */
.chat-box {
    background: #fafafa;
    height: 260px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
}
.chat-input-area {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.chat-input-area input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #aaa;
}
.chat-input-area button {
    padding: 8px 12px;
    border: none;
    background: var(--cor-botao-fundo);
    color: white;
    border-radius: 8px;
}
.chat-input-area button:hover {
    background: var(--cor-botao-hover);
}

/* ===========================
   ENQUETE
=========================== */
.enquete-box {
    background: #fafafa;
    padding: 12px;
    border-radius: 10px;
}
.btn-enquete {
    width: 100%;
    padding: 10px;
    background: var(--cor-botao-fundo);
    color: white;
    border-radius: 6px;
    border: none;
    margin-top: 8px;
}
.btn-enquete:hover {
    background: var(--cor-botao-hover);
}

/* ===========================
   NOTÍCIAS
=========================== */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.noticia-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: #111;
    text-decoration: none;
    transition: all 0.3s ease; /* Adicionado 'all' para transição suave */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.noticia-card:hover {
    transform: scale(1.03);
    /* Adicionar um pequeno box-shadow para melhorar o efeito */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.noticia-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: block;
}
.noticia-info {
    padding: 15px;
}

/* ===========================
   PATROCINADORES
=========================== */
.patrocinadores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 por linha */
    gap: 20px;
    padding: 10px 0;
}

.pat-card {
    display: block;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.2s;
    height: 150px;
    background: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pat-card .pat-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço, cortando se necessário */
    padding: 0; /* Remove o padding para a imagem ocupar todo o espaço */
}

.pat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ===========================
   FOOTER / RODAPÉ
=========================== */
.footer {
    width: 100%;
    background: var(--cor-rodape-fundo);
    padding: 40px 10px;
    color: var(--cor-rodape-texto);
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: var(--cor-rodape-texto);
    margin-bottom: 15px;
}

.footer-col a,
.footer-col p,
.footer-col span {
    color: var(--cor-rodape-texto);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social img {
    width: 35px;
    height: 35px;
}

.footer-copy {
    text-align: center;
    margin-top: 25px;
    padding-top: 10px;
    color: var(--cor-rodape-texto);
}

/* ===========================
   VU METER
=========================== */
.vu-meter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 4px;
    height: 40px;
    align-items: flex-end; /* barras sobem de baixo pra cima */
}
.vu-meter .bar {
    width: 10px;
    height: 8px;
    background: var(--cor-primaria);
    border-radius: 2px;
}

/* ===========================
   RESPONSIVO
=========================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1000px) {
    .linha-3-col {
        flex-direction: column;
    }
    .col-webtv, .col-chat {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .patrocinadores-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 por linha no tablet */
    }
}

@media (max-width: 768px) {
    .patrocinadores-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha no mobile */
    }
}

@media (max-width: 480px) {
    .patrocinadores-grid {
        grid-template-columns: 1fr; /* 1 por linha no mobile pequeno */
    }
}

@media (max-width: 700px) {
    .menu-desktop {
        display: none;
    }
    .menu-mobile-btn {
        display: block;
    }
}
/* DESATIVA menu aberto do topo (fica só o hambúrguer) */
.menu-desktop {
    display: none !important;
}
.form-contato-box {
    max-width: 600px;
    margin: auto;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.form-contato {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-contato label {
    font-weight: 600;
    color: var(--cor-texto);
    font-size: 15px;
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: var(--cor-texto);
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

.form-contato input:focus,
.form-contato textarea:focus {
    border-color: var(--cor-primaria);
    background: rgba(255,255,255,0.20);
}

.form-contato button {
    background: var(--cor-primaria);
    color: #fff;
    padding: 14px;
    font-size: 17px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.form-contato button:hover {
    background: var(--cor-hover);
}
body,
html {
    margin: 0 !important;
    padding: 0 !important;
}

#mhPlayerBar {
    margin: 0 !important;
    padding: 0 !important;
}

.top-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-carrossel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ===========================================
   ÍCONES DO RODAPÉ (IMAGENS PNG)
   — tamanho fixo e responsivo
=========================================== */

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social a img {
    width: 26px;      /* <<< TAMANHO FINAL DOS ÍCONES */
    height: 26px;
    object-fit: contain;
    display: block;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-social {
        justify-content: center;
    }

    .footer-social a img {
        width: 22px;   /* menor no celular */
        height: 22px;
    }
}

/* MINI MOBILE */
@media (max-width: 400px) {
    .footer-social a img {
        width: 20px;   /* ainda menor */
        height: 20px;
    }
}
/* =====================================================
   RODAPÉ – ÍCONES SOCIAIS (PNG)
   Alinhamento lateral garantido
===================================================== */

.footer-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;  /* Sempre centraliza */
    gap: 12px;
    flex-wrap: wrap;  /* Permite quebra de linha se necessário */
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a img {
    width: 26px;       /* tamanho normal */
    height: 26px;
    object-fit: contain;
    display: block;
}



/* ===========================
   MOBILE (≤ 600px)
=========================== */

@media (max-width: 600px) {

    .footer-social {
        justify-content: center !important;
        gap: 14px;
        flex-wrap: wrap;               /* no mobile pode quebrar se precisar */
    }

    .footer-social a img {
        width: 22px;
        height: 22px;
    }
}



/* ===========================
   MINI MOBILE (≤ 400px)
=========================== */

@media (max-width: 400px) {

    .footer-social a img {
        width: 20px;
        height: 20px;
    }

}
/* ===========================
   NOVO PLAYER DA RÁDIO
   (usa --player-bg e --player-opacity)
=========================== */

.player-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 10px auto 0 auto;
    padding: 0 20px;
}

.player-box {
    display: flex;
    gap: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--player-bg);
    opacity: var(--player-opacity);
    color: #ffffff;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    position: relative;
}

.rp-cover {
    flex: 0 0 70px;
}

.rp-cover img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
}

.rp-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 13px;
}

.rp-station {
    font-weight: 700;
    font-size: 15px;
}

.rp-locutor {
    font-size: 12px;
    opacity: 0.85;
}

.rp-now {
    font-size: 13px;
}

.rp-label {
    opacity: 0.8;
    margin-right: 5px;
}

#rp-musica {
    font-weight: 600;
}

.rp-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.rp-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    color: #fff;
    transition: 0.2s;
}

.rp-btn:hover {
    background: rgba(0,0,0,0.35);
}

.rp-volume {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.rp-volume input[type="range"] {
    width: 100px;
}

/* Usa o VU existente, só posiciona pro player */
.player-box .vu-meter {
    position: static;
    height: 26px;
    gap: 3px;
}
.player-box .vu-meter .bar {
    width: 6px;
    border-radius: 3px;
    background: var(--cor-primaria);
}

/* Mobile */
@media (max-width: 600px) {
    .player-wrapper {
        padding: 0 10px;
    }

    .player-box {
        padding: 10px 12px;
    }

    .rp-cover {
        flex: 0 0 55px;
    }

    .rp-cover img {
        width: 55px;
        height: 55px;
    }

    .rp-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .rp-volume input[type="range"] {
        width: 80px;
    }
}
#chat-status {
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
}

.chat-box {
    background: #0b0f1b;
    border: 1px solid #1e2740;
    border-radius: 12px;
    padding: 14px;
    height: 420px;
    overflow-y: auto;
    font-family: "Inter", sans-serif;
}

.chat-msg {
    margin-bottom: 12px;
    background: #141b2f;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: fadeIn .3s ease;
}
.chat-msg-header {
    font-weight: 600;
    color: #7fb4ff;
    font-size: 13px;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
}
.chat-msg-header span {
    font-weight: normal;
    color: #aaa;
    font-size: 11px;
}
.chat-msg-body {
    font-size: 14px;
    color: #e4ebff;
    word-wrap: break-word;
}
.chat-input-area {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.chat-input-area input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    background: #101628;
    border: 1px solid #2a3450;
    color: #fff;
}
.chat-input-area button {
    background: #0071ff;
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.chat-input-area button:hover {
    background: #0094ff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px);}
    to { opacity: 1; transform: translateY(0);}
}
.chat-name-input {
    width: 100%;
    padding: 9px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #2a3450;
    background: #101628;
    color: #fff;
}
/* CORREÇÃO TOTAL DAS IMAGENS DAS NOTÍCIAS */
.noticia-card img,
.news-img {
    background: transparent !important;
    background-color: transparent !important;
}

/* Se a imagem falhar, não mostrar caixa azul */
.noticia-card img {
    display: block;
    object-fit: cover;
}
/* ====== CORREÇÃO TOTAL DAS NOTÍCIAS ====== */

/* Remove qualquer fundo azul/preto do card */
.noticia-card {
    background: transparent !important;
    background-color: transparent !important;
}

/* Remove fundo azul/preto de imagens */
.noticia-card img {
    background: transparent !important;
    background-color: transparent !important;
}

/* Se a imagem não carregar, não mostrar caixa */
.noticia-card img:not([src]), 
.noticia-card img[src=""],
.noticia-card img[style*="display: none"] {
    display: none !important;
}
/* COR DO TEXTO DAS NOTÍCIAS */
.noticia-info p {
    color: #ffffff !important; /* branco */
    font-size: 15px;
}

/* TITULO */
.noticia-info h3 {
    color: #ffffff !important;
}

/* REMOVE HOVER AMARELO */
.noticia-info p:hover,
.noticia-info h3:hover {
    color: #ffffff !important;
}
/* === CONTROLO DE VOLUME === */
#volumeControl {
    width: 90px;
    margin-left: 10px;
    accent-color: white;
    cursor: pointer;
}
