/* =====================================================================
   The Gin Flavors — Design System (tema "imovel")
   Portado 1:1 do bundle _bkp/_layout/teste-imovel/project/assets/styles.css
   + bloco <style> da home (index.html).
   R5: --navy-900 e --yellow puxam da paleta do projeto (var(--color-1/2)
   injetada por global/css.php a partir de tb_project). Fallback = cor do
   brand caso o DB esteja offline. Demais tons do navy = escala de design.
   ===================================================================== */
:root {
  /* TGF: paleta verde. --navy-* mantidos como nome por compat,
     valores agora são tons de verde escuro (color_3) → médio (color_1) → claro (color_2). */
  --navy-900: var(--color-3, #5a7329);   /* verde escuro tgf (tb_project color_3) */
  --navy-800: #6a8631;
  --navy-700: var(--color-1, #74913a);   /* verde médio (color_1) */
  --navy-600: var(--color-2, #8fb04a);   /* verde claro (color_2) */
  --yellow:   var(--color-2, #f3dd06);   /* brand yellow (tb_project color_2) */
  --yellow-700: #E5BE00;
  --ink:      #0F1115;
  --paper:    #FAFAF6;
  --cream:    #F4EFE2;
  --line:     #E5E2D6;
  --line-2:   #D9D4C2;
  --muted:    #5B6470;
  --muted-2:  #8A8E96;
  --ok:       #2B7A3F;
  --shadow-sm: 0 1px 2px rgba(8,31,58,.06), 0 1px 1px rgba(8,31,58,.04);
  --shadow-md: 0 10px 30px -12px rgba(8,31,58,.18), 0 2px 6px rgba(8,31,58,.06);
  --shadow-lg: 0 30px 60px -20px rgba(8,31,58,.28);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* Select estilizado padrão (form fields). Search-bar/search-panel
   sobrescrevem com estilo borderless próprio mais abaixo. */
select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 40px 11px 14px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d2d52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select:hover  { border-color: var(--line-2); }
select:focus  { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(8,31,58,.09); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); }
p { margin: 0; text-wrap: pretty; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-dot::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.top-bar {
  background: var(--navy-900);
  color: #cdd6e3;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 24px;
}
.top-bar a:hover { color: var(--yellow); }
.top-bar .top-info { display: flex; gap: 20px; align-items: center; }
.top-bar .top-info span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; height: 48px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-weight: 600; font-size: 15px;
  padding: 8px 0;
  position: relative;
}
.nav a.active { color: var(--navy-800); }
.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 3px; background: var(--yellow);
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--yellow);
  color: var(--navy-900);
  box-shadow: 0 1px 0 rgba(8,31,58,.1), 0 8px 18px -10px rgba(255, 214, 10, 0.7);
}
.btn-primary:hover { background: #ffdf3a; }
.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  transition: background .2s ease;
}
.icon-btn:hover { background: var(--cream); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-900);
  color: #cdd6e3;
  margin-top: 120px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
}
.site-footer .footer-top {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  margin-bottom: 18px;
}
.site-footer .foot-logo img { height: 44px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: #cdd6e3; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { color: #94a2b4; font-size: 14px; line-height: 1.65; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  font-size: 13px; color: #6f7e92;
  gap: 24px; flex-wrap: wrap;
}
.foot-newsletter form {
  display: flex; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px;
  margin-top: 12px;
}
.foot-newsletter input {
  flex: 1; background: transparent; border: 0; outline: 0;
  padding: 0 16px; color: #fff; min-width: 0;
}
.foot-newsletter input::placeholder { color: #6f7e92; }
.foot-newsletter button { height: 40px; padding: 0 18px; }

/* assinatura Develop by Cliki (R4) */
.dev-by { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.dev-by img { height: 13px; width: auto; display: block; opacity: .7; transition: opacity .2s ease; }
.dev-by:hover img { opacity: 1; }

/* ===== PROPERTY CARD ===== */
.prop-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.prop-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e9e4d5 0%, #d6cfb8 100%);
  overflow: hidden;
}
.prop-media .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(8,31,58,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.05) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #ece6d2 0%, #d6cfb8 100%);
}
.prop-media .tags {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px;
}
.prop-media .fav {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.tag-yellow { background: var(--yellow); color: var(--navy-900); }
.tag-navy { background: var(--navy-800); color: #fff; }
.tag-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.prop-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prop-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.prop-price .pm { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.prop-title {
  font-size: 17px; font-weight: 700; color: var(--ink); margin: 0;
  line-height: 1.3;
}
.prop-addr {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 13.5px;
}
.prop-meta {
  display: flex; gap: 18px; padding-top: 12px;
  border-top: 1px dashed var(--line); margin-top: auto;
  font-size: 13px; color: var(--muted);
}
.prop-meta span { display: inline-flex; align-items: center; gap: 6px; }
.prop-meta strong { color: var(--ink); font-weight: 700; }

/* ===== SEARCH PANEL ===== */
.search-panel {
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 4px;
  align-items: stretch;
}
.search-panel .field {
  padding: 12px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.search-panel .field:last-of-type { border-right: 0; }
.search-panel label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-panel input, .search-panel select {
  border: 0; outline: 0; background: transparent;
  font-size: 15px; font-weight: 600;
  padding: 0; width: 100%;
  appearance: none;
}

.tab-pills {
  display: inline-flex; gap: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
}
.tab-pills button {
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  font-weight: 600; font-size: 14px;
  transition: all .15s ease;
}
.tab-pills button.active { background: var(--yellow); color: var(--navy-900); }
.tab-pills.dark { background: var(--cream); }
.tab-pills.dark button { color: var(--muted); }
.tab-pills.dark button.active { background: var(--navy-800); color: #fff; }

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-header {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px; gap: 32px; flex-wrap: wrap;
}
.section-header .left { max-width: 640px; }
.section-header .eyebrow { margin-bottom: 14px; display: block; }
.section-header p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ===== UTILITY ===== */
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-yellow { background: var(--yellow); }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

.divider-yellow { width: 64px; height: 4px; background: var(--yellow); border-radius: 2px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: 13px; color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover, .chip.active {
  background: var(--navy-800); color: #fff; border-color: var(--navy-800);
}

/* ===== ICONS (line) ===== */
.i { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 14px; height: 14px; }
.i-lg { width: 22px; height: 22px; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .search-panel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-panel .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
}
@media (max-width: 680px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .site-footer .footer-top { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
}

/* =====================================================================
   HOME (index) — bloco <style> portado de index.html
   ===================================================================== */
.hero {
  position: relative;
  padding: 56px 0 120px;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(255,214,10,.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: var(--navy-900); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  padding: 0 6px;
  margin: 0 -6px;
}
.hero .lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .n {
  font-family: var(--font-display);
  font-weight: 800; font-size: 38px;
  color: var(--navy-900); letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat .l {
  font-size: 13px; color: var(--muted); margin-top: 6px;
}
.hero-stat .n sup { color: var(--yellow-700); font-size: 22px; vertical-align: super; }

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.05) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #e9e3ce, #cfc4a6);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-art::after {
  content: 'foto imóvel destaque';
  position: absolute; bottom: 18px; left: 18px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(8,31,58,.45);
}
.hero-art-overlay {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: end;
  gap: 12px;
}
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: center;
}
.fc-1 { top: 28px; left: -20px; }
.fc-2 { bottom: 80px; right: -16px; }
.floating-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--yellow); display: grid; place-items: center;
  color: var(--navy-900);
}
.floating-card .ic.navy { background: var(--navy-800); color: #fff; }
.floating-card .t { font-size: 12px; color: var(--muted); }
.floating-card .b { font-weight: 700; font-size: 14px; color: var(--ink); }

.hero-bg-mark {
  position: absolute;
  right: -120px; bottom: -120px;
  width: 460px; height: 460px;
  opacity: .04;
  z-index: 1;
  pointer-events: none;
}

/* Search Panel */
.search-wrap {
  margin-top: 56px;
  grid-column: 1 / -1;
}
.search-wrap .tab-pills.dark { margin-bottom: 12px; }

/* Bairros */
.bairros-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 16px;
}
.bairros-grid .b-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.06) 0 1px, transparent 1px 18px),
    linear-gradient(165deg, #d8d0b7, #b8ad8c);
  cursor: pointer;
  transition: transform .25s ease;
}
.bairros-grid .b-card:nth-child(2) {
  background:
    repeating-linear-gradient(135deg, rgba(255,214,10,.18) 0 1px, transparent 1px 18px),
    linear-gradient(165deg, var(--navy-800), var(--navy-900));
}
.bairros-grid .b-card:nth-child(3) {
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.08) 0 1px, transparent 1px 18px),
    linear-gradient(165deg, #ebe2c6, #cdc09b);
}
.bairros-grid .b-card:nth-child(4) {
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.08) 0 1px, transparent 1px 18px),
    linear-gradient(165deg, var(--yellow), #e5c000);
}
.bairros-grid .b-card:nth-child(5) {
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.06) 0 1px, transparent 1px 18px),
    linear-gradient(165deg, #c8bd9c, #9c9170);
}
.bairros-grid .b-card.tall { grid-row: span 2; }
.bairros-grid .b-card:hover { transform: translateY(-3px); }
.bairros-grid .b-card .info {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--navy-900);
}
.bairros-grid .b-card:nth-child(2) .info,
.bairros-grid .b-card:nth-child(2) .info * { color: #fff; }
.bairros-grid .b-card .info .name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.bairros-grid .b-card .info .count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .8;
}
.bairros-grid .b-card .arrow {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.95);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid; place-items: center;
}
.bairros-grid .b-card:nth-child(2) .arrow { background: var(--yellow); }

/* Como Funciona */
.how {
  background: var(--navy-900); color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,214,10,.08), transparent 60%);
  top: -200px; right: -200px;
}
.how .container { position: relative; }
.how h2 { color: #fff; }
.how .section-header p { color: #94a2b4; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.how-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  transition: background .2s ease;
}
.how-step:last-child { border-right: 0; }
.how-step:hover { background: rgba(255,255,255,.02); }
.how-step .step-n {
  font-family: var(--font-mono);
  color: var(--yellow);
  font-size: 13px; letter-spacing: .14em;
  margin-bottom: 24px;
}
.how-step .icon-wrap {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--yellow);
  margin-bottom: 24px;
}
.how-step h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.how-step p { color: #94a2b4; font-size: 14.5px; line-height: 1.6; }
.how-step .pad-l { padding-left: 28px; }

/* Tipos de Imóvel */
.types-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: left;
  transition: all .2s ease;
  cursor: pointer;
}
.type-card:hover {
  background: var(--navy-800); color: #fff;
  border-color: var(--navy-800);
  transform: translateY(-3px);
}
.type-card:hover .type-icon { color: var(--yellow); }
.type-card .type-icon {
  color: var(--navy-800);
  margin-bottom: 18px;
}
.type-card .name {
  font-weight: 700; font-size: 16px;
  margin-bottom: 4px;
}
.type-card .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  opacity: .8;
}
.type-card:hover .count { color: rgba(255,255,255,.6); }

/* Diferenciais */
.diff-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.diff-list { display: grid; gap: 32px; margin-top: 36px; }
.diff-item { display: flex; gap: 20px; align-items: flex-start; }
.diff-item .num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--navy-900);
}
.diff-item h4 { font-size: 19px; margin-bottom: 6px; font-weight: 700; }
.diff-item p { color: var(--muted); font-size: 15px; }
.diff-visual {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 24px;
  background: #ebe2c6 url('../../uploads/sobre-secundaria.jpg') center/cover no-repeat;
  overflow: hidden;
}
.diff-visual .badge-card {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  background: var(--navy-900); color: #fff;
  padding: 24px 28px; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 240px;
}
.diff-visual .badge-card .pct {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 900;
  color: var(--yellow); letter-spacing: -.03em; line-height: 1;
}
.diff-visual .badge-card .pct-label {
  font-size: 13px; color: #cdd6e3; margin-top: 8px;
}

/* CTA Banner */
.cta-banner {
  background: var(--yellow);
  border-radius: var(--r-xl);
  padding: 64px 72px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -120px;
  width: 360px; height: 360px;
  background: url('../uploads/logo-navy.png') no-repeat center / contain;
  opacity: .08;
  pointer-events: none;
}
.cta-banner h2 { color: var(--navy-900); max-width: 600px; }
.cta-banner p { color: var(--navy-900); opacity: .8; margin-top: 12px; font-size: 17px; max-width: 540px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--yellow);
  line-height: .5; margin-bottom: 16px;
}
.testimonial p {
  font-size: 16px; line-height: 1.55;
  color: var(--ink); margin-bottom: 24px;
}
.testimonial .author { display: flex; gap: 12px; align-items: center; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.testimonial .name { font-weight: 700; font-size: 14px; }
.testimonial .meta { font-size: 12px; color: var(--muted); }
.testimonial .stars { color: var(--yellow); margin-left: auto; font-size: 14px; }

/* Blog teaser */
.blog-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.blog-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: all .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .media {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(135deg, rgba(8,31,58,.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #e9e3ce, #cfc4a6);
}
.blog-card.feat .media { aspect-ratio: 16/14; }
.blog-card .body { padding: 24px 24px 28px; }
.blog-card .meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 16px;
  margin-bottom: 14px;
}
.blog-card .meta .cat { color: var(--navy-800); }
.blog-card h3 { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.blog-card.feat h3 { font-size: 28px; }
.blog-card p { color: var(--muted); margin-top: 12px; font-size: 14.5px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bairros-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .bairros-grid .b-card.tall { grid-row: span 1; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
  .floating-card { display: none; }
  .cta-banner { padding: 40px 28px; }
}
