/* ============================================================
   NOSSA CASA IMOBILIÁRIA – STYLESHEET
   ============================================================ */

:root {
  --red: #1a5fb4;
  --red-hover: #155099;
  --dark: #1C1C2E;
  --dark-hover: #2c2c3e;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #2c2c2c;
  --font: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
select { font-family: var(--font); }

/* CONTAINER */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,95,180,0.35);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
}
.btn-dark:hover {
  background: var(--dark-hover);
  border-color: var(--dark-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28,28,46,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-contacts {
  display: flex;
  gap: 24px;
}
.topbar-contacts a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.topbar-contacts a:hover { color: var(--white); }
.topbar-contacts i { font-size: 0.75rem; }
.topbar-creci { color: rgba(255,255,255,0.7); font-size: 0.78rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: transparent;
  position: fixed;
  top: 36px; /* abaixo da topbar */
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Links e botões brancos quando sobre o hero */
.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
.header:not(.scrolled) .header-cta {
  background: #fff;
  color: var(--red);
}
.header:not(.scrolled) .menu-toggle span {
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 50px;
  /* clareia levemente a logo no fundo escuro do footer */
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--red);
  background: rgba(26,95,180,0.06);
}
.header-cta { font-size: 0.82rem; padding: 10px 22px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO – FULL SCREEN
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a16;
}
.hero-img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.9s ease;
}

/* Overlay cinematográfico — mais escuro embaixo para search bar */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/* Conteúdo centralizado verticalmente */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 120px;
}
.hero-text {
  max-width: 680px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-btn {
  padding: 15px 36px;
  font-size: 0.95rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}
.hero-btn:hover { background: #155099; }

/* SEARCH BAR — flutuante sobre o hero */
.search-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.12);
  overflow: hidden;
  margin: 0 auto -70px;
  max-width: 1060px;
  width: calc(100% - 48px);
}

/* Tabs em pill */
.search-tabs {
  display: flex;
  gap: 8px;
  padding: 20px 28px 0;
  background: transparent;
  border-bottom: none;
}
.search-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: transparent;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
}
.search-tab i { font-size: 0.85rem; }
.search-tab.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(26,95,180,0.3);
}
.search-tab:hover:not(.active) {
  border-color: var(--red);
  color: var(--red);
}

/* Campos integrados com divisores */
.search-fields {
  display: flex;
  align-items: stretch;
  padding: 16px 28px 24px;
  gap: 0;
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  border-right: 1.5px solid var(--gray-200);
  min-width: 0;
}
.search-field:first-child { padding-left: 0; }
.search-field:last-of-type { border-right: none; }
.search-field label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
  white-space: nowrap;
}
.search-field select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--dark);
  padding: 0;
  padding-right: 18px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.search-field select:focus { outline: none; }

/* Botão de busca */
.search-btn {
  flex-shrink: 0;
  margin-left: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  align-self: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,95,180,0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-btn:hover {
  background: #155099;
  box-shadow: 0 6px 20px rgba(26,95,180,0.4);
  transform: translateY(-1px);
}

/* ============================================================
   FEATURED PROPERTIES
   ============================================================ */
.featured {
  padding: 140px 0 96px;
  background: #f8f8fb;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.section-title.center { text-align: center; }
.section-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--red);
  padding: 8px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.section-link:hover { gap: 10px; background: rgba(26,95,180,0.05); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.property-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.property-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}
.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-img { transform: scale(1.04); }
.property-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-500);
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}
.badge-aluguel { background: var(--red); color: var(--white); }
.badge-venda { background: var(--dark); color: var(--white); }
.badge-comercial { background: #1a6b3a; color: var(--white); }
.property-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.property-fav:hover { color: var(--red); transform: scale(1.1); }
.property-fav.active { color: var(--red); }
.property-fav.active i::before { content: "\f004"; font-weight: 900; }
.prop-img-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

/* ── Carrossel de fotos nos cards ──────────────────────────── */
.card-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.card-slide.slide-active {
  opacity: 1;
}
/* Remove zoom no hover quando é carrossel */
.property-card:hover .card-slide { transform: none; }

/* Dots indicadores */
.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}
.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.4s, transform 0.3s;
}
.slide-dot.active {
  background: white;
  transform: scale(1.3);
}

.property-body { padding: 18px; }
.property-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.property-location {
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}
.property-location i { color: var(--red); font-size: 0.75rem; }
.property-features {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.property-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}
.property-features i { color: var(--red); font-size: 0.75rem; }
.property-cond {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
  line-height: 1.4;
}
.property-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red);
}
.property-price span { font-size: 0.8rem; font-weight: 500; color: var(--gray-600); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  background: var(--gray-50);
  padding: 80px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.why-us .section-title { margin-bottom: 48px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-card {
  text-align: center;
  padding: 8px;
}
.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(26,95,180,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--red);
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.about-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--gray-200);
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.about-text {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}
.testimonial-quote {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--red);
  position: relative;
}
.testimonial-quote i {
  font-size: 2rem;
  color: var(--red);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 16px;
}
.testimonial-quote p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--gray-800);
  font-style: italic;
  padding-top: 12px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
}

/* ── SEÇÃO DE AVALIAÇÕES ────────────────────────────────────── */
.reviews-section {
  background: var(--gray-50);
  padding: 80px 0;
}
.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.88rem;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.g-icon { width: 20px; height: 20px; flex-shrink: 0; }
.google-badge-stars { color: #f59e0b; letter-spacing: 2px; font-size: 0.9rem; }
.reviews-carousel {
  max-width: 680px;
  margin: 0 auto 32px;
}
.review-card {
  display: none;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 48px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  animation: rvFade 0.7s ease;
}
.review-card.active { display: block; }
@keyframes rvFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.review-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700, #495057);
  margin-bottom: 28px;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.9rem; color: var(--dark); font-weight: 700; }
.reviewer span   { font-size: 0.75rem; color: var(--gray-500); }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.rdot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.rdot.active {
  background: var(--red);
  width: 28px;
}
@media (max-width: 768px) {
  .reviews-section { padding: 60px 0; }
  .review-card { padding: 28px 24px; }
  .review-text { font-size: 0.93rem; }
}

/* ============================================================
   WHATSAPP CTA
   ============================================================ */
.cta-whatsapp {
  background: var(--dark);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #25D366;
  flex-shrink: 0;
}
.cta-text { flex: 1; min-width: 240px; }
.cta-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cta-text p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.cta-btn { flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111120;
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
  max-width: 240px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact li i {
  font-size: 0.78rem;
  margin-top: 3px;
  color: var(--red);
  flex-shrink: 0;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-dev i { color: var(--red); font-size: 0.7rem; }
.footer-dev a { color: rgba(255,255,255,0.45); }
.footer-dev a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .header { top: 0; } /* sem topbar no mobile */

  /* ── Nav drawer mobile ── */
  .nav {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 70px 16px 32px;
    box-shadow: -4px 0 40px rgba(0,0,0,0.18);
    z-index: 200;
    gap: 4px;
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-link {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
  }
  .nav-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray-600);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }
  .nav-close:hover { background: var(--red); color: var(--white); }

  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  /* ── Hero mobile ── */
  .hero-blur-panel {
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    backdrop-filter: blur(10px) brightness(0.52);
    -webkit-backdrop-filter: blur(10px) brightness(0.52);
  }
  .hero-content {
    padding-top: 100px;
    padding-bottom: 48px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
  .hero-btn { margin: 0 auto; }

  /* ── Search bar mobile ── */
  .search-bar { border-radius: 16px; margin: 0 16px -60px; width: auto; }
  .search-tabs { padding: 14px 16px 0; gap: 6px; }
  .search-tab {
    flex: 1;
    padding: 9px 6px;
    font-size: 0.73rem;
    gap: 5px;
    justify-content: center;
    letter-spacing: 0;
  }
  .search-tab i { font-size: 0.85rem; }
  .search-fields { flex-direction: column; gap: 0; padding: 12px 16px 20px; }
  .search-field {
    width: 100%;
    border-right: none;
    border-bottom: 1.5px solid var(--gray-200);
    padding: 12px 0;
  }
  .search-field:last-of-type { border-bottom: none; }
  .search-field select { font-size: 0.95rem; min-height: 36px; }
  .search-btn { width: 100%; justify-content: center; padding: 14px; min-height: 50px; margin-left: 0; margin-top: 12px; border-radius: 10px; }

  /* ── Featured properties ── */
  .featured { padding: 110px 0 56px; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .property-body { padding: 14px; }
  .property-name { font-size: 0.9rem; }
  .property-price { font-size: 1.05rem; }
  .property-features { gap: 10px; }

  /* ── Why / About / CTA / Footer ── */
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: block; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-icon { margin: 0 auto; }
  .cta-btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .properties-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 8px; }
  .hero-title { font-size: 1.65rem; }
  .search-tab { font-size: 0.72rem; padding: 11px 4px; }
}

/* ============================================================
   OVERLAY FOR MOBILE MENU
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.nav-overlay.open { display: block; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO IMAGE PLACEHOLDER (quando sem imagem)
   ============================================================ */
.hero-img[src=""]{
  display: none;
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a30 0%, #2e2e50 50%, #1a2a3a 100%);
}

/* ============================================================
   WHATSAPP POPUP FLUTUANTE
   ============================================================ */
.wa-popup {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Caixa do popup */
.wa-popup-box {
  width: 310px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.wa-popup-box.wa-box-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Fechar */
.wa-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 0.8rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}
.wa-popup-close:hover { background: rgba(255,255,255,0.35); }

/* Header verde */
.wa-popup-header {
  background: #25D366;
  padding: 18px 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.wa-popup-avatar {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-popup-info strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.wa-popup-info span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  margin-top: 3px;
}
.wa-online-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: wa-pulse 1.8s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Corpo com bolha */
.wa-popup-body {
  background: #f0f0f0;
  padding: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d0d0d0' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wa-bubble {
  background: white;
  border-radius: 12px 12px 12px 0;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  max-width: 90%;
  position: relative;
}
.wa-bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  bottom: 0;
  border-width: 0 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}
.wa-bubble p {
  font-size: 0.87rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 6px;
}
.wa-bubble p:last-child { margin-bottom: 0; }

/* Botão de ação */
.wa-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--font);
}
.wa-popup-btn:hover { background: #1ebe5d; }

/* FAB – botão flutuante */
.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.wa-fab-icon { pointer-events: none; }

/* Badge de notificação */
.wa-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: wa-bounce 1s ease infinite;
}
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

@media (max-width: 480px) {
  .wa-popup { bottom: 18px; right: 16px; }
  .wa-popup-box { width: 280px; }
}
