/* ==================================================
   Estilo Principal - SUEZ Imobiliária (Final)
   ================================================== */

/* ------------------------------
   Reset e Variáveis Globais
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --verde-principal: #4a8f4a;
  --verde-escuro: #2d5c2d;
  --verde-hover: #1a4d1a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ==================================================
   Cabeçalho e Navegação
================================================== */
header, .header {
 
  color: white;
  padding: 15px;
  text-align: center;
}


.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-menu a {
    color: #2d5c2d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.nav-menu a:hover {
    background: #f0f8f0;
    color: #1a4d1a;
}

/* ==================================================
   Estrutura Geral
================================================== */
.container {
  max-width: 1140px;
  margin: auto;
  padding: 20px;
}

.titulo-principal {
  text-align: center;
  margin-bottom: 20px;
}


/* ==================================================
   Imagem Principal + Galeria
================================================== */
.imagem-imovel {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

.galeria-imagens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.galeria-imagens img {
  width: 150px;
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
}


/* ==================================================
   Seções Internas
================================================== */
section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

section h2 {
  font-size: 1.3rem;
  color: var(--verde-principal);
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}


/* ==================================================
   Listas Horizontais
================================================== */
.lista-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.lista-horizontal li {
  background: #f0f8f0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid #d0e2ff;
}


/* ==================================================
   Detalhes Técnicos
================================================== */
.detalhes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  font-size: 14px;
}


/* ==================================================
   Cards "Mais Imóveis"
================================================== */
.mais-imoveis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.imovel-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.imovel-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.imovel-card .info {
  padding: 10px;
}


/* ==================================================
   Botões
================================================== */
.btn-ver-detalhes {
  display: inline-block;
  background: var(--verde-principal);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.btn-ver-detalhes:hover {
  background: var(--verde-hover);
}


/* ==================================================
   Bloco de Preços
================================================== */
.preco-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.preco-info div {
  background: #eef4ff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #cce0ff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ==================================================
   Botão WhatsApp e Atendente Virtual (Fixos)
================================================== */
.whatsapp-btn,
.ia-botao {
  position: fixed;
  right: 20px;
  z-index: 9999;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  max-width: 90vw;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-weight: bold;
  cursor: pointer;
}

.whatsapp-btn {
  bottom: 20px;
  background-color: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

.ia-botao {
  bottom: 80px;
  background-color: #6a5acd;
  color: white;
}

.ia-botao:hover {
  background-color: #4b3fa0;
}


/* ==================================================
   Rodapé
================================================== */
footer {
  background: var(--verde-escuro);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

=============================
   Responsividade
================================================== */
@media (max-width: 768px) {
  nav, .nav-menu {
    flex-direction: column;
  }

  .preco-info,
  .detalhes-grid,
  .mais-imoveis {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   Mensagem Especial (Alerta Topo)
================================================== */
.mensagem-especial {
  background: linear-gradient(to right, var(--verde-escuro), var(--verde-principal));
  color: white;
  text-align: center;
  padding: 0.8rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 999;
}


body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.titulo-principal {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
}

.headline {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.imagem-principal {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px auto;
    display: block;
    border-radius: 10px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 40px 30px;
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #004aad;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.preco {
    font-size: 1.4rem;
    font-weight: bold;
    color: #004aad;
    margin-top: 10px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin: 5px;
}

.badge-success { background: #28a745; }
.badge-primary { background: #007bff; }
.badge-warning { background: #ffc107; color: #222; }
