/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Poppins', Arial, sans-serif; background: #02020F; color: #FFFFFF; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
iframe, video { max-width: 100%; }

/* ===== Header ===== */
.header { background: #000000; position: sticky; top: 0; z-index: 50; }
.header-container { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 32px; }
.header-left { display: flex; align-items: center; gap: 40px; }
.header .logo img { height: 26px; }

/* Menu desktop */
.header-left nav { display: flex; gap: 32px; }
.header-left nav a { font-size: 13px; font-weight: 500; color: #9B9BB5; padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.header-left nav a.ativo { color: #FFFFFF; border-color: #FFFFFF; }
.header-left nav a:hover { color: #FFFFFF; }

.header-right { display: flex; align-items: center; gap: 20px; }
.redes { display: flex; gap: 12px; }
.redes a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.redes a:hover { background: rgba(255,255,255,0.2); }
.redes svg { width: 16px; height: 16px; fill: #FFFFFF; }
.btn-ao-vivo { background: #1949F9; color: #FFFFFF; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-ao-vivo svg { width: 11px; height: 11px; fill: #FFFFFF; }
.txt-ao-vivo-completo { display: inline; }
.txt-ao-vivo-curto { display: none; }

/* Menu mobile */
.menu-toggle { display: none; background: none; border: none; padding: 4px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; fill: #FFFFFF; }
.nav-mobile { display: none !important; flex-direction: column; background: #000000; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 24px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.nav-mobile a { padding: 12px 0; font-size: 15px; color: #CFD6E2; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-mobile a.ativo { color: #FFFFFF; font-weight: 600; }
.nav-mobile .redes-mobile { display: flex; gap: 10px; margin-top: 14px; }
.nav-mobile .redes-mobile a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; padding: 0; border-bottom: none; }
.nav-mobile .redes-mobile svg { width: 14px; height: 14px; fill: #FFFFFF; }

@media (max-width: 1024px) {
    .nav-mobile.aberto { display: flex !important; }
    .header-container { padding: 10px 16px; position: relative; }
    .header-left nav, .header-right .redes { display: none; }
    .menu-toggle { display: block; }
    .txt-ao-vivo-completo { display: none; }
    .txt-ao-vivo-curto { display: inline; }
    .btn-ao-vivo { padding: 7px 14px; font-size: 12px; }
}

@media (max-width: 380px) {
    .header-container { gap: 8px; padding: 10px 12px; }
    .header-right { gap: 10px; }
    .header .logo img { height: 22px; }
    .btn-ao-vivo { padding: 6px 12px; }
}

/* ===== Footer ===== */
.footer { background: linear-gradient(135deg, #001A3D 0%, #002C60 45%, #1949F9 100%); padding: 48px 24px 32px; text-align: center; }
.footer-logo { height: 28px; margin: 0 auto 20px; }
.footer-texto { font-size: 13px; color: #CFD6E2; max-width: 700px; margin: 0 auto; line-height: 1.7; overflow-wrap: anywhere; }
.footer-copy { margin-top: 28px; font-size: 13px; color: #CFD6E2; line-height: 1.8; }
.footer-copy a { text-decoration: underline; cursor: pointer; display: inline-block; padding: 4px 0; }
.footer-roi { margin-top: 16px; font-size: 12px; color: #9B9BB5; }
.footer-roi a { display: inline-block; padding: 4px 0; }

/* ===== Modal política ===== */
.modal-politica { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1000; align-items: center; justify-content: center; padding: 24px; }
.modal-politica-box { position: relative; width: 100%; max-width: 820px; height: 90vh; height: 90dvh; background: #14151F; border-radius: 12px; overflow: hidden; }
.modal-politica-fechar { position: absolute; top: 10px; right: 14px; z-index: 2; background: rgba(255,255,255,0.12); border: none; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.modal-politica iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 480px) {
    .footer { padding: 36px 16px 28px; }
    .modal-politica { padding: 12px; }
}

/* ===== Home (index.php) ===== */
.home .hero { position: relative; width: 100%; overflow: hidden; background: #000; line-height: 0; }
.home .hero img { width: 100%; height: auto; display: block; }

.home .secao { width: 100%; padding: 32px clamp(20px, 4vw, 60px); }
.home .secao-titulo-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.home .secao-titulo { font-size: 20px; font-weight: 700; }
.home .ver-todos { font-size: 13px; color: #1949F9; font-weight: 600; }

/* Carrosséis */
.home .carrossel { position: relative; }
.home .carrossel-viewport { overflow: hidden; width: 100%; }
.home .carrossel-track-loop { display: flex; gap: 16px; width: max-content; will-change: transform; }
.home .carrossel-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.home .carrossel-track::-webkit-scrollbar { display: none; }
.home .carrossel-track > :first-child { margin-left: auto; }
.home .carrossel-track > :last-child { margin-right: auto; }

.home .carrossel-seta {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,0.6);
    border: none; color: #FFFFFF; font-size: 19px; cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.home .carrossel-seta.prev { left: -18px; }
.home .carrossel-seta.next { right: -18px; }

.home .card-programa { flex: 0 0 auto; width: 264px; border-radius: 9px; overflow: hidden; }
.home .card-programa img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }

/* Banners de patrocínio */
.home .carrossel-track-estatico { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.home .banner-patrocinio { flex: 0 0 auto; }
.home .banner-patrocinio img { height: 147px; width: auto; border-radius: 9px; }

/* Novidades */
.home .grid-noticias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px 40px; }
.home .card-noticia { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.home .card-noticia a { display: block; }
.home .card-noticia .img-wrap { overflow: hidden; border-radius: 9px; margin-bottom: 12px; }
.home .card-noticia img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.home .card-noticia .titulo { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.home .card-noticia .resumo {
    font-size: 13px; color: #9B9BB5; line-height: 1.6;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}

/* ===== Home: mobile ===== */
@media (max-width: 700px) {
    .home .secao { padding: 26px 16px; }
    .home .secao-titulo { font-size: 17px; }
    .home .ver-todos { font-size: 12px; }

    .home .carrossel-seta { width: 30px; height: 30px; font-size: 15px; }
    .home .carrossel-seta.prev { left: -6px; }
    .home .carrossel-seta.next { right: -6px; }

    .home .card-programa { width: 187px; }

    /* Banners: largura total, empilhados */
    .home .carrossel-track-estatico { flex-direction: column; align-items: center; gap: 12px; }
    .home .banner-patrocinio { width: 100%; max-width: 560px; }
    .home .banner-patrocinio img { width: 100%; height: auto; }

    /* Novidades: card escuro com imagem no topo e texto embaixo */
    .home .grid-noticias { grid-template-columns: 1fr; gap: 16px; }
    .home .card-noticia { background: #0D0D22; border-radius: 12px; padding: 0; border-bottom: none; overflow: hidden; }
    .home .card-noticia .img-wrap { border-radius: 0; margin-bottom: 0; }
    .home .card-noticia .card-corpo { padding: 14px; }
    .home .card-noticia .titulo { font-size: 14px; }
}

/* ===== Página de programa (programa.php) ===== */
.programa-page { overflow-x: hidden; }

.programa-page .hero-programa {
    --hero-h: clamp(200px, 62vw, 320px);
    position: relative; width: 100%; min-height: 560px; display: flex; align-items: flex-end; background: #000;
}
.programa-page .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.programa-page .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, #02020F 10%, rgba(2,2,15,0.55) 55%, rgba(2,2,15,0.15) 100%);
}
.programa-page .hero-conteudo { position: relative; z-index: 2; width: 100%; max-width: 780px; min-width: 0; padding: 0 40px 44px; }

.programa-page .hero-descricao {
    font-size: 16px; line-height: 1.75; color: #E7E8F0; margin-bottom: 18px;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.programa-page .hero-descricao p { margin: 0 0 16px; }
.programa-page .hero-descricao strong { font-weight: 700; color: #fff; }
.programa-page .hero-descricao ul, .programa-page .hero-descricao ol { margin: 0 0 16px; padding-left: 22px; }
.programa-page .hero-descricao li { margin-bottom: 6px; }
.programa-page .hero-descricao img, .programa-page .hero-descricao iframe, .programa-page .hero-descricao video { max-width: 100%; height: auto; }
.programa-page .hero-categoria { font-size: 14px; color: #C7C9DA; margin-bottom: 28px; overflow-wrap: break-word; }
.programa-page .hero-categoria strong { color: #fff; }
.programa-page .vai-ao-ar-titulo { font-size: 18px; font-weight: 700; margin-bottom: 14px; }

/* Carrosséis */
.programa-page .carrossel { position: relative; min-width: 0; }
.programa-page .carrossel-seta {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12);
    border: none; color: #FFFFFF; font-size: 18px; cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.programa-page .carrossel-seta:hover { background: rgba(255,255,255,0.25); }
.programa-page .carrossel-seta.prev { left: -14px; }
.programa-page .carrossel-seta.next { right: -14px; }
.programa-page .carrossel-viewport { overflow: hidden; width: 100%; }
.programa-page .carrossel-track-loop { display: flex; gap: 12px; width: max-content; will-change: transform; }

.programa-page .chip-horario {
    display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: rgba(255,255,255,0.08); font-size: 14px; white-space: nowrap;
}
.programa-page .chip-horario svg { width: 15px; height: 15px; fill: #C7C9DA; flex: 0 0 auto; }
.programa-page .chip-horario .dia { color: #fff; font-weight: 600; }
.programa-page .chip-horario .hora { color: #C7C9DA; font-weight: 700; }

.programa-page .secao { max-width: 1240px; margin: 0 auto; padding: 44px 40px 60px; }
.programa-page .secao-titulo { font-size: 20px; font-weight: 700; margin-bottom: 20px; display: block; }

.programa-page .card-programa {
    flex: 0 0 auto; width: 165px; border-radius: 9px; overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.programa-page .card-programa img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
@media (hover: hover) {
    .programa-page .card-programa:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
}

/* ===== Programa: mobile ===== */
@media (max-width: 700px) {
    /* Imagem no topo (altura fixa) + texto embaixo, independente do tamanho da descrição */
    .programa-page .hero-programa { display: block; min-height: 0; }
    .programa-page .hero-bg { position: relative; inset: auto; height: var(--hero-h); background-position: center top; }
    .programa-page .hero-overlay {
        inset: auto; top: 0; left: 0; right: 0; height: var(--hero-h);
        background: linear-gradient(to bottom, rgba(2,2,15,0) 40%, #02020F 100%);
    }
    .programa-page .hero-conteudo { max-width: none; margin-top: -48px; padding: 0 16px 28px; }
    .programa-page .hero-programa.sem-imagem .hero-overlay { display: none; }
    .programa-page .hero-programa.sem-imagem .hero-conteudo { margin-top: 0; padding-top: 28px; }

    .programa-page .hero-descricao { font-size: 15px; line-height: 1.7; }
    .programa-page .hero-categoria { margin-bottom: 22px; }
    .programa-page .vai-ao-ar-titulo { font-size: 16px; }
    .programa-page .chip-horario { padding: 8px 14px; font-size: 13px; }

    .programa-page .carrossel-seta { width: 30px; height: 30px; font-size: 15px; }
    .programa-page .carrossel-seta.prev { left: -6px; }
    .programa-page .carrossel-seta.next { right: -6px; }

    .programa-page .secao { padding: 32px 16px 44px; }
    .programa-page .secao-titulo { font-size: 17px; margin-bottom: 16px; }
    .programa-page .card-programa { width: 110px; }
}

/* ===== Programas (programas.php) ===== */
.programas-page .hero-pagina { padding: 60px 40px 36px; text-align: center; }
.programas-page .hero-pagina h1 { font-size: 34px; font-weight: 800; overflow-wrap: break-word; }

.programas-page .secao { max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }
.programas-page .secao-titulo-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 24px; }
.programas-page .secao-titulo { font-size: 20px; font-weight: 700; }

.programas-page .filtro-tag {
    padding: 10px 16px; border-radius: 20px; border: none; background: #fff; color: #111;
    font-size: 14px; font-weight: 600; cursor: pointer; max-width: 100%;
}

.programas-page .grid-programas { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 18px; }
.programas-page .card-programa { border-radius: 9px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.programas-page .card-programa img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
@media (hover: hover) {
    .programas-page .card-programa:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
}
.programas-page .sem-resultado { color: #9B9BB5; font-size: 15px; }

/* ===== Programas: mobile ===== */
@media (max-width: 700px) {
    .programas-page .hero-pagina { padding: 36px 16px 24px; }
    .programas-page .hero-pagina h1 { font-size: 26px; }

    .programas-page .secao { padding: 0 16px 44px; }
    .programas-page .secao-titulo { font-size: 17px; }
    .programas-page .secao-titulo-row { flex-direction: column; align-items: stretch; margin-bottom: 18px; }
    .programas-page .filtro-tag { width: 100%; font-size: 16px; padding: 12px 16px; }

    .programas-page .grid-programas { grid-template-columns: repeat(auto-fill, minmax(187px, 1fr)); gap: 12px; }
}

/* ===== Novidades (noticias.php) ===== */
.noticias-page .hero-pagina { padding: 60px 40px 36px; text-align: center; }
.noticias-page .hero-pagina h1 { font-size: 34px; font-weight: 800; overflow-wrap: break-word; }

.noticias-page .secao { max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }
.noticias-page .secao-titulo-row { margin-bottom: 24px; }
.noticias-page .secao-titulo { font-size: 20px; font-weight: 700; }

.noticias-page .grid-noticias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 40px; }

.noticias-page .card-noticia {
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0; transform: translateY(16px);
    animation: apareceNoticiaLista 0.6s ease forwards;
}
.noticias-page .card-noticia:nth-child(1) { animation-delay: 0.05s; }
.noticias-page .card-noticia:nth-child(2) { animation-delay: 0.15s; }
.noticias-page .card-noticia:nth-child(3) { animation-delay: 0.25s; }
.noticias-page .card-noticia:nth-child(4) { animation-delay: 0.35s; }
.noticias-page .card-noticia:nth-child(5) { animation-delay: 0.45s; }
.noticias-page .card-noticia:nth-child(6) { animation-delay: 0.55s; }
.noticias-page .card-noticia:nth-child(n+7) { animation-delay: 0.6s; }
@keyframes apareceNoticiaLista { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .noticias-page .card-noticia { animation: none; opacity: 1; transform: none; }
}

.noticias-page .card-noticia a { display: block; }
.noticias-page .card-noticia .img-wrap { overflow: hidden; border-radius: 9px; margin-bottom: 12px; }
.noticias-page .card-noticia img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.noticias-page .card-noticia .titulo { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; transition: color 0.2s ease; overflow-wrap: break-word; }
.noticias-page .card-noticia .resumo {
    font-size: 14px; color: #9B9BB5; line-height: 1.6;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
@media (hover: hover) {
    .noticias-page .card-noticia a:hover img { transform: scale(1.06); }
    .noticias-page .card-noticia a:hover .titulo { color: #1949F9; }
}

/* ===== Novidades: mobile ===== */
@media (max-width: 700px) {
    .noticias-page .hero-pagina { padding: 36px 16px 24px; }
    .noticias-page .hero-pagina h1 { font-size: 26px; }

    .noticias-page .secao { padding: 0 16px 44px; }
    .noticias-page .secao-titulo { font-size: 17px; }
    .noticias-page .secao-titulo-row { margin-bottom: 18px; }

    .noticias-page .grid-noticias { grid-template-columns: 1fr; gap: 16px; }
    .noticias-page .card-noticia { background: #0D0D22; border-radius: 12px; padding: 0; border-bottom: none; overflow: hidden; }
    .noticias-page .card-noticia .img-wrap { border-radius: 0; margin-bottom: 0; }
    .noticias-page .card-noticia .card-corpo { padding: 14px; }
    .noticias-page .card-noticia .titulo { font-size: 15px; }
    .noticias-page .card-noticia .resumo { font-size: 13px; }
}

/* ===== Notícia (noticia.php) ===== */
.noticia-detalhe { overflow-x: hidden; }

.noticia-detalhe .hero-noticia { position: relative; width: 100%; height: clamp(200px, 42vw, 360px); overflow: hidden; background: #000; }
.noticia-detalhe .hero-noticia img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.noticia-detalhe .hero-noticia::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #02020F 100%);
}

.noticia-detalhe .artigo {
    width: calc(100% - 32px); max-width: 780px; margin: -110px auto 60px; position: relative; z-index: 2;
    background: #F7F8FA; color: #14151F; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    padding: 48px 56px 40px;
}
.noticia-detalhe .artigo.sem-imagem { margin-top: 48px; }

.noticia-detalhe .artigo-data {
    font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    color: #1949F9; margin-bottom: 12px;
}
.noticia-detalhe .artigo-titulo { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 28px; overflow-wrap: break-word; }

/* Conteúdo */
.noticia-detalhe .artigo-conteudo { font-size: 17px; line-height: 1.85; color: #2A2C38; overflow-wrap: break-word; min-width: 0; }
.noticia-detalhe .artigo-conteudo p { margin: 0 0 20px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.noticia-detalhe .artigo-conteudo strong { font-weight: 700; color: #14151F; }
.noticia-detalhe .artigo-conteudo ul, .noticia-detalhe .artigo-conteudo ol { margin: 0 0 20px; padding-left: 22px; }
.noticia-detalhe .artigo-conteudo li { margin-bottom: 8px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.noticia-detalhe .artigo-conteudo a { color: #1949F9; overflow-wrap: anywhere; }
.noticia-detalhe .artigo-conteudo h2 { font-size: 24px; line-height: 1.3; margin: 32px 0 14px; color: #14151F; }
.noticia-detalhe .artigo-conteudo h3 { font-size: 20px; line-height: 1.3; margin: 28px 0 12px; color: #14151F; }
.noticia-detalhe .artigo-conteudo h4 { font-size: 17px; line-height: 1.3; margin: 24px 0 10px; color: #14151F; }
.noticia-detalhe .artigo-conteudo img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; }
.noticia-detalhe .artigo-conteudo iframe { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.noticia-detalhe .artigo-conteudo video { max-width: 100%; height: auto; }
.noticia-detalhe .artigo-conteudo table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 20px; }
.noticia-detalhe .artigo-conteudo pre { max-width: 100%; overflow-x: auto; margin-bottom: 20px; }
.noticia-detalhe .artigo-imagem-extra { width: 100%; border-radius: 12px; margin: 28px 0; display: block; }

/* Compartilhar */
.noticia-detalhe .compartilhar { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,0.08); }
.noticia-detalhe .compartilhar-titulo { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #14151F; }
.noticia-detalhe .compartilhar-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.noticia-detalhe .compartilhar-botoes a {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #EDEFF4; color: #14151F; transition: transform 0.2s ease, background 0.2s ease;
}
.noticia-detalhe .compartilhar-botoes svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) {
    .noticia-detalhe .compartilhar-botoes a:hover { transform: translateY(-2px); background: #1949F9; color: #fff; }
}

/* Relacionadas */
.noticia-detalhe .secao-relacionadas { max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }
.noticia-detalhe .secao-titulo { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: block; }
.noticia-detalhe .grid-noticias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 40px; }

.noticia-detalhe .card-noticia {
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0; transform: translateY(16px);
    animation: apareceNoticiaRel 0.6s ease forwards;
}
.noticia-detalhe .card-noticia:nth-child(1) { animation-delay: 0.05s; }
.noticia-detalhe .card-noticia:nth-child(2) { animation-delay: 0.15s; }
.noticia-detalhe .card-noticia:nth-child(3) { animation-delay: 0.25s; }
.noticia-detalhe .card-noticia:nth-child(4) { animation-delay: 0.35s; }
@keyframes apareceNoticiaRel { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .noticia-detalhe .card-noticia { animation: none; opacity: 1; transform: none; }
}

.noticia-detalhe .card-noticia a { display: block; }
.noticia-detalhe .card-noticia .img-wrap { overflow: hidden; border-radius: 9px; margin-bottom: 12px; }
.noticia-detalhe .card-noticia img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.noticia-detalhe .card-noticia .titulo { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; transition: color 0.2s ease; overflow-wrap: break-word; }
.noticia-detalhe .card-noticia .resumo {
    font-size: 14px; color: #9B9BB5; line-height: 1.6;
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
@media (hover: hover) {
    .noticia-detalhe .card-noticia a:hover img { transform: scale(1.06); }
    .noticia-detalhe .card-noticia a:hover .titulo { color: #1949F9; }
}

/* ===== Notícia: mobile ===== */
@media (max-width: 700px) {
    .noticia-detalhe .artigo { margin: -70px auto 40px; padding: 32px 22px 28px; }
    .noticia-detalhe .artigo.sem-imagem { margin-top: 24px; }
    .noticia-detalhe .artigo-titulo { font-size: 24px; margin-bottom: 22px; }
    .noticia-detalhe .artigo-conteudo { font-size: 16px; line-height: 1.75; }
    .noticia-detalhe .artigo-conteudo h2 { font-size: 21px; }
    .noticia-detalhe .artigo-conteudo h3 { font-size: 18px; }
    .noticia-detalhe .compartilhar { margin-top: 32px; padding-top: 22px; }
    .noticia-detalhe .compartilhar-botoes a { width: 44px; height: 44px; }

    .noticia-detalhe .secao-relacionadas { padding: 0 16px 44px; }
    .noticia-detalhe .secao-titulo { font-size: 17px; margin-bottom: 18px; }
    .noticia-detalhe .grid-noticias { grid-template-columns: 1fr; gap: 16px; }
    .noticia-detalhe .card-noticia { background: #0D0D22; border-radius: 12px; padding: 0; border-bottom: none; overflow: hidden; }
    .noticia-detalhe .card-noticia .img-wrap { border-radius: 0; margin-bottom: 0; }
    .noticia-detalhe .card-noticia .card-corpo { padding: 14px; }
    .noticia-detalhe .card-noticia .titulo { font-size: 15px; }
    .noticia-detalhe .card-noticia .resumo { font-size: 13px; }
}

@media (max-width: 380px) {
    .noticia-detalhe .artigo { padding: 26px 18px 24px; }
    .noticia-detalhe .artigo-titulo { font-size: 22px; }
}

/* ===== Vídeos (videos.php) ===== */
.videos-page .hero-pagina { padding: 60px 40px 36px; text-align: center; }
.videos-page .hero-pagina h1 { font-size: 34px; font-weight: 800; overflow-wrap: break-word; }

.videos-page .secao { max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }
.videos-page .secao-titulo { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: block; }

.videos-page .playlist-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border-radius: 12px; overflow: hidden; background: #000; }
.videos-page .player-wrap { aspect-ratio: 16/9; background: #000; }
.videos-page .player-wrap iframe { display: block; width: 100%; height: 100%; border: none; }

/* A lista acompanha a altura do player e rola por dentro */
.videos-page .lista-videos { position: relative; background: #2A2C38; }
.videos-page .lista-scroll { position: absolute; inset: 0; overflow-y: auto; }

.videos-page .lista-cabecalho { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.videos-page .lista-cabecalho svg { width: 20px; height: 20px; fill: #fff; flex: 0 0 auto; }
.videos-page .lista-cabecalho-titulo { font-size: 14px; font-weight: 700; }
.videos-page .lista-cabecalho-contador { font-size: 12px; color: #9B9BB5; }

.videos-page .item-video {
    display: flex; gap: 10px; align-items: center; padding: 10px 14px; cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s ease;
}
.videos-page .item-video.ativo { background: rgba(25,73,249,0.2); }
.videos-page .item-video .numero { font-size: 12px; color: #9B9BB5; width: 16px; flex: 0 0 auto; text-align: center; }
.videos-page .item-video .thumb { width: 80px; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; flex: 0 0 auto; }
.videos-page .item-video .titulo-item { font-size: 13px; font-weight: 600; line-height: 1.35; min-width: 0; overflow-wrap: break-word; }
@media (hover: hover) {
    .videos-page .item-video:hover { background: rgba(255,255,255,0.06); }
}

/* ===== Vídeos: mobile ===== */
@media (max-width: 780px) {
    .videos-page .hero-pagina { padding: 36px 16px 24px; }
    .videos-page .hero-pagina h1 { font-size: 26px; }

    .videos-page .secao { padding: 0 16px 44px; }
    .videos-page .secao-titulo { font-size: 17px; margin-bottom: 18px; }

    .videos-page .playlist-wrap { grid-template-columns: 1fr; border-radius: 10px; }
    .videos-page .lista-videos { position: static; }
    .videos-page .lista-scroll { position: static; max-height: 260px; }
}

@media (max-width: 380px) {
    .videos-page .item-video { padding: 10px; gap: 8px; }
    .videos-page .item-video .thumb { width: 64px; }
}

/* ===== Contato (contato.php) ===== */
.contato-page .hero-pagina { padding: 60px 40px 36px; text-align: center; }
.contato-page .hero-pagina h1 { font-size: 34px; font-weight: 800; overflow-wrap: break-word; }

.contato-page .fundo-contato { background: #FFFFFF; color: #14151F; }
.contato-page .secao-contato {
    max-width: 1240px; margin: 0 auto; padding: 60px 40px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px;
}

.contato-page .info-titulo { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: #14151F; overflow-wrap: break-word; }
.contato-page .info-texto { font-size: 15px; color: #4A4C58; line-height: 1.7; margin-bottom: 32px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.contato-page .info-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contato-page .info-item > div { min-width: 0; }
.contato-page .info-item .icone {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #14151F;
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.contato-page .info-item .icone svg { width: 18px; height: 18px; fill: #14151F; }
.contato-page .info-item .rotulo { font-size: 12px; color: #1949F9; margin-bottom: 2px; }
.contato-page .info-item .valor { font-size: 15px; font-weight: 700; color: #14151F; overflow-wrap: anywhere; }
.contato-page .info-item .valor a { color: inherit; }

.contato-page .form-titulo { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: #14151F; }
.contato-page .campo-form { margin-bottom: 14px; }
.contato-page .campo-form input, .contato-page .campo-form textarea {
    width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid #E3E8EF;
    background: #F2F3F7; color: #14151F; font-family: inherit; font-size: 14px;
    -webkit-appearance: none; appearance: none;
}
.contato-page .campo-form input:focus, .contato-page .campo-form textarea:focus { outline: none; border-color: #1949F9; background: #fff; }
.contato-page .campo-form textarea { min-height: 110px; resize: vertical; }
.contato-page .campo-form input::placeholder, .contato-page .campo-form textarea::placeholder { color: #9B9BA8; }

.contato-page .botao-enviar {
    width: 100%; padding: 14px; border-radius: 999px; border: none; cursor: pointer;
    background: #1949F9; color: #fff; font-weight: 700; font-size: 15px; font-family: inherit;
}
@media (hover: hover) {
    .contato-page .botao-enviar:hover { background: #1339CC; }
}

.contato-page .mensagem-status { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.contato-page .mensagem-status.sucesso { background: rgba(0,180,100,0.12); color: #0D8A4F; }
.contato-page .mensagem-status.erro { background: rgba(226,55,68,0.1); color: #C41E2E; }

/* ===== Contato: mobile ===== */
@media (max-width: 780px) {
    .contato-page .hero-pagina { padding: 36px 16px 24px; }
    .contato-page .hero-pagina h1 { font-size: 26px; }

    .contato-page .secao-contato { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 16px 44px; }
    .contato-page .info-titulo { font-size: 24px; }
    .contato-page .info-texto { margin-bottom: 24px; }
    .contato-page .form-titulo { font-size: 20px; }

    /* 16px evita o zoom automático do iOS ao focar no campo */
    .contato-page .campo-form input, .contato-page .campo-form textarea { font-size: 16px; }
}

@media (max-width: 380px) {
    .contato-page .info-item { gap: 12px; }
    .contato-page .info-item .icone { width: 40px; height: 40px; }
}

/* ===== Ao vivo (ao-vivo.php) ===== */
.aovivo-page .player-wrap { max-width: 1240px; margin: 0 auto; padding: 32px 40px 0; }
.aovivo-page .iframe-container { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: #000; }
.aovivo-page .iframe-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.aovivo-page .player-indisponivel {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 16px; text-align: center; color: #9B9BB5; font-size: 15px;
}

.aovivo-page .secao-agora { max-width: 1240px; margin: 0 auto; padding: 32px 40px 42px; }

.aovivo-page .no-ar-agora {
    display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
    padding: 16px; border-radius: 10px; background: rgba(255,255,255,0.04);
}
.aovivo-page .no-ar-agora .badge {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
    color: #fff; background: #E23744; padding: 4px 10px; border-radius: 20px; flex: 0 0 auto;
}
.aovivo-page .no-ar-agora .badge .ponto { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: piscarAoVivo 1.4s ease-in-out infinite; }
@keyframes piscarAoVivo { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) {
    .aovivo-page .no-ar-agora .badge .ponto { animation: none; }
}
.aovivo-page .no-ar-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.aovivo-page .no-ar-agora img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.aovivo-page .no-ar-agora .titulo { font-size: 17px; font-weight: 700; overflow-wrap: break-word; min-width: 0; }

.aovivo-page .secao-titulo { font-size: 20px; font-weight: 700; margin-bottom: 16px; display: block; }

.aovivo-page .lista-a-seguir { display: flex; flex-direction: column; gap: 2px; }
.aovivo-page .item-a-seguir {
    display: flex; align-items: center; gap: 14px; padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.2s ease;
}
.aovivo-page .item-a-seguir .horario { font-size: 14px; font-weight: 700; color: #9B9BB5; width: 52px; flex: 0 0 auto; }
.aovivo-page .item-a-seguir img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.aovivo-page .item-a-seguir .titulo { font-size: 15px; font-weight: 600; min-width: 0; overflow-wrap: break-word; }
@media (hover: hover) {
    .aovivo-page .item-a-seguir:hover { background: rgba(255,255,255,0.03); }
}

.aovivo-page .sem-programacao { color: #9B9BB5; font-size: 14px; }

/* ===== Ao vivo: mobile ===== */
@media (max-width: 700px) {
    /* Player de ponta a ponta */
    .aovivo-page .player-wrap { padding: 0; }
    .aovivo-page .iframe-container { border-radius: 0; }

    .aovivo-page .secao-agora { padding: 24px 16px 36px; }
    .aovivo-page .secao-titulo { font-size: 17px; }

    .aovivo-page .no-ar-agora { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 24px; }
    .aovivo-page .no-ar-info { gap: 12px; width: 100%; }
    .aovivo-page .no-ar-agora img { width: 56px; height: 56px; }
    .aovivo-page .no-ar-agora .titulo { font-size: 16px; }

    .aovivo-page .item-a-seguir { gap: 12px; padding: 12px 4px; }
    .aovivo-page .item-a-seguir .horario { width: 46px; font-size: 13px; }
    .aovivo-page .item-a-seguir img { width: 44px; height: 44px; }
    .aovivo-page .item-a-seguir .titulo { font-size: 14px; }
}