/* ============================================================
   FÁBIO IMÓVEIS – style.css
   Tema: Luxo Imobiliário | Ouro + Preto + Branco
   Fontes: Playfair Display (display) + Lato (corpo)
   ============================================================ */

/* ─── VARIÁVEIS ──────────────────────────────────────────── */
:root {
  --gold:         #C9A84C;
  --gold-dark:    #9A7A28;
  --gold-light:   #E8C97A;
  --gold-pale:    #F5E9C8;
  --black:        #0A0A0A;
  --black-soft:   #1A1A1A;
  --dark:         #111111;
  --dark2:        #1C1C1C;
  --dark3:        #242424;
  --gray-dark:    #3A3A3A;
  --gray:         #777777;
  --gray-light:   #BBBBBB;
  --white:        #FFFFFF;
  --white-off:    #F8F6F1;
  --bg-section:   #F9F7F2;
  --shadow:       0 4px 24px rgba(0,0,0,0.12);
  --shadow-gold:  0 4px 20px rgba(201,168,76,0.25);
  --radius:       6px;
  --radius-lg:    14px;
  --transition:   .3s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Arial, sans-serif;
}

/* ─── RESET / BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; }

/* ─── UTILITÁRIOS DOURADOS ──────────────────────────────── */
.text-gold       { color: var(--gold) !important; }
.bg-gold         { background: var(--gold) !important; }
.bg-dark-site    { background: var(--dark) !important; }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .04em;
  transition: var(--transition);
  border-radius: var(--radius);
  padding: .45rem 1.25rem;
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: var(--transition);
  padding: .45rem 1.25rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  padding: .45rem 1.25rem;
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
}
.section-title.centered::after { margin-left: auto; margin-right: auto; }

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  letter-spacing: .02em;
  margin-top: .5rem;
}

/* ─── LGPD BAR ──────────────────────────────────────────── */
.lgpd-bar {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.5);
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  border-bottom: 1px solid var(--gray-dark);
  padding: 6px 0;
  font-size: .82rem;
}
.topbar-link {
  color: var(--gray-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}
.topbar-link:hover { color: var(--gold); }
.topbar-link i { color: var(--gold); font-size: .9rem; }
.topbar-social {
  color: var(--gray-light);
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-dark);
  border-radius: 50%;
  transition: var(--transition);
  font-size: .8rem;
}
.topbar-social:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,.1);
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
#mainNav {
  background: var(--black-soft);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: 10px 0;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1040;
}
#mainNav.scrolled {
  background: rgba(10,10,10,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
#mainNav .navbar-brand img { transition: opacity var(--transition); }
#mainNav .nav-link {
  color: var(--gray-light) !important;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .05em;
  padding: .5rem .8rem !important;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--gold) !important; }
#mainNav .nav-link:hover::after { width: 80%; }
#mainNav .dropdown-menu {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,.2);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 200px;
}
#mainNav .dropdown-item {
  color: var(--gray-light);
  font-size: .88rem;
  padding: .5rem 1.2rem;
  transition: var(--transition);
}
#mainNav .dropdown-item:hover {
  background: rgba(201,168,76,.1);
  color: var(--gold);
  padding-left: 1.6rem;
}
.navbar-toggler { border: none; box-shadow: none !important; }

/* ─── HERO / BANNER ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, rgba(10,10,10,.75) 0%, rgba(26,26,26,.5) 100%),
              url('../img/hero-peruibe.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  margin-bottom: .5rem;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: .02em;
}

/* ─── BUSCA HERO ──────────────────────────────────────────── */
.search-box {
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.search-box .form-label {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.search-box .form-control,
.search-box .form-select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--white);
  border-radius: var(--radius);
  padding: .55rem .9rem;
  font-size: .9rem;
  transition: var(--transition);
}
.search-box .form-control::placeholder { color: var(--gray); }
.search-box .form-control:focus,
.search-box .form-select:focus {
  background: rgba(255,255,255,.08);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.search-box .form-select option { background: var(--dark2); color: var(--white); }
#search-extra { display: none; }
.search-toggle-btn {
  font-size: .82rem;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.search-toggle-btn:hover { color: var(--gold-light); }
.search-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}

/* ─── DESTAQUE / IMÓVEIS ─────────────────────────────────── */
.section-imoveis { padding: 80px 0; background: var(--white-off); }

.imovel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.06);
}
.imovel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.16), var(--shadow-gold);
}
.imovel-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.imovel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.imovel-card:hover .imovel-card-img img { transform: scale(1.07); }
.imovel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 3px;
}
.imovel-badge-dest {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #E74C3C;
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}
.imovel-card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.imovel-preco {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.imovel-titulo {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.imovel-local {
  font-size: .8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}
.imovel-local i { color: var(--gold); font-size: .85rem; }
.imovel-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .4rem;
}
.feat-item {
  font-size: .78rem;
  color: var(--gray-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feat-item i { color: var(--gold); font-size: .85rem; }
.imovel-card-footer {
  padding: .8rem 1.2rem;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.imovel-cod { font-size: .72rem; color: var(--gray); }

/* ─── SEÇÃO INSTITUCIONAL ─────────────────────────────────── */
.section-institucional {
  padding: 90px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.section-institucional::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,.07) 0%, transparent 70%);
  pointer-events: none;
}
.institucional-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.institucional-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201,168,76,.3);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}
.institucional-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.institucional-text .section-title { color: var(--white); }
.institucional-text .section-title::after { background: var(--gold); }
.institucional-text p { color: var(--gray-light); font-size: .97rem; line-height: 1.8; }
.inst-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.inst-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}

/* ─── BLOG CARDS ──────────────────────────────────────────── */
.section-blog { padding: 80px 0; background: var(--white); }

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-date {
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .5rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
  line-height: 1.35;
}
.blog-card-title a:hover { color: var(--gold); }
.blog-card-resumo {
  font-size: .88rem;
  color: var(--gray);
  flex: 1;
  line-height: 1.6;
}
.blog-card-footer {
  padding: .8rem 1.4rem;
  border-top: 1px solid rgba(0,0,0,.05);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 70px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-logo { max-width: 160px; filter: brightness(1.1); }
.footer-text { color: var(--gray); font-size: .88rem; line-height: 1.8; }
.footer-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: var(--gray);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { color: var(--gold-dark); font-size: .7rem; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: .8rem;
  color: var(--gray);
  font-size: .88rem;
}
.footer-contact-list a { color: var(--gray); }
.footer-contact-list a:hover { color: var(--gold); }
.footer-contact-list i { margin-top: 3px; min-width: 16px; }
.footer-creci {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .8rem;
  color: var(--gray-light);
}
.social-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: .9rem;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.footer-divider { border-color: rgba(255,255,255,.08); }
.footer-bottom {
  padding: 1.5rem 0 1.8rem;
  color: var(--gray);
  font-size: .82rem;
}
.footer-bottom-link { color: var(--gray); transition: color var(--transition); }
.footer-bottom-link:hover { color: var(--gold); }

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9000;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  font-size: .8rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* ─── BACK TO TOP ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 150px;
  right: 24px;
  z-index: 8999;
  width: 40px; height: 40px;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ─── PWA INSTALL BUTTON ──────────────────────────────────── */
.pwa-install-btn {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 8998;
  font-size: .8rem;
  padding: .4rem .9rem;
  border-radius: 20px;
  box-shadow: var(--shadow-gold);
}

/* ─── PÁGINA BUSCA ────────────────────────────────────────── */
.busca-header {
  background: var(--dark);
  padding: 60px 0 40px;
  border-bottom: 2px solid var(--gold);
}
.busca-header .section-title { color: var(--white); }
.busca-header .section-title::after { background: var(--gold); }
.busca-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 90px;
}
.busca-sidebar .section-title { font-size: 1.1rem; }
.busca-sidebar .form-label { font-size: .78rem; font-weight: 700; color: var(--gray-dark); text-transform: uppercase; letter-spacing: .05em; }
.busca-sidebar .form-control,
.busca-sidebar .form-select { font-size: .88rem; border-radius: var(--radius); border-color: #ddd; }
.busca-count { font-size: .85rem; color: var(--gray); margin-bottom: 1rem; }

/* ─── PÁGINA DETALHE IMÓVEL ────────────────────────────────── */
.imovel-header {
  background: var(--dark);
  padding: 30px 0;
  border-bottom: 2px solid var(--gold);
}
.imovel-header-preco {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
}
.imovel-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  font-size: .78rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .04em;
}
.imovel-carousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.imovel-carousel .carousel-control-prev,
.imovel-carousel .carousel-control-next {
  background: rgba(0,0,0,.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}
.imovel-descricao {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--gray-dark);
}
.imovel-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); width: 40%; }
.imovel-table td { font-weight: 700; color: var(--dark); font-size: .9rem; }
.imovel-sidebar-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,.2);
}
.imovel-sidebar-card .btn-gold { width: 100%; margin-bottom: .6rem; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.video-wrapper.short-ratio { padding-bottom: 177.78%; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.semelhantes { padding: 60px 0; background: var(--white-off); }

/* ─── LIGHTBOX ────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}
.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ─── BLOG PÁGINAS ────────────────────────────────────────── */
.blog-header { background: var(--dark); padding: 70px 0; border-bottom: 2px solid var(--gold); }
.blog-header .section-title { color: var(--white); }
.post-header { background: var(--dark); padding: 80px 0; }
.post-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--white); }
.post-meta { font-size: .85rem; color: var(--gray); }
.post-content { font-size: .98rem; line-height: 1.9; color: var(--gray-dark); }
.post-content h2 { font-family: var(--font-display); margin: 2rem 0 .8rem; color: var(--dark); }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ─── PAGINAÇÃO ──────────────────────────────────────────── */
.page-link {
  color: var(--gold-dark);
  border-color: #ddd;
  border-radius: var(--radius) !important;
}
.page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: var(--black); }
.page-link:hover { background: var(--gold-pale); color: var(--gold-dark); border-color: var(--gold); }

/* ─── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .82rem; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: var(--gray-light); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray); }

/* ─── PÁGINAS INTERNAS ─────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 80px 0 50px;
  border-bottom: 2px solid var(--gold);
}
.page-header .section-title { color: var(--white); }
.page-header .section-title::after { background: var(--gold); }
.page-content { padding: 60px 0; }

/* ─── FINANCIAMENTOS ─────────────────────────────────────── */
.financ-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  text-align: center;
  transition: var(--transition);
}
.financ-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.financ-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.financ-card h4 { font-family: var(--font-display); margin-bottom: .6rem; }

/* ─── ANUNCIE ──────────────────────────────────────────────── */
.anuncie-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.anuncie-form-wrap .form-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-dark); }
.anuncie-form-wrap .form-control,
.anuncie-form-wrap .form-select { border-radius: var(--radius); font-size: .9rem; }
.anuncie-form-wrap .form-control:focus,
.anuncie-form-wrap .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }

/* ─── RESPONSIVO ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .topbar { display: none; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 60px 15px 30px; }
  .search-box { padding: 1.5rem; }
  .section-imoveis, .section-institucional, .section-blog { padding: 50px 0; }
  .institucional-img img { height: 300px; }
  .imovel-carousel .carousel-item img { height: 300px; }
}
@media (max-width: 767.98px) {
  .hero { min-height: 60vh; }
  .search-box { padding: 1.2rem; }
  .inst-stats { gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .imovel-carousel .carousel-item img { height: 240px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 70px; right: 16px; }
  .footer-logo { max-width: 130px; }
}

/* ─── ANIMAÇÕES ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
.fade-up { animation: fadeInUp .6s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }

/* ─── LOADING LAZY ───────────────────────────────────────── */
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].loaded { opacity: 1; }
