/* css/style.css */

/* ====== VARIÁVEIS E RESET ======
   Identidade "instrumento de transmissão": fundo de papel quente (folha de log),
   painéis sóbrios com borda de fio, numerais em monoespaçada e uma "escala de
   dial" (régua com marcações) como assinatura sob cada título de seção. */
:root {
    /* Cores de marca — definidas pelo admin via paleta de cores (Configurações).
       Estes valores são só o fallback; o header.php sempre injeta a paleta real. */
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;

    /* Neutros — base de "folha de log" quente, painéis precisos. */
    --ink: #1a1a1f;
    /* Faixa "de painel" sempre escura (header, hero, player, rodapé, no-ar).
       Não muda com o tema claro/escuro — só --ink muda. As faixas usam um
       gradiente vertical (--brand-panel-hi → --brand-panel-lo) por cima. */
    --brand-dark: #17181d;
    --brand-panel-hi: #242630;
    --brand-panel-lo: #141419;
    --paper: #efeee9;
    --surface: #fbfbf9;
    --border-color: rgba(22, 22, 28, 0.12);
    --border-color-strong: rgba(22, 22, 28, 0.24);

    --light-gray: #e6e4dd;
    --medium-gray: #75736a;
    --dark-gray: #47453f;
    --white: #ffffff;
    --text-color: #26251f;
    --success-color: #16a34a;
    --danger-color: #dc2626;

    /* Sistema tipográfico: display técnica condensada + humanista para texto +
       monoespaçada como face co-titular (todo numeral e rótulo estrutural). */
    --font-display: 'Saira', 'Arial Narrow', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', 'Courier New', monospace;
    /* Alias legado — não remover: usado por regras antigas eventualmente injetadas. */
    --font-heading: var(--font-display);

    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(20, 20, 28, 0.06);
    --shadow: 0 6px 20px -12px rgba(20, 20, 28, 0.22), 0 1px 3px rgba(20, 20, 28, 0.06);
    --shadow-lg: 0 20px 44px -20px rgba(20, 20, 28, 0.30), 0 4px 12px -6px rgba(20, 20, 28, 0.14);

    --space-xs: 10px;
    --space-sm: 16px;
    --space-md: 26px;
    --space-lg: 42px;
    --space-xl: 64px;

    --player-height: 90px;
}

/* ====== TEMA ESCURO ======
   Ativado pelo admin em Configurações > Identidade Visual. Só troca a base
   neutra — as cores de marca e as faixas de painel continuam as mesmas. */
body.theme-dark {
    --ink: #f2f2f4;
    --paper: #101115;
    --surface: #1c1d23;
    --border-color: rgba(255, 255, 255, 0.14);
    --border-color-strong: rgba(255, 255, 255, 0.28);

    --light-gray: #24252d;
    --medium-gray: #8f8e96;
    --dark-gray: #c4c4cb;
    --text-color: #dcdce0;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.34);
    --shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 44px -20px rgba(0, 0, 0, 0.7), 0 4px 12px -6px rgba(0, 0, 0, 0.45);
}

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

img {
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--text-color);
    line-height: 1.65;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.has-bg-image {
    background-color: transparent;
}

body.player-top {
    padding-top: var(--player-height);
}

body.player-bottom .footer {
    padding-bottom: var(--player-height);
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1.1;
}

a {
    color: var(--secondary-color);
}

::selection {
    background: var(--accent-color);
    color: var(--brand-dark);
}

/* Foco de teclado visível em todo elemento interativo (piso de acessibilidade). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Barra de rolagem discreta (Webkit) para áreas roláveis internas. */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color-strong);
    border-radius: 999px;
}

/* ====== UTILITÁRIOS DE SEÇÃO ======
   Eyebrow = "rótulo de canal" em mono com lâmpada-tally quadrada.
   section-heading = título em display sobre a "escala de dial" (assinatura). */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--medium-gray);
    margin-bottom: 12px;
}

.section-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    flex: none;
    background: var(--secondary-color);
}

.section-eyebrow i {
    color: var(--secondary-color);
    font-size: 0.85em;
}

.section-heading {
    position: relative;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    padding-bottom: 15px;
    margin-bottom: var(--space-md);
}

/* Escala de dial: fio-base + marcações regulares + um marcador de marca. */
.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9px;
    background:
        repeating-linear-gradient(90deg, var(--accent-color) 0 2px, transparent 2px 132px) left bottom / 100% 9px no-repeat,
        repeating-linear-gradient(90deg, var(--border-color-strong) 0 1px, transparent 1px 26px) left bottom / 100% 6px no-repeat,
        linear-gradient(var(--border-color-strong), var(--border-color-strong)) left bottom / 100% 1px no-repeat;
}

.section-heading--center {
    text-align: center;
}

/* ====== LAYOUT PRINCIPAL ====== */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.content-area {
    flex: 1 1 480px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* ====== PLAYER FIXO ======
   Faixa de painel (gradiente vertical). Posição (topo/rodapé) via classe
   .is-top; o body ganha player-top/player-bottom para abrir o espaço certo. */
.player-fixed {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(0deg, var(--brand-panel-lo), var(--brand-panel-hi)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    padding: 10px 0 !important;
    box-shadow: 0 -14px 34px -20px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
}

.player-fixed.is-top {
    top: 0 !important;
    bottom: auto !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.5) !important;
}

.player-progress {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    overflow: hidden !important;
}

.player-fixed.is-top .player-progress {
    top: auto !important;
    bottom: 0 !important;
}

.player-progress-fill {
    height: 100% !important;
    width: 0 !important;
    background: var(--accent-color) !important;
    opacity: 0 !important;
}

.player-progress.is-loading .player-progress-fill {
    width: 35% !important;
    opacity: 1 !important;
    animation: playerProgressLoading 1.1s ease-in-out infinite !important;
}

.player-progress.is-live .player-progress-fill {
    width: 100% !important;
    opacity: 1 !important;
    animation: playerProgressPulse 2.4s ease-in-out infinite !important;
}

@keyframes playerProgressLoading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(285%); }
}

@keyframes playerProgressPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.player-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.player-controls {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.play-btn {
    background: var(--accent-color) !important;
    border: none !important;
    color: var(--brand-dark) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 16px -8px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.play-btn:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 20px -8px rgba(0, 0, 0, 0.65) !important;
}

.song-info {
    display: flex !important;
    flex-direction: column !important;
}

.live-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 3px !important;
}

.live-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    animation: liveDotPulse 1.8s infinite !important;
}

@keyframes liveDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Ícones de redes sociais no player (site_settings.social_icons_position). */
.player-social {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 8px !important;
    padding-left: 16px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.player-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: var(--white) !important;
    font-size: 13px !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.player-social a:hover {
    background: var(--accent-color) !important;
    color: var(--brand-dark) !important;
    transform: translateY(-2px) !important;
}

.song-title {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: 19px !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
    color: var(--white) !important;
}

.song-artist {
    font-family: var(--font-mono) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    opacity: 0.72 !important;
    color: var(--white) !important;
}

.song-program {
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
    opacity: 0.58 !important;
    color: var(--white) !important;
    margin-top: 2px !important;
}

.song-program:empty {
    display: none !important;
}

.player-artwork {
    width: 38px !important;
    height: 38px !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    font-size: 14px !important;
}

.player-artwork img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ====== SIDEBAR ====== */
.sidebar {
    flex: 0 0 310px;
    width: 310px;
    background: var(--surface);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.sidebar h3 {
    color: var(--ink);
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar h3 i {
    color: var(--secondary-color);
    font-size: 0.85em;
}

/* Widget "no ar" = mini painel de transmissor (escuro em qualquer tema). */
.on-air-widget {
    position: relative;
    background: linear-gradient(177deg, var(--brand-panel-hi), var(--brand-panel-lo));
    color: var(--white);
    padding: 20px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    margin-bottom: 22px;
    overflow: hidden;
}

/* Escala-tally no topo do painel. */
.on-air-widget::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 18px) left top / 100% 5px no-repeat;
    pointer-events: none;
}

.on-air-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.82;
}

.on-air-badge i {
    color: #ef4444;
}

.on-air-program {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 7px;
    letter-spacing: -0.005em;
}

.on-air-host {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    opacity: 0.68;
    margin-top: 3px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.schedule-time {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--ink);
}

.schedule-host {
    display: block;
    font-family: var(--font-mono);
    color: var(--medium-gray);
    font-weight: normal;
    font-size: 0.72rem;
}

.song-request-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 22px;
}

.song-request-form input {
    padding: 12px 13px;
    border: 1px solid var(--border-color-strong);
    background: var(--paper);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.song-request-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--surface);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 22%, transparent);
}

.request-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: background 0.18s ease, transform 0.15s ease;
}

.request-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.weather-widget {
    background: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 20px;
    border-radius: var(--radius);
    margin: 22px 0;
    text-align: left;
}

.weather-temp {
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.weather-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.weather-location {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ====== CONTADOR DE VISITAS (sidebar) ====== */
.visitor-counter-widget {
    display: flex;
    gap: 12px;
    margin: 22px 0;
}

.visitor-stat {
    flex: 1;
    background: var(--paper);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}

.visitor-stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
}

.visitor-stat-label {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ====== HEADER ====== */
.header {
    background: linear-gradient(177deg, var(--brand-panel-hi), var(--brand-panel-lo));
    color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.logo-link {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--accent-color);
    color: var(--brand-dark);
    font-size: 17px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.logo i {
    color: var(--accent-color);
}

.site-logo-img {
    display: block;
    max-height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 3px;
}

.nav-menu a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
}

.nav-menu a.active {
    background: var(--accent-color);
    color: var(--brand-dark);
}

/* ====== HOME PAGE ======
   Hero = painel de sintonizador: escala de dial no topo, título em display,
   readout em mono e um equalizador de 5 barras (o "sinal ao vivo"). */
.hero-section {
    position: relative;
    background: linear-gradient(177deg, var(--brand-panel-hi), var(--brand-panel-lo));
    color: var(--white);
    padding: 54px 44px 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 13px;
    background:
        repeating-linear-gradient(90deg, var(--accent-color) 0 2px, transparent 2px 170px) left top / 100% 13px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 24px) left top / 100% 8px no-repeat;
    pointer-events: none;
}

.hero-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 7px 15px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 22px;
}

.hero-eyebrow .live-dot {
    background: #4ade80;
}

.hero-section h1 {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.015em;
    line-height: 1.03;
}

.hero-section p {
    position: relative;
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 560px;
    margin: 0 auto;
}

/* Equalizador do hero — o sinal ao vivo. Congela sob prefers-reduced-motion. */
.hero-eq {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 34px;
    margin-top: 26px;
}

.hero-eq span {
    width: 4px;
    height: 30%;
    background: var(--accent-color);
    opacity: 0.85;
    border-radius: 1px;
    animation: heroEq 1.1s ease-in-out infinite;
}

.hero-eq span:nth-child(1) { animation-delay: -0.1s; }
.hero-eq span:nth-child(2) { animation-delay: -0.7s; }
.hero-eq span:nth-child(3) { animation-delay: -0.35s; }
.hero-eq span:nth-child(4) { animation-delay: -0.9s; }
.hero-eq span:nth-child(5) { animation-delay: -0.5s; }

@keyframes heroEq {
    0%, 100% { height: 22%; }
    50% { height: 95%; }
}

/* ====== SEÇÃO DE DESTAQUES (features) ====== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.feature-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 34px 28px;
    border-radius: var(--radius);
    box-shadow: none;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.feature-card h3 {
    margin-bottom: 9px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.94rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color-strong);
    background: var(--paper);
    font-size: 20px;
    color: var(--secondary-color);
    transition: border-color 0.14s ease, color 0.14s ease;
}

.feature-card:hover .feature-icon {
    border-color: var(--secondary-color);
}

/* ====== CHAT ====== */
.chat-container {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

.chat-header {
    color: var(--ink);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.chat-header i {
    color: var(--secondary-color);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    background: var(--paper);
}

.message {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    animation: fadeIn 0.3s ease;
}

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

.message-author {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.82rem;
}

.message-text {
    margin-top: 5px;
    color: var(--dark-gray);
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 13px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--surface);
    color: var(--text-color);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 22%, transparent);
}

.send-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: background 0.18s ease, transform 0.15s ease;
}

.send-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* ====== NOTÍCIAS ====== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.news-image {
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-date {
    font-family: var(--font-mono);
    color: var(--medium-gray);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-views {
    font-family: var(--font-mono);
    color: var(--medium-gray);
    font-size: 0.74rem;
}

.news-category-badge {
    display: inline-block;
    background: color-mix(in srgb, var(--secondary-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 34%, transparent);
    color: var(--secondary-color);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    text-decoration: none;
}

.news-title {
    font-size: 1.35rem;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.news-excerpt {
    color: var(--dark-gray);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 0.94rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.category-pill {
    display: inline-block;
    padding: 7px 15px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-color-strong);
    color: var(--dark-gray);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.category-pill:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.category-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.read-more-btn {
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.18s ease, transform 0.15s ease;
}

.read-more-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* ====== COMPARTILHAMENTO ====== */
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-lg);
    padding-top: 26px;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-right: 5px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    opacity: 0.95;
}

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-telegram { background: #0088cc; }
.share-email { background: var(--dark-gray); }
.share-copy { background: var(--secondary-color); }

/* ====== VÍDEOS ====== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.latest-video-section {
    margin-bottom: var(--space-lg);
}

.home-featured-video {
    max-width: 620px;
    margin: 0 auto;
}

.video-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow 0.14s ease, border-color 0.14s ease;
}

.video-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.video-info {
    padding: 22px;
}

.video-title {
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.video-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ====== CONTATO ====== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--surface);
    color: var(--text-color);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 22%, transparent);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.submit-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.18s ease, transform 0.15s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.success-message {
    background: var(--success-color);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* ====== FOOTER (compacto, uma faixa só) ====== */
.footer {
    position: relative;
    background: linear-gradient(177deg, var(--brand-panel-hi), var(--brand-panel-lo));
    color: rgba(255, 255, 255, 0.82);
    padding: var(--space-md) 0;
    margin-top: var(--space-lg);
}

/* Escala de dial no topo do rodapé (mesma assinatura do hero). */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background:
        repeating-linear-gradient(90deg, var(--accent-color) 0 2px, transparent 2px 156px) left top / 100% 7px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 22px) left top / 100% 5px no-repeat;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    display: block;
    max-height: 34px;
    width: auto;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 11px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}

.footer-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    white-space: nowrap;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* ====== SLIDER DA HOME ====== */
.home-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: var(--space-md);
    height: 300px;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    display: block;
    text-decoration: none;
}

.home-slide.active {
    opacity: 1;
    visibility: visible;
}

.home-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.home-slider-dots {
    position: absolute;
    bottom: 18px;
    right: 24px;
    display: flex;
    gap: 8px;
}

.home-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-slider-dot.active {
    background: var(--white);
    transform: scale(1.15);
}

/* ====== EQUIPE ====== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: none;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.team-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.team-name {
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 600;
}

.team-role {
    font-family: var(--font-mono);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
}

.team-bio {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    color: var(--medium-gray);
    font-size: 17px;
    transition: color 0.15s ease;
}

.team-social a:hover {
    color: var(--secondary-color);
}

/* ====== EVENTOS ====== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.event-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.event-card-past {
    opacity: 0.7;
}

.event-image {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--surface);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    text-align: center;
    box-shadow: var(--shadow);
    line-height: 1.15;
}

.event-day {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
}

.event-month {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
}

.event-content {
    padding: 22px;
}

.event-title {
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.event-location,
.event-time {
    color: var(--dark-gray);
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.event-time {
    font-family: var(--font-mono);
}

.event-info-box {
    background: var(--paper);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-bottom: var(--space-md);
    font-size: 0.92rem;
    color: var(--dark-gray);
}

.event-info-box div {
    margin-bottom: 6px;
}

.event-info-box div:last-child {
    margin-bottom: 0;
}

/* ====== FOTOS ====== */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.album-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 225px;
    text-decoration: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.album-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%);
    color: var(--white);
}

.album-overlay h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 4px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.album-overlay p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    opacity: 0.85;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.photo-thumb-link {
    position: relative;
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.photo-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.photo-thumb-link:hover .photo-thumb {
    transform: scale(1.06);
}

.photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

/* ====== TOP MÚSICAS ====== */
.top-songs-list {
    list-style: none;
}

.top-song-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}

.top-song-item:hover {
    background: var(--paper);
}

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

.top-song-rank {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--medium-gray);
    width: 44px;
}

.top-song-podium .top-song-rank {
    color: var(--secondary-color);
}

.top-song-info {
    flex: 1;
    color: var(--text-color);
    font-weight: 500;
}

.top-song-artist {
    color: var(--medium-gray);
}

.top-song-count {
    background: var(--paper);
    border: 1px solid var(--border-color);
    color: var(--dark-gray);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

/* ====== PODCASTS ====== */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-sm);
}

.podcast-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.podcast-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-color-strong);
}

.podcast-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.podcast-card-content {
    padding: 22px;
}

.podcast-card-content h3 {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.podcast-card-content p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.podcast-episode-count {
    font-family: var(--font-mono);
    color: var(--secondary-color);
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.podcast-header {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.podcast-header-cover {
    width: 165px;
    height: 165px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.podcast-feed-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.podcast-feed-link:hover {
    text-decoration: underline;
}

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.episode-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
}

.episode-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.episode-number {
    display: inline-block;
    background: color-mix(in srgb, var(--secondary-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 34%, transparent);
    color: var(--secondary-color);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    margin-right: 8px;
}

.episode-title-link {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.episode-title-link:hover {
    color: var(--secondary-color);
}

.episode-date {
    font-family: var(--font-mono);
    color: var(--medium-gray);
    font-size: 0.74rem;
    white-space: nowrap;
}

.episode-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.episode-player {
    width: 100%;
    height: 40px;
}

.episode-player-lg {
    height: 50px;
    margin-bottom: 10px;
}

/* ====== PUBLICIDADE ====== */
.ad-zone {
    position: relative;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.ad-zone-sidebar {
    margin-bottom: 22px;
}

.ad-banner-link {
    display: inline-block;
    max-width: 100%;
}

.ad-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.ad-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* ====== COMENTÁRIOS ====== */
.comments-section {
    margin-top: var(--space-lg);
    padding-top: 34px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    color: var(--ink);
    margin-bottom: 22px;
    font-size: 1.5rem;
    font-weight: 600;
}

.comments-list {
    margin-bottom: var(--space-md);
}

.comment-item {
    background: var(--paper);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 8px;
}

.comment-date {
    font-family: var(--font-mono);
    color: var(--medium-gray);
    font-size: 0.72rem;
    display: inline-block;
}

.comment-body {
    margin-top: 6px;
    color: var(--dark-gray);
    font-size: 0.92rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.comment-form input,
.comment-form textarea {
    padding: 13px 14px;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--surface);
    color: var(--text-color);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 22%, transparent);
}

.comment-form textarea {
    resize: vertical;
}

/* ====== RESPONSIVIDADE ====== */

/* Tablet */
@media (max-width: 1024px) {
    .sidebar {
        flex: 1 1 100%;
        width: 100%;
        margin-top: var(--space-md);
    }

    .content-area {
        width: 100%;
        padding: 32px;
    }

    .hero-section {
        padding: 46px 26px 38px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 18px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .player-container {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .player-controls {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .player-social {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .features-grid,
    .news-grid,
    .videos-grid,
    .team-grid,
    .events-grid,
    .album-grid,
    .podcast-grid,
    .photo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .container {
        padding: 0 16px;
    }

    .content-area {
        padding: 22px;
    }

    .chat-input {
        flex-direction: column;
    }

    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .home-slider {
        height: 200px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand-logo,
    .footer-nav,
    .footer-contact,
    .footer-social {
        justify-content: center;
    }

    .section-heading {
        font-size: 1.6rem;
    }
}

/* ====== PAGINAÇÃO ====== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-md);
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-color-strong);
    color: var(--dark-gray);
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.86rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ====== NAVEGAÇÃO DINÂMICA (PJAX) ====== */
.content-area.is-loading {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.news-single .news-image {
    display: block;
}

/* ====== MOVIMENTO REDUZIDO ======
   Congela as animações decorativas; mantém o feedback de carregamento (PJAX
   e progresso do player) porque ele comunica estado, não é enfeite. */
@media (prefers-reduced-motion: reduce) {
    .hero-eq span {
        animation: none !important;
        height: 55%;
    }

    .live-dot,
    .message {
        animation: none !important;
    }

    .photo-thumb,
    .home-slide {
        transition: none !important;
    }
}
