:root {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --surface-soft: #f1eee7;
    --text: #1e1d1a;
    --muted: #6f6a61;
    --line: #e6dfd2;
    --black: #11100e;
    --black-2: #1b1814;
    --gold: #b98b34;
    --gold-soft: #dec47e;
    --radius: 16px;
    --shadow: 0 12px 34px rgba(34, 25, 10, .07);
    --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: #fdfcf9;
    color: #686258;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.topbar-inner {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-links { display: flex; gap: 14px; align-items: center; }
.topbar a:hover { color: var(--gold); }

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230, 223, 210, .92);
    box-shadow: 0 10px 26px rgba(34, 25, 10, .04);
}
.nav {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.logo img {
    width: 140px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 8px;
}
.nav-menu {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 450;
    color: #2d2923;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 66px;
    color: #2d2923;
    opacity: .9;
}
.has-dropdown > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .65;
}
.nav-menu a:hover { color: var(--gold); opacity: 1; }
.dropdown-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: -12px;
    min-width: 205px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 7px;
    box-shadow: 0 18px 45px rgba(34, 25, 10, .10);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: .16s ease;
}
.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 9px;
    color: #3b362f;
    font-size: 13px;
}
.dropdown-menu a:hover { background: #f7f3eb; color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    background: #211e19;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: #15120b;
    background: linear-gradient(135deg, #e1c47f, #b98b34);
    box-shadow: 0 10px 24px rgba(185, 139, 52, .18);
}
.btn-dark { color: #fff; background: var(--black); }
.btn-light { color: #1f1c17; background: #f3eee4; border: 1px solid var(--line); }
.btn-outline { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.20); }
.btn-outline:hover { background: rgba(255,255,255,.14); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(185,139,52,.09);
    border: 1px solid rgba(185,139,52,.20);
    color: #8a641e;
    font-size: 11px;
    font-weight: 500;
}
.hero .badge,
.form-card .badge,
.footer .badge,
.contact-info .badge {
    color: #e5c981;
    background: rgba(229,201,129,.10);
    border-color: rgba(229,201,129,.24);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(12,11,10,.96) 0%, rgba(12,11,10,.86) 48%, rgba(12,11,10,.50) 100%),
        url('../img/hero-fortaleza-iracema.jpg') center center / cover no-repeat;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 68px 0 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
    gap: 46px;
    align-items: center;
}
.hero h1 {
    max-width: 650px;
    margin: 16px 0 15px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.03;
    letter-spacing: -.048em;
    font-weight: 550;
}
.hero h1 span { color: #e1c47f; }
.hero p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15.5px;
    line-height: 1.72;
    font-weight: 350;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-card {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
    backdrop-filter: blur(12px);
}
.hero-card-image {
    height: 270px;
    border-radius: 15px;
    overflow: hidden;
    background: #28231d;
}
.hero-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 9px;
}
.stat {
    min-height: 74px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.11);
}
.stat strong { display: block; color: #e1c47f; font-size: 18px; font-weight: 550; line-height: 1.1; }
.stat span { display: block; margin-top: 5px; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.35; }

.search-panel {
    position: relative;
    z-index: 3;
    margin-top: -48px;
}
.search-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
}
.search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 11px; font-weight: 500; color: #655e52; }
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--text);
    padding: 0 11px;
    font-size: 13px;
    font-weight: 400;
    outline: none;
}
.field textarea { min-height: 126px; padding: 11px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #caa151; box-shadow: 0 0 0 4px rgba(185,139,52,.10); }
.search-grid .btn { min-height: 42px; width: 100%; }

.section { padding: 66px 0; }
.section-sm { padding: 50px 0; }
.section-dark {
    color: var(--text);
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 26px;
}
.section-title h2 {
    max-width: 720px;
    margin: 9px 0 0;
    font-size: clamp(25px, 3.4vw, 38px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 530;
}
.section-title p {
    margin: 8px 0 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.gold { color: var(--gold); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.property-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(34,25,10,.06);
    transition: .16s ease;
}
.property-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(34,25,10,.09); }
.property-image {
    position: relative;
    display: block;
    aspect-ratio: 1.18 / .78;
    min-height: 210px;
    overflow: hidden;
    background: #e9e2d6;
}
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: .22s ease; }
.property-card:hover .property-image img { transform: scale(1.025); }
.tag-row { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(17,16,14,.70);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}
.tag-gold { color: #14110b; background: rgba(225,196,127,.96); }
.property-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}
.property-code {
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 550;
    letter-spacing: .02em;
}
.property-body h3 {
    margin: 0 0 7px;
    min-height: 42px;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: -.018em;
    font-weight: 530;
}
.property-body h3 a:hover { color: var(--gold); }
.location { margin-bottom: 12px; color: var(--muted); font-size: 12.5px; }
.price {
    margin: 0 0 13px;
    color: #15120d;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 560;
}
.features-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.feature-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fbfaf7;
    color: #5f594f;
    font-size: 11.5px;
    line-height: 1;
}
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card-actions .btn { min-height: 38px; padding: 0 10px; font-size: 12px; }

.differentials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.diff-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(34,25,10,.045);
}
.diff-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 11px;
    color: #8a641e;
    background: rgba(185,139,52,.10);
    font-size: 18px;
}
.diff-card h3 { margin: 0 0 7px; font-size: 15px; font-weight: 530; }
.diff-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    background: var(--black);
    color: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow);
}
.cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.14; letter-spacing: -.032em; font-weight: 530; }
.cta p { margin: 0; max-width: 680px; color: rgba(255,255,255,.66); font-size: 14px; }
.cta .btn-dark { background: #fff; color: var(--black); }

.page-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f2eee6 100%);
    border-bottom: 1px solid var(--line);
    padding: 52px 0;
}
.page-hero h1 { margin: 10px 0 8px; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.042em; font-weight: 540; }
.page-hero p { margin: 0; max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.listing-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.filter-card,
.content-card,
.text-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.filter-card { position: sticky; top: 92px; padding: 18px; }
.filter-card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 530; }
.filters-stack { display: grid; gap: 12px; }
.properties-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(34,25,10,.045);
    color: var(--muted);
}
.result-header strong { color: var(--text); font-weight: 560; }
.content-card { padding: 22px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) 360px; gap: 24px; align-items: start; }
.gallery-main {
    height: 455px;
    overflow: hidden;
    background: #e8e1d5;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs img { height: 92px; width: 100%; object-fit: cover; border-radius: 13px; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img:hover { border-color: var(--gold); }
.detail-sidebar { position: sticky; top: 92px; }
.detail-title { font-size: clamp(25px, 3vw, 38px); line-height: 1.12; font-weight: 540; letter-spacing: -.035em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 20px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.info-box { padding: 13px; border-radius: 14px; background: #fbfaf7; border: 1px solid var(--line); }
.info-box strong { display: block; color: #14110d; font-size: 16px; font-weight: 550; }
.info-box span { color: var(--muted); font-size: 12px; }
.desc { color: #514b42; font-size: 14.5px; line-height: 1.75; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.form-card { background: var(--black); color: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.form-card h3 { margin: 9px 0 5px; font-size: 24px; font-weight: 540; letter-spacing: -.02em; }
.form-card p { margin: 0 0 16px; color: rgba(255,255,255,.66); font-size: 13.5px; }
.form-card .field label { color: rgba(255,255,255,.72); }
.form-card .field input,
.form-card .field textarea,
.form-card .field select { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.form-card select option { color: #111; }

.text-content { padding: 30px; }
.text-content h2 { margin-top: 0; font-size: clamp(24px, 3vw, 35px); line-height: 1.14; letter-spacing: -.035em; font-weight: 540; }
.text-content p { color: #514b42; font-size: 14.5px; line-height: 1.76; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.step { border: 1px solid var(--line); background: #fbfaf7; border-radius: 16px; padding: 18px; }
.step strong { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 12px; color: #e1c47f; background: var(--black); border-radius: 10px; font-size: 12px; font-weight: 520; }
.step h3 { margin: 0 0 7px; font-size: 15px; font-weight: 530; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-info { background: var(--black); color: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.contact-info h2 { margin: 10px 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.14; letter-spacing: -.032em; font-weight: 540; }
.contact-info p { color: rgba(255,255,255,.66); }
.contact-item { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.78); }
.contact-item strong { display: block; margin-bottom: 4px; color: #e1c47f; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 500; }
.alert-success { color: #185b2e; background: #e9f7ee; border: 1px solid #c2e8ce; }
.alert-error { color: #8e1c1c; background: #fff0ef; border: 1px solid #f2c4c0; }

.footer { background: #12110f; color: #fff; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.05fr; gap: 28px; }
.footer img { width: 150px; margin-bottom: 16px; border-radius: 8px; }
.footer h3 { margin: 0 0 12px; color: #e1c47f; font-size: 14px; font-weight: 520; }
.footer p,
.footer a { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }
.footer a:hover { color: #e1c47f; }
.footer-links { display: grid; gap: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.48); font-size: 12px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.18); font-size: 0; }
.whatsapp-float::before { content: "W"; font-size: 23px; font-weight: 650; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a,
.pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.pagination .active { background: var(--black); color: #e1c47f; }

/* Admin */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 22px; background: #15130f; color: #fff; }
.admin-sidebar img { width: 150px; border-radius: 8px; margin-bottom: 24px; }
.admin-sidebar nav { display: grid; gap: 7px; }
.admin-sidebar a { padding: 11px 12px; border-radius: 11px; color: rgba(255,255,255,.70); font-size: 13px; font-weight: 500; }
.admin-sidebar a:hover,
.admin-sidebar a.active { background: rgba(225,196,127,.10); color: #e1c47f; }
.admin-main { padding: 30px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-header h1 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; font-weight: 540; }
.admin-card,
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.admin-card { padding: 22px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.admin-stat { padding: 18px; }
.admin-stat span { color: var(--muted); font-size: 12px; }
.admin-stat strong { display: block; font-size: 28px; font-weight: 540; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 11px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; }
th { color: #6a6358; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; }
.actions a,
.actions button { border: 0; border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 500; cursor: pointer; }
.action-edit { background: var(--black); color: #e1c47f; }
.action-delete { background: #fff0ef; color: #8e1c1c; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, rgba(185,139,52,.18), transparent 280px), #12110f; }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.login-card img { width: 160px; margin: 0 auto 22px; border-radius: 8px; }

@media (max-width: 1120px) {
    .nav-menu { gap: 13px; font-size: 12.5px; }
    .logo img { width: 126px; }
    .nav-whats { padding: 0 13px; }
    .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .differentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-content,
    .detail-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .detail-sidebar,
    .filter-card { position: static; }
    .hero-card { max-width: 620px; }
}

@media (max-width: 860px) {
    .topbar { display: none; }
    .container { width: min(100% - 28px, var(--container)); }
    .nav { min-height: 64px; }
    .menu-toggle { display: block; }
    .nav-whats { display: none; }
    .nav-menu {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: start;
        gap: 0;
        padding: 10px;
        white-space: normal;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(34, 25, 10, .14);
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { min-height: auto; padding: 10px; }
    .dropdown-menu { position: static; width: 100%; min-width: 0; opacity: 1; transform: none; pointer-events: auto; display: none; box-shadow: none; background: #f8f5ef; margin-bottom: 5px; }
    .nav-menu li:hover .dropdown-menu,
    .nav-menu li.open .dropdown-menu { display: block; }
    .hero { min-height: auto; }
    .hero-content { padding: 54px 0 92px; gap: 28px; }
    .hero h1 { font-size: clamp(34px, 9vw, 47px); }
    .hero p { font-size: 14.5px; }
    .hero-card-image { height: 220px; }
    .hero-stats { grid-template-columns: 1fr; }
    .search-panel { margin-top: -44px; }
    .search-grid { grid-template-columns: 1fr; }
    .section { padding: 54px 0; }
    .section-title { align-items: start; flex-direction: column; }
    .listing-layout,
    .properties-list-grid,
    .steps,
    .footer-grid { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; padding: 28px; }
    .result-header { align-items: start; flex-direction: column; }
    .gallery-main { height: 340px; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; }
    .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .admin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    body { font-size: 13.5px; }
    .logo img { width: 118px; }
    .cards-grid,
    .differentials,
    .info-grid,
    .form-grid,
    .admin-grid { grid-template-columns: 1fr; }
    .property-image { min-height: 200px; }
    .card-actions { grid-template-columns: 1fr; }
    .text-content,
    .content-card,
    .contact-info { padding: 22px; }
    .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
    .admin-main { padding: 22px; }
    .admin-sidebar nav { grid-template-columns: repeat(2, 1fr); }
}

/* Premium redesign — PS Empreendimentos Imobiliários */
:root {
    --bg: #f5f1e8;
    --surface: #ffffff;
    --surface-soft: #eee7db;
    --text: #1b1814;
    --muted: #6b6256;
    --line: #e3d8c6;
    --black: #11100e;
    --black-2: #1b1712;
    --gold: #c5963d;
    --gold-soft: #f0d890;
    --shadow: 0 18px 44px rgba(33, 24, 10, .10);
}

body { background: radial-gradient(circle at top left, rgba(197,150,61,.10), transparent 340px), var(--bg); }

.topbar {
    background: #0d0c0a;
    color: rgba(255,255,255,.66);
    border-bottom: 1px solid rgba(240,216,144,.14);
}
.topbar-inner { min-height: 38px; }
.topbar-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.topbar a { color: rgba(255,255,255,.76); }
.topbar a:hover { color: var(--gold-soft); }

.header {
    background: rgba(17,16,14,.94);
    border-bottom: 1px solid rgba(240,216,144,.16);
    box-shadow: 0 14px 38px rgba(0,0,0,.18);
}
.nav { min-height: 78px; }
.logo img {
    width: 238px;
    max-height: 60px;
    border-radius: 0;
}
.nav-menu { color: rgba(255,255,255,.76); font-weight: 560; }
.nav-menu > li > a { min-height: 78px; color: rgba(255,255,255,.78); opacity: 1; }
.nav-menu a:hover { color: var(--gold-soft); }
.dropdown-menu {
    background: #171511;
    border-color: rgba(240,216,144,.16);
    box-shadow: 0 22px 48px rgba(0,0,0,.28);
}
.dropdown-menu a { color: rgba(255,255,255,.74); }
.dropdown-menu a:hover { background: rgba(240,216,144,.10); color: var(--gold-soft); }
.menu-toggle { background: rgba(255,255,255,.06); border-color: rgba(240,216,144,.22); }
.menu-toggle span { background: #fff; }

.btn { font-weight: 650; }
.btn-primary {
    color: #14100a;
    background: linear-gradient(135deg, #f1d994 0%, #c5963d 56%, #a16f24 100%);
    box-shadow: 0 14px 28px rgba(197,150,61,.24);
}
.btn-dark { background: #15120e; color: #fff; }
.btn-light { background: #f7f2e8; color: #1a1713; }
.btn-outline { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.20); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.hero {
    min-height: 650px;
    background:
        radial-gradient(circle at 88% 18%, rgba(240,216,144,.22), transparent 280px),
        linear-gradient(90deg, rgba(13,12,10,.98) 0%, rgba(13,12,10,.86) 48%, rgba(13,12,10,.42) 100%),
        url('../img/hero-fortaleza-iracema.jpg') center center / cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, rgba(245,241,232,.96));
    pointer-events: none;
}
.hero-content { padding: 88px 0 128px; }
.hero h1 { max-width: 720px; font-size: clamp(40px, 5.4vw, 66px); font-weight: 720; }
.hero p { font-size: 16px; color: rgba(255,255,255,.74); }
.hero-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.hero-mini-proof span {
    padding: 7px 11px;
    border: 1px solid rgba(240,216,144,.20);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.06);
    font-size: 12px;
    font-weight: 600;
}
.hero-card {
    padding: 12px;
    background: rgba(20,18,14,.72);
    border-color: rgba(240,216,144,.18);
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.hero-card-image { height: 300px; }
.hero-card-caption {
    padding: 16px 8px 8px;
    display: grid;
    gap: 4px;
}
.hero-card-caption strong { color: #fff; font-size: 16px; letter-spacing: -.01em; }
.hero-card-caption span { color: rgba(255,255,255,.64); font-size: 12.5px; }
.stat { background: rgba(255,255,255,.07); border-color: rgba(240,216,144,.15); }
.stat strong { color: var(--gold-soft); }

.search-panel { margin-top: -76px; }
.search-box {
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(197,150,61,.22);
    box-shadow: 0 26px 64px rgba(33,24,10,.14);
}
.search-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 4px 17px;
}
.search-heading h2 { margin: 3px 0 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.1; letter-spacing: -.03em; }
.search-heading a { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.search-grid-home { grid-template-columns: .95fr 1fr 1.4fr 1fr .85fr; }
.field label { color: #635847; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 46px; border-radius: 13px; }
.search-grid .btn { min-height: 46px; }

.trust-section { padding: 30px 0 10px; }
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.trust-item {
    padding: 18px;
    border: 1px solid rgba(197,150,61,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 26px rgba(33,24,10,.06);
}
.trust-item strong { display: block; color: #17130f; font-size: 14px; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }

.section-featured { padding-top: 42px; }
.section-title h2 { font-weight: 720; }
.property-card {
    border-radius: 22px;
    border-color: rgba(197,150,61,.16);
    box-shadow: 0 16px 40px rgba(33,24,10,.08);
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(33,24,10,.13); }
.property-image { aspect-ratio: 1.22 / .82; min-height: 230px; }
.property-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.32), transparent 38%, rgba(0,0,0,.10));
    pointer-events: none;
}
.tag { height: 27px; padding: 0 10px; font-weight: 700; }
.property-body { padding: 18px; }
.property-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.property-code { margin: 0; color: var(--gold); font-weight: 800; }
.property-status { color: #8a7c68; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.property-body h3 { font-size: 17px; min-height: 46px; font-weight: 720; }
.location { color: #746a5d; }
.location::before { content: "• "; color: var(--gold); }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: #12100d; }
.feature-pill {
    min-height: 30px;
    padding: 0 10px;
    border-color: #e8dcc8;
    background: #fcfaf5;
    font-weight: 600;
}
.feature-pill strong { color: #14110d; margin-right: 4px; }
.card-actions { gap: 10px; }
.card-actions .btn { min-height: 42px; font-size: 12.5px; }

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(197,150,61,.16), transparent 300px),
        linear-gradient(180deg, #15130f 0%, #0f0e0c 100%);
    border-top: 1px solid rgba(240,216,144,.14);
    border-bottom: 1px solid rgba(240,216,144,.14);
}
.section-dark .section-title p { color: rgba(255,255,255,.62); }
.section-dark .badge { color: var(--gold-soft); background: rgba(240,216,144,.10); border-color: rgba(240,216,144,.24); }
.section-dark .diff-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(240,216,144,.16);
    box-shadow: none;
}
.section-dark .diff-card h3 { color: #fff; }
.section-dark .diff-card p { color: rgba(255,255,255,.62); }
.diff-icon {
    width: 44px;
    height: 44px;
    color: var(--gold-soft);
    background: rgba(240,216,144,.11);
    border: 1px solid rgba(240,216,144,.18);
}
.diff-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta-premium {
    background:
        radial-gradient(circle at 88% 0%, rgba(240,216,144,.18), transparent 300px),
        linear-gradient(135deg, #171410 0%, #0f0e0c 100%);
    border: 1px solid rgba(240,216,144,.14);
}
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cta-premium .btn-outline { border-color: rgba(255,255,255,.18); }

.page-hero-dark {
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(197,150,61,.18), transparent 320px),
        linear-gradient(135deg, #171410 0%, #0f0e0c 100%);
    border-bottom: 1px solid rgba(240,216,144,.14);
}
.page-hero-dark p { color: rgba(255,255,255,.66); }
.page-hero-dark .badge { color: var(--gold-soft); background: rgba(240,216,144,.10); border-color: rgba(240,216,144,.24); }

.text-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.text-content { border-radius: 22px; padding: 34px; }
.text-content h2 { font-weight: 760; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { border-radius: 18px; background: linear-gradient(180deg, #fff, #fbf8f0); }
.step strong { background: linear-gradient(135deg, #171410, #2c2418); color: var(--gold-soft); }
.inline-cta { margin-top: 30px; }
.side-note {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(180deg, #171410, #0f0e0c);
    border: 1px solid rgba(240,216,144,.16);
    box-shadow: var(--shadow);
}
.side-note h3 { margin: 12px 0 10px; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.side-note p { color: rgba(255,255,255,.64); }
.side-note .btn { margin-top: 10px; }

.contact-info { border-radius: 22px; background: linear-gradient(180deg, #171410, #0f0e0c); border: 1px solid rgba(240,216,144,.16); }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.contact-form-card h2 { margin: 4px 0 18px; font-size: clamp(23px, 3vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.contact-item a:hover { color: var(--gold-soft); }

.footer { background: #0f0e0c; border-top: 1px solid rgba(240,216,144,.16); }
.footer img { width: 230px; max-width: 100%; border-radius: 0; }
.footer-social { margin-top: 14px; }
.footer-social a { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(240,216,144,.16); border-radius: 999px; color: var(--gold-soft); }
.footer h3 { color: var(--gold-soft); font-weight: 800; letter-spacing: .03em; }
.footer .btn-primary { color: #14100a; }

.whatsapp-float {
    width: auto;
    min-width: 52px;
    height: 54px;
    padding: 0 18px;
    grid-auto-flow: column;
    gap: 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: #25D366;
    color: #fff;
}
.whatsapp-float::before {
    content: "☎";
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}
.whatsapp-float span { display: inline; }

@media (max-width: 1120px) {
    .logo img { width: 210px; }
    .search-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-grid-home .btn { grid-column: 1 / -1; }
    .trust-strip, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .text-layout { grid-template-columns: 1fr; }
    .side-note { position: static; }
}

@media (max-width: 860px) {
    .header { top: 0; }
    .nav { min-height: 70px; }
    .logo img { width: 190px; }
    .nav-menu {
        top: 82px;
        background: #15130f;
        border-color: rgba(240,216,144,.18);
    }
    .nav-menu > li > a { color: rgba(255,255,255,.84); }
    .dropdown-menu { background: rgba(255,255,255,.06); }
    .hero-content { padding: 64px 0 118px; }
    .search-heading { align-items: start; flex-direction: column; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .cta-actions { justify-content: flex-start; }
    .footer img { width: 210px; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 24px, var(--container)); }
    .logo img { width: 170px; }
    .hero h1 { font-size: clamp(34px, 11vw, 46px); }
    .hero-card-image { height: 215px; }
    .search-box { padding: 16px; border-radius: 20px; }
    .search-grid-home, .trust-strip, .steps-4 { grid-template-columns: 1fr; }
    .text-content { padding: 24px; }
    .whatsapp-float {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        justify-content: center;
    }
    .footer { padding-bottom: 86px; }
}

/* ===== Refinos finais v3 ===== */
html, body { overflow-x: hidden; }

.header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(197,150,61,.16);
    box-shadow: 0 14px 34px rgba(33,24,10,.05);
}
.nav {
    min-height: 78px;
    gap: 28px;
}
.logo img {
    width: 230px;
    max-height: 54px;
    object-fit: contain;
}
.nav-menu {
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}
.nav-menu > li > a { min-height: 78px; }
.nav-whats {
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
}
.btn,
.property-card,
.diff-card,
.trust-item,
.value-card,
.about-stat-card,
.step,
.cta,
.search-box { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.btn:hover,
.property-card:hover,
.diff-card:hover,
.trust-item:hover,
.value-card:hover,
.about-stat-card:hover,
.step:hover { transform: translateY(-4px); }

.hero-buttons .btn,
.nav-whats,
.cta .btn,
.card-actions .btn { position: relative; overflow: hidden; }
.hero-buttons .btn::after,
.nav-whats::after,
.cta .btn::after,
.card-actions .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,.18) 46%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .6s ease;
}
.hero-buttons .btn:hover::after,
.nav-whats:hover::after,
.cta .btn:hover::after,
.card-actions .btn:hover::after { transform: translateX(130%); }

.fade-up { animation: fadeUp .75s ease both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-card.fade-up { animation-delay: .12s; }
.trust-item:nth-child(2), .diff-card:nth-child(2), .value-card:nth-child(2), .about-stat-card:nth-child(2), .step:nth-child(2) { animation-delay: .08s; }
.trust-item:nth-child(3), .diff-card:nth-child(3), .value-card:nth-child(3), .about-stat-card:nth-child(3), .step:nth-child(3) { animation-delay: .16s; }
.trust-item:nth-child(4), .diff-card:nth-child(4), .about-stat-card:nth-child(4), .step:nth-child(4) { animation-delay: .24s; }

.hero-mini-proof { gap: 10px; }
.hero-mini-proof span {
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(240,216,144,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.86);
    font-weight: 700;
    letter-spacing: .01em;
}
.hero-mini-proof span:hover {
    background: rgba(240,216,144,.12);
    border-color: rgba(240,216,144,.28);
    color: var(--gold-soft);
}
.hero-card { box-shadow: 0 24px 56px rgba(0,0,0,.22); }
.hero-stats .stat:hover { background: rgba(240,216,144,.11); }

.search-panel { margin-top: -82px; }
.search-box:hover { box-shadow: 0 30px 72px rgba(33,24,10,.18); }
.search-heading a:hover { color: #8f6420; }
.search-grid-home .btn { font-weight: 800; }

.trust-section { padding: 28px 0 8px; }
.trust-strip { align-items: stretch; }
.trust-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 118px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(197,150,61,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,247,239,.98));
    box-shadow: 0 14px 34px rgba(33,24,10,.08);
}
.trust-icon,
.value-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--gold);
    background: linear-gradient(180deg, rgba(240,216,144,.18), rgba(185,139,52,.10));
    border: 1px solid rgba(185,139,52,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.38);
}
.trust-icon svg,
.value-icon svg,
.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.trust-item strong {
    display: block;
    color: #17130f;
    font-size: 15px;
    line-height: 1.25;
}
.trust-item span {
    display: block;
    margin-top: 6px;
    color: #6e675b;
    font-size: 13px;
    line-height: 1.58;
}

.section-title h2 { letter-spacing: -.04em; }
.diff-card {
    position: relative;
    overflow: hidden;
}
.diff-card::after,
.value-card::after,
.about-stat-card::after {
    content: "";
    position: absolute;
    inset: auto -40% -55% auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,216,144,.18), transparent 70%);
    pointer-events: none;
}
.section-dark .diff-card:hover {
    border-color: rgba(240,216,144,.28);
    background: rgba(255,255,255,.08);
}
.section-dark .diff-icon {
    color: var(--gold-soft);
    background: linear-gradient(180deg, rgba(240,216,144,.16), rgba(185,139,52,.08));
}
.section-dark .diff-icon svg { stroke: currentColor; fill: none; }

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 440px;
    gap: 24px;
    align-items: center;
}
.about-hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.about-stat-card {
    position: relative;
    min-height: 148px;
    padding: 22px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(240,216,144,.18);
    backdrop-filter: blur(12px);
}
.about-stat-card strong {
    display: block;
    color: var(--gold-soft);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.about-stat-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.65;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.value-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(197,150,61,.16);
    background: linear-gradient(180deg, #fff, #fbf8f0);
    box-shadow: 0 14px 30px rgba(33,24,10,.06);
}
.value-card h3 {
    margin: 14px 0 8px;
    font-size: 16px;
    font-weight: 760;
}
.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.68;
}
.conteudo-editavel-admin {
    margin: 0 0 16px;
    color: #504a40;
    line-height: 1.8;
}
.side-note-points {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}
.side-note-points span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.82);
    font-weight: 600;
}
.side-note-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0d890, #b98b34);
    box-shadow: 0 0 0 4px rgba(240,216,144,.08);
}

.steps.steps-4 { gap: 16px; }
.step {
    border: 1px solid rgba(197,150,61,.14);
    box-shadow: 0 12px 28px rgba(33,24,10,.05);
}
.step h3 { font-weight: 760; }
.step p { color: var(--muted); }

.footer img { width: 240px; }
.whatsapp-float {
    display: inline-grid;
    place-items: center;
    grid-auto-flow: column;
    gap: 8px;
    padding: 0 18px;
    width: auto;
    min-width: 58px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}
.whatsapp-float::before { content: none; }
.whatsapp-float svg { color: #fff; }
.whatsapp-float span { display: inline; }

@media (max-width: 1120px) {
    .logo img { width: 210px; }
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-panel,
    .about-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .nav { min-height: 70px; }
    .logo img { width: 195px; }
    .nav-menu { top: 82px; }
    .nav-menu > li > a { min-height: auto; }
    .trust-item { grid-template-columns: 44px minmax(0, 1fr); }
    .about-hero-panel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .logo img { width: 176px; }
    .trust-item,
    .value-card,
    .about-stat-card { min-height: auto; }
    .about-hero-panel,
    .about-values-grid { grid-template-columns: 1fr; }
    .whatsapp-float { justify-content: center; }
}

/* ===== Navbar final fix v4 ===== */
.header {
    background: rgba(255,255,255,.98) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(197,150,61,.18) !important;
    box-shadow: 0 12px 28px rgba(32,23,10,.06) !important;
}
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,150,61,.32), transparent);
}
.nav {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    min-height: 82px !important;
    gap: 24px;
}
.logo {
    position: relative;
    z-index: 2;
}
.logo img {
    width: 250px !important;
    max-height: 56px !important;
}
.nav-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px !important;
    margin: 0;
    padding: 0 8px;
    list-style: none;
    color: #302b24 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 82px !important;
    padding: 0 10px;
    color: #302b24 !important;
    opacity: 1 !important;
    transition: color .18s ease, transform .18s ease;
}
.nav-menu > li > a::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e1c47f, #b98b34);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
    color: #b98b34 !important;
    transform: translateY(-1px);
}
.nav-menu > li > a:hover::before,
.nav-menu > li:hover > a::before { transform: scaleX(1); }
.has-dropdown > a::after {
    border-right-color: currentColor !important;
    border-bottom-color: currentColor !important;
}
.dropdown-menu {
    top: calc(100% - 8px);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 220px;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(197,150,61,.18) !important;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 24px 48px rgba(32,23,10,.12);
}
.nav-menu > li:hover .dropdown-menu {
    transform: translate(-50%, 0);
}
.dropdown-menu a {
    color: #383229 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
}
.dropdown-menu a:hover {
    background: #f7f1e4 !important;
    color: #b98b34 !important;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-whats {
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 999px;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(185,139,52,.18);
}

@media (max-width: 1220px) {
    .logo img { width: 220px !important; }
    .nav-menu { gap: 4px !important; font-size: 13px !important; }
    .nav-menu > li > a { padding: 0 8px; }
    .nav-whats { padding: 0 18px !important; font-size: 13px !important; }
}

@media (max-width: 980px) {
    .nav {
        display: flex !important;
        min-height: 74px !important;
    }
    .logo img { width: 200px !important; }
    .menu-toggle {
        display: inline-block !important;
        background: #fff;
    }
    .nav-menu {
        display: none !important;
        position: absolute;
        top: 84px;
        left: 16px;
        right: 16px;
        padding: 12px;
        border-radius: 18px;
        background: #16130f !important;
        border: 1px solid rgba(240,216,144,.16);
        box-shadow: 0 24px 48px rgba(0,0,0,.22);
        flex-direction: column;
        align-items: stretch;
        gap: 4px !important;
    }
    .nav-menu.open { display: flex !important; }
    .nav-menu > li > a {
        min-height: auto !important;
        padding: 12px 14px !important;
        color: rgba(255,255,255,.9) !important;
        border-radius: 12px;
    }
    .nav-menu > li > a::before {
        left: 14px;
        right: 14px;
        bottom: 8px;
        background: linear-gradient(90deg, #f0d890, #b98b34);
    }
    .nav-menu > li > a:hover,
    .nav-menu > li:hover > a {
        background: rgba(255,255,255,.06);
        color: #f0d890 !important;
        transform: none;
    }
    .dropdown-menu {
        position: static;
        left: auto;
        transform: none !important;
        margin-top: 4px;
        min-width: 100%;
        background: rgba(255,255,255,.05) !important;
        border-color: rgba(240,216,144,.12) !important;
        box-shadow: none;
    }
    .dropdown-menu a {
        color: rgba(255,255,255,.76) !important;
    }
    .dropdown-menu a:hover {
        background: rgba(255,255,255,.06) !important;
        color: #f0d890 !important;
    }
    .nav-whats {
        min-height: 44px !important;
        padding: 0 16px !important;
    }
}

@media (max-width: 560px) {
    .logo img { width: 172px !important; }
    .nav-whats { font-size: 0 !important; min-width: 46px; padding: 0 14px !important; }
    .nav-whats::before { content: "WhatsApp"; font-size: 13px; }
}

/* ===== Correção navbar v4 ===== */
.header {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(197,150,61,.18);
    box-shadow: 0 12px 30px rgba(33,24,10,.055);
}
.header .container.nav {
    width: min(1400px, calc(100% - 52px));
}
.nav {
    min-height: 82px;
    align-items: center;
}
.logo {
    min-width: 250px;
}
.logo img {
    width: 250px;
    max-height: 58px;
}
.nav-menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 8px;
    color: #201c16;
}
.nav-menu > li > a {
    position: relative;
    min-height: 82px;
    padding: 0 12px;
    color: #2d281f !important;
    opacity: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.nav-menu > li > a::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 22px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f0d890, #b98b34);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.nav-menu > li > a:hover::before,
.nav-menu > li:hover > a::before {
    transform: scaleX(1);
}
.nav-menu a:hover {
    color: #9a6d25 !important;
}
.has-dropdown > a::after {
    border-color: currentColor;
    opacity: .72;
}
.dropdown-menu {
    top: calc(100% - 10px);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 226px;
    padding: 9px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(197,150,61,.18);
    box-shadow: 0 22px 50px rgba(33,24,10,.13);
}
.nav-menu > li:hover .dropdown-menu {
    transform: translate(-50%, 0);
}
.dropdown-menu a {
    color: #2d281f !important;
    font-weight: 650;
}
.dropdown-menu a:hover {
    color: #9a6d25 !important;
    background: #f8f2e6;
}
.nav-actions {
    min-width: 230px;
    justify-content: flex-end;
}
.nav-whats {
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    color: #14100a;
    font-size: 14px;
    box-shadow: 0 14px 30px rgba(197,150,61,.24);
}
.menu-toggle {
    background: #fff;
    border-color: rgba(197,150,61,.26);
}
.menu-toggle span {
    background: #1f1b15;
}

/* melhora visual sutil da página de listagem também */
.page-hero {
    background:
        radial-gradient(circle at 92% 4%, rgba(197,150,61,.10), transparent 330px),
        linear-gradient(180deg, #ffffff 0%, #f5f0e7 100%);
}
.filter-card,
.result-header,
.content-card {
    border-color: rgba(197,150,61,.16);
    box-shadow: 0 16px 38px rgba(33,24,10,.075);
}
.result-header .btn-primary {
    font-weight: 800;
}
.filter-card h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

@media (max-width: 1220px) {
    .header .container.nav {
        width: min(100% - 36px, 1120px);
    }
    .logo { min-width: 215px; }
    .logo img { width: 215px; }
    .nav-menu {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 92px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px;
        white-space: normal;
        background: #15130f;
        border: 1px solid rgba(240,216,144,.18);
        border-radius: 20px;
        box-shadow: 0 24px 60px rgba(0,0,0,.28);
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu > li > a {
        min-height: auto;
        padding: 14px 12px;
        color: rgba(255,255,255,.88) !important;
        border-radius: 12px;
    }
    .nav-menu > li > a::before {
        display: none;
    }
    .nav-menu > li > a:hover {
        background: rgba(240,216,144,.09);
        color: var(--gold-soft) !important;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        opacity: 1;
        transform: none !important;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        margin: 0 0 6px;
        background: rgba(255,255,255,.06);
        border-color: rgba(240,216,144,.12);
    }
    .dropdown-menu a {
        color: rgba(255,255,255,.76) !important;
    }
    .dropdown-menu a:hover {
        color: var(--gold-soft) !important;
        background: rgba(240,216,144,.10);
    }
    .nav-menu li:hover .dropdown-menu,
    .nav-menu li.open .dropdown-menu {
        display: block;
    }
    .menu-toggle {
        display: block;
    }
    .nav-whats {
        display: inline-flex;
    }
}
@media (max-width: 720px) {
    .header .container.nav {
        width: min(100% - 24px, 1120px);
    }
    .nav { min-height: 72px; }
    .logo { min-width: auto; }
    .logo img { width: 178px; }
    .nav-actions { min-width: auto; gap: 8px; }
    .nav-whats { display: none; }
    .nav-menu { top: 82px; }
}
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .hero-card.fade-up,
    .trust-item,
    .diff-card,
    .value-card,
    .about-stat-card,
    .step {
        animation: none !important;
    }
    * {
        scroll-behavior: auto !important;
    }
}

/* ===== Ajuste v5: navbar visível em desktop/tablet horizontal ===== */
@media (min-width: 961px) and (max-width: 1220px) {
    .header .container.nav {
        width: min(100% - 34px, 1160px);
    }
    .nav {
        min-height: 76px;
        gap: 14px;
    }
    .logo {
        min-width: 200px;
    }
    .logo img {
        width: 200px;
        max-height: 52px;
    }
    .nav-menu {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        gap: 2px;
        padding: 0;
        white-space: nowrap;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .nav-menu > li > a {
        min-height: 76px;
        padding: 0 7px;
        color: #2d281f !important;
        font-size: 12.5px;
        font-weight: 750;
        border-radius: 0;
    }
    .nav-menu > li > a::before {
        display: block;
        left: 7px;
        right: 7px;
        bottom: 20px;
    }
    .nav-menu > li > a:hover {
        background: transparent;
        color: #9a6d25 !important;
    }
    .dropdown-menu {
        position: absolute;
        top: calc(100% - 10px);
        left: 50%;
        width: auto;
        min-width: 210px;
        opacity: 0;
        transform: translate(-50%, 10px) !important;
        pointer-events: none;
        display: block;
        margin: 0;
        padding: 9px;
        background: rgba(255,255,255,.98);
        border: 1px solid rgba(197,150,61,.18);
        box-shadow: 0 22px 50px rgba(33,24,10,.13);
    }
    .nav-menu > li:hover .dropdown-menu {
        opacity: 1;
        transform: translate(-50%, 0) !important;
        pointer-events: auto;
    }
    .dropdown-menu a {
        color: #2d281f !important;
        font-size: 12.5px;
    }
    .dropdown-menu a:hover {
        color: #9a6d25 !important;
        background: #f8f2e6;
    }
    .nav-actions {
        min-width: 188px;
    }
    .nav-whats {
        display: inline-flex;
        min-height: 44px;
        padding: 0 18px;
        font-size: 13px;
    }
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 960px) {
    .menu-toggle { display: block !important; }
}

/* ===== Correção v6: contraste das heroes internas ===== */
.page-hero.page-hero-dark,
.about-hero.page-hero-dark {
    color: #ffffff !important;
    background:
        radial-gradient(circle at 88% 16%, rgba(197,150,61,.20), transparent 340px),
        radial-gradient(circle at 18% 90%, rgba(240,216,144,.10), transparent 360px),
        linear-gradient(135deg, #171410 0%, #0f0e0c 100%) !important;
    border-bottom: 1px solid rgba(240,216,144,.16) !important;
}
.page-hero.page-hero-dark h1,
.about-hero.page-hero-dark h1 {
    color: #ffffff !important;
    text-shadow: 0 14px 38px rgba(0,0,0,.30);
}
.page-hero.page-hero-dark p,
.about-hero.page-hero-dark p,
.page-hero.page-hero-dark .hero-description,
.about-hero.page-hero-dark .hero-description {
    color: rgba(255,255,255,.74) !important;
}
.page-hero.page-hero-dark .badge,
.about-hero.page-hero-dark .badge {
    color: var(--gold-soft) !important;
    background: rgba(240,216,144,.10) !important;
    border-color: rgba(240,216,144,.26) !important;
}
.about-hero .about-stat-card {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) !important;
    border-color: rgba(240,216,144,.20) !important;
}
.about-hero .about-stat-card strong {
    color: var(--gold-soft) !important;
}
.about-hero .about-stat-card span {
    color: rgba(255,255,255,.74) !important;
}
.about-hero .btn-outline,
.page-hero-dark .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.08) !important;
}
.about-hero .btn-outline:hover,
.page-hero-dark .btn-outline:hover {
    background: rgba(255,255,255,.14) !important;
}

/* Heroes claras, como a busca de imóveis, continuam com texto escuro e legível */
.page-hero:not(.page-hero-dark) {
    color: #1b1814 !important;
    background:
        radial-gradient(circle at 92% 4%, rgba(197,150,61,.10), transparent 330px),
        linear-gradient(180deg, #ffffff 0%, #f5f0e7 100%) !important;
}
.page-hero:not(.page-hero-dark) h1 {
    color: #181510 !important;
}
.page-hero:not(.page-hero-dark) p,
.page-hero:not(.page-hero-dark) .hero-description {
    color: #6b6256 !important;
}
.page-hero:not(.page-hero-dark) .badge {
    color: #9a6d25 !important;
    background: rgba(197,150,61,.08) !important;
    border-color: rgba(197,150,61,.22) !important;
}

/* Detalhe do imóvel: mantém título/descrição da hero visíveis */
.imovel-hero,
.property-hero,
section.page-hero.page-hero-dark {
    isolation: isolate;
}
section.page-hero.page-hero-dark .container {
    position: relative;
    z-index: 1;
}

/* Refinamento adicional nos cards de contato e financiamento */
.contact-info,
.side-note {
    color: #ffffff !important;
}
.contact-info h1,
.contact-info h2,
.contact-info h3,
.side-note h1,
.side-note h2,
.side-note h3 {
    color: #ffffff !important;
}
.contact-info p,
.contact-info a,
.side-note p,
.side-note a:not(.btn) {
    color: rgba(255,255,255,.72) !important;
}
.contact-info .badge,
.side-note .badge {
    color: var(--gold-soft) !important;
}

/* Versão v6 */


/* ===== Ajuste v7: navbar fixa preta + glass ao rolar ===== */
.site-body {
    padding-top: 82px;
}
.site-body .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    background: #050505 !important;
    border-bottom: 1px solid rgba(240,216,144,.18) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.26) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background .24s ease, box-shadow .24s ease, border-color .24s ease, backdrop-filter .24s ease;
}
.site-body .header.is-scrolled {
    background: rgba(5,5,5,.72) !important;
    border-bottom-color: rgba(240,216,144,.22) !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
}
.site-body .header .container.nav {
    width: min(1400px, calc(100% - 52px)) !important;
}
.site-body .nav {
    min-height: 82px !important;
}
.site-body .logo img {
    width: 250px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}
.site-body .nav-menu,
.site-body .nav-menu > li > a {
    color: rgba(255,255,255,.84) !important;
}
.site-body .nav-menu > li > a {
    min-height: 82px !important;
    font-weight: 700 !important;
}
.site-body .nav-menu a:hover,
.site-body .nav-menu > li:hover > a {
    color: var(--gold-soft) !important;
}
.site-body .has-dropdown > a::after {
    border-color: currentColor !important;
    opacity: .78 !important;
}
.site-body .dropdown-menu {
    background: rgba(11,10,8,.92) !important;
    border-color: rgba(240,216,144,.18) !important;
    box-shadow: 0 24px 56px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.site-body .dropdown-menu a {
    color: rgba(255,255,255,.80) !important;
}
.site-body .dropdown-menu a:hover {
    color: var(--gold-soft) !important;
    background: rgba(240,216,144,.10) !important;
}
.site-body .menu-toggle {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(240,216,144,.24) !important;
}
.site-body .menu-toggle span {
    background: #ffffff !important;
}
.site-body .nav-whats {
    color: #14100a !important;
}

/* mantém a foto de fundo da hero e deixa ela mais perceptível */
.site-body .hero {
    background-color: #070707 !important;
    background-image:
        radial-gradient(circle at 86% 18%, rgba(240,216,144,.18), transparent 290px),
        linear-gradient(90deg, rgba(7,7,7,.96) 0%, rgba(7,7,7,.78) 44%, rgba(7,7,7,.20) 100%),
        url('../img/hero-fortaleza-iracema.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 1220px) {
    .site-body .header .container.nav {
        width: min(100% - 36px, 1120px) !important;
    }
    .site-body .nav-menu {
        position: fixed !important;
        top: 94px !important;
        left: 18px !important;
        right: 18px !important;
        background: rgba(8,7,6,.94) !important;
        border: 1px solid rgba(240,216,144,.18) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }
    .site-body .nav-menu > li > a {
        min-height: auto !important;
        color: rgba(255,255,255,.90) !important;
    }
}

@media (max-width: 720px) {
    .site-body {
        padding-top: 72px;
    }
    .site-body .nav {
        min-height: 72px !important;
    }
    .site-body .logo img {
        width: 178px !important;
        max-height: 48px !important;
    }
    .site-body .nav-menu {
        top: 82px !important;
    }
}

/* Versão v7 */
