/* ========================================
   ARQUIVO DE LEILOEIRAS - DESIGN PREMIUM
   ======================================== */

:root {
    --lh-primary: #22c55e;
    --lh-primary-dark: #16a34a;
    --lh-dark: #1e293b;
    --lh-gray-100: #f8fafc;
    --lh-gray-200: #e2e8f0;
    --lh-gray-500: #64748b;
    --lh-gray-600: #475569;
    --lh-white: #ffffff;
    --lh-radius: 16px;
    --lh-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --lh-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.lh-archive {
    background: var(--lh-gray-100);
    min-height: 100vh;
}

/* ========================================
   HERO SECTION
   ======================================== */

.lh-archive-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.lh-archive-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.lh-archive-hero__shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--lh-primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    top: 50%;
    left: 30%;
}

.lh-archive-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.lh-archive-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #86efac;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lh-archive-hero__title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.lh-archive-hero__title .highlight {
    background: linear-gradient(135deg, var(--lh-primary) 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lh-archive-hero__desc {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.lh-archive-hero__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 32px;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-card__icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-card__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lh-primary);
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.lh-archive-filters {
    background: var(--lh-white);
    padding: 24px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.lh-archive-filters__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-chip-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--lh-gray-100);
    border: 2px solid var(--lh-gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lh-gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    border-color: var(--lh-primary);
    color: var(--lh-primary);
}

.filter-chip.active {
    background: var(--lh-primary);
    border-color: var(--lh-primary);
    color: white;
}

.chip-icon {
    font-size: 16px;
}

.lh-archive-filters__right {
    display: flex;
    gap: 16px;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-dropdown label {
    font-size: 12px;
    font-weight: 600;
    color: var(--lh-gray-500);
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid var(--lh-gray-200);
    border-radius: 10px;
    font-size: 14px;
    background: var(--lh-white);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--lh-primary);
    outline: none;
}

/* ========================================
   CONTEÚDO / GRID
   ======================================== */

.lh-archive-content {
    padding: 60px 0;
}

.lh-archive-content__header {
    margin-bottom: 32px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background: var(--lh-primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 8px;
}

.count-text {
    font-size: 16px;
    color: var(--lh-gray-500);
}

.lh-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}

/* ========================================
   CARD DE LEILOEIRA
   ======================================== */

.lh-card {
    background: var(--lh-white);
    border-radius: var(--lh-radius);
    overflow: hidden;
    box-shadow: var(--lh-shadow);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.lh-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lh-shadow-lg);
}

/* Card Header */
.lh-card__header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.lh-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.lh-card__logo {
    width: 120px;
    height: 120px;
    background: var(--lh-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--lh-white);
}

.lh-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lh-card__logo-placeholder {
    font-size: 48px;
}

.lh-card__rating-circle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.lh-card__rating-circle.excellent {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.lh-card__rating-circle.great {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.lh-card__rating-circle.good {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.lh-card__rating-circle.regular {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.rating-circle__value {
    font-size: 18px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.rating-circle__label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* Card Body */
.lh-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lh-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.lh-card__title a {
    color: var(--lh-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lh-card__title a:hover {
    color: var(--lh-primary);
}

.lh-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--lh-gray-100);
    border-radius: 6px;
    font-size: 13px;
    color: var(--lh-gray-600);
}

.meta-icon {
    font-size: 14px;
}

/* Rating Bars */
.lh-card__ratings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-bar__label {
    font-size: 13px;
    color: var(--lh-gray-500);
    min-width: 100px;
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background: var(--lh-gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lh-primary) 0%, #4ade80 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.rating-bar__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--lh-primary);
    min-width: 30px;
    text-align: right;
}

.lh-card__excerpt {
    font-size: 14px;
    color: var(--lh-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Card Footer */
.lh-card__footer {
    padding: 20px 24px;
    background: var(--lh-gray-100);
    display: flex;
    gap: 12px;
}

.lh-card__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lh-card__btn.primary {
    background: linear-gradient(135deg, var(--lh-primary) 0%, var(--lh-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.lh-card__btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.lh-card__btn.primary .btn-arrow {
    transition: transform 0.3s ease;
}

.lh-card__btn.primary:hover .btn-arrow {
    transform: translateX(4px);
}

.lh-card__btn.secondary {
    background: var(--lh-white);
    color: var(--lh-gray-600);
    border: 2px solid var(--lh-gray-200);
}

.lh-card__btn.secondary:hover {
    border-color: var(--lh-primary);
    color: var(--lh-primary);
}

/* ========================================
   EMPTY STATE
   ======================================== */

.lh-archive-empty {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.empty-title {
    font-size: 1.8rem;
    color: var(--lh-dark);
    margin: 0 0 12px 0;
}

.empty-desc {
    font-size: 1.1rem;
    color: var(--lh-gray-500);
    margin: 0 0 32px 0;
}

.empty-btn {
    padding: 14px 28px;
    background: var(--lh-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-btn:hover {
    background: var(--lh-primary-dark);
    transform: translateY(-2px);
}

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

.lh-archive-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.lh-archive-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.lh-archive-pagination .page-numbers {
    padding: 12px 18px;
    background: var(--lh-white);
    border: 2px solid var(--lh-gray-200);
    border-radius: 10px;
    color: var(--lh-gray-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lh-archive-pagination .page-numbers:hover,
.lh-archive-pagination .page-numbers.current {
    background: var(--lh-primary);
    border-color: var(--lh-primary);
    color: white;
}

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

@media (max-width: 1024px) {
    .lh-archive-hero__title {
        font-size: 2.4rem;
    }

    .lh-archive-filters__bar {
        flex-direction: column;
        align-items: stretch;
    }

    .lh-archive-filters__left {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .filter-chip-group {
        flex-wrap: nowrap;
    }

    .lh-archive-filters__right {
        justify-content: space-between;
    }

    .lh-archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lh-archive-hero {
        padding: 70px 0 50px;
    }

    .lh-archive-hero__title {
        font-size: 1.8rem;
    }

    .lh-archive-hero__desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .lh-archive-hero__stats {
        gap: 12px;
    }

    .stat-card {
        padding: 16px 20px;
        min-width: 100px;
    }

    .stat-card__number {
        font-size: 1.5rem;
    }

    .stat-card__label {
        font-size: 11px;
    }

    .lh-archive-filters__right {
        flex-direction: column;
    }

    .filter-dropdown {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .lh-card__header {
        padding: 20px;
        min-height: 140px;
    }

    .lh-card__logo {
        width: 100px;
        height: 100px;
    }

    .lh-card__rating-circle {
        width: 54px;
        height: 54px;
    }

    .rating-circle__value {
        font-size: 16px;
    }

    .lh-card__body {
        padding: 20px;
    }

    .lh-card__title {
        font-size: 1.15rem;
    }

    .rating-bar__label {
        min-width: 80px;
        font-size: 12px;
    }

    .lh-card__footer {
        flex-direction: column;
        padding: 16px 20px;
    }

}
