@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  width: 100%;
  overflow-x: hidden;
}

.Titulo {
  color: goldenrod;
}

.Paragrafo {
  color: white;
}

.Botao {
  font-weight: 700;
  color: black;
  text-decoration: none;
}

.banner {
  width: 100vw;
  height: 80vh;
  background-image: url('assets/banner-computador.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  justify-content: center;
  align-items: center;
}

.pesquisa {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pesquisa input {
  margin-top: 10px;
  padding: 12px 20 px;
  border: 1px solid #d4af37;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 16px;
  outline: none;
  display: flex;
  justify-content: center;
}

.pesquisa button {
  margin-top: 10px;
  padding: 12x 25px;
  border: none;
  border-radius: 5px;
  background-color: #d4af37;
  color: black;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.imoveis-container {
  padding: 50px 20px;
  background-color: #121212;
  color: white;
  text-align: center;
}

.imoveis-container h2 {
  color: #d4af37;
  font-size: 28px;
  margin-bottom: 30px;
}

.grid-imoveis {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 20px;
  text-align: left;
}

.card-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.preco {
  color: #d4af37;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.card-info button {
  width: 100%;
  padding: 10px;
  background-color: #d4af37;
  border: none;
  border-radius: 5px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.rodape {
  background-color: #0a0a0a;
  color: #a0a0a0;
  padding: 40px 20px 20 px 20px;
  border-top: 1px solid #d4af37;
  text-align: center;
}

.rodape h3 {
  color: #d4af27;
  font-size: 20px;
  margin-bottom: 5px;
}

.rodape-info {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.rodape-info strong {
  color: white;
}

.direitos {
  font-size: 12px;
  margin-top: 20px;
  color: #666;
}

/* Estilo do Header / Menu */
.cabecalho {
  background-color: #0a0a0a;
  border-bottom: 1px solid #333;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000; /* Garante que o menu fique por cima de tudo ao rolar a página */
}

.logo h1 {
  color: #d4af37;
  font-size: 22px;
  font-weight: bold;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #d4af37;
}

/* Estilo do Botão Flutuante do WhatsApp */
.btn-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1); /* Efeito de aumentar levemente ao passar o mouse */
}

.btn-whatsapp img {
  width: 35px;
  height: 35px;
}

/* Ajuste automático para telas de celular */
@media (max-width: 768px) {
  .banner {
    /* Muda o ajuste da foto para caber inteira sem cortar o texto */
    background-size: contain; 
    
    /* Evita que a imagem se repita na tela */
    background-repeat: no-repeat; 
    
    /* Centraliza a imagem na tela */
    background-position: center; 
    
    /* Preenche o restante do fundo com o mesmo tom de preto da imagem */
    background-color: #0c0c0c; 
    
    /* Ajusta a altura da área do banner para o celular */
    height: 40vh; 
  }
}

html { scroll-behavior: smooth; }

/* Evita que o título da seção fique escondido atrás do cabeçalho */
section[id],
.banner,
footer[id] { scroll-margin-top: 80px; }

/* ---------- Banner + busca ---------- */
.banner {
  position: relative;      /* permite posicionar a busca dentro dele */
  /* min-height: 70vh;        <- se quiser o banner mais baixo, tire o comentário */
}

/* A busca fica na parte de baixo do banner, no espaço vazio abaixo da logo */
.busca {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);   /* centraliza na horizontal */
  width: 90%;
  max-width: 600px;
  text-align: center;
}

.busca-titulo {
  color: #d4af37;
  font-size: 1.6rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.busca-form {
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;              /* corta as pontas do input e do botão */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.busca-form input {
  flex: 1;
  min-width: 0;                  /* deixa o input encolher no celular */
  border: none;
  padding: 15px 22px;
  font-size: 1rem;
  outline: none;
}

.busca-form button {
  background: #d4af37;
  color: #111;
  border: none;
  padding: 0 32px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.busca-form button:hover { background: #f0cf65; }

.busca-form input:focus-visible,
.busca-form button:focus-visible {
  outline: 3px solid #f0cf65;    /* contorno visível para quem navega pelo teclado */
  outline-offset: -3px;
}

/* ---------- Apresentação (Quem Somos) ---------- */
.sobre {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.linha-dourada {
  display: block;
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin: 0 auto 20px;
}

.sobre h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 20px;
}

.sobre p {
  color: #ddd;
  line-height: 1.8;              /* espaço entre linhas: melhora a leitura */
  font-size: 1.1rem;
}

.numeros {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;               /* no celular, quebra para a linha de baixo */
  margin-top: 40px;
}

.numeros strong {
  display: block;
  font-size: 2rem;
  color: #d4af37;
}

.numeros span { color: #aaa; }

/* ---------- Cards ---------- */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

.sem-resultado {
  color: #ddd;
  text-align: center;
  grid-column: 1 / -1;           /* ocupa a largura toda do grid */
}

/* ---------- Celular ---------- */
@media (max-width: 600px) {
  .busca-titulo { font-size: 1.2rem; }
  .busca-form button { padding: 0 20px; }
  .numeros { gap: 30px; }
}