/* ═══════════════════════════════════════════════════════════════════════════
   GR Prime Leilões — Public CSS
   Design: Exaggerated Minimalism | Cinzel + Inter
   Brand: #0F2558 navy · #E8A23C gold
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:          #0F2558;
  --navy-deep:     #091840;
  --navy-light:    #1a3a7a;
  --gold:          #E8A23C;
  --gold-light:    #f4c06a;
  --gold-dark:     #c4841e;
  --white:         #ffffff;
  --off-white:     #F8F9FB;
  --gray-50:       #F3F4F6;
  --gray-100:      #E5E7EB;
  --gray-300:      #D1D5DB;
  --gray-500:      #6B7280;
  --gray-700:      #374151;
  --gray-900:      #111827;
  --success:       #059669;
  --danger:        #DC2626;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --shadow-navy:   0 8px 32px rgba(15,37,88,.25);
  --transition:    .25s cubic-bezier(.4,0,.2,1);
  --transition-lg: .4s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.section-py  { padding-top: 88px; padding-bottom: 88px; }
.section-py-sm { padding-top: 56px; padding-bottom: 56px; }
.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Scroll Reveal Animations ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--transition-lg), transform .65s var(--transition-lg);
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Navbar ────────────────────────────────────────────────────────────── */
.navbar-grprime {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.navbar-grprime.transparent { background: transparent; }
.navbar-grprime.scrolled {
  background: rgba(9,24,64,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
.navbar-logo img { height: 40px; width: auto; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.navbar-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.navbar-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.navbar-links a.active { color: var(--gold); }
.navbar-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
}
.navbar-cta:hover { background: var(--gold-light) !important; }
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
  transition: transform .1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,24,64,.88) 0%,
    rgba(15,37,88,.75) 50%,
    rgba(9,24,64,.60) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  padding-top: 100px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,162,60,.15);
  border: 1px solid rgba(232,162,60,.3);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse-dot 2s infinite; }
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Search Box ────────────────────────────────────────────────────────── */
.search-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 780px;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.search-field {
  flex: 1;
  min-width: 160px;
  position: relative;
}
.search-field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 10px 16px 2px;
}
.search-field select,
.search-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-900);
  padding: 2px 16px 10px;
  cursor: pointer;
  -webkit-appearance: none;
}
.search-field-divider {
  width: 1px;
  background: var(--gray-100);
  margin: 8px 0;
  align-self: stretch;
}
.search-submit {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  align-self: stretch;
}
.search-submit:hover { background: var(--navy-light); transform: scale(1.02); }
.search-submit svg { width: 18px; height: 18px; }

/* ── Hero Stats ────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.hero-stat-divider { width: 1px; background: rgba(255,255,255,.15); }

/* ── Scroll indicator ──────────────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── Property Cards ────────────────────────────────────────────────────── */
.prop-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-lg), box-shadow var(--transition-lg);
  cursor: pointer;
  position: relative;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.prop-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.prop-card:hover .prop-card-img img { transform: scale(1.06); }
.prop-card-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: rgba(255,255,255,.3);
}
.prop-badge-discount {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .03em;
}
.prop-badge-status {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.prop-badge-status.ativo     { background: rgba(5,150,105,.9);   color: #fff; }
.prop-badge-status.encerrado { background: rgba(107,114,128,.9); color: #fff; }
.prop-badge-status.venda     { background: rgba(15,37,88,.9);    color: var(--gold); }
.prop-badge-status.licitacao { background: rgba(124,58,237,.9);  color: #fff; }

/* ── View toggle buttons ───────────────────────────────────────────────── */
.btn-view-toggle {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--gray-400);
  line-height: 1;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-view-toggle:hover  { border-color: var(--navy); color: var(--navy); }
.btn-view-toggle.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* prop-card-body é flex column em modo grade */
.prop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prop-card-info {
  padding: 20px 20px 0;
  flex: 1;
}
.prop-card-location {
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.prop-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-card-features {
  display: flex;
  gap: 14px;
  color: var(--gray-500);
  font-size: .82rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.prop-card-features span { display: flex; align-items: center; gap: 4px; }
.prop-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.prop-price-label { font-size: .7rem; color: var(--gray-500); }
.prop-price-old {
  font-size: .8rem;
  color: var(--gray-500);
  text-decoration: line-through;
  display: block;
}
.prop-price-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.prop-card-btn {
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.prop-card-btn:hover { background: var(--navy-light); transform: scale(1.04); color: #fff; }

/* ── List mode ─────────────────────────────────────────────────────────── */
#grid-imoveis.list-mode > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}
#grid-imoveis.list-mode .prop-card:hover { transform: translateY(-2px); }

/* Body vira flex row: [foto | info | footer] */
#grid-imoveis.list-mode .prop-card-body {
  flex-direction: row;
  align-items: stretch;
}

/* Foto: largura fixa, altura acompanha o body */
#grid-imoveis.list-mode .prop-card-img {
  width: 200px;
  min-width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* Info: ocupa o espaço restante */
#grid-imoveis.list-mode .prop-card-info {
  padding: 16px 16px 16px 20px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#grid-imoveis.list-mode .prop-card-title {
  min-height: 0;
  -webkit-line-clamp: 1;
  margin-bottom: 6px;
}

/* Footer: coluna à direita com separador vertical */
#grid-imoveis.list-mode .prop-card-footer {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  min-width: 155px;
  padding: 16px 20px;
  border-top: none;
  border-left: 1px solid var(--gray-100);
  margin-top: 0;
  gap: 10px;
}

/* Mobile: volta ao layout vertical */
@media (max-width: 640px) {
  #grid-imoveis.list-mode .prop-card-body   { flex-direction: column; }
  #grid-imoveis.list-mode .prop-card-img    { width: 100%; min-width: 0; height: 180px; }
  #grid-imoveis.list-mode .prop-card-info   { padding: 16px 20px 0; }
  #grid-imoveis.list-mode .prop-card-footer { flex-direction: row; align-items: flex-end; border-left: none; border-top: 1px solid var(--gray-100); padding: 14px 20px 20px; }
}

/* ── Section: Featured ─────────────────────────────────────────────────── */
.section-featured { background: var(--off-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.see-all-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--gold);
  transition: gap var(--transition), color var(--transition);
}
.see-all-link:hover { gap: 10px; color: var(--navy-light); }

/* ── How It Works ──────────────────────────────────────────────────────── */
.how-step {
  text-align: center;
  padding: 0 20px;
}
.how-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-navy);
}
.how-step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(15,37,88,.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}
.how-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.how-step-desc { font-size: .875rem; color: var(--gray-500); }

/* ── CTA Banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(232,162,60,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.cta-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner-sub { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 420px; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,162,60,.4);
  color: var(--navy);
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); color: #fff; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── Page Header (Listagem / Busca) ────────────────────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1e4d9b 100%);
  padding: 140px 28px 80px;
  overflow: visible;
}
/* Círculos decorativos — ocultos quando há foto */
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(232,162,60,.06);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 10%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
/* Camadas de foto (injetadas via PHP quando o arquivo existe) */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.page-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,24,64,.87) 0%,
    rgba(15,37,88,.72) 55%,
    rgba(9,24,64,.55) 100%
  );
  z-index: 0;
}
/* Quando há foto: esconder círculos decorativos */
.page-hero.has-img::before,
.page-hero.has-img::after { display: none; }

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(232,162,60,.15);
  border: 1px solid rgba(232,162,60,.3);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero-sub { color: rgba(255,255,255,.65); font-size: 1rem; }

/* ── Search Bar inline (listagem) ──────────────────────────────────────── */
.filter-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-group { flex: 1; min-width: 140px; position: relative; }
.filter-group label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.filter-group select,
.filter-group input {
  width: 100%;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  background: var(--gray-50);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.filter-group select:focus,
.filter-group input:focus { border-color: var(--navy); background: #fff; }

/* ── Comodidades pill toggles ───────────────────────────────────────────── */
.filter-comod-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

/* Base: fundo branco (dentro do filter-bar claro) */
.comod-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  user-select: none;
  white-space: nowrap;
}
.comod-pill i[data-lucide],
.comod-pill svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }
.comod-pill input[type=checkbox] { display: none; }
.comod-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}
.comod-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}


/* ── Sticky filter bar (aparece após scroll pelo hero) ─────────────────── */
/* Oculto por default via display:none no HTML; .visible ativa a transição */
.filter-sticky-bar {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 900;
  background: rgba(9,24,64,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.filter-sticky-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.filter-sticky-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-sticky-form select,
.filter-sticky-form input[type=number] {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  padding: 0 10px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.filter-sticky-form select:focus,
.filter-sticky-form input[type=number]:focus { border-color: var(--gold); background: rgba(255,255,255,.15); }
.filter-sticky-form select option { background: #0F2558; color: #fff; }
@media (max-width: 640px) {
  .sticky-hide-mobile { display: none !important; }
  .filter-sticky-form { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .filter-sticky-bar { transition: none; }
}

/* ── Property Gallery Section ──────────────────────────────────────────── */
.imovel-gallery-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1e4d9b 100%);
  padding: 88px 0 28px;          /* 88px = navbar height */
  overflow: hidden;
}
.imovel-gallery-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.imovel-gallery-deco.deco-1 {
  top: -100px; right: -80px;
  width: 440px; height: 440px;
  background: rgba(232,162,60,.06);
}
.imovel-gallery-deco.deco-2 {
  bottom: -80px; left: 8%;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.03);
}
.imovel-gallery-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: clamp(260px, 46vw, 520px);
  background: rgba(255,255,255,.06);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.imovel-gallery-wrap .swiper { height: 100%; }
.imovel-gallery-wrap .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs-strip::-webkit-scrollbar { display: none; }
.gallery-thumb {
  width: 80px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  opacity: .7;
  transition: opacity var(--transition), border-color var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--navy); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}
.detail-location {
  color: var(--gray-500);
  font-size: .95rem;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
}
.detail-features {
  display: flex; gap: 24px; flex-wrap: wrap;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 28px;
}
.detail-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; color: var(--gray-700);
}
.detail-feature svg { color: var(--navy); }
.detail-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.detail-desc { color: var(--gray-700); line-height: 1.8; white-space: pre-line; }
.amenity-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: .82rem; font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── Auction Card (Sidebar) ────────────────────────────────────────────── */
.auction-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.auction-card-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 24px;
  color: #fff;
}
.auction-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.auction-card-label { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.auction-card-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.auction-card-price-old {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.auction-card-date {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
}
.auction-card-body { padding: 24px; }
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-bottom: 12px;
}
.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  color: #fff;
}
.btn-interest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.btn-interest:hover { background: var(--navy-light); transform: translateY(-1px); color: #fff; }
.auction-card-info {
  display: flex; flex-direction: column; gap: 10px;
  font-size: .82rem;
}
.auction-card-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-50);
}
.auction-card-info-row:last-child { border-bottom: none; }
.auction-card-info-key { color: var(--gray-500); }
.auction-card-info-val { font-weight: 600; color: var(--navy); }

/* ── Lead Form (inline) ────────────────────────────────────────────────── */
.lead-form-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-400); font-size: .78rem; margin: 16px 0;
}
.lead-form-divider::before,
.lead-form-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-100); }
.lead-input {
  width: 100%;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: 10px;
}
.lead-input:focus { border-color: var(--navy); background: #fff; }
.lead-input::placeholder { color: var(--gray-400); }

/* ── About: Team ───────────────────────────────────────────────────────── */
.team-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-lg), box-shadow var(--transition-lg);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img-wrap {
  position: relative;
  height: 420px;          /* 2:3 portrait — largura ~280px × 1.5 = 420px */
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.team-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.team-card:hover .team-card-img-wrap img { transform: scale(1.04); }
.team-card-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,.2);
}
.team-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(9,24,64,.9) 0%, transparent 100%);
  padding: 28px 24px 20px;
}
.team-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.team-card-role { color: var(--gold); font-size: .82rem; font-weight: 500; margin-top: 2px; }
.team-card-body { padding: 20px 24px 24px; }
.team-card-bio { color: var(--gray-600); font-size: .875rem; line-height: 1.7; margin-bottom: 16px; }
.team-social {
  display: flex; gap: 8px;
}
.team-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.team-social a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer-main {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  padding: 72px 28px 40px;
}
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer-desc { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 28px;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}

/* ── WhatsApp Float ────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

/* ── Swiper custom ─────────────────────────────────────────────────────── */
.imovel-gallery-wrap .swiper-button-next,
.imovel-gallery-wrap .swiper-button-prev {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  margin-top: 0;
  transform: translateY(-50%);
}
.imovel-gallery-wrap .swiper-button-next::after,
.imovel-gallery-wrap .swiper-button-prev::after { font-size: 15px; font-weight: 700; }
.imovel-gallery-wrap .swiper-pagination-bullet { background: rgba(255,255,255,.5); width: 8px; height: 8px; }
.imovel-gallery-wrap .swiper-pagination-bullet-active { background: #fff; width: 22px; border-radius: 4px; }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-in-up .6s var(--transition-lg) both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }

/* ── Breadcrumb ────────────────────────────────────────────────────────── */
.breadcrumb-nav { padding: 16px 0; }
.breadcrumb-nav ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-nav li { font-size: .82rem; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.breadcrumb-nav li:not(:last-child)::after { content: '/'; color: var(--gray-300); }
.breadcrumb-nav li a { color: var(--navy); font-weight: 500; }
.breadcrumb-nav li a:hover { color: var(--gold); }
.breadcrumb-nav li:last-child { color: var(--gray-400); }

/* ── Badges info ───────────────────────────────────────────────────────── */
.info-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  font-size: .8rem; font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--gray-700);
}
.info-badge.navy { background: rgba(15,37,88,.07); border-color: rgba(15,37,88,.15); color: var(--navy); }
.info-badge.gold { background: rgba(232,162,60,.1); border-color: rgba(232,162,60,.25); color: var(--gold-dark); }
.info-badge.green { background: rgba(5,150,105,.08); border-color: rgba(5,150,105,.2); color: var(--success); }
.info-badge.red { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.2); color: var(--danger); }

/* ── About Hero ────────────────────────────────────────────────────────── */
.about-hero-box {
  background: var(--gold);
  border-radius: var(--radius-xl);
  padding: 10px 20px;
  display: inline-block;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-links { display: none; }
  .navbar-toggler { display: flex; }
  .search-box { flex-direction: column; }
  .search-field-divider { display: none; }
  .search-submit { justify-content: center; }
  .auction-card { position: static; }
  .cta-banner { padding: 48px 28px; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .section-py { padding-top: 56px; padding-bottom: 56px; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .filter-bar { flex-direction: column; }
  .gallery-hero { height: 260px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-menu-links a {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.mobile-menu-links a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.1);
  border: none; color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem;
}

/* ── Loading spinner ───────────────────────────────────────────────────── */
.spinner { width: 40px; height: 40px; border: 3px solid var(--gray-100); border-top-color: var(--navy); border-radius: 50%; animation: spin .7s linear infinite; margin: 48px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
