/* ===== Navbar ===== */
.navbar {
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.navbar-logo img {
    width: 90px;
}

.navbar a {
    color: #000;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    transition: .3s;
}

.navbar a:hover {
    background: #ececec;
    color: #f60;
}

.navbar a.active {
    color: red;
}

.navbar a.active:hover {
    background: transparent;
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
    }

    .navbar-logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .navbar-logo img {
        width: 70px;
    }

    .navbar a:not(.navbar-logo) {
        display: block;
        width: 100%;
        text-align: center; /* alterado */      /* <- alinhado à esquerda */
        padding: 12px 20px;
        background: #f3f3f3;
        border-radius: 4px;
        margin: 0;
    }
}
/* ===== Botão WhatsApp (versão ícone, reserva) ===== */
.icon {
  position: fixed;
  bottom: 65px;
  right: 30px;
  font-size: 30px;
  background-color: #01e675;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  width: 50px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  z-index: 100;
  box-shadow: 2px 2px 2px #c0bdbd;
}
.icon:hover {
  background-color: #fff;
  color: #029e3b;
  font-weight: 900;
  box-shadow: 2px 2px 20px #5fe690;
}

/* ===== Botão WhatsApp (versão logo fixada) ===== */
.logo-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 0.8rem;
  width: 4.5rem;
  z-index: 100;
}
.logo-whatsapp:hover {
  transform: translate(0.5rem, 0.5rem);
}
.logo-whatsapp img {
  width: 100%;
}



/* ===== Identidade visual (verde Rineu) ===== */
.faixa-verde {
  background-image: linear-gradient(225deg, #065028, #011402);
}
.titulo-verde {
  color: #065028;
  font-weight: 700;
}
.btn-verde {
  background-color: #065028;
  color: #fff;
  font-weight: 600;
}
.btn-verde:hover {
  background-color: #0a7a3d;
  color: #fff;
}
.link-verde {
  color: #065028;
  font-weight: 600;
  text-decoration: none;
}
.link-verde:hover {
  color: #f60;
}

/* ===== Rodapé ===== */
.rodape {
  background-image: linear-gradient(225deg, #065028, #011402);
  color: #fff;
  margin-top: 4rem;
}
.rodape a {
  color: #fff;
  text-decoration: none;
}
.rodape a:hover {
  color: #ffb20f;
}
.rodape-titulo {
  font-weight: 700;
  border-left: solid 0.3rem #ffb20f;
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}
.rodape-base {
  background-color: rgba(0, 0, 0, 0.35);
}
.link-restrito {
  opacity: 0.7;
  padding-right: 1.2rem;
}
.link-restrito:hover {
  opacity: 1;
}

/* ===== Página de serviços ===== */
.borda-dourada {
  border-left: solid 0.4rem #ffb20f;
  padding-left: 1.2rem;
}
.cards-sobrepostos {
  margin-top: -3rem;
  padding-top: 0;
}
.card-mvv {
  position: relative;
  margin-top: 3.5rem;
}
.icone-mvv {
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffaf00;
  border-radius: 1.2rem;
  width: 6rem;
  height: 6rem;
  padding: 1rem;
  box-shadow: inset 0 0 0.6rem 0.15rem rgba(0, 0, 0, 0.1);
}
.icone-mvv img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.titulo-servico {
  color: #065028;
  font-weight: 700;
  border-bottom: solid 0.25rem #ffb20f;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}
.text-justify {
  text-align: justify;
}

/* ===== Botão voltar ao topo ===== */
.btn-topo {
  display: none;
  position: fixed;
  bottom: 10rem;
  right: 1.8rem;
  z-index: 99;
  border: none;
  background-color: #065028;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.btn-topo:hover {
  background-color: #ffb20f;
  color: #065028;
}


.secao-sobre {
  max-width: 56rem;
  margin-left: auto !important;
  margin-right: auto !important;
}
.secao-sobre p {
  line-height: 1.7;
}

/* ===== Home: carrossel ===== */
.banner-home {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center; /* padrão */
}

/* Ajuste fino do enquadramento de cada banner (eixo vertical).
   Se ainda cortar algo importante, mude só o segundo valor em %. */
.banner-1 { object-position: center 35%; } /* preto  - mostra a caneta/sol */
.banner-2 { object-position: center 30%; } /* família - mostra o céu e a casa */
.banner-3 { object-position: center 42%; } /* amarelo - mostra a família e a casa */

.carousel-caption-custom {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;   /* texto à esquerda */
  text-align: left;
  color: #fff;
  /* escurece só o lado esquerdo: dá leitura ao texto e deixa a imagem à direita */
  background: linear-gradient(90deg,
              rgba(1, 20, 2, 0.75) 0%,
              rgba(1, 20, 2, 0.45) 35%,
              rgba(1, 20, 2, 0) 70%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  padding: 1rem 1rem 1rem 5%;
  pointer-events: none; /* deixa o clique passar p/ as setas do carrossel */
}

.carousel-caption-custom .caption-inner {
  max-width: 600px;
}

/* o container está com pointer-events:none, então reativamos só o botão */
.carousel-caption-custom .btn {
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .banner-home {
    height: 340px;
    object-position: right center;
  }

  .carousel-caption-custom {
    align-items: center;
    justify-content: flex-end; /* joga o texto mais para baixo */
    text-align: center;
    padding: 1rem 1rem 3.5rem;
    background: linear-gradient(
      180deg,
      rgba(1, 20, 2, 0.05) 0%,
      rgba(1, 20, 2, 0.35) 45%,
      rgba(1, 20, 2, 0.75) 100%
    );
  }

  .carousel-caption-custom .caption-inner {
    max-width: 92%;
  }

  .carousel-caption-custom h1 {
    font-size: 1.9rem;
    margin-bottom: .35rem;
  }

  .carousel-caption-custom p {
    font-size: 1.05rem !important;
    line-height: 1.3;
    margin-bottom: 0 !important;
  }

  .carousel-caption-custom .btn {
    display: none;
  }

  .carousel-indicators {
    margin-bottom: .5rem;
  }
}

@media screen and (max-width: 480px) {
  .banner-home {
    height: 300px;
  }

  .carousel-caption-custom {
    padding-bottom: 3rem;
  }

  .carousel-caption-custom h1 {
    font-size: 1.55rem;
  }

  .carousel-caption-custom p {
    font-size: .95rem !important;
  }
}
/* ===== Cards de imóveis ===== */
.foto-card {
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
}
.sem-foto {
  background-color: #e9e7e7;
  color: #888;
}
.card-imovel {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card-imovel:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.18) !important;
}
.selo-super {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background-color: #ffb20f;
  color: #011402;
  font-size: 0.85rem;
}
.selo-destaque {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background-color: #065028;
  font-size: 0.85rem;
}
.valor-imovel {
  color: #065028;
}

/* ===== Página de imóveis ===== */
.filtros-imoveis {
  background-color: #f5f8f5;
  border-radius: 1rem;
  padding: 1rem;
}
.btn-coracao,
.btn-coracao-detalhe {
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #c2185b;
  font-size: 1.3rem;
  line-height: 1;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.btn-coracao {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}
.btn-coracao-detalhe {
  font-size: 1.6rem;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}
.btn-coracao.favoritado,
.btn-coracao-detalhe.favoritado {
  background-color: #c2185b;
  color: #fff;
}
.foto-detalhe {
  width: 100%;
  height: 460px;
  object-fit: cover;
  background-color: #1a1a1a;
}
.miniatura {
  width: 5rem;
  height: 3.6rem;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  opacity: 0.75;
}
.miniatura:hover {
  opacity: 1;
}
.legenda-foto {
  background: rgba(1, 20, 2, 0.6);
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 0.5rem;
}
.selo-super-inline {
  background-color: #ffb20f;
  color: #011402;
}
.etiqueta-caracteristica {
  background-color: #f5f8f5;
  color: #065028;
  border: 1px solid #065028;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
}
.btn-whatsapp {
  background-color: #01e675;
  color: #011402;
}
.btn-whatsapp:hover {
  background-color: #029e3b;
  color: #fff;
}
.texto-descricao {
  max-width: 56rem;
}

@media (max-width: 768px) {
  .texto-descricao p {
   text-align: justify;
  }
}

@media screen and (max-width: 768px) {
  .foto-detalhe {
   height: 300px;
  }
}
/* ===== Seta "ver detalhes" no card ===== */
.btn-seta-card {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #065028;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding-bottom: 0.2rem;
}
.btn-seta-card:hover {
  background-color: #065028;
  color: #fff;
}

/* ===== Linha de cômodos no card ===== */
.linha-comodos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.bloco-apresentacao {
  margin-top: 4rem;
  margin-bottom: 3rem;
}
