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

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

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

.imovel-page {
  min-height: 100vh;
  padding-top: 6.2rem;
  padding-bottom: 2rem;
}

.details-shell {
  background: linear-gradient(165deg, rgba(19, 26, 36, 0.95), rgba(17, 23, 35, 0.95));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 0.85rem;
  align-items: start;
}

.main-image-wrap {
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.main-image {
  width: 100%;
  height: clamp(340px, 58vh, 560px);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-image-wrap.zooming .main-image {
  transform: scale(1.12);
}

.thumbs-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.thumb-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.65rem;
  background: transparent;
  padding: 0;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.thumb-btn img {
  width: 100%;
  height: 94px;
  object-fit: cover;
  display: block;
}

.thumb-btn:hover,
.thumb-btn.active {
  opacity: 1;
  border-color: rgba(255, 200, 87, 0.7);
  transform: translateX(-2px);
}

.info-panel {
  background: rgba(15, 21, 31, 0.86);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1.2rem;
}

.info-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
  margin-bottom: 0.62rem;
}

.info-list i {
  color: var(--gold);
  margin-top: 2px;
}

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

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

@media (max-width: 991.98px) {
  .gallery-wrap {
    grid-template-columns: 1fr;
  }

  .thumbs-column {
    flex-direction: row;
  }

  .thumb-btn {
    flex: 1;
  }

  .thumb-btn img {
    height: 86px;
  }
}
