:root {
  --navy: #0a0f1e;
  --navy-mid: #111827;
  --navy-light: #1a2540;
  --blue-accent: #1e3a5f;
  --blue-bright: #2563eb;
  --white: #ffffff;
  --off-white: #f5f6f8;
  --gray: #9ca3af;
  --gray-light: #e5e7eb;
  --gold: #c9a84c;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--blue-bright);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: white;
  font-size: 18px;
  letter-spacing: -1px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  line-height: 1.1;
}

.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav { display: flex; gap: 32px; align-items: center; }

nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

nav a:hover { color: var(--white); }

.btn-whatsapp-header {
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-whatsapp-header:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(30,58,95,0.35) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.4);
  color: #60a5fa;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: #60a5fa;
}

.hero p {
  font-size: 18px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 48px;
  animation: fadeUp 1s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.3s ease both;
}

.btn-primary {
  background: var(--blue-bright);
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 1s 0.5s ease both;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* ── SECTION BASE ── */
section { padding: 100px 5%; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.section-sub {
  color: var(--gray);
  font-size: 16px;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

/* ── FILTER BAR ── */
#imoveis {
  background: var(--off-white);
}

.filter-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--gray-light);
  background: white;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover, .pill.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ── PROPERTY CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.cards-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 40px 0;
  font-size: 15px;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  position: relative;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-accent) 100%);
}

.card-img-icon {
  position: relative;
  z-index: 1;
  font-size: 48px;
  opacity: 0.4;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-venda { background: var(--blue-bright); color: white; }
.badge-aluguel { background: #0a0f1e; color: white; }
.badge-novo { background: var(--gold); color: white; }

.card-body { padding: 22px; }

.card-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 6px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.card-location {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
}

.card-features {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #555;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.card-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  display: block;
}

.btn-card {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-card:hover { background: var(--blue-bright); }

/* ── ABOUT ── */
#sobre {
  background: var(--navy);
  display: flex;
  align-items: center;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.about-visual {
  position: relative;
}

.about-card-visual {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-accent));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: white;
}

.about-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.about-role {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.creci {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.4);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: background 0.2s;
}

.social-link:hover { background: rgba(255,255,255,0.12); }

.about-text .section-sub { color: #9ca3af; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.highlight-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
}

.highlight-icon { font-size: 22px; margin-bottom: 8px; }

.highlight-title {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--blue-bright);
  padding: 70px 5%;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 36px;
  font-weight: 300;
}

.btn-whatsapp-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  padding: 18px 44px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-whatsapp-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--gray);
  padding: 60px 5% 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.footer-brand .logo-text { color: white; margin-bottom: 12px; display: block; }

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── WHATSAPP FLOAT ── */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.float-wa svg { width: 28px; height: 28px; fill: white; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-stats { gap: 32px; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
