/* ============================================================
   DESIGN TOKENS — Sistema Equipédia
   ============================================================ */
:root {
    --navy:           #0E1520;
    --navy-mid:       #141E30;
    --navy-card:      #1A2438;
    --navy-card-alt:  #1E2D45;
    --navy-light:     #243350;
    --navy-border:    rgba(255,255,255,0.07);
    --navy-border-md: rgba(255,255,255,0.11);

    --gold:           #C4933F;
    --gold-light:     #E8C97A;
    --gold-pale:      #F5EDD8;
    --gold-dim:       rgba(196,147,63,0.12);
    --gold-foil:      linear-gradient(135deg, #b8812e 0%, #e8c97a 40%, #c4933f 60%, #f0d485 100%);
    --gold-shine:     linear-gradient(90deg, #8B6914 0%, #C4933F 25%, #F0D078 50%, #C4933F 75%, #8B6914 100%);

    --text-primary:   #F0EBE0;
    --text-secondary: rgba(240,235,224,0.65);
    --text-muted:     rgba(240,235,224,0.35);

    --shadow-sm:   0 2px 12px rgba(6,9,15,0.45);
    --shadow-md:   0 4px 24px rgba(6,9,15,0.55);
    --shadow-lg:   0 12px 48px rgba(6,9,15,0.65);
    --shadow-gold: 0 0 0 1px rgba(196,147,63,0.3), 0 8px 32px rgba(196,147,63,0.15);

    --font-display: 'Righteous', serif;
    --font-body:    'Jost', sans-serif;
    --max-w:        1440px;
    --gutter:       clamp(1.25rem, 4vw, 2.5rem);
    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    18px;
    --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025; pointer-events: none; z-index: 9998;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-mid); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, select { font-family: var(--font-body); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky; top: 0; z-index: 900;
    background: rgba(14, 21, 32, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
    padding: 0 var(--gutter);
}
.navbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 64px;
}
.navbar-brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}
.navbar-brand .brand-eq {
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-brand .brand-sep {
    width: 1px; height: 20px;
    background: rgba(196,147,63,0.3);
    margin: 0 0.2rem;
}
.navbar-brand .brand-mercado {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
}
.navbar-links {
    display: flex; align-items: center; gap: 0.25rem;
    flex: 1;
}
.navbar-links a {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.navbar-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.navbar-links a.active { color: var(--gold-light); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.btn-wishlist {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.25s;
    position: relative;
}
.btn-wishlist:hover { border-color: rgba(196,147,63,0.4); color: var(--gold-light); }
.btn-wishlist svg { width: 15px; height: 15px; }
.wishlist-count {
    position: absolute; top: -6px; right: -6px;
    width: 18px; height: 18px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}
.btn-anunciar {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1.2rem;
    background: var(--gold-foil);
    border: none;
    border-radius: var(--radius-sm);
    color: #1a1200;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.2s var(--ease-spring);
    box-shadow: var(--shadow-gold);
}
.btn-anunciar:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-anunciar svg { width: 14px; height: 14px; }

/* Mobile menu toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    padding: 0.4rem;
    color: var(--text-secondary);
    margin-left: auto;
}
.navbar-toggle svg { width: 20px; height: 20px; display: block; }
.navbar-mobile {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-top: 1px solid var(--navy-border);
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
    padding: 0.65rem 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}
.navbar-mobile a:hover { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 70%);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute; top: -100px; right: -80px;
    width: min(650px, 90vw); height: min(650px, 90vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,147,63,0.09) 0%, rgba(196,147,63,0.02) 50%, transparent 70%);
    pointer-events: none;
    animation: breathe 9s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,147,63,0.5) 50%, transparent);
}
@keyframes breathe {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.07); }
}
.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 280px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    animation: heroReveal 0.8s var(--ease-out) both;
}
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1 em {
    font-style: italic;
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: shimmer 4s ease-in-out 1s infinite;
}
@keyframes shimmer {
    0%,100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}
.hero-sub {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
    animation: heroReveal 0.8s var(--ease-out) 0.15s both;
}
.hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    animation: heroReveal 0.8s var(--ease-out) 0.25s both;
}
.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.hero-stat span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-deco {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(196,147,63,0.1);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.05em;
    flex-shrink: 0;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-section {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--navy-border);
    padding: 1.25rem var(--gutter);
    position: sticky;
    top: 64px;
    z-index: 800;
}
.search-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.search-box {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--navy-card);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-md);
    padding: 0.7rem 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within {
    border-color: rgba(196,147,63,0.4);
    box-shadow: var(--shadow-gold);
}
.search-box svg { width: 17px; height: 17px; color: var(--gold); opacity: 0.7; flex-shrink: 0; }
.search-box input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text-primary); font-size: 0.9rem; font-weight: 400;
    min-width: 0;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-select {
    background: var(--navy-card);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-md);
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.25s;
    min-width: 150px;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4933F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.25rem;
}
.search-select:focus { border-color: rgba(196,147,63,0.4); }
.btn-search {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.7rem 1.4rem;
    background: var(--gold-foil);
    border: none; border-radius: var(--radius-md);
    color: #1a1200;
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.2s, transform 0.2s var(--ease-spring);
    white-space: nowrap;
}
.btn-search:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-search svg { width: 15px; height: 15px; }


/* ============================================================
   TABS
   ============================================================ */
.tabs-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem var(--gutter) 0;
}
.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--navy-border);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    background: none; border: none;
    color: var(--text-muted);
    font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.25s, border-color 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .tab-btn { padding: 0.75rem 0.9rem; font-size: 0.78rem; gap: 0.35rem; display: flex;}
    .tab-btn svg { width: 14px; height: 14px; }
    .tab-count { display: none; }
    .tabs-section { padding-left: 0; padding-right: 0; }
    .tabs-nav { padding: 0 var(--gutter); }
}
.tab-btn svg { width: 16px; height: 16px; opacity: 0.7; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}
.tab-btn.active svg { opacity: 1; color: var(--gold); }
.tab-count {
    background: var(--navy-light);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    letter-spacing: 0.04em;
}
.tab-btn.active .tab-count {
    background: var(--gold-dim);
    color: var(--gold-light);
}


/* ============================================================
   FILTROS LATERAIS
   ============================================================ */
.main-layout {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.75rem var(--gutter) 5rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}
.sidebar {
    position: sticky;
    top: calc(64px + 72px + 1.75rem);
}
.filter-box {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}
.filter-box-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--navy-border);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.filter-box-header svg { width: 14px; height: 14px; color: var(--gold); opacity: 0.8; }
.filter-body { padding: 1rem 1.25rem; }
.filter-group { margin-bottom: 1rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.filter-options { display: flex; flex-direction: column; gap: 0.4rem; }
.filter-option {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.85rem; color: var(--text-secondary);
    cursor: pointer;
    padding: 0.3rem 0;
    transition: color 0.2s;
}
.filter-option:hover { color: var(--text-primary); }
.filter-option input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}
.filter-range {
    display: flex; gap: 0.5rem; align-items: center;
    font-size: 0.8rem; color: var(--text-muted);
}
.filter-input {
    flex: 1;
    background: var(--navy-mid);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.filter-input:focus { border-color: rgba(196,147,63,0.4); }
.btn-limpar {
    width: 100%;
    padding: 0.65rem;
    background: none;
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    transition: all 0.2s;
    margin-top: 0.5rem;
}
.btn-limpar:hover { border-color: rgba(196,147,63,0.3); color: var(--gold-light); }

/* ============================================================
   GRID DE ANÚNCIOS
   ============================================================ */
.listings-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem;
}
.listings-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.listings-count strong {
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}
.sort-select {
    background: var(--navy-card);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 2rem 0.5rem 0.85rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    outline: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4933F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 14px;
    cursor: pointer;
}

/* Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Card de anúncio */
.listing-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
    animation: cardIn 0.5s var(--ease-out) both;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196,147,63,0.15);
}
.listing-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-shine);
    background-size: 200%;
    opacity: 0;
    transition: opacity 0.3s;
    animation: goldSlide 3s linear infinite;
}
@keyframes goldSlide {
    from { background-position: 200%; }
    to   { background-position: -200%; }
}
.listing-card:hover::before { opacity: 1; }

/* Imagem do card */
.listing-img {
    width: 100%; height: 200px;
    object-fit: cover;
    display: block;
    background: var(--navy-mid);
    position: relative;
}
.listing-img-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.listing-img-placeholder svg { width: 36px; height: 36px; opacity: 0.2; }

/* Badge de categoria */
.listing-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: rgba(10,15,26,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196,147,63,0.3);
    color: var(--gold-light);
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

/* Botão wishlist no card */
.listing-wish-btn {
    position: absolute; top: 0.75rem; right: 0.75rem;
    width: 32px; height: 32px;
    background: rgba(10,15,26,0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.25s var(--ease-spring);
    z-index: 2;
}
.listing-wish-btn:hover { border-color: rgba(196,147,63,0.5); color: var(--gold); transform: scale(1.1); }
.listing-wish-btn.saved { color: var(--gold); border-color: rgba(196,147,63,0.5); background: rgba(196,147,63,0.15); }
.listing-wish-btn svg { width: 15px; height: 15px; }

/* Corpo do card */
.listing-body { padding: 1.1rem 1.25rem 1.25rem; }
.listing-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    line-height: 1.25;
    color: var(--text-primary);
    transition: color 0.2s;
}
.listing-card:hover .listing-title { color: #fff; }
.listing-location {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    letter-spacing: 0.04em;
}
.listing-location svg { width: 12px; height: 12px; color: var(--gold); opacity: 0.6; flex-shrink: 0; }
.listing-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-bottom: 1rem;
}
.listing-tag {
    background: var(--navy-mid);
    border: 1px solid var(--navy-border-md);
    border-radius: 3px;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.listing-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--navy-border);
    gap: 0.5rem;
}
.listing-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.listing-price.consult {
    font-size: 0.85rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    background: none;
    font-family: var(--font-body);
    font-weight: 400;
}
.btn-contato {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid rgba(196,147,63,0.35);
    border-radius: var(--radius-sm);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-contato:hover { background: rgba(196,147,63,0.1); border-color: rgba(196,147,63,0.6); }
.btn-contato svg { width: 13px; height: 13px; }

/* Sem resultados */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}
.no-results svg { width: 48px; height: 48px; opacity: 0.2; margin: 0 auto 1rem; display: block; }
.no-results h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; color: var(--text-secondary); margin-bottom: 0.5rem; }
.no-results p { font-size: 0.9rem; font-weight: 300; }

/* ============================================================
   MODAL WISHLIST
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(6,10,18,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--navy-card);
    border: 1px solid rgba(196,147,63,0.2);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 460px; width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s var(--ease-spring);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), var(--shadow-gold);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-foil);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-icon {
    width: 52px; height: 52px;
    background: var(--gold-dim);
    border: 1px solid rgba(196,147,63,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--gold);
}
.modal-icon svg { width: 24px; height: 24px; }
.modal h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.85rem;
    font-weight: 400;
}
.modal p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.modal-tip {
    background: var(--navy-mid);
    border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.modal-tip strong { color: var(--gold-light); }
.modal-actions { display: flex; gap: 0.75rem; }
.modal-btn-cancel {
    flex: 1; padding: 0.75rem;
    background: none; border: 1px solid var(--navy-border-md);
    border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 0.85rem;
    transition: all 0.2s;
}
.modal-btn-cancel:hover { border-color: rgba(255,255,255,0.15); color: var(--text-primary); }
.modal-btn-ok {
    flex: 1; padding: 0.75rem;
    background: var(--gold-foil); border: none;
    border-radius: var(--radius-sm);
    color: #1a1200; font-size: 0.85rem; font-weight: 700;
    transition: opacity 0.2s;
}
.modal-btn-ok:hover { opacity: 0.88; }

/* Modal Wishlist panel */
.modal-wishlist-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.modal-wishlist-list::-webkit-scrollbar { width: 4px; }
.modal-wishlist-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.wl-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--navy-mid);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
}
.wl-item-info { flex: 1; min-width: 0; }
.wl-item-title {
    font-size: 0.88rem; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 0.15rem;
}
.wl-item-exp {
    font-size: 0.7rem; color: var(--text-muted);
    letter-spacing: 0.04em;
}
.wl-item-exp.expiring { color: #d4a855; }
.wl-remove {
    background: none; border: none;
    color: var(--text-muted); padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
    flex-shrink: 0;
}
.wl-remove:hover { color: #e07070; }
.wl-remove svg { width: 14px; height: 14px; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--navy-border);
    padding: 3rem var(--gutter);
    position: relative;
    overflow: hidden;
}
.page-footer::after {
    content: 'MERCADO';
    position: absolute; right: var(--gutter); top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(196,147,63,0.06);
    pointer-events: none; user-select: none;
    letter-spacing: 0.1em;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem; position: relative; z-index: 1;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    background: var(--gold-foil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); font-weight: 300; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
    font-size: 0.75rem; color: var(--text-muted);
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { font-size: 0.78rem; color: var(--text-muted); }
.footer-contact a { color: var(--gold); transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 0.75; }

.modal-overlay#modal-wishlist-panel {
    overflow: hidden;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 867px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.75rem;
    }
    .filter-box { margin-bottom: 0; }
    .hero-deco { display: none; }
}
@media (max-width: 640px) {
    .navbar-links { display: none; }
    .navbar-toggle { display: flex; align-items: center; justify-content: center; }
    .btn-anunciar, .btn-wishlist {
        padding: 10px;
    }
    .btn-anunciar span { display: none; }
    .search-inner { flex-wrap: wrap; }
    .search-select { min-width: 100%; }
    .sidebar { grid-template-columns: 1fr; }
    .listings-grid { grid-template-columns: 1fr; }
    .btn-wishlist p {
        display: none;
    }
}

@media (max-width: 410px) {
    .brand-sep, .brand-mercado {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}