/* =============================================
   M. Maia Imóveis — CSS Principal
   ============================================= */

/* ---- Custom Properties ---- */
:root {
  --navy:       #0b2040;
  --navy-light: #122d56;
  --navy-mid:   #1a3a6c;
  --blue:       #1e6bbd;
  --blue-light: #3a9bd5;
  --sky:        #e8f4fd;
  --gold:       #c9a84c;
  --gold-light: #e5c97e;
  --gold-dark:  #9c7a2a;
  --white:      #ffffff;
  --off-white:  #f8f9fa;
  --gray-100:   #f1f3f5;
  --gray-200:   #e9ecef;
  --gray-500:   #adb5bd;
  --gray-700:   #495057;
  --dark:       #1a1a2e;
  --text:       #2d3748;
  --text-light: #718096;

  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 24px rgba(11,32,64,.10);
  --shadow-lg:  0 8px 40px rgba(11,32,64,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-main:  'Roboto', sans-serif;
  --font-slab:  'Roboto Slab', serif;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 9999; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

/* ---- Topbar ---- */
.topbar {
  background: var(--navy);
  padding: 6px 0;
  font-size: .8rem;
  color: var(--gray-500);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-link { color: #a0b4c8; text-decoration: none; transition: color var(--transition); }
.topbar-link:hover { color: var(--gold-light); }
.topbar-link i { margin-right: 4px; }
.topbar-sep { margin: 0 10px; color: #2a4060; }
.topbar-info { color: #a0b4c8; }
.topbar-info i { color: var(--gold); margin-right: 4px; }
.topbar-creci { color: var(--gold); font-weight: 600; font-size: .78rem; letter-spacing: .5px; }
.topbar-creci i { margin-right: 4px; }

/* ---- Main Navbar ---- */
.main-navbar {
  background: var(--navy-light);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--transition), padding var(--transition);
}
.main-navbar.scrolled {
  background: rgba(11,32,64,.97);
  backdrop-filter: blur(12px);
}

/* Logo */
.logo-wrap { padding: 12px 0; }
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-m {
  font-family: var(--font-slab);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(201,168,76,.4);
}
.logo-text-box { display: flex; flex-direction: column; }
.logo-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.2;
}
.logo-sub {
  font-size: .68rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  font-weight: 300;
  text-transform: uppercase;
}

/* Nav links */
.main-navbar .nav-link {
  color: #ccd8e8 !important;
  font-size: .9rem;
  font-weight: 500;
  padding: 22px 14px !important;
  letter-spacing: .3px;
  position: relative;
  transition: color var(--transition);
}
.main-navbar .nav-link i { margin-right: 5px; font-size: .8rem; color: var(--gold); }
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--white) !important;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  left: 14px; right: 14px;
}

/* Dropdown */
.main-navbar .dropdown-menu {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.2);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
}
.main-navbar .dropdown-item {
  color: #ccd8e8;
  font-size: .88rem;
  padding: 9px 20px;
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.main-navbar .dropdown-item:hover {
  background: rgba(201,168,76,.1);
  color: var(--gold-light);
  padding-left: 26px;
}
.main-navbar .dropdown-item i { color: var(--gold); margin-right: 8px; width: 16px; }

/* CTA Button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(201,168,76,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(201,168,76,.50);
  color: var(--navy) !important;
}
.btn-gold i { margin-right: 6px; }

/* Toggler */
.navbar-toggler { border: 1.5px solid var(--gold); border-radius: 6px; padding: 6px 10px; }
.navbar-toggler i { color: var(--gold); font-size: 1.2rem; }
.navbar-cta { margin-left: 20px; }

/* ---- HERO BANNER ---- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/hero-bg.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(11,32,64,.92) 0%,
    rgba(11,32,64,.70) 50%,
    rgba(30,107,189,.40) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 80px 20px 40px;
  animation: heroFadeIn .8s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.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);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-slab);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: #b8cfe8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* ---- Busca Hero ---- */
.busca-box {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.busca-box .form-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 5px;
}
.busca-box .form-control,
.busca-box .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  padding: 10px 14px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.busca-box .form-control:focus,
.busca-box .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,107,189,.15);
  outline: none;
}
.busca-title {
  font-family: var(--font-slab);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.busca-title i { color: var(--gold); font-size: 1rem; }
.btn-buscar {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  font-weight: 700;
  font-size: .95rem;
  width: 100%;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: .5px;
}
.btn-buscar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,107,189,.35);
}
.btn-buscar i { margin-right: 8px; }
.btn-expand-busca {
  background: none;
  border: none;
  color: var(--blue);
  font-size: .83rem;
  cursor: pointer;
  padding: 8px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.btn-expand-busca:hover { color: var(--gold-dark); }
.busca-extra { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--gray-200); }
.busca-extra.show { display: block; }

/* ---- Seção geral ---- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-slab);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 550px;
  font-weight: 300;
}
.section-header { margin-bottom: 40px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }
.section-tabs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.section-tab {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}
.section-tab.active, .section-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---- Card de Imóvel ---- */
.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;
}
.imovel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.imovel-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.imovel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.imovel-card:hover .imovel-card-img img { transform: scale(1.06); }
.imovel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.imovel-badge.aluguel { background: var(--blue); color: var(--white); }
.imovel-oport {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
}
.imovel-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.imovel-cat {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.imovel-cat i { color: var(--gold); }
.imovel-chamada {
  font-family: var(--font-slab);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.imovel-loc {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.imovel-loc i { color: var(--gold); }
.imovel-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.imovel-feat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--gray-700);
}
.imovel-feat i { color: var(--gold); font-size: .78rem; }
.imovel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.imovel-preco {
  font-family: var(--font-slab);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.imovel-preco-sub { font-size: .7rem; color: var(--text-light); font-weight: 400; }
.btn-ver {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ver:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,107,189,.35);
  color: var(--white);
}

/* ---- BG alternados ---- */
.bg-navy { background: var(--navy); }
.bg-sky  { background: var(--sky);  }
.bg-off  { background: var(--off-white); }

/* ---- Seção Institucional ---- */
.institucional-section { background: var(--navy); color: var(--white); }
.institucional-section .section-title { color: var(--white); }
.institucional-section .section-label { color: var(--gold-light); }
.institucional-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.institucional-img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(201,168,76,.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.institucional-text { font-size: 1rem; color: #b8cfe8; line-height: 1.8; }
.btn-saibamais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  margin-top: 24px;
}
.btn-saibamais:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.stats-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-slab); font-size: 2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: .78rem; color: #7a9cbf; text-transform: uppercase; letter-spacing: 1px; }

/* ---- Blog Cards ---- */
.blog-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;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.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.05); }
.blog-assunto {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--text-light); margin-bottom: 12px; }
.blog-meta i { color: var(--gold); margin-right: 4px; }
.blog-title { font-family: var(--font-slab); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.blog-resumo { font-size: .88rem; color: var(--text-light); line-height: 1.65; flex: 1; }
.btn-lermais {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: .85rem;
  margin-top: 16px;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.btn-lermais:hover { color: var(--gold-dark); border-color: var(--gold); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: #8a9ab0; }
.footer-top { padding: 60px 0 40px; }
.footer-logo-box { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-m { font-family: var(--font-slab); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.footer-logo-title { font-size: .9rem; font-weight: 700; color: var(--white); letter-spacing: 1.5px; display: block; }
.footer-logo-sub { font-size: .65rem; color: var(--gold-light); letter-spacing: 1.5px; display: block; }
.footer-desc { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #8a9ab0;
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-heading { font-size: .9rem; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(201,168,76,.2); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8a9ab0; font-size: .87rem; transition: color var(--transition), padding-left var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a i { color: var(--gold); font-size: .7rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; width: 20px; }
.footer-contact span { font-size: .87rem; line-height: 1.65; }
.footer-contact a { color: #8a9ab0; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .8rem; }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
  text-decoration: none;
  transition: all var(--transition);
  animation: waPulse 3s infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 6px 40px rgba(37,211,102,.65); }
}
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover { background: #1da851; color: #fff; transform: translateY(-3px); }
.wa-label { font-size: .82rem; }

/* ---- LGPD Bar ---- */
.lgpd-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--navy);
  color: #ccd8e8;
  padding: 14px 0;
  z-index: 9990;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  border-top: 2px solid var(--gold);
}
.lgpd-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.lgpd-text { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; flex: 1; }
.lgpd-text i { color: var(--gold); font-size: 1.1rem; margin-top: 1px; }
.lgpd-text a { color: var(--gold-light); text-decoration: underline; }
.lgpd-actions { display: flex; gap: 10px; align-items: center; }
.btn-lgpd-aceitar {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-lgpd-aceitar:hover { background: var(--gold-light); }
.btn-lgpd-recusar {
  background: transparent;
  border: 1px solid #3a5070;
  color: #8a9ab0;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-lgpd-recusar:hover { border-color: var(--gray-500); color: var(--white); }

/* ---- PWA Banner ---- */
.pwa-banner {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  z-index: 990;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
}
.pwa-inner { display: flex; align-items: center; gap: 12px; }
.pwa-icon { font-size: 2rem; color: var(--gold); }
.pwa-text { flex: 1; }
.pwa-text strong { display: block; color: var(--white); font-size: .9rem; }
.pwa-text span { color: #8a9ab0; font-size: .78rem; }
.pwa-actions { display: flex; flex-direction: column; gap: 6px; }
.btn-pwa-install { background: var(--gold); color: var(--navy); border: none; border-radius: 6px; padding: 6px 14px; font-weight: 700; font-size: .8rem; cursor: pointer; }
.btn-pwa-dismiss { background: none; border: none; color: #8a9ab0; cursor: pointer; font-size: .9rem; }

/* ---- Página de Imóvel ---- */
.imovel-header-bar {
  background: var(--navy);
  color: var(--white);
  padding: 20px 0;
  border-bottom: 2px solid var(--gold);
}
.imovel-cod { font-size: .78rem; color: #8a9ab0; letter-spacing: 1px; }
.imovel-header-cat { color: var(--gold-light); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.imovel-header-loc { color: #ccd8e8; font-size: .9rem; }
.imovel-header-preco { font-family: var(--font-slab); font-size: 2rem; font-weight: 700; color: var(--gold); }
.imovel-header-preco-label { font-size: .75rem; color: #8a9ab0; }

/* Carrossel */
.carousel-imovel .carousel-item { border-radius: var(--radius-lg); overflow: hidden; }
.carousel-imovel .carousel-item img { width: 100%; height: 480px; object-fit: cover; cursor: zoom-in; }
.carousel-imovel .carousel-control-prev,
.carousel-imovel .carousel-control-next {
  width: 44px; height: 44px;
  background: rgba(11,32,64,.8);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  bottom: auto;
}
.carousel-thumbnails { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.carousel-thumb {
  width: 72px; height: 52px; object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: .65;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.carousel-thumb:hover, .carousel-thumb.active { opacity: 1; border-color: var(--gold); }

/* Detalhes Imóvel */
.imovel-desc-box { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-top: 24px; }
.imovel-desc-title { font-family: var(--font-slab); font-size: 1.2rem; color: var(--navy); font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: flex; align-items: center; gap: 8px; }
.imovel-desc-title i { color: var(--gold); }
.imovel-table td { padding: 10px 14px; font-size: .88rem; vertical-align: middle; }
.imovel-table tr:nth-child(even) td { background: var(--gray-100); }
.imovel-table td:first-child { font-weight: 600; color: var(--navy); width: 45%; }
.imovel-table .badge-sim { background: #d1fae5; color: #065f46; font-size: .75rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.imovel-table .badge-nao { background: #fee2e2; color: #991b1b; font-size: .75rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }

/* Sidebar */
.sidebar-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.sidebar-card-title { font-family: var(--font-slab); font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.btn-wa-imovel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: .95rem;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-wa-imovel:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.btn-wa-imovel i { font-size: 1.3rem; }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.show { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---- Busca / Resultados ---- */
.busca-page-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 40px 0; }
.busca-page-header .section-title { color: var(--white); margin-bottom: 6px; }
.busca-sidebar-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.busca-sidebar-title { font-family: var(--font-slab); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.result-count { font-size: .88rem; color: var(--text-light); margin-bottom: 6px; }
.result-count strong { color: var(--navy); }

/* ---- Pagination ---- */
.pagination .page-link {
  color: var(--blue);
  border-color: var(--gray-200);
  border-radius: 8px !important;
  margin: 0 3px;
  padding: 8px 14px;
  font-size: .88rem;
  transition: all var(--transition);
}
.pagination .page-link:hover, .pagination .page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---- Breadcrumb ---- */
.breadcrumb-nav { padding: 12px 0; }
.breadcrumb { background: none; padding: 0; margin: 0; font-size: .82rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }
.breadcrumb-item a { color: var(--blue); }
.breadcrumb-item.active { color: var(--text-light); }

/* ---- Imóveis Semelhantes ---- */
.semelhantes-section { background: var(--off-white); padding: 50px 0; }

/* ---- Sobre ---- */
.sobre-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 80px 0 50px; }
.sobre-hero .section-title { color: var(--white); }

/* ---- Financiamentos ---- */
.fin-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); height: 100%; transition: transform var(--transition), box-shadow var(--transition); border-top: 3px solid var(--gold); }
.fin-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fin-icon { width: 60px; height: 60px; background: var(--sky); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--blue); margin-bottom: 18px; }
.fin-title { font-family: var(--font-slab); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

/* ---- Blog Página ---- */
.blog-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); padding: 60px 0 40px; }
.blog-post-content { font-size: 1rem; line-height: 1.9; color: var(--text); }
.blog-post-content h2,h3 { color: var(--navy); font-family: var(--font-slab); margin: 28px 0 12px; }
.blog-post-content img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }

/* ---- Contato ---- */
.contato-form .form-control, .contato-form .form-select, .contato-form textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contato-form .form-control:focus, .contato-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,107,189,.12);
  outline: none;
}

/* ---- Animações de entrada ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scroll reveal delays ---- */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ---- Utilitários ---- */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-gradient-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.divider-gold { width: 50px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 12px 0; }

/* ---- Responsivo ---- */
@media (max-width: 991px) {
  .main-navbar .nav-link::after { display: none; }
  .main-navbar .nav-link { padding: 10px 18px !important; border-bottom: 1px solid rgba(255,255,255,.05); }
  .navbar-collapse { background: var(--navy); padding: 10px 0 20px; border-top: 1px solid rgba(255,255,255,.08); }
  .navbar-cta { padding: 10px 18px; }
  .hero-content { padding: 60px 16px 30px; }
  .busca-box { padding: 20px 18px; }
  .section-pad { padding: 55px 0; }
  .whatsapp-float .wa-label { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .imovel-header-preco { font-size: 1.5rem; }
  .carousel-imovel .carousel-item img { height: 280px; }
}

@media (max-width: 767px) {
  .topbar-sep, .topbar-info { display: none !important; }
  .topbar-left { gap: 6px; }
  .hero-section { min-height: 100svh; }
  .section-pad { padding: 45px 0; }
  .stats-row { gap: 20px; }
  .lgpd-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
