/* MaxSul Imóveis – Utilitários e Animações (Tailwind Companion) */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::selection {
  background: #F9D038;
  color: #1a4a83;
}

::-webkit-scrollbar-thumb {
  background: #255EA5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a4a83;
}

/* ── Animate-up (IntersectionObserver) ── */
.animate-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header scroll effect ── */
#site-header.scrolled nav {
  background-color: rgba(37, 94, 165, 0.98) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.20);
}

/* ── Mobile hamburger animation ── */
#mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero Gradient Overlay ── */
.hero-overlay {
  background: linear-gradient(135deg, rgba(37, 95, 165, 0.677) 0%, rgba(26, 73, 131, 0.64) 60%, rgba(37, 95, 165, 0.474) 100%);
}

/* ── Card Image Hover (property cards) ── */
.property-card:hover .property-img {
  transform: scale(1.07);
}

/* ── Footer link transition ── */
.footer-link {
  display: inline-block;
  transition: color 0.2s, padding-left 0.2s;
}

/* ── Prose for property description ── */
.property-description p {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* ── Badge status (property cards) ── */
.badge-status {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: #255EA5;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Tailwind: missing `font-heading` class helper ── */
.font-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
}