@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gelasio:wght@400;500;600;700&family=Lexend+Tera:wght@100..900&display=swap');
* {
    font-family: 'Poppins', serif; 
}

.secao{
    background-image: url('../imagens/resolucao.jpeg');
     background-color: #070707;
    background-repeat: no-repeat;
    background-position: center;
    height: 600px; /*altura da seção*/
    background-size: contain; /*ajustar a imagem ao tamanho*/
}

/*.centralizado{
    display: flex;
    justify-content: center; centralizar qualquer elemento
}
*/

h1{
    font-family: 'Gelasio', serif; 
    font-size: 50px; /*Tamanho da fonte*/
    color: #000000;
    text-shadow: #2e1f06b3 1px 1px 1px;
}

h3{
    font-size: 20px;
    color: #333333;
    text-shadow: #6d6d6d 1px 1px 1px;
}  

h5{
    font-size: 25px;
}


.secao p{
    color: #FFFFFF; /*cor da fonte*/ 
    letter-spacing: 4px; /*espaçamento entre letras*/
    font-size: 20px; /*tamanho da fonte*/
}

html{
    scroll-behavior: smooth;
}

.menu {
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu .navbar{
    padding: 15px 0 !important;
    background: #2e1f06b3 !important;
    backdrop-filter: blur(10px);
}

.navbar a {
    font-size: 20px;    
    text-decoration: none;
    color: #FFFFFF !important;  
    text-align: center;
}

nav ul li{
    padding: 0 10px;
    color: #FFFFFF !important;
    cursor: pointer;
    transition: all .5s;
}

nav ul li:hover{
    background: #664301b3;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-toggler{
    border: 1px solid white;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    display: block;
}

.navbar-toggler:focus{
    box-shadow: none;
}

@media(max-width:991px){

    .menu .navbar{
        padding: 10px 15px !important;
    }

    .navbar-toggler{
        border: 1px solid rgba(255,255,255,0.4);
        padding: 6px 10px;
        margin-left: auto;
    }

    .navbar-collapse{
        margin-top: 15px;
        background: rgba(17,17,17,0.98);
        border-radius: 12px;
        padding: 15px;
    }

    .navbar-nav{
        width: 100%;
        gap: 8px;
    }

    .nav-item{
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    .nav-link{
        justify-content: center;
    }

}

.navbar-toggler-icon{
    filter: brightness(0) invert(1);
    width: 1.3em;
    height: 1.3em;
}

/*#menu{ /*seletor id
    display: flex;
    justify-content: center; /*alinhamento
}*/

body{
    background-color: #dddddd;
} 

.titulo-linha {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 40px 0;
}

.titulo-linha::before,
.titulo-linha::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #6d6d6d;
}

.titulo-linha h1 {
    margin: 0 15px;
    white-space: nowrap;
}

.btn{ /*sobreescrevendo o bootstrap*/
    color: #000000;
    background-image: linear-gradient(60deg, #29170d, #c7dbfa); /*degrade*/
    outline: none;
    border: solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(60deg, #c7dbfa, #29170d); /*degrade*/
}

.btn:hover{
    background-image: linear-gradient(60deg, #c7dbfa, #803103); /*degrade*/
    border-image-source: linear-gradient(60deg, #803103, #c7dbfa); /*degrade*/
    color:#FFFFFF;
} 

.btn-outline-primary{
    color: #29170d;
    background-color: transparent;
    background-image: none;
    border-color: #803103;
}

.btn-outline-primary:hover{
    color: #FFFFFF;
    background-color: #803103;
    border-color: 803103;
}

.card-header{
    background: #803103 right top;
    /*background-size: cover;*/
    display: flex;
    justify-content: center;
}

.card{
    border: 1px solid #803103;
    font-weight: bold;
    margin-top: 1.5em;
    height: 100%;
}

/* PADRONIZAÇÃO DOS CARDS */
.card-imovel {
    min-height: 520px;   /* altura mínima segura */
    height: 100%;        /* permite crescer */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* HOVER MAIS SUAVE (combina com seu estilo) */
.card-imovel:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* IMAGEM DO CARROSSEL */
.img-card {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* GARANTE QUE O TEXTO PREENCHA */
.card-body {
    flex-grow: 1;
}

/* PREÇO DO IMÓVEL */
.preco {
    margin-top: auto; /* joga o preço pra baixo */
    font-size: 22px;
    font-weight: 600;
    color: #8b2a03;
    font-family: 'Lexend Tera', sans-serif;
}

/* opcional - destaque maior */
.preco::before {
    content: "Valor: ";
    font-size: 14px;
    color: #555;
    display: block;
}

.localizacao{
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sem-imoveis{
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;   /* horizontal */
    align-items: center;       /* vertical */
    text-align: center;
    font-size: 28px;
    color: #555;
    font-style: italic;
    font-weight: 500;
}



/* ===================== MODAL MAIS COMPACTO ===================== */

/* reduz largura do modal */
.modal-dialog {
    max-width: 800px; /* antes era modal-xl (muito grande) */
}

.modal-body {
    padding: 10px;
    background: #000;
    display: flex;
    justify-content: center;
}

/* caixa do modal */
.modal-content {
    border-radius: 10px;
    border: 2px solid #803103;
    background-color: #111;
    overflow: hidden;
}

/* imagem principal menor e mais controlada */
.modal-dialog {
    max-width: 900px; /* controla o tamanho do modal */
}

.modal-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
}

.modal-img {
    flex: 1;
    max-width: 700px;
    max-height: 500px;
    object-fit: contain;
    background: #000;
    display: block;
}

.modal-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
    background: #1a1a1a;
}

.modal-thumbs img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border-radius: 5px;
}

.modal-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* header mais limpo */
.modal-header {
    border-bottom: none;
    padding: 10px 15px;
}

#thumbs img {
    object-fit: cover;
}

.thumb-video{
    position: relative;
    cursor: pointer;
}

.thumb-video img{
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.7;
    transition: 0.3s;
}

.thumb-video:hover img{
    opacity: 1;
    transform: scale(1.05);
}

.play-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 28px;
    pointer-events: none;
}

/* botão fechar */
.btn-close {
    filter: invert(1);
}

.swiper {
    padding: 20px 10px;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #803103;
}

.btn-close {
    filter: invert(1);
}

/* ================= BOTÃO AGENDAR VISITA ================= */

/* deixa todos botões do card com mesma largura */
.card-imovel .btn{
    width:100%;
    font-weight:600;
}

/* sobrescreve apenas o botão azul (btn-primary) */
.card-imovel .btn-primary{
    background: linear-gradient(135deg,#8b5401,#4e2a00);
    border: none;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    letter-spacing: .5px;
}

/* efeito hover elegante */
.card-imovel .btn-primary:hover{
    background: linear-gradient(135deg,#4e2a00,#854701);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* efeito clique */
.card-imovel .btn-primary:active{
    transform: scale(0.97);
}

.circulo{
    width: 200px;
    height: 200px;
    border-radius: 70%;
    animation: pulse 2000ms infinite;
    margin: 0 80px;
    
}

.linha {
    border: none;
    height: 4px !important;
    background: linear-gradient(to right, #dfb88c, #753f01, #dfb88c);
    margin: 90px 0px;
}

.cont-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* links da seção de contato */
.cont-item a{
    color: inherit;        /* usa a mesma cor do texto */
    text-decoration: none; /* remove sublinhado */
}

.cont-item a:hover{
    text-decoration: underline; /* opcional: aparece só ao passar o mouse */
}



.whatsapp-float{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover{
    transform: scale(1.12);
    background: #1ebe5d;
}



/*pulse*/
@keyframes pulse{
    0%{
        box-shadow: rgba(255, 224, 168, 0.7) 0 0 0 0;
    }

    75%{
        box-shadow: #884c08 0 0 0 30px;
    }
}

footer{
    background: rgba(102, 67, 1, 0.7);
    height: 80px;
    margin-top: 90px;
}

footer p{
    color: #FFFFFF;
    font-size: 14px;
    margin: 0;
    text-align: center;
}