/* Estilos para a página de listagem de imóveis */



/* Título da página */
.imoveis-listagem h1 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/* Container de imóveis */
.imoveis-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Filtro lateral */
.filtro-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.filtro-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.filtro-card h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.range-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-slider input {
    flex: 1;
}

.range-slider span {
    min-width: 80px;
    text-align: right;
    font-weight: 500;
}

.btn-filtrar {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.btn-filtrar:hover {
    background-color: #2980b9;
}

.btn-limpar {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #777;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.btn-limpar:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* Lista de imóveis */
.imoveis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.imoveis-count {
    color: #777;
}

.imoveis-ordenar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.imoveis-ordenar select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Sem resultados */
.sem-resultados {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sem-resultados i {
    font-size: 50px;
    color: #ccc;
    margin-bottom: 20px;
}

.sem-resultados h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.sem-resultados p {
    color: #777;
}

/* Paginação */
.paginacao {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.paginacao ul {
    display: flex;
    gap: 5px;
}

.paginacao ul li {
    display: inline-block;
}

.paginacao ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s;
}

.paginacao ul li.active a {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

.paginacao ul li a:hover {
    background-color: #f5f5f5;
}

.paginacao ul li.active a:hover {
    background-color: #2980b9;
}

.paginacao ul li.ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #777;
}

/* Responsividade */
@media (max-width: 992px) {
    .imoveis-container {
        grid-template-columns: 1fr;
    }
    
    .filtro-sidebar {
        order: 1;
    }
    
    .imoveis-lista {
        order: 0;
    }
}

@media (max-width: 768px) {
    .imoveis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .imoveis-listagem h1 {
        font-size: 24px;
    }
    
    .paginacao ul li a {
        width: 35px;
        height: 35px;
    }
}
























/* Estilos para a página de detalhes do imóvel */

.imovel-detalhes-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    position: relative;
    padding-right: 20px;
    margin-right: 10px;
    color: #777;
}

.breadcrumb ul li:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: 0;
    color: #ccc;
}

.breadcrumb ul li:last-child {
    color: #333;
    font-weight: 500;
}

.breadcrumb ul li a {
    color: #777;
    transition: color 0.3s;
}

.breadcrumb ul li a:hover {
    color: #3498db;
}

/* Galeria de imagens */
.imovel-galeria {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.imovel-main-img {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.imovel-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imovel-main-img:hover img {
    transform: scale(1.05);
}

.imovel-main-img .status-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    font-size: 16px;
    padding: 8px 15px;
}

.imovel-main-img .fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.imovel-main-img .fullscreen-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.imovel-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 20px;
}

.imovel-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.imovel-thumbnails img:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.imovel-thumbnails img.active {
    border-color: #3498db;
}

/* Informações do imóvel */
.imovel-info {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: fadeInUp 0.8s ease;
}

.imovel-titulo {
    margin-bottom: 20px;
}

.imovel-titulo h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.imovel-titulo .imovel-local {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 18px;
}

.imovel-titulo .imovel-local i {
    margin-right: 8px;
    color: #3498db;
}

.imovel-preco {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
}

.imovel-preco::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #3498db;
    margin-top: 10px;
}

.imovel-atributos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.imovel-atributo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.imovel-atributo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #3498db;
    color: #fff;
}

.imovel-atributo i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #3498db;
    transition: all 0.3s;
}

.imovel-atributo:hover i {
    color: #fff;
}

.imovel-atributo span {
    font-size: 18px;
    font-weight: 600;
}

.imovel-atributo small {
    font-size: 14px;
    color: #777;
    transition: all 0.3s;
}

.imovel-atributo:hover small {
    color: rgba(255, 255, 255, 0.8);
}

.imovel-descricao {
    margin-bottom: 30px;
}

.imovel-descricao h2 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.imovel-descricao h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    bottom: 0;
    left: 0;
}

.imovel-descricao p {
    line-height: 1.8;
    color: #555;
}

.imovel-caracteristicas {
    margin-bottom: 30px;
}

.imovel-caracteristicas h2 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.imovel-caracteristicas h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    bottom: 0;
    left: 0;
}

.caracteristicas-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.caracteristica-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.caracteristica-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.caracteristica-item i {
    margin-right: 10px;
    color: #3498db;
}

.imovel-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-acao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-acao i {
    margin-right: 10px;
}

.btn-contato {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-contato:hover {
    background-color: #2980b9;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-agendar {
    background-color: #2ecc71;
    color: #fff;
}

.btn-agendar:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-favorito {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-favorito:hover {
    background-color: #f1c40f;
    color: #fff;
    border-color: #f1c40f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.btn-compartilhar {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-compartilhar:hover {
    background-color: #9b59b6;
    color: #fff;
    border-color: #9b59b6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

/* Formulário de contato */
.imovel-contato {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: fadeInUp 1s ease;
}

.imovel-contato h2 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.imovel-contato h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    bottom: 0;
    left: 0;
}

.corretor-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.corretor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #3498db;
}

.corretor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corretor-detalhes h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.corretor-detalhes p {
    color: #777;
    margin-bottom: 10px;
}

.corretor-contatos {
    display: flex;
    gap: 15px;
}

.corretor-contatos a {
    display: flex;
    align-items: center;
    color: #3498db;
    transition: all 0.3s;
}

.corretor-contatos a:hover {
    color: #2980b9;
    transform: translateY(-2px);
}

.corretor-contatos a i {
    margin-right: 5px;
}

/* Imóveis similares */
.imoveis-similares {
    margin-top: 50px;
    animation: fadeInUp 1.2s ease;
}

.imoveis-similares h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.imoveis-similares h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 15px auto 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    color: #3498db;
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #3498db;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 0;
    color: #fff;
    font-size: 16px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsividade */
@media (min-width: 992px) {
    .imovel-detalhes-container {
        grid-template-columns: 2fr 1fr;
    }
    
    .imovel-main-img {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .imovel-main-img {
        height: 400px;
    }
    
    .imovel-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .imovel-thumbnails img {
        height: 60px;
    }
    
    .imovel-titulo h1 {
        font-size: 28px;
    }
    
    .imovel-preco {
        font-size: 28px;
    }
    
    .imovel-atributos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .caracteristicas-lista {
        grid-template-columns: 1fr 1fr;
    }
    
    .imovel-acoes {
        flex-direction: column;
    }
    
    .btn-acao {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .imovel-main-img {
        height: 300px;
    }
    
    .imovel-titulo h1 {
        font-size: 24px;
    }
    
    .imovel-preco {
        font-size: 24px;
    }
    
    .imovel-atributos {
        grid-template-columns: 1fr;
    }
    
    .caracteristicas-lista {
        grid-template-columns: 1fr;
    }
    
    .corretor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .corretor-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .corretor-contatos {
        justify-content: center;
    }
}