/* =========================================================
   CHAMBRE Portal Imobiliário: estilos
   Design system: ui-ux-pro-max (Marketplace/Directory +
   Glassmorphism leve) com as cores da marca CHAMBRE.
   ========================================================= */

:root {
  /* Marca */
  --navy-950: #061224;
  --navy-900: #081a31;
  --navy-800: #0b1f3a; /* azul marinho da marca */
  --navy-700: #13294b;
  --navy-600: #1d3a66;
  --gold-200: #efdcaa;
  --gold-300: #e0c173;
  --gold-400: #c9a24b; /* dourado da marca */
  --gold-500: #a8832f;
  --gold-700: #7d5f1a; /* dourado para texto em fundo claro (AA) */

  /* Semânticos */
  --color-background: #ffffff;
  --color-surface: #faf8f2;
  --color-sand: #f3efe4;
  --color-foreground: #14233d;
  --color-muted: #4a5870;
  --color-border: #e3dfd3;
  --color-border-strong: #b8c1d1;
  --color-primary: var(--navy-800);
  --color-on-primary: #ffffff;
  --color-accent: var(--gold-400);
  --color-on-accent: var(--navy-800);
  --color-success: #17714a;
  --color-danger: #b42318;
  --color-ring: var(--gold-400);

  /* Tipografia */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Cinzel", "Playfair Display", Georgia, serif;

  /* Espaçamento e forma */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 76px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 6px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 18, 36, 0.28);

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 600ms;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--gold-400);
  color: var(--navy-800);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 12px; }

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

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--gold-300); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px);
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
.on-dark .section-title { color: #fff; }

.lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--color-muted);
  max-width: 62ch;
}
.on-dark .lead { color: #d3dbe8; }

.text-gold { color: var(--gold-300); }
.text-gold-dark { color: var(--gold-700); }

.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--color-surface); }
.section--sand { background: var(--color-sand); }
.section--navy { background: var(--navy-800); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--navy-800); }
.btn--gold:hover { --btn-bg: var(--gold-300); }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); border-color: var(--color-border-strong); }
.btn--outline:hover { border-color: var(--navy-800); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand__mark { width: 50px; height: 43px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.16em;
}
.brand__tag {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* ---------- Cabeçalho (vidro) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: rgba(11, 31, 58, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(8, 26, 49, 0.92);
  box-shadow: 0 6px 24px rgba(6, 18, 36, 0.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #e6ebf3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__link { white-space: nowrap; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: rgba(8, 26, 49, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .nav__link { min-height: 52px; font-size: 17px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 12px 0 0; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201, 162, 75, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(29, 58, 102, 0.9), transparent 60%),
    var(--navy-800);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(64px, 9vw, 112px);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.hero__title em { font-style: italic; color: var(--gold-300); }
.hero__text {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: #d3dbe8;
}

/* Busca (vidro) */
.search {
  margin-top: 36px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.search__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 4px 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 36, 0.45);
}
.search__tab { position: relative; }
.search__tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.search__tab span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #d3dbe8;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.search__tab input:checked + span { background: var(--gold-400); color: var(--navy-800); }
.search__tab input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

.search__panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr auto;
  gap: 2px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-foreground);
}
.search__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 10px 16px;
  border-radius: 10px;
  position: relative;
  transition: background-color var(--dur-fast) ease;
}
.search__field:hover { background: var(--color-surface); }
.search__field + .search__field::before {
  content: "";
  position: absolute;
  left: -1px; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--color-border);
}
.search__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.search__control {
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-800);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
input.search__control { cursor: text; }
.search__control::placeholder { color: #7a8599; font-weight: 400; }
select.search__control {
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.search__field:focus-within { background: var(--color-surface); box-shadow: inset 0 0 0 2px var(--gold-400); }
.search__submit { min-height: 60px; padding: 0 28px; border-radius: 10px; align-self: stretch; }

.search__note {
  display: none;
  margin: 10px 8px 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: #f1e6c8;
  font-size: 14px;
}
.search__note.is-visible { display: block; }
.search__note a { color: #fff; font-weight: 600; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 14px;
  color: #c3cddd;
}
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips .icon { color: var(--gold-400); }

/* Imagem do hero (máscara inspirada no "Real Estate Search Hero" do 21st.dev) */
.hero__media { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(224, 193, 115, 0.35);
  outline-offset: 10px;
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease-out);
}
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0) 45%, rgba(11,31,58,0.75) 100%);
}
.is-loaded .hero__frame img { transform: scale(1); }
.hero__arc {
  position: absolute;
  left: -6%; right: -6%; bottom: -28px;
  height: 80px;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  line-height: 1.3;
}
.hero__badge strong { display: block; font-size: 15px; }
.hero__badge span { color: var(--color-muted); }
.hero__badge .badge-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--gold-300);
  flex: none;
}
.hero__badge--top { top: 12%; left: -28px; }
.hero__badge--bottom { bottom: 9%; right: -20px; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__badge--top { left: -8px; }
  .hero__badge--bottom { right: -8px; }
}
@media (max-width: 760px) {
  .search__panel { grid-template-columns: 1fr 1fr; }
  .search__field--wide { grid-column: 1 / -1; }
  .search__field--wide::before { display: none; }
  .search__submit { grid-column: 1 / -1; min-height: 54px; }
}
@media (max-width: 460px) {
  .search__panel { grid-template-columns: 1fr; }
  .search__field + .search__field::before { left: 16px; right: 16px; top: -1px; bottom: auto; width: auto; height: 1px; }
  .hero__frame { aspect-ratio: 4 / 4.4; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .hero__badge { font-size: 13px; padding: 10px 12px; }
  .hero__badge .badge-icon { width: 34px; height: 34px; }
}

/* ---------- Faixa de valores ---------- */
.strip {
  background: var(--navy-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  font-size: 15px;
  color: #d3dbe8;
}
.strip__item + .strip__item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.strip__item strong { display: block; color: #fff; font-size: 16px; }
.strip__item .icon { color: var(--gold-400); width: 26px; height: 26px; }
@media (max-width: 960px) {
  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 520px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .strip__item { padding: 18px 4px; }
}

/* ---------- Categorias ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.category {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 26px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--navy-800);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.category:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.category__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-sand);
  color: var(--gold-700);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.category:hover .category__icon { background: var(--navy-800); color: var(--gold-300); }
.category__name { font-weight: 600; font-size: 17px; }
.category__desc { font-size: 14px; color: var(--color-muted); margin-top: -10px; }
.category__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold-700); }
@media (max-width: 1024px) { .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } .category { padding: 20px 16px; } }

/* ---------- Como funciona ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0; padding: 0; list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
  opacity: 0.6;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  position: relative;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  box-shadow: 0 0 0 8px var(--color-surface), 0 0 0 9px var(--color-border);
}
.step__title { font-size: 21px; font-weight: 600; color: var(--navy-800); margin-bottom: 10px; font-family: var(--font-body); }
.step__text { color: var(--color-muted); max-width: 34ch; margin-inline: auto; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { top: 34px; bottom: 34px; left: 50%; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-400) 0 8px, transparent 8px 16px); }
  .step { background: var(--color-surface); padding-bottom: 8px; }
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 15px;
}
.notice .icon { color: var(--gold-700); margin-top: 2px; }
.notice strong { color: var(--navy-800); }

/* ---------- Para corretores ---------- */
.brokers {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0; padding: 0; list-style: none;
}
.benefit {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.benefit:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.benefit .icon { color: var(--gold-700); margin-bottom: 12px; }
.benefit strong { display: block; color: var(--navy-800); font-size: 16px; margin-bottom: 4px; }
.benefit span { color: var(--color-muted); font-size: 14.5px; }
.brokers__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.brokers__hint { font-size: 14px; color: var(--color-muted); display: inline-flex; align-items: center; gap: 8px; }
.brokers__hint .icon { color: var(--color-success); }

/* Card de imóvel (adaptado do "Property Preview Card" do 21st.dev) */
.listing-preview { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.listing-preview__label {
  position: absolute;
  top: -14px; left: 24px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--navy-800);
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.listing:hover { box-shadow: 0 30px 60px rgba(11, 31, 58, 0.18); transform: translateY(-4px); }
.listing__media { position: relative; height: 270px; overflow: hidden; background: var(--color-sand); }
.listing__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.listing:hover .listing__media img { transform: scale(1.08); filter: brightness(0.82); }
.listing__fav {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) ease;
}
.listing__fav:hover { transform: scale(1.06); }
.listing__fav[aria-pressed="true"] { color: #c0392b; }
.listing__fav[aria-pressed="true"] .icon { fill: currentColor; }
.listing__tag {
  position: absolute; left: 16px; bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-400);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 600;
}
.listing__body { padding: 22px 24px 24px; }
.listing__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.listing__title { font-size: 19px; font-weight: 600; color: var(--navy-800); font-family: var(--font-body); transition: color var(--dur-base) ease; }
.listing:hover .listing__title { color: var(--gold-700); }
.listing__place { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14.5px; color: var(--color-muted); }
.listing__price {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(201, 162, 75, 0.14);
  color: var(--gold-700);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.listing__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 0; padding: 18px 0 0; list-style: none;
  border-top: 1px solid var(--color-border);
}
.listing__specs li { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--color-foreground); padding: 0 12px; }
.listing__specs li:first-child { padding-left: 0; }
.listing__specs li + li { border-left: 1px solid var(--color-border); }
.listing__specs .icon { color: var(--gold-700); }
.listing__agent {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
.agent__avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  font-weight: 600;
  font-size: 15px;
  flex: none;
}
.agent strong { display: block; font-size: 14.5px; color: var(--navy-800); }
.agent span { display: block; font-size: 13px; color: var(--color-muted); }
.agent__wa {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #1f8f4e;
  color: #fff;
  flex: none;
}

@media (max-width: 1024px) { .brokers { grid-template-columns: 1fr; } .listing-preview { margin-top: 16px; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } .listing__media { height: 220px; } .listing__top { flex-direction: column; gap: 10px; } }

/* ---------- Regiões ---------- */
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.region {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  color: #fff;
  isolation: isolate;
}
.region::before {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.25);
  box-shadow: 0 0 0 40px rgba(201, 162, 75, 0.04), 0 0 0 80px rgba(201, 162, 75, 0.03);
  z-index: -1;
}
.region__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.region__name { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.region__state { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.region__text { color: #c3cddd; font-size: 15px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e6ebf3;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.chip:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-800); }
.region--soon { background: var(--color-sand); color: var(--navy-800); }
.region--soon .region__text { color: var(--color-muted); }
@media (max-width: 820px) { .regions { grid-template-columns: 1fr; } }

.next-cities { margin-top: 24px; text-align: center; color: var(--color-muted); font-size: 15px; }
.next-cities strong { color: var(--navy-800); }

/* ---------- Aplicativo ---------- */
.app {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.app__features { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.app__features li { display: flex; gap: 16px; align-items: flex-start; }
.app__features .feat-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.3);
  color: var(--gold-300);
  flex: none;
}
.app__features strong { display: block; color: #fff; font-size: 16px; }
.app__features span { color: #c3cddd; font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.store:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.store small { display: block; font-size: 11.5px; color: #c3cddd; letter-spacing: 0.02em; }
.store strong { display: block; font-size: 17px; font-weight: 600; }
.store .icon { width: 26px; height: 26px; }
.store__soon {
  position: absolute; top: -10px; right: -8px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--gold-400);
  color: var(--navy-800);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.28), transparent 65%);
  filter: blur(10px);
}
.phone {
  position: relative;
  width: 272px;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(145deg, #2a3e61, #0a1830);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(224, 193, 115, 0.55);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #f6f4ee;
  color: var(--navy-800);
  display: flex;
  flex-direction: column;
}
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0a1830; z-index: 3; }
.phone__top { padding: 44px 16px 14px; background: var(--navy-800); color: #fff; }
.phone__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 700; letter-spacing: 0.14em; font-size: 14px; }
.phone__brand svg { width: 26px; height: 22px; }
.phone__hello { margin-top: 12px; font-size: 13px; color: #c3cddd; }
.phone__search { display: flex; align-items: center; gap: 8px; margin-top: 10px; height: 38px; padding: 0 12px; border-radius: 12px; background: #fff; color: var(--color-muted); font-size: 12.5px; }
.phone__search .icon { width: 15px; height: 15px; }
.phone__pills { display: flex; gap: 6px; padding: 12px 14px 4px; }
.phone__pills span { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--color-border); }
.phone__pills span:first-child { background: var(--navy-800); color: var(--gold-300); border-color: var(--navy-800); }
.phone__list { display: grid; gap: 10px; padding: 10px 14px; }
.mini-card { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(11,31,58,0.08); }
.mini-card__img { height: 82px; background-size: cover; background-position: center; }
.mini-card__body { padding: 8px 10px 10px; }
.mini-card__body strong { display: block; font-size: 12.5px; }
.mini-card__body span { display: block; font-size: 11px; color: var(--color-muted); }
.phone__tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 8px 16px; background: #fff; border-top: 1px solid var(--color-border); color: var(--color-muted); }
.phone__tabbar .icon { width: 19px; height: 19px; }
.phone__tabbar .is-active { color: var(--gold-500); }

@media (max-width: 1024px) { .app { grid-template-columns: 1fr; } .phone-wrap { margin-top: 16px; } }

/* ---------- Redes sociais ---------- */
.socials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto; padding: 0; list-style: none;
}
.social {
  --brand: var(--navy-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--navy-800);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.social:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.social__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--color-sand);
  color: var(--navy-800);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.social:hover .social__icon { background: var(--brand); color: #fff; }
.social__name { font-weight: 600; font-size: 16px; }
.social__handle { font-size: 13px; color: var(--color-muted); margin-top: -8px; }
.social--ig { --brand: #c13584; }
.social--fb { --brand: #1877f2; }
.social--tt { --brand: #111111; }
.social--yt { --brand: #e00000; }
.social--wa { --brand: #1f8f4e; }
@media (max-width: 900px) { .socials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
.faq details[open] { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-700); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; color: var(--color-muted); }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(201, 162, 75, 0.25), transparent 60%),
    var(--navy-800);
  color: #fff;
  isolation: isolate;
}
.cta-band__mark { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: 0.12; z-index: -1; }
.cta-band .section-title { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band .lead { margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-950); color: #c3cddd; padding: 64px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__about { margin-top: 18px; max-width: 34ch; }
.footer__title { color: var(--gold-300); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer__links { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer__links a, .footer__links span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #e6ebf3; text-decoration: none; }
.footer__links a:hover { color: var(--gold-300); }
.footer__social { display: flex; gap: 8px; margin-top: 4px; }
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e6ebf3;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.footer__social a:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-800); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px; color: #9aa7bc; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Animações de entrada ---------- */
/* Visível por padrão; só o que está abaixo da primeira tela ganha .is-pending e entra ao rolar */
.reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reveal, .reveal.is-pending { opacity: 1; transform: none; }
  .hero__frame img { transform: none; }
}

/* =========================================================
   Página de cadastro
   ========================================================= */
.signup-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(201, 162, 75, 0.18), transparent 60%),
    var(--navy-800);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px));
  padding-bottom: clamp(120px, 14vw, 170px);
}
.signup-hero .hero__title { font-size: clamp(34px, 4.6vw, 54px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: #c3cddd; }
.breadcrumb a { color: #e6ebf3; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #7d8ba3; }

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
  margin-top: calc(-1 * clamp(88px, 11vw, 130px));
  padding-bottom: var(--section-y);
  position: relative;
  z-index: 2;
}
.card {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.wizard { padding: clamp(22px, 4vw, 44px); }
.progress { margin-bottom: 32px; }
.progress__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.progress__step { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--color-muted); }
.progress__bar { height: 4px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.progress__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--gold-400); transition: width 400ms var(--ease-out); }
.progress__step.is-active, .progress__step.is-done { color: var(--navy-800); }
.progress__step.is-active .progress__bar::after, .progress__step.is-done .progress__bar::after { width: 100%; }
.progress__label { display: flex; align-items: center; gap: 8px; }
.progress__label .n {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 12px;
}
.progress__step.is-done .n { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-300); }

.panel[hidden] { display: none; }
.panel__title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); color: var(--navy-800); font-weight: 700; }
.panel__text { margin: 8px 0 28px; color: var(--color-muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14.5px; font-weight: 600; color: var(--navy-800); }
.field__label .opt { font-weight: 400; color: var(--color-muted); }
.field__label .req { color: var(--color-danger); }
.field__hint { font-size: 13.5px; color: var(--color-muted); }
.field__error { display: none; align-items: center; gap: 6px; font-size: 13.5px; color: var(--color-danger); font-weight: 500; }
.field.has-error .field__error { display: flex; }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  color: var(--color-foreground);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.input::placeholder { color: #8591a5; }
.input:hover { border-color: #8f9bb0; }
.input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.35); }
.field.has-error .input { border-color: var(--color-danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.18); }
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
textarea.input { min-height: 110px; resize: vertical; }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--wrap { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 620px) { .choices, .choices--3 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.choice__box .icon { color: var(--gold-700); }
.choice__box strong { display: block; color: var(--navy-800); font-size: 15px; }
.choice__box small { display: block; color: var(--color-muted); font-size: 13px; line-height: 1.4; }
.choice__check {
  margin-left: auto;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border-strong);
  color: transparent;
  flex: none;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.choice input[type="radio"] + .choice__box .choice__check { border-radius: 50%; }
.choice__check .icon { width: 14px; height: 14px; stroke-width: 3; color: inherit; }
.choice:hover .choice__box { border-color: #8f9bb0; }
.choice input:checked + .choice__box { border-color: var(--navy-800); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--navy-800); }
.choice input:checked + .choice__box .choice__check { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-300); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--color-ring); outline-offset: 2px; }
.choice--pill .choice__box { min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); }
.choice--pill .choice__check { display: none; }
.choice--pill input:checked + .choice__box { background: var(--navy-800); color: #fff; }
.choice--pill input:checked + .choice__box strong { color: #fff; }
.fieldset-group.has-error .choice__box { border-color: var(--color-danger); }
.fieldset-group .field__error { margin-top: 10px; }
.fieldset-group.has-error .field__error { display: flex; }

.consent { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; background: var(--color-surface); border: 1px solid var(--color-border); cursor: pointer; font-size: 14.5px; color: var(--color-muted); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy-800); flex: none; cursor: pointer; }
.consent.has-error { border-color: var(--color-danger); }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.wizard__nav .spacer { flex: 1; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.error-summary {
  display: none;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  background: #fdf1ef;
  color: #7a1a11;
  font-size: 14.5px;
}
.error-summary.is-visible { display: block; }
.error-summary h3 { font-size: 15px; font-family: var(--font-body); margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: #7a1a11; font-weight: 600; }

.review { display: grid; gap: 0; margin: 0 0 8px; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.review div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px 16px; font-size: 14.5px; }
.review div:nth-child(odd) { background: var(--color-surface); }
.review dt { color: var(--color-muted); }
.review dd { margin: 0; color: var(--navy-800); font-weight: 500; word-break: break-word; }
@media (max-width: 520px) { .review div { grid-template-columns: 1fr; gap: 2px; } }

.success { text-align: center; padding: 24px 0 8px; }
.success__icon {
  display: grid; place-items: center;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  box-shadow: 0 0 0 10px rgba(201, 162, 75, 0.18);
}
.success__icon .icon { width: 36px; height: 36px; stroke-width: 2.25; }
.success .panel__text { max-width: 48ch; margin-inline: auto; }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.test-mode {
  max-width: 520px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff7e6;
  border: 1px solid #f0d48a;
  color: #6b4e0e;
  font-size: 14px;
}

.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside__card { padding: 26px; }
.aside__card h2 { font-family: var(--font-display); font-size: 22px; color: var(--navy-800); margin-bottom: 16px; }
.checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--color-muted); }
.checklist li strong { color: var(--navy-800); display: block; }
.checklist .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(201, 162, 75, 0.16); color: var(--gold-700); flex: none; }
.checklist .tick .icon { width: 15px; height: 15px; stroke-width: 2.5; }
.aside__card--navy { background: var(--navy-800); color: #c3cddd; border-color: var(--navy-800); }
.aside__card--navy h2 { color: #fff; }
.aside__card--navy p { font-size: 15px; }
.aside__card--navy .btn { margin-top: 18px; }
@media (max-width: 1024px) { .signup { grid-template-columns: 1fr; } .aside { position: static; } }
