:root {
  --primary: #111;
  --secondary: #444;
  --accent: #c0a062;
  --light: #f9f9f9;
  --font-main: 'Poppins', sans-serif;
  --font-title: 'Playfair Display', serif;
}

body {
  font-family: var(--font-main);
  background: var(--light);
  color: var(--secondary);
  line-height: 1.7;
  margin: 0;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px; /* mais compacto */
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header h1 { font-family: var(--font-title); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: url('images/turin-fachada.png') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-text { position: relative; text-align: center; }
.hero-text h2 { font-family: var(--font-title); font-size: 3rem; }

/* Fachada */
.fachada img {
  width: 100%;
  max-width: 400px; /* reduzida */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.4s ease;
}
.fachada img:hover { transform: scale(1.03); }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
}
.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
}

/* Carrossel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.carousel-track img {
  flex: 0 0 100%;
  max-height: 65vh;
  width: 100%;
  object-fit: contain; /* mostra inteira */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  padding: 15px;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  z-index: 2100;
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366; /* verde oficial */
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Contato */
.contato {
  background: var(--light);
  color: var(--secondary);
  padding: 60px 20px;
  text-align: center;
}
.contato h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.contato p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--secondary);
}
.contato-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contato-form input,
.contato-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  background: #fff;
  color: var(--secondary);
  transition: all 0.3s ease;
}
.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.contato-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contato-form button:hover {
  background: #a8894f;
}

/* Scroll fix para header */
section {
  scroll-margin-top: 150px;
}
.empreendimentos {
  display: flex;
  gap: 40px;          /* espaço entre os blocos */
  justify-content: center;
  flex-wrap: wrap;    /* empilha em telas pequenas */
  padding: 40px 20px;
}

.empreendimento {
  flex: 1 1 400px;    /* cada bloco ocupa até 400px */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}
.hero {
  background: url('imagens/casa-alto-padrao.jpg') center/cover no-repeat; /* coloque aqui o caminho da imagem que você subiu */
  height: 70vh; /* altura do banner */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* overlay escuro para destacar o texto */
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h2 {
  font-family: var(--font-title);
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.3rem;
  font-weight: 300;
}
.filtros {
  background: #2c2c2c; /* cinza escuro elegante */
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.filtros button {
  margin: 0 12px;
  padding: 12px 28px;
  border: none;
  background: #f0f0f0; /* botões claros para contraste */
  color: #2c2c2c;
  font-weight: 600;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtros button:hover {
  background: #0077cc; /* azul elegante no hover */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.header {
  background: #2c2c2c; /* cinza escuro elegante */
  color: white;
  padding: 20px;
  text-align: center;
}

.header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  margin-bottom: 5px;
}

.header p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  margin: 0;
}

.nav ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-around; /* distribui melhor os itens */
  max-width: 600px; /* limita a largura para não abrir demais */
  margin-left: auto;
  margin-right: auto;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: gold;
}
.social {
  display: flex;
  justify-content: center; /* centraliza no cabeçalho */
  gap: 20px;
  margin-top: 10px;
}

.social a {
  color: #ccc; /* discreto */
  font-size: 22px; /* maior que antes */
  transition: color 0.3s ease;
}

.social a:hover {
  color: gold; /* destaque no hover */
}
.social {
  display: flex;
  justify-content: center; /* centraliza */
  gap: 20px;
  margin-top: 10px;
}

.social a {
  color: #ccc; /* cor discreta padrão */
  font-size: 24px; /* maior */
  transition: color 0.3s ease;
}

/* Hover com cores oficiais */
.social a.youtube:hover {
  color: #FF0000; /* vermelho YouTube */
}

.social a.instagram:hover {
  color: #E1306C; /* rosa Instagram */
}
.logo h1 {
  font-size: 30px; /* título maior */
  font-weight: 700;
  margin-bottom: 10px;
}

.logo p {
  font-size: 16px; /* linhas de apoio mais visíveis */
  color: #ddd;     /* cinza claro elegante */
  margin: 2px 0;
  line-height: 1.4;
}
/* Responsividade */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .empreendimentos {
    flex-direction: column;
    gap: 20px;
  }

  .empreendimento {
    flex: 1 1 100%;
  }

  .contato-form {
    width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .carousel-track img {
    max-height: 40vh;
  }

  .whatsapp {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}
