@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

/* responsividade */

@media (max-width: 1000px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }
}

body {
  font-family: "Nunito Sans", sans-serif;
  background-color: #f1f1f1;
  margin: 0;
  padding: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222;
  padding: 0px 20px;
  z-index: 10;
}

.active {
  background-color: #0056b3;
}

.logo {
  height: 40px;
}

.site-icon {
  margin-right: 1rem;
}

.main-name {
  display: flex;
  align-items: center;
  color: #fff;
}

.main-name-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.main-name-subtitle {
  margin-top: 0;
}

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.4s ease;
}

nav a:hover {
  background: #0056b3;
}

.nav-active {
  background: #0056b3;
}

.whatsapp {
  color: #fff;
  display: flex;
  gap: 0.4rem;
  padding: 5px 10px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.whatsapp:hover {
  background: #189d0e;
}

.whatsapp-icon {
  height: 20px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-content {
  display: flex;
}

.article-base {
  max-width: 85%;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.article-base > img {
  width: 100%;
  max-height: 400px;
}

.article-base > h1 {
  font-size: 1.7rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.article-base-location {
  margin-top: 0;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #ccc;
}

/* outros empreendimentos */

.article-more {
  border-radius: 8px;
  padding: 1.5rem 2rem;
}

.others {
  color: #00163f;
}

.others-buildings-ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.others-buildings-li {
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.05);
  border-radius: 7px;
  max-width: 400px;
}

.others-buildings-li > img {
  width: 100%;
  height: 200px; /* Define uma altura fixa para manter a uniformidade */
  object-fit: cover;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.others-buildings-li > h3 {
  position: absolute;
  margin-left: 1.25rem;
  color: #fff;
  background-color: #327aff;
  padding: 0.4rem;
  border-radius: 7px;
}

.others-buildings-li > h2 {
  margin-left: 1rem;
}

.others-more {
  display: block;
  width: 80%;
  background-color: #327aff;
  color: #fff;
  text-align: center;
  border-radius: 7px;
  margin: 1rem auto 1.5rem;
  padding: 0.5rem 0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25rem;
}

.others-buildings-text {
  margin: 0px 1.25rem;
}

.others-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.others-info > div {
  margin: 0 1rem;
}

.others-info > div > h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #292929;
  margin-bottom: 0.2rem;
}

.others-info > div > h3 {
  margin-top: 0;
}

/* carrossel empreendimento */
.mySwiper2 {
    width: 100% !important;
    max-height: 400px !important; /* Altura máxima */
    height: auto !important; /* Ajuste flexível */
    margin-bottom: 1rem !important;
  }
  
  /* Ajustar imagens para ocupar toda a área do slider */
  .mySwiper2 .swiper-slide img {
    width: 100%;
    height: 100%; /* Preenche a altura disponível */
    object-fit: cover; /* Mantém o aspect ratio sem distorcer */
    border-radius: 8px;
  }
  
  /* Ajustar miniaturas para ocupar um espaço mais uniforme */
  .mySwiperThumbs {
    height: 80px !important; /* Reduzi um pouco para um melhor ajuste */
    padding: 5px 0 !important;
  }
  
  .mySwiperThumbs .swiper-slide {
    width: 20% !important;
    height: 100% !important;
    opacity: 0.6 !important;
    cursor: pointer !important;
  }
  
  .mySwiperThumbs .swiper-slide-thumb-active {
    opacity: 1 !important;
    border: 2px solid #333 !important;
    border-radius: 6px !important;
  }
  

/* contato paulo */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-info {
  margin-top: 10px;
}

.contact-name {
  font-size: 18px;
  font-weight: bold;
}

.contact-email,
.contact-phone {
  font-size: 14px;
  color: #555;
}

.contact-form {
  width: 100%;
  margin-top: 20px;
}

.contact-form label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
}

.contact-form textarea {
  resize: none;
  height: 80px;
}

.btn-enviar {
  width: 100%;
  background: #2f77f3;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.btn-enviar:hover {
  background: #1a5dcc;
}

/* destaque */
.destaque {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.destaque-bg {
  position: relative;
  width: 100%;
  height: 65vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.destaque-info {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  margin-right: 50px;
}

.destaque-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.destaque-info p {
  font-size: 16px;
  color: #666;
}
.destaque-info ul {
  padding: 0;
  list-style: none;
}
.destaque-info ul li {
  margin: 5px 0;
}

.destaque-details {
  margin: 1.5rem auto;
}

.cta {
  background-color: blue;
  color: #fff;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 1.3rem;
  margin: 2rem auto;
}

/* fixed whatsapp icon */

.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-fixed img {
  width: 30px;
  height: 30px;
}

.whatsapp-fixed:hover {
  transform: scale(1.1);
}

/* about */
.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
}

.about-content {
  max-width: 50%;
}

.about-content h3 {
  color: #1a5dcc;
  font-weight: bold;
}

.about-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-right: 1rem;
  color: #333;
}

.contact-info {
  display: flex;
  align-items: center;
  align-items: center;
  margin-top: 20px;
}

.contact-info img {
  width: 30px;
  margin-right: 10px;
}

.contact-info p {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.about-image img {
  max-width: 350px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.whats-link {
  text-decoration: none;
  color: #000;
  transition: all 0.4s ease;
}

.whats-link:hover {
  color: #1a5dcc;
}

/* grid empreendimentos */
.empreendimentos {
  text-align: center;
  padding: 40px 20px;
}

.empreendimentos > h2 {
  font-size: 2rem;
  margin-bottom: 0;
}

.empreendimentos > p {
  margin-top: 0;
  margin-bottom: 2.8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

.card img {
  width: 100%;
  height: 200px; /* Define uma altura fixa para manter a uniformidade */
  object-fit: cover; /* Corta a imagem para preencher a área sem distorcer */
  border-radius: 10px;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: blue;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: gray;
  margin: 10px 0;
}

.button {
  display: block;
  background: blue;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
}

.pagination {
  margin-top: 20px;
}

.pagination a {
  margin: 5px;
  padding: 8px 12px;
  background: #ddd;
  text-decoration: none;
  border-radius: 5px;
}

.pagination a.active {
  background: blue;
  color: white;
}

/* diferenciais */
.diferenciais {
  margin: 2rem;
}

.diferencial {
  margin: 2rem auto;
}

.diferencial-img {
  max-width: 100px;
}

/* footer */
.custom-footer {
  background: black;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px; /* Ajuste conforme necessário */
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 18px;
  margin: 0;
}

.footer-logo p {
  font-size: 1rem;
  margin: 0;
  color: #ccc;
}

.footer-rights {
  font-size: 1rem;
  color: #ccc;
  text-align: right;
}

/* responsividade */

/* grid responsivo */
/* 🌍 Tablets (2 colunas) */
@media (max-width: 1199px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* 📱 Smartphones (1 coluna) */
@media (max-width: 767px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* menu responsivo */
/* ✅ Tablets: Reduz espaçamentos */
@media (max-width: 1024px) {
  .site-header {
    padding: 10px;
  }

  nav {
    gap: 5px;
  }

  .whatsapp {
    font-size: 1rem;
  }
}

/* ✅ Smartphones: Transforma o menu em hambúrguer e centraliza o WhatsApp */
@media (max-width: 767px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }

  .main-name {
    flex-grow: 1;
  }

  /* 📌 Esconde o menu padrão */
  nav {
    display: none;
    flex-direction: column;
    align-items: center; /* Centraliza os itens */
    position: absolute;
    top: 100%;
    right: 0;
    background: #222;
    width: 100%;
    padding: 10px;
  }

  nav a {
    display: block;
    padding: 10px;
    text-align: center;
  }

  /* 📌 Mostra o menu ao clicar */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle div {
    width: 25px;
    height: 3px;
    background: white;
  }

  .menu-open nav {
    display: flex;
  }

  /* 📌 WhatsApp centralizado no menu */
  .whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    background: #189d0e;
    border-radius: 5px;
    margin-top: 10px; /* Espaço entre os links e o WhatsApp */
  }

  .whatsapp-icon {
    height: 20px;
    margin-right: 5px;
  }
}

/* about */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content p {
    margin-right: 0;
  }

  .contact-info {
    justify-content: center;
  }

  .about-image {
    margin-top: 20px;
  }

  .about-image img {
    max-width: 100%;
  }
}

/* outros empreendimentos */

@media (max-width: 768px) {
  .others-buildings-ul {
    flex-direction: column;
    gap: 2rem;
    padding: 0;
  }

  .others-buildings-li {
    width: 100%;
    max-width: 100%;
  }

  .others-buildings-li > img {
    width: 100%;
    height: auto;
    min-width: unset;
    max-width: 100%;
    min-height: unset;
    max-height: 250px;
  }

  .others-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 1.25rem;
  }

  .others-buildings-text {
    padding: 0 1.25rem;
  }

  .others-more {
    width: 90%;
  }
}

/* destaque */

@media (max-width: 900px) {
  .destaque-info {
    margin: 0 auto;
  }
}

/* carrossel empreendimento */
@media (max-width: 768px) {
    .mySwiper2 {
      max-height: 250px !important; /* Reduz a altura para telas menores */
    }
  
    .mySwiperThumbs {
      height: 60px !important; /* Miniaturas menores para economizar espaço */
    }
  
    .mySwiperThumbs .swiper-slide {
      width: 25% !important; /* Aumenta um pouco para melhor navegação */
    }
  }