/* Web Rádio - Estilos principais - GUIA.md */
/* ETAPA 13 + ETAPA 20 — Design moderno / Visual nível rádio profissional (89 FM, Jovem Pan, Novo Tempo) */
:root {
    --primary: #0a5fdc;
    --primary-dark: #0849b0;
    --secondary: #5a0ad4;
    --bg: #f5f6f8;
    --text: #1a1d21;
    --text-muted: #5c636a;
    --header-bg: rgba(255,255,255,0.98);
    --player-bg: linear-gradient(135deg, #0a5fdc 0%, #5a0ad4 50%, #0849b0 100%);
    --player-bar-stripe: rgba(255,255,255,0.12);
    --player-bar-height: 100px;
    --header-offset-gap: 0px;
    --footer-bg: #1c1f23;
    /* Bordas arredondadas */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 50px;
    /* Sombras modernas */
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-glow: 0 4px 24px rgba(13,110,253,0.35);
    /* Gradientes modernos */
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    --gradient-soft: linear-gradient(180deg, rgba(13,110,253,0.04) 0%, rgba(102,16,242,0.03) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.95) 100%);
    /* Animações suaves */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-total: 225px;
}

[data-theme="dark"] {
    --bg: #141619;
    --text: #e9ecef;
    --text-muted: #aeb6bf;
    --header-bg: rgba(20,22,25,0.98);
    --footer-bg: #0d0e10;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --gradient-card: linear-gradient(145deg, rgba(28,31,36,0.98) 0%, rgba(20,22,25,0.95) 100%);
    --gradient-soft: linear-gradient(180deg, rgba(10,95,220,0.08) 0%, rgba(90,10,212,0.05) 100%);
}

* { box-sizing: border-box; }

html {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding-top: var(--header-total);
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    transition: background var(--transition), color var(--transition);
}
/* Fundo com gradiente suave (design moderno) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    background: var(--gradient-soft);
    pointer-events: none;
    z-index: -1;
}

/* Uma única área de scroll (documento); evita dois scrolls e permite GoFullPage */
.page-scroll-wrapper {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-top: 1.5rem;
}

/* Player fixo no topo - nível rádio profissional */
.radio-player-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--player-bar-height);
    min-height: var(--player-bar-height);
    background: var(--player-bg);
    color: #fff;
    padding: 10px 12px;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    border-radius: 0 0 var(--radius) var(--radius);
    border-bottom: none !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.radio-player-bar .container-fluid {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
}
.radio-player-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    pointer-events: none;
}
.player-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
}
.player-cover-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-cover,
.player-cover-placeholder {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}
.player-cover {
    border-radius: var(--radius-sm);
    object-fit: cover;
    display: block;
    background: rgba(255,255,255,0.15);
    box-shadow: var(--shadow-sm);
}
.player-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
}
.player-meta,
.player-ouvintes-badge {
    flex-shrink: 0;
}
.player-info {
    flex: 1;
    min-width: 0;
    padding: 2px 0;
}
.player-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.player-music-wrap {
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    display: block;
}
.player-music-wrap .player-music {
    display: inline-block;
    white-space: nowrap;
    padding-right: 2em;
}
.player-music-wrap.player-music-marquee .player-music {
    animation: player-marquee 20s linear infinite;
}
@keyframes player-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.player-music {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-music-wrap .player-music {
    overflow: visible;
    text-overflow: clip;
}
.player-music-artist {
    display: block;
    font-size: 0.85rem;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.player-program-locutor {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 2px;
    font-size: 0.75rem;
    opacity: 0.88;
}
.player-program-locutor .player-program,
.player-program-locutor .player-locutor {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-locutor {
    display: inline;
}
.player-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.player-meta-label { font-size: 0.7rem; opacity: 0.85; margin-right: 4px; }
.player-next { font-size: 0.8rem; opacity: 0.95; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ETAPA 4 — Badge flutuante ouvintes no player (autoridade: 🔴 X ouvindo agora) */
.player-ouvintes-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(0,0,0,0.35);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
}
.player-ouvintes-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
    animation: player-live-dot 1.5s ease-in-out infinite;
}
@keyframes player-live-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
}
.player-ouvintes-badge #playerListeners {
    font-weight: 800;
    color: #fff;
}
.player-ouvintes-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.95;
}
.player-listeners {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    opacity: 0.95;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 20px;
}
.player-listeners i { font-size: 0.85rem; }
.player-listeners-text { font-size: 0.7rem; opacity: 0.9; }
.player-visual { flex-shrink: 0; display: flex; align-items: center; }
/* ETAPA 1 — Equalizer: barrinhas animadas (vida ao player) */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 32px;
}
.eq-bar {
    width: 5px;
    min-height: 6px;
    max-height: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(255,255,255,0.85));
    border-radius: 3px;
    transform-origin: bottom;
    animation: eq-idle 0.8s ease-in-out infinite;
}
.radio-player-bar.is-playing .eq-bar {
    animation: eq-play 0.45s ease-in-out infinite;
}
.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.07s; }
.eq-bar:nth-child(3) { animation-delay: 0.14s; }
.eq-bar:nth-child(4) { animation-delay: 0.07s; }
.eq-bar:nth-child(5) { animation-delay: 0s; }
.radio-player-bar.is-playing .eq-bar:nth-child(1) { animation-delay: 0s; height: 10px; }
.radio-player-bar.is-playing .eq-bar:nth-child(2) { animation-delay: 0.06s; height: 20px; }
.radio-player-bar.is-playing .eq-bar:nth-child(3) { animation-delay: 0.12s; height: 26px; }
.radio-player-bar.is-playing .eq-bar:nth-child(4) { animation-delay: 0.06s; height: 18px; }
.radio-player-bar.is-playing .eq-bar:nth-child(5) { animation-delay: 0s; height: 12px; }
@keyframes eq-idle {
    0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
    50% { transform: scaleY(0.65); opacity: 0.75; }
}
@keyframes eq-play {
    0%, 100% { transform: scaleY(0.4); }
    25% { transform: scaleY(0.85); }
    50% { transform: scaleY(1); }
    75% { transform: scaleY(0.6); }
}
/* ETAPA 1 — Barra de progresso fake (visual profissional ao vivo) */
.player-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.25);
    overflow: hidden;
}
.player-progress-bar {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
    border-radius: 0 2px 2px 0;
    animation: progress-shine 2.2s ease-in-out infinite;
    transform: translateX(-100%);
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.radio-player-bar:not(.is-playing) .player-progress-bar {
    animation: none;
    opacity: 0;
}
.radio-player-bar.is-playing .player-progress-bar {
    opacity: 1;
}
@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}
.btn-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}
.btn-play-lg {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
}
.btn-play:hover { background: rgba(255,255,255,0.4); transform: scale(1.05); }
.btn-play.playing { background: rgba(255,255,255,0.95); color: var(--primary); }
.player-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.volume-wrap { display: flex; align-items: center; gap: 8px; margin: 0; }
.volume-wrap i { font-size: 1.1rem; }
.volume-slider { width: 84px; height: 6px; cursor: pointer; }
.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-share:hover { background: rgba(255,255,255,0.35); transform: scale(1.05); }
.btn-theme { background: transparent; border: none; color: rgba(255,255,255,0.9); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; }
.btn-theme:hover { color: #fff; }

/* Toast "Link copiado" ao compartilhar */
.player-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--footer-bg);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}
.player-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Header — respiro para logo, menu e ícones */
.site-header {
    position: fixed;
    top: calc(var(--player-bar-height) - 1px);
    left: 0;
    right: 0;
    z-index: 1020;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), box-shadow var(--transition);
    border-radius: 0 0 var(--radius) var(--radius);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    overflow: visible;
    display: flex;
    align-items: center;
}
.site-header .navbar {
    flex: 1;
    align-self: stretch;
    padding: 0;
    min-height: 0;
    align-items: center;
    display: flex;
}
.site-header .navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 992px) {
    .site-header .navbar .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    padding-right: 1.5rem;
    margin-right: 0.5rem;
    overflow: visible;
}
@media (min-width: 992px) {
    .navbar-brand {
        padding-right: 2rem;
        margin-right: 0.75rem;
    }
}
.navbar-brand .site-logo {
    height: 72px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    display: block;
}
@media (min-width: 992px) {
    .navbar-brand .site-logo {
        height: 82px;
        max-width: 320px;
    }
}
.navbar-brand .logo-text {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text);
    line-height: 1.3;
}
.site-header .navbar-collapse { align-items: center; }
.navbar-nav { align-items: center; }
.nav-item { display: flex; align-items: center; }

/* Menu hamburguer visível no tema dark */
[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}
[data-theme="dark"] .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}
[data-theme="dark"] .navbar-toggler-icon {
    /* Força ícone branco (Bootstrap depende de variáveis do tema) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}
.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 6px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link.active { background: rgba(13,110,253,0.1); }
/* Submenu dropdown */
.nav-item.dropdown .dropdown-toggle { white-space: nowrap; }
.nav-item.dropdown .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 11rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.nav-item.dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
}
.nav-item.dropdown .dropdown-item:hover,
.nav-item.dropdown .dropdown-item.active { background: rgba(13,110,253,0.1); color: var(--primary); }
.nav-item.dropdown .dropdown-item.active { font-weight: 600; }

/* Dropdown "Mais" no header — tema dark (Bootstrap deixa fundo branco por padrão) */
[data-theme="dark"] .site-header .nav-item.dropdown .dropdown-menu,
[data-theme="dark"] .nav-item.dropdown .dropdown-menu {
    --bs-dropdown-bg: #1c1f23;
    --bs-dropdown-border-color: rgba(255, 255, 255, 0.14);
    --bs-dropdown-link-color: #e9ecef;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-hover-bg: rgba(13, 110, 253, 0.28);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: rgba(13, 110, 253, 0.38);
    background-color: #1c1f23;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .site-header .nav-item.dropdown .dropdown-item,
[data-theme="dark"] .nav-item.dropdown .dropdown-item {
    color: #e9ecef;
}
[data-theme="dark"] .site-header .nav-item.dropdown .dropdown-item:hover,
[data-theme="dark"] .site-header .nav-item.dropdown .dropdown-item:focus,
[data-theme="dark"] .nav-item.dropdown .dropdown-item:hover,
[data-theme="dark"] .nav-item.dropdown .dropdown-item:focus {
    background: rgba(13, 110, 253, 0.28);
    color: #fff;
}
[data-theme="dark"] .site-header .nav-item.dropdown .dropdown-item.active,
[data-theme="dark"] .nav-item.dropdown .dropdown-item.active {
    background: rgba(13, 110, 253, 0.38);
    color: #fff;
}

.btn-header-ouvir {
    background: linear-gradient(135deg, var(--primary) 0%, #6610f2 100%);
    color: #fff !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(13,110,253,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-header-ouvir:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,110,253,0.5);
}
.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
}
@media (min-width: 992px) {
    .header-social {
        margin-left: 1rem;
        padding-left: 1rem;
    }
}
.header-social a {
    color: var(--text);
    font-size: 1.2rem;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-social a:hover { opacity: 1; color: var(--primary); }
.btn-whatsapp { background: #25d366 !important; color: #fff !important; border-radius: 50%; width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-whatsapp:hover { color: #fff !important; opacity: 0.9; }

/* Main - permite que o conteúdo expanda e o scroll funcione até o fim da página */
.site-main {
    min-height: 60vh;
    padding-bottom: 2rem;
    padding-top: 1rem; /* respiro para o primeiro bloco (No Ar Agora) aparecer ao subir o scroll */
    overflow: visible;
}

/* Seções - hierarquia visual (nível rádio profissional) */
.section-title {
    font-weight: 800;
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* Recados na home — card de recado (remetente x mensagem separados) */
.recados-home-section {
    width: 100%;
}
.recados-box {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}
[data-theme="dark"] .recados-box {
    background: var(--gradient-card);
}

/* Bootstrap: corrigir contraste do texto "muted" no tema escuro */
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}
.recados-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.recado-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.recado-item:last-child {
    margin-bottom: 0;
}
[data-theme="dark"] .recado-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}
.recado-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.recado-nome {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
}
[data-theme="dark"] .recado-nome {
    color: var(--text);
}
.recado-meta {
    font-size: 12px;
    color: #64748b;
}
[data-theme="dark"] .recado-meta {
    color: var(--text-muted);
}
.recado-mensagem {
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
    word-break: break-word;
}
[data-theme="dark"] .recado-mensagem {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--primary);
    color: var(--text-muted);
}

/* ETAPA 2 — Hero nível rádio grande: imagem estúdio, overlay escuro, texto e botão em destaque */
.hero-banner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1d2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
.hero-banner-pro {
    min-height: 420px;
}
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
.hero-banner-pro .hero-banner-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.65) 100%);
}
.hero-banner-inner {
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
}
.hero-banner-pro .hero-banner-inner {
    padding: 4rem 1.5rem;
}
.hero-banner-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.hero-banner-pro .hero-banner-title {
    font-size: clamp(2.25rem, 6.5vw, 3.75rem);
    text-shadow: 0 3px 30px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.2);
    margin-bottom: 0.75rem;
}
.hero-banner-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.hero-banner-pro .hero-banner-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.btn-hero-ouvir {
    background: #fff;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-hero-ouvir:hover {
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.btn-hero-ouvir-lg {
    padding: 18px 42px;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn-hero-ouvir-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* Seção Tocando Agora - bloco moderno (capa, música, artista, locutor, ouvintes) */
.tocando-agora-section .section-title { margin-bottom: 1rem; }
.tocando-agora-card {
    background: var(--card-bg, #fff);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition), transform var(--transition);
}
.tocando-agora-card:hover { box-shadow: var(--shadow-md); }
[data-theme="dark"] .tocando-agora-card {
    background: var(--bg);
    border-color: rgba(255,255,255,0.08);
}
.tocando-agora-cover-wrap { padding: 0; }
.tocando-agora-cover {
    width: 140px;
    height: 140px;
    object-fit: cover;
    display: block;
}
.tocando-agora-cover-placeholder {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(13,110,253,0.25) 0%, rgba(102,16,242,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}
.tocando-agora-body {
    padding: 1.25rem 1.5rem;
}
.tocando-agora-music {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.tocando-agora-artist {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.tocando-agora-locutor {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 0.25rem;
}
.tocando-agora-ouvintes {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
}

/* ETAPA 3 — Tocando Agora destaque principal: capa grande, texto em destaque */
.tocando-agora-hero .section-title { margin-bottom: 1.25rem; font-size: 1.65rem; }
.tocando-agora-card-hero {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    border-width: 1px;
}
.tocando-agora-card-hero:hover { box-shadow: var(--shadow-glow); }
.tocando-agora-cover-wrap-hero { padding: 0; }
.tocando-agora-cover-hero,
.tocando-agora-cover-placeholder.tocando-agora-cover-hero {
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.tocando-agora-cover-placeholder.tocando-agora-cover-hero { font-size: 4rem; }
.tocando-agora-body-hero {
    padding: 1.5rem 2rem;
}
.tocando-agora-music-hero {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.tocando-agora-artist-hero {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.tocando-agora-locutor-hero {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.tocando-agora-ouvintes-hero {
    font-size: 1.05rem;
    font-weight: 700;
}
.tocando-agora-actions {
    padding: 1.5rem 2rem !important;
}

@media (max-width: 767px) {
    .tocando-agora-cover,
    .tocando-agora-cover-placeholder { width: 100px; height: 100px; }
    .tocando-agora-cover-hero,
    .tocando-agora-cover-placeholder.tocando-agora-cover-hero { width: 120px; height: 120px; font-size: 2.5rem; }
    .tocando-agora-body { padding: 1rem; }
    .tocando-agora-body-hero { padding: 1rem 1.25rem; }
    .tocando-agora-music { font-size: 1.15rem; }
    .tocando-agora-music-hero { font-size: 1.35rem; }
    .tocando-agora-artist-hero { font-size: 1rem; }
    .tocando-agora-actions { padding: 1rem !important; }
}

.section-locutores { margin-top: 3.5rem; padding-top: 2rem; }
.section-locutores:nth-of-type(odd) { background: linear-gradient(180deg, transparent 0%, rgba(13,110,253,0.03) 100%); padding-bottom: 2rem; border-radius: var(--radius); }

.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .card:hover { box-shadow: var(--shadow-lg); }

/* Tema escuro: Bootstrap "card" padrão e texto "text-dark" ficavam claros/pretos demais */
[data-theme="dark"] .card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text) !important;
}

[data-theme="dark"] .text-dark {
    color: var(--text) !important;
}

[data-theme="dark"] a.text-dark,
[data-theme="dark"] a.card.text-dark,
[data-theme="dark"] .card.text-dark {
    color: var(--text) !important;
    text-decoration: none;
}

/* Bootstrap list-group: fundo branco no tema escuro */
[data-theme="dark"] .list-group-item {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Formulários no tema escuro (inputs estavam brancos) */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] textarea.form-control,
[data-theme="dark"] input.form-control {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--text) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

[data-theme="dark"] .form-control::placeholder {
    color: rgba(233, 236, 239, 0.65) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text) !important;
    border-color: rgba(13, 110, 253, 0.55) !important;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25) !important;
}

/* ETAPA 5 — Cards profissionais: hover (zoom leve + sombra suave) */
.card-hover-pro {
    transition: transform var(--transition), box-shadow var(--transition);
}
.card-hover-pro:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-hover-pro .card-img-wrap,
.card-hover-pro [class*="-image-wrap"],
.card-hover-pro [class*="-photo-wrap"] {
    overflow: hidden;
}
.card-hover-pro img[class*="-image"],
.card-hover-pro img[class*="-photo"],
.card-hover-pro .blog-card-image {
    transition: transform var(--transition-slow);
}
.card-hover-pro:hover img[class*="-image"],
.card-hover-pro:hover img[class*="-photo"],
.card-hover-pro:hover .blog-card-image {
    transform: scale(1.06);
}

/* Programação - cards modernos (imagem, nome, horário, botão Detalhes) */
.programacao-card-modern {
    border: 1px solid rgba(0,0,0,0.06);
}
.programacao-card-modern.card-hover-pro:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
[data-theme="dark"] .programacao-card-modern {
    border-color: rgba(255,255,255,0.08);
}
.programacao-card-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13,110,253,0.12) 0%, rgba(102,16,242,0.08) 100%);
}
.programacao-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: transparent;
    display: block;
    transition: transform var(--transition);
}
.programacao-card-modern:hover .programacao-card-image {
    transform: none;
}
.programacao-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.8;
}
.programacao-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.programacao-card-horario {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.programacao-card-locutor {
    flex-shrink: 0;
}

/* No Ar Agora - bloco dinâmico (borda lateral azul + fundo em gradiente leve) */
.no-ar-agora .no-ar-card,
.no-ar-card {
    background: linear-gradient(135deg, rgba(13,110,253,0.12) 0%, rgba(102,16,242,0.08) 100%) !important;
    border: none !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}
.no-ar-agora .no-ar-card .card-body {
    background: transparent !important;
}
[data-theme="dark"] .no-ar-agora .no-ar-card,
[data-theme="dark"] .no-ar-card {
    background: linear-gradient(135deg, rgba(13,110,253,0.18) 0%, rgba(102,16,242,0.12) 100%) !important;
    border-left-color: var(--primary) !important;
}
.no-ar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px 10px 28px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
}
.no-ar-badge i { font-size: 1.25rem; }
.no-ar-badge .pulse {
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: no-ar-pulse 1.5s ease-in-out infinite;
}
.no-ar-program { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.no-ar-locutor { font-size: 0.95rem; }
.btn-ouvir-agora { border-radius: 50px; font-weight: 600; padding: 12px 24px; }
@keyframes no-ar-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero AO VIVO - bloco principal (coração do site) - texto escuro para contraste no fundo claro */
.hero-ao-vivo-card {
    background: linear-gradient(135deg, rgba(13,110,253,0.18) 0%, rgba(102,16,242,0.12) 100%) !important;
    border: none !important;
    border-left: 5px solid var(--primary) !important;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(13,110,253,0.15);
    padding: 1.75rem 2rem;
    color: var(--text);
}
.hero-ao-vivo-card .hero-ao-vivo-badge { color: #fff; }
.hero-ao-vivo-card .text-muted { color: var(--text) !important; opacity: 0.85; }
.hero-ao-vivo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.hero-ao-vivo-badge .hero-pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: no-ar-pulse 1.5s ease-in-out infinite;
}
.hero-program-name { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.hero-locutor { font-size: 1.05rem; color: var(--text); opacity: 0.9; }
.hero-horario { font-size: 0.95rem; }
.hero-locutor-avatar { width: 90px; height: 90px; object-fit: cover; border: 3px solid rgba(255,255,255,0.5); }
.hero-fallback-text { font-size: 1.1rem; color: var(--text); }
.btn-ouvir-hero { border-radius: 50px; font-weight: 600; }

/* Bloco Brascast: música atual, ouvintes, próxima - texto escuro para contraste */
.hero-brascast,
.hero-brascast .hero-brascast-label,
.hero-brascast .hero-brascast-value { color: var(--text); }
.hero-brascast .hero-brascast-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}
.hero-brascast .hero-brascast-value {
    font-size: 1rem;
    font-weight: 600;
}
.hero-brascast .hero-brascast-next { font-size: 0.95rem; font-weight: 500; }
.hero-brascast-hint,
.hero-brascast-hint .hero-brascast-hint-text { color: var(--text) !important; }
.hero-brascast-hint .hero-brascast-hint-text { opacity: 0.95; }

/* Programação - destaque NO AR e Próximo */
.programacao-item { transition: background 0.2s; }
.programacao-no-ar { background: rgba(13,110,253,0.08) !important; border-left: 3px solid var(--primary); }
.programacao-list .badge { font-size: 0.7rem; }

/* Locutores - destaque para quem está no ar */
.locutor-card { transition: transform 0.2s, box-shadow 0.2s; }
.locutor-card:hover { transform: translateY(-4px); }
.locutor-no-ar {
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 20px rgba(13,110,253,0.25) !important;
}
.locutor-badge-ao-vivo {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    background: var(--primary) !important;
}

/* Locutores - cards modernos (foto real, nome, cargo, redes, Ver perfil) */
.locutor-card-modern {
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.locutor-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
[data-theme="dark"] .locutor-card-modern {
    border-color: rgba(255,255,255,0.08);
}
.locutor-card-photo-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13,110,253,0.1) 0%, rgba(102,16,242,0.08) 100%);
    position: relative;
}
.locutor-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: transparent;
    display: block;
    transition: transform var(--transition);
}
.locutor-card-modern:hover .locutor-card-photo {
    transform: none;
}

/* Evita zoom genérico nesses cards (a regra global acima não pode sobrescrever). */
.card-hover-pro:hover .programacao-card-image,
.card-hover-pro:hover .locutor-card-photo {
    transform: none !important;
}
.locutor-card-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.7;
}
.locutor-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0;
}
.locutor-card-cargo {
    font-weight: 500;
    margin-bottom: 0;
}
.locutor-card-redes {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.locutor-redes-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13,110,253,0.1);
    color: var(--primary);
    transition: background 0.2s, color 0.2s;
}
.locutor-redes-icon:hover {
    background: var(--primary);
    color: #fff;
}
.locutor-redes-whatsapp { color: #25d366; }
.locutor-redes-whatsapp:hover { background: #25d366; color: #fff; }

/* Página perfil do locutor */
.locutor-perfil-foto {
    width: 220px;
    height: 220px;
    object-fit: cover;
    max-width: 100%;
}
.locutor-perfil-placeholder {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(13,110,253,0.2) 0%, rgba(102,16,242,0.15) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
}
.locutor-perfil-cargo { font-size: 1.1rem; }
.locutor-perfil-redes .btn { margin-bottom: 0.25rem; }

/* Banner home */
.hero-banner {
    background: linear-gradient(135deg, rgba(13,110,253,0.9) 0%, rgba(102,16,242,0.85) 100%),
                url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?w=1200') center/cover;
    border-radius: var(--radius);
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}
.hero-banner h1 { font-weight: 700; font-size: 2.25rem; margin-bottom: 1rem; }
.hero-banner .btn-ouvir {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-banner .btn-ouvir:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); color: var(--primary); }

/* Botões */
.btn-primary { background: var(--primary); border-color: var(--primary); font-weight: 500; }
.btn-primary:hover { background: #0b5ed7; border-color: #0b5ed7; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* Programação table */
.table-programacao thead th { background: var(--primary); color: #fff; border: none; font-weight: 600; }
.table-programacao tbody tr { transition: background 0.2s; }
.table-programacao tbody tr:hover { background: rgba(13,110,253,0.06); }

/* Página Pedido de Música */
.pedido-page-header .section-title { margin-bottom: 0.35rem; }
.pedido-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}
[data-theme="dark"] .pedido-card { border-color: rgba(255,255,255,0.08); }
.pedido-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.2); }
.btn-pedido-whatsapp {
    background: #25d366;
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
}
.btn-pedido-whatsapp:hover {
    background: #20bd5a;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Blog / Notícias - listagem moderna */
.blog-header .section-title { margin-bottom: 0.35rem; }
.blog-categories .nav-link {
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 22px;
    color: var(--text);
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-categories .nav-link:hover {
    background: rgba(13,110,253,0.08);
    color: var(--primary);
    border-color: rgba(13,110,253,0.3);
}
.blog-categories .nav-link.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(13,110,253,0.35);
}
[data-theme="dark"] .blog-categories .nav-link.active {
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.blog-card {
    background: var(--card-bg, #fff);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card.card-hover-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
[data-theme="dark"] .blog-card {
    background: var(--gradient-card);
    border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .blog-card-excerpt,
[data-theme="dark"] .blog-card-date {
    color: var(--text-muted);
}
.blog-card-link { display: block; color: inherit; }
.blog-card-image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13,110,253,0.08) 0%, rgba(102,16,242,0.06) 100%);
}
.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}
.blog-card.card-hover-pro:hover .blog-card-image { transform: scale(1.06); }
.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.5;
}
.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}
.blog-card-body { padding: 1.35rem 1.5rem; }
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-date {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.65;
}

/* Página completa de notícia - hero + conteúdo */
.article-page { padding-bottom: 3rem; }
.article-hero {
    position: relative;
    width: 100%;
    height: 42vh;
    min-height: 280px;
    max-height: 480px;
    overflow: hidden;
    background: #1a1d2e;
}
.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
}
.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    pointer-events: none;
}
.container-article { position: relative; margin-top: -3rem; }
.article-content-wrap {
    position: relative;
    z-index: 1;
    background: var(--card-bg, #fff);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 2rem 2rem 2.5rem;
    max-width: 720px;
    margin: 0 auto;
}
[data-theme="dark"] .article-content-wrap { background: var(--bg); }
.article-category-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.article-category-badge:hover { color: #fff; opacity: 0.9; }
.article-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.article-meta {
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
}
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body p { margin-bottom: 1rem; }
.article-body h2 { font-size: 1.35rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }

/* Galeria profissional - tabs Fotos | Vídeos + Lightbox */
.galeria-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-weight: 600;
    color: var(--text);
    opacity: 0.8;
    padding: 12px 20px;
    transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}
.galeria-tabs .nav-link:hover { opacity: 1; color: var(--primary); }
.galeria-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    opacity: 1;
    background: transparent;
}
.galeria-tab-count {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 4px;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.galeria-item { position: relative; }
.galeria-thumb {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg);
}
.galeria-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.galeria-thumb:hover img { transform: scale(1.08); }
.galeria-thumb-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.galeria-thumb:hover .galeria-thumb-zoom { opacity: 1; }
.galeria-thumb-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}
.galeria-video-card { border-radius: var(--radius); overflow: hidden; }
.galeria-video-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}
.galeria-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.galeria-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,0,0,0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.2s;
}
.galeria-video-thumb:hover .galeria-video-play { transform: translate(-50%, -50%) scale(1.1); }
.galeria-video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.lightbox.lightbox-open {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-caption {
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Ouvintes online (ETAPA 10) */
.ouvintes-online-card {
    background: linear-gradient(135deg, rgba(13,110,253,0.12) 0%, rgba(102,16,242,0.08) 100%);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: var(--radius);
}
.ouvintes-online-icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ouvintes-online-icon {
    font-size: 2.25rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}
.ouvintes-online-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
    animation: ouvintes-pulse 2s ease-out infinite;
}
@keyframes ouvintes-pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}
.ouvintes-online-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}
.ouvintes-online-label {
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.9;
}
.ouvintes-online-peak { margin-left: 0.5rem; }

/* Card único Ao Vivo (informação em um só lugar) */
.ao-vivo-unico-section { }
.ao-vivo-unico-card {
    position: relative;
    background: linear-gradient(135deg, rgba(13,110,253,0.08) 0%, rgba(102,16,242,0.06) 100%);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition);
}
.ao-vivo-unico-card:hover { box-shadow: 0 8px 24px rgba(13, 110, 253, 0.12); }
.ao-vivo-unico-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.ao-vivo-unico-badge .ao-vivo-unico-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: ao-vivo-pulse 1.5s ease-in-out infinite;
}
@keyframes ao-vivo-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}
.ao-vivo-unico-card .card-body { padding-top: 3.25rem; padding-bottom: 1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.ao-vivo-unico-cover-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.ao-vivo-unico-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ao-vivo-unico-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}
.ao-vivo-unico-noar {
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}
.ao-vivo-unico-music {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.ao-vivo-unico-artist {
    font-size: 1rem;
    line-height: 1.3;
}

/* Home: padroniza tonalidade das infos (ouvintes/pico) no card Ao Vivo */
[data-theme="dark"] .ao-vivo-unico-card .small,
[data-theme="dark"] .ao-vivo-unico-card .small span,
[data-theme="dark"] .ao-vivo-unico-card .small strong {
    color: var(--text-muted) !important;
}

/* Home: card Baixar App (seção simples) */
.app-section { padding: 0 0 0.5rem; }
.app-section-card {
    background: var(--gradient-soft);
    border: 1px solid rgba(13, 110, 253, 0.18);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.app-section-card:hover { box-shadow: var(--shadow-md); }
.app-section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.app-section-text { color: var(--text-muted); margin-bottom: 1.25rem; }
.btn-app-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-app-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35); }
.app-section-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-app:hover { transform: translateY(-2px); }
.btn-app i { font-size: 1.5rem; }
.btn-app-google {
    background: #000;
    color: #fff;
    border: none;
}
.btn-app-google:hover { color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn-app-apple {
    background: #fff;
    color: #000;
    border: 1px solid #dee2e6;
}
.btn-app-apple:hover { color: #000; box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

/* Página Aplicativo (?p=aplicativo) — Seção destaque full width (ETAPAs 1–10) */
.app-section-hero {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}
.app-section-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    z-index: 0;
}
.app-section-hero .container { position: relative; z-index: 1; }
.app-section-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.app-section-hero-content { color: #fff; }
.app-section-hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.25;
}
.app-section-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}
.app-section-hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}
.app-section-hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}
.app-section-hero-benefits .bi-check-circle-fill {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.app-section-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.app-badge {
    display: inline-block;
    height: 55px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.app-badge:hover { transform: translateY(-3px); opacity: 0.95; }
.app-badge img {
    height: 55px;
    width: auto;
    display: block;
    border-radius: 8px;
}
.app-badge-soon {
    height: auto;
    padding: 12px 20px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
}
.app-badge-soon small { font-size: 0.8rem; opacity: 0.9; }
.app-section-hero-qr {
    margin-top: 1.5rem;
}
.app-qr-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}
.app-qr-img {
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.app-section-hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-phone-mockup {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    animation: app-phone-float 4s ease-in-out infinite;
}
.app-phone-placeholder {
    width: 200px;
    height: 380px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.08);
    animation: app-phone-float 4s ease-in-out infinite;
}
.app-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.app-phone-screen .bi-broadcast { font-size: 3rem; opacity: 0.9; }
@keyframes app-phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
/* Página Aplicativo — Card estilizado, nível premium */
.app-page {
    position: relative;
    min-height: 55vh;
    padding: 2rem 0 3rem;
}
.app-page-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 35%, #f5f0ff 100%);
    z-index: 0;
}
.app-page .container { position: relative; z-index: 1; }
.app-page-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(13, 110, 253, 0.08),
        0 4px 6px -2px rgba(13, 110, 253, 0.06),
        0 20px 40px -12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    max-width: 760px;
    margin: 0 auto;
}
.app-page-card:hover {
    box-shadow:
        0 0 0 1px rgba(13, 110, 253, 0.12),
        0 8px 16px -4px rgba(13, 110, 253, 0.1),
        0 28px 56px -16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}
.app-page-card-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--primary, #0a5fdc) 0%, #6366f1 50%, #8b5cf6 100%);
    flex-shrink: 0;
}
.app-page-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 2.75rem 2.75rem;
}
.app-page-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-page-phone-img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: app-page-float 4s ease-in-out infinite;
}
.app-page-phone-placeholder {
    width: 150px;
    height: 286px;
    background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
    border-radius: 26px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: app-page-float 4s ease-in-out infinite;
}
.app-page-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}
.app-page-phone-screen .bi-broadcast { font-size: 2.5rem; opacity: 0.95; }
@keyframes app-page-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.app-page-body { text-align: center; }
.app-page-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary, #0a5fdc) 0%, #4f46e5 100%);
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(10, 95, 220, 0.35);
}
.app-page-icon { font-size: inherit; color: inherit; }
.app-page-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.app-page-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 1.35rem;
    font-weight: 500;
}
.app-page-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.35rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
}
.app-page-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    background: rgba(13, 110, 253, 0.06);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}
.app-page-benefits .bi-check-circle-fill {
    color: var(--primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.app-page-availability {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.35rem;
    font-weight: 500;
}
.app-page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.app-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.app-page-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.app-page-badge img {
    height: 55px;
    width: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
/* Badge Google Play — botão bem destacado (óbvio que é clicável) */
.app-page-badge-google {
    min-width: 200px;
    height: 56px;
    padding: 0 18px 0 16px;
    background: #000 !important;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.app-page-badge-google:hover {
    color: #fff !important;
    text-decoration: none !important;
    background: #1a1a1a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.15) inset;
    transform: translateY(-3px);
}
.app-page-badge-google:active {
    transform: translateY(-1px);
}
.app-page-badge-google-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.app-page-badge-google-icon {
    font-size: 2rem;
    line-height: 1;
    color: #fff !important;
}
.app-page-badge-google-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
    color: #fff !important;
}
.app-page-badge-google-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
    font-weight: 600;
    color: #e0e0e0 !important;
}
.app-page-badge-google-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
}
.app-page-badge-soon {
    min-height: 55px;
    padding: 0 1.5rem;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.app-page-badge-soon small {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
}
.app-page-qr {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.app-page-qr-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.app-page-qr-img {
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Página Aplicativo — tema dark */
[data-theme="dark"] .app-page-bg {
    background: radial-gradient(1200px 420px at 50% -80px, rgba(79, 70, 229, 0.16), rgba(15, 23, 42, 0) 70%),
                linear-gradient(160deg, #0b1220 0%, #0f172a 45%, #111827 100%);
}
[data-theme="dark"] .app-page .page-header .text-muted {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .app-page-card {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, 0.22),
        0 8px 24px rgba(2, 6, 23, 0.5);
}
[data-theme="dark"] .app-page-card:hover {
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.35),
        0 14px 32px rgba(2, 6, 23, 0.58);
}
[data-theme="dark"] .app-page-title {
    color: #e5e7eb;
}
[data-theme="dark"] .app-page-subtitle,
[data-theme="dark"] .app-page-availability,
[data-theme="dark"] .app-page-qr-label {
    color: #94a3b8;
}
[data-theme="dark"] .app-page-benefits li {
    color: #e2e8f0;
    background: rgba(59, 130, 246, 0.16);
}
[data-theme="dark"] .app-page-badge img {
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}
[data-theme="dark"] .app-page-badge-soon {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-color: #334155;
    color: #e2e8f0;
}
[data-theme="dark"] .app-page-badge-soon small {
    color: #94a3b8;
}
[data-theme="dark"] .app-page-qr {
    border-top-color: rgba(148, 163, 184, 0.25);
}
[data-theme="dark"] .app-page-qr-img {
    background: #e5e7eb;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #e9ecef;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

/* Home: CTA "Peça sua música" mais compacto */
.home-cta-pedido .card-body {
    padding: 1.25rem 1.25rem;
}
.home-cta-pedido .card-title {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
}
.home-cta-pedido .card-text {
    margin-bottom: 0.85rem;
    opacity: 0.95;
}
.home-cta-pedido .btn {
    padding: 0.55rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
}
@media (max-width: 767px) {
    .home-cta-pedido .card-body { padding: 1.05rem 1rem; }
    .home-cta-pedido .card-title { font-size: 1.2rem; }
}
.site-footer h5, .site-footer h6 { font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: #adb5bd; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-size: 1.25rem; color: #fff !important; margin-bottom: 0.5rem; }
.footer-about { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: #adb5bd; margin-bottom: 0.35rem; }
.footer-desc { color: #adb5bd; font-size: 0.95rem; line-height: 1.5; margin-bottom: 0; }
.footer-heading { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: #ced4da; margin-bottom: 0.75rem; }
.footer-item { color: #adb5bd; font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer-item:last-child { margin-bottom: 0; }
.footer-hr { border-color: rgba(255,255,255,0.1); margin: 1.5rem 0 1rem; }
.footer-copy { text-align: center; font-size: 0.875rem; color: #868e96; margin-bottom: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.footer-social a { font-size: 1.5rem; margin-right: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); transition: background var(--transition-fast), color var(--transition-fast); }
.footer-social a:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ETAPA 19 — Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6); }
.whatsapp-float-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    padding: 6px 12px;
    background: #1a1d21;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* ETAPA 14 — Animações ao rolar: fade in suave */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.animate-delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.animate-delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.animate-delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.animate-delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.animate-delay-5 { transition-delay: 0.4s; }

/* Utilitários */
.page-header { margin-bottom: 2rem; }
/* Título padronizado das páginas (ícone + texto na cor primária, como no admin) */
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.page-title .bi { color: var(--primary); }
@media (max-width: 991px) { .page-title { font-size: 1.5rem; } }
@media (max-width: 767px) { .page-title { font-size: 1.35rem; } }
.bg-primary { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }

/* ETAPA 15 — Responsivo: celular é prioridade; player fixo no mobile (fixo embaixo) */
@media (max-width: 991px) {
    :root { --header-total: 130px; }
    body { padding-top: var(--header-total); padding-bottom: 0; }
    .page-scroll-wrapper { height: auto; overflow: visible; }
    .site-header { top: calc(var(--player-bar-height) - 1px); }
    .player-inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .player-info { text-align: center; min-width: 0; }
    .player-cover { width: 44px; height: 44px; }
    .btn-play-lg { width: 48px; height: 48px; font-size: 1.35rem; }
    .container { padding-left: 1rem; padding-right: 1rem; }
    .section-title { font-size: 1.5rem; }
    .hero-banner { min-height: 280px; }
    .hero-banner-pro { min-height: 320px; }
    .hero-banner-inner { padding: 2rem 1rem; }
    .hero-banner-pro .hero-banner-inner { padding: 2.5rem 1rem; }
    .hero-banner-title { font-size: 1.5rem; }
    .hero-banner-pro .hero-banner-title { font-size: 1.85rem; }
    .hero-banner-subtitle { font-size: 1rem; }
    .hero-banner-pro .hero-banner-subtitle { font-size: 1.1rem; }
    .btn-hero-ouvir-lg { padding: 14px 28px; font-size: 1.05rem; letter-spacing: 0.04em; }
}

/* Mobile: player fixo na parte inferior da tela (prioridade celular) */
@media (max-width: 767px) {
    /* Altura mínima maior: rótulo + faixa + badge não cabiam em 72px (overflow:hidden cortava) */
    :root { --header-total: 56px; --player-bar-height: 112px; }
    body {
        padding-top: calc(var(--header-total) + env(safe-area-inset-top, 0));
        padding-bottom: calc(var(--player-bar-height) + env(safe-area-inset-bottom, 0));
    }
    .page-scroll-wrapper { height: auto; overflow: visible; }
    .radio-player-bar {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        height: auto;
        min-height: var(--player-bar-height);
        max-height: none;
        overflow: visible;
        padding: 10px 0;
        padding-bottom: max(10px, calc(8px + env(safe-area-inset-bottom, 0)));
    }
    .radio-player-bar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .site-header { top: 0; padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .site-header .navbar .container { padding-left: 1rem; padding-right: 1rem; }
    .navbar-brand { padding-right: 1rem; margin-right: 0.25rem; }
    .player-inner { gap: 8px; justify-content: flex-start; padding: 4px 4px 6px; align-items: center; }
    .player-cover-wrap { flex-shrink: 0; }
    .player-cover, .player-cover-placeholder { width: 40px; height: 40px; }
    .player-info { text-align: left; min-width: 0; flex: 1; padding-left: 6px; padding-top: 2px; }
    .player-label { font-size: 0.6rem; margin-bottom: 4px; letter-spacing: 0.07em; }
    .player-music { font-size: 0.9rem; }
    .player-program-locutor, .player-locutor, .player-next-wrap { display: none !important; }
    .player-meta { padding-top: 3px; }
    .player-ouvintes-badge { padding: 6px 12px; font-size: 0.8rem; margin-left: 8px; }
    .player-ouvintes-dot { width: 6px; height: 6px; }
    .player-ouvintes-label { font-size: 0.7rem; }
    .player-visual, .equalizer { display: none !important; }
    .btn-play-lg { width: 44px; height: 44px; font-size: 1.25rem; flex-shrink: 0; }
    .player-controls .volume-wrap { display: none; }
    .player-controls .btn-share { margin-left: 0; }
    .player-progress-wrap { height: 3px; }
    .container { padding-left: 0.75rem; padding-right: 0.75rem; max-width: 100%; }
    .hero-banner { min-height: 220px; margin-left: 0; margin-right: 0; width: 100%; border-radius: 0; }
    .hero-banner-pro { min-height: 260px; }
    .hero-banner-inner { padding: 1.75rem 0.75rem; }
    .hero-banner-pro .hero-banner-inner { padding: 2rem 0.75rem; }
    .hero-banner-title { font-size: 1.35rem; }
    .hero-banner-pro .hero-banner-title { font-size: 1.6rem; }
    .hero-banner-subtitle { font-size: 0.95rem; }
    .hero-banner-pro .hero-banner-subtitle { font-size: 1rem; }
    .btn-hero-ouvir { padding: 12px 24px; font-size: 1rem; min-height: 44px; }
    .btn-hero-ouvir-lg { padding: 14px 26px; font-size: 1rem; min-height: 48px; letter-spacing: 0.05em; }
    .tocando-agora-cover, .tocando-agora-cover-placeholder { width: 80px; height: 80px; }
    .tocando-agora-cover-hero, .tocando-agora-cover-placeholder.tocando-agora-cover-hero { width: 100px; height: 100px; font-size: 2.25rem; }
    .tocando-agora-body { padding: 0.75rem; }
    .tocando-agora-music { font-size: 1rem; }
    .section-title { font-size: 1.35rem; margin-bottom: 1rem; }
    .card { border-radius: var(--radius-sm); }
    .app-page { padding: 1.5rem 0 2rem; }
    .app-page-inner { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; }
    .app-page-visual { order: -1; }
    .app-page-phone-img { max-height: 200px; }
    .app-page-phone-placeholder { width: 120px; height: 228px; }
    .app-page-icon-wrap { width: 56px; height: 56px; font-size: 1.5rem; }
    .app-page-title { font-size: 1.4rem; }
    .app-page-badges { gap: 0.75rem; }
    .app-page-badge img { height: 50px; }
    .app-page-badge-google { min-width: 180px; height: 52px; padding: 0 14px 0 12px; }
    .app-page-badge-google-icon { font-size: 1.65rem; }
    .app-page-badge-google-text strong { font-size: 1rem; }
    .app-page-badge-soon { min-height: 50px; padding: 0 1.25rem; font-size: 0.9rem; }
    .app-section-hero { padding: 50px 0; }
    .app-section-hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .app-section-hero-phone { order: -1; }
    .app-section-hero-benefits { justify-content: center; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
    .app-section-hero-benefits li { margin-bottom: 0; }
    .app-section-hero-buttons { justify-content: center; }
    .app-badge img { height: 50px; }
    .app-phone-mockup, .app-phone-placeholder { max-height: 280px; }
    .app-phone-placeholder { width: 140px; height: 266px; }
    .app-section-buttons { flex-direction: column; }
    .app-section-buttons .btn-app { width: 100%; max-width: 280px; justify-content: center; }
    .btn-app { padding: 12px 20px; min-height: 44px; }
    .footer-row { text-align: center; }
    .footer-social { justify-content: center; }
    .whatsapp-float { bottom: calc(var(--player-bar-height, 72px) + 0.75rem); right: 1rem; width: 52px; height: 52px; font-size: 1.5rem; }
    .whatsapp-float-tooltip { display: none; }
}

@media (max-width: 576px) {
    .hero-banner { padding: 1.5rem 0.5rem; min-height: 200px; }
    .hero-banner h1 { font-size: 1.25rem; }
    .navbar-brand .site-logo { height: 56px; max-width: 180px; }
    .locutor-card-modern .locutor-card-photo-wrap { aspect-ratio: 1; }
    .programacao-card-modern .programacao-card-image-wrap { aspect-ratio: 4/3; }
}