/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  line-height: 1.6;
  color: #000;
  background: #FFFFFF;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

/* Navbar */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid #eee;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar h1 {
  display: inline-block;
  font-size: 1.5rem;
  color: #00008C;
}

.navbar nav {
  float: right;
}

.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.navbar nav a:hover {
  color: #FF0000;
}

/* Hero Section */
#hero {
  margin: 0;
  padding: 0;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#hero .carousel img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: none;
}

#hero .carousel img:first-child {
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.btn-primary {
  background: #00008C;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #FF0000;
}

/* Sessões gerais */
section {
  padding: 5rem 2rem;
  text-align: center;
}

.projeto,
.contato {
  background: #CCE6FF;
}

.bg-aptos {
  background: #CCE6FF;
}

#projeto p {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #00008C;
}

section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Plantas */
.plantas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.plantas-grid div {
  background: #f4f4f4;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: bold;
}

/* Lazer */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-wrapper .carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-wrapper img {
  width: 100%;
  border-radius: 10px;
}

.carousel-wrapper button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}

#prev-lazer {
  left: 10px;
}

#next-lazer {
  right: 10px;
}

footer {
  width: 100%;
  /* Largura total */
  height: 50px;
  /* Altura do rodapé */
  background-color: #00008C;
  /* Azul marinho */
  color: white;
  /* Texto branco */
  display: flex;
  /* Para centralizar o conteúdo */
  align-items: center;
  /* Centraliza verticalmente */
  justify-content: center;
  /* Centraliza horizontalmente */
  font-family: Arial, sans-serif;
  font-size: 16px;
}


/* Localização */
#localizacao iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
  margin-top: 1rem;
}

/* Contato */
#contato form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

#contato input,
#contato textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

#contato button {
  background: #00008C;
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#contato button:hover {
  background: #FF0000;
}

/* Botão flutuante do WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 100px;
  height: 100px;
  z-index: 1000;
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
}

/* Modal de planta */
.modal {
  display: none;
  /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 70%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Botão */
.btn-planta {
  background-color: #00008C;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-planta:hover {
  background-color: #FF0000;
}

/* --- Vídeo Apresentação --- */
.video-section {
  padding: 80px 20px;
  background-color: #f9fafb;
}

.video-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Modal (janela 70% da tela) */
#videoModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#videoModal .modal-content {
  width: 70vw;
  height: 70vh;
  max-width: 1280px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

#videoModal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#fecharModal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
  transition: background 0.3s;
}

#fecharModal:hover {
  background: rgba(255, 255, 255, 0.4);
}