:root {
    --red:         #C22328;
    --red-hover:   #A31D22;
    --red-soft:    rgba(194, 35, 40, 0.10);
    --red-glow:    rgba(194, 35, 40, 0.25);
    --gold:        #D4A020;
    --gold-hover:  #BF8E18;
    --gold-soft:   rgba(212, 160, 32, 0.08);
    --radius:      8px;
    --radius-lg:   12px;
    --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display:'Playfair Display', Georgia, serif;
    --font-body:   'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root,
[data-theme="dark"] {
    --bg:          #1a1a1b;
    --surface:     #222226;
    --surface-2:   #2b2b2f;
    --surface-3:   #353539;
    --border:      rgba(255, 255, 255, 0.07);
    --border-solid:#3a3a3e;
    --text:        #F0EFED;
    --text-2:      rgba(240, 239, 237, 0.58);
    --muted:       #7a7876;
    --nav-bg:      rgba(26, 26, 27, 0.92);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.4);
    --shadow-hover:0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(194,35,40,0.25);
    --wa-glow:     rgba(37,211,102,0.3);
}

[data-theme="light"] {
    --bg:          #F7F5F2;
    --surface:     #FFFFFF;
    --surface-2:   #F0ECE5;
    --surface-3:   #E7E2D9;
    --border:      rgba(0, 0, 0, 0.07);
    --border-solid:#D9D3C8;
    --text:        #1A1816;
    --text-2:      rgba(26, 24, 22, 0.58);
    --muted:       #7A766F;
    --nav-bg:      rgba(247, 245, 242, 0.92);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover:0 16px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(194,35,40,0.15);
    --wa-glow:     rgba(37,211,102,0.2);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    overscroll-behavior-y: none;
    margin: 0;
}

.text-primary  { color: var(--red) !important; }
.bg-primary    { background-color: var(--red) !important; }
.text-muted    { color: var(--muted) !important; }

.btn-primary {
    background-color: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius);
    transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--red-hover);
    border-color: var(--red-hover);
    color: #fff;
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    border-radius: var(--radius);
    font-family: var(--font-body);
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.btn-outline-light:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #0A0A0A;
}

/* NAV */
#mainNav {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: background-color var(--transition), box-shadow 0.3s ease;
    z-index: 1030;
}
#mainNav.nav-scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.2); }

.navbar-logo {
    height: 64px;
    width: auto;
    max-width: 130px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
}

.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; white-space: normal; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.55; min-width: 0; overflow: hidden; }
.navbar-brand-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}
.navbar-brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.navbar-toggler { border: none; padding: 6px 4px; background: none; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
    display: block; width: 22px; height: 2px;
    background-color: var(--red);
    margin: 5px 0; border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-link {
    color: var(--text-2) !important;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.875rem !important;
    transition: color var(--transition);
    position: relative;
    text-transform: uppercase;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0.875rem; right: 0.875rem;
    height: 2px;
    background: var(--red);
    opacity: 0; transform: scaleX(0);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-link:hover, .nav-link:focus { color: var(--red) !important; }
.nav-link:hover::after { opacity: 1; transform: scaleX(1); }

.nav-end-controls { display: flex; align-items: center; gap: 0.625rem; }
.btn-nav-cta { font-size: 0.8125rem; padding: 0.45rem 1rem; white-space: nowrap; }
.btn-theme-toggle {
    background: none; border: 1px solid var(--border); color: var(--muted);
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0; flex-shrink: 0; font-size: 0.8rem;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}
.btn-theme-toggle:hover { border-color: var(--red); color: var(--red); background-color: var(--red-soft); }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--surface);
        margin: 0.5rem -0.75rem -0.5rem;
        padding: 1rem 1.25rem 1.5rem;
        border-top: 1px solid var(--border);
    }
    .navbar-nav { margin-bottom: 1rem; gap: 0.125rem; }
    .nav-link { padding: 0.75rem 0 !important; border-bottom: 1px solid var(--border); font-size: 0.85rem !important; }
    .nav-link::after { display: none; }
    .nav-end-controls { flex-direction: column; width: 100%; gap: 0.625rem; }
    .btn-nav-cta { width: 100%; text-align: center; padding: 0.8rem; font-size: 1rem; }
    .btn-theme-toggle { width: 100%; height: 44px; border-radius: var(--radius); font-size: 0.875rem; gap: 0.5rem; }
}

@media (max-width: 399px) {
    .navbar-brand-text { display: none; }
}

@media (min-width: 992px) {
    .navbar-logo { height: 72px; max-width: 150px; }
    .footer-logo { height: 115px; }
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 82svh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: url('/image/fundobg1.jpeg') center center / cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(170deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.5) 40%, rgba(10,10,10,0.94) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 3.5rem 1.25rem 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.hero-content, .hero-content * { color: #fff; }

.hero-eyebrow {
    font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--gold) !important; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.hero-eyebrow::before { display: none; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 4.5rem);
    font-weight: 700; line-height: 1.05;
    letter-spacing: -0.02em; margin-bottom: 1.25rem;
    color: #fff !important; max-width: 100%;
}
.hero-title em { font-style: italic; color: var(--gold) !important; }

.hero-sub {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: rgba(255,255,255,0.5) !important;
    max-width: 100%; margin: 0 auto 2rem;
    line-height: 1.75; font-weight: 300;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: auto; padding-bottom: 3.5rem; }
.hero-btn {
    width: 100%; max-width: 260px;
    padding: 0.85rem 1.5rem; font-size: 0.85rem;
    font-weight: 600; letter-spacing: 0.03em;
}
.hero-scroll-hint {
    position: absolute; bottom: 1.25rem; left: 50%;
    transform: translateX(-50%); color: rgba(255,255,255,0.2);
    font-size: 0.8rem; z-index: 2;
    animation: bounce 2.5s infinite; text-decoration: none;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 576px) {
    .hero-actions { flex-direction: row; justify-content: center; }
    .hero-btn { width: auto; max-width: none; }
    .hero-section { align-items: stretch; }
    .hero-content { padding: 3.5rem 1.5rem 0; }
}
@media (min-width: 768px) {
    .hero-content { padding: 3.5rem 2rem 0; max-width: 1200px; margin: 0 auto; text-align: left; }
    .hero-eyebrow { justify-content: flex-start; }
    .hero-eyebrow::before { display: block; content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
    .hero-title { max-width: 580px; }
    .hero-sub { max-width: 460px; margin-left: 0; }
    .hero-actions { align-items: flex-start; justify-content: center; }
}

/* SERVICES */
.services-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2rem 1rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.service-card {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.5rem; border-radius: var(--radius-lg);
    border: 1px solid var(--border); background: var(--surface-2);
    transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: rgba(194,35,40,0.25); transform: translateY(-2px); }
.service-icon {
    width: 46px; height: 46px; border-radius: var(--radius);
    background: var(--red-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--red); font-size: 1.05rem;
}
.service-text h4 {
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    color: var(--text); margin: 0 0 0.3rem; line-height: 1.3;
}
.service-text p { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.55; }

@media (max-width: 575.98px) {
    .services-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .service-card { padding: 1.25rem; }
}
@media (min-width: 768px) {
    .services-section { padding: 3rem 1.5rem; }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

/* SOBRE */
.sobre-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.sobre-grid { display: grid; grid-template-columns: 1fr; }
.sobre-foto-col {
    position: relative; overflow: hidden;
    aspect-ratio: 1 / 1; max-height: 480px;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.sobre-foto {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center center; display: block;
}
.sobre-foto-col::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 65%, var(--surface) 100%);
    pointer-events: none; z-index: 1;
}
.sobre-content { padding: 2rem 1.5rem 3rem; display: flex; flex-direction: column; }
.sobre-eyebrow {
    font-family: var(--font-body); font-size: 0.58rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--red); margin-bottom: 0.75rem;
}
.sobre-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 700; line-height: 1.1;
    color: var(--text); margin-bottom: 0.5rem;
}
.sobre-creci-inline {
    display: inline-block; font-family: var(--font-body);
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1rem;
}
.sobre-divider { margin: 0 0 1.5rem; }
.sobre-text { font-size: 0.88rem; color: var(--text-2); line-height: 1.85; margin-bottom: 0.875rem; }
.sobre-highlight {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.05rem; color: var(--gold); line-height: 1.65;
    margin: 0.75rem 0 1.25rem; padding-left: 1rem;
    border-left: 2px solid var(--red);
}
.sobre-cta {
    padding: 0.8rem 1.5rem; font-size: 0.85rem; min-height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .sobre-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(500px, auto); }
    .sobre-foto-col { aspect-ratio: unset; max-height: unset; min-height: 500px; }
    .sobre-foto-col::after { background: linear-gradient(to right, transparent 55%, var(--surface) 100%); }
    .sobre-content { padding: 3rem 2rem 3rem 1.5rem; justify-content: center; max-width: 560px; }
    .sobre-cta { width: auto; align-self: flex-start; }
}
@media (min-width: 1024px) { .sobre-content { padding: 3.5rem 3rem 3.5rem 1.5rem; } }

.sobre-animate {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sobre-animate[data-anim="from-left"]  { transform: translateX(-24px); }
.sobre-animate[data-anim="from-right"] { transform: translateY(18px); }
@media (min-width: 768px) { .sobre-animate[data-anim="from-right"] { transform: translateX(24px); } }
.sobre-animate.sobre-visible { opacity: 1; transform: none; }

/* SECTION */
.section-header { margin-bottom: 0.5rem; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700; margin-bottom: 0.75rem; color: var(--text);
}
.title-line { width: 40px; height: 2px; background: var(--red); margin: 0 auto; border-radius: 2px; }

/* SEARCH */
.search-wrap { max-width: 480px; margin: 0 auto; }
.search-inner { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 1rem; color: var(--muted); font-size: .78rem; pointer-events: none; z-index: 1; }
.search-input {
    width: 100%; background: var(--surface); border: 1px solid var(--border);
    color: var(--text); padding: .7rem 2.6rem .7rem 2.5rem;
    border-radius: var(--radius); font-family: var(--font-body); font-size: .84rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none; appearance: none;
}
.search-input:focus { outline: none; border-color: rgba(194,35,40,0.5); box-shadow: 0 0 0 3px rgba(194,35,40,0.08); }
.search-input::placeholder { color: var(--muted); }
.search-input::-webkit-search-cancel-button { display: none; }
.search-clear {
    position: absolute; right: .75rem; background: none; border: none;
    color: var(--muted); cursor: pointer; padding: 4px 6px;
    border-radius: 50%; line-height: 1; font-size: .75rem;
    transition: color var(--transition);
}
.search-clear:hover { color: var(--text); }

/* FILTERS */
.filter-bar { -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.filter-bar::-webkit-scrollbar { display: none; }
.btn-filter {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.05em; padding: 0.45rem 1.1rem;
    border-radius: var(--radius); border: 1px solid var(--border);
    background: transparent; color: var(--muted);
    transition: all var(--transition); white-space: nowrap;
    min-height: 36px; text-transform: uppercase;
}
.btn-filter:hover { border-color: var(--red); color: var(--red); }
.btn-filter.active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.filter-dropdown-wrap { position: relative; }
.filter-dropdown-arrow { font-size: 0.6em; margin-left: 5px; transition: transform var(--transition); }
.filter-dropdown-wrap.open .filter-dropdown-arrow { transform: rotate(180deg); }

.filter-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 170px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.filter-dropdown-wrap.open .filter-dropdown-menu { display: block; }

.filter-dropdown-menu li button {
    display: block; width: 100%; text-align: left;
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--muted); background: transparent; border: none;
    padding: 0.45rem 1.1rem; cursor: pointer;
    transition: color var(--transition);
}
.filter-dropdown-menu li button:hover { color: var(--red); }
.filter-dropdown-menu li button.active { color: var(--red); font-weight: 600; }
.filter-dropdown-divider { border-top: 1px solid var(--border); margin: 4px 0; }

/* AD CARDS */
#grid-imoveis { transition: opacity 0.2s ease; }
.listing-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex; flex-direction: column; height: 100%;
    cursor: pointer; box-shadow: var(--shadow-card); text-decoration: none;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(194,35,40,0.3); }

.card-img-wrapper { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.listing-card:hover .card-img-wrapper img { transform: scale(1.05); }

.badge-category {
    position: absolute; top: 10px; left: 10px;
    background: rgba(10,10,10,0.82); color: var(--red);
    padding: 3px 10px; border-radius: 4px;
    font-size: 0.58rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: 1px solid rgba(194,35,40,0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge-status {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 10px; border-radius: 4px;
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-vendido  { background: rgba(194,35,40,0.9); color: #fff; }
.badge-destaque { background: rgba(212,160,32,0.92); color: #0A0A0A; }
.status-vendido { opacity: 0.45; filter: grayscale(0.85); pointer-events: none; }
.status-vendido .listing-card:hover { transform: none; box-shadow: var(--shadow-card); border-color: var(--border); }

.card-body { padding: 1rem 1rem 1.125rem; display: flex; flex-direction: column; flex: 1; }
.card-title {
    color: var(--text); font-family: var(--font-body);
    font-size: 0.875rem; font-weight: 600; margin-bottom: 0.35rem;
    line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { color: var(--gold); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.45rem; font-family: var(--font-body); letter-spacing: -0.02em; }
.card-attrs { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.875rem; flex: 1; line-height: 1.65; }
.card-desc { display: none; }
.btn-detail {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    padding: 0.6rem; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--surface-2);
    color: var(--text-2); transition: all var(--transition);
    width: 100%; min-height: 42px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; cursor: pointer;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-detail:hover { background: var(--red); border-color: var(--red); color: #fff; }

@media (max-width: 575.98px) { .listing-item { padding-left: 0; padding-right: 0; } .card-img-wrapper { aspect-ratio: 16/9; } }
@media (min-width: 576px) and (max-width: 991.98px) { .card-img-wrapper { aspect-ratio: 3/2; } }
@media (min-width: 992px) {
    .listing-item:first-child { grid-column: 1 / -1; }
    .listing-item:first-child .listing-card { flex-direction: row; max-height: 420px; }
    .listing-item:first-child .card-img-wrapper { aspect-ratio: unset; width: 52%; flex-shrink: 0; }
    .listing-item:first-child .card-body { padding: 1.75rem 2rem; justify-content: flex-start; }
    .listing-item:first-child .card-title { font-size: 1.2rem; -webkit-line-clamp: 2; margin-bottom: 0.5rem; }
    .listing-item:first-child .card-price { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .listing-item:first-child .card-attrs { font-size: 0.8rem; flex: 0; margin-bottom: 0.625rem; }
    .listing-item:first-child .card-desc {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.82rem;
        color: var(--text-2);
        line-height: 1.75;
        margin-bottom: 1.25rem;
        flex: 1;
    }
    .listing-item:first-child .btn-detail { max-width: 220px; margin-top: auto; }
    #grid-imoveis { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    #grid-imoveis > .listing-item { width: 100% !important; max-width: 100% !important; flex: none !important; padding: 0 !important; }
}

#empty-state { color: var(--muted); padding: 4rem 1rem; }

/* CTA */
.cta-section { background: var(--red); padding: 4rem 1rem; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(212,160,32,0.1), transparent 70%); pointer-events: none; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; color: #fff; margin-bottom: 0.625rem; position: relative; }
.cta-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 460px; margin: 0 auto 1.75rem; line-height: 1.65; position: relative; }
.btn-cta {
    font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
    background: #fff; color: var(--red); border: 2px solid #fff;
    padding: 0.8rem 1.75rem; border-radius: var(--radius);
    display: inline-flex; align-items: center;
    transition: all var(--transition); min-height: 48px;
    text-decoration: none; position: relative;
}
.btn-cta:hover { background: transparent; border-color: #fff; color: #fff; }

/* FOOTER */
footer { background-color: var(--surface) !important; border-top: 1px solid var(--border); padding: 2.5rem 0 0; overflow: hidden; }
.footer-heading { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.8125rem; list-style: none; padding: 0; margin: 0; }
.footer-links li { color: var(--muted); overflow-wrap: break-word; min-width: 0; }
.footer-links a { color: var(--muted) !important; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--red) !important; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.125rem 0; margin-top: 2rem; text-align: center; }

/* FLOATING WA */
.floating-whatsapp {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 999;
    display: flex; align-items: center; gap: 0.5rem;
    background: #25D366; color: #fff;
    padding: 0.7rem 1.125rem; border-radius: 100px;
    font-weight: 600; font-size: 0.8125rem; text-decoration: none;
    box-shadow: 0 4px 20px var(--wa-glow), 0 2px 8px rgba(0,0,0,0.15);
    transition: transform var(--transition), box-shadow var(--transition);
    font-family: var(--font-body); white-space: nowrap;
}
.floating-whatsapp i { font-size: 1.15rem; }
.floating-whatsapp:hover, .floating-whatsapp:focus { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4), 0 4px 10px rgba(0,0,0,0.15); color: #fff; }
@media (max-width: 575.98px) {
    .floating-whatsapp-text { display: none; }
    .floating-whatsapp { width: 54px; height: 54px; border-radius: 50%; justify-content: center; padding: 0; }
    .floating-whatsapp i { font-size: 1.5rem; }
}

/* DETAIL PAGE */
.anuncio-back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.8125rem; text-decoration: none; margin-bottom: 1.75rem; transition: color var(--transition); }
.anuncio-back-link:hover { color: var(--red); }
.anuncio-back-link i { font-size: 0.75rem; }
.anuncio-wrapper { max-width: 1080px; margin: 0 auto; overflow: hidden; }
.anuncio-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .anuncio-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; } }
.anuncio-gallery-panel { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); min-width: 0; }
.modal-gallery-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (min-width: 768px) { .modal-gallery-main { height: 420px; aspect-ratio: unset; } }
.modal-thumbs { display: flex; flex-wrap: nowrap; gap: 0.5rem; padding: 0.625rem; overflow-x: auto; background: var(--surface-2); -ms-overflow-style: none; scrollbar-width: none; }
.modal-thumbs::-webkit-scrollbar { display: none; }
.thumb-img { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; cursor: pointer; border: 2px solid transparent; opacity: 0.5; flex-shrink: 0; transition: opacity var(--transition), border-color var(--transition); }
.thumb-img:hover, .thumb-img.active { opacity: 1; border-color: var(--red); }
@media (min-width: 768px) {
    .modal-thumbs { flex-wrap: wrap; overflow-x: visible; padding: 0.75rem; gap: 0.4rem; }
    .thumb-img { width: 76px; height: 57px; }
}
.anuncio-info-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-card); min-width: 0; }
@media (min-width: 768px) { .anuncio-info-panel { position: sticky; top: 74px; } }
.modal-category-label { display: inline-flex; align-items: center; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); background: var(--red-soft); border: 1px solid rgba(194,35,40,0.2); padding: 3px 9px; border-radius: 4px; margin-bottom: 0.75rem; }
.modal-title { font-family: var(--font-body); font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.25; margin-bottom: 0.5rem; color: var(--text); overflow-wrap: break-word; min-width: 0; }
.modal-price { font-size: clamp(1.15rem, 5.5vw, 1.625rem); font-weight: 700; color: var(--gold); margin-bottom: 1.125rem; font-family: var(--font-body); line-height: 1.1; overflow-wrap: break-word; min-width: 0; }
.modal-price-consultar { font-size: 1.0625rem; color: var(--muted); font-weight: 500; margin-bottom: 1.125rem; }
.modal-specs { background: var(--surface-2); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.125rem; border: 1px solid var(--border); }
.modal-specs-heading { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.375rem; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem 0.875rem; }
@media (max-width: 575.98px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-item { display: flex; align-items: flex-start; gap: 0.4rem; }
.spec-icon { color: var(--red); font-size: 0.75rem; width: 14px; flex-shrink: 0; margin-top: 0.2rem; opacity: 0.85; }
.spec-content { display: flex; flex-direction: column; min-width: 0; }
.spec-label { font-size: 0.6rem; color: var(--muted); font-weight: 500; line-height: 1.2; text-transform: capitalize; }
.spec-value { font-size: 0.78rem; color: var(--text); font-weight: 600; line-height: 1.4; word-break: break-word; }
.modal-description { font-size: 0.84rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.25rem; overflow-wrap: break-word; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.8rem; background: #25D366; color: #fff; font-weight: 700; font-size: 0.875rem; border-radius: var(--radius); text-decoration: none; min-height: 48px; transition: background var(--transition), transform var(--transition); font-family: var(--font-body); }
.btn-whatsapp:hover { background: #1cb955; color: #fff; transform: translateY(-1px); }
.btn-whatsapp i { font-size: 1.2rem; }
.anuncio-location-section { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.vitrine-map { width: 100%; height: 280px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin-top: .625rem; }
.link-integrux { transition: color 0.3s ease; }
.link-integrux:hover { color: var(--red) !important; }
@media (min-width: 768px) { .vitrine-map { height: 340px; } }
@media (min-width: 768px) and (max-width: 991.98px) { .anuncio-layout { grid-template-columns: 1fr; } .anuncio-info-panel { position: static; } }
@media (max-width: 767.98px) and (orientation: landscape) { .hero-section { min-height: 100vw; } }
@media (max-width: 767.98px) { .btn-filter { min-height: 38px; } .btn-detail { min-height: 42px; } .anuncio-info-panel { padding: 1.125rem; } main.container { padding-bottom: 4.5rem; } }
@media (max-width: 575.98px) { .anuncio-info-panel { padding: 1rem; } .modal-specs { padding: 0.75rem; } .anuncio-location-section { margin-top: 1.125rem; padding-top: 0.875rem; } .modal-gallery-main { aspect-ratio: 16/10; } }
@media (max-width: 375px) { .hero-title { font-size: 2.2rem; } .anuncio-info-panel { padding: 0.875rem; } .modal-specs { padding: 0.625rem; } .modal-price { font-size: 1.15rem; } }
@media (max-width: 320px) { .anuncio-info-panel { padding: 0.75rem; } .modal-specs { padding: 0.5rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .sobre-animate { opacity: 1 !important; transform: none !important; transition: none !important; } }