/* Seção Hero */
.hero-section {
    background: url('assets/images/banner-luxo.jpg') no-repeat center center/cover;
    min-height: 100vh; /* ALTERADO: antes 470px */
    height: auto;      /* ALTERADO: remove altura fixa */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    min-height: 100vh; /* ALTERADO: antes height: 100% (garante preencher a tela toda) */
    height: auto;      /* ALTERADO */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* antes era center */
    padding-top: 120px;           /* ajuste: 60/80/100 conforme gostar */
    flex-direction: column;
   
}

/* Formulário de Busca */
.search-form {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Labels */
.search-form label {
    color: white;
    font-weight: 600;
}

/* Botão Buscar */


.btn-primary:hover {
    background: linear-gradient(135deg, #e0484d, #c43c40);
}

/* Botão "Mais Filtros" */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    transition: 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Ajuste fino para alinhar o botão com os inputs */
.search-form .btn-primary {
    height: 100%; /* Faz o botão ocupar a altura total da linha */
    font-size: 16px;
}


/* Abas de Finalidade */
.nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: #ff5a5f;
    color: white;
}




/* Estilos do Detalhes do Imóvel */
#imovelCarousel img {
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

h1, h2 {
    font-weight: bold;
}

#map {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Cartões de Imóveis Relacionados */
.card {
    margin-bottom: 20px;
    border-radius: 8px;
}

.card img {
    height: 200px;
    object-fit: cover;
}


/* Header */
.navbar {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #1e3c72;
}

.navbar-nav .btn {
    background: #1e3c72;
    border: none;
}

.navbar-nav .btn:hover {
    background: #16315c;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
}

footer h5 {
    font-weight: bold;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.search-box {
    background: rgba(255, 255, 255, 0.2); /* Fundo levemente transparente */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Abas do Filtro */
.search-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
    justify-content: flex-start; /* Alinhar à esquerda */
}

.search-tabs .tab {
    padding: 8px 15px; /* Reduzir o tamanho das abas */
    font-size: 14px;
    text-align: center;
    border: none;
    background: rgba(255, 255, 255, 0.3); /* Fundo transparente */
    color: white;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    transition: 0.3s;
}

.search-tabs .tab.active {
    background: #ff5a5f;
    color: white;
    font-weight: bold;
}

/* Ajuste no formulário */
.search-form {
    padding-top: 10px;
}
/* Mais Filtros - Fullscreen no Celular */
.filtros-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.filtros-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Esconder Mais Filtros no Desktop */
@media (min-width: 768px) {
    .filtros-container {
        position: absolute;
        background: rgba(255, 255, 255, 0.95);
        height: auto;
        width: 100%;
        max-width: 800px;
        border-radius: 5px;
        padding: 15px;
        display: none;
    }
}
/* ==================== HEADER ==================== */
.navbar {
    background: #ffffff; /* Fundo branco */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* ==================== MENU PRINCIPAL ==================== */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin-left: 15px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ff5a5f;
}

/* ==================== BOTÃO LOGIN ==================== */
.navbar-nav .btn-primary {
    background: #ff5a5f;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 15px;
    transition: 0.3s ease-in-out;
}

.navbar-nav .btn-primary:hover {
    background: #e0484d;
}

/* ==================== DROPDOWN USUÁRIO ==================== */
.navbar .dropdown-menu {
    border-radius: 5px;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: #ff5a5f;
    color: white;
}

/* ==================== BOTÃO TOGGLE MOBILE ==================== */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-left: 0;
        margin-bottom: 8px;
    }

    .navbar-nav .nav-link {
        font-size: 15px;
    }

    .navbar-nav .btn-primary {
        font-size: 15px;
        width: 100%;
    }

    .navbar .dropdown-menu {
        text-align: center;
    }
}


/* Seção Destaques Premium */
.destaques-premium {
    margin-top: 50px;
    margin-bottom: 50px;
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Estilo dos Cards */
.card-imovel {
    text-decoration: none;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tags de Tipo de Imóvel e Preço */
.tipo-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}

.preco-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Corpo do Card */
.card-body {
    padding: 15px;
    text-align: center;
}

.cidade-bairro {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

.icons span {
    display: flex;
    align-items: center;
    gap: 5px;
}



.destaques-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

.swiper-slide {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.02);
}

.imovel-card {
    display: block;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.imovel-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.imovel-img {
    position: relative;
    width: 100%;
    height: 220px;
}

.imovel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imovel-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

.imovel-preco {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
}

.imovel-info {
    padding: 10px;
    text-align: center;
}

.imovel-local {
    font-size: 14px;
    color: #666;
}

.imovel-icones {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.imovel-icones span {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}


/* Botões Swiper - Setas de navegação */
.swiper-button-prev,
.swiper-button-next {
    color: white; /* Cor branca para contraste */
    background: rgba(0, 0, 0, 0.6); /* Fundo escuro para destacar */
    border-radius: 50%;
    width: 50px; /* Aumentar a área do botão */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.9); /* Mais escuro ao passar o mouse */
}

.swiper-button-prev {
    left: -60px; /* Joga um pouco para fora do carrossel */
}

.swiper-button-next {
    right: -60px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev {
        left: -20px;
    }

    .swiper-button-next {
        right: -20px;
    }
}

/* Seção Cidades que Atuamos */
.cidades-atuamos {
    padding: 50px 0;
    text-align: center;
    background: #f8f9fa; /* Tom suave para não chamar muita atenção */
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}

/* Grid das Cidades */
.cidades-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Cartões de Cidades */
.cidade-card {
    background: white;
    color: #ff5a5f;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    text-align: center;
}

.cidade-card:hover {
    background: #ff5a5f;
    color: white;
    border-color: #ff5a5f;
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
    .cidades-grid {
        flex-direction: column;
    }

    .cidade-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}


/* Seção de lançamentos */
.lancamentos {
    padding: 50px 0;
    background: #f8f9fa;
}

/* Título da seção */
.lancamentos h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Abas do filtro */
.lancamentos-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.lancamentos-tabs .tab {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.lancamentos-tabs .tab.active {
    background: #ff5a5f;
    color: white;
    border-color: #ff5a5f;
}

/* Área onde os imóveis aparecem */
.lancamentos-list {
    position: relative;
    overflow: hidden;
}

/* Ocultar as abas que não estão ativas */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Cards de imóveis */
.lancamento-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: 0.3s ease-in-out;
}

.lancamento-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Tags do tipo de imóvel */
.tag-lancamento {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5a5f;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
}

/* Informações do imóvel */
.lancamento-info {
    padding: 10px 0;
}

.lancamento-info h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.lancamento-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 3px;
}

/* Responsividade */
@media (max-width: 768px) {
    .lancamentos-tabs {
        flex-wrap: wrap;
    }

    .lancamentos-tabs .tab {
        font-size: 14px;
        padding: 8px 10px;
    }

    .lancamento-card img {
        height: 150px;
    }
}
/* Seção "Divulgue Seu Imóvel" */
.divulgue-imovel {
    background: white; /* Cor clara para destacar o conteúdo */
    padding: 60px 0;
    text-align: left;
}

.divulgue-imovel h2 {
    color: #1e3c72;
    font-weight: bold;
    margin-bottom: 15px;
}

.divulgue-imovel p {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
}

.divulgue-imovel .btn-primary {
    background: #ff5a5f;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.divulgue-imovel .btn-primary:hover {
    background: #e0484d;
}

/* Ajuste para a imagem na seção "Divulgue Seu Imóvel" */
.divulgue-imovel img {
    max-width: 60%; /* Reduzindo o tamanho da imagem */
    height: auto;
    display: block;
    margin: 0 auto; /* Centraliza a imagem */
    background: none; /* Remove qualquer fundo */
    box-shadow: none; /* Remove sombras se houver */
    border-radius: 0; /* Remove bordas arredondadas */
}

/* Responsividade */
@media (max-width: 768px) {
    .divulgue-imovel {
        text-align: center;
    }

    .divulgue-imovel .col-lg-6 {
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .divulgue-imovel img {
        max-width: 80%; /* Ajuste para telas menores */
    }
}

.blog-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.blog-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 8px;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

.blog-title a:hover {
    color: #ff5a5f;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.btn-primary {
    background: #ff5a5f;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #e0484d;
}

.blog-card img {
    width: 100%;
    height: 200px; /* Altura fixa */
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .blog-img {
        height: 180px;
    }

    .blog-title {
        font-size: 16px;
    }
}

/* Seção do Blog Detalhes */
.blog-detalhes {
    padding: 50px 0;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: 0.3s ease-in-out;
}

.blog-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.blog-date {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-bottom: 20px;
}

/* Reduzindo tamanho da imagem */
.blog-image {
    text-align: center;
    margin-bottom: 20px;
}

.blog-image img {
    width: 70%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Conteúdo do Blog */
.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    padding: 10px;
}

/* Botão de Voltar */
.btn-primary {
    background: #ff5a5f;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 5px;
}

.btn-primary:hover {
    background: #e0484d;
}
/* ==================== SEÇÃO BLOG ==================== */
.blog-section {
    padding: 50px 0;
    background: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

/* ==================== CARDS DO BLOG ==================== */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    padding: 15px;
    text-align: left;
}

.blog-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    color: #ff5a5f;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.blog-date {
    font-size: 12px;
    color: #999;
}

/* ==================== BOTÃO "VER TODOS" ==================== */
.btn-primary {
    background: #ff5a5f;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: 0.3s ease-in-out;
}

.btn-primary:hover {
    background: #e0484d;
}

/* =============== SEÇÃO NEWSLETTER =============== */
.newsletter {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 0;
    color: white;
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.newsletter-title {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 20px;
}

.newsletter-img {
    max-width: 30%; /* Reduzindo a largura da imagem */
    height: auto;
    border-radius: 10px;
    display: block;
    margin: auto;
}

.newsletter-form {
    max-width: 100%;
    margin: auto;
}

.newsletter-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.newsletter-form .form-control {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form .btn-primary {
    background: #ff5a5f;
    color: white;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
}

.newsletter-form .btn-primary:hover {
    background: #e0484d;
}

/* Responsividade */
@media (min-width: 768px) {
    .newsletter-box {
        text-align: left;
    }

    .newsletter-form .input-group {
        flex-direction: row;
        gap: 10px;
    }

    .newsletter-form .form-control {
        flex: 1;
    }

    .newsletter-form .btn-primary {
        width: auto;
    }
}
/* Responsividade: Ajuste ainda menor em telas pequenas */
@media (max-width: 768px) {
    .newsletter-img {
        max-width: 30%; /* Ajusta melhor para celulares */
    }
}

.filtro-lancamentos {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.filtro-lancamentos .form-select,
.filtro-lancamentos .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
}

.filtro-lancamentos .btn {
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

.filtro-lancamentos label {
    font-weight: 600;
}

.filtro-lancamentos .form-check-label {
    font-size: 14px;
}

/* Aumentar o HERO e empurrar a próxima seção pra baixo */
.hero-section{
  min-height: 100vh; /* ALTERADO: antes 620px */
  height: auto;      /* ALTERADO */
}

/* Se quiser ainda mais no desktop */
@media (min-width: 992px){
  .hero-section{
    min-height: 100vh; /* ALTERADO: antes 620px */
    height: auto;      /* ALTERADO */
  }
}


/* Ocultar a aba "Imóvel Novo" no celular */
@media (max-width: 768px){
  .search-tabs .tab-imovel-novo{
    display: none !important;
  }
}
@media (max-width: 768px){
  .divulgue-imovel .row{
    flex-direction: column-reverse;
  }
}
