/* Container Geral do Layout */
  .custom-swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  /* --- SLIDER PRINCIPAL --- */
  .gallery-top {
    width: 100%;
    border-radius: 12px;
    /* Bordas arredondadas suaves do print */
    overflow: hidden;
  }

  .gallery-top .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 18 / 9;
    /* Mantém a proporção exata da foto */
    object-fit: cover;
    display: block;
  }

  @media(max-width:991.92px) {
    .gallery-top .swiper-slide img {

      aspect-ratio: 16 / 9;
      /* Mantém a proporção exata da foto */

    }
  }

  /* Customização das Setas de Navegação */
  .gallery-top .swiper-button-next,
  .gallery-top .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro translúcido */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* Perfeitamente redonda */
    color: #ffffff;
    /* Seta branca */
    transition: background-color 0.2s, transform 0.2s;
  }

  .gallery-top .swiper-button-next:hover,
  .gallery-top .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.75);
  }

  /* Diminui o tamanho do ícone interno da seta nativa do Swiper */
  .gallery-top .swiper-button-next::after,
  .gallery-top .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
  }

  /* --- SLIDER DAS MINIATURAS (THUMBS) --- */
  .gallery-thumbs {
    margin-top: 16px;
    /* Distância entre o slide principal e as thumbs */
    box-sizing: border-box;
  }

  .gallery-thumbs .swiper-slide {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.4;
    /* Efeito opaco nas fotos inativas do print */
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 3px solid transparent;
    /* Reserva o espaço para não tremer no active */
  }

  .gallery-thumbs .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
  }


  @media(max-width:991.92px) {

    .gallery-thumbs .swiper-slide,
    .gallery-thumbs .swiper-slide img {

      aspect-ratio: 4 / 3 !important;
      /* Mantém a proporção exata da foto */

    }
  }

  /* Estilo da Miniatura Ativa (Selecionada) */
  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    /* Foto ativa fica clara */
    border-color: #a38244;
    /* Borda dourada/bronze idêntica ao seu print */
  }


  main {
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
  }












   /* Esconde o bloco por padrão */
      .gallery-wrapper {
        display: none;
        width: 100%;
      }

      /* Mostra apenas o bloco que tiver a classe active */
      .gallery-wrapper.active {
        display: block;
      }

      /* Container dos botões abaixo do slide */
      .gallery-tabs-container {
        display: flex;
        gap: 12px;
        margin-top: 8px;
        margin-bottom: 16px;
        justify-content: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      }

      /* Estilo padrão dos botões 
      .tab-btn {
        padding: 12px 24px;
        font-size: 15px;
        font-weight: 600;
        color: #555555;
        background-color: #f5f5f5;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
      }*/

      .tab-btn {
        padding: 12px 24px;
        font-size: 16px;
        font-weight: 600;
        color: rgb(29, 29, 29,.5);
        background-color: transparent;
        border-bottom: 2px solid rgb(29, 29, 29,.5);
        border-radius: 0px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      /* .tab-btn:hover {
        background-color: #eeeeee;
      } */

      .tab-btn:hover {
        color: #1d1d1d;
        border-bottom: 2px solid #1d1d1d;
      }

      /* Botão ativo/selecionado 
      .tab-btn.active {
        color: #ffffff;
        background-color: #a38244;
        border-color: #a38244;
      }*/
.tab-btn.active {
        color: #a38244;
        border: none;
        border-color: #a38244;
        border-bottom: 2px solid;
      }













       .section-detalhes {
      padding: clamp(20px, 24px, 36px) 0;
      padding-bottom: 80px;
    }

    .section-detalhes .cont {
      padding: 0;
    }

    /* --- CONFIGURAÇÃO DO CONTAINER PRINCIPAL --- */
    .cont {
      display: flex;
      flex-direction: column;
      /* Empilha no Mobile por padrão */
      gap: 30px;
      /* Espaçamento entre as colunas no mobile */
      width: 100%;
      max-width: 1200px;
      /* Alinhamento centralizado padrão de mercado */
      margin: 0 auto;
      padding: 0 20px;
      box-sizing: border-box;
    }

    /* --- COLUNAS NO MOBILE (100% de largura) --- */
    .col-infos {
      width: 100%;
    }

    .col-aside {
      width: 100%;
    }


    /* --- SESTRUTURA PARA DESKTOP (Telas Maiores) --- */
    @media (min-width: 992px) {
      .cont {
        flex-direction: row;
        /* Coloca um ao lado do outro no desktop */
        gap: 40px;
        /* Aumenta o espaçamento entre as colunas no desktop */
      }

      /* Faz a coluna de informações crescer e ocupar todo o espaço restante da esquerda */
      .col-infos {
        flex: 1;
      }

      /* Configura a barra lateral exatamente com o limite de 400px */
      .col-aside {
        width: 100%;
        max-width: 360px;
        flex-shrink: 0;
        /* Garante que a coluna não vai esmagar ou deformar */
      }
    }





















    :root {
  --color-fb: #627aac;
  --color-x: #242526;
  --color-wa: #25d366;
  --color-mail: #bcbcbc;
}

.share-container {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px auto;
}

.share-container h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #1a4d80; /* Azul similar ao do seu título */
  margin-bottom: 20px;
  text-transform: none;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px; /* Espaçamento moderno sem margens gambitarras */
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}

/* Cor dos Ícones (SVGs) internos */
.share-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff; /* Ícones brancos por padrão */
}

/* Cores de fundo específicas */
.share-btn.facebook { background-color: var(--color-fb); }
.share-btn.x-twitter { background-color: var(--color-x); }
.share-btn.whatsapp { background-color: var(--color-wa); }
.share-btn.email { background-color: var(--color-mail); }

/* Efeito moderno ao passar o mouse */
.share-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.share-btn:active {
  transform: scale(0.95);
}














.detalhes-titulo{
    font-size: clamp(32px,2.444vw,56px);

}

.detail-preco{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec{
    width: fit-content;
    display: flex;
    gap: 3px;
    padding: 0;
    align-items: center;
    padding: 16px;
}
.spec svg{margin-bottom: 0;}
.spec span{font-size: 16px; line-height: 0;} 

/* .spec svg{margin-bottom: 0;}
.spec span{font-size: 16px; line-height: 0;} */
.gallery-top{
    border: 1px solid #a38244;
}




@media (max-width: 640px) {
    .btn {
        padding: 20px 24px;
        font-size: 17px;
    }
}


.detail-section h4{
    font-size: 28px;
}



.detail-section h3 {
    margin-bottom: 10px;
}


.amenities-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
  }

  .amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: oklch(99.155% 0.00011 271.152);
    color: #333;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #eee;
    transition: all 0.2s ease;
  }

  .amenity-badge:hover {
    background: #fff;
    border-color: var(--gold-dark, #c5a880);
    color: var(--gold-dark, #c5a880);
  }

  .amenity-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--gold-dark, #c5a880);
    border-radius: 50%;
  }


  .detail-map>iframe{
    width: 100%;
  }









 /* CONTAINER PAI */
.youtube-grid-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

/* CARD DO VÍDEO */
.youtube-card {
  width: 100%;
  /* Trava opcional: impede que o vídeo único fique gigante em telas ultra-wide */
  max-width: 850px; 
  justify-self: center; /* Centraliza o vídeo na tela caso ele atinja a largura máxima */
  border-radius: 12px;
  overflow: hidden;
}

/* CONTAINER DE PROPORÇÃO (Mantém o 16:9) */
.youtube-aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.youtube-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* MEDIA QUERY: A partir de Tablet/Desktop */
@media (min-width: 768px) {
  .youtube-grid-responsive {
    /* auto-fit faz a mágica de calcular se tem 1 ou 2 elementos na linha */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
  }

  /* Se houver 2 vídeos lado a lado, removemos a trava de max-width para eles preencherem o grid perfeitamente */
  .youtube-grid-responsive:has(.youtube-card:nth-child(2):not([style*="display: none"])) .youtube-card {
    max-width: 100%;
  }
}















/* FORMULARIO AGENDAR VISITA */
/* Fundo Escuro do Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

/* Estado Ativo do Modal */
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Card do Formuário */
.modal-card {
  background-color: #f9f9f9;
  width: 100%;
  max-width: 540px;
  border-radius: 40px; /* Cantos bem arredondados como no print */
  padding: 40px 30px 30px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

/* Botão Fechar (X) */
.modal-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 28px;
  color: #a38244;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close-btn:hover {
  color: red;
}

/* Emblema do Calendário Superior */
.modal-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #a38244;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #f9f9f9;
}
.modal-badge svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Textos */
.modal-title {
  text-align: center;
  color: #4d4d4d;
  font-size: 26px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 12px;
}

.modal-subtitle {
  text-align: center;
  color: #777;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 30px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Componentes do Formulário */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Grupos de Input com Ícone Interno */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  display: flex;
  align-items: center;
  pointer-events: none;
  width: 26px;
  height: 26px;
}

.input-icon svg {
  width: 26px;
  height: 26px;
  color: #a38244;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 16px 16px 16px 52px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s;
  appearance: none; /* Remove seta padrão do select para customizar */
}

.input-group input:focus,
.input-group select:focus {
  border-color: #999;
}

/* Seta customizada para o select */
.input-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 24px;
}

/* Placeholder cinza para o select inicial */
.input-group select:invalid {
  color: #757575;
}

/* Botão Enviar */
.modal-submit-btn {
  background-color: #a38244;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.modal-submit-btn:hover {
  background-color: #b18c49;
}

/* Botão de teste da página */
.btn-trigger {
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  margin: 40px;
}


.erro-campo{
  padding-left: 11px;
  color: red;
}