/* Paleta premium */
:root {
  --gold: #BFA14A;
  --dark: #111;
  --light: #F5F5F5;
  --text: #2C2C2C;
}

/* Topbar sofisticada */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #111, #2C2C2C);
  color: var(--light);
  padding: 15px 0;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 1000;
}

.topbar .container {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.topbar a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

.topbar a:hover {
  color: #fff;
}

.contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

header.hero {
  background: url('imagens_pineyards/fachada_pineyards.jpeg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
}



header.hero .overlay {
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding-top: 30vh;
}

.cta {
  background: var(--gold);
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Tipografia */
body {
  font-family: 'Lora', serif;
  margin: 0;
  color: var(--text);
  background-color: var(--light);
}

h1, h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark);
}

/* Galeria */
.galeria .imagens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.galeria img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

/* Formulário */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: auto;
}

button {
  background: var(--gold);
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

/* Ícone flutuante WhatsApp sofisticado */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  font-size: 28px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}


/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
  header.hero .overlay {
    padding-top: 20vh;
  }
  .galeria .imagens {
    flex-direction: column;
  }
}

.apartamentos {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.apartamentos h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  color: #111;
  margin-bottom: 40px;
}

.tipos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.card h3 {
  font-size: 24px;
  color: #BFA14A; /* dourado premium */
  margin-bottom: 15px;
}

.card p {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: #2C2C2C;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #555;
}

.card ul li {
  margin-bottom: 8px;
}
header.hero {
  background: url('imagens_pineyards/fachada_pineyards.jpeg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

header.hero .overlay {
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding-top: 30vh;
}

header.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

header.hero p {
  font-family: 'Lora', serif;
  font-size: 20px;
  color: #f5f5f5;
  margin-bottom: 30px;
}

header.hero .cta {
  background: #BFA14A;
  color: #fff;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

header.hero .cta:hover {
  background: #d4b35a;
}

.galeria {
  padding: 60px 20px;
  text-align: center;
}

.galeria h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: #111;
}

.galeria .imagens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  justify-items: center;
}

.galeria .imagens img {
  width: 100%;
  max-width: 600px; /* controla o tamanho máximo */
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.galeria .imagens img:hover {
  transform: scale(1.05); /* zoom suave */
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/* Lightbox */
.lightbox {
  display: none; /* escondido por padrão */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.galeria .imagens img {
  width: 100%;
  max-width: 400px;   /* todas terão no máximo 400px de largura */
  height: 250px;      /* altura fixa */
  object-fit: cover;  /* corta e ajusta a imagem sem distorcer */
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.video-container {
  max-width: 800px;   /* largura máxima no notebook */
  margin: 0 auto;     /* centraliza */
}

.video-container iframe,
.video-container video {
  width: 100%;
  height: 450px;      /* altura controlada */
  border-radius: 10px;
}

.sobre h2,
.diferenciais h2 {
  font-size: 32px;   /* títulos maiores em desktop */
  font-weight: bold;
  margin-bottom: 15px;
}

.sobre p {
  font-size: 18px;   /* texto confortável */
  line-height: 1.8;  /* espaçamento entre linhas */
}

.diferenciais ul li {
  font-size: 18px;
  line-height: 1.8;
}

/* 📱 Ajuste para telas menores (celulares) */
@media (max-width: 768px) {
  .sobre h2,
  .diferenciais h2 {
    font-size: 24px;   /* títulos menores no celular */
  }

  .sobre p,
  .diferenciais ul li {
    font-size: 16px;   /* texto menor e mais leve */
    line-height: 1.6;  /* espaçamento proporcional */
  }
}
/* 💻 Desktop grande (≥1200px) */
@media (min-width: 1200px) {
  header.hero h1 {
    font-size: 56px;
  }
  header.hero p {
    font-size: 22px;
  }
  .card {
    max-width: 350px;
  }
  .video-container iframe,
  .video-container video {
    height: 500px;
  }
}

/* 📱 Tablet (até 992px) */
@media (max-width: 992px) {
  .topbar .container {
    gap: 20px;
    font-size: 15px;
  }
  header.hero h1 {
    font-size: 40px;
  }
  header.hero p {
    font-size: 18px;
  }
  .tipos {
    flex-direction: column;
    align-items: center;
  }
  .video-container iframe,
  .video-container video {
    height: 350px;
  }
}

/* 📱 Celular médio (até 768px) */
@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
  }
  header.hero h1 {
    font-size: 32px;
  }
  header.hero p {
    font-size: 16px;
  }
  .galeria .imagens {
    grid-template-columns: 1fr;
  }
  .card {
    width: 100%;
    max-width: 320px;
  }
  .video-container iframe,
  .video-container video {
    height: 250px;
  }
}

/* 📱 Celular pequeno (até 480px) */
@media (max-width: 480px) {
  .topbar {
    padding: 10px 0;
  }
  header.hero h1 {
    font-size: 24px;
  }
  header.hero p {
    font-size: 14px;
  }
  .cta {
    padding: 10px 20px;
    font-size: 14px;
  }
  .card {
    padding: 20px;
  }
  .video-container iframe,
  .video-container video {
    height: 200px;
  }
}
