/* ============================================ */
/* CSS PARA A NOVA PÁGINA INDEX                 */
/* Cabeçalho = empreendimentos.html             */
/* Conteúdo = index.html                        */
/* ============================================ */

:root {
  --gold: #d4aa6d;
  --dark-green: #0b2e26;
  --medium-green: #11332d;
  --light-green: #1a4d42;
  --light-text: #e0e0e0;
  --dark-text: #333;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-green);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.9;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--gold);
  color: var(--dark-text);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: #b88f52;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* CABEÇALHO - IGUAL AO empreendimentos.html   */
/* ============================================ */

.hero {
  position: relative;
  height: 60vh;
  max-height: 600px;
  display: flex;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/fundo.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero .content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero .logo {
  max-width: 450px;
  margin-bottom: 0px;
}
 
.hero .contact-image {
  position: absolute;
  top: 260px;
  right: 26px;
  max-width: 280px;
  height: auto;
  z-index: 1000;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.0rem);
  color: var(--gold);
  margin-bottom: 0;
  margin-top: 35px;
  margin-right: 0;
}

.btn-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 35px;
}

.hero .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.phone-contact {
  display: none;
  align-items: center;
}

.phone-link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
}

.hero .header-row .btn-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 40px;
}


/* ============================================ */
/* CONTEÚDO PRINCIPAL - IGUAL AO index.html    */
/* ============================================ */

.main-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Seções de empreendimento em destaque */
.empreendimento {
  padding: 60px 0;
  position: relative;
}

.empreendimento:nth-child(odd) {
  background-color: var(--medium-green);
}

.empreendimento:nth-child(even) {
  background-color: var(--dark-green);
}

.empreendimento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: inherit;
  z-index: -1;
}

.empreendimento-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
  align-items: center;
}

.empreendimento.reverse .empreendimento-container {
  flex-direction: row-reverse;
}

.empreendimento .imagem {
  flex: 1;
  min-width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.empreendimento .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.empreendimento .imagem img:hover {
  transform: scale(1.03);
}

.empreendimento .info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.empreendimento .info h2 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.empreendimento .info p {
  text-align: justify;
  margin-bottom: 20px;
}

.empreendimento .info .btn {
  margin-top: auto;
  align-self: flex-start;
}

.btn-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 15px;
}

.btn-row .btn {
  flex: 1;
  max-width: 200px;
}

/* ============================================ */
/* MODAL                                       */
/* ============================================ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal[hidden] {
  display: none;
}

.modal-content {
  background-color: var(--medium-green);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  background: none;
  border: none;
}

.close:hover {
  color: #fff;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
}

.modal-content textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin: 15px 0 20px;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* ============================================ */
/* FOOTER - IGUAL AO INDEX                     */
/* ============================================ */

footer {
  padding: 30px 0;
  background-color: var(--dark-green);
  border-top: 1px solid var(--light-green);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
  order: -1;
}

.footer-text {
  flex: 1;
  text-align: left;
}

footer p {
  margin: 5px 0;
  color: var(--gold);
  font-size: 0.9rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.privacy-link {
  display: inline;
  margin-left: 5px;
}

/* ============================================ */
/* RESPONSIVIDADE                               */
/* ============================================ */

@media (max-width: 1024px) {
  .empreendimento-container {
    gap: 30px;
  }
  
  .empreendimento .imagem {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 45vh;
  }
  
  .hero .content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero .logo {
    margin-bottom: 20px;
    max-width: 100%;
    width: 300px;
    order: 1;
  }
  
  .hero .contact-image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .hero .header-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    order: 3;
  }

  .hero .header-row .btn-container {
    order: 2;
    margin-top: 10px;
    margin-bottom: 15px;
    position: relative;
    left: auto;
    transform: none;
  }

  .hero .header-row h1 {
    order: 2;
    margin-top: 15px;
    margin-right: 0;
    margin-bottom: 40px;
    display: none;
  }

  .phone-contact {
    order: 1;
    margin-top: 0px;
    display: flex;
  }
  
  .empreendimento-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .empreendimento.reverse .empreendimento-container {
    flex-direction: column;
  }
  
  .empreendimento .imagem {
    width: 100%;
    height: 250px;
  }
  
  .empreendimento .info .btn {
    align-self: center;
  }
  
  .btn-row {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-row .btn {
    max-width: 250px;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    order: 0;
    margin-bottom: 15px;
  }
  
  .footer-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 20px;
  }
  
  .empreendimento .imagem {
    height: 220px;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .btn-container .btn {
    max-width: 200px;
  }
}