:root {
  --bg: #0d1117;
  --panel: #131a24;
  --line: #253047;
  --gold: #ffc857;
  --text: #f5f7ff;
  --muted: #9fb0ca;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 80% 0%, rgba(255, 200, 87, 0.18), transparent 40%), var(--bg);
  color: var(--text);
}

.nav-dark {
  background: rgba(13, 17, 23, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero {
  padding-top: 7.5rem;
}

.hero-highlight {
  position: relative;
  min-height: 370px;
}

.hero-box,
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-box {
  position: relative;
  z-index: 2;
}

.hero-stack {
  position: absolute;
  top: 1.5rem;
  right: -1.2rem;
  width: 170px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  z-index: 5;
}

.stack-image {
  position: relative;
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(18px) scale(0.96);
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 6;
}

.stack-image:nth-child(1) {
  transition-delay: 0.02s;
}

.stack-image:nth-child(2) {
  transition-delay: 0.08s;
}

.stack-image:nth-child(3) {
  transition-delay: 0.14s;
}

.hero-highlight:hover .hero-box {
  transform: translateX(-20px);
  border-color: rgba(255, 200, 87, 0.65);
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.25);
}

.hero-highlight:hover .stack-image {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 200, 87, 0.65);
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.28);
}

.hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}

.imovel-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.9rem;
}

.imovel-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.section-soft {
  background: rgba(19, 26, 36, 0.7);
}

.interacao-hint {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #f7d88e;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 999px;
  padding: 0.24rem 0.7rem;
}

.btn-gold {
  background: linear-gradient(120deg, #ffc857, #ff9f1c);
  border: 0;
  color: #111;
  font-weight: 800;
}

.btn-gold:hover {
  color: #111;
  filter: brightness(1.05);
}

.consultivo-icon {
  color: var(--gold);
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

#sobre .tile {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

p {
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .hero-highlight {
    min-height: auto;
  }

  .hero-stack {
    position: static;
    display: flex;
    gap: 0.6rem;
    width: 100%;
    height: auto;
    margin-top: 0.8rem;
  }

  .stack-image,
  .stack-image:nth-child(1),
  .stack-image:nth-child(2),
  .stack-image:nth-child(3) {
    position: static;
    width: calc((100% - 1.2rem) / 3);
    height: 82px;
    left: auto;
    top: auto;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-highlight:hover .hero-box {
    transform: none;
  }
}
