/* GERAIS --- */
body {
  background: #fff;
  color: #23262A;
  font-family: "museo-slab", serif;
  font-weight: 300;
  font-style: normal;
}

h1, h2 {
  font-family: "museo-slab", serif;
  font-weight: 700;
}

p, li, a, button {
  font-family: "museo-slab", serif;
  font-weight: 300;
}

ul, li, li a {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}

/* HERO */
#hero {
  background: url('../img/bg-hero.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  color: white;
}

.logo-hero {
  width: 180px;
  margin-bottom: 20px;
}

#hero h1 {
  color: #F8EFE3;
  line-height: 1.1;
  font-size: 2.8rem;
}

#hero p {
  line-height: 2.1;
  font-size: 1rem;
}

/* MENU HERO */
.menu-hero {
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  margin: 20px 0 40px;
}

.menu-hero ul {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
}

.menu-hero a {
  color: white;
  padding: 0 15px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-hero a:hover,
.menu-hero li.destacado a {
  color: #f7c06f;
}
.galeria-hero .card-img {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
}

.card-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* BOTÃO CTA */
.botao-hero.destaque {
  background-color: #C74F2D;
  color: white;
  padding: 20px 60px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  display: inline-block;
  position: relative;
  bottom: -70px;
}

.botao-hero.destaque:hover {
  transform: scale(1.08);
}

/* DESCRIÇÃO */
#descricao {
  padding: 80px 0;
  color: #23262A;
}

#descricao h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  color: #C5A882;
  margin-bottom: 30px;
}

#descricao p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
#descricao .botao-hero.destaque{
	bottom: -111px;
}
.detalhes-imovel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.detalhes-imovel .box {
  border: 1px solid #CFB899;
  padding: 10px;
  min-width: 120px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  background: white;
  border-radius: 4px;
  color: #CFB899;
}

.detalhes-imovel .box small {
  display: block;
  font-size: 0.85rem;
  color: #7a7a7a;
  font-weight: normal;
  margin-top: 5px;
}

.img-descricao {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

/* GALERIA PRINCIPAL */
.secao-galeria {
  background-color: #F8EFE3;
  padding: 90px 0;
}

.titulo-galeria {
    font-size: 2.4rem;
    line-height: 1.2;
    color: #C5A882;
    margin-bottom: 30px;
}

.subtitulo-galeria {
  font-size: 1rem;
  color: #23262A;
  margin-bottom: 40px;
}

.bloco-slider {
  overflow: hidden;
  position: relative;
  padding: 0 20px;
}

.slider-galeria {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px;
  scroll-behavior: smooth;
}

.slider-galeria::-webkit-scrollbar {
  display: none;
}

.slider-galeria .card-img {
  flex: 0 0 auto;
  height: 350px;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  width: 80%;
}

.slider-galeria .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-imagem {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.modal-imagem img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.modal-imagem .fechar {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.modal-imagem.ativo {
  display: flex;
}

#footer {
  background: url('../img/bg-hero.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  text-align: center;
}

#footer .mapa-container {
  max-width: 600px;
  margin: 0 auto 30px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
 top: -90px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#footer .texto-endereco {
  color: #F8EFE3;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 300;
  position: relative;
  top: -100px;	
}

#footer .botao-hero {
  margin-bottom: 40px;
}

#footer .logo-rodape img {
  max-width: 140px;
  margin: 0 auto;
  display: block;
  position: relative;
	top: -100px;
}
#footer .botao-hero.destaque{
	bottom: auto;
	top: -100px
}

@media screen and (min-width: 1024px) {
  .slider-galeria .card-img {
    width: calc((100% - 3 * 20px) / 4);
  }
}

.bullets-galeria {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease;
}

.bullet.active {
  background-color: #7B5E3B;
}

/* UTILITÁRIOS */
.grid-container {
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.bottom30 { margin-bottom: 30px; }
.bottom60 { margin-bottom: 60px; }
.top15 { margin-top: 15px; }
.top30 { margin-top: 30px; }
.m40 { margin: 40px 0; }
.pad { padding: 0 30px; }
.spacer {
  border-bottom: 1px solid #cccccc;
  margin: 40px 0;
}
.relative { position: relative; }
.bold { font-weight: 800; }

small {
  font-size: 15px;
  font-family: oscine, sans-serif;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

/* RESPONSIVO */
@media screen and (max-width: 767px) {
  #hero h1,
  #descricao h2,
 .titulo-galeria{
    font-size: 2.2rem;
  }
  .titulo-hero {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
  }
	.galeria-hero .card-img{
		height: 178px;
		margin: 20px 0;
	}	
	.botao-hero.destaque{
		bottom: 0;
	}	
  .detalhes-imovel .box {
    flex: 1 0 100%;
  }
  .subtitulo-hero {
    font-size: 1rem;
    text-align: center;
  }

  .menu-hero ul {
    flex-direction: column;
    gap: 10px;
  }

  .menu-hero {
    margin: 10px 0 30px;
  }

  .botao-hero {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .detalhes-imovel {
    justify-content: space-between;
  }

  #descricao h2 {
    text-align: center;
  }

  #descricao p {
    text-align: justify;
  }
}
