:root {
    --primary-color: #FFC700;
    --primary-dark: #E0B200;
    --ink: #14161A;
    --text-color: #333;
    --muted: #6B7280;
    --line: #ECECEC;
    --light-bg: #f8f8f8;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 10px rgba(20, 22, 26, 0.06);
    --shadow-md: 0 10px 30px rgba(20, 22, 26, 0.10);
    --font-display: 'Sora', Arial, sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-color); background: #fff; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }

/* NAVBAR */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
.navbar { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 40px; width: auto; display: block; }
.nav-center { list-style: none; display: flex; gap: 32px; }
.nav-center a { text-decoration: none; font-weight: 600; color: #333; position: relative; }
.nav-center a::after { content: ''; width: 0; height: 2px; background: var(--primary-color); position: absolute; bottom: -6px; left: 0; transition: width 0.3s ease; }
.nav-center a:hover::after { width: 100%; }
.btn-anuncie { padding: 5px 22px; background: #000; color: #fff; border-radius: 30px; text-decoration: none; font-weight: 700; display: inline-block; transition: all 0.3s ease; }
.btn-anuncie:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)); color: #000; transform: translateY(-2px); }
.menu-toggle { display: none; margin-left: 14px; font-size: 22px; background: none; border: none; cursor: pointer; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; z-index: 2000; padding: 30px; transition: right 0.3s ease; }
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; margin-top: 40px; }
.mobile-menu li { margin-bottom: 20px; }
.mobile-menu a { text-decoration: none; font-size: 18px; font-weight: 600; color: #111; }
.close-menu { background: none; border: none; font-size: 22px; cursor: pointer; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.overlay.show { opacity: 1; pointer-events: all; }

/* HERO */
.lista-hero { background: var(--light-bg); padding: 50px 20px 44px; }
.lista-hero-inner { max-width: 700px; margin: 0 auto; text-align: center; }

.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.lista-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
.lista-hero-inner > p { color: var(--muted); margin-bottom: 26px; font-size: 14.5px; }
.lista-hero-inner > p strong { color: var(--ink); }

.lista-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 40px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-md); max-width: 520px; margin: 0 auto; }
.lista-search i.fa-search { color: var(--muted); font-size: 14px; }
.lista-search input[type="text"] { flex: 1; border: none; outline: none; font-size: 14px; color: var(--ink); padding: 8px 0; }
.clear-search { color: var(--muted); text-decoration: none; font-size: 13px; padding: 6px; }
.clear-search:hover { color: var(--ink); }
.lista-search button { background: var(--ink); color: #fff; border: none; padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }

/* GRID */
.lista-container { max-width: 1200px; margin: 0 auto; padding: 44px 20px 30px; }

.lista-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }

.lista-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.lista-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.lista-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.lista-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.lista-card:hover .lista-card-media img { transform: scale(1.06); }

.category-tag { position: absolute; top: 12px; left: 12px; background: var(--primary-color); color: var(--ink); padding: 5px 12px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; border-radius: 30px; }

.lista-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lista-card-body h3 { font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.lista-card-body p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.lista-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 6px; }

/* PAGINAÇÃO */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13.5px; background: var(--light-bg); transition: all 0.2s ease; }
.page-btn:hover { background: var(--primary-color); }
.page-btn.active { background: var(--ink); color: #fff; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-dots { color: var(--muted); padding: 0 4px; font-weight: 700; }

/* ESTADO VAZIO */
.empty-state { text-align: center; padding: 90px 20px; max-width: 480px; margin: 0 auto; }
.empty-state i { font-size: 40px; color: var(--line); margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; line-height: 1.6; }
.btn-back { display: inline-block; padding: 12px 28px; background: var(--primary-color); color: #000; font-weight: 700; border-radius: 30px; text-decoration: none; transition: background 0.3s ease; }
.btn-back:hover { background: var(--primary-dark); }

/* FOOTER */
.footer-serrana { background: #fff; border-top: 1px solid #eee; padding: 40px 20px 24px; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo img { max-width: 160px; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-size: 14px; color: #666; text-decoration: none; }
.footer-links a:hover { color: var(--primary-dark); }
.footer-copy p { font-size: 13px; color: #888; }

#backToTop { position: fixed; bottom: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--primary-color); color: #000; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.2); z-index: 999; }

/* RESPONSIVO */
@media (max-width: 768px) {
    .nav-center { display: none; }
    .menu-toggle { display: block; }
    .btn-anuncie { display: none; }
    .lista-hero { padding: 40px 16px 34px; }
}

@media (max-width: 600px) {
    .logo img { height: 34px; }
    .lista-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .lista-card-body { padding: 12px; }
    .lista-card-body h3 { font-size: 13.5px; }
    .lista-card-body p { display: none; }
}