/* ===========================================================
   180º Imóveis — Landing
   Editorial / warm premium · light-default with dark toggle
   =========================================================== */

:root {
  /* Brand */
  --orange: #E87722;
  --orange-hot: #FF8A3D;
  --orange-dark: #C45A14;
  --orange-tint: #FBE9D7;
  --orange-glow: rgba(232,119,34,.18);

  --ink: #1F2A33;
  --ink-2: #2D3A42;
  --ink-deep: #0E1116;
  --ink-muted: #6F7A82;

  /* Surfaces (light) */
  --paper: #FFFFFF;
  --cream: #FAF7F2;
  --cream-2: #F3EDE2;
  --line: #E8E0D2;
  --line-2: #EFE9DC;

  /* Text (light) */
  --text: var(--ink);
  --text-muted: #6F6557;
  --text-on-dark: #F6F1E7;
  --text-on-dark-muted: #A8A096;

  /* Type */
  --font-sans: "Mona Sans", "Mona Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(31,42,51,.06), 0 1px 2px rgba(31,42,51,.04);
  --shadow-md: 0 12px 28px -8px rgba(31,42,51,.14), 0 4px 10px rgba(31,42,51,.06);
  --shadow-lg: 0 30px 60px -20px rgba(31,42,51,.22), 0 10px 24px -10px rgba(31,42,51,.10);
  --shadow-orange: 0 18px 40px -16px rgba(232,119,34,.55);

  /* Layout */
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 140px);

  /* Misc */
  --ring: 0 0 0 2px var(--orange-tint), 0 0 0 4px var(--orange);
  --easing: cubic-bezier(.2,.7,.2,1);
}

/* Dark theme */
:root[data-theme="dark"] {
  --paper: #0E1116;
  --cream: #11161D;
  --cream-2: #161C25;
  --line: #232B36;
  --line-2: #1B2230;

  --text: #F2EBDD;
  --text-muted: #97A0AB;
  --text-on-dark: #F6F1E7;
  --text-on-dark-muted: #A8A096;

  --ink: #F2EBDD;
  --ink-2: #E5DDCB;

  --shadow-sm: 0 2px 6px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 12px 28px -8px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7), 0 10px 24px -10px rgba(0,0,0,.5);
}

/* ===== Base ===== */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: "ss01","ss02","cv11";
  font-optical-sizing: auto;
  background: var(--paper);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .35s var(--easing), color .35s var(--easing);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
:root[data-theme="dark"] .eyebrow { color: var(--orange-hot); }
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

/* Display headings */
.display {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
h1.display { font-size: clamp(44px, 6.4vw, 96px); }
h2.display { font-size: clamp(34px, 4.6vw, 64px); }
h3.display { font-size: clamp(24px, 2.6vw, 36px); }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
  max-width: 56ch;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: transform .2s var(--easing), background .2s var(--easing), color .2s var(--easing), box-shadow .25s var(--easing);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink-deep);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: #000; box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
:root[data-theme="dark"] .btn--primary:hover { background: var(--orange-hot); }

.btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--orange:hover { background: var(--orange-hot); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--cream); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }

.btn .arrow {
  width: 18px; height: 18px;
  transition: transform .25s var(--easing);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink-deep);
  color: var(--orange-hot);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}
:root[data-theme="dark"] .brand-mark { background: var(--orange); color: #fff; }
.brand-name { font-size: 18px; }
.brand-name b { font-weight: 700; }
.brand-deg { color: var(--orange); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color .15s var(--easing), background .15s var(--easing);
}
.nav-links a:hover { color: var(--text); background: var(--cream); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: border-color .15s var(--easing), color .15s var(--easing);
}
.theme-toggle:hover { border-color: var(--ink); color: var(--text); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line); }
  .nav-actions .btn { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-copy h1 { margin: 18px 0 22px; }
.hero-copy h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 14px;
  background: var(--orange-tint);
  z-index: -1;
  border-radius: 4px;
}
:root[data-theme="dark"] .hero-copy h1 em::after { background: color-mix(in oklab, var(--orange) 25%, transparent); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.hero-meta-item svg { color: var(--orange); }

/* Hero visual collage */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14,17,22,.25) 0%, rgba(14,17,22,0) 40%),
    linear-gradient(180deg, #d9b48a 0%, #c39867 35%, #8c7053 70%, #3a2c20 100%);
  box-shadow: var(--shadow-lg);
}
.hero-photo::after {
  content: "casa contemporânea · placeholder";
  position: absolute;
  bottom: 14px; left: 16px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-photo svg.house {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .85;
}

.hero-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  border: 1px solid var(--line);
  z-index: 2;
}
.hero-card.metric {
  top: 28px;
  left: -28px;
  width: 230px;
}
.hero-card.listing {
  bottom: -32px;
  right: -28px;
  width: 280px;
}
.hero-card.chip {
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 220px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 600px) {
  .hero-card.metric { left: 0; top: 12px; transform: scale(.85); transform-origin: top left; }
  .hero-card.listing { right: 0; bottom: -16px; transform: scale(.85); transform-origin: bottom right; }
  .hero-card.chip { right: 0; transform: translateY(-50%) scale(.85); transform-origin: right center; }
}

.metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.metric-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 8px; }
.metric-bar { height: 6px; background: var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.metric-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-hot)); border-radius: var(--r-pill); }

.mini-listing { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.mini-listing .thumb {
  width: 76px; height: 76px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #8a6f55, #c89b6a);
}
.mini-listing .price { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.mini-listing .addr { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.mini-listing .tag {
  display: inline-flex; margin-top: 6px;
  background: var(--orange-tint); color: var(--orange-dark);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 2px 8px; border-radius: var(--r-pill);
}
:root[data-theme="dark"] .mini-listing .tag { background: color-mix(in oklab, var(--orange) 22%, transparent); color: var(--orange-hot); }

.chip-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #e8a87a, #b5704a);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.chip-text { font-size: 13px; line-height: 1.3; }
.chip-text b { display: block; font-weight: 600; }
.chip-text span { color: var(--text-muted); font-size: 12px; }

/* ===== Section base ===== */
section { padding: var(--section-y) 0; position: relative; }
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .lede { margin-top: 18px; }

/* Cream / dark section variants */
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink-deep); color: var(--text-on-dark); }
.section-dark .lede,
.section-dark .muted { color: var(--text-on-dark-muted); }
.section-dark .eyebrow { color: var(--orange-hot); }

/* ===== Logo strip ===== */
.logos {
  padding: 60px 0;
  border-block: 1px solid var(--line);
}
.logos-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) { .logos-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.logo-placeholder {
  display: grid;
  place-items: center;
  height: 48px;
  color: var(--text-muted);
  opacity: .7;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: opacity .15s var(--easing);
}
.logo-placeholder:hover { opacity: 1; }
.logo-placeholder svg { width: 100%; height: 100%; }

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--paper);
  position: relative;
  transition: transform .3s var(--easing), border-color .25s var(--easing), box-shadow .25s var(--easing);
}
.step:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.2; }
.step p { color: var(--text-muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.step-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--orange-tint);
  color: var(--orange-dark);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
:root[data-theme="dark"] .step-icon {
  background: color-mix(in oklab, var(--orange) 22%, transparent);
  color: var(--orange-hot);
}

/* ===== Features (with mockups) ===== */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.feature.reverse .feature-copy { order: 2; }
@media (max-width: 980px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 48px; }
  .feature.reverse .feature-copy { order: 0; }
}
.feature-copy h2 { margin: 18px 0 22px; }
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.feature-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.feature-bullets li svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.feature-bullets li b { font-weight: 600; }
.feature-bullets li span { color: var(--text-muted); }

.feature-visual {
  position: relative;
}

/* ===== Mockups (shared) ===== */
.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar .url {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--paper);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  margin-left: 8px;
}

/* CRM mock */
.crm-mock { padding: 0; }
.crm-grid { display: grid; grid-template-columns: 200px 1fr; min-height: 480px; }
.crm-side {
  background: var(--cream);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
}
.crm-side .crm-logo {
  display: flex; gap: 10px; align-items: center;
  font-weight: 700; font-size: 14px; margin-bottom: 28px;
}
.crm-side .crm-logo .dot {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--orange);
  display: grid; place-items: center;
  color: #fff; font-size: 11px;
}
.crm-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.crm-side li {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
  cursor: default;
}
.crm-side li svg { width: 14px; height: 14px; }
.crm-side li.active {
  background: var(--paper);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.crm-main { padding: 24px; }
.crm-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.crm-head h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.crm-head .crm-actions { display: flex; gap: 8px; }
.crm-pill {
  font-size: 12px; padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--text-muted);
}
.crm-pill.active { background: var(--ink-deep); color: #fff; border-color: var(--ink-deep); }
.crm-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kanban-col {
  background: var(--cream-2);
  border-radius: var(--r-md);
  padding: 12px;
  min-height: 320px;
}
.kanban-col h5 {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: space-between;
}
.kanban-col h5 span { background: var(--paper); padding: 2px 8px; border-radius: var(--r-pill); }
.kanban-card {
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}
.kanban-card .ka-title { font-weight: 600; font-size: 12.5px; line-height: 1.25; }
.kanban-card .ka-meta { color: var(--text-muted); margin-top: 4px; font-size: 11px; }
.kanban-card .ka-tag {
  display: inline-block; margin-top: 6px;
  font-size: 10px; padding: 2px 6px;
  border-radius: var(--r-pill);
  background: var(--orange-tint); color: var(--orange-dark);
  font-weight: 600; letter-spacing: .03em;
}

/* Map mock */
.map-mock { padding: 0; min-height: 520px; position: relative; }
.map-canvas {
  height: 520px;
  background:
    radial-gradient(circle at 30% 40%, rgba(232,119,34,.08) 0, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(232,119,34,.06) 0, transparent 40%),
    linear-gradient(180deg, #EFE7D6 0%, #E5DCC7 100%);
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .map-canvas {
  background:
    radial-gradient(circle at 30% 40%, rgba(232,119,34,.15) 0, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(232,119,34,.10) 0, transparent 40%),
    linear-gradient(180deg, #1A2230 0%, #0E1116 100%);
}
.map-canvas svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: var(--ink-deep);
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 10px 6px 8px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -100%);
  white-space: nowrap;
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink-deep);
}
.map-pin.featured {
  background: var(--orange);
  transform: translate(-50%, -100%) scale(1.08);
}
.map-pin.featured::after { border-top-color: var(--orange); }

.map-filters {
  position: absolute;
  top: 18px; left: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
  z-index: 2;
}
.map-filter {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.map-filter.active { background: var(--ink-deep); color: #fff; border-color: var(--ink-deep); }
.map-listing-card {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px;
  align-items: center;
  z-index: 2;
}
.map-listing-card .thumb {
  width: 88px; height: 72px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #c8966a, #8a6f55);
}
.map-listing-card .price { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.map-listing-card .info { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.map-listing-card .arrow-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
}

/* Chat mock */
.chat-mock { display: flex; flex-direction: column; min-height: 480px; }
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.chat-header .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #e8a87a, #b5704a);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.chat-header .who b { display: block; font-size: 14px; }
.chat-header .who span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.chat-header .who span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #2bb673;
}
.chat-property {
  background: var(--cream);
  margin: 14px;
  border-radius: var(--r-md);
  padding: 12px;
  display: grid; grid-template-columns: 70px 1fr; gap: 12px;
  align-items: center;
}
.chat-property .thumb { width: 70px; height: 60px; border-radius: var(--r-sm); background: linear-gradient(135deg, #b58a64, #8b674a); }
.chat-property b { display: block; font-size: 13px; }
.chat-property span { font-size: 12px; color: var(--text-muted); }
.chat-body {
  flex: 1;
  padding: 8px 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.4;
}
.bubble.them {
  background: var(--cream-2);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.bubble.me {
  background: var(--ink-deep);
  color: #fff;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
:root[data-theme="dark"] .bubble.me { background: var(--orange); }
.chat-time {
  align-self: center; font-size: 11px; color: var(--text-muted);
  margin: 4px 0;
}
.chat-input {
  display: flex; gap: 10px; align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 14px;
}
.chat-input button {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
}

/* Photo editor mock */
.editor-mock { background: var(--ink-deep); color: #fff; min-height: 480px; }
.editor-mock .mock-bar { background: #161C25; border-bottom-color: #232B36; color: rgba(255,255,255,.7); }
.editor-mock .mock-bar .url { background: #0E1116; border-color: #232B36; color: rgba(255,255,255,.6); }
.editor-canvas {
  position: relative;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  min-height: 420px;
}
.editor-photo {
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(0,0,0,.2), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #c39867 0%, #8c7053 60%, #3a2c20 100%);
  position: relative;
  overflow: hidden;
}
.editor-photo .crop-frame {
  position: absolute;
  inset: 12% 14% 14% 16%;
  border: 2px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.35);
}
.editor-photo .crop-frame::before,
.editor-photo .crop-frame::after,
.editor-photo .crop-frame > i,
.editor-photo .crop-frame > b {
  content: ""; position: absolute;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 2px;
}
.editor-photo .crop-frame::before { top: -6px; left: -6px; }
.editor-photo .crop-frame::after { top: -6px; right: -6px; }
.editor-photo .crop-frame > i { bottom: -6px; left: -6px; }
.editor-photo .crop-frame > b { bottom: -6px; right: -6px; }
.editor-photo .ratio-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(14,17,22,.7);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.editor-side {
  background: #161C25;
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid #232B36;
}
.editor-side h6 {
  margin: 0 0 12px;
  font-size: 12px; letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; font-weight: 600;
}
.slider-row { margin-bottom: 18px; }
.slider-row label { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; color: rgba(255,255,255,.85); }
.slider-row label b { color: var(--orange-hot); font-weight: 600; }
.slider-track {
  height: 4px; background: #232B36; border-radius: var(--r-pill);
  position: relative;
}
.slider-track i {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
  border-radius: var(--r-pill);
}
.slider-track::after {
  content: ""; position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; top: -5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.ratio-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ratio-chips button {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: #0E1116;
  color: rgba(255,255,255,.7);
  border: 1px solid #232B36;
  font-weight: 600;
}
.ratio-chips button.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Comparator mock */
.compare-mock { padding: 22px; min-height: 480px; }
.compare-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.compare-head h4 { margin: 0; font-size: 16px; font-weight: 600; }
.compare-head span { font-size: 13px; color: var(--text-muted); }
.compare-grid {
  display: grid;
  grid-template-columns: 140px repeat(3, 1fr);
  gap: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-grid .cell {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
}
.compare-grid .cell:nth-child(4n) { border-right: 0; }
.compare-grid .row-label { background: var(--cream); font-weight: 600; font-size: 12px; color: var(--text-muted); }
.compare-grid .img-cell {
  height: 100px;
  background: linear-gradient(135deg, #c39867 0%, #8c7053 100%);
  padding: 0;
}
.compare-grid .img-cell.b { background: linear-gradient(135deg, #8b674a, #5a4633); }
.compare-grid .img-cell.c { background: linear-gradient(135deg, #d8b48a, #a88766); }
.compare-grid .price-cell { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.compare-grid .check { color: var(--orange); }
.compare-grid .cross { color: var(--text-muted); opacity: .5; }

/* ===== Metrics dashboard ===== */
.metrics-dashboard {
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.tile {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 18px;
  border: 1px solid var(--line-2);
}
.tile .t-label { font-size: 12px; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.tile .t-value { font-size: 28px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }
.tile .t-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #2bb673; margin-top: 4px; font-weight: 600; }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.span-6 { grid-column: span 6; }
.tile.span-8 { grid-column: span 8; }
.tile.span-12 { grid-column: span 12; }
@media (max-width: 800px) {
  .tile.span-3, .tile.span-4, .tile.span-6, .tile.span-8 { grid-column: span 12; }
}

.chart {
  height: 180px;
  position: relative;
  margin-top: 12px;
}
.chart svg { width: 100%; height: 100%; }
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  height: 180px;
  align-items: end;
  margin-top: 12px;
}
.bars .bar {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  border-radius: 6px 6px 0 0;
  position: relative;
}
.bars .bar span {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.bars-x {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.bars-x span { text-align: center; font-size: 11px; color: var(--text-muted); }

.neighborhood-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.neighborhood-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}
.neighborhood-list .nl-bar {
  height: 8px;
  background: var(--line-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  grid-column: span 2;
}
.neighborhood-list .nl-bar > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
  border-radius: var(--r-pill);
}
.neighborhood-list .nl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.neighborhood-list .nl-row b { font-weight: 600; font-size: 13.5px; }
.neighborhood-list .nl-row span { color: var(--text-muted); font-size: 12.5px; }

/* ===== Loja vs Marketplace ===== */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card {
  padding: 36px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform .3s var(--easing), box-shadow .3s var(--easing);
}
.vs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vs-card.featured {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
}
.vs-card.featured h3, .vs-card.featured p { color: #fff; }
.vs-card.featured .vs-muted { color: rgba(255,255,255,.65); }
.vs-tag {
  align-self: flex-start;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--orange-tint); color: var(--orange-dark);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.vs-card.featured .vs-tag { background: var(--orange); color: #fff; }
.vs-card h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.vs-card > p { color: var(--text-muted); margin: 0; }
.vs-card .vs-muted { color: var(--text-muted); }
.vs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.vs-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--orange); }
.vs-card.featured .vs-list li svg { color: var(--orange-hot); }

/* ===== Testimonials ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 20px;
  transition: transform .3s var(--easing), border-color .25s var(--easing), box-shadow .25s var(--easing);
}
.testi:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow-md); }
.testi .quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.8;
  color: var(--orange);
  height: 28px;
}
.testi blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.005em;
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c39867, #8b674a);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.testi-author b { display: block; font-size: 14px; font-weight: 600; }
.testi-author span { font-size: 12.5px; color: var(--text-muted); }

/* ===== Stats / numbers ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.stat:last-child { border-right: 0; }
@media (max-width: 800px) {
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
.stat-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--orange-hot);
}
.stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
  letter-spacing: .02em;
  text-wrap: balance;
}

/* ===== Pricing ===== */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: stretch;
}
@media (max-width: 1000px) { .pricing-wrap { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card.main {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
}
.price-card.main::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 70%; height: 200%;
  background: radial-gradient(ellipse, rgba(232,119,34,.22) 0%, transparent 60%);
  pointer-events: none;
}
.price-card .price-tag {
  align-self: flex-start;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #fff;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  position: relative;
}
.price-card h3 {
  margin: 18px 0 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  position: relative;
}
.price-card > p { color: rgba(255,255,255,.7); margin: 0 0 28px; position: relative; }
.price-card.addons > p { color: var(--text-muted); }
.price-amount {
  display: flex; align-items: baseline; gap: 6px;
  margin: 6px 0 8px;
  position: relative;
}
.price-amount .currency { font-size: 22px; font-weight: 600; opacity: .8; }
.price-amount .amount { font-size: clamp(60px, 8vw, 88px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount .per { color: rgba(255,255,255,.6); font-size: 14px; }
.price-card.addons .price-amount .per { color: var(--text-muted); }
.price-foot {
  font-size: 13px; color: rgba(255,255,255,.6);
  margin-bottom: 28px; position: relative;
}
.price-card.addons .price-foot { color: var(--text-muted); }
.price-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; position: relative; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.price-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--orange-hot); }
.price-card.addons .price-list li svg { color: var(--orange); }
.price-cta { margin-top: auto; position: relative; }

.addon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.addon-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line);
}
.addon-item b { font-weight: 600; font-size: 14.5px; display: block; }
.addon-item span { font-size: 12.5px; color: var(--text-muted); }
.addon-price { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.addon-price small { display: block; font-weight: 500; font-size: 11px; color: var(--text-muted); text-align: right; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  gap: 24px;
}
.faq-q .ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .2s var(--easing), background .2s var(--easing), color .2s var(--easing);
}
.faq-item[open] .faq-q .ico { transform: rotate(45deg); background: var(--orange); color: #fff; border-color: var(--orange); }
.faq-a {
  padding: 0 60px 22px 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 80ch;
}
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ===== Support 24/7 ===== */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
}
.ticket + .ticket { margin-top: 10px; }
.ticket .status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.ticket .status-dot.solved { background: #2bb673; }
.ticket .status-dot.progress { background: #FFC857; }
.ticket b { font-size: 14px; font-weight: 600; }
.ticket span { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.ticket-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  color: var(--text-muted);
  font-weight: 600;
}

.support-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.ss { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.ss b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ss span { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }

/* ===== Scarcity CTA ===== */
.scarcity {
  background: var(--ink-deep);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .scarcity { grid-template-columns: 1fr; } }
.scarcity::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(ellipse, rgba(232,119,34,.30) 0%, transparent 60%);
  pointer-events: none;
}
.scarcity-copy { position: relative; }
.scarcity h2 { margin: 16px 0 16px; }
.scarcity p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.55; margin: 0; max-width: 56ch; }
.city-check { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px; min-width: 340px; backdrop-filter: blur(10px); }
.city-check h4 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.city-input-row {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 6px;
}
.city-input-row input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink);
}
.city-input-row button {
  background: var(--orange); color: #fff;
  border-radius: var(--r-pill);
  padding: 0 22px;
  font-weight: 600; font-size: 14px;
  height: 44px;
}
.city-status {
  margin-top: 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: rgba(255,255,255,.65);
}
.city-status .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FFC857;
  box-shadow: 0 0 0 0 rgba(255,200,87,.6);
  animation: pulse 1.6s var(--easing) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,200,87,.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,200,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,200,87,0); }
}
.city-status .pulse.green { background: #2bb673; box-shadow: 0 0 0 0 rgba(43,182,115,.6); animation-name: pulse-g; }
@keyframes pulse-g {
  0% { box-shadow: 0 0 0 0 rgba(43,182,115,.6); }
  70% { box-shadow: 0 0 0 12px rgba(43,182,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); }
}
.city-status .pulse.red { background: var(--orange-hot); }
.scarcity-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 18px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
.footer-brand .brand-mark { background: var(--orange); color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 18px; font-size: 14px; line-height: 1.6; max-width: 36ch; }
.footer-grid h5 {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin: 6px 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer-grid a:hover { color: var(--orange-hot); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--easing), transform .7s var(--easing);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Tweaks panel ===== */
.tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 100;
  display: none;
  font-size: 13px;
}
.tweaks.open { display: block; }
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.tweaks-head b { font-weight: 600; font-size: 13.5px; }
.tweaks-head button { color: var(--text-muted); }
.tweaks-row { margin-bottom: 14px; }
.tweaks-row label { display: block; font-size: 11.5px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tweaks-swatches { display: flex; gap: 6px; }
.tweaks-swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); transition: transform .15s var(--easing); }
.tweaks-swatches button:hover { transform: scale(1.1); }
.tweaks-swatches button.active { border-color: var(--text); }
.tweaks-row input[type=range] { width: 100%; }

/* Density tweak */
:root[data-density="cozy"] { --section-y: clamp(60px, 7vw, 100px); }
:root[data-density="spacious"] { --section-y: clamp(100px, 13vw, 180px); }

/* Misc */
.muted { color: var(--text-muted); }
