/* ============================================================
   Lokaí — Design System v3 "Marketplace Pro"
   Direção: padrão grandes portais imobiliários (busca-pílula
   flutuante, cards foto-dominantes, botões pill, footer navy),
   no vermelho da marca Lokaí.
   Fonte: Plus Jakarta Sans (400/500/600/700).
   ============================================================ */

:root {
  /* Marca */
  --sky: #E60000;
  --sky-bright: #FF2A2A;
  --sky-deep: #B30000;
  --sky-soft: #FDEAEA;
  --sky-mist: #FFF7F6;

  --white: #FFFFFF;
  --paper: #FAFAFB;

  --ink: #18203A;
  --ink-muted: #5A6478;
  --ink-soft: #98A0B3;
  --line: #E8E9ED;
  --line-soft: #F2F3F5;

  --accent: #E07B00;
  --error: #D23B3B;
  --success: #1F9D63;

  /* Geometria */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombras (neutras, em camadas — padrão portal) */
  --shadow-sm: 0 1px 2px rgba(24, 32, 58, 0.06);
  --shadow: 0 2px 8px rgba(24, 32, 58, 0.06), 0 12px 32px rgba(24, 32, 58, 0.08);
  --shadow-lg: 0 4px 12px rgba(24, 32, 58, 0.08), 0 24px 64px rgba(24, 32, 58, 0.14);
  --shadow-red: 0 8px 24px rgba(230, 0, 0, 0.28);

  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sky-deep); }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--sky); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(230, 0, 0, .35);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(720px, 100% - 48px); margin-inline: auto; }
.hidden { display: none !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---------- Inputs base ---------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="date"],
input[type="search"], input[type="url"], select, textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px; /* >=16px evita zoom automático no iOS */
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  appearance: none;
}
/* Campo com autocomplete (datalist), ex.: bairro — remove enfeite nativo */
input[list] {
  appearance: none;
  -webkit-appearance: none;
}
input[list]::-webkit-calendar-picker-indicator { display: none !important; }
/* Campo de data: alinhar altura e aparência aos demais inputs */
input[type="date"] {
  min-height: 50px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .55;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6478' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #CFD3DB; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(230, 0, 0, .08);
}
input::placeholder, textarea::placeholder { color: var(--ink-soft); }

/* ---------- Botões (pill — DNA do design) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { flex-shrink: 0; }

.btn--primary { background: var(--sky); color: #fff; box-shadow: 0 2px 10px rgba(230,0,0,.22); }
.btn--primary:hover { background: var(--sky-deep); color: #fff; box-shadow: var(--shadow-red); transform: translateY(-1px); }

.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--text { background: none; color: var(--ink-muted); padding: 10px 14px; }
.btn--text:hover { color: var(--sky); }

.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 18px; font-size: .84rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
#app-header { position: sticky; top: 0; z-index: 900; }
.site-header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 6px 18px -10px rgba(24, 32, 58, 0.18);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__img { height: 40px; width: auto; display: block; }
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--sky-bright), var(--sky) 55%, var(--sky-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(230,0,0,.3);
  transition: transform .2s var(--ease);
}
.logo:hover .logo__mark { transform: scale(1.06) rotate(-3deg); }
.logo__ai { color: var(--sky); font-style: normal; }

.nav-primary { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 9px 16px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: var(--radius-pill);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover { background: var(--line-soft); color: var(--ink); }
.nav-link.is-active { background: var(--sky-soft); color: var(--sky); }
/* Itens que só aparecem no menu hambúrguer (mobile). Escondidos no desktop. */
.nav-link--menu { display: none; }
/* Links de navegação que só aparecem no desktop (>=961px). Escondidos por padrão. */
.nav-link--desk { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ============================================================
   HEADER DESKTOP (>= 961px) — isolado, não afeta o mobile.
   Ordem desejada: logo · busca · Anunciar · Início · Planos · Minha conta · Sair
   ============================================================ */
@media (min-width: 961px) {
  /* O menu hambúrguer e a lupa-sob-demanda não existem no desktop */
  .nav-primary { display: none; }
  .mobile-search-toggle { display: none; }
  .menu-toggle { display: none; }

  /* A busca ocupa o espaço central, logo após o logo */
  .header-actions {
    flex: 1;
    margin-left: 24px;
    gap: 8px;
  }
  .header-search--fixed {
    flex: 1;
    min-width: 240px;
    max-width: 480px;
    order: 1;
    margin-right: auto; /* empurra o resto pra direita */
  }
  /* Ordem dos itens à direita */
  .btn--anunciar { order: 2; }
  #nav-home-desk { order: 3; }
  .nav-link--desk[href="/planos"] { order: 4; }
  .nav-link--desk[href="/minha-conta"],
  .nav-link--desk[href="/meus-anuncios"] { order: 5; }
  .nav-link--desk[href="/entrar"],
  .nav-link--desk[href="/cadastrar"] { order: 5; }
  #btn-logout { order: 6; }

  /* Links de navegação do desktop visíveis */
  .nav-link--desk { display: inline-flex; align-items: center; }

  /* Busca desktop: input arredondado + lupa num botão REDONDO separado.
     Uso .header-search--fixed (2 classes) pra ganhar das regras-base, que
     vêm depois no arquivo. Continua dentro do @media → mobile não muda. */
  .header-search--fixed .header-search__form { gap: 8px; }
  .header-search--fixed .header-search__input {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-pill);
  }
  .header-search--fixed .header-search__submit {
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    justify-content: center;
    border: none;
    border-radius: 50%;
    margin-left: 0;
    box-shadow: 0 6px 16px rgba(230, 0, 0, .4);
  }
  .header-search--fixed .header-search__submit:hover { box-shadow: 0 8px 20px rgba(230, 0, 0, .5); }
}

/* Barra de busca fixa e larga no header (desktop) */
.header-search { display: flex; align-items: center; flex: 1; }
.header-search--fixed { min-width: 280px; max-width: 520px; }
.header-search__form {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.header-search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 15px;
  background: var(--white);
}
.header-search__input:focus { outline: none; border-color: var(--sky); box-shadow: none; }
.header-search__submit {
  height: 44px;
  padding: 0 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--sky);
  border-left: none;
  background: var(--sky);
  color: #fff;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  display: flex; align-items: center;
  margin-left: -1px;
  transition: background .15s var(--ease);
}
.header-search__submit:hover { background: var(--sky-deep); border-color: var(--sky-deep); }

/* Lupa mobile (escondida no desktop) */
.mobile-search-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.mobile-search-toggle:hover { color: var(--sky); border-color: var(--sky); }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(230,0,0,.07), transparent 60%),
    radial-gradient(700px 420px at -8% 30%, rgba(230,0,0,.045), transparent 55%),
    linear-gradient(180deg, var(--sky-mist) 0%, var(--white) 92%);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  color: var(--sky);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .14em;
  background: var(--sky-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero__sub {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--ink-muted);
}
.hero__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Busca-pílula flutuante — a assinatura do design */
.quick-search {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  padding: 8px 8px 8px 10px;
  max-width: 680px;
}
.quick-search__field {
  position: relative;
  padding: 6px 18px;
}
.quick-search__field + .quick-search__field { border-left: 1px solid var(--line-soft); }
.quick-search__field-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1px;
}
.quick-search__field select {
  border: none;
  padding: 0 22px 0 0;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  background-position: right 2px center;
  border-radius: 0;
  box-shadow: none;
}
.quick-search__field select:focus { box-shadow: none; }
.quick-search__btn {
  width: 56px; height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(230,0,0,.32);
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .2s var(--ease);
}
.quick-search__btn:hover { background: var(--sky-deep); transform: scale(1.06); box-shadow: var(--shadow-red); }
.quick-search__btn:active { transform: scale(.96); }
.quick-search__btn svg { width: 22px; height: 22px; }

/* Visual do hero */
.hero__visual { position: relative; }
.hero__visual-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--sky-soft), rgba(230,0,0,.06));
  z-index: -1;
}
/* Card de imóvel em destaque sobre a foto */
.hero__feature {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 36px);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.hero__feature:hover { transform: translateY(-2px); }
.hero__feature-badge {
  position: absolute;
  top: -10px; left: 12px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sky);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(230,0,0,.3);
}
.hero__feature-thumb {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--line-soft);
}
.hero__feature-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__feature-info { display: flex; flex-direction: column; min-width: 0; }
.hero__feature-type {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--sky);
}
.hero__feature-neigh {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__feature-price { font-size: .92rem; font-weight: 700; color: var(--ink); }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

/* Stats */
.stats {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat__num em { font-style: normal; color: var(--sky); }
.stat__label { font-size: .82rem; color: var(--ink-muted); font-weight: 500; }

/* ---------- Seções ---------- */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section--detail { padding-top: clamp(16px, 2vw, 24px); }
/* Reduz o vão entre a faixa de stats e "Encontre por tipo" ~pela metade */
.section--tight-top { padding-top: clamp(24px, 3.5vw, 40px); }
.section--soft { background: var(--paper); }
.section__head, .section__title { margin-bottom: 32px; }
.section__title-text {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.section__title-text em { font-style: normal; color: var(--sky); }
.section__sub { color: var(--ink-muted); margin-top: 8px; max-width: 56ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--sky-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ---------- Categorias ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  color: var(--ink);
  overflow: hidden;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--sky-soft);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
  transform: scale(.6);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.category-card:hover::after { opacity: 1; transform: scale(1); }
.category-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sky-soft);
  color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform .25s var(--ease);
}
.category-card:hover .category-card__icon { transform: scale(1.08) rotate(-4deg); }
.category-card__name { font-weight: 700; font-size: 1.04rem; }
.category-card__num { font-size: .84rem; color: var(--ink-muted); margin-top: 2px; position: relative; z-index: 1; }

/* ---------- Cards de imóvel ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.property-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: transform .22s var(--ease), box-shadow .28s var(--ease), border-color .22s var(--ease);
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
  color: var(--ink);
}
.property-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: var(--line-soft);
  overflow: hidden;
}
.property-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.property-card:hover .property-card__media img { transform: scale(1.05); }
.property-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 30% 30%, rgba(230,0,0,.05), transparent 55%),
    var(--line-soft);
}
.property-card__premium {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ink);
  color: #FFD166;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(24,32,58,.3);
}
.property-card__category {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.property-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.property-card__price { display: flex; align-items: baseline; gap: 5px; }
.property-card__price-value {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.property-card__price-period { font-size: .82rem; color: var(--ink-muted); font-weight: 500; }
.property-card__title {
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-card__location {
  font-size: .85rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-card__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.property-card__attr { display: inline-flex; align-items: center; gap: 5px; }
.property-card__attr svg { color: var(--ink-soft); }

/* Coração de favorito flutuante */
.fav-btn { cursor: pointer; }
.property-card__media .fav-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), color .15s var(--ease), box-shadow .2s var(--ease);
  z-index: 2;
}
.property-card__media .fav-btn:hover { transform: scale(1.12); color: var(--sky); box-shadow: var(--shadow); }
.property-card__media .fav-btn:active { transform: scale(.92); }
.property-card__media .fav-btn.is-active { color: var(--sky); }
.fav-btn.is-active svg { fill: var(--sky); }
.fav-btn--inline.is-active { color: var(--sky); border-color: var(--sky); }
.fav-btn--inline svg { vertical-align: middle; }

/* ---------- Busca (layout + filtros) ---------- */
.search-title { margin-bottom: 28px; }
.search-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.search-layout {
  display: block;
}

/* Barra de filtros (linhas rotuladas e alinhadas) */
.filters-bar {
  padding: 8px 20px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.filters-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.filters-row__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.filters-row__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters-bar .filters-row:last-of-type { border-bottom: none; }
.filters-bar__select {
  width: auto;
  min-width: 200px;
  cursor: pointer;
  font-weight: 500;
}
.filters-bar__footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0;
}
.filters-bar__clear {
  background: none;
  border: none;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--sky);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background .15s var(--ease);
}
.filters-bar__clear:hover { background: var(--sky-soft); }
.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.filters__title {
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.filters__clear {
  background: none; border: none;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--sky);
  cursor: pointer;
  padding: 4px;
}
.filters__clear:hover { text-decoration: underline; }
.filter-group { margin-bottom: 20px; }
.filter-group__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
select.chip { border-radius: var(--radius-sm); font-weight: 500; }

.search-results__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search-results__count { font-size: .92rem; color: var(--ink-muted); }
.search-results__count strong { color: var(--ink); }

/* ---------- Detalhe do imóvel ---------- */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.detail-back:hover { color: var(--sky); }
.detail-gallery { margin-bottom: 16px; border-radius: var(--radius-lg); overflow: hidden; }
.detail-gallery--single { height: 440px; }
.detail-gallery--mosaic {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 10px;
  height: 440px;
}
.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.gallery-cell {
  position: relative;
  padding: 0;
  border: none;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--line-soft);
  width: 100%;
  height: 100%;
  display: block;
}
.gallery-cell--cover { height: 100%; }
.detail-gallery--single .gallery-cell { height: 440px; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); display: block; }
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 32, 58, .55);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  backdrop-filter: blur(1px);
}
.gallery-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 10px 18px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.gallery-viewall:hover { border-color: var(--sky); color: var(--sky); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 30% 30%, rgba(230,0,0,.05), transparent 55%),
    var(--line-soft);
  font-size: .9rem;
}

/* Lightbox (visualizador em tela cheia) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, .92);
  padding: 24px;
}
.lightbox.is-open { display: flex; animation: fadeUp .2s var(--ease); }
.lightbox__stage { margin: 0; max-width: 90vw; max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}
.detail-main { min-width: 0; }
.search-results { min-width: 0; }
.fav-btn__label { font-weight: 700; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-muted); font-size: .9rem; margin: 10px 0 4px; }
.detail-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.detail-section { margin-top: 36px; }
.detail-section__title { font-size: 1.18rem; font-weight: 700; margin-bottom: 16px; }
.detail-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.detail-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.detail-attr__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--sky);
  display: flex; align-items: center; justify-content: center;
}
.detail-attr__value { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.detail-attr__label { font-size: .76rem; color: var(--ink-muted); }
.detail-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.detail-feature { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-muted); }
.detail-feature__check { color: var(--success); flex-shrink: 0; display: flex; }

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.detail-price { margin-bottom: 18px; }
.detail-price__label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.detail-price__main { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.detail-price__main em { font-style: normal; font-size: .55em; font-weight: 600; color: var(--ink-muted); }
.detail-price__row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-muted); padding: 4px 0; }
.detail-price__value { font-weight: 600; color: var(--ink); }

/* ---------- Auth ---------- */
.auth-page { padding: clamp(40px, 6vw, 72px) 0; background: var(--paper); min-height: calc(100vh - var(--header-h)); }
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin-inline: auto;
}
.auth-card__sub { color: var(--ink-muted); margin: 6px 0 26px; }
.auth-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 26px; }
.auth-card__head h2 { flex-shrink: 0; }
.auth-card__head .auth-card__sub { margin: 0; flex: 1; min-width: 200px; }
.nav-link--action { font-weight: 600; }
.auth-card__footer { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--ink-muted); }
.auth-card__footer a { font-weight: 700; }

/* ---------- Auth em duas colunas (login/cadastro redesenhados) ---------- */
.auth-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - var(--header-h));
}

/* Painel de marca (esquerda) */
.auth-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
}
.auth-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(700px 460px at -10% 110%, rgba(0,0,0,.18), transparent 55%),
    linear-gradient(150deg, var(--sky-bright) 0%, var(--sky) 52%, var(--sky-deep) 100%);
}
.auth-hero__content { position: relative; max-width: 460px; }
.auth-hero__logo { height: 46px; width: auto; margin-bottom: 32px; }
.auth-hero__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.auth-hero__title em { font-style: normal; color: #fff; opacity: .82; }
.auth-hero__text { margin: 16px 0 28px; font-size: 1.05rem; line-height: 1.6; opacity: .92; }
.auth-hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-hero__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.auth-hero__list svg { flex-shrink: 0; opacity: .9; }

/* Lado do formulário (direita) */
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) 24px;
  background: var(--white);
}
.auth-form-box { width: 100%; max-width: 400px; }
.auth-form-box__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 12px 0 28px;
}
.auth-form-box__title em { font-style: normal; color: var(--sky); }

@media (max-width: 880px) {
  .auth-split { grid-template-columns: 1fr; min-height: 0; }
  .auth-hero { display: none; }
  .auth-form-side { padding: clamp(36px, 9vw, 64px) 20px; min-height: calc(100vh - var(--header-h)); align-items: flex-start; }
}

/* Quando a página é o login/cadastro (layout de ponta a ponta), o rodapé
   encosta direto — sem a faixa branca da margem padrão. */
#app-main:has(.auth-split) + #app-footer .site-footer { margin-top: 0; }
#app-main:has(.auth-split) + #app-footer .site-footer::before { display: none; }

.radio-cards { display: grid; gap: 10px; margin-bottom: 8px; }
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.radio-card:hover { border-color: var(--ink-soft); }
.radio-card.is-selected {
  border-color: var(--sky);
  background: var(--sky-mist);
  box-shadow: 0 0 0 3px rgba(230,0,0,.07);
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__indicator {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: border-color .15s var(--ease);
}
.radio-card.is-selected .radio-card__indicator { border-color: var(--sky); }
.radio-card.is-selected .radio-card__indicator::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sky);
}
.radio-card__title { font-weight: 700; font-size: .95rem; }
.radio-card__desc { font-size: .82rem; color: var(--ink-muted); margin-top: 1px; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field__hint { font-size: .78rem; color: var(--ink-soft); }
.field--money { position: relative; }
.field--money::after {
  content: "R$";
  position: absolute;
  left: 16px; bottom: 13px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
}
.field--money input { padding-left: 44px; }

.form-row { display: grid; gap: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
}
.form-section__title { font-size: 1.06rem; font-weight: 700; margin-bottom: 18px; }
.form-section__sub { font-size: .85rem; color: var(--ink-muted); }
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.account-form { max-width: 660px; }

/* Switches */
.switch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  transition: border-color .15s var(--ease);
  user-select: none;
}
.switch:hover { border-color: var(--ink-soft); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__toggle {
  width: 44px; height: 25px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--line);
  position: relative;
  transition: background .2s var(--ease);
}
.switch__toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(24,32,58,.25);
  transition: transform .2s var(--ease);
}
.switch input:checked ~ .switch__toggle { background: var(--sky); }
.switch input:checked ~ .switch__toggle::after { transform: translateX(19px); }

/* ---------- Dashboard (Minha conta) ---------- */
.tabs {
  display: flex;
  gap: 6px;
  margin: 26px 0 30px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  font-size: .94rem;
  color: var(--ink-muted);
  cursor: pointer;
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.tab:hover { color: var(--ink); background: var(--line-soft); }
.tab.is-active { color: var(--sky); border-bottom-color: var(--sky); background: none; }
.tab--admin { color: var(--accent); }
.tab--admin::before { content: "•"; margin-right: 5px; font-size: 1.3em; line-height: 0; vertical-align: middle; }
.tab--admin.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; animation: fadeUp .3s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.manage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 16px; }
.manage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.manage-card:hover { box-shadow: var(--shadow-sm); }
.manage-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.manage-card__date { font-size: .76rem; color: var(--ink-soft); }
.manage-card__title { font-weight: 700; color: var(--ink); line-height: 1.35; }
.manage-card__title:hover { color: var(--sky); }
.manage-card__meta { font-size: .86rem; color: var(--ink-muted); }
.manage-card__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.manage-card__archive { margin-left: auto; color: var(--error); }
.manage-card__notice {
  background: rgba(224, 123, 0, .08);
  border-left: 3px solid var(--accent);
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  font-size: .82rem;
  color: var(--ink-muted);
  margin: 2px 0 0;
}
.manage-card--mod { border-left: 3px solid var(--accent); }
.manage-card__owner { font-size: .78rem; color: var(--ink-soft); }
.manage-card__desc { font-size: .86rem; color: var(--ink-muted); line-height: 1.45; margin: 4px 0 0; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge--active { background: rgba(31,157,99,.1); color: var(--success); }
.status-badge--pending { background: rgba(224,123,0,.1); color: var(--accent); }
.status-badge--paused { background: var(--line-soft); color: var(--ink-muted); }
.status-badge--archived { background: var(--line-soft); color: var(--ink-soft); }

/* Card do anunciante */
.owner-card { display: flex; gap: 13px; align-items: center; text-align: left; }
.owner-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.owner-card__avatar--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--sky-soft), #FFE3E0);
  color: var(--sky-deep);
  font-weight: 700; font-size: 1.2rem;
}
.owner-card__info { min-width: 0; }
.owner-card__name { font-weight: 700; font-size: .93rem; }
.owner-card__bio { font-size: .83rem; color: var(--ink-muted); margin: 2px 0 0; line-height: 1.45; }

/* ---------- Estados / feedback ---------- */
.empty-state {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.empty-state__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.empty-state__text { color: var(--ink-muted); margin-bottom: 20px; max-width: 44ch; margin-inline: auto; }

/* Skeleton shimmer */
.loading-block {
  min-height: 180px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--line-soft) 35%, #fff 50%, var(--line-soft) 65%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
@keyframes shimmer { to { background-position: -120% 0; } }

.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}
.spinner--lg { width: 34px; height: 34px; border-width: 3px; border-color: var(--line); border-top-color: var(--sky); }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--error { background: var(--error); }
.toast--success { background: var(--ink); }

.api-offline-banner, .site-notice {
  background: linear-gradient(90deg, var(--sky-deep), var(--sky));
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  padding: 11px 18px;
}
.api-offline-banner a, .site-notice a { color: #fff; text-decoration: underline; }

.animate-in { animation: fadeUp .5s var(--ease) both; }
.animate-in:nth-child(2) { animation-delay: .07s; }
.animate-in:nth-child(3) { animation-delay: .14s; }
.animate-in:nth-child(4) { animation-delay: .21s; }

/* ---------- Footer (navy) ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: clamp(48px, 6vw, 72px) 0 0;
  margin-top: clamp(48px, 7vw, 80px);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -40px;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(24, 32, 58, 0), rgba(24, 32, 58, 0.12));
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer__brand { font-size: .92rem; line-height: 1.7; }
.site-footer__logo { height: 38px; width: auto; display: block; margin-bottom: 14px; }
.site-footer__brand .logo { color: #fff; margin-bottom: 14px; }
.site-footer__brand .logo:hover { color: #fff; }
.site-footer__col h4 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.site-footer__col a { display: block; padding: 5px 0; font-size: .92rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Splash ---------- */
#app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  color: #fff;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.16) 0%, transparent 55%),
    linear-gradient(150deg, var(--sky-bright) 0%, var(--sky) 52%, var(--sky-deep) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
#app-splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; animation: splashRise .5s ease both; }
.splash__mark { width: clamp(76px, 18vw, 104px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.2)); animation: splashPulse 1.7s ease-in-out infinite; }
.splash__mark svg { display: block; width: 100%; height: auto; }
.splash__wordmark { margin-top: 16px; font-weight: 700; font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: -0.02em; line-height: 1; }
.splash__tagline { margin: 12px 0 0; font-weight: 600; font-size: clamp(.95rem, 3.4vw, 1.08rem); opacity: .97; }
.splash__sub { margin: 6px 0 0; max-width: 32ch; font-weight: 400; font-size: clamp(.78rem, 3vw, .9rem); line-height: 1.45; opacity: .85; }
.splash__spinner {
  margin-top: 28px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.32);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes splashPulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.04); } }
@keyframes splashRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Mobile helpers (desktop: ocultos) ---------- */
.filters-toggle { display: none; }
.filters-toggle.is-active { border-color: var(--sky); color: var(--sky); }

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -6px 24px rgba(24,32,58,.08);
}
.mobile-cta-bar__price { line-height: 1.15; min-width: 0; }
.mobile-cta-bar__price strong { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.mobile-cta-bar__price span { font-size: .8rem; color: var(--ink-muted); font-weight: 600; }
.mobile-cta-bar__btn { flex-shrink: 0; padding: 12px 22px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  :root { --header-h: 62px; }

  /* Header mobile: logo à esquerda, ações à direita */
  .site-header__inner { gap: 8px; }
  .logo { margin-right: auto; flex-shrink: 0; }

  /* Links viram menu dropdown (hambúrguer) */
  .nav-primary {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    box-shadow: var(--shadow);
    margin: 0;
    z-index: 60;
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary .nav-link--menu { display: block; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .nav-link { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-link--logout {
    text-align: left;
    background: none;
    border: none;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    color: var(--error);
    cursor: pointer;
    font-family: inherit;
  }
  .menu-toggle { display: flex; margin-left: 0; }

  /* No mobile, as ações de conta ficam no menu; some da barra */
  .nav-link--action { display: none; }

  /* Barra fixa de busca some; entra a lupa sob demanda */
  .header-search--fixed { display: none; }
  .mobile-search-toggle { display: flex; }

  /* Botão Anunciar menor no mobile */
  .btn--anunciar { padding: 9px 16px; font-size: .9rem; }

  /* Empurra as ações pra direita já que o logo é absoluto/centralizado */
  .header-actions { margin-left: auto; gap: 8px; }

  /* Busca mobile: abre full-width sob o header ao tocar na lupa */
  .header-search.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    width: auto;
    padding: 10px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 55;
    max-width: none;
    min-width: 0;
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .quick-search { max-width: none; }
  .search-layout { grid-template-columns: 1fr; gap: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  /* Barra de filtros: rótulo em cima, chips rolam por linha no mobile */
  .filters-bar { padding: 4px 16px; }
  .filters-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
  }
  .filters-row__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters-row__chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

@media (max-width: 720px) {
  .section { padding: 40px 0; }
  .categories { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; }

  /* Busca-pílula empilhada, botão vira barra com rótulo */
  .quick-search {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    padding: 10px;
  }
  .quick-search__field { padding: 12px 14px; }
  .quick-search__field + .quick-search__field { border-left: none; border-top: 1px solid var(--line-soft); }
  .quick-search__btn {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    height: 54px;
    gap: 8px;
  }
  .quick-search__btn::after {
    content: "Buscar";
    font-size: 1rem;
    font-weight: 700;
  }

  /* Galeria no mobile: capa cheia + miniaturas em faixa horizontal */
  .detail-gallery--single { height: 260px; }
  .detail-gallery--mosaic {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
  }
  .detail-gallery--mosaic .gallery-cell--cover { height: 260px; }
  .detail-gallery__thumbs {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }
  .detail-gallery__thumbs::-webkit-scrollbar { display: none; }
  .detail-gallery__thumbs .gallery-cell {
    flex: 0 0 30%;
    height: 90px;
    scroll-snap-align: start;
    border-radius: var(--radius-sm);
  }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }

  /* Barra fixa de contato no detalhe */
  .mobile-cta-bar { display: flex; }
  .detail-layout { padding-bottom: 84px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

  /* Abas roláveis (padrão app) */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex-shrink: 0; }

  /* Conforto de toque (alvos >=44px) */
  .chip { padding: 11px 18px; font-size: .9rem; }
  .btn--sm { padding: 11px 20px; font-size: .88rem; }
  .filters__clear { padding: 10px; }
  .manage-card__actions { gap: 10px; }
}

@media (max-width: 540px) {
  .container, .container-narrow { width: calc(100% - 32px); }
  .categories { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { padding: 18px 14px; }
  .form-row--2 { grid-template-columns: 1fr; }
  .form-section { padding: 20px 16px; }
  .hero { padding-top: 36px; }
  .hero__actions .btn { flex: 1; }
  .header-actions .btn--ghost { display: none; }
  .logo { font-size: 1.25rem; }
  .logo__img { height: 32px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .property-grid { gap: 16px; }
  .detail-attrs { grid-template-columns: 1fr 1fr; }
  .detail-sidebar { padding: 20px 16px; }
  .auth-card { padding: 24px 18px; }
  .empty-state { padding: 40px 18px; }
}

/* Touch: neutraliza efeitos de hover que "grudam" no toque */
@media (hover: none) {
  .property-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .property-card:hover .property-card__media img { transform: none; }
  .category-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .category-card:hover .category-card__icon { transform: none; }
  .gallery-cell:hover img { transform: none; }
  .logo:hover .logo__mark { transform: none; }
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .splash__spinner, .spinner, .spinner--lg { animation-duration: 1.4s !important; animation-iteration-count: infinite !important; }
}

/* ============================================================
   Meu painel (dashboard por tipo de conta) + Painel admin
   ============================================================ */

/* Cartões de estatística do "Meu painel" */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.panel-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.panel-stat--accent { border-color: var(--sky); background: var(--sky-mist); }
.panel-stat__num { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.panel-stat--accent .panel-stat__num { color: var(--sky); }
.panel-stat__label { font-size: .85rem; color: var(--ink-muted); font-weight: 500; }

.panel-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.panel-referral {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1.5px dashed var(--sky);
  border-radius: var(--radius);
  background: var(--sky-mist);
}
.panel-referral__label { font-size: .85rem; color: var(--ink-muted); font-weight: 600; }
.panel-referral__code { font-size: 1.1rem; font-weight: 700; color: var(--sky); letter-spacing: .04em; }

/* Bloco de chamada para o painel administrativo */
.admin-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.admin-cta__info { min-width: 0; }
.admin-cta__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; }
.admin-cta__title svg { color: #fff; }
.admin-cta__text { font-size: .88rem; opacity: .8; margin-top: 2px; }

/* Lista do painel admin (linhas de usuário/anúncio) */
.admin-filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow .2s var(--ease);
}
.admin-row:hover { box-shadow: var(--shadow-sm); }
.admin-row__main { min-width: 0; flex: 1; }
.admin-row__title { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.admin-row__title:hover { color: var(--sky); }
.admin-row__meta { font-size: .85rem; color: var(--ink-muted); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-row__owner { font-size: .78rem; color: var(--ink-soft); margin-top: 3px; }
.admin-row__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.admin-row__self { font-size: .8rem; color: var(--ink-soft); font-style: italic; }
.admin-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--sky); background: var(--sky-soft);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.admin-badge svg { width: 12px; height: 12px; }

@media (max-width: 540px) {
  .admin-row { flex-direction: column; align-items: flex-start; }
  .admin-row__actions { width: 100%; }
}

/* Caixa de alerta (erros de login/cadastro) */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.alert--error {
  background: rgba(210, 59, 59, .1);
  color: var(--error);
  border: 1px solid rgba(210, 59, 59, .25);
}

/* Aceite dos termos (cadastro) */
.terms-accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 4px;
  font-size: .88rem;
  color: var(--ink-muted);
  cursor: pointer;
  line-height: 1.5;
}
.terms-accept input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--sky); cursor: pointer; }
.terms-accept a { font-weight: 600; }

/* Página de Termos */
.legal-doc__meta { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 8px; }
.legal-doc__h {
  font-size: 1.3rem; font-weight: 700; color: var(--sky);
  margin: 32px 0 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal-doc__sub { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 20px 0 6px; }
.legal-doc p { color: var(--ink-muted); line-height: 1.7; margin-bottom: 12px; }
.legal-doc__note {
  background: var(--sky-mist);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  font-size: .9rem;
  color: var(--ink-muted);
  margin: 24px 0;
}

/* ============================================================
   Uploader de fotos (formulário de anúncio)
   ============================================================ */
.photo-uploader { margin-top: 6px; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.photo-grid:empty { margin-bottom: 0; }
.photo-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line-soft);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb__cover {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--ink);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.photo-thumb__remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(24, 32, 58, .65);
  color: #fff;
  font-size: 1.05rem;
  line-height: 26px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease);
}
.photo-thumb__remove::before { content: "\00d7"; display: block; margin-top: -2px; }
.photo-thumb__remove:hover { background: var(--error); }
.photo-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 90px;
  padding: 18px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.photo-add:hover { border-color: var(--sky); color: var(--sky); background: var(--sky-mist); }
.photo-add__icon { display: flex; }
.photo-add__label { font-weight: 700; font-size: .9rem; }
.photo-add__count { font-size: .8rem; color: var(--ink-soft); }
.photo-add.is-loading { pointer-events: none; opacity: .7; }
.photo-add.is-loading .photo-add__label::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 8px;
  border: 2px solid var(--line);
  border-top-color: var(--sky);
  border-radius: 50%;
  vertical-align: middle;
  animation: spin .7s linear infinite;
}

/* Aviso "Seja premium" na seção de fotos */
.premium-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, var(--sky-soft), var(--sky-mist));
  border: 1px solid rgba(230, 0, 0, .18);
  color: var(--ink);
  font-size: .92rem;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.premium-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(230,0,0,.12); color: var(--ink); }
.premium-cta__star {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
}
.premium-cta__text strong { color: var(--sky-deep); font-weight: 700; }

/* Autocomplete de bairro (lista de sugestões própria) */
.autocomplete { position: relative; }
.autocomplete__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-height: 260px;
  overflow-y: auto;
  display: none;
}
.autocomplete__list.is-open { display: block; }
.autocomplete__item {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
}
.autocomplete__item:hover,
.autocomplete__item.is-active {
  background: var(--sky-soft);
  color: var(--sky-deep);
}

/* ===== Adições do lote: excluir conta, denúncia, carregar mais ===== */
.danger-zone { border: 1px solid rgba(210,59,59,.35); border-radius: var(--radius); padding: 20px; margin-top: 24px; background: rgba(210,59,59,.03); }
.danger-zone__title { color: var(--error); }
.danger-zone__btn { color: var(--error); border-color: rgba(210,59,59,.4); }
.danger-zone__btn:hover { border-color: var(--error); color: var(--error); background: rgba(210,59,59,.06); }
.danger-zone__confirm { background: var(--error); box-shadow: 0 2px 10px rgba(210,59,59,.25); }
.danger-zone__confirm:hover { background: #b42f2f; color: #fff; }

.report-link { display: block; width: 100%; margin-top: 14px; padding: 8px; background: none; border: 0; cursor: pointer; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.report-link:hover { color: var(--error); text-decoration: underline; }
.report-link:disabled { cursor: default; color: var(--success); text-decoration: none; }

.status-badge--report { background: rgba(210,59,59,.1); color: var(--error); }

.admin-row__reasons { margin-top: 4px; font-size: .85rem; color: var(--ink-muted); font-style: italic; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.load-more-wrap:empty { margin-top: 0; }

/* ===== Gestão de planos (admin) ===== */
.plan-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }
.plan-badge--free { background: var(--line); color: var(--ink-muted); }
.plan-badge--plus { background: rgba(224,123,0,.14); color: var(--accent); }
.plan-badge--ultra { background: var(--sky-soft); color: var(--sky-deep); }

.admin-plan-select { display: inline-flex; align-items: center; gap: 6px; }
.admin-plan-select__lbl { font-size: .78rem; color: var(--ink-muted); }
.admin-plan-select select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .85rem; background: var(--white); cursor: pointer; }
.admin-plan-select select:disabled { opacity: .6; cursor: default; }

/* Botão excluir anúncio (card Meus Anúncios) */
.manage-card__delete { color: var(--error); }
.manage-card__delete:hover { color: var(--error); text-decoration: underline; }

/* ===== Contato bloqueado (detalhe, deslogado) ===== */
.contact-locked { text-align: center; padding: 8px 4px 4px; }
.contact-locked__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: flex; align-items: center; justify-content: center; }
.contact-locked__title { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.contact-locked__text { font-size: .88rem; color: var(--ink-muted); margin-bottom: 16px; line-height: 1.45; }

/* ===== Modal genérico (denúncia) ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(24,32,58,.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; animation: fadeIn .15s ease; }
.modal { background: var(--white); border-radius: 18px; padding: 24px; width: 100%; max-width: 440px; position: relative; box-shadow: 0 20px 60px rgba(24,32,58,.3); }
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--ink-muted); cursor: pointer; }
.modal__title { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.modal__text { font-size: .9rem; color: var(--ink-muted); margin-bottom: 16px; }
.modal__options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.report-opt { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; transition: all .15s; }
.report-opt:hover { border-color: var(--sky); }
.report-opt.is-active { background: var(--sky); border-color: var(--sky); color: #fff; }
.modal__textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .9rem; resize: vertical; margin-bottom: 16px; }
.modal__textarea:focus { outline: none; border-color: var(--sky); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ===== Contadores nos chips do admin ===== */
.chip__count { opacity: .7; font-weight: 600; font-size: .85em; }

/* ===== Linha de ações destrutivas do card de anúncio ===== */
.manage-card__actions--danger { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Chat / Leads (Fase 2A) ===== */
/* Lista de conversas (aba Mensagens) */
.convo-list { display: flex; flex-direction: column; gap: 10px; }
.convo-card { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.convo-card:hover { border-color: var(--sky); box-shadow: 0 4px 14px rgba(24,32,58,.06); }
.convo-card__thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--sky-soft); overflow: hidden; flex-shrink: 0; }
.convo-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.convo-card__body { flex: 1; min-width: 0; }
.convo-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.convo-card__name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.convo-card__roletag { font-weight: 600; font-size: .7rem; color: var(--ink-muted); background: var(--line); padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.convo-card__badge { background: var(--sky); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.convo-card__prop { font-size: .82rem; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-card__last { font-size: .85rem; color: var(--ink); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Tela da conversa */
.chat-view { padding-top: 16px; padding-bottom: 24px; }
.chat { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; height: 70vh; max-height: 640px; margin-top: 12px; background: var(--white); }
.chat__header { border-bottom: 1px solid var(--line); padding: 12px 14px; }
.chat__prop { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.chat__prop img, .chat__prop-ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--sky-soft); flex-shrink: 0; }
.chat__prop-info { display: flex; flex-direction: column; min-width: 0; }
.chat__prop-info strong { font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__prop-info small { font-size: .78rem; color: var(--ink-muted); }
.chat__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--sky-mist); }
.chat__empty { margin: auto; color: var(--ink-muted); font-size: .9rem; text-align: center; }
.chat-bubble { max-width: 78%; align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.chat-bubble--mine { align-self: flex-end; background: var(--sky); border-color: var(--sky); border-radius: 14px 14px 4px 14px; }
.chat-bubble__text { font-size: .9rem; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.chat-bubble--mine .chat-bubble__text { color: #fff; }
.chat-bubble__time { font-size: .68rem; color: var(--ink-muted); margin-top: 3px; text-align: right; }
.chat-bubble--mine .chat-bubble__time { color: rgba(255,255,255,.8); }
.chat__composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat__composer input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: .92rem; }
.chat__composer input:focus { outline: none; border-color: var(--sky); }

/* ===== Handshake de fechamento (Fase 2B) ===== */
.chat-system { align-self: center; max-width: 90%; text-align: center; font-size: .8rem; color: var(--ink-muted); background: var(--white); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; margin: 4px 0; }
.chat__deal { border-top: 1px solid var(--line); background: var(--sky-mist); padding: 10px 12px; }
.chat-deal__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.chat-deal__inner span { font-size: .85rem; color: var(--ink); }
.chat-deal__inner .btn { flex-shrink: 0; }

/* ===== Locação 2C/2D/2E ===== */
/* Campos de formulário reutilizáveis */
.lk-field { display: block; margin-bottom: 12px; }
.lk-field > span { display: block; font-size: .82rem; color: var(--ink-muted); margin-bottom: 5px; font-weight: 600; }
.lk-field input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .95rem; }
.lk-field select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .95rem; background: var(--white); cursor: pointer; }
.lk-field input:focus { outline: none; border-color: var(--sky); }
.lk-field select:focus { outline: none; border-color: var(--sky); }

/* Form de contrato */
.contract-form { max-width: 560px; }
.contract-form__prop { background: var(--sky-mist); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; display: flex; flex-direction: column; }
.contract-form__prop strong { color: var(--ink); }
.contract-form__prop span { font-size: .85rem; color: var(--ink-muted); }
.contract-form__h { font-size: .95rem; color: var(--ink); margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.contract-form__row { display: flex; gap: 12px; }
.contract-form__row .lk-field { flex: 1; }

/* Seções dos painéis de locação */
.rental-sec { margin-bottom: 24px; }
.rental-sec__title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }

/* Ações pendentes */
.pending-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.pending-item--alert { background: var(--sky-mist); border-color: var(--sky-soft); }
.pending-item__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pending-item__info strong { font-size: .9rem; color: var(--ink); }
.pending-item__info span { font-size: .84rem; color: var(--ink-muted); }
.pending-item__photo { font-size: .8rem; color: var(--sky-deep); margin-top: 2px; }
.pending-item__actions { display: flex; gap: 6px; flex-shrink: 0; }

/* Financeiro */
.fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fin-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.fin-card__label { display: block; font-size: .76rem; color: var(--ink-muted); margin-bottom: 4px; }
.fin-card__val { font-size: 1.05rem; color: var(--ink); }
.fin-card--ok { background: rgba(31,157,99,.08); border-color: rgba(31,157,99,.25); }
.fin-card--ok .fin-card__val { color: var(--success); }
.fin-card--alert { background: rgba(210,59,59,.07); border-color: rgba(210,59,59,.25); }
.fin-card--alert .fin-card__val { color: var(--error); }

/* Faturas */
.invoice-list { display: flex; flex-direction: column; gap: 8px; }
.invoice-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.invoice-row__main { flex: 1; min-width: 120px; display: flex; flex-direction: column; }
.invoice-row__main strong { font-size: .9rem; color: var(--ink); }
.invoice-row__main span { font-size: .82rem; color: var(--ink-muted); }

/* Contratos */
.contract-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.contract-card__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contract-card__info strong { font-size: .92rem; color: var(--ink); }
.contract-card__info span { font-size: .83rem; color: var(--ink-muted); }
.contract-card__actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* Meu Aluguel — card + timeline */
.tenancy-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.tenancy-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.tenancy-card__head img, .tenancy-card__ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--sky-soft); flex-shrink: 0; }
.tenancy-card__head strong { display: block; color: var(--ink); }
.tenancy-card__head span { font-size: .86rem; color: var(--ink-muted); }
.tenancy-card__dates { font-size: .84rem; color: var(--ink-muted); margin-bottom: 14px; }
.timeline { margin-bottom: 16px; }
.timeline__bar { height: 8px; border-radius: 999px; background: var(--sky-soft); overflow: hidden; }
.timeline__fill { height: 100%; background: var(--sky); border-radius: 999px; }
.timeline__labels { display: flex; justify-content: space-between; font-size: .74rem; color: var(--ink-muted); margin-top: 6px; }
.tenancy-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Modal: anexar foto do reparo */
.maint-photo { display: inline-block; cursor: pointer; font-size: .85rem; color: var(--sky-deep); border: 1.5px dashed var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.muted { color: var(--ink-muted); font-size: .88rem; }

/* Abas roláveis no mobile (não quebra layout com 7 abas) */
.tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===== Corretor no fluxo de aluguel ===== */
.ck { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink); background: var(--sky-mist); border: 1px solid var(--sky-soft); border-radius: 10px; padding: 10px 12px; margin: 8px 0 4px; cursor: pointer; }
.ck input { width: 18px; height: 18px; accent-color: var(--sky); }
.contract-card__tag { font-size: .78rem; color: var(--sky-deep); margin-top: 2px; }
.contract-card__comm { font-size: .8rem; color: var(--accent); font-weight: 600; margin-top: 2px; }
.contract-card__comm.is-paid { color: var(--success); }
.comm-total { font-size: .82rem; font-weight: 600; color: var(--accent); }
.broker-badge { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--sky); border-radius: 999px; padding: 2px 9px; margin-top: 4px; }

/* ===== Avatar (cadastro / perfil) ===== */
.avatar-upload { display: flex; align-items: center; gap: 14px; }
.avatar-upload__preview { width: 72px; height: 72px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); }
.avatar-upload__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Abas de imóvel (painel do locador) — mesmo formato das abas da conta ===== */
.prop-tabs { display: flex; gap: 6px; margin: 0 0 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.prop-tab { appearance: none; background: none; border: none; border-bottom: 3px solid transparent; padding: 11px 16px; font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink-muted); cursor: pointer; margin-bottom: -1px; border-radius: 8px 8px 0 0; white-space: nowrap; transition: color .15s var(--ease), background .15s var(--ease); }
.prop-tab:hover { color: var(--ink); background: var(--line-soft); }
.prop-tab.is-active { color: var(--sky); border-bottom-color: var(--sky); background: none; }

/* ===== Paywall do contrato (Ultra / avulso) ===== */
.paywall-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.paywall-opt { text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s; }
.paywall-opt:hover { border-color: var(--sky); }
.paywall-opt strong { color: var(--ink); font-size: .95rem; }
.paywall-opt span { font-size: .82rem; color: var(--ink-muted); }
.paywall-opt--primary { border-color: var(--sky); background: var(--sky-mist); }

/* ===== Checklist + documentos do "Desejo fechar" ===== */
.checklist { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.checklist__title { display: block; font-size: .85rem; color: var(--ink); margin-bottom: 8px; }
.checklist__item { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-muted); padding: 3px 0; }
.checklist__item input { width: 16px; height: 16px; accent-color: var(--sky); }
.close-files-list { margin-bottom: 12px; }
.close-files-list__item { font-size: .82rem; color: var(--success); padding: 2px 0; }
.deal-docs a { color: var(--sky-deep); font-weight: 600; text-decoration: none; margin: 0 2px; }

/* ===== Barra de visita no chat ===== */
.chat__visit:empty { display: none; }
.chat__visit { border-bottom: 1px solid var(--line); background: var(--sky-mist); padding: 8px 12px; }
.chat-visit__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--ink); }
.chat-visit__actions { display: flex; gap: 6px; flex-shrink: 0; }

/* Selo de corretor verificado em tamanho reduzido (linha do admin) */
.broker-badge--sm { font-size: .68rem; padding: 1px 7px; vertical-align: middle; }

/* ===== Mini-CRM do corretor (aba Leads) ===== */
.lead-list { display: flex; flex-direction: column; gap: 14px; }
.lead-card { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 14px; padding: 16px; background: var(--white); transition: box-shadow .15s var(--ease); }
.lead-card:hover { box-shadow: 0 4px 18px rgba(24,32,58,.07); }
.lead-card--novo { border-left-color: var(--ink-muted); }
.lead-card--contatado { border-left-color: #2F80B5; }
.lead-card--visita_agendada { border-left-color: var(--accent); }
.lead-card--em_negociacao { border-left-color: var(--success); }
.lead-card--perdido { border-left-color: var(--line); opacity: .72; }
.lead-card__top { display: flex; align-items: center; gap: 11px; }
.lead-card__avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; overflow: hidden; }
.lead-card__avatar::before { content: attr(data-initial); }
.lead-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-card__who { flex: 1 1 auto; min-width: 0; }
.lead-card__name { font-weight: 700; color: var(--ink); }
.lead-card__meta { font-size: .8rem; color: var(--ink-muted); }
.status-badge--crm { background: var(--sky-soft); color: var(--sky-deep); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; }
.lead-card__prop { display: flex; align-items: center; gap: 11px; margin: 13px 0; padding: 9px; background: var(--mist, var(--sky-mist)); border-radius: 10px; }
.lead-card__thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.lead-card__thumb--ph { display: flex; align-items: center; justify-content: center; background: var(--line-soft); font-size: 1.3rem; }
.lead-card__prop-info { min-width: 0; }
.lead-card__prop-title { font-weight: 600; color: var(--ink); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-card__prop-sub { font-size: .8rem; color: var(--ink-muted); }
.lead-card__actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.lead-card__status { appearance: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 8px 30px 8px 11px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235A6478' stroke-width='2'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; }
.lead-card__status:focus { outline: none; border-color: var(--sky); }
.lead-card__wa { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.lead-temp { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line); }
.lead-temp__lbl { font-size: .8rem; color: var(--ink-muted); font-weight: 600; }
.lead-temp__pill { appearance: none; font: inherit; font-size: .8rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; cursor: pointer; background: var(--white); transition: all .15s var(--ease); }
.lead-temp__pill--frio { border: 1.5px solid #2F80B5; color: #2F80B5; }
.lead-temp__pill--frio.is-active { background: #2F80B5; color: var(--white); }
.lead-temp__pill--morno { border: 1.5px solid var(--accent); color: var(--accent); }
.lead-temp__pill--morno.is-active { background: var(--accent); color: var(--white); }
.lead-temp__pill--quente { border: 1.5px solid var(--sky); color: var(--sky); }
.lead-temp__pill--quente.is-active { background: var(--sky); color: var(--white); }
.lead-temp__pill[disabled] { opacity: .5; cursor: default; }
.lead-temp__locked { appearance: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink-muted); background: var(--line-soft); border: 1px dashed var(--line); border-radius: 10px; padding: 9px 13px; margin-top: 13px; width: 100%; cursor: pointer; transition: background .15s var(--ease); }
.lead-temp__locked:hover { background: var(--sky-soft); color: var(--sky-deep); }

/* ===== Tela de Planos (/planos) ===== */
.plans-hero { text-align: center; max-width: 640px; margin: 8px auto 36px; }
.plans-hero__title { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 10px 0 12px; }
.plans-hero__sub { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.5; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; max-width: 1080px; margin: 0 auto; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(230,0,0,.12), 0 6px 16px rgba(24,32,58,.08); }
.plan__bar { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #c3c8d4, #e3e6ec); }
.plan__ribbon { position: absolute; top: 18px; right: -36px; transform: rotate(45deg); background: var(--sky); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 42px; box-shadow: 0 4px 10px rgba(230,0,0,.3); }
.plan__tier { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-top: 6px; }
.plan__tier b { color: var(--ink-muted); }
.plan__tagline { color: var(--ink-muted); font-size: .9rem; line-height: 1.45; margin: 8px 0 18px; min-height: 40px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan__price-val { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__price-per { color: var(--ink-muted); font-size: .9rem; }
.plan__cta { display: block; width: 100%; text-align: center; padding: 13px 18px; border-radius: 11px; font-weight: 700; font-size: .98rem; cursor: pointer; border: 1.5px solid var(--line); background: transparent; color: var(--ink); transition: all .15s var(--ease); box-sizing: border-box; }
.plan__cta:hover { background: var(--sky-mist); border-color: var(--ink); }
.plan__cta--current { background: var(--line-soft); color: var(--ink-muted); border-color: transparent; cursor: default; }
.plan__feat-head { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); margin: 24px 0 14px; }
.plan__feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.feat { display: flex; gap: 11px; align-items: flex-start; }
.feat__ico { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #F2F3F6; color: var(--ink); margin-top: 1px; }
.feat__text { display: flex; flex-direction: column; line-height: 1.3; }
.feat__text b { font-weight: 600; color: var(--ink); font-size: .92rem; }
.feat__text small { color: var(--ink-muted); font-size: .8rem; }
/* Plus — destaque vermelho */
.plan--plus { border: 2px solid var(--sky); box-shadow: 0 18px 50px rgba(230,0,0,.16), 0 6px 16px rgba(24,32,58,.08); }
.plan--plus .plan__bar { display: none; }
.plan--plus .plan__tier b { color: var(--sky); }
.plan--plus .feat__ico { background: var(--sky-soft); color: var(--sky); }
.plan--plus .plan__cta { background: var(--sky); color: #fff; border-color: var(--sky); box-shadow: 0 8px 20px rgba(230,0,0,.22); }
.plan--plus .plan__cta:hover { background: var(--sky-deep); border-color: var(--sky-deep); }
/* Ultra — escuro premium */
.plan--ultra { background: linear-gradient(160deg, #232a40, var(--ink)); border-color: transparent; color: #EEF1F8; }
.plan--ultra .plan__bar { background: linear-gradient(90deg, var(--sky-deep), var(--sky)); }
.plan--ultra .plan__tier { color: #fff; }
.plan--ultra .plan__tier b { color: #ff5a5a; }
.plan--ultra .plan__tagline { color: #AEB6CB; }
.plan--ultra .plan__price-val { color: #fff; }
.plan--ultra .plan__price-per { color: #9AA3BB; }
.plan--ultra .plan__feat-head { color: #8B93AC; }
.plan--ultra .feat__ico { background: rgba(255,255,255,.1); color: #ff5a5a; }
.plan--ultra .feat__text b { color: #F4F6FB; }
.plan--ultra .feat__text small { color: #9AA3BB; }
.plan--ultra .plan__cta { background: var(--sky); color: #fff; border-color: var(--sky); box-shadow: 0 8px 22px rgba(230,0,0,.28); }
.plan--ultra .plan__cta:hover { background: #ff3838; border-color: #ff3838; }
/* "Seu plano atual" */
.plan--current { outline: 2px dashed var(--success); outline-offset: 3px; }
.plans-foot { text-align: center; color: var(--ink-muted); font-size: .82rem; margin: 34px auto 0; max-width: 560px; }
@media (max-width: 920px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plan__tagline { min-height: 0; }
  .plan:hover, .plan--plus:hover { transform: none; }
}
