/* ============================================
   LOUVOR PREMIUM — Archive de Cifras
   ============================================ */

/* Wrapper geral */
.lp-archive-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.lp-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.lp-archive-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.lp-archive-subtitle {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   FILTROS
   ============================================ */

.lp-filtros-wrap {
    background: #f8f9ff;
    border: 1px solid #e0e4f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 36px;
}

.lp-filtros-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.lp-filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.lp-filtro-grupo label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-input,
.lp-select {
    padding: 10px 14px;
    border: 1px solid #d0d5e8;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
}

.lp-input:focus,
.lp-select:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

.lp-filtro-btns {
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
    min-width: auto;
    flex: 0;
}

/* Botões */
.lp-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.lp-btn-primary {
    background: #6c63ff;
    color: #fff;
}

.lp-btn-primary:hover {
    background: #574fd6;
    color: #fff;
}

.lp-btn-secondary {
    background: #fff;
    color: #6c63ff;
    border: 1px solid #6c63ff;
}

.lp-btn-secondary:hover {
    background: #f0eeff;
    color: #574fd6;
}

/* ============================================
   GRID DE CARDS
   ============================================ */

.lp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Card */
.lp-card {
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(108,99,255,0.12);
    border-color: #6c63ff;
}

/* Tom em destaque */
.lp-card-tom {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #6c63ff;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Título */
.lp-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    padding-right: 60px;
    line-height: 1.3;
}

.lp-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.lp-card-title a:hover {
    color: #6c63ff;
}

/* Artista */
.lp-card-artista {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Meta (badges + bpm + capo) */
.lp-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

/* Badges de nível */
.lp-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.lp-badge--verde {
    background: #e8f5e9;
    color: #2e7d32;
}

.lp-badge--amarelo {
    background: #fff8e1;
    color: #f57f17;
}

.lp-badge--vermelho {
    background: #fce4ec;
    color: #c62828;
}

.lp-badge--cinza {
    background: #f0f0f0;
    color: #555;
}

/* Meta items */
.lp-meta-item {
    font-size: 0.8rem;
    color: #777;
}

/* Link do card */
.lp-card-link {
    display: inline-block;
    margin-top: auto;
    color: #6c63ff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.lp-card-link:hover {
    color: #574fd6;
}

/* ============================================
   PAGINAÇÃO
   ============================================ */

.lp-paginacao {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.lp-paginacao .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d0d5e8;
    color: #6c63ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    background: #fff;
}

.lp-paginacao .page-numbers.current {
    background: #6c63ff;
    color: #fff;
    border-color: #6c63ff;
}

.lp-paginacao .page-numbers:hover:not(.current) {
    background: #f0eeff;
    border-color: #6c63ff;
}

/* ============================================
   ESTADO VAZIO
   ============================================ */

.lp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.lp-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.lp-empty-texto {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 768px) {
    .lp-filtros-form {
        flex-direction: column;
    }

    .lp-filtro-grupo {
        min-width: 100%;
    }

    .lp-filtro-btns {
        flex-direction: row;
        width: 100%;
    }

    .lp-btn {
        flex: 1;
        text-align: center;
    }

    .lp-cards-grid {
        grid-template-columns: 1fr;
    }

    .lp-archive-title {
        font-size: 1.5rem;
    }
}