/* cancao-verdadeira-theme/assets/css/main.css
   Gerado em: 2025-06-01 12:00:00
   Projeto: Canção Verdadeira — Plataforma de letras musicais sertanejas
   CSS principal do tema: variáveis, layout sidebar + conteúdo,
   header, footer, cards de música, tipografia premium, animações,
   responsividade mobile-first. Paleta baseada na logo e banner.
   v1.1 — Ajustes home: banner descido ~2 dedos (padding-top hero 80px),
   título hero reduzido (clamp 28px→48px, era 36px→64px).
*/

/* ═══════════════════════════════════════════════════════════════
   VARIÁVEIS & TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
    --cv-bg:          #1A1A1A;
    --cv-bg-card:     #242424;
    --cv-bg-elevated: #2e2e2e;
    --cv-gold:        #D4A017;
    --cv-gold-bright: #FFD700;
    --cv-gold-dim:    #8a6810;
    --cv-text:        #F5F0E0;
    --cv-text-muted:  #C8B98A;
    --cv-text-dim:    #7a6e58;
    --cv-red:         #C0392B;
    --cv-border:      rgba(212,160,23,.15);
    --cv-border-subtle: rgba(255,255,255,.05);
    --cv-sidebar-w: 260px;
    --cv-player-h:  80px;
    --font-display: 'Oswald', sans-serif;
    --font-body:    'EB Garamond', Georgia, serif;
    --font-ui:      'Lato', system-ui, sans-serif;
    --cv-shadow:    0 4px 20px rgba(0,0,0,.4);
    --cv-shadow-lg: 0 8px 40px rgba(0,0,0,.6);
    --cv-glow-gold: 0 0 20px rgba(212,160,23,.25);
    --cv-ease:   cubic-bezier(.4,0,.2,1);
    --cv-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT BASE — SIDEBAR + MAIN
═══════════════════════════════════════════════════════════════ */
body {
    font-family: var(--font-ui);
    background: var(--cv-bg);
    color: var(--cv-text);
    overflow-x: hidden;
}

.cv-layout {
    display: flex;
    min-height: 100vh;
}

.cv-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cv-sidebar-w);
    height: 100vh;
    background: #111;
    border-right: 1px solid var(--cv-border-subtle);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    padding-bottom: var(--cv-player-h);
    scrollbar-width: none;
}
.cv-sidebar::-webkit-scrollbar { display: none; }

.cv-main {
    margin-left: var(--cv-sidebar-w);
    flex: 1;
    padding-bottom: calc(var(--cv-player-h) + 32px);
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════ */
.cv-sidebar-logo {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--cv-border-subtle);
}
.cv-sidebar-logo a { display: block; }
.cv-sidebar-logo img {
    width: 160px;
    height: auto;
    filter: drop-shadow(var(--cv-glow-gold));
}

.cv-sidebar-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-btn-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s var(--cv-ease);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.cv-btn-sidebar-primary {
    background: var(--cv-gold);
    color: #0a0a0a;
}
.cv-btn-sidebar-primary:hover {
    background: var(--cv-gold-bright);
    color: #0a0a0a;
    transform: translateY(-1px);
    box-shadow: var(--cv-glow-gold);
}

.cv-btn-sidebar-secondary {
    background: transparent;
    color: var(--cv-text-muted);
    border: 1px solid var(--cv-border);
}
.cv-btn-sidebar-secondary:hover {
    background: var(--cv-bg-elevated);
    color: var(--cv-text);
    border-color: var(--cv-gold-dim);
}

.cv-nav-section { padding: 16px 0 8px; }

.cv-nav-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cv-text-dim);
    padding: 0 20px 8px;
}

.cv-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cv-text-muted);
    text-decoration: none;
    transition: all .15s var(--cv-ease);
    border-left: 3px solid transparent;
}
.cv-nav-link:hover,
.cv-nav-link.active {
    color: var(--cv-text);
    background: rgba(212,160,23,.06);
    border-left-color: var(--cv-gold);
}
.cv-nav-link .nav-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.cv-genres-list { padding: 0 12px 16px; }

.cv-genre-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 4px;
    transition: all .15s;
    color: var(--cv-text);
}
.cv-genre-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--color, var(--cv-gold));
}
.cv-genre-pill:hover {
    background: rgba(255,255,255,.06);
    color: var(--cv-text);
}

.genre-universitario  { --color: #e67e22; }
.genre-raiz           { --color: #27ae60; }
.genre-romantico      { --color: #e91e8c; }
.genre-modao          { --color: #D4A017; }
.genre-gospel         { --color: #9b59b6; }
.genre-sofrencia      { --color: #3498db; }

.cv-sidebar-user {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid var(--cv-border-subtle);
}
.cv-sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cv-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cv-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}
.cv-avatar-small img { width: 100%; height: 100%; object-fit: cover; }
.cv-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR (MOBILE)
═══════════════════════════════════════════════════════════════ */
.cv-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(17,17,17,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cv-border-subtle);
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.cv-topbar-logo img { height: 36px; width: auto; }
.cv-hamburger {
    background: none;
    border: none;
    color: var(--cv-text);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}
.cv-topbar-right { display: flex; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   v1.1 — padding-top: 80px para descer o banner ~2 dedos
          título reduzido de clamp(36px,5vw,64px) para clamp(28px,3.5vw,48px)
═══════════════════════════════════════════════════════════════ */
.cv-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px; /* empurra o conteúdo para baixo, banner "desce" */
}

.cv-hero-bg {
    position: absolute;
    inset: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top; /* ancora o topo da imagem */
    transform: scale(1.05);
    transition: transform 8s var(--cv-ease);
}

.cv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26,26,26,1)    0%,
        rgba(26,26,26,.6)  50%,
        rgba(26,26,26,.1) 100%
    );
}

.cv-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 48px 56px;
    max-width: 700px;
}

.cv-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.3);
    color: var(--cv-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.cv-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px); /* reduzido: era clamp(36px,5vw,64px) */
    font-weight: 700;
    color: var(--cv-text);
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.cv-hero-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--cv-text-muted);
    margin-bottom: 28px;
    font-style: italic;
}

.cv-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   BOTÕES GLOBAIS
═══════════════════════════════════════════════════════════════ */
.cv-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: all .2s var(--cv-ease);
    cursor: pointer;
}

.cv-button-primary {
    background: var(--cv-gold);
    color: #0a0a0a;
}
.cv-button-primary:hover {
    background: var(--cv-gold-bright);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: var(--cv-glow-gold);
}

.cv-button-ghost {
    background: rgba(255,255,255,.08);
    color: var(--cv-text);
    border: 1px solid rgba(255,255,255,.12);
}
.cv-button-ghost:hover {
    background: rgba(255,255,255,.14);
    color: var(--cv-text);
}

.cv-button-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SEÇÕES DA HOME
═══════════════════════════════════════════════════════════════ */
.cv-section { padding: 40px 40px 0; }

.cv-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cv-section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--cv-text);
    letter-spacing: .5px;
}
.cv-section-title span { color: var(--cv-gold); }

.cv-section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--cv-text-dim);
    text-decoration: none;
    transition: color .15s;
}
.cv-section-link:hover { color: var(--cv-gold); }

/* ═══════════════════════════════════════════════════════════════
   CARDS DE MÚSICA
═══════════════════════════════════════════════════════════════ */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.cv-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cv-grid-5 { grid-template-columns: repeat(5, 1fr); }

.cv-card {
    background: var(--cv-bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all .25s var(--cv-ease);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--cv-border-subtle);
}
.cv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cv-shadow-lg);
    border-color: var(--cv-border);
    background: var(--cv-bg-elevated);
}

.cv-card-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a0a0a;
}
.cv-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--cv-ease);
}
.cv-card:hover .cv-card-cover img { transform: scale(1.06); }

.cv-card-play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cv-gold);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .2s var(--cv-spring);
    border: none;
    box-shadow: 0 4px 12px rgba(212,160,23,.4);
    cursor: pointer;
}
.cv-card:hover .cv-card-play-btn {
    opacity: 1;
    transform: translateY(0);
}
.cv-card-play-btn:hover {
    background: var(--cv-gold-bright);
    transform: scale(1.1) translateY(0) !important;
}

.cv-card-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,.7);
    color: var(--cv-gold);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212,160,23,.4);
}
.cv-card-rank-1 { background: rgba(212,160,23,.9); color: #0a0a0a; border: none; }
.cv-card-rank-2 { background: rgba(192,192,192,.8); color: #0a0a0a; border: none; }
.cv-card-rank-3 { background: rgba(176,96,32,.8);   color: #fff;    border: none; }

.cv-card-info { padding: 12px; }
.cv-card-title {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: var(--cv-text);
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv-card-artist {
    font-size: 12px;
    color: var(--cv-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.cv-card-plays { font-size: 11px; color: var(--cv-text-dim); }
.cv-btn-favorite {
    background: none;
    border: none;
    color: var(--cv-text-dim);
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
    padding: 2px;
}
.cv-btn-favorite:hover,
.cv-btn-favorite.active { color: var(--cv-red); transform: scale(1.2); }

/* ═══════════════════════════════════════════════════════════════
   CARDS DE GÊNERO
═══════════════════════════════════════════════════════════════ */
.cv-genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.cv-genre-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1.2;
    text-decoration: none;
    display: block;
}
.cv-genre-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s var(--cv-ease);
}
.cv-genre-card:hover .cv-genre-card-bg { transform: scale(1.08); }
.cv-genre-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 100%);
}
.cv-genre-card-name {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════
   RANKING LIST
═══════════════════════════════════════════════════════════════ */
.cv-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cv-ranking-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
    color: var(--cv-text);
}
.cv-ranking-item:hover { background: var(--cv-bg-elevated); color: var(--cv-text); }

.cv-ranking-pos {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--cv-text-dim);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.cv-ranking-pos.gold   { color: #FFD700; }
.cv-ranking-pos.silver { color: #C0C0C0; }
.cv-ranking-pos.bronze { color: #CD7F32; }

.cv-ranking-cover {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.cv-ranking-info { flex: 1; min-width: 0; }
.cv-ranking-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv-ranking-artist { font-size: 12px; color: var(--cv-text-muted); }
.cv-ranking-plays  { font-size: 12px; color: var(--cv-text-dim); flex-shrink: 0; }
.cv-trend-up   { color: #27ae60; font-size: 10px; }
.cv-trend-down { color: #e74c3c; font-size: 10px; }

/* ═══════════════════════════════════════════════════════════════
   PÁGINA INDIVIDUAL DE MÚSICA
═══════════════════════════════════════════════════════════════ */
.cv-single-music {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
    align-items: start;
}

.cv-single-cover { position: sticky; top: 24px; }
.cv-single-cover img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--cv-shadow-lg);
}
.cv-single-cover-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cv-single-header  { margin-bottom: 24px; }

.cv-single-genre-tag {
    display: inline-block;
    background: rgba(212,160,23,.1);
    color: var(--cv-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
}

.cv-single-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.cv-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.cv-single-meta-item { font-size: 13px; color: var(--cv-text-muted); }
.cv-single-meta-item strong { color: var(--cv-text); }

.cv-single-stats {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--cv-border-subtle);
    border-bottom: 1px solid var(--cv-border-subtle);
    margin-bottom: 28px;
}
.cv-stat { text-align: center; }
.cv-stat-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--cv-gold);
}
.cv-stat-label {
    font-size: 11px;
    color: var(--cv-text-dim);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Letra */
.cv-lyric-section { margin-top: 32px; }
.cv-lyric-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--cv-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.cv-lyric-content {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 2;
    color: var(--cv-text);
    white-space: pre-line;
    max-width: 680px;
}
.cv-lyric-content p { margin-bottom: 20px; }

/* Destaque de trecho na letra */
.cv-lyric-content .cv-lyric-chorus {
    background: rgba(212,160,23,.06);
    border-left: 3px solid var(--cv-gold);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 12px 0;
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════════════ */
.cv-newsletter-section {
    background: linear-gradient(135deg, #1a1200 0%, #2a2000 50%, #1a1200 100%);
    border: 1px solid rgba(212,160,23,.2);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    margin: 40px;
}
.cv-newsletter-icon { font-size: 48px; margin-bottom: 16px; }
.cv-newsletter-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cv-text);
}
.cv-newsletter-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--cv-text-muted);
    font-style: italic;
    margin-bottom: 28px;
}
.cv-newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}
.cv-nl-input {
    flex: 1;
    min-width: 220px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(212,160,23,.2);
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--cv-text);
    font-family: var(--font-ui);
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}
.cv-nl-input:focus { border-color: var(--cv-gold); }
.cv-nl-input::placeholder { color: var(--cv-text-dim); }
.cv-nl-message { margin-top: 12px; font-size: 13px; font-weight: 600; }
.cv-nl-message.success { color: #7fce7f; }
.cv-nl-message.error   { color: #ce7f7f; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.cv-footer {
    background: #0d0d0d;
    border-top: 1px solid var(--cv-border-subtle);
    padding: 48px 40px 32px;
}
.cv-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.cv-footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 14px;
    opacity: .9;
}
.cv-footer-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--cv-text-muted);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}
.cv-footer-social { display: flex; gap: 10px; }
.cv-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--cv-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s;
}
.cv-social-btn:hover {
    background: var(--cv-gold);
    border-color: var(--cv-gold);
    transform: translateY(-2px);
}
.cv-footer-col-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cv-gold);
    margin-bottom: 16px;
}
.cv-footer-links { list-style: none; }
.cv-footer-links li { margin-bottom: 8px; }
.cv-footer-links a {
    font-size: 13px;
    color: var(--cv-text-muted);
    text-decoration: none;
    transition: color .15s;
}
.cv-footer-links a:hover { color: var(--cv-text); }
.cv-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--cv-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.cv-footer-copy { font-size: 12px; color: var(--cv-text-dim); }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FLUTUANTE
═══════════════════════════════════════════════════════════════ */
.cv-whatsapp-float {
    position: fixed;
    bottom: calc(var(--cv-player-h) + 20px);
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.cv-whatsapp-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: all .2s var(--cv-spring);
}
.cv-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   COMPARTILHAMENTO SOCIAL
═══════════════════════════════════════════════════════════════ */
.cv-share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.cv-share-whatsapp { background: #25D366; color: #fff; }
.cv-share-facebook { background: #1877F2; color: #fff; }
.cv-share-twitter  { background: #1DA1F2; color: #fff; }
.cv-share-telegram { background: #0088cc; color: #fff; }
.cv-share-btn:hover { opacity: .85; transform: translateY(-1px); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVIDADE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cv-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .cv-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .cv-footer-grid { grid-template-columns: 1fr 1fr; }
    .cv-single-music { grid-template-columns: 240px 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .cv-sidebar { transform: translateX(-100%); transition: transform .3s var(--cv-ease); }
    .cv-sidebar.open { transform: translateX(0); }
    .cv-topbar { display: flex; }
    .cv-main { margin-left: 0; padding-top: 56px; }

    .cv-section { padding: 24px 16px 0; }
    .cv-hero { min-height: 360px; padding-top: 40px; }
    .cv-hero-content { padding: 24px 16px 40px; }
    .cv-hero-title { font-size: 26px; }

    .cv-grid, .cv-grid-4, .cv-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cv-genre-grid { grid-template-columns: repeat(3, 1fr); }
    .cv-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cv-footer { padding: 32px 16px 24px; }
    .cv-newsletter-section { padding: 32px 16px; margin: 24px 16px; }
    .cv-single-music { grid-template-columns: 1fr; }
    .cv-single-cover { position: static; max-width: 240px; }
}

@media (max-width: 480px) {
    .cv-grid, .cv-grid-4, .cv-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cv-genre-grid { grid-template-columns: repeat(2, 1fr); }
    .cv-card-info { padding: 8px; }
    .cv-card-title { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITÁRIOS
═══════════════════════════════════════════════════════════════ */
.cv-divider { height: 1px; background: var(--cv-border-subtle); margin: 32px 0; }
.cv-text-gold { color: var(--cv-gold); }
.cv-text-muted { color: var(--cv-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@keyframes cv-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes cv-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.cv-animate { animation: cv-fade-up .5s var(--cv-ease) both; }
.cv-animate-delay-1 { animation-delay: .1s; }
.cv-animate-delay-2 { animation-delay: .2s; }
.cv-animate-delay-3 { animation-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════
   AVALIACAO POR ESTRELAS — v1.2
═══════════════════════════════════════════════════════════════ */
.cv-rating-widget {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(212,160,23,.04);
    border: 1px solid rgba(212,160,23,.12);
    border-radius: 10px;
}

.cv-rating-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cv-stars-display .cv-star { font-size: 16px; }
.cv-star-full  { color: #FFD700; }
.cv-star-half  { color: #FFD700; opacity: .6; }
.cv-star-empty { color: #444; }

.cv-rating-avg {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--cv-gold);
}

.cv-rating-count {
    font-size: 12px;
    color: var(--cv-text-dim);
}

.cv-stars-interactive {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.cv-star-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: all .15s;
    padding: 2px;
    line-height: 1;
}

.cv-star-btn.active,
.cv-star-btn.hover { color: #FFD700; transform: scale(1.15); }

.cv-star-btn:hover { color: #FFD700; }

/* ═══════════════════════════════════════════════════════════════
   BOTAO DE PLAYLIST NO CARD — v1.2
═══════════════════════════════════════════════════════════════ */
.cv-card-playlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.7);
    color: var(--cv-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-4px);
    transition: all .2s var(--cv-spring);
    border: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
    z-index: 2;
}

.cv-card:hover .cv-card-playlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.cv-card-playlist-btn:hover {
    background: var(--cv-gold);
    color: #000;
    border-color: var(--cv-gold);
}

/* ═══════════════════════════════════════════════════════════════
   CORRECOES MOBILE v1.4
   - Hero substituido por logo centralizada no mobile
   - Layout responsivo corrigido para telas estreitas
   - Sidebar e topbar ajustados para telas <= 480px
═══════════════════════════════════════════════════════════════ */

/* Hero mobile: esconde o banner, mostra so o logo + tagline */
@media (max-width: 768px) {

    /* Oculta o background do banner e o overlay no mobile */
    .cv-hero-bg,
    .cv-hero-overlay { display: none; }

    /* Hero vira um bloco escuro simples */
    .cv-hero {
        min-height: auto;
        padding-top: 0;
        background: var(--cv-bg);
        align-items: center;
        justify-content: center;
    }

    /* Conteudo do hero centralizado com logo */
    .cv-hero-content {
        padding: 28px 20px 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Exibe o logo do site dentro do hero mobile */
    .cv-hero-content::before {
        content: '';
        display: block;
        width: 200px;
        height: 80px;
        background-image: var(--cv-logo-url, none);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin: 0 auto 16px;
    }

    .cv-hero-tag { font-size: 10px; }

    .cv-hero-title {
        font-size: 24px;
        text-align: center;
    }

    .cv-hero-subtitle {
        font-size: 14px;
        text-align: center;
    }

    .cv-hero-actions {
        justify-content: center;
    }

    /* Secoes com menos padding */
    .cv-section { padding: 20px 12px 0; }
    .cv-section-header { margin-bottom: 16px; }
    .cv-section-title { font-size: 18px; }

    /* Grids menores */
    .cv-grid,
    .cv-grid-4,
    .cv-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Cards mais compactos */
    .cv-card-info { padding: 8px 10px; }
    .cv-card-title { font-size: 12px; }
    .cv-card-artist { font-size: 11px; }

    /* Generos: 2 colunas no mobile */
    .cv-genre-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* Ranking: remove coluna de plays no mobile */
    .cv-ranking-plays { display: none; }
    .cv-ranking-item { padding: 8px 10px; gap: 10px; }
    .cv-ranking-cover { width: 38px; height: 38px; }

    /* Footer: coluna unica */
    .cv-footer { padding: 28px 16px 20px; margin: 0; }
    .cv-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .cv-footer-bottom { flex-direction: column; text-align: center; }

    /* Newsletter */
    .cv-newsletter-section { padding: 28px 16px; margin: 20px 12px; border-radius: 12px; }
    .cv-newsletter-title { font-size: 22px; }
    .cv-newsletter-form { flex-direction: column; }
    .cv-nl-input { min-width: 0; width: 100%; }

    /* Pagina individual de musica: coluna unica */
    .cv-single-music {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 20px;
    }
    .cv-single-cover {
        position: static;
        max-width: 200px;
        margin: 0 auto;
    }
    .cv-single-title { font-size: 24px; }
    .cv-lyric-content { font-size: 16px; line-height: 1.8; }

    /* Topbar mais compacta */
    .cv-topbar { padding: 0 12px; }
    .cv-topbar-logo img { height: 32px; }

    /* Player: esconde info no mobile, mostra so controles */
    #cv-player { padding: 0 10px; gap: 6px; height: 64px; }
    .cv-player-right { display: none; }
    .cv-player-info { display: none; }
    .cv-player-cover { width: 40px; height: 40px; }
    .cv-player-center { width: auto; flex: 1; }

    /* WhatsApp: sobe um pouco pra nao conflitar com player */
    .cv-whatsapp-float { bottom: calc(64px + 16px); right: 12px; }
    .cv-whatsapp-btn { width: 44px; height: 44px; font-size: 20px; }
}

/* Telas muito pequenas (< 380px) */
@media (max-width: 380px) {
    .cv-grid,
    .cv-grid-4,
    .cv-grid-5 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .cv-hero-title { font-size: 20px; }
    .cv-button { padding: 10px 16px; font-size: 13px; }
    .cv-single-stats { gap: 14px; }
    .cv-stat-value { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   KARAOKE SINCRONIZADO — v1.5
═══════════════════════════════════════════════════════════════ */
.cv-karaoke-line {
    transition: all .3s ease;
    border-radius: 6px;
    padding: 4px 8px;
    margin: 0 -8px;
    cursor: default;
}

.cv-karaoke-past {
    opacity: .35;
    color: var(--cv-text-dim);
}

.cv-karaoke-current {
    background: rgba(212,160,23,.12);
    border-left: 3px solid var(--cv-gold);
    padding-left: 14px;
    margin-left: -8px;
    color: var(--cv-text) !important;
    font-size: 20px;
    opacity: 1 !important;
    text-shadow: 0 0 20px rgba(212,160,23,.3);
}

#cv-karaoke-toggle {
    transition: all .2s;
}
#cv-karaoke-toggle.cv-karaoke-active {
    background: rgba(212,160,23,.15);
    border-color: var(--cv-gold);
    color: var(--cv-gold);
}

/* ═══════════════════════════════════════════════════════════════
   TRENDING AO VIVO — v1.5
═══════════════════════════════════════════════════════════════ */
.cv-live-badge {
    display: inline-block;
    background: rgba(231,76,60,.15);
    color: #e74c3c;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
    animation: cv-pulse 1.5s infinite;
}

@keyframes cv-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: .5; }
}

.cv-trending-item { transition: background .15s; }
.cv-trending-item:hover { background: var(--cv-bg-elevated); }

.cv-trending-ts {
    font-size: 11px;
    color: var(--cv-text-dim);
}

/* ═══════════════════════════════════════════════════════════════
   CONQUISTAS (BADGES) — v1.5
═══════════════════════════════════════════════════════════════ */
.cv-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.cv-badge {
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    border: 1px solid var(--cv-border-subtle);
    background: var(--cv-bg-card);
    transition: all .2s;
}

.cv-badge.earned {
    border-color: var(--badge-color, var(--cv-gold));
    background: rgba(var(--badge-rgb, 212,160,23), .06);
}

.cv-badge.locked {
    opacity: .35;
    filter: grayscale(1);
}

.cv-badge:hover.earned { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.3); }

.cv-badge-icon  { font-size: 28px; margin-bottom: 6px; line-height: 1; }
.cv-badge-name  { font-size: 10px; font-weight: 700; color: var(--cv-text-muted); line-height: 1.2; }
.cv-badge-desc  { font-size: 9px; color: var(--cv-text-dim); margin-top: 3px; line-height: 1.3; }

/* PWA standalone: esconde topbar (tem barra nativa do SO) */
.cv-pwa-standalone .cv-topbar { display: none !important; }
.cv-pwa-standalone .cv-main   { padding-top: 0 !important; }
