:root {
    --navy: #16325c;
    --navy-deep: #0e2244;
    --gold: #f0a202;
    --gold-deep: #c98400;
    --green: #2f6b45;
    --ink: #1c2430;
    --muted: #5c6b7a;
    --line: #e4ebf3;
    --paper: #f4f7fb;
    --white: #fff;
    --ok: #067647;
    --erro: #b42318;
    --sombra: 0 18px 40px rgba(14, 34, 68, .12);
    --fonte: "Manrope", sans-serif;
    --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--fonte);
    background: var(--white);
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 560; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 1rem; }
h2 em { font-style: italic; color: var(--green); }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; }

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border: 0; border-radius: 999px; padding: .8rem 1.2rem; font-weight: 700;
    text-decoration: none; cursor: pointer;
}
.btn svg { width: 1.1rem; height: 1.1rem; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-whats { background: #128c7e; color: #fff; }
.btn-whats:hover { background: #0b6b60; }

.topo { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.topo.rolou { box-shadow: 0 10px 30px rgba(14, 34, 68, .10); }
.barra-contato { background: var(--navy-deep); color: #d5e2f2; font-size: .82rem; transition: margin-top .25s; }
.barra-contato a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; opacity: .9; }
.barra-contato a:hover { opacity: 1; color: var(--gold); }
.barra-contato svg { width: .95rem; height: .95rem; color: var(--gold); }
.barra-contato-inner { display: flex; gap: 1.4rem; flex-wrap: wrap; padding: .4rem 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 104px; transition: min-height .25s; }
.marca { display: inline-flex; flex-shrink: 0; }
.marca img { height: 88px; width: auto; transition: height .25s; }
.topo.rolou .nav-wrap { min-height: 76px; }
.topo.rolou .marca img { height: 62px; }
.menu { display: flex; align-items: center; gap: .15rem; }
.menu > a:not(.btn), .menu-drop-toggle {
    position: relative; display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .8rem; border-radius: 999px; text-decoration: none;
    font-weight: 650; font-size: .93rem; color: var(--navy); white-space: nowrap;
    transition: background .2s, color .2s;
}
.menu > a:not(.btn):hover, .menu-drop-toggle:hover, .menu-drop.aberto .menu-drop-toggle { background: var(--paper); color: var(--green); }
.menu > a.ativo, .menu-drop-toggle.ativo { color: var(--green); background: #eaf3ee; }
.menu .btn-whats { margin-left: .6rem; padding: .65rem 1.1rem; font-size: .93rem; box-shadow: 0 8px 18px rgba(18, 140, 126, .28); transition: transform .2s, background .2s; }
.menu .btn-whats:hover { transform: translateY(-1px); }
.nav-toggle { display: none; background: var(--paper); border: 0; border-radius: 12px; padding: .5rem; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 1.7rem; height: 1.7rem; }

.menu-drop { position: relative; }
.menu-drop-toggle { background: none; border: 0; cursor: pointer; font-family: inherit; }
.menu-drop-seta { width: .7rem; height: .7rem; transition: transform .2s; }
.menu-drop.aberto .menu-drop-seta { transform: rotate(180deg); }
.menu-drop-lista {
    display: none; position: absolute; top: calc(100% + .35rem); left: 50%; transform: translateX(-50%);
    z-index: 30; min-width: 16rem; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: .5rem; box-shadow: var(--sombra);
}
.menu-drop-lista::before { content: ""; position: absolute; top: -.5rem; left: 0; right: 0; height: .5rem; }
.menu-drop-lista a { display: block; padding: .7rem .9rem; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: .93rem; }
.menu-drop-lista a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.menu-drop-lista a:hover { background: var(--paper); color: var(--green); }
.menu-drop.aberto .menu-drop-lista { display: block; }
@media (min-width: 1041px) {
    .menu-drop:hover .menu-drop-lista, .menu-drop:focus-within .menu-drop-lista { display: block; }
    .menu-drop:hover .menu-drop-seta { transform: rotate(180deg); }
}

.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-deep), #1d4d78 55%, var(--green));
    color: #fff;
    overflow: hidden;
    padding: 3.2rem 0 2.5rem;
}
.hero-foto { background-size: cover; background-position: center; }
.hero-foto .hero-cena { display: none; }
.hero-cena { position: absolute; inset: 0; pointer-events: none; }
.sol {
    position: absolute; width: 140px; height: 140px; border-radius: 50%;
    background: var(--gold); right: 12%; top: 18%; opacity: .95;
}
.serra {
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: var(--green);
    clip-path: polygon(0 60%, 18% 35%, 34% 55%, 52% 20%, 70% 48%, 84% 28%, 100% 50%, 100% 100%, 0 100%);
}
.hero-conteudo { position: relative; z-index: 1; }
.olho { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--gold); margin-bottom: .4rem; }
.hero h1 { max-width: 14ch; }
.hero-texto { max-width: 38rem; color: #e7eef8; font-size: 1.08rem; }
.busca-card {
    margin-top: 1.4rem;
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 1.1rem;
    box-shadow: var(--sombra);
}
.busca-card h2 { font-family: var(--fonte); font-size: 1rem; letter-spacing: 0; font-weight: 800; }

.filtro { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; }
.filtro label { display: flex; flex-direction: column; gap: .25rem; min-width: 140px; flex: 1; font-size: .82rem; font-weight: 700; color: var(--muted); }
.filtro input, .filtro select, .form-contato input, .form-contato textarea, .campo input, .campo select, .campo textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .75rem; background: #fff; color: var(--ink);
}
.filtros-lateral .filtro { flex-direction: column; align-items: stretch; }
.filtros-lateral .filtro label { min-width: 0; }

.secao { padding: 3.5rem 0; }
.secao-papel { background: var(--paper); }
.secao-navy { background: var(--navy); color: #fff; }
.secao-navy h2, .secao-navy a { color: #fff; }
.secao-topo { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.link-seta { font-weight: 800; text-decoration: none; }

.grade-imoveis, .grade-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-imovel, .card-post, .card-form, .ficha-lado {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.card-midia { position: relative; display: block; aspect-ratio: 4/3; background: var(--paper); }
.card-midia img { width: 100%; height: 100%; object-fit: cover; }
.selo {
    display: inline-block; background: var(--navy); color: #fff; border-radius: 999px;
    padding: .2rem .6rem; font-size: .75rem; font-weight: 800;
}
.card-midia .selo { position: absolute; left: .7rem; top: .7rem; }
.selo-destaque { left: auto; right: .7rem; background: var(--gold); color: var(--navy-deep); }
.card-corpo, .card-post { padding: 1rem 1rem 1.1rem; }
.card-post { padding: 1.1rem; }
.card-post img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: .7rem; }
.card-local, .card-tipo { color: var(--muted); font-size: .88rem; display: flex; gap: .3rem; align-items: center; }
.card-local svg, .contato-lista svg { width: 1rem; height: 1rem; flex: none; }
.card-corpo h3, .card-post h2, .card-post h3 { font-family: var(--fonte); font-size: 1.08rem; letter-spacing: 0; margin: .25rem 0 .4rem; }
.card-corpo h3 a, .card-post h2 a, .card-post h3 a { color: inherit; text-decoration: none; }
.card-dados { display: flex; flex-wrap: wrap; gap: .55rem  .8rem; list-style: none; padding: 0; margin: 0 0 .8rem; color: var(--muted); font-size: .86rem; }
.card-dados svg { width: .95rem; height: .95rem; }
.card-dados li { display: inline-flex; align-items: center; gap: .25rem; }
.card-preco { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 0; }

.sobre-bloco { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.pilares { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.pilares li { background: #fff; border-radius: 14px; padding: 1rem; border: 1px solid var(--line); }
.pilares strong { display: block; }
.pilares span { color: var(--muted); }

.bairros { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.bairros a {
    display: flex; flex-direction: column; text-decoration: none; color: #fff;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px; padding: .9rem 1rem;
}
.bairros small { color: #f0d48a; }

.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.depoimentos blockquote { margin: 0; background: var(--paper); border-radius: 16px; padding: 1rem; }
.depoimentos footer { color: var(--muted); font-size: .9rem; }

.faixa-cta { background: var(--gold); }
.faixa-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; }
.faixa-cta h2 { margin: 0 0 .3rem; }
.faixa-cta p { margin: 0; }

.migalhas { background: var(--paper); padding: .7rem 0; font-size: .9rem; color: var(--muted); }
.migalhas .container { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagina-intro { max-width: 46rem; margin-bottom: 1.4rem; }
.pagina-texto { max-width: 46rem; }
.texto-rico h2 { font-size: 1.45rem; margin-top: 1.4rem; }
.texto-rico a { font-weight: 700; }
.listagem { display: grid; grid-template-columns: 270px 1fr; gap: 1.4rem; align-items: start; }
.filtros-lateral { background: var(--paper); border-radius: 16px; padding: 1rem; position: sticky; top: 110px; }
.filtros-lateral h2 { font-family: var(--fonte); font-size: 1rem; letter-spacing: 0; }
.contagem { color: var(--muted); font-weight: 700; }
.paginacao { display: flex; gap: .4rem; margin-top: 1rem; }
.paginacao a { text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .65rem; }
.paginacao a.atual { background: var(--navy); color: #fff; }

.ficha { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.4rem; align-items: start; }
.galeria-principal, .galeria > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; background: var(--paper); }
.thumbs { display: flex; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; background: none; cursor: pointer; }
.thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; }
.ficha-dados { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.ficha-dados li { background: var(--paper); border-radius: 12px; padding: .7rem .8rem; min-width: 96px; }
.ficha-dados svg { width: 1.1rem; height: 1.1rem; }
.ficha-dados strong { display: block; }
.ficha-dados span { color: var(--muted); font-size: .82rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.tags li { background: #eef6f0; color: var(--green); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; font-size: .86rem; }
.ficha-lado { padding: 1.1rem; position: sticky; top: 110px; }
.ficha-lado .btn { width: 100%; margin: .4rem 0 1rem; }
.capa-artigo { width: 100%; border-radius: 16px; max-height: 420px; object-fit: cover; margin: 1rem 0; }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.contato-lista { list-style: none; padding: 0; }
.contato-lista li { display: flex; gap: .45rem; align-items: center; margin-bottom: .45rem; }
.card-form { padding: 1.1rem; }
.form-contato { display: grid; gap: .7rem; }
.form-contato label, .campo { display: grid; gap: .25rem; font-weight: 700; font-size: .88rem; }
.aviso { border-radius: 12px; padding: .8rem 1rem; }
.aviso-ok { background: #e8f7ef; color: var(--ok); }
.aviso-erro { background: #fdecec; color: var(--erro); }
.vazio { background: var(--paper); border-radius: 14px; padding: 1rem; }
.mapa iframe { width: 100%; min-height: 240px; border: 0; border-radius: 14px; }

.rodape { background: var(--navy-deep); color: #d5e2f2; padding-top: 2.4rem; }
.rodape a { color: #fff; text-decoration: none; display: block; margin-bottom: .35rem; }
.rodape h2 { font-family: var(--fonte); font-size: 1rem; letter-spacing: 0; color: var(--gold); }
.rodape-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .8fr; gap: 1.4rem; }
.marca-rodape img { height: 84px; margin-bottom: .6rem; }
.rodape-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.4rem; padding: .8rem 0 1rem; font-size: .86rem; }

.lgpd {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
    background: #fff; border-radius: 16px; box-shadow: var(--sombra);
    display: flex; gap: 1rem; align-items: center; justify-content: space-between;
    padding: .9rem 1rem; max-width: 720px;
}
.lgpd[hidden] { display: none; }
.lgpd p { margin: 0; }

@media (max-width: 1040px) {
    .nav-toggle { display: inline-flex; }
    .nav-wrap { position: relative; min-height: 84px; }
    .marca img { height: 68px; }
    .topo.rolou .nav-wrap { min-height: 68px; }
    .topo.rolou .marca img { height: 52px; }
    .menu {
        display: none; position: absolute; left: -1rem; right: -1rem; top: 100%;
        background: #fff; flex-direction: column; align-items: stretch; gap: .1rem;
        padding: .8rem 1rem 1.2rem; box-shadow: var(--sombra); border-top: 1px solid var(--line);
        max-height: calc(100vh - 120px); overflow-y: auto;
    }
    .menu.aberto { display: flex; }
    .menu > a:not(.btn), .menu-drop-toggle { padding: .8rem 1rem; border-radius: 12px; width: 100%; justify-content: space-between; }
    .menu-drop-lista { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .3rem 1rem; }
    .menu-drop-lista::before { display: none; }
    .menu .btn-whats { margin: .6rem 0 0; }
}
@media (max-width: 980px) {
    .grade-imoveis, .grade-posts, .depoimentos, .bairros { grid-template-columns: 1fr 1fr; }
    .listagem, .ficha, .contato-grid, .sobre-bloco, .rodape-grid { grid-template-columns: 1fr; }
    .filtros-lateral, .ficha-lado { position: static; }
    .esconde-mobile { display: none; }
}
@media (max-width: 760px) {
    .grade-imoveis, .grade-posts, .depoimentos, .bairros { grid-template-columns: 1fr; }
    .faixa-cta .container, .secao-topo, .lgpd { flex-direction: column; align-items: flex-start; }
}

