/* ============================================================
   Achei pra Ti - Design System
   Paleta da marca: azul-marinho, verde, dourado e azul-céu
   ============================================================ */
:root {
    --navy-950: #061b3f;
    --navy-900: #082453;
    --navy-800: #0a2a66;
    --navy-700: #0e3b7a;
    --navy-600: #124a92;
    --blue: #1e88e5;
    --blue-soft: #e8f3fc;
    --green: #1e9e45;
    --green-700: #167f37;
    --green-soft: #e8f7ed;
    --lime: #7ac943;
    --gold: #f5b400;
    --gold-700: #c89300;
    --gold-soft: #fff6dc;
    --coral: #ef6a4c;
    --coral-soft: #fff0eb;
    --sand: #f6f2e8;
    --cream: #fbfaf7;
    --paper: #ffffff;
    --bg: #f4f7fb;
    --ink: #10263d;
    --ink-soft: #30465e;
    --muted: #6b7e93;
    --muted-2: #8fa1b4;
    --line: #e2eaf2;
    --line-strong: #cfdbe8;
    --shadow-sm: 0 2px 8px rgba(10, 42, 102, .05);
    --shadow: 0 12px 34px rgba(10, 42, 102, .09);
    --shadow-lg: 0 28px 70px rgba(6, 27, 63, .18);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-head: 'Inter', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --container: 1200px;
    --header-h: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.03em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: rgba(122, 201, 67, .3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-white { color: #fff; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; } .ml-auto { margin-left: auto; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--gold); color: var(--navy-900); padding: 12px 18px; border-radius: 8px; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ============================== Botoes ============================== */
.btn {
    --btn-bg: var(--green);
    --btn-color: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: var(--btn-bg); color: var(--btn-color);
    border: 1px solid transparent; border-radius: 12px;
    padding: 13px 22px; font-weight: 650; font-size: 14.5px; line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(30, 158, 69, .22); filter: saturate(1.05); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-navy { --btn-bg: var(--navy-800); }
.btn-navy:hover { box-shadow: 0 10px 24px rgba(10, 42, 102, .25); }
.btn-gold { --btn-bg: var(--gold); --btn-color: var(--navy-900); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(245, 180, 0, .3); }
.btn-white { --btn-bg: #fff; --btn-color: var(--navy-800); border-color: var(--line); }
.btn-white:hover { box-shadow: var(--shadow); }
.btn-outline { --btn-bg: transparent; --btn-color: var(--navy-800); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy-800); box-shadow: none; background: #fff; }
.btn-outline-light { --btn-bg: transparent; --btn-color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn-ghost { --btn-bg: transparent; --btn-color: var(--ink-soft); padding: 10px 14px; }
.btn-ghost:hover { background: var(--bg); box-shadow: none; }
.btn-danger { --btn-bg: var(--coral); }
.btn-link { background: none; border: 0; color: var(--green-700); font-weight: 650; padding: 0; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }

/* ============================== Formularios ============================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-3 { grid-column: span 3; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .label { font-size: 13px; font-weight: 650; color: var(--ink-soft); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select, .textarea {
    width: 100%; border: 1px solid var(--line-strong); background: #fff;
    border-radius: 10px; padding: 12px 14px; color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
    min-height: 46px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 136, 229, .12);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7e93' stroke-width='2'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
    padding-right: 38px;
}
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #fff; }
.input-group:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 136, 229, .12); }
.input-group .input { border: 0; box-shadow: none !important; }
.input-group .prefix { display: flex; align-items: center; padding: 0 12px; background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 600; border-right: 1px solid var(--line); }
.checkbox, .radio { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.checkbox input, .radio input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 2px; flex: 0 0 auto; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff;
    color: var(--ink-soft); border-radius: 999px; padding: 9px 14px; font-size: 13.5px; transition: all .16s ease; cursor: pointer;
}
.chip-check input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-700); font-weight: 650; }
.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(30, 158, 69, .2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 42px; height: 24px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background .2s; flex: 0 0 auto; }
.switch .track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }
.form-error { background: var(--coral-soft); color: #a23822; border: 1px solid #f6c7bb; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-info { background: var(--blue-soft); color: #155b93; border: 1px solid #cbe5fa; padding: 12px 16px; border-radius: 10px; font-size: 14px; }

/* ============================== Header ============================== */
.topbar { background: var(--navy-950); color: #b9d1ec; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 20px; }
.topbar .topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.site-header .brand { flex: 0 0 auto; }
.brand-logo { display: block; height: 64px; width: auto; max-width: 100%; border-radius: 8px; }
.site-header .brand-logo { height: 84px; }
.brand-with-slogan { flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-slogan { font-size: 10px; letter-spacing: .03em; color: var(--muted); margin-top: 2px; font-weight: 500; }
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a { padding: 9px 10px; border-radius: 9px; font-weight: 550; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.nav-main a:hover, .nav-main a.active { color: var(--navy-800); background: var(--bg); }
.nav-main a.nav-highlight { color: var(--green-700); font-weight: 700; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 14px; font-size: 13.5px; }
.mobile-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; color: var(--navy-800); }
.mobile-toggle:hover { background: var(--bg); }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; }
.mobile-menu.open { display: block; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(6, 27, 63, .55); backdrop-filter: blur(3px); }
.mobile-menu-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 24px; overflow-y: auto; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { padding: 13px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav a:hover { background: var(--bg); }
.mobile-menu .brand-logo { height: 52px; }
.admin-login .brand-logo { height: 60px; }
.mobile-menu .btn { margin-top: 12px; }
.account-menu { position: relative; }
.account-button { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 4px 6px 4px 4px; border-radius: 999px; color: var(--ink-soft); }
.account-button:hover { background: var(--bg); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.avatar-lg { width: 54px; height: 54px; font-size: 18px; }
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 220px; padding: 8px; display: none; z-index: 100; }
.dropdown.open { display: block; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 10px 11px; border-radius: 9px; font-size: 14px; color: var(--ink-soft); }
.dropdown a:hover, .dropdown button:hover { background: var(--bg); color: var(--navy-800); }
.dropdown .divider { height: 1px; background: var(--line); margin: 6px 4px; }
.dropdown .dropdown-head { padding: 10px 11px 8px; font-size: 12px; color: var(--muted); }

/* ============================== Hero / home ============================== */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.02); }
.hero-bg-flip { transform: scale(1.02) scaleX(-1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,27,63,.94) 0%, rgba(8,36,83,.82) 45%, rgba(8,36,83,.28) 100%), linear-gradient(0deg, rgba(6,27,63,.86) 0%, transparent 42%); }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 120px; }
.hero-content { max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 20px; letter-spacing: -.055em; }
.hero h1 .green { color: var(--lime); }
.hero h1 .gold { color: var(--gold); }
.hero-sub { font-size: 17px; line-height: 1.65; color: #c9dcf0; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; }
.hero-trust .item .icon { width: 30px; height: 30px; padding: 6px; background: rgba(255,255,255,.1); border-radius: 9px; color: var(--lime); }
.hero-trust .item strong { display: inline; font-family: var(--font-head); font-size: 18px; line-height: 1.2; color: #fff; }
.hero-trust .item > div { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.hero-trust .item span { font-size: 11.5px; color: #b7cde4; }
.hero-search-wrap { position: relative; z-index: 3; margin-top: -76px; }
.hero-search { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5); padding: 18px; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 15px; border-bottom: 1px solid var(--line); padding: 0 4px; }
.search-tab { border: 0; background: none; padding: 11px 18px 14px; font-weight: 650; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 7px; }
.search-tab .icon { width: 17px; height: 17px; }
.search-tab.active { color: var(--navy-800); border-bottom-color: var(--green); }
.search-fields { display: grid; grid-template-columns: 1.15fr 1fr 1fr .9fr auto; gap: 10px; align-items: end; }
.search-fields .field label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search-fields .input, .search-fields .select { border-color: var(--line); background: var(--bg); min-height: 48px; }
.search-fields .btn { min-height: 48px; padding: 12px 22px; }
.search-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 12px; padding: 0 4px; }
.search-hint .icon { color: var(--gold); width: 16px; height: 16px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .eyebrow { color: var(--green); margin-bottom: 10px; }
.section-head .eyebrow::before { background: var(--green); }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; max-width: 560px; }
.section-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14px; color: var(--green-700); white-space: nowrap; }
.section-link:hover { gap: 11px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card:nth-child(2) .value-icon { background: var(--blue-soft); color: var(--blue); }
.value-card:nth-child(3) .value-icon { background: var(--gold-soft); color: var(--gold-700); }
.value-card h3 { margin-bottom: 8px; font-size: 18px; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============================== Cards de imovel ============================== */
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.property-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s; display: flex; flex-direction: column; min-width: 0; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e5f4; }
.property-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-media img { transform: scale(1.045); }
.property-badges { position: absolute; top: 13px; left: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.badge .icon { width: 12px; height: 12px; }
.badge-venda { background: var(--navy-800); color: #fff; }
.badge-aluguel { background: var(--blue); color: #fff; }
.badge-investimento { background: var(--gold); color: var(--navy-900); }
.badge-destaque { background: #fff; color: var(--navy-800); }
.badge-novo { background: var(--green); color: #fff; }
.badge-soft-success { background: var(--green-soft); color: var(--green-700); }
.badge-soft-info { background: var(--blue-soft); color: #1467ae; }
.badge-soft-gold { background: var(--gold-soft); color: #8e6900; }
.badge-soft-danger { background: var(--coral-soft); color: #a23822; }
.badge-soft-muted { background: #eef2f7; color: var(--muted); }
.fav-btn { position: absolute; top: 12px; right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .16s, color .16s; }
.fav-btn:hover { transform: scale(1.08); color: var(--coral); }
.fav-btn.active { color: var(--coral); background: #fff; }
.fav-btn.active .icon { fill: currentColor; }
.btn-fav.active { color: var(--coral); border-color: #f4b7aa; background: var(--coral-soft); }
.btn-fav.active .icon { fill: currentColor; }
.property-match { position: absolute; left: 13px; bottom: 13px; display: inline-flex; align-items: center; gap: 6px; background: rgba(6,27,63,.9); color: #fff; padding: 7px 11px; border-radius: 999px; font-weight: 700; font-size: 11.5px; backdrop-filter: blur(4px); }
.property-match .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(122,201,67,.2); }
.property-body { padding: 18px 19px 19px; display: flex; flex-direction: column; flex: 1; }
.property-location { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; margin-bottom: 7px; }
.property-location .icon { width: 14px; height: 14px; color: var(--green); }
.property-title { font-family: var(--font-head); font-size: 16px; font-weight: 650; line-height: 1.35; margin: 0 0 12px; letter-spacing: -.02em; }
.property-title a:hover { color: var(--navy-700); }
.property-specs { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.property-specs .spec { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 12.5px; }
.property-specs .spec .icon { width: 16px; height: 16px; color: var(--muted); }
.property-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.property-price { font-family: var(--font-head); font-size: 21px; font-weight: 750; color: var(--navy-800); letter-spacing: -.04em; line-height: 1.1; }
.property-price small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.round-arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: all .18s; }
.property-card:hover .round-arrow { background: var(--green); color: #fff; }
.round-arrow .icon { width: 17px; height: 17px; }

/* ============================== Demanda / match ============================== */
.demand-section { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.demand-section h2 { color: #fff; }
.demand-section::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); top: -360px; right: -150px; }
.demand-section::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); bottom: -250px; left: -100px; }
.demand-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.demand-copy .eyebrow { color: var(--lime); }
.demand-copy .eyebrow::before { background: var(--lime); }
.demand-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.demand-copy p { color: #bfd4e9; font-size: 16px; max-width: 480px; }
.demand-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.demand-step { display: flex; gap: 14px; }
.demand-step .num { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: var(--gold); font-weight: 750; font-family: var(--font-head); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.demand-step strong { display: block; color: #fff; font-size: 14.5px; }
.demand-step span { color: #a8c3dd; font-size: 13px; }
.demand-preview { position: relative; }
.preview-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); padding: 24px; transform: rotate(-1.5deg); }
.preview-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-card-header .label { font-size: 12px; color: var(--muted); }
.preview-prop { display: flex; gap: 13px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.preview-prop img { width: 92px; height: 74px; object-fit: cover; border-radius: 9px; }
.preview-prop h4 { font-size: 14px; margin: 0 0 3px; }
.preview-prop p { margin: 0; font-size: 12px; color: var(--muted); }
.preview-prop .price { font-weight: 750; color: var(--navy-800); font-size: 15px; margin-top: 3px; }
.preview-score { margin-left: auto; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--green-700); background: conic-gradient(var(--green) 0 94%, #e9f2ec 94% 100%); position: relative; flex: 0 0 auto; }
.preview-score::before { content: ''; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.preview-score span { position: relative; z-index: 1; }
.preview-alert { margin-top: 14px; border: 1px dashed #cfe0f0; background: var(--blue-soft); border-radius: 12px; padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.preview-alert .icon { color: var(--blue); flex: 0 0 auto; }
.preview-alert strong { display: block; font-size: 13px; }
.preview-alert span { font-size: 12px; color: var(--muted); }
.preview-float { position: absolute; right: -18px; bottom: -26px; background: var(--gold); color: var(--navy-900); border-radius: 13px; padding: 13px 17px; box-shadow: 0 18px 40px rgba(0,0,0,.18); transform: rotate(2deg); }
.preview-float strong { display: block; font-family: var(--font-head); font-size: 22px; line-height: 1; }
.preview-float span { font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }

/* ============================== Planos ============================== */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card.featured { border: 2px solid var(--green); box-shadow: 0 20px 50px rgba(30,158,69,.12); }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 5px; }
.plan-desc { font-size: 12.5px; color: var(--muted); min-height: 40px; }
.plan-price { margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-family: var(--font-head); font-size: 32px; letter-spacing: -.05em; color: var(--navy-800); line-height: 1; }
.plan-price span { font-size: 12px; color: var(--muted); }
.plan-price .free { font-size: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.plan-features li { display: flex; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.plan-features .icon { width: 16px; height: 16px; color: var(--green); margin-top: 2px; flex: 0 0 auto; }

/* ============================== CTA / faixa ============================== */
.cta-band { background: linear-gradient(110deg, var(--navy-900), var(--navy-700) 65%, #1468b2); color: #fff; border-radius: var(--radius-lg); padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 340px; height: 340px; right: -80px; top: -130px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); }
.cta-band h2 { color: #fff; margin-bottom: 4px; font-size: clamp(1.6rem, 3vw, 2.2rem); position: relative; z-index: 1; }
.cta-band p { color: #c4d9ee; margin: 0; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; flex: 0 0 auto; }

/* ============================== Listagem ============================== */
.page-hero { background: linear-gradient(105deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 46px 0 52px; position: relative; overflow: hidden; }
.page-hero.has-image {
    background-color: var(--navy-900);
    background-image: linear-gradient(90deg, rgba(6,27,63,.92) 0%, rgba(8,36,83,.74) 45%, rgba(8,36,83,.30) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
}
.page-hero::after { content: ''; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -120px; top: -280px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 8px; }
.page-hero p { color: #bfd4e9; margin: 0; max-width: 650px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #9db8d4; margin-bottom: 14px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .icon { width: 12px; height: 12px; }
.breadcrumbs .current { color: #e8f1fa; }
.listing-section { padding: 32px 0 80px; background: var(--bg); }
.listing-layout { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filters-head h3 { margin: 0; font-size: 15px; }
.filters-head a { font-size: 12px; color: var(--muted); }
.filters-head a:hover { color: var(--coral); }
.filters-close { display: none !important; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.filter-group .input, .filter-group .select { min-height: 42px; padding: 10px 12px; font-size: 13.5px; }
.filter-group .field + .field { margin-top: 10px; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-checks { display: flex; flex-direction: column; gap: 8px; max-height: 180px; overflow-y: auto; padding-right: 3px; }
.filter-checks .checkbox { font-size: 13px; }
.filter-checks .count { margin-left: auto; font-size: 11px; color: var(--muted-2); }
.filter-actions { display: flex; gap: 8px; margin-top: 16px; }
.filter-actions .btn { flex: 1; }
.listing-main { min-width: 0; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.listing-count { font-size: 14px; color: var(--ink-soft); }
.listing-count strong { color: var(--navy-800); }
.listing-sort { display: flex; align-items: center; gap: 8px; }
.listing-sort .select { min-height: 40px; padding: 8px 34px 8px 12px; font-size: 13px; width: auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--ink-soft); }
.filter-chip .icon { width: 12px; height: 12px; }
.mobile-filter-btn { display: none; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink-soft); padding: 0 10px; }
.pagination a:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pagination .active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 700; }
.pagination .disabled { opacity: .45; }
.empty-state { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 54px 24px; text-align: center; }
.empty-state .icon { width: 42px; height: 42px; color: var(--muted-2); margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 18px; }

/* ============================== Detalhe do imovel ============================== */
.detail-page { background: var(--bg); padding: 26px 0 80px; }
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; height: 470px; background: var(--navy-900); }
.gallery-main { grid-row: span 2; position: relative; overflow: hidden; cursor: zoom-in; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { overflow: hidden; position: relative; cursor: pointer; }
.gallery-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(6,27,63,.08); transition: background .2s; }
.gallery-thumb:hover::after { background: transparent; }
.gallery-more { position: absolute; inset: 0; background: rgba(6,27,63,.58); color: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 650; font-size: 14px; }
.detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 22px 0 18px; }
.detail-top h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.detail-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.detail-location .icon { color: var(--green); width: 17px; height: 17px; }
.detail-price-box { text-align: right; flex: 0 0 auto; }
.detail-price { font-family: var(--font-head); font-size: 31px; font-weight: 750; color: var(--navy-800); letter-spacing: -.05em; line-height: 1.1; }
.detail-price small { display: block; font-size: 12px; color: var(--muted); font-family: var(--font-body); margin-top: 4px; }
.detail-actions { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; flex-wrap: wrap; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.detail-content { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-title h2, .panel-title h3 { margin: 0; font-size: 19px; }
.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.detail-spec { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.detail-spec .icon { color: var(--green); margin-bottom: 5px; }
.detail-spec strong { font-family: var(--font-head); font-size: 17px; color: var(--navy-800); }
.detail-spec span { font-size: 11.5px; color: var(--muted); }
.detail-description { color: var(--ink-soft); line-height: 1.8; }
.detail-description p:last-child { margin-bottom: 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.feature-item .icon { color: var(--green); width: 17px; height: 17px; }
.detail-map { height: 340px; border-radius: 12px; overflow: hidden; background: var(--bg); z-index: 1; }
.match-detail { background: linear-gradient(135deg, #f1fbf4, #fff); border: 1px solid #cfead7; }
.match-score-row { display: flex; align-items: center; gap: 18px; }
.score-ring { --score: 80; --ring: var(--green); width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--ring) calc(var(--score) * 1%), #e8f0e9 0); position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.score-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.score-ring span { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy-800); }
.score-ring span small { font-size: 11px; font-weight: 600; color: var(--muted); }
.score-copy h3 { margin: 0 0 3px; font-size: 18px; }
.score-copy p { margin: 0; font-size: 12.5px; color: var(--muted); }
.match-breakdown { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.match-criterion { display: grid; grid-template-columns: 105px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; }
.match-criterion .bar { height: 6px; border-radius: 99px; background: #e8efe9; overflow: hidden; }
.match-criterion .bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.match-criterion .value { text-align: right; font-weight: 700; color: var(--green-700); }
.contact-card { position: sticky; top: calc(var(--header-h) + 18px); }
.broker-box { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.broker-box .avatar { width: 48px; height: 48px; }
.broker-box strong { display: block; font-size: 14.5px; }
.broker-box span { font-size: 12px; color: var(--muted); }
.contact-card .btn { margin-bottom: 10px; }
.contact-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-form h4 { margin-bottom: 12px; }
.contact-form .field { margin-bottom: 10px; }
.contact-form .input, .contact-form .textarea { min-height: 42px; padding: 10px 12px; font-size: 13.5px; }
.contact-form .textarea { min-height: 78px; }
.safety-note { display: flex; gap: 8px; font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.safety-note .icon { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; color: var(--green); }
.share-row { display: flex; gap: 8px; margin-top: 14px; }
.share-row .btn { flex: 1; padding: 9px; font-size: 12px; }

/* ============================== Procurar (wizard) ============================== */
.wizard-page { background: var(--bg); padding: 34px 0 80px; }
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 26px; align-items: start; }
.wizard-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.wizard-head { margin-bottom: 26px; }
.wizard-progress { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.wizard-progress .step-dot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.wizard-progress .step-dot .num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: #fff; }
.wizard-progress .step-dot.active { color: var(--navy-800); }
.wizard-progress .step-dot.active .num { border-color: var(--green); background: var(--green); color: #fff; }
.wizard-progress .step-dot.done .num { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.wizard-progress .line { flex: 1; height: 1.5px; background: var(--line); margin: 0 12px; }
.wizard-step { display: none; animation: fadeUp .3s ease; }
.wizard-step.active { display: block; }
.wizard-step h2 { font-size: 24px; margin-bottom: 6px; }
.wizard-step .step-intro { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card span { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 14px 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; text-align: center; transition: all .16s; }
.choice-card span .icon { color: var(--muted); }
.choice-card input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-700); }
.choice-card input:checked + span .icon { color: var(--green); }
.choice-card.field-error span, .city-option.field-error span { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(239, 106, 76, .10); }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.city-option { position: relative; }
.city-option input { position: absolute; opacity: 0; }
.city-option span { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; font-size: 13.5px; cursor: pointer; transition: all .16s; }
.city-option span::before { content: ''; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 5px; background: #fff; flex: 0 0 auto; }
.city-option input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-700); font-weight: 600; }
.city-option input:checked + span::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.city-bairros { background: var(--bg); border-radius: 12px; padding: 14px; margin-top: 12px; }
.city-bairros h4 { font-size: 13px; margin-bottom: 8px; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard-aside { position: sticky; top: calc(var(--header-h) + 18px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card h4 { font-size: 14px; margin-bottom: 8px; }
.aside-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.aside-list { display: flex; flex-direction: column; gap: 10px; }
.aside-list li { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink-soft); }
.aside-list .icon { color: var(--green); width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ============================== Resultado ============================== */
.result-hero { background: linear-gradient(110deg, var(--navy-950), var(--navy-700)); color: #fff; padding: 38px 0 42px; }
.result-hero .eyebrow { color: var(--lime); margin-bottom: 10px; }
.result-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.result-hero p { color: #c0d5ea; max-width: 680px; }
.result-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.result-summary .chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #e7f1fb; padding: 7px 11px; border-radius: 999px; font-size: 12px; }
.result-summary .chip .icon { width: 14px; height: 14px; color: var(--lime); }
.result-section { padding: 32px 0 80px; background: var(--bg); }
.result-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.result-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px; display: flex; align-items: center; gap: 11px; }
.result-stat .icon { color: var(--green); }
.result-stat strong { font-family: var(--font-head); font-size: 21px; display: block; line-height: 1.1; color: var(--navy-800); }
.result-stat span { font-size: 11px; color: var(--muted); }
.result-list { display: flex; flex-direction: column; gap: 16px; }
.match-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 265px minmax(0, 1fr) 220px; transition: box-shadow .2s, border-color .2s; }
.match-card:hover { box-shadow: var(--shadow); border-color: #d4e5f4; }
.match-media { position: relative; min-height: 220px; overflow: hidden; }
.match-media img { width: 100%; height: 100%; object-fit: cover; }
.match-media .property-badges { top: 12px; left: 12px; }
.match-body { padding: 22px; min-width: 0; }
.match-body h3 { font-size: 19px; margin-bottom: 5px; }
.match-body .match-loc { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.match-specs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--ink-soft); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.match-specs span { display: inline-flex; align-items: center; gap: 5px; }
.match-specs .icon { width: 15px; height: 15px; color: var(--muted); }
.match-price { font-family: var(--font-head); font-size: 22px; font-weight: 750; color: var(--navy-800); letter-spacing: -.04em; }
.match-side { border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fbfdff; }
.match-side .score-ring { width: 92px; height: 92px; }
.match-side .score-ring span { font-size: 24px; }
.match-side .match-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.match-side .btn { width: 100%; }
.match-breakdown-toggle { background: none; border: 0; color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; }
.match-breakdown-toggle:hover { color: var(--navy-800); }
.match-breakdown-panel { display: none; grid-column: 1 / -1; padding: 0 22px 20px; border-top: 1px dashed var(--line); }
.match-breakdown-panel.open { display: block; }
.match-breakdown-panel .match-breakdown { margin-top: 14px; }
.no-match { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; text-align: center; box-shadow: var(--shadow-sm); }
.radar { width: 110px; height: 110px; margin: 0 auto 22px; position: relative; border-radius: 50%; background: radial-gradient(circle, rgba(30,158,69,.12) 0 35%, transparent 36%), repeating-radial-gradient(circle, transparent 0 22px, rgba(30,158,69,.16) 23px 24px); }
.radar::before, .radar::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(30,158,69,.22); animation: radarPulse 2.8s ease-out infinite; }
.radar::after { animation-delay: 1.4s; }
.radar .icon { position: absolute; inset: 0; margin: auto; color: var(--green); width: 32px; height: 32px; }
.no-match h2 { font-size: 25px; margin-bottom: 8px; }
.no-match p { color: var(--muted); max-width: 580px; margin: 0 auto 20px; }
.no-match-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.result-share { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 15px; margin-top: 18px; }
.result-share .input { border: 0; background: transparent; font-size: 12px; color: var(--muted); padding: 0; min-height: auto; }
.result-share .btn { flex: 0 0 auto; }

/* ============================== Auth ============================== */
.auth-page { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { background: linear-gradient(140deg, var(--navy-950), var(--navy-700)); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); right: -180px; top: -180px; }
.auth-side::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(122,201,67,.08); left: -120px; bottom: -120px; }
.auth-side .brand { position: relative; z-index: 1; }
.auth-side .brand-logo { height: 60px; background: #fff; padding: 8px 11px; border-radius: 10px; }
.auth-side .brand-slogan { color: #a9c2dc; }
.auth-side h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); margin-top: 40px; max-width: 440px; position: relative; z-index: 1; }
.auth-side p { color: #b7cde3; max-width: 430px; position: relative; z-index: 1; }
.auth-benefits { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }
.auth-benefits li { display: flex; gap: 10px; font-size: 13.5px; color: #d5e4f1; }
.auth-benefits .icon { color: var(--lime); width: 18px; height: 18px; flex: 0 0 auto; }
.auth-side .auth-quote { position: relative; z-index: 1; border-left: 3px solid var(--gold); padding-left: 16px; color: #dce9f4; font-size: 13px; font-style: italic; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 50px 30px; }
.auth-card { width: 100%; max-width: 470px; }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-card .field { margin-bottom: 14px; }
.auth-card .btn-block { margin-top: 6px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--green-700); font-weight: 650; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.type-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--bg); border-radius: 11px; padding: 4px; margin-bottom: 20px; }
.type-tabs label { position: relative; }
.type-tabs input { position: absolute; opacity: 0; }
.type-tabs span { display: block; text-align: center; padding: 8px 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); border-radius: 8px; cursor: pointer; }
.type-tabs input:checked + span { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.company-fields { display: none; }
.company-fields.show { display: block; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 44px; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 36px; height: 36px; color: var(--muted); border-radius: 8px; }
.password-toggle:hover { background: var(--bg); }
.auth-footer-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 16px; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 20% 10%, #123d7c, var(--navy-950) 55%); padding: 24px; }
.admin-login-card { width: 100%; max-width: 400px; background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }

/* ============================== Footer ============================== */
.site-footer { background: var(--navy-950); color: #a8c0d8; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer .brand-logo { height: 48px; background: #fff; padding: 7px 10px; border-radius: 10px; }
.site-footer .brand-slogan { color: #8fa9c2; }
.footer-about p { font-size: 13px; line-height: 1.7; margin-top: 16px; max-width: 300px; color: #91abc4; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; color: #c7d9e9; }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: #9db6cd; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; font-size: 13px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--lime); margin-top: 2px; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11.5px; color: #7894af; flex-wrap: wrap; }
.footer-bottom a { color: #9db6cd; }
.footer-bottom a:hover { color: #fff; }

/* ============================== Flash / WhatsApp ============================== */
.flash-stack { position: fixed; top: 94px; right: 22px; z-index: 300; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.flash { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 13px; animation: slideIn .3s ease; }
.flash .icon { flex: 0 0 auto; margin-top: 1px; }
.flash-sucesso { border-left: 4px solid var(--green); } .flash-sucesso .icon { color: var(--green); }
.flash-erro { border-left: 4px solid var(--coral); } .flash-erro .icon { color: var(--coral); }
.flash-info { border-left: 4px solid var(--blue); } .flash-info .icon { color: var(--blue); }
.flash-aviso { border-left: 4px solid var(--gold); } .flash-aviso .icon { color: var(--gold-700); }
.flash-close { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 0 2px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.35); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float .icon { width: 28px; height: 28px; }
.cookie-note { position: fixed; left: 22px; bottom: 22px; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); max-width: 340px; font-size: 12px; color: var(--muted); display: none; }
.cookie-note.show { display: flex; gap: 10px; align-items: flex-start; }
.cookie-note a { color: var(--green-700); font-weight: 600; }

/* ============================== Painel ============================== */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); background: var(--bg); }
.app-sidebar { background: var(--navy-950); color: #b9cde0; padding: 22px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.app-sidebar .brand { padding: 0 10px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-sidebar .brand-logo { height: 46px; background: #fff; padding: 6px 9px; border-radius: 10px; }
.app-sidebar .brand-slogan { color: #7d99b5; font-size: 9px; }
.sidebar-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #607d9b; margin: 22px 12px 8px; font-weight: 700; }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 13px; font-weight: 550; color: #9ab4ce; transition: all .15s; }
.sidebar-nav a .icon { width: 18px; height: 18px; opacity: .85; }
.sidebar-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-nav a.active { background: linear-gradient(90deg, rgba(30,158,69,.22), rgba(30,158,69,.06)); color: #fff; box-shadow: inset 2px 0 0 var(--lime); }
.sidebar-nav a.active .icon { color: var(--lime); opacity: 1; }
.sidebar-nav .nav-badge { margin-left: auto; background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-plan { margin-top: auto; padding: 14px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.sidebar-plan .label { color: #7d99b5; font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; }
.sidebar-plan strong { display: block; color: #fff; margin: 3px 0 6px; font-size: 13px; }
.plan-meter { height: 5px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin-bottom: 9px; }
.plan-meter span { display: block; height: 100%; background: var(--lime); border-radius: 99px; }
.sidebar-plan a { font-size: 11.5px; color: var(--gold); font-weight: 650; }
.sidebar-user { display: flex; align-items: center; gap: 9px; padding: 14px 8px 0; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user .avatar { width: 34px; height: 34px; font-size: 11px; }
.sidebar-user strong { color: #fff; font-size: 12px; display: block; line-height: 1.3; }
.sidebar-user span { font-size: 10.5px; color: #7d99b5; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-topbar { height: 68px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 70; }
.app-topbar .page-title { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 650; font-size: 16px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topbar .topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-icon { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.topbar-icon:hover { background: var(--bg); }
.topbar-icon .dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; background: var(--coral); border-radius: 50%; border: 1.5px solid #fff; }
.notif-panel { position: absolute; right: 28px; top: 62px; width: 360px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 120; display: none; overflow: hidden; }
.notif-panel.open { display: block; }
.notif-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.notif-head strong { font-size: 13px; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: #f7fbff; }
.notif-item .icon { color: var(--green); width: 16px; height: 16px; margin-top: 2px; }
.notif-item strong { display: block; font-size: 12px; color: var(--ink); }
.notif-item span { color: var(--muted); line-height: 1.45; }
.notif-item time { display: block; color: var(--muted-2); font-size: 10px; margin-top: 3px; }
.app-content { padding: 28px; }
.app-content .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.app-content .page-head h1 { font-size: 25px; margin-bottom: 4px; }
.app-content .page-head p { color: var(--muted); font-size: 13px; margin: 0; }
.app-content .page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-grid-5 { grid-template-columns: repeat(5, 1fr); }
.match-card-demand { grid-template-columns: 190px minmax(0, 1fr) 185px; }
.split-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.plans-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plans-grid-2 { grid-template-columns: repeat(2, 1fr); }
.kpi-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 13px; align-items: flex-start; }
.kpi-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kpi-card:nth-child(2) .kpi-icon { background: var(--blue-soft); color: var(--blue); }
.kpi-card:nth-child(3) .kpi-icon { background: var(--gold-soft); color: var(--gold-700); }
.kpi-card:nth-child(4) .kpi-icon { background: #f0ecfb; color: #6c4cd1; }
.kpi-card .kpi-label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card .kpi-value { font-family: var(--font-head); font-size: 25px; font-weight: 750; line-height: 1.2; color: var(--navy-800); letter-spacing: -.04em; }
.kpi-card .kpi-note { font-size: 10.5px; color: var(--muted); }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.panel-card + .panel-card { margin-top: 16px; }
.panel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-card-head h2, .panel-card-head h3 { font-size: 16px; margin: 0; }
.panel-card-head p { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.panel-card-head .link { font-size: 12px; font-weight: 650; color: var(--green-700); display: inline-flex; align-items: center; gap: 4px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match-row { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .16s, background .16s; }
.match-row:hover { border-color: #cfe2f2; background: #fbfdff; }
.match-row img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.match-row .match-row-main { min-width: 0; flex: 1; }
.match-row h4 { font-size: 12.5px; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-row p { font-size: 11px; color: var(--muted); margin: 0; }
.match-row .mini-score { width: 41px; height: 41px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11.5px; background: var(--green-soft); color: var(--green-700); flex: 0 0 auto; }
.match-row .mini-score.alta { background: var(--gold-soft); color: var(--gold-700); }
.match-row .mini-score.media { background: var(--blue-soft); color: var(--blue); }
.match-row .mini-score.baixa { background: #eef2f7; color: var(--muted); }
.match-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.demo-score { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green-700); background: var(--green-soft); padding: 4px 8px; border-radius: 99px; }
.demo-score.alta { background: var(--gold-soft); color: var(--gold-700); }
.demo-score.media { background: var(--blue-soft); color: var(--blue); }
.demand-highlight { background: linear-gradient(135deg, #f1fbf4, #fff); border: 1px solid #d4ecd9; border-radius: 14px; padding: 18px; }
.demand-highlight h3 { color: var(--navy-800); font-size: 17px; margin-bottom: 4px; }
.demand-highlight p { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.demand-highlight-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.demand-highlight-stats div { background: rgba(255,255,255,.8); border: 1px solid #e0eee4; border-radius: 9px; padding: 9px; text-align: center; }
.demand-highlight-stats strong { display: block; font-size: 17px; color: var(--green-700); font-family: var(--font-head); }
.demand-highlight-stats span { font-size: 9px; color: var(--muted); line-height: 1.2; display: block; }
.index-bar { display: flex; align-items: center; gap: 10px; }
.index-ring { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--v) * 1%), #edf2f6 0); position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.index-ring::before { content: ''; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.index-ring span { position: relative; z-index: 1; font-size: 12px; font-weight: 800; color: var(--navy-800); }
.prop-list { display: flex; flex-direction: column; gap: 10px; }
.prop-row { display: flex; gap: 12px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.prop-row img { width: 64px; height: 54px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.prop-row .main { flex: 1; min-width: 0; }
.prop-row h4 { font-size: 13px; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-row p { margin: 0; color: var(--muted); font-size: 11px; }
.prop-row .price { font-weight: 700; color: var(--navy-800); font-size: 12.5px; white-space: nowrap; }
.prop-row .actions { display: flex; gap: 5px; flex: 0 0 auto; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-ativo { background: var(--green); } .status-rascunho { background: var(--muted-2); } .status-suspenso { background: var(--coral); } .status-vendido, .status-alugado { background: var(--blue); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfdff; }
.table .title-cell { display: flex; align-items: center; gap: 9px; min-width: 210px; }
.table .title-cell img { width: 48px; height: 42px; border-radius: 7px; object-fit: cover; }
.table .title-cell strong { display: block; font-size: 12px; }
.table .title-cell span { color: var(--muted); font-size: 10.5px; }
.table .actions { display: flex; gap: 5px; justify-content: flex-end; }
.table .empty { text-align: center; color: var(--muted); padding: 28px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.table-toolbar .filters { display: flex; gap: 7px; flex-wrap: wrap; }
.table-toolbar .input, .table-toolbar .select { min-height: 38px; padding: 8px 11px; font-size: 12.5px; width: auto; }
.status-select { min-height: 32px; padding: 5px 28px 5px 9px; font-size: 11px; border-radius: 7px; background-position: right 7px center; background-size: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.form-card + .form-card { margin-top: 16px; }
.form-card h2 { font-size: 16px; margin-bottom: 4px; }
.form-card .card-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.form-section-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.photo-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .photo-actions { position: absolute; inset: auto 5px 5px; display: flex; gap: 4px; justify-content: flex-end; }
.photo-item .photo-actions button { width: 27px; height: 27px; border-radius: 6px; border: 0; background: rgba(255,255,255,.94); color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; }
.photo-item .cover-tag { position: absolute; top: 5px; left: 5px; background: var(--gold); color: var(--navy-900); font-size: 9px; font-weight: 700; padding: 3px 6px; border-radius: 4px; }
.upload-box { border: 1.5px dashed var(--line-strong); border-radius: 11px; padding: 18px; text-align: center; color: var(--muted); font-size: 12px; background: #fbfdff; }
.upload-box input { display: none; }
.upload-box .icon { color: var(--green); margin-bottom: 5px; }
.upload-box .upload-link { color: var(--green-700); font-weight: 650; cursor: pointer; }
.plan-usage { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.plan-usage .bar { height: 6px; background: var(--line); border-radius: 99px; flex: 1; overflow: hidden; }
.plan-usage .bar span { display: block; height: 100%; background: var(--green); }
.credit-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--gold-soft); color: #8e6900; font-weight: 700; font-size: 11px; padding: 5px 9px; border-radius: 99px; }
.match-detail-grid { display: grid; grid-template-columns: 1fr 350px; gap: 16px; align-items: start; }
.demand-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.demand-info-item { background: var(--bg); border-radius: 9px; padding: 10px 12px; }
.demand-info-item span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.demand-info-item strong { font-size: 13px; color: var(--ink); font-weight: 600; }
.match-summary-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.match-summary-box h4 { font-size: 13px; margin-bottom: 8px; }
.match-summary-box p { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.oportunidade-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 20px; margin-bottom: 14px; }
.oportunidade-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.oportunidade-head h3 { font-size: 18px; margin: 0 0 3px; }
.oportunidade-head p { font-size: 12px; color: var(--muted); margin: 0; }
.oportunidade-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.oportunidade-stats div { background: var(--bg); border-radius: 9px; padding: 9px 10px; }
.oportunidade-stats span { font-size: 9.5px; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .04em; }
.oportunidade-stats strong { font-size: 14px; color: var(--navy-800); }
.oportunidade-terreno { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.oportunidade-terreno img { width: 84px; height: 64px; border-radius: 8px; object-fit: cover; }
.oportunidade-terreno h4 { font-size: 13px; margin: 0 0 2px; }
.oportunidade-terreno p { font-size: 11px; color: var(--muted); margin: 0; }
.payment-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; max-width: 720px; margin: 0 auto; }
.pix-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; margin: 18px 0; }
.pix-box img { width: 210px; height: 210px; margin: 0 auto; border-radius: 8px; }
.pix-code { background: #fff; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 9px; font-family: monospace; font-size: 10px; word-break: break-all; color: var(--muted); margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.tabs-simple { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs-simple a, .tabs-simple button { border: 0; background: none; padding: 9px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-simple .active { color: var(--navy-800); border-bottom-color: var(--green); }
.mobile-sidebar-toggle { display: none; }
.admin-shell .app-sidebar { background: #0b1c33; }
.admin-shell .sidebar-nav a.active { background: linear-gradient(90deg, rgba(245,180,0,.2), rgba(245,180,0,.04)); box-shadow: inset 2px 0 0 var(--gold); }
.admin-shell .sidebar-nav a.active .icon { color: var(--gold); }
.admin-shell .sidebar-plan { display: none; }
.admin-shell .kpi-card .kpi-icon { background: var(--gold-soft); color: var(--gold-700); }
.admin-shell .kpi-card:nth-child(2) .kpi-icon { background: var(--green-soft); color: var(--green-700); }
.admin-shell .kpi-card:nth-child(3) .kpi-icon { background: var(--blue-soft); color: var(--blue); }
.admin-shell .kpi-card:nth-child(4) .kpi-icon { background: #f0ecfb; color: #6c4cd1; }
.map-panel { height: 390px; border-radius: 12px; overflow: hidden; background: var(--bg); z-index: 1; }
.heatmap-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 10.5px; color: var(--muted); margin-top: 10px; }
.heatmap-legend span { display: inline-flex; align-items: center; gap: 5px; }
.heatmap-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.rank-list { display: flex; flex-direction: column; gap: 10px; counter-reset: rank; }
.rank-item { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rank-item .rank-num { width: 24px; height: 24px; border-radius: 7px; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; flex: 0 0 auto; }
.rank-item:first-child .rank-num { background: var(--gold); color: var(--navy-900); }
.rank-item .rank-main { flex: 1; min-width: 0; }
.rank-item strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-item span { font-size: 10.5px; color: var(--muted); }
.rank-item .rank-value { font-weight: 700; color: var(--navy-800); font-size: 11.5px; }
.bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 130px; padding-top: 10px; }
.bar-chart .bar { flex: 1; background: linear-gradient(180deg, var(--green), #8fdca8); border-radius: 4px 4px 2px 2px; min-height: 3px; position: relative; }
.bar-chart .bar:hover { background: var(--navy-700); }
.bar-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted-2); margin-top: 5px; }
.alert { border-radius: 10px; padding: 12px 15px; font-size: 13px; display: flex; gap: 9px; align-items: flex-start; }
.alert .icon { flex: 0 0 auto; margin-top: 1px; }
.alert-info { background: var(--blue-soft); color: #155b93; }
.alert-success { background: var(--green-soft); color: var(--green-700); }
.alert-warn { background: var(--gold-soft); color: #8e6900; }
.alert-danger { background: var(--coral-soft); color: #a23822; }

/* ============================== Utilitarios / paginas institucionais ============================== */
.hide-mobile { display: inline-flex; }
.flex-1 { flex: 1; min-width: 0; }
.sidebar-overlay { display: none; }
.field-error { border-color: var(--coral) !important; box-shadow: 0 0 0 3px rgba(239, 106, 76, .12) !important; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(6, 27, 63, .94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.flash-body { flex: 1; line-height: 1.5; }
.gallery-main img, .gallery-thumb img { transition: transform .35s ease; }
.prose { max-width: 800px; margin: 0 auto; color: var(--ink-soft); line-height: 1.85; }
.prose h2 { margin-top: 32px; font-size: 22px; color: var(--navy-800); }
.prose h3 { margin-top: 24px; font-size: 17px; }
.prose p, .prose li { font-size: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.institutional-hero { background: var(--navy-800); color: #fff; padding: 70px 0; }
.institutional-hero.has-image {
    background-color: var(--navy-900);
    background-image: linear-gradient(90deg, rgba(6,27,63,.92) 0%, rgba(8,36,83,.72) 52%, rgba(8,36,83,.25) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
}
.institutional-hero.has-image .container { position: relative; z-index: 1; }
.institutional-hero h1 { color: #fff; max-width: 800px; }
.institutional-hero p { color: #c2d7ec; max-width: 650px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.step-card .step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-800); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 750; margin-bottom: 14px; }
.step-card h3 { font-size: 17px; }
.step-card p { color: var(--muted); font-size: 13px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-info-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card h2 { color: #fff; }
.contact-info-card p { color: #bfd4e9; font-size: 14px; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #dce9f5; }
.contact-lines .icon { color: var(--lime); }
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item button { width: 100%; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; font-family: var(--font-head); font-weight: 650; font-size: 15px; color: var(--navy-800); }
.faq-item .answer { display: none; color: var(--muted); font-size: 13.5px; line-height: 1.7; padding-top: 10px; }
.faq-item.open .answer { display: block; }
.faq-item.open button .icon { transform: rotate(180deg); }
.faq-item button .icon { transition: transform .2s; }
.compare-strip { display: flex; align-items: center; gap: 14px; background: var(--gold-soft); border: 1px solid #f5e2a8; border-radius: 12px; padding: 15px 18px; font-size: 13px; color: #765800; }

/* ============================== Erros ============================== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; text-align: center; }
.error-card { max-width: 520px; background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.error-code { font-family: var(--font-head); font-size: 82px; font-weight: 800; line-height: 1; color: var(--navy-800); letter-spacing: -.07em; }
.error-card h1 { font-size: 24px; margin-top: 10px; }
.error-card p { color: var(--muted); }

/* ============================== Animacoes ============================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes radarPulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(122,201,67,.45); } 50% { box-shadow: 0 0 0 8px rgba(122,201,67,0); } }
.pulse { animation: pulseDot 2.2s infinite; }
.fade-up { animation: fadeUp .55s ease both; }
.fade-up.d1 { animation-delay: .08s; } .fade-up.d2 { animation-delay: .16s; } .fade-up.d3 { animation-delay: .24s; }

/* ============================== Responsivo ============================== */
@media (max-width: 1120px) {
    .nav-main a:nth-child(5) { display: none; }
    .header-actions .btn-outline { display: none; }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .search-fields { grid-template-columns: 1fr 1fr 1fr; }
    .search-fields .btn { grid-column: span 3; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .match-card { grid-template-columns: 220px minmax(0, 1fr) 190px; }
    .app-shell { grid-template-columns: 228px minmax(0, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid .footer-col:last-child { grid-column: span 3; }
}
@media (max-width: 960px) {
    :root { --header-h: 86px; }
    .container { padding: 0 20px; }
    .hide-mobile { display: none !important; }
    .section { padding: 64px 0; }
    .nav-main { display: none; }
    .header-actions .btn-outline, .header-actions .account-menu { display: none; }
    .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .hero { min-height: 600px; }
    .hero .container { padding-top: 50px; padding-bottom: 110px; }
    .hero-search-wrap { margin-top: -58px; }
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .demand-grid { grid-template-columns: 1fr; gap: 46px; }
    .demand-preview { max-width: 520px; }
    .listing-layout { grid-template-columns: 1fr; }
    .filters-card { position: fixed; inset: 0; z-index: 250; max-height: none; border-radius: 0; padding: 22px; display: none; overflow-y: auto; }
    .filters-card.open { display: block; }
    .filters-close { display: inline-flex !important; }
    .mobile-filter-btn { display: inline-flex; }
    .detail-layout { grid-template-columns: 1fr; }
    .contact-card { position: static; }
    .detail-gallery { height: 380px; }
    .wizard-layout { grid-template-columns: 1fr; }
    .wizard-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .match-card { grid-template-columns: 200px minmax(0, 1fr); }
    .match-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; justify-content: space-between; }
    .match-side .score-ring { width: 64px; height: 64px; }
    .match-side .score-ring span { font-size: 17px; }
    .match-side .btn { width: auto; }
    .dash-grid, .form-section-grid, .match-detail-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 258px; transform: translateX(-100%); transition: transform .25s; height: 100%; }
    .app-sidebar.open { transform: translateX(0); }
    .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(6,27,63,.5); z-index: 90; }
    .sidebar-overlay.open { display: block; }
    .mobile-sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
    .contact-grid { grid-template-columns: 1fr; }
    .split-hero { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
    .topbar { display: none; }
    .site-header .container { gap: 12px; }
    .site-header .brand-logo { height: 68px; }
    .brand-slogan { display: none; }
    .header-actions .btn-white { display: none; }
    .header-actions .btn-gold { display: none; }
    .hero { min-height: 560px; }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
    .hero-sub { font-size: 15px; }
    .hero-trust { gap: 18px; }
    .hero-trust .item strong { font-size: 16px; }
    .hero-trust .item > div { gap: 5px; }
    .hero-trust .item span { font-size: 10px; }
    .hero-search { padding: 12px; border-radius: 18px; }
    .search-tabs { overflow-x: auto; }
    .search-tab { padding: 9px 12px 12px; font-size: 13px; white-space: nowrap; }
    .search-fields { grid-template-columns: 1fr 1fr; gap: 8px; }
    .search-fields .field:first-child { grid-column: span 2; }
    .search-fields .btn { grid-column: span 2; }
    .property-grid, .property-grid.cols-2 { grid-template-columns: 1fr; }
    .value-grid, .steps-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .plans-grid { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
    .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 320px; }
    .gallery-thumb { display: none; }
    .detail-top { flex-direction: column; gap: 8px; }
    .detail-price-box { text-align: left; }
    .detail-actions { justify-content: flex-start; }
    .detail-specs { grid-template-columns: 1fr 1fr; }
    .feature-list { grid-template-columns: 1fr 1fr; }
    .wizard-card { padding: 20px; }
    .choice-grid { grid-template-columns: 1fr 1fr; }
    .city-grid { grid-template-columns: 1fr; }
    .wizard-aside { grid-template-columns: 1fr; }
    .result-stats { grid-template-columns: 1fr 1fr; }
    .match-card { grid-template-columns: 1fr; }
    .match-media { min-height: 210px; }
    .match-side { flex-wrap: wrap; }
    .result-hero { padding: 30px 0; }
    .no-match { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid .footer-col:last-child { grid-column: span 2; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .app-content { padding: 18px; }
    .app-topbar { padding: 0 18px; }
    .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kpi-card { padding: 14px; gap: 9px; }
    .kpi-card .kpi-value { font-size: 21px; }
    .kpi-icon { width: 34px; height: 34px; }
    .two-col { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .demand-highlight-stats { grid-template-columns: 1fr 1fr; }
    .auth-form-wrap { padding: 36px 20px; }
    .type-tabs { grid-template-columns: 1fr 1fr; }
    .flash-stack { top: 80px; left: 14px; right: 14px; max-width: none; }
    .notif-panel { right: 14px; top: 60px; }
    .oportunidade-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
    .container { padding: 0 16px; }
    .header-actions .btn { padding: 9px 12px; font-size: 12.5px; }
    .hero-search-wrap { margin-top: -42px; }
    .step-card { padding: 20px; }
    .result-share { flex-direction: column; align-items: stretch; }
    .result-share .btn { width: 100%; }
    .app-content { padding: 14px; }
    .kpi-grid { grid-template-columns: 1fr; }
    .filter-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid .footer-col:last-child { grid-column: span 1; }
    .feature-list { grid-template-columns: 1fr; }
    .detail-specs { grid-template-columns: 1fr 1fr; }
    .match-criterion { grid-template-columns: 82px 1fr 34px; font-size: 11px; }
}

@media (max-width: 380px) {
    .site-header .brand-logo { height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
