/* Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    line-height: 1.6;
}

#bairro {
    width: 80%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#bairros {
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
}



/* Estilo para a página de anúncio */
.anunciar {
    padding: 20px;
    background-color: #f4f4f4;
    margin: 20px 0;
    border-radius: 8px;
	    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */

}

.anunciar h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.anunciar .form-group {
    margin-bottom: 15px;
}

.anunciar label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.anunciar input, .anunciar select, .anunciar textarea {
    width: 80%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.anunciar textarea {
    resize: vertical;
}

.anunciar button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.anunciar button:hover {
    background-color: #0056b3;
}


/* Fundo escuro ao abrir o formulário */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 999;
}

/* Estilização do formulário */
.anunciar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animação suave ao exibir */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Botão de fechar */
.btn-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-fechar:hover {
    background: #cc0000;
}

/* Estilo do título */
.anunciar h1 {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

/* Texto explicativo */
.anunciar p {
    font-size: 14px;
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

/* Estilização dos inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Estilização do botão */
.btn-anunciar {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.btn-anunciar:hover {
    background: #0056b3;
    transform: scale(1.05);
}
/* Oculta os formulários dinâmicos por padrão */
.form-dinamico {
    display: none;
}

/* Formulários com design elegante */
.anunciar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animação ao abrir */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Botão de fechar */
.btn-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-fechar:hover {
    background: #cc0000;
}

/* Estilização dos inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 80%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Botão */
.btn-anunciar {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.btn-anunciar:hover {
    background: #0056b3;
    transform: scale(1.05);
}
#form-imovel {
    max-height: 500px; /* Define a altura máxima do formulário */
    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #fff;
    width: 100%;
    max-width: 500px; /* Limita a largura para manter um layout elegante */
}
#form-carro {
    max-height: 400px; /* Define a altura máxima */
    overflow-y: auto;  /* Habilita o scroll vertical */
    padding: 15px; /* Espaçamento interno */
    border: 1px solid #ccc; /* Opcional: Borda para destacar */
    background: #fff; /* Fundo branco */
		    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */

}
#form-anuncio-container {
    max-height: 80vh; /* Ocupa no máximo 80% da tela */
    overflow-y: auto;
}





/* Logo */
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}



/* Ícone de Pesquisa */
.search-icon {
    font-size: 20px;
    color: #333;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #c99c00;
}

/* Botão Anunciar */
.btn-anunciar {
    background: #c99c00;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-anunciar:hover {
    background: #b38b00;
    transform: translateY(-2px);
}

/* Ícone de Usuário */
.user-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c99c00;
    object-fit: cover;
    cursor: pointer;
}

/* Ajuste para que o conteúdo não fique escondido pelo header */



/* Botão de Filtrar */
.search-fields button {
    grid-column: 1 / -1; /* Ocupa toda a largura */
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-fields button:hover {
    background-color: #0056b3; /* Azul mais escuro no hover */
}

/* Estilos para os Campos Específicos de Imóveis e Automóveis */
#campo-imovel,
#campo-carro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Estilos para a Lista de Bairros */
#bairros {
    display: none; /* Esconde a lista de bairros, pois é um datalist */
}




/* Estilos para o botão do menu mobile */
.menu-toggle {
    display: none; /* Escondido em desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}



.destaque-item {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
}



.carrossel-imagens {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrossel-img {
    width: 100%;
    display: none; /* Todas as imagens estão ocultas por padrão */
}

.carrossel-img.active {
    display: block; /* Apenas a imagem ativa é exibida */
}

.carrossel-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    z-index: 10;
}

.carrossel-seta-esquerda {
    left: 10px;
}

.carrossel-seta-direita {
    right: 10px;
}
.btn-view-more {
    background: #c99c00;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Estilos Premium para CTA Dinâmico */
.dynamic-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.dynamic-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-content {
    text-align: center;
}

/* Tipografia Premium */
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-highlight {
    color: #feb47b;
    font-weight: 500;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.cta-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    min-width: 150px;
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff7e5f;
    margin-bottom: 0.3rem;
}

.cta-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(254, 180, 123, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(254, 180, 123, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

/* Variações específicas */
.cta-seller .cta-button {
	       width: auto;
    font-size: 16px;

    background: linear-gradient(45deg, #4e54c8, #8f94fb);
    box-shadow: 0 10px 20px rgba(79, 84, 200, 0.3);
}

.cta-buyer .cta-button {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    box-shadow: 0 10px 20px rgba(17, 153, 142, 0.3);
}

.cta-guest .cta-button {
    background: linear-gradient(45deg, #8e2de2, #4a00e0);
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .cta-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
}


// Adicione este CSS adicional para os novos elementos
.cta-alert {
    background: rgba(255, 193, 7, 0.15);
    border-left: 4px solid #FFC107;
    padding: 12px;
    margin: 20px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.cta-alert i {
    color: #FFC107;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-alert p {
    margin: 0;
    font-size: 0.9rem;
}

.cta-error {
    background: rgba(244, 67, 54, 0.15);
    border-left: 4px solid #F44336;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.cta-error i {
    color: #F44336;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-error p {
    margin: 10px 0;
}

.cta-retry {
    background: #F44336;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
}

.loading-cta {
    text-align: center;
    padding: 20px;
}

.loading-cta .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}






/* Modal de Detalhes */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 25px;
    width: 85%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    border: none;
    z-index: 10;
}

.close-modal:hover {
    color: #333;
    transform: rotate(90deg);
}

.modal-carrossel {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.modal-img.active {
    display: block;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.detail-item.price {
    background: #e3f2fd;
    font-weight: bold;
}

.description-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-contato {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0;
    text-align: center;
}

.btn-contato:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-carrossel {
        height: 250px;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}






/* Efeito de overlay quando a busca está aberta */
body.search-ativo::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}




   /* Estilos base */
.mini-anuncios {
    padding: 40px 0;
    background: #1a1a1a;
}





/* Estilos das abas */
.anuncios-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #333;
    border: 1px solid #444;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #ccc;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #f1c40f;
    color: #1a1a1a;
    border-color: #f1c40f;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.7);
}

.tab-btn i {
    font-size: 1rem;
}

/* Container de scroll horizontal */
.horizontal-scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    display: flex
;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(74, 100, 145, 0.9) 100%), url(images/banner-background.jpg) center / cover no-repeat;
    color: #fff;
    text-align: center;
    width: unset;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform-style: preserve-3d;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #f1c40f;
    border-radius: 4px;
}

/* Grade de miniaturas */
.mini-grid {
    display: inline-flex;
    gap: 15px;
    padding: 5px;
    min-width: 100%;
    display: none;
}

.mini-grid.active {
    display: inline-flex;
}

/* Placeholder de carregamento */
.grid-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 40px 0;
    color: #ccc;
}

.spinner {
    border: 3px solid rgba(241, 196, 15, 0.2);
    border-top: 3px solid #f1c40f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}






/* Mensagens de erro e vazio */





/* Estilo da seção de destaques */


/* Estilo da seção de destaques */
.highlights {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    overflow: hidden;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(241, 196, 15, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.highlights .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.highlights h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f1c40f;
    margin: 15px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.highlights h2:hover::after {
    width: 120px;
}

/* Container dos cards de destaque */
.destaque-container {
    width: 100%;
    padding: 20px 0 40px;
    margin-bottom: 20px;
    position: relative;
}

/* Títulos das seções */
.section-title {
    font-size: 1.5rem;
    margin: 0 0 20px 15px;
    color: #fff;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #f1c40f;
    margin-right: 12px;
    font-size: 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: #f1c40f;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 80px;
}

/* Container dos cards com scroll horizontal */
.highlight-scroll {
    display: flex;
    gap: 25px;
    padding: 20px 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
	    scrollbar-width: thin;

}

/* Esconde a scrollbar padrão */
.highlight-scroll {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE e Edge */
}

.highlight-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
}

/* Cards individuais - Design modernizado */
.highlight-card {
    min-width: 300px;
    width: 300px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Efeito de metal moderno */
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Efeito de brilho aleatório */
.highlight-card.random-glow {
    animation: randomHighlight 6s infinite alternate;
}

@keyframes randomHighlight {
    0% {
        box-shadow: 0 0 0 rgba(241, 196, 15, 0);
    }
    100% {
        box-shadow: 0 0 30px rgba(241, 196, 15, 0.6);
    }
}

/* Container da imagem */
.highlight-card .card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.highlight-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.highlight-card:hover .card-image {
    transform: scale(1.1);
}

/* Badge de destaque */
.highlight-card .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Conteúdo do card */
.highlight-card .card-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: white;
}

.highlight-card .card-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlight-card .card-price {
    font-weight: 800;
    font-size: 20px;
    color: #f1c40f;
    margin: 0 0 15px;
    text-shadow: 0 2px 4px rgba(241, 196, 15, 0.3);
    letter-spacing: 0.5px;
}

.highlight-card .card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.highlight-card .card-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-card .card-details i {
    color: #3498db;
    width: 20px;
    text-align: center;
}

/* Efeito de hover */
.highlight-card .card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.8) 0%, rgba(41, 128, 185, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.highlight-card:hover .card-hover-effect {
    opacity: 1;
}

/* Botão "Ver Mais" */
.highlight-card .btn-view-more {
    background: white;
    color: #2980b9;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.highlight-card .btn-view-more:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navegação do scroll */
.scroll-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 15px 15px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.scroll-nav button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-nav button:hover {
    background: rgba(241, 196, 15, 0.8);
    transform: scale(1.1);
}

.scroll-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
}

/* Mensagens de estado */
.highlight-loading,
.highlight-empty,
.highlight-error {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.highlight-loading i,
.highlight-empty i,
.highlight-error i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.highlight-empty i {
    color: #f1c40f;
}

.highlight-error i {
    color: #e74c3c;
}

/* Botões de ação */
.btn-suggestion,


/* Responsividade */
@media (max-width: 768px) {
    .highlights h2 {
        font-size: 1.8rem;
    }
    
    .highlight-card {
        min-width: 260px;
        width: 260px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}





/* Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    line-height: 1.6;
}

#bairro {
    width: 80%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#bairros {
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
}


/* ============ HEADER STYLES ============ */


.logo-img {
    width: 130px;
    height: 120px;
}
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo do Logo - Tamanhos fixos */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#logoContainer {
    height: 80px; /* Altura fixa para o container do logo */
    display: flex;
    align-items: center;
}

.logo-placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem; /* Tamanho adequado para desktop */
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #f1c40f, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover .logo-placeholder {
    transform: scale(1.05);
}

/* Botão de Login */
.header-actions {
    display: flex;
    align-items: center;
}

.user-icon {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.user-icon p {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .logo-placeholder {
        font-size: 1.3rem;
    }
    
    .user-icon {
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .logo-placeholder {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
    
    .user-icon p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-placeholder {
        font-size: 1rem;
    }
    
    .user-icon {
        padding: 5px 10px;
    }
}
/* Estilo para a página de anúncio */
.anunciar {
    padding: 20px;
    background-color: #f4f4f4;
    margin: 20px 0;
    border-radius: 8px;
	    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */

}

.anunciar h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.anunciar .form-group {
    margin-bottom: 15px;
}

.anunciar label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.anunciar input, .anunciar select, .anunciar textarea {
    width: 80%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.anunciar textarea {
    resize: vertical;
}

.anunciar button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.anunciar button:hover {
    background-color: #0056b3;
}


/* Fundo escuro ao abrir o formulário */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 999;
}

/* Estilização do formulário */
.anunciar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animação suave ao exibir */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Botão de fechar */
.btn-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-fechar:hover {
    background: #cc0000;
}

/* Estilo do título */
.anunciar h1 {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

/* Texto explicativo */
.anunciar p {
    font-size: 14px;
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

/* Estilização dos inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Estilização do botão */
.btn-anunciar {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.btn-anunciar:hover {
    background: #0056b3;
    transform: scale(1.05);
}
/* Oculta os formulários dinâmicos por padrão */
.form-dinamico {
    display: none;
}

/* Formulários com design elegante */
.anunciar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animação ao abrir */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Botão de fechar */
.btn-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-fechar:hover {
    background: #cc0000;
}

/* Estilização dos inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 80%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Botão */
.btn-anunciar {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.btn-anunciar:hover {
    background: #0056b3;
    transform: scale(1.05);
}
#form-imovel {
    max-height: 500px; /* Define a altura máxima do formulário */
    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #fff;
    width: 100%;
    max-width: 500px; /* Limita a largura para manter um layout elegante */
}
#form-carro {
    max-height: 400px; /* Define a altura máxima */
    overflow-y: auto;  /* Habilita o scroll vertical */
    padding: 15px; /* Espaçamento interno */
    border: 1px solid #ccc; /* Opcional: Borda para destacar */
    background: #fff; /* Fundo branco */
		    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */

}
#form-anuncio-container {
    max-height: 80vh; /* Ocupa no máximo 80% da tela */
    overflow-y: auto;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}



/* Logo */
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* Menu */
/* Garanta que estas regras estão presentes */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #c99c00;
}

/* Ações do Header */
.header-actions {
    display: flex;
    align-items: center;
margin-right: 10px;
}

/* Ícone de Pesquisa */
.search-icon {
    font-size: 20px;
    color: #333;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #c99c00;
}

/* Botão Anunciar */
.btn-anunciar {
    background: #c99c00;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-anunciar:hover {
    background: #b38b00;
    transform: translateY(-2px);
}

/* Ícone de Usuário */
.user-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c99c00;
    object-fit: cover;
    cursor: pointer;
}

/* Ajuste para que o conteúdo não fique escondido pelo header */
main {
    font-size: 18px;
    color: #333;
    padding-top: 80px;
	background-color:#171f39;
}



/* Botão de Filtrar */
.search-fields button {
    grid-column: 1 / -1; /* Ocupa toda a largura */
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-fields button:hover {
    background-color: #0056b3; /* Azul mais escuro no hover */
}

/* Estilos para os Campos Específicos de Imóveis e Automóveis */
#campo-imovel,
#campo-carro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Estilos para a Lista de Bairros */
#bairros {
    display: none; /* Esconde a lista de bairros, pois é um datalist */
}



@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px; /* Ajuste conforme altura do header */
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}


.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff; /* Cor branca para contraste com o header */
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff; /* Cor branca para contraste com o header */
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

/* Menu Aberto */
.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger:before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger:after {
    transform: rotate(-45deg);
    top: 0;
}

/* Menu de navegação mobile - Versão Premium */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1001;
    }
    
    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .hamburger {
        width: 22px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .hamburger:before,
    .hamburger:after {
        content: '';
        position: absolute;
        width: 22px;
        height: 2px;
        background: #fff;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .hamburger:before {
        top: -6px;
    }
    
    .hamburger:after {
        top: 6px;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger:before {
        transform: rotate(45deg) translate(4px, 4px);
        background: #f1c40f;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger:after {
        transform: rotate(-45deg) translate(4px, -4px);
        background: #f1c40f;
    }
    
    .nav-menu {
        position: fixed;
        left: 50px;
        top: 0;
        bottom: 0;
        width: 70%;
        height: 80vh;
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(74, 100, 145, 0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 25px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu[aria-expanded="true"] {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 90%;
        max-width: 300px;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }
    
    .nav-menu[aria-expanded="true"] .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Efeito de entrada sequencial para os itens */
    .nav-menu[aria-expanded="true"] .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }
    .nav-menu[aria-expanded="true"] .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }
    .nav-menu[aria-expanded="true"] .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }
    .nav-menu[aria-expanded="true"] .nav-item:nth-child(4) {
        transition-delay: 0.4s;
    }
    .nav-menu[aria-expanded="true"] .nav-item:nth-child(5) {
        transition-delay: 0.5s;
    }
    
    .nav-link {
        color: #fff;
        padding: 15px 25px;
        width: auto;
        font-size: 1.2rem;
        font-weight: 500;
        position: relative;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .nav-link:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #f1c40f;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover {
        color: #f1c40f;
    }
    
    .nav-link:hover:before {
        width: 60%;
    }
    
    /* Header ajustado para mobile */
    .header {
        padding: 15px 0;
    }
    
    /* Container do logo ajustado */
    #logoContainer {
        height: 100px;
	margin-left: 10px;

    }
}
.destaque-item {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
}





/* Sobre */
.about {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about p {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
}



/* Contêiner do carrossel */
.carrossel {
    position: relative;
    width: 100%;       /* Faz o carrossel ocupar 100% da largura do seu contêiner pai */
    max-width: 400px;  /* Limita a largura máxima do carrossel a 400px */
    height: 250px;     /* Defina a altura desejada para o carrossel */
    margin: 0 auto;    /* Centraliza o carrossel horizontalmente */
    overflow: hidden;  /* Esconde qualquer parte da imagem que ultrapasse o carrossel */
    border-radius: 8px; /* Borda arredondada no carrossel */
}

/* Estilo das imagens dentro do carrossel */
.carrossel-imagens img {
    width: 100%;       /* A imagem ocupa 100% da largura do contêiner do carrossel */
    height: 100%;      /* A imagem ocupa 100% da altura do contêiner do carrossel */
    object-fit: cover; /* A imagem cobre a área do carrossel sem distorcer */
    display: block;    /* Garante que a imagem seja um bloco (sem espaçamento indesejado) */
    border-radius: 8px; /* Borda arredondada nas imagens */
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
/* Estilo do card */
.card {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 320px; /* Limita a largura máxima do card */
    border: 1px solid #ddd;
    border-radius: 10px; /* Borda arredondada */
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao passar o mouse sobre o card */
.card:hover {
    transform: translateY(-5px); /* Dá um efeito de elevação ao passar o mouse */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  
    
}

@media (max-width: 480px) {
   

    .card-content h4 {
        font-size: 1em; /* Ajusta o tamanho do título para telas muito pequenas */
    }

    .card-content p {
        font-size: 0.9em; /* Ajusta o tamanho da descrição */
    }

    .card-content .btn-view-more {
        padding: 6px 12px; /* Botão um pouco menor em telas menores */
    }
}



/* Estilos para o Container de Tipo de Pesquisa */
.tipo-pesquisa {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Estilos para cada Opção de Tipo */
.tipo-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
    text-align: center;
}

.tipo-option img {
    width: 120px;
    height: 70px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.tipo-option span {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

/* Efeitos de Hover e Seleção */
.tipo-option:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tipo-option:hover img {
    transform: scale(1.1);
}

.tipo-option.active {
    border-color: #007bff;
    background-color: #007bff;
    color: #fff;
}

.tipo-option.active span {
    color: #fff;
}

/* Responsividade para Dispositivos Móveis */
@media (max-width: 768px) {
    .tipo-pesquisa {
        flex-direction: column;
        align-items: center;
    }

    .tipo-option {
        width: 100%;
        max-width: 200px;
    }
}
/* Modal de Detalhes */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 25px;
    width: 85%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    border: none;
    z-index: 10;
}

.close-modal:hover {
    color: #333;
    transform: rotate(90deg);
}

.modal-carrossel {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.modal-img.active {
    display: block;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.detail-item.price {
    background: #e3f2fd;
    font-weight: bold;
}

.description-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-contato {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0;
    text-align: center;
}

.btn-contato:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-carrossel {
        height: 250px;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Botão de favoritos */
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.favorite-btn:hover {
    transform: scale(1.1);
    color: #ff6b6b;
}

.favorite-btn.favorited {
    color: #ff4757;
    background: rgba(255, 255, 255, 0.95);
}

.favorite-btn i {
    font-size: 18px;
}

/* Efeito de clique */
.favorite-btn:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Estilo específico para os cards de destaque */
.destaque-card .favorite-btn {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    background: transparent;
    color: #ccc;
}

.destaque-card .favorite-btn.favorited {
    color: #ff4757;
}







   /* Estilos base */
.mini-anuncios {
    padding: 40px 0;
    background: #1a1a1a;
}

.container {
    max-width: 100%;
    overflow: hidden;
}



/* Estilos das abas */
.anuncios-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #333;
    border: 1px solid #444;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #ccc;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #f1c40f;
    color: #1a1a1a;
    border-color: #f1c40f;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.7);
}

.tab-btn i {
    font-size: 1rem;
}

/* Container de scroll horizontal */
.horizontal-scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #f1c40f;
    border-radius: 4px;
}

/* Grade de miniaturas */
.mini-grid {
    display: inline-flex;
    gap: 15px;
    padding: 5px;
    min-width: 100%;
    display: none;
}

.mini-grid.active {
    display: inline-flex;
}

/* Placeholder de carregamento */
.grid-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 40px 0;
    color: #ccc;
}

.spinner {
    border: 3px solid rgba(241, 196, 15, 0.2);
    border-top: 3px solid #f1c40f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mini Cards Metalizados */
.mini-card {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid #555;
    opacity: 0;
    transform: scale(0.8);
    animation: cardEntrance 0.5s forwards;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: 1;
}

.mini-card:hover {
    border-color: #f1c40f;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.7);
    transform: scale(1.1);
    z-index: 10;
}

.mini-card .mini-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-card .mini-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: bold;
}

/* Efeito de luz aleatório */
@keyframes randomGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(241, 196, 15, 0); }
    50% { box-shadow: 0 0 15px rgba(241, 196, 15, 0.7); }
}

/* Mensagens de erro e vazio */
.error-message, .no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 40px 0;
    color: #e74c3c;
}

.error-message i, .no-results i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.retry-btn {
    margin-top: 15px;
    padding: 5px 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.8rem;
}

.retry-btn:hover {
    background: #2980b9;
}






/* ============ BANNER SECTION ============ */
section.banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(74, 100, 145, 0.9) 100%),
        url('images/banner-background.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
    margin: 20px auto;
    max-width: 1200px;
    width: 95%;
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-top: 80px; /* Espaço para o header fixo */
}

/* Efeito de reflexo metalizado */
section.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Overlay para melhor contraste */
section.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Conteúdo do Banner */
section.banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    animation: fadeIn 1s ease-out;
}

/* Título do Banner */
section.banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(52, 152, 219, 0.3);
    background: linear-gradient(to right, #f1c40f, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    line-height: 1.2;
}

/* Efeito de brilho no título */
section.banner h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #f1c40f, transparent);
    border-radius: 50%;
    filter: blur(2px);
}

/* Texto do Banner */
section.banner p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    font-weight: 300;
}

/* Botão do Banner */
section.banner .btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 15px rgba(52, 152, 219, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efeitos hover no botão */
section.banner .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(52, 152, 219, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* Efeito de brilho ao passar o mouse */
section.banner .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

section.banner .btn:hover::before {
    left: 100%;
}

/* Efeitos de partículas (opcional) */
.banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite linear;
    filter: blur(1px);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 1200px) {
    section.banner {
        height: 500px;
    }
    
    section.banner h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    section.banner {
        height: 450px;
    }
    
    section.banner h1 {
        font-size: 2.5rem;
    }
    
    section.banner p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    section.banner {
        height: 400px;
        margin-top: 25px;
    }
    
    section.banner h1 {
        font-size: 2.2rem;
    }
    
    section.banner p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    section.banner .btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    section.banner {
        height: 350px;
        border-radius: 12px;
	  width: 100%;

    }
    
    section.banner h1 {
        font-size: 1.8rem;
    }
    
    section.banner p {
        font-size: 1rem;
    }
    
    section.banner .banner-content {
        padding: 20px;
    }
}

/* ============ ANIMAÇÕES ============ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:root {
    --gradient-primary: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --color-primary: #2c5364;
    --color-secondary: #203a43;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ffc107, #4ecdc4);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 130px;
}

.footer-slogan {
    font-size: 1.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

.link-group {
    margin-bottom: 1.5rem;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
	color: #203b44;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-link {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #22404a;
    margin-bottom: 1rem;
    font-size: 18px;
}

.contact-info i {
    width: 20px;
    text-align: center;
}
@media (min-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 3rem;
        margin: 0 auto 3rem auto;
        max-width: 1200px;
        padding: 0 1rem;
    }

    .footer-brand,
    .link-group {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }

    .link-group a {
        margin-bottom: 0;
    }

    .link-title {
        margin-bottom: 0;
        margin-right: 1rem;
    }
}



.social-links {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
	    margin-top: 15px;

	
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
	    justify-content: center;

}

.social-link:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .link-group {
        text-align: center;
    }
    
    .link-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .contact-info {
        justify-content: center;
    }
}
/* Estilos para as recomendações */
.recommendation-title {
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    width: 100%;
}

/* Cards de insights */
.insight-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.insight-card h3 {
    color: var(--color-primary);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-metrics {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
}

.metric .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.metric .label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.tips-list {
    padding-left: 1.2rem;
    margin: 1.5rem 0;
}

.tips-list li {
    margin-bottom: 0.8rem;
}

.btn-insight {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
}

.btn-insight:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-show-all {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    cursor: pointer;
}


.suggestion-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-suggestion {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-suggestion:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}




/* Animação para estatísticas */
.cta-stat-number {
    transition: all 0.3s ease;
}

.stat-updating {
    opacity: 0.5;
    transform: scale(0.9);
}

.stat-pulse {
    animation: statPulse 0.5s ease;
    color: #4e54c8; /* Cor de destaque */
}

@keyframes statPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.loading-cta {
    text-align: center;
    padding: 20px;
}

.loading-cta .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #4e54c8;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.visualizacoes-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.visualizacoes-badge i {
    font-size: 0.9em;
}




.destaque-card {
    min-width: 280px;
    border-radius: 8px;
	background-color: whitesmoke;

    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.destaque-card:hover {
    transform: translateY(-5px);
}

.destaque-imagem-container {
    position: relative;
    height: 180px;
}

.destaque-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destaque-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
}

.destaque-tag {
    background-color: #ff5722;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.visualizacoes-badge {
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.destaque-info {
    padding: 1rem;
}

.destaque-info h3 {
    margin: 0 0 0.5rem 0;
	    max-width: 300px;

    font-size: 1.1rem;
	margin-right: 10px;
    color: #333;
}

.negociacao-tipo {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.negociacao-tipo.aluguel {
    background-color: #e3f2fd;
    color: #1976d2;
}

.negociacao-tipo.venda {
    background-color: #e8f5e9;
    color: #388e3c;
}

.destaque-info p {
    margin: 0.3rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.aluguel-info {
    background-color: #f5f5f5;
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.aluguel-info p {
    margin: 0.2rem 0;
}

.destaque-preco {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.destaque-preco span {
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.1rem;
}

.destaque-btn {
    background-color: #1976d2;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background-color 0.3s;
}

.destaque-btn:hover {
    background-color: #1565c0;
}

.footer-bottom {
    text-align: center;
    background-color: #111;
    color: #ccc;
    font-size: 18px;
    border-top: 1px solid #444;
	    padding-bottom: 15px;
}

.footer-bottom a {
    color: #f2f2f2;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}
/* Estilo para o campo cidade */
#cidade {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Ajuste para os campos de filtro */
.campos-busca {
    margin-top: 15px;
}



.no-results {
    text-align: center;
    padding: 20px;
    color: #888;
}


/* ============= SEARCH OVERLAY ============= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-overlay[hidden] {
    display: block !important;
    opacity: 0;
    visibility: hidden;
}

.search-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.btn-fechar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    padding: 0.5rem;
}

.btn-fechar:hover {
    color: #333;
}

.search-overlay h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-overlay h2 i {
    color: #3498db;
}

.search-form {
    margin-top: 1.5rem;
}

.search-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}



/* Campos de Formulário */
.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row > * {
    flex: 1;
}

.input-with-icon,
.select-with-icon {
    position: relative;
}

.input-with-icon i,
.select-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1rem;
}

.input-with-icon input,
.select-with-icon select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.input-with-icon input:focus,
.select-with-icon select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.select-with-icon select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/* Radio e Checkbox */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #bdc3c7;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: border-color 0.2s ease;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3498db;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3498db;
}

.checkboxes {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #3498db;
    background-color: #3498db;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
}

/* Botões */
.btn-buscar {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-buscar:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-avancada {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.btn-avancada:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Resultados */
.resultados-container {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.resultados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.resultados-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.resultados-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ordenacao {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-limpar-filtros {
    background: none;
    border: none;
    color: #e74c3c;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.btn-limpar-filtros:hover {
    color: #c0392b;
}

.lista-resultados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sem-resultados {
    text-align: center;
    padding: 3rem 0;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.empty-state h4 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.carregando {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.spinner-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-paginacao {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-paginacao:hover:not(:disabled) {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.btn-paginacao:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contador-pagina {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .search-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resultados-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .resultados-controls {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .ordenacao {
        width: 100%;
    }
    
    .ordenacao select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tipo-pesquisa {
        flex-direction: column;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .checkboxes {
        flex-direction: column;
        gap: 0.75rem;
    }
}


/* Estilo do botão flutuante */
.btn-busca-flutuante {
	    display: none;

    position: fixed;
        top: 134px;
    right: 2px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-busca-flutuante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Modal de Boas-Vindas */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.welcome-modal.active {
    opacity: 1;
    visibility: visible;
}

.welcome-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.welcome-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.welcome-close-btn:hover {
    color: #333;
}

.welcome-header {
    padding: 30px 0px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.welcome-header h2 {
    color: #2c3e50;
    margin-top: 15px;
    font-size: 1.8rem;
}

.welcome-logo {
    height: 145px;
    width: auto;
}

.welcome-body {
    padding: 25px 30px;
}

.welcome-body p {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.feature h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    text-align: center;
}

.welcome-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.welcome-footer .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.welcome-checkbox {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-checkbox input {
    margin-right: 8px;
}

.welcome-checkbox label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-body p {
        font-size: 1rem;
    }
}

/* Estilos para o novo modal */
.welcome-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 5px;
    font-weight: 400;
}

.user-type-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.user-type-btn {
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    background: #f9f9f9;
    border-radius: 8px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-type-btn i {
    font-size: 1.1rem;
}

.user-type-btn.active {
    border-color: #3498db;
    background: #e8f4fc;
    color: #2c3e50;
}

.welcome-content {
    display: none;
}

.welcome-content.active {
    display: block;
}

.benefits-list {
    margin-top: 25px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.benefits-list h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.benefits-list i {
    color: #27ae60;
}
/* Estilos para o contador de usuários */
.user-counter-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 20px auto;
}

.user-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.user-counter i {
    font-size: 2.5rem;
    color: #3498db;
}

.counter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#userCount {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    transition: all 0.5s ease;
}

.counter-label {
    font-size: 0.9rem;
    color: #666;
	    font-size: 19px;
    text-align: left;
}

.counter-subtext {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
	    font-size: 20px;
    font-style: italic;
}

/* Animação do contador */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.counter-animate {
    animation: pulse 0.5s ease;
    color: #e74c3c !important;
}

/* Efeito de digitação para o número */


.count-up {
    animation: countUp 0.5s ease-out;
}
/* Estilos para o contador no footer */
.user-counter-footer {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-counter-footer .counter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-counter-footer #userCount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-counter-footer .counter-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animação para o footer */
.user-counter-footer #userCount.counter-animate {
    animation: pulseFooter 0.5s ease;
    color: #f1c40f !important;
}

@keyframes pulseFooter {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



@keyframes countUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Evita scroll quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* Melhora a aparência dos links no menu mobile */
@media (max-width: 768px) {
    .nav-link {
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}
/* Estilo para a data de publicação */
.data-publicacao {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.data-publicacao i {
    margin-right: 5px;
    color: var(--primary);
}
#contador-online {
    color: #203a43;
}
