body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

.topo {
  background: #1e90ff;
  color: white;
  padding: 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.capa {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.conteudo {
  padding: 16px;
}

.preco {
  color: #1e90ff;
  font-weight: bold;
}

.acoes {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.acoes a {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: #1e90ff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.corretor {
  margin-top: 10px;
  color: #666;
}

.carrossel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.carrossel img.banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.banner {
  display: flex;
  overflow-x: auto;
}

.banner img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.conteudo-detalhes {
  padding: 16px;
}

.endereco {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

/* 🔹 Botões fixos no rodapé */
.acoes-fixas {
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
  z-index: 999;
}

.acoes-fixas a {
  background: #0a7cff;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* 🔹 Margem lateral somente na página de detalhes do imóvel */
#detalhes-imovel {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
