* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}


html {
    scroll-behavior: smooth;
}


body {
    color: #222;
}


/* =========================================
   HEADER
========================================= */

header {
    position: fixed;

    top: 0;

    width: 100%;

    padding: 25px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    z-index: 100;

    transition: .3s;
}


header.active {
    background: #111;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, .25);
}


.logo {
    font-size: 40px;
    font-weight: 800;
    text-decoration: none;
    color: white;
}


.logo span {
    color: #c9a45c;
}


nav a {
    color: white;

    text-decoration: none;

    margin-left: 35px;

    font-weight: 600;
}


.menu {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    height: 100vh;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .7),
            rgba(0, 0, 0, .2)
        ),
        url("/uploads/photo-1600607687939-ce8a6c25118c.jpg")
        center / cover;

    display: flex;

    align-items: center;

    padding: 8%;

    color: white;
}


.hero h1 {
    font-size: 70px;

    line-height: 1.1;
}


.hero p {
    font-size: 20px;

    margin: 30px 0;

    max-width: 600px;
}


/* =========================================
   BOTÕES
========================================= */

.btn,
.outline {
    padding: 16px 35px;

    border-radius: 40px;

    text-decoration: none;

    margin-right: 15px;
}


.btn {
    background: #c9a45c;

    color: white;
}


.outline {
    border: 1px solid white;

    color: white;
}


/* =========================================
   SEÇÕES
========================================= */

section {
    padding: 90px 8%;
}


.title {
    text-align: center;

    margin-bottom: 50px;
}


.title h2,
h2 {
    font-size: 40px;
}


/* =========================================
   CARDS
========================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(330px, 1fr));

    gap: 35px;
}


.card {
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px #0002;
}


.card img {
    width: 100%;

    height: 250px;

    object-fit: cover;
}


.card div {
    padding: 25px;
}


/* =========================================
   SOBRE
========================================= */

.sobre {
    background: #f6f3ee;

    display: flex;

    gap: 50px;

    align-items: center;
}


.sobre img {
    width: 45%;

    border-radius: 25px;
}


.numbers {
    display: flex;

    gap: 40px;

    margin-top: 40px;
}


.numbers strong {
    font-size: 35px;

    color: #c9a45c;
}


/* =========================================
   SERVIÇOS
========================================= */

.servicos {
    text-align: center;
}


.services {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
}


.services div {
    padding: 35px;

    box-shadow:
        0 10px 30px #0002;

    border-radius: 20px;
}


/* =========================================
   CONTATO
========================================= */

.contato {
    background: #111;

    color: white;

    text-align: center;
}


form {
    max-width: 600px;

    margin: 40px auto;

    display: grid;

    gap: 15px;
}


input,
textarea {
    padding: 15px;

    border-radius: 10px;

    border: 0;
}


button {
    padding: 15px;

    background: #c9a45c;

    border: 0;

    color: white;

    font-weight: bold;

    border-radius: 30px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #111;

    color: #aaa;

    text-align: center;

    padding: 30px;

    font-size: 14px;

    margin-top: auto;
}


/* =========================================
   FOOTER SEMPRE NO FINAL
========================================= */

html,
body {
    min-height: 100%;
}


body {
    display: flex;

    flex-direction: column;

    min-height: 100vh;
}


main {
    flex: 1;
}


/* =========================================
   CARDS DE IMÓVEIS
========================================= */

.card-imovel {
    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .12);

    transition: .35s;
}


.card-imovel:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .2);
}


/* =========================================
   IMAGEM DO CARD
========================================= */

.imagem-box {
    height: 280px;

    position: relative;

    overflow: hidden;
}


.imagem-box img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;
}


.card-imovel:hover img {
    transform: scale(1.08);
}


/* =========================================
   BADGE
========================================= */

.badge {
    position: absolute;

    top: 20px;

    left: 20px;

    background: #c9a45c;

    color: white;

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: bold;
}


/* =========================================
   CONTEÚDO DO CARD
========================================= */

.conteudo-imovel {
    padding: 25px;
}


.conteudo-imovel h3 {
    font-size: 25px;

    margin-bottom: 12px;
}


.localizacao {
    color: #777;

    margin-bottom: 15px;
}


.preco {
    font-size: 25px;

    font-weight: 800;

    color: #c9a45c;

    margin-bottom: 20px;
}


.dados {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 25px;
}


.dados span {
    background: #f5f3ef;

    padding: 10px 15px;

    border-radius: 12px;

    font-size: 14px;
}


/* =========================================
   BOTÃO DOS CARDS
========================================= */

.btn-detalhes {
    display: block;

    text-align: center;

    background: #111;

    color: white;

    padding: 15px;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}


.btn-detalhes:hover {
    background: #c9a45c;
}


/* =========================================
   LOADING
========================================= */

.loading {
    text-align: center;

    font-size: 22px;

    padding: 100px 20px;
}


/* =========================================================
   PÁGINA DE DETALHES — NOVO DESIGN
========================================================= */

body.pagina-detalhe {
    background: #f5f5f3;
    color: #222;
}


/* =========================================================
   HEADER
========================================================= */

body.pagina-detalhe header {
    background: #111;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .15);
}


/* =========================================================
   CONTAINER GERAL
========================================================= */

#detalhe-imovel {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
    padding: 135px 0 90px;
}


/* =========================================================
   GALERIA
========================================================= */

.detalhe-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 40px;
    align-items: start;
}


/* =========================================================
   GALERIA PRINCIPAL
========================================================= */

.galeria {
    min-width: 0;
}


.foto-principal {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #ddd;

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .12);
}


.foto-principal {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #e9e9e7;

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .12);

    display: flex;
    align-items: center;
    justify-content: center;
}


.foto-principal img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    transition: opacity .25s ease;
}


/* =========================================================
   SETAS
========================================================= */

.seta {
    position: absolute;

    top: 50%;

    width: 48px;
    height: 48px;

    padding: 0;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background: rgba(0,0,0,.55);

    color: white;

    font-size: 20px;

    cursor: pointer;

    z-index: 5;

    transition: .25s;
}


.seta:hover {
    background: #c9a45c;

    transform:
        translateY(-50%)
        scale(1.06);
}


.seta.esquerda {
    left: 22px;
}


.seta.direita {
    right: 22px;
}


/* =========================================================
   MINIATURAS
========================================================= */

.miniaturas {
    display: flex;

    gap: 10px;

    margin-top: 14px;

    overflow-x: auto;

    padding: 2px 2px 8px;
}


.miniaturas img {
    flex: 0 0 86px;

    width: 86px;
    height: 65px;

    object-fit: cover;

    border-radius: 8px;

    border: 2px solid transparent;

    opacity: .55;

    cursor: pointer;

    transition: .25s;
}


.miniaturas img:hover {
    opacity: 1;
}


.miniaturas img.ativa {
    opacity: 1;

    border-color: #c9a45c;
}


/* =========================================================
   COLUNA LATERAL
========================================================= */

.info-imovel {
    position: sticky;
    top: 110px;

    min-width: 0;
}


/* =========================================================
   CABEÇALHO DO IMÓVEL
========================================================= */

.info-header {
    padding-bottom: 25px;

    border-bottom: 1px solid #ddd;
}


.info-header .tipo {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 18px;

    border-radius: 30px;

    background: #eee9df;

    color: #a17c35;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.info-imovel h1 {
    margin: 0 0 14px;

    color: #181818;

    font-size: clamp(30px, 3vw, 44px);

    line-height: 1.08;

    letter-spacing: -.8px;
}


.localizacao-detalhe {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 14px;

    line-height: 1.5;
}


.localizacao-detalhe span:first-child {
    color: #c9a45c;

    font-size: 17px;
}


/* =========================================================
   PREÇO
========================================================= */

.preco-detalhe {
    margin-top: 24px;
}


.preco-detalhe small {
    display: block;

    margin-bottom: 5px;

    color: #888;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.preco-detalhe strong {
    display: block;

    color: #b28b43;

    font-size: 32px;

    line-height: 1.1;
}


/* =========================================================
   CARACTERÍSTICAS PRINCIPAIS
========================================================= */

.caracteristicas {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin: 25px 0;
}


.caracteristicas div {
    padding: 15px 8px;

    background: white;

    border: 1px solid #e6e4df;

    border-radius: 12px;

    text-align: center;

    color: #333;

    font-size: 13px;

    line-height: 1.4;
}


.caracteristicas strong {
    display: block;

    margin-bottom: 3px;

    color: #222;

    font-size: 18px;
}


/* =========================================================
   BOTÃO WHATSAPP
========================================================= */

.btn-visita {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 55px;

    margin-top: 20px;

    border-radius: 10px;

    background: #111;

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: .25s;
}


.btn-visita:hover {
    background: #c9a45c;

    transform: translateY(-2px);
}


/* =========================================================
   CONTEÚDO ABAIXO DA GALERIA
========================================================= */

.detalhe-conteudo {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    /* mantém espaço adequado entre conteúdo e lateral */
    column-gap: 40px;

    /* DIMINUI O ESPAÇO ENTRE O CARROSSEL E "SOBRE" */
    margin-top: 10px;

    padding-top: 10px;

    border-top: 1px solid #ddd;
}


/* =========================================================
   TÍTULOS DAS SEÇÕES
========================================================= */

.detalhe-secao {
    margin-bottom: 30px;
}

.detalhe-secao:first-child {
    margin-bottom: 45px;
}


.detalhe-secao h2 {
    margin: 0 0 18px;

    color: #191919;

    font-size: 25px;

    letter-spacing: -.3px;
}



/* =========================================================
   DESCRIÇÃO
========================================================= */

.descricao-imovel {
    color: #666;

    font-size: 15px;

    line-height: 1.4;

    white-space: pre-line;

    margin-bottom: 0;
}


/* =========================================================
   FICHA TÉCNICA
========================================================= */

.informacoes-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    border: 1px solid #e1dfda;

    border-radius: 12px;

    background: #e1dfda;
}


.informacao {
    min-width: 0;

    padding: 18px 20px;

    background: white;
}

.informacao-endereco {
    min-width: 0;

    padding: 18px 20px;

    background: white;
}


.informacao span {
    display: block;

    margin-bottom: 6px;

    color: #999;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}


.informacao strong {
    display: block;

    color: #222;

    font-size: 14px;

    line-height: 1.5;

    overflow-wrap: anywhere;
}


.informacao small {
    display: block;

    margin-top: 4px;

    color: #c9a45c;

    font-size: 11px;

    font-weight: 700;
}


.informacao-endereco {
    grid-column: 1 / -1;
}


/* =========================================================
   LATERAL INFERIOR
========================================================= */

.detalhe-lateral {
    position: sticky;

    top: 110px;
}


.contato-card {
    padding: 28px;

    background: #111;

    border-radius: 15px;

    color: white;
}


.contato-card h3 {
    margin: 0 0 10px;

    font-size: 22px;
}


.contato-card p {
    margin: 0 0 22px;

    color: #bbb;

    font-size: 14px;

    line-height: 1.7;
}


.contato-card .btn {
    display: block;

    width: 100%;

    margin: 0;

    text-align: center;
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 1100px) {

    #detalhe-imovel {
        width: min(100% - 50px, 900px);

        padding-top: 125px;
    }


    .detalhe-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .info-imovel {
        position: static;

        padding: 30px;

        background: white;

        border-radius: 16px;

        box-shadow:
            0 10px 35px rgba(0,0,0,.07);
    }


    .detalhe-conteudo {
        grid-template-columns: 1fr;

        gap: 0;

        margin-top: 50px;

        padding-top: 45px;
    }


    .detalhe-lateral {
        position: static;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 700px) {

    #detalhe-imovel {
        width: calc(100% - 30px);

        padding-top: 105px;

        padding-bottom: 50px;
    }


    .foto-principal {
        aspect-ratio: 4 / 3;

        border-radius: 14px;
    }


    .seta {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }


    .seta.esquerda {
        left: 12px;
    }


    .seta.direita {
        right: 12px;
    }


    .miniaturas img {
        flex-basis: 72px;

        width: 72px;
        height: 55px;
    }


    .info-imovel {
        padding: 23px;

        border-radius: 14px;
    }


    .info-imovel h1 {
        font-size: 28px;
    }


    .preco-detalhe strong {
        font-size: 27px;
    }


    .caracteristicas {
        gap: 7px;
    }


    .caracteristicas div {
        padding: 13px 5px;

        font-size: 12px;
    }


    .caracteristicas strong {
        font-size: 16px;
    }


    .detalhe-conteudo {
        margin-top: 40px;

        padding-top: 35px;
    }


    .detalhe-secao {
        margin-bottom: 38px;
    }


    .detalhe-secao h2 {
        font-size: 22px;
    }


    .informacoes-grid {
        grid-template-columns: 1fr;
    }


    .informacao-endereco {
        grid-column: auto;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 480px) {

    #detalhe-imovel {
        width: calc(100% - 22px);

        padding-top: 95px;
    }


    .foto-principal {
        aspect-ratio: 4 / 3;
    }


    .info-imovel {
        padding: 20px;
    }


    .info-header {
        padding-bottom: 20px;
    }


    .info-imovel h1 {
        font-size: 25px;

        letter-spacing: -.4px;
    }


    .localizacao-detalhe {
        font-size: 13px;
    }


    .preco-detalhe {
        margin-top: 20px;
    }


    .preco-detalhe strong {
        font-size: 25px;
    }


    .caracteristicas {
        grid-template-columns:
            repeat(3, 1fr);

        margin: 20px 0;
    }


    .caracteristicas div {
        padding: 11px 3px;

        border-radius: 9px;
    }


    .caracteristicas strong {
        font-size: 15px;
    }


    .btn-visita {
        min-height: 52px;
    }


    .detalhe-conteudo {
        margin-top: 35px;

        padding-top: 30px;
    }


    .informacao {
        padding: 16px;
    }


    .contato-card {
        padding: 23px;
    }
}


/* =========================================================
   CORREÇÃO — SEÇÕES DA PÁGINA DE DETALHES
========================================================= */

.detalhe-secao {
    padding: 0;
    margin: 0 0 40px;
}


/* Aproxima "Sobre este imóvel" de "Informações do imóvel" */
.detalhe-secao:first-child {
    margin-bottom: 40px;
}


/* Título das seções */
.detalhe-secao h2 {
    margin: 0 0 18px;
}

#imoveis h2 {
    margin-bottom: 20px;
}

.ver-todos-container {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.btn-ver-todos {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 15px 30px;

    background: #111;
    color: white;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;
}

.btn-ver-todos:hover {
    background: #c9a45c;
    transform: translateY(-2px);
}

.btn-ver-todos span {
    font-size: 20px;
}

/* =========================================
   HEADER FIXO — PÁGINA DE IMÓVEIS
========================================= */

body.pagina-imoveis header {
    background: #111;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, .25);
}

/* =================================
FOTOS ADMINISTRATIVAS
================================= */

.preview-fotos {

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(140px, 1fr));

    gap: 15px;

    margin-top: 20px;

}


.foto-admin {

    position: relative;

    height: 140px;

    border-radius: 14px;

    overflow: hidden;

    background: #eee;

    box-shadow:
        0 5px 15px
        rgba(0,0,0,.08);

}


.foto-admin img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.btn-remover-foto {

    position: absolute;

    top: 8px;

    right: 8px;

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: rgba(0,0,0,.75);

    color: white;

    font-size: 22px;

    line-height: 28px;

    text-align: center;

    padding: 0;

    cursor: pointer;

    z-index: 5;

    transition:
        .2s;

}


.btn-remover-foto:hover {

    background: #c62828;

    transform: scale(1.08);

}


.foto-nova {

    border:
        2px solid #c9a45c;

}


.foto-nova::after {

    content:
        "NOVA";

    position: absolute;

    bottom: 8px;

    left: 8px;

    background: #c9a45c;

    color: white;

    padding: 4px 8px;

    border-radius: 8px;

    font-size: 10px;

    font-weight: bold;

}

/* =========================================================
   FILTROS DE IMÓVEIS
========================================================= */

.filtros-imoveis {

    width: min(
        1200px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 25px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr)
        auto;

    gap: 15px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .10);

    position: relative;

    z-index: 5;

}


/* =========================================================
   GRUPO DO FILTRO
========================================================= */

.filtro-grupo {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


/* =========================================================
   LABEL
========================================================= */

.filtro-grupo label {

    color: #555;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;

}


/* =========================================================
   INPUTS E SELECTS
========================================================= */

.filtro-grupo input,
.filtro-grupo select {

    width: 100%;

    height: 50px;

    padding: 0 15px;

    border: 1px solid #ddd;

    border-radius: 10px;

    background: #fafafa;

    color: #222;

    font-family: Montserrat, sans-serif;

    font-size: 14px;

    outline: none;

    transition: .25s;

}


/* =========================================================
   FOCUS
========================================================= */

.filtro-grupo input:focus,
.filtro-grupo select:focus {

    border-color: #c9a45c;

    background: white;

    box-shadow:
        0 0 0 3px rgba(
            201,
            164,
            92,
            .12
        );

}


/* =========================================================
   BOTÃO LIMPAR
========================================================= */

.btn-limpar-filtros {

    align-self: end;

    height: 50px;

    padding: 0 22px;

    border: 1px solid #111;

    border-radius: 10px;

    background: #111;

    color: white;

    cursor: pointer;

    font-family: Montserrat, sans-serif;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: .25s;

}


.btn-limpar-filtros:hover {

    background: #c9a45c;

    border-color: #c9a45c;

    transform: translateY(-2px);

}


/* =========================================================
   RESULTADO DOS FILTROS
========================================================= */

.resultado-filtros {

    width: min(
        1200px,
        calc(100% - 40px)
    );

    margin: 20px auto 0;

    min-height: 25px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #555;

    font-size: 14px;

}


.resultado-filtros span {

    font-weight: 700;

    color: #222;

}


.resultado-filtros small {

    color: #999;

}


/* =========================================================
   NENHUM RESULTADO
========================================================= */

.nenhum-resultado {

    grid-column: 1 / -1;

    padding: 80px 20px;

    text-align: center;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.07);

}


.nenhum-resultado-icone {

    font-size: 45px;

    margin-bottom: 20px;

}


.nenhum-resultado h3 {

    margin-bottom: 10px;

    font-size: 24px;

}


.nenhum-resultado p {

    color: #777;

    font-size: 14px;

}


/* =========================================================
   AJUSTE DA SEÇÃO DE TODOS OS IMÓVEIS
========================================================= */

body.pagina-imoveis
.todos-imoveis {

    padding-top: 50px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .filtros-imoveis {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .btn-limpar-filtros {

        width: 100%;

    }

}


/* =========================================================
   TABLET MENOR
========================================================= */

@media (max-width: 750px) {

    .filtros-imoveis {

        grid-template-columns:
            repeat(2, 1fr);

        width: calc(100% - 30px);

        padding: 20px;

    }


    .resultado-filtros {

        width: calc(100% - 30px);

    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 520px) {

    .filtros-imoveis {

        grid-template-columns: 1fr;

        width: calc(100% - 22px);

        padding: 18px;

        gap: 13px;

        border-radius: 16px;

    }


    .filtro-grupo input,
    .filtro-grupo select {

        height: 48px;

    }


    .btn-limpar-filtros {

        height: 48px;

    }


    .resultado-filtros {

        width: calc(100% - 22px);

        font-size: 13px;

    }


    .nenhum-resultado {

        padding: 60px 15px;

    }

}

/* =========================================================
   PÁGINA DE IMÓVEIS
========================================================= */

body.pagina-imoveis {
    background: #f7f6f3;
}


/* =========================================================
   HEADER
========================================================= */

body.pagina-imoveis header {
    background: #111;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, .25);
}


/* =========================================================
   SEÇÃO DE TODOS OS IMÓVEIS
========================================================= */

.pagina-imoveis .todos-imoveis {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    padding: 150px 0 90px;
}


/* =========================================================
   TÍTULO
========================================================= */

.pagina-imoveis .title {
    margin-bottom: 40px;

    text-align: center;
}


.pagina-imoveis .title h1 {
    margin-bottom: 12px;

    color: #181818;

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;
}


.pagina-imoveis .title p {
    color: #777;

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================================
   FILTROS
========================================================= */

.filtros-imoveis {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr))
        auto;

    gap: 15px;

    align-items: end;

    margin-bottom: 25px;

    padding: 22px;

    background: white;

    border: 1px solid #e5e2dc;

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .07);
}


/* =========================================================
   GRUPO DO FILTRO
========================================================= */

.filtro-grupo {
    min-width: 0;
}


.filtro-grupo label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}


/* =========================================================
   INPUTS E SELECTS
========================================================= */

.filtro-grupo input,
.filtro-grupo select {
    width: 100%;

    height: 50px;

    padding: 0 15px;

    background: #f8f7f4;

    border: 1px solid #ddd9d1;

    border-radius: 10px;

    color: #222;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: .2s;
}


.filtro-grupo input:focus,
.filtro-grupo select:focus {
    border-color: #c9a45c;

    background: white;

    box-shadow:
        0 0 0 3px rgba(201, 164, 92, .12);
}


/* =========================================================
   BOTÃO LIMPAR
========================================================= */

.filtro-acoes {
    display: flex;

    align-items: flex-end;
}


.btn-limpar-filtros {
    width: 100%;

    min-width: 140px;

    height: 50px;

    padding: 0 20px;

    background: #111;

    color: white;

    border: 0;

    border-radius: 10px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}


.btn-limpar-filtros:hover {
    background: #c9a45c;

    transform: translateY(-2px);
}


/* =========================================================
   RESULTADO DOS FILTROS
========================================================= */

.resultado-filtros {
    margin-bottom: 25px;

    color: #777;

    font-size: 14px;

    font-weight: 600;
}


.resultado-filtros strong {
    color: #222;
}


/* =========================================================
   CARDS
========================================================= */

.pagina-imoveis .cards {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(320px, 1fr)
        );

    gap: 30px;
}


/* =========================================================
   CARD
========================================================= */

.pagina-imoveis .card-imovel {
    display: flex;
    flex-direction: column;

    height: 100%;

    background: white;
    border-radius: 20px;
    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .09);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.pagina-imoveis .card-imovel:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .15);
}


/* =========================================================
   IMAGEM
========================================================= */

.pagina-imoveis .imagem-box {
    position: relative;

    height: 260px;

    overflow: hidden;

    background: #eee;
}


.pagina-imoveis .imagem-box img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.pagina-imoveis .card-imovel:hover
.imagem-box img {
    transform: scale(1.05);
}


/* =========================================================
   BADGE
========================================================= */

.pagina-imoveis .badge {
    position: absolute;

    top: 15px;

    left: 15px;

    padding: 7px 14px;

    background: #c9a45c;

    color: white;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.pagina-imoveis .conteudo-imovel {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 23px;
}


.pagina-imoveis .conteudo-imovel h3 {
    margin-bottom: 10px;

    min-height: 53px;

    color: #181818;

    font-size: 21px;

    line-height: 1.25;
}


.pagina-imoveis .localizacao {
    min-height: 22px;

    margin-bottom: 12px;

    color: #777;

    font-size: 13px;
}


.pagina-imoveis .preco {
    margin-bottom: 18px;

    color: #b28b43;

    font-size: 23px;

    font-weight: 800;
}


.pagina-imoveis .dados {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}


.pagina-imoveis .dados span {
    padding: 8px 11px;

    background: #f5f3ef;

    border-radius: 8px;

    color: #555;

    font-size: 12px;
}


/* =========================================================
   BOTÃO DETALHES
========================================================= */

.pagina-imoveis .btn-detalhes {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: auto;

    background: #111;
    color: white;

    border-radius: 10px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: .25s;
}

.pagina-imoveis .btn-detalhes:hover {
    background: #c9a45c;

    transform: translateY(-2px);
}


/* =========================================================
   SEM RESULTADOS
========================================================= */

.sem-resultados {
    grid-column: 1 / -1;

    padding: 70px 30px;

    background: white;

    border: 1px solid #e5e2dc;

    border-radius: 18px;

    text-align: center;
}


.sem-resultados h3 {
    margin-bottom: 10px;

    color: #222;

    font-size: 24px;
}


.sem-resultados p {
    color: #777;

    font-size: 14px;
}


/* =========================================================
   LOADING
========================================================= */

.pagina-imoveis .loading {
    grid-column: 1 / -1;

    padding: 80px 20px;

    color: #777;

    text-align: center;

    font-size: 18px;
}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 1100px) {

    .filtros-imoveis {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .filtro-acoes {
        grid-column: span 1;
    }

}


/* =========================================================
   RESPONSIVO — TABLET PEQUENO
========================================================= */

@media (max-width: 800px) {

    .pagina-imoveis .todos-imoveis {
        width: calc(100% - 40px);

        padding-top: 120px;
    }


    .filtros-imoveis {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 18px;
    }


    .filtro-acoes {
        grid-column: 1 / -1;
    }


    .btn-limpar-filtros {
        width: 100%;
    }


    .pagina-imoveis .cards {
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(280px, 1fr)
            );
    }

}


/* =========================================================
   RESPONSIVO — CELULAR
========================================================= */

@media (max-width: 550px) {

    .pagina-imoveis .todos-imoveis {
        width: calc(100% - 24px);

        padding-top: 105px;

        padding-bottom: 50px;
    }


    .pagina-imoveis .title {
        margin-bottom: 25px;
    }


    .pagina-imoveis .title h1 {
        font-size: 32px;
    }


    .pagina-imoveis .title p {
        font-size: 14px;
    }


    .filtros-imoveis {
        grid-template-columns: 1fr;

        gap: 13px;

        padding: 16px;

        border-radius: 14px;
    }


    .filtro-acoes {
        grid-column: auto;
    }


    .filtro-grupo input,
    .filtro-grupo select,
    .btn-limpar-filtros {
        height: 48px;
    }


    .resultado-filtros {
        margin: 20px 3px;

        font-size: 13px;
    }


    .pagina-imoveis .cards {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .pagina-imoveis .imagem-box {
        height: 230px;
    }


    .pagina-imoveis .conteudo-imovel {
        padding: 20px;
    }

}


/* =========================================================
   MENU MOBILE
========================================================= */

@media (max-width: 700px) {

    header {
        padding: 18px 20px;
    }


    .logo {
        font-size: 32px;
    }


    .menu {
        display: flex;

        align-items: center;

        justify-content: center;

        width: 42px;

        height: 42px;

        padding: 0;

        background: transparent;

        color: white;

        border: 1px solid rgba(255,255,255,.2);

        border-radius: 8px;

        font-size: 22px;

        cursor: pointer;
    }


    header nav {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        padding: 20px;

        background: #111;

        box-shadow:
            0 10px 25px rgba(0,0,0,.2);
    }


    header nav.open {
        display: flex;
    }


    header nav a {
        margin: 0;

        padding: 15px 0;

        border-bottom:
            1px solid rgba(255,255,255,.08);
    }

}

/* =========================================================
   FORMULÁRIO DE CONTATO
   ========================================================= */

#formContato {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 0;
}


/* =========================================================
   CAMPOS
   ========================================================= */

#formContato input,
#formContato textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ddd;

    background: #fff;

    color: #222;

    padding: 15px 16px;

    margin-bottom: 15px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#formContato input:focus,
#formContato textarea:focus {

    border-color: #111;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.08);

}


#formContato textarea {

    resize: vertical;

    min-height: 130px;

}


/* =========================================================
   BOTÃO
   ========================================================= */

#formContato button {

    background: #b89b5e;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

}


#formContato button:hover {

    background: #967b43;
    box-shadow: 0 8px 20px rgba(184, 155, 94, 0.25);

}


#formContato button:disabled {

    opacity: 0.6;

    cursor: wait;

    transform: none;

}

/* =========================================================
   STATUS
   ========================================================= */

.status-contato {

    display: none;

    margin: 15px 0 0;

    padding: 12px 15px;

    border-radius: 8px;

    font-size: 14px;

    line-height: 1.5;

}


.status-contato.erro {

    display: block;

    color: #9b1c1c;

    background: #ffe8e8;

    border: 1px solid #f5bcbc;

}


.status-contato.sucesso {

    display: block;

    color: #176b36;

    background: #e8f8ee;

    border: 1px solid #b8e5c7;

}


