/* ============================================================
   NG ASSESSORIA IMOBILIÁRIA — design system do portal
   Azul institucional + laranja de conversão. Tipografia: Sora / Inter / IBM Plex Mono.
   ============================================================ */
:root {
  --azul: #102A43;
  --azul-2: #1B3D5C;
  --azul-3: #243B53;
  --ink: #0B1D2E;
  --laranja: #F58220;
  --laranja-2: #D96E12;
  --laranja-soft: #FEF1E4;
  --bg: #F3F5F7;
  --white: #FFFFFF;
  --texto: #333333;
  --muted: #5A6B7C;
  --borda: #D9E1E8;
  --ok: #1D8A56;
  --radius: 14px;
  --radius-sm: 10px;
  --sombra: 0 6px 24px rgba(16, 42, 67, .08);
  --sombra-2: 0 14px 40px rgba(16, 42, 67, .16);
  --azul-var: var(--azul);
  --laranja-var: var(--laranja);
  --fonte-display: 'Sora', system-ui, sans-serif;
  --fonte-corpo: 'Inter', system-ui, sans-serif;
  --fonte-mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--fonte-display); color: var(--azul-var); line-height: 1.2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--laranja-var); margin-bottom: 10px;
}
.section-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 28px; }
.section-head { margin-bottom: 8px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-laranja { background: var(--laranja-var); color: #fff; box-shadow: 0 6px 18px rgba(245, 130, 32, .32); }
.btn-laranja:hover { background: var(--laranja-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 130, 32, .4); }
.btn-navy { background: var(--azul-var); color: #fff; }
.btn-navy:hover { background: var(--azul-2); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.16); }
.btn-line { border-color: var(--borda); color: var(--azul-var); background: var(--white); }
.btn-line:hover { border-color: var(--azul-var); background: #F7FAFD; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------------- Topbar + Header ---------------- */
.topbar { background: var(--ink); color: #c8d4de; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }

.site-header {
  background: var(--azul-var); color: #fff; position: sticky; top: 0; z-index: 90;
  box-shadow: 0 2px 14px rgba(11, 29, 46, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; max-width: 210px; object-fit: contain; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--azul-var);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--fonte-display); font-weight: 700; font-size: 19px; position: relative; flex: none;
}
.brand-mark::after {
  content: ''; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px;
  background: var(--laranja-var); border-radius: 4px; border: 2.5px solid var(--azul-var);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name strong { font-family: var(--fonte-display); font-size: 19px; letter-spacing: .02em; }
.brand-name span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #B8C6D4; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: #E4ECF3; }
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a.is-active { color: #fff; font-weight: 700; }
.nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; background: transparent; border: 0; width: 46px; height: 46px; border-radius: 10px;
  color: #fff; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Drawer mobile */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11, 29, 46, .55); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer {
  position: fixed; top: 0; right: -320px; width: 300px; max-width: 86vw; height: 100vh; z-index: 96;
  background: var(--azul-var); color: #fff; padding: 22px 18px; transition: right .25s ease;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
body.drawer-open .drawer { right: 0; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer a { padding: 13px 10px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: #E4ECF3; }
.drawer a:hover, .drawer a.is-active { background: rgba(255, 255, 255, .1); }
.drawer .btn { margin-top: 12px; }
.drawer-close { align-self: flex-end; background: transparent; border: 0; color: #fff; width: 42px; height: 42px; }
.drawer-close svg { width: 24px; height: 24px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 46, .78) 0%, rgba(16, 42, 67, .62) 45%, rgba(11, 29, 46, .88) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 84px 0 118px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 130, 32, .16);
  border: 1px solid rgba(245, 130, 32, .55); color: #FFD9B3; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); font-weight: 700; max-width: 640px; margin-bottom: 14px; }
.hero p { font-size: clamp(15.5px, 2vw, 18px); color: #D7E1EA; max-width: 560px; margin-bottom: 30px; }
.hero h1 em { font-style: normal; color: #FFB769; }

/* Painel de busca */
.search-panel {
  background: var(--white); color: var(--texto); border-radius: 18px; padding: 16px;
  box-shadow: var(--sombra-2); max-width: 1020px;
}
.sp-tabs { display: flex; gap: 6px; background: var(--bg); padding: 5px; border-radius: 11px; margin-bottom: 14px; }
.sp-tab {
  flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--muted); transition: all .15s;
}
.sp-tab.is-active { background: var(--laranja-var); color: #fff; box-shadow: 0 4px 12px rgba(245, 130, 32, .35); }
.sp-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr .8fr auto; gap: 10px; align-items: end; }
.sp-field label { display: block; font-size: 12px; font-weight: 700; color: var(--azul-var); margin-bottom: 5px; letter-spacing: .02em; }
.sp-field select, .sp-field input {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--borda); border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--texto); background: var(--white); appearance: auto;
}
.sp-field select:focus, .sp-field input:focus { outline: none; border-color: var(--azul-var); box-shadow: 0 0 0 3px rgba(16, 42, 67, .12); }
.sp-actions { display: flex; flex-direction: column; gap: 8px; }
.sp-advanced { font-size: 13px; font-weight: 600; color: var(--azul-var); text-align: center; padding-top: 2px; }
.sp-advanced:hover { color: var(--laranja-var); }
.search-panel-home .sp-grid { grid-template-columns: 1.4fr 1.3fr .9fr .9fr .7fr auto; }

/* ---------------- Cards de imóvel ---------------- */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 22px; }
.prop-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #E6ECF1;
  box-shadow: var(--sombra); display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.pc-media { position: relative; aspect-ratio: 4 / 3; background: #E2E8EE; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prop-card:hover .pc-media img { transform: scale(1.04); }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.pc-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; color: #fff; background: var(--azul-var);
}
.pc-badge-aluguel { background: #3E5C7A; }
.pc-badge-lanc { background: var(--laranja-var); }
.pc-badge-destaque { background: #B75B0E; }
.pc-badge-demo { background: #fff; color: var(--muted); border: 1.5px dashed #9FB0BF; letter-spacing: .06em; }
.pc-badge-status { background: var(--ok); }
.pc-status-vendido { background: #A63D3D; }
.pc-status-reservado { background: #B08A1E; }
.pc-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--azul-var);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sombra);
  transition: transform .15s;
}
.pc-fav:hover { transform: scale(1.08); }
.pc-fav svg { width: 19px; height: 19px; }
.pc-fav.is-fav { color: #E0356B; }
.pc-fav.is-fav svg { fill: #E0356B; }
.pc-photo-count {
  position: absolute; bottom: 10px; right: 10px; z-index: 2; background: rgba(11, 29, 46, .72);
  color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.pc-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pc-price { font-family: var(--fonte-display); font-weight: 700; font-size: 20px; color: var(--laranja-var); }
.pc-price small { display: block; font-family: var(--fonte-corpo); font-weight: 600; font-size: 12.5px; color: var(--muted); }
.pc-title { font-size: 15.5px; font-weight: 600; color: var(--azul-var); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.pc-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.pc-loc svg { width: 15px; height: 15px; flex: none; color: var(--laranja-var); }
.pc-code { font-family: var(--fonte-mono); font-size: 11.5px; color: #7A8CA0; letter-spacing: .04em; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0 2px; border-top: 1px solid #EDF1F5; margin-top: auto; }
.pc-spec { display: inline-flex; align-items: center; gap: 6px; font-size: 12.8px; color: var(--azul-3); font-weight: 500; }
.pc-spec svg { width: 16px; height: 16px; color: var(--azul-var); opacity: .75; }
.pc-actions { display: flex; gap: 8px; padding-top: 10px; }
.pc-actions .btn { flex: 1; padding: 10px 8px; font-size: 13.5px; }

/* ---------------- Faixa de captação ---------------- */
.cta-capture { background: linear-gradient(120deg, var(--azul-var) 0%, var(--azul-3) 100%); color: #fff; border-radius: 20px; padding: 44px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-capture::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(245, 130, 32, .18); }
.cta-capture h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-capture p { color: #C9D6E2; max-width: 560px; }
.cta-capture .btn-capture { font-size: 17px; padding: 18px 30px; border-radius: 12px; }

/* ---------------- Regiões ---------------- */
.region-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.region-chip {
  background: var(--white); border: 1.5px solid var(--borda); color: var(--azul-var);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: all .15s;
}
.region-chip:hover { border-color: var(--laranja-var); color: var(--laranja-var); transform: translateY(-2px); }

/* ---------------- Diferenciais ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--sombra); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--laranja-soft); color: var(--laranja-var);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------------- Filtros / resultados ---------------- */
.search-layout { display: grid; grid-template-columns: 292px 1fr; gap: 26px; align-items: start; padding: 30px 0 60px; }
.filters { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); padding: 20px; box-shadow: var(--sombra); position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
.filters h3 { font-size: 16px; margin-bottom: 14px; }
.f-group { border-top: 1px solid #EDF1F5; padding: 14px 0; }
.f-group > label.f-title { display: block; font-size: 13px; font-weight: 700; color: var(--azul-var); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.f-check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--texto); cursor: pointer; }
.f-check input { width: 17px; height: 17px; accent-color: var(--laranja-var); flex: none; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters input[type="number"], .filters input[type="text"], .filters select {
  width: 100%; padding: 9px 10px; border: 1.5px solid var(--borda); border-radius: 8px; font-size: 14px;
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--azul-var); }
.filters input[type="checkbox"] { accent-color: var(--laranja-var); }
.filters .btn { margin-top: 6px; }

.results-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.results-count { font-family: var(--fonte-display); font-weight: 700; font-size: 20px; color: var(--azul-var); }
.results-count span { color: var(--laranja-var); }
.sort-field { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sort-field select { padding: 9px 12px; border: 1.5px solid var(--borda); border-radius: 8px; font-size: 14px; color: var(--azul-var); background: #fff; font-weight: 600; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--borda);
  background: #fff; color: var(--azul-var); font-weight: 600; font-size: 14px;
}
.pagination button.is-active { background: var(--azul-var); border-color: var(--azul-var); color: #fff; }
.pagination button:hover:not(.is-active):not([disabled]) { border-color: var(--azul-var); }
.pagination button[disabled] { opacity: .4; cursor: default; }

.empty { text-align: center; padding: 60px 20px; background: var(--white); border: 1.5px dashed var(--borda); border-radius: var(--radius); color: var(--muted); }
.empty svg { width: 44px; height: 44px; color: #B9C6D2; margin: 0 auto 12px; }
.empty h3 { margin-bottom: 6px; }
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, #E8EDF2 40%, #F4F7FA 50%, #E8EDF2 60%); background-size: 200% 100%; animation: shine 1.2s infinite; min-height: 380px; }
@keyframes shine { to { background-position: -200% 0; } }

/* ---------------- Página do imóvel ---------------- */
.prop-page { padding: 26px 0 60px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--laranja-var); }
.prop-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.prop-head h1 { font-size: clamp(21px, 3vw, 30px); }
.prop-head .pc-code { margin-top: 4px; display: inline-block; }
.prop-head-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
.g-main { position: relative; aspect-ratio: 16 / 9.5; border-radius: var(--radius); overflow: hidden; background: #E2E8EE; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--azul-var); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sombra); z-index: 2; }
.g-nav:hover { background: #fff; }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
.g-nav svg { width: 20px; height: 20px; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.g-thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2.5px solid transparent; transition: border .15s, opacity .15s; }
.g-thumbs img:hover { opacity: .85; }
.g-thumbs img.is-active { border-color: var(--laranja-var); }

.prop-cols { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; margin-top: 26px; }
.prop-main { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); overflow: hidden; }
.prop-main-block { padding: 24px; border-bottom: 1px solid #EDF1F5; }
.prop-main-block:last-child { border-bottom: 0; }
.prop-main-block h2 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.prop-main-block h2 svg { width: 20px; height: 20px; color: var(--laranja-var); }
.desc-rich p { margin-bottom: 12px; }
.desc-rich ul, .desc-rich ol { margin: 0 0 12px 20px; list-style: disc; }
.desc-rich ol { list-style: decimal; }
.desc-rich strong { color: var(--azul-var); }
.desc-rich a { color: var(--laranja-var); text-decoration: underline; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.spec { background: var(--bg); border-radius: var(--radius-sm); padding: 13px 12px; display: flex; flex-direction: column; gap: 3px; }
.spec svg { width: 20px; height: 20px; color: var(--azul-var); }
.spec b { font-size: 16px; color: var(--azul-var); }
.spec span { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #EDF4F0; color: #1D6B44; border: 1px solid #CBE5D6; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.chip svg { width: 14px; height: 14px; }
.chip-blue { background: #EDF3FA; color: var(--azul-var); border-color: #CFE0F0; }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-frame { border: 0; width: 100%; height: 300px; border-radius: var(--radius-sm); }
.addr-hidden { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }

.buy-box { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); position: sticky; top: 92px; overflow: hidden; }
.buy-box-top { background: var(--azul-var); color: #fff; padding: 20px; }
.buy-box-top .pc-price { font-size: 26px; color: #FFB769; }
.buy-box-top .pc-price small { color: #AFC0CF; }
.buy-price-rows { padding: 8px 20px 4px; font-size: 14px; }
.buy-price-rows div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #E6ECF1; }
.buy-price-rows span { color: var(--muted); }
.buy-price-rows b { color: var(--azul-var); }
.buy-box .btn { margin: 8px 20px; width: calc(100% - 40px); }
.buy-box .btn:first-of-type { margin-top: 14px; }
.buy-box .wa-people { padding: 4px 20px 18px; display: grid; gap: 8px; }
.buy-contact-note { font-size: 12.5px; color: var(--muted); text-align: center; padding: 0 20px 16px; }

.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 9px; border: 1.5px solid var(--borda); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--azul-var); }
.share-btn:hover { border-color: var(--laranja-var); color: var(--laranja-var); }
.share-btn svg { width: 16px; height: 16px; }

.demo-note { background: #FFF8E8; border: 1.5px dashed #E0B25A; color: #7A5A16; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.demo-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ---------------- Formulários ---------------- */
.form-card { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--azul-var); }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  padding: 11px 13px; border: 1.5px solid var(--borda); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--texto); background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul-var); box-shadow: 0 0 0 3px rgba(16, 42, 67, .1); }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--laranja-var); flex: none; }
.consent a { color: var(--laranja-var); font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--muted); }
.success-card { text-align: center; padding: 40px 24px; }
.success-card .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #E3F4EB; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.success-card .ok-icon svg { width: 30px; height: 30px; }
.dropzone { border: 2px dashed var(--borda); border-radius: var(--radius-sm); padding: 26px; text-align: center; color: var(--muted); background: #FAFCFE; transition: border .15s, background .15s; }
.dropzone.is-drag { border-color: var(--laranja-var); background: var(--laranja-soft); }
.dropzone svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--azul-var); }
.dz-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dz-thumb { width: 92px; height: 70px; border-radius: 8px; object-fit: cover; border: 1px solid var(--borda); position: relative; }

/* ---------------- Páginas institucionais ---------------- */
.page-hero { background: linear-gradient(120deg, var(--azul-var), var(--azul-3)); color: #fff; padding: 54px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }
.page-hero p { color: #C9D6E2; max-width: 640px; font-size: 16.5px; }
.prose { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); padding: 34px; max-width: 860px; margin: 34px auto; }
.prose h2 { font-size: 20px; margin: 22px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 12px; }
.prose ul { list-style: disc; margin: 0 0 12px 22px; }
.prose strong { color: var(--azul-var); }
.legal-note { background: #FFF8E8; border: 1.5px dashed #E0B25A; color: #7A5A16; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-top: 18px; }

.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.partner-card { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.partner-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--azul-var); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--fonte-display); font-weight: 700; font-size: 28px; flex: none; position: relative; }
.partner-avatar::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: 20px; height: 20px; background: var(--laranja-var); border-radius: 50%; border: 3px solid #fff; }
.partner-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.partner-card h3 { font-size: 19px; margin-bottom: 4px; }
.partner-role { font-size: 13px; font-weight: 700; color: var(--laranja-var); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.partner-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.partner-links { display: flex; gap: 8px; flex-wrap: wrap; }
.partner-slot { font-size: 12.5px; color: #8296A9; font-style: italic; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }

/* ---------------- Contato ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra); padding: 20px; display: flex; gap: 15px; align-items: flex-start; }
.contact-card .feature-icon { margin: 0; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 2px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--sombra); border: 1px solid #E6ECF1; }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------------- Modal / toast / lightbox ---------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(11, 29, 46, .62); z-index: 120; display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(3px); }
.modal-overlay.is-open { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto; padding: 26px; box-shadow: var(--sombra-2); animation: pop .2s ease; }
.modal h3 { font-size: 20px; margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-close { float: right; background: var(--bg); border: 0; width: 38px; height: 38px; border-radius: 50%; color: var(--azul-var); display: inline-flex; align-items: center; justify-content: center; }
.modal-close svg { width: 18px; height: 18px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--azul-var); color: #fff; padding: 13px 22px; border-radius: 12px; font-size: 14.5px; font-weight: 500; box-shadow: var(--sombra-2); z-index: 200; opacity: 0; pointer-events: none; transition: all .25s; max-width: 92vw; text-align: center; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: #A63D3D; }

.lightbox { position: fixed; inset: 0; background: rgba(8, 20, 32, .94); z-index: 150; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox button svg { width: 22px; height: 22px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #C9D6E2; font-size: 13px; font-family: var(--fonte-mono); }

/* ---------------- WhatsApp flutuante ---------------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-pop { background: #fff; border-radius: 14px; box-shadow: var(--sombra-2); padding: 14px; width: 250px; display: none; border: 1px solid #E6ECF1; }
.wa-pop.is-open { display: block; animation: pop .18s ease; }
.wa-pop h4 { font-size: 14px; margin-bottom: 8px; }
.wa-pop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--azul-var); }
.wa-pop a:hover { background: var(--bg); }
.wa-pop a svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.wa-pop a small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--laranja-var); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(245, 130, 32, .45); display: inline-flex; align-items: center; justify-content: center; transition: transform .18s; }
.wa-btn:hover { transform: scale(1.07); }
.wa-btn svg { width: 28px; height: 28px; }

/* ---------------- Cookies ---------------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110; background: var(--white); border: 1px solid #E6ECF1; border-radius: var(--radius); box-shadow: var(--sombra-2); padding: 16px 20px; display: none; gap: 16px; align-items: center; justify-content: space-between; max-width: 920px; margin: 0 auto; flex-wrap: wrap; }
.cookie-bar.is-on { display: flex; }
.cookie-bar p { font-size: 13.5px; color: var(--muted); max-width: 620px; }
.cookie-bar a { color: var(--laranja-var); font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; }

/* ---------------- Rodapé ---------------- */
.site-footer { background: var(--azul-var); color: #C9D6E2; margin-top: auto; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 34px; padding: 54px 0 38px; }
.f-brand .brand-name strong { color: #fff; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.f-links { display: grid; gap: 9px; }
.f-links a { font-size: 14px; }
.f-links a:hover { color: #fff; }
.f-contact { display: grid; gap: 10px; font-size: 14px; }
.f-contact div { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--laranja-var); }
.f-contact b { color: #fff; font-weight: 600; }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.09); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.f-social a:hover { background: var(--laranja-var); }
.f-social svg { width: 19px; height: 19px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.f-creci { font-size: 13px; color: #A8BCCB; }
.f-creci b { color: #fff; }
.wa-link:hover { color: #fff; }

/* ---------------- Animações ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 1060px) {
  .sp-grid, .search-panel-home .sp-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sp-actions { grid-column: 1 / -1; }
  .sp-actions .btn { width: 100%; }
  .prop-cols { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero-inner { padding: 56px 0 96px; }
  .sp-grid, .search-panel-home .sp-grid { grid-template-columns: 1fr 1fr; }
  .cta-capture { padding: 32px 22px; }
  .cta-capture .btn-capture { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 26px; }
  .prop-card .pc-actions { flex-direction: column; }
  .g-thumbs { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .topbar-right span.hide-sm { display: none; }
  .contact-card { flex-direction: column; }
}
@media (max-width: 480px) {
  .sp-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
}
