/* ============================================ */
/* CSS PARA A NOVA PÁGINA DE EMPREENDIMENTOS    */
/* Cabeçalho = aldeia-aruana.html              */
/* Conteúdo = empreendimentos.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;
}

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;
}

.btn:hover {
  background-color: #b88f52;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* CABEÇALHO - IGUAL AO aldeia-aruana.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: auto;
}

.btn-container {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 35px;
}

.hero .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.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;
}


/* ============================================ */
/* CONTEÚDO PRINCIPAL - IGUAL AO empreendimentos.html */
/* ============================================ */

.main-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============ FILTROS ============ */
.filtro-container {
  background-color: var(--medium-green);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.filtro-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.filtro-container h2 {
  text-align: left;
  margin: 0;
  color: var(--gold);
}

.disclaimer-precos {
  color: var(--light-text);
  font-size: 0.9rem;
  margin: 15px 0 0 0;
  white-space: nowrap;
}

.filtro-linha {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filtro-linha select {
  min-width: 120px;
  max-width: 160px;
  padding: 8px 32px 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  background-color: var(--light-green);
  color: var(--light-text);
  font-size: 0.9rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L2 5h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.filtro-linha select option {
  background-color: var(--medium-green);
}

.filtro-preco {
  min-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preco-valor-container {
  display: flex;
  justify-content: center;
  margin-top: 5px;
  width: 100%;
}

.filtro-preco label {
  color: var(--light-text);
  font-size: 0.9rem;
  white-space: nowrap;
}

#filtro-preco-range {
  flex: 1;
  min-width: 120px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--light-green);
  border-radius: 3px;
  outline: none;
  margin: 0;
}

#filtro-preco-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

#preco-valor {
  font-weight: bold;
  color: var(--gold);
  font-size: 0.95rem;
  white-space: nowrap;
}

.filtro-botoes {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  align-self: flex-end;
  margin-left: auto;
}

.btn-secundario {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secundario:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

/* ============ CARDS DE EMPREENDIMENTOS ============ */
.empreendimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.empreendimento-card {
  background-color: var(--medium-green);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.empreendimento-card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-image img:hover {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.empreendimento-card h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.card-content p {
  color: var(--light-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  margin: 15px 0;
  padding-top: 15px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}

.detail-item {
  margin-bottom: 8px;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.detail-value {
  font-weight: bold;
  font-size: 0.95rem;
}

.detail-item.highlight .detail-value {
  color: var(--gold);
  font-size: 1.1rem;
}

.card-content .btn {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}

/* ============ 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;
}

/* ============ FOOTER ============ */
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) {
  .empreendimentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@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: 0;
    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: 0;
    margin-bottom: 15px;
  }

  .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;
  }

  .phone-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  .filtro-container h2 {
    text-align: center;
  }
  
  .filtro-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .disclaimer-precos {
    text-align: center;
    white-space: normal;
  }
  
  .filtro-linha {
    flex-direction: column;
    align-items: center;
  }
  
  .filtro-linha select {
    width: 100%;
    max-width: 100%;
  }
  
  .filtro-botoes {
    flex-direction: column;
    width: 100%;
  }
  
  .filtro-preco {
    width: 100%;
    min-width: auto;
  }
  
  .empreendimentos-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    order: 0;
    margin-bottom: 15px;
  }
  
  .footer-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  
  .filtro-container {
    padding: 15px;
    margin-top: 0;
  }
  
  .card-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .empreendimento-card h3 {
    font-size: 1.3rem;
  }
  
  .btn-container .btn {
    max-width: 200px;
  }
}