/*====================================
  STYLE — Zroo Imóveis
  Sumário:
   1. Reset & Base
   2. Utilitários / Layout
   3. Componentes reutilizáveis (botões, chips…)
   4. Header + Navegação
   5. Hero + Busca
====================================*/

/*====================================
  0. FONTE — Inter (self-hosted, offline)
  Fonte variável: um arquivo cobre pesos 100–900
====================================*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-italic.woff2") format("woff2");
}

/* Effra (self-hosted) — usada no título do hero.
   >> Coloque os arquivos em home_zroo/assets/fonts/:
      - effra-light-italic.woff2  (Light Italic → "A melhor" / "da sua vida")
      - effra-xbold.woff2         (Xbold        → "mudança")
   Enquanto não subir, o título cai no fallback Inter (mesmo estilo). */
@font-face {
  font-family: "Effra";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/effra-light-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Effra";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/effra-xbold.woff2") format("woff2");
}

/*====================================
  1. RESET & BASE
====================================*/
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;               /* evita rolagem horizontal acidental */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--transition), color var(--transition);
}

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

a { color: inherit; text-decoration: none; }

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

button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  color: var(--dark);
  line-height: var(--lh-tight);
  font-weight: var(--fw-extra);
  letter-spacing: -0.02em;
}

ul { list-style: none; }

/* Acessibilidade: foco visível */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/*====================================
  2. UTILITÁRIOS / LAYOUT
====================================*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-8);
}

/* Compensa o header fixo ao navegar por âncoras (#blog, #faq, …),
   evitando que o cabeçalho cubra o título da seção de destino. */
section[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.text-gradient {
  background: linear-gradient(90deg, var(--purple) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Gradiente completo azul → roxo → rosa (destaques maiores) */
.text-gradient--full {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.text-blue { color: var(--blue); }
.text-pink { color: var(--primary); }

/* Trilho horizontal com rolagem (carrosséis) */
.scroll-x {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* Navegação de carrossel (setas) */
.carousel-nav { display: flex; gap: var(--space-3); flex-shrink: 0; }
.carousel-nav--end { justify-content: flex-end; margin-top: var(--space-5); }
.carousel-nav__btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--dark);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.carousel-nav__btn:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); transform: translateY(-2px); }
.carousel-nav__btn .icon { width: 20px; height: 20px; }

/* Indicadores de página (dots) */
.carousel-dots { display: flex; gap: 8px; margin-top: var(--space-5); }
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition), width var(--transition);
}
.carousel-dots button:hover { background: var(--text-muted); }
.carousel-dots button.is-active { background: var(--primary); width: 26px; border-radius: var(--radius-pill); }

/* Aviso "arraste para ver mais" — só aparece em telas de toque
   (onde não há setas por hover) e some assim que o usuário rola. */
.swipe-hint {
  display: none;                       /* oculto no desktop; ativado em (hover: none) */
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  user-select: none;
  transition: opacity var(--transition), transform var(--transition);
}
.swipe-hint__icon {
  color: var(--primary);
  animation: swipe-nudge 1.6s ease-in-out infinite;
}
.swipe-hint.is-hidden {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
@keyframes swipe-nudge {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}
@media (hover: none) {
  .swipe-hint { display: flex; }       /* visível apenas em telas de toque */
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint__icon { animation: none; }
}

/*====================================
  3. COMPONENTES REUTILIZÁVEIS
====================================*/

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }

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

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--dark); }

/* ---- Ícone base ---- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

/* ---- Cabeçalho de seção ---- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.section-head__title {
  font-size: 50px;
  font-weight: revert;               /* volta ao padrão do <h2> (bold 700) */
  color: var(--dark);
  letter-spacing: -0.03em;
}
.section-head__subtitle {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-md);
  max-width: none;          /* cabe em uma linha (antes 46ch forçava a quebra) */
}
.section-head .btn { flex-shrink: 0; }

/*====================================
  4. HEADER + NAVEGAÇÃO
====================================*/
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: var(--space-3) var(--container-pad) 0;   /* respiro do topo reduzido (pill encosta mais no topo) */
  transition: transform var(--transition);
}
/* Escondido ao rolar para baixo; volta ao rolar para cima */
.header--hidden { transform: translateY(-150%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;                 /* Figma */
  gap: var(--space-5);
  background: var(--surface);
  border-radius: 63.17px;                          /* Figma */
  padding: 12px 42.11px;                           /* Figma: 12 vertical / 42.11 horizontal */
  border-bottom: 1.05px solid var(--border);       /* Figma */
  box-shadow: var(--shadow-pill);
  min-height: var(--header-h);
}

.header__logo img { width: 60px; height: auto; }

/* Navegação */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--dark); }
.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Botão de tema */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover { background: var(--border); color: var(--dark); }
.theme-toggle__sun { display: none; }

.header__login svg { flex-shrink: 0; }

/* Conta — botão avatar + dropdown de acesso */
.account { position: relative; }
.account__trigger {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.account__trigger:hover,
.account__trigger[aria-expanded="true"] { background: var(--border); color: var(--dark); }
.account__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 224px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 60;
}
.account__menu[hidden] { display: none; }
.account__menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.account__menu a:hover { background: var(--surface-2); color: var(--dark); }

/* Hambúrguer (oculto no desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/*====================================
  5. HERO + BUSCA
====================================*/
.hero {
  position: relative;
  min-height: clamp(700px, 84vh, 900px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: var(--space-8);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
/* Slides do fundo (fade cross-dissolve) */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
/* Escurecimento à esquerda para leitura do título */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(10, 12, 30, 0.55) 0%,
    rgba(10, 12, 30, 0.30) 38%,
    rgba(10, 12, 30, 0) 65%);
}

.hero__inner {
  position: relative;
  width: 100%;
}

.hero__content { max-width: 620px; }

.hero__title {
  color: #fff;
  font-family: "Effra", var(--font-base);          /* Effra (fallback Inter) */
  font-size: clamp(2.5rem, 5.97vw, 90.25px);       /* 90.25px @ 1512 (Figma) */
  font-weight: 300;                                /* Light — "A melhor" / "da sua vida" */
  font-style: italic;                              /* Light Italic */
  line-height: 1;                                  /* 100% */
  letter-spacing: -0.035em;                        /* -3.16px @ 90.25px */
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  margin: 20px 0;                                  /* respiro acima e abaixo do título */
}
.hero__title-em {
  display: inline-block;
  font-weight: 800;                                /* Xbold — "mudança" */
  font-style: normal;                              /* reto (sem itálico) */
}

/* Alternador Clássica / IA */
.search-mode {
  display: inline-flex;
  gap: 4px;
  margin-top: var(--space-6);
  padding: 5px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}
.search-mode__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  transition: background var(--transition), color var(--transition);
}
.search-mode__btn.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 124, 249, 0.4);
}
.search-mode__spark { color: var(--purple); }

/* Card de busca */
.search-card {
  margin-top: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}
.search-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);     /* 600 — antes herdava bold (700) do <h2> */
  margin-bottom: var(--space-4);
}
.search-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.search-card__row + .search-card__row { margin-top: var(--space-3); }
.search-card__row:last-child { grid-template-columns: 1fr auto; }

/* Campos */
.field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  background: var(--surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.2rem 1.1rem;
  transition: border-color var(--transition), background var(--transition);
}
.field:focus-within { border-color: var(--primary); background: var(--surface); }
.field__icon { display: grid; place-items: center; margin-right: 0.6rem; }
.field input,
.field select {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.85rem 0;
  font-size: var(--fs-sm);
  color: var(--text);
  appearance: none;
  cursor: pointer;
}
.field input { cursor: text; }

/* Os campos de busca já sinalizam o foco com a borda ROSA (.field:focus-within /
   .ai-field:focus-within), então dispensam o anel azul global de :focus-visible. */
.field input:focus,
.field input:focus-visible,
.field select:focus,
.field select:focus-visible,
.ai-field__input:focus,
.ai-field__input:focus-visible {
  outline: none;
}
.field input::placeholder { color: var(--text-muted); }
.field select:invalid { color: var(--text-muted); }
.field--select::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-3px);
  pointer-events: none;
}

.search-card__submit {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  transition: transform var(--transition), background var(--transition);
}
.search-card__submit:hover { transform: scale(1.06); background: var(--primary-dark); }

/* ---- Dropdown de autocomplete da busca (sugestões de cidade/bairro) ---- */
.field .busque {
  position: fixed;              /* fixo: escapa do overflow:hidden do hero (JS define left/top/width/max-height) */
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.busque_results_t {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 10px 16px 4px;
}
.busque_results_p {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.busque_results_p:hover { background: var(--surface-2); }
.busque_input { display: none; }
.busque_icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
}
.busque_nome { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
.busque_sub  { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---- Tipo de imóvel — multi-seleção (checkboxes) ---- */
.tipo-ms { position: relative; cursor: pointer; }
.tipo-ms__trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem 0.85rem 0;   /* espaço à direita p/ o chevron do .field--select */
  background: transparent;
  border: none;
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.tipo-ms__label { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tipo-ms.has-value .tipo-ms__label { color: var(--text); font-weight: var(--fw-medium); }
.tipo-ms__panel {
  position: fixed;              /* posicionado via JS; escapa do overflow:hidden do hero */
  z-index: 9999;
  display: none;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.tipo-ms__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text);
  transition: background var(--transition);
}
.tipo-ms__opt:hover { background: var(--surface-2); }
.tipo-ms__opt input[type="checkbox"] {
  -webkit-appearance: checkbox;   /* restaura o quadradinho (o .field input global usa appearance:none) */
  appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ---- Faixa de valor — slider + campos min/máx ---- */
.preco-ms { position: relative; }
/* Mesma altura dos outros campos: eles têm .field (0.2rem) + input (0.85rem) = 1.05rem.
   Aqui o gatilho É o .field, então recebe o padding vertical equivalente direto. */
.preco-ms__trigger { width: 100%; padding: 1.05rem 1.1rem; }
.preco-ms__label { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preco-ms.has-value .preco-ms__label { color: var(--text); font-weight: var(--fw-medium); }

.preco-ms__panel {
  position: fixed;              /* posicionado via JS; escapa do overflow do hero */
  z-index: 9999;
  display: none;
  width: 320px;
  max-width: calc(100vw - 24px);
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.preco-ms__range { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 10px; }

.preco-ms__slider { position: relative; height: 28px; margin-bottom: 14px; }
.preco-ms__bar, .preco-ms__fill { position: absolute; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 2px; }
.preco-ms__bar  { left: 10px; right: 10px; background: var(--border); }
.preco-ms__fill { background: var(--primary); }
.preco-ms__r {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 28px; margin: 0;
  background: transparent;
  -webkit-appearance: none; appearance: none;
  pointer-events: none;                 /* só os thumbs recebem clique */
}
.preco-ms__r::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.3); cursor: pointer;
}
.preco-ms__r::-moz-range-thumb {
  pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff; cursor: pointer;
}
.preco-ms__r::-webkit-slider-runnable-track { background: transparent; border: none; }
.preco-ms__r::-moz-range-track { background: transparent; border: none; }

.preco-ms__fields { display: flex; gap: 10px; margin-bottom: 14px; }
.preco-ms__f { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-semibold); }
.preco-ms__in { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface); }
.preco-ms__in i { font-style: normal; color: var(--text-muted); font-size: var(--fs-sm); }
.preco-ms__in input { width: 100%; min-width: 0; border: none; outline: none; background: transparent; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
/* Mínimo em azul, Máximo em rosa (igual à interna) */
.preco-ms__fields .preco-ms__f:nth-child(1) .preco-ms__in       { border-color: var(--blue); }
.preco-ms__fields .preco-ms__f:nth-child(1) .preco-ms__in input { color: var(--blue); }
.preco-ms__fields .preco-ms__f:nth-child(2) .preco-ms__in       { border-color: var(--primary); }
.preco-ms__fields .preco-ms__f:nth-child(2) .preco-ms__in input { color: var(--primary); }

.preco-ms__apply {
  width: 100%; padding: 13px; border-radius: var(--radius-pill);
  background: var(--blue); color: #fff; font-weight: var(--fw-semibold); font-size: var(--fs-sm);
  transition: background var(--transition);
}
.preco-ms__apply:hover { background: var(--blue-dark); }

/* Números da faixa (no gatilho) em azul, como na interna */
.preco-ms.has-value .preco-ms__label b { color: var(--blue); font-weight: var(--fw-semibold); }

/* ---- Aviso "nenhum imóvel encontrado" ---- */
.search-alert {
  margin-bottom: var(--space-4);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(246, 15, 158, 0.10);
  color: var(--primary-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}
.search-alert[hidden] { display: none; }

/* ---- Chips das localizações escolhidas na busca ---- */
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); }
.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(246, 15, 158, 0.12);
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.search-chip button {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(246, 15, 158, 0.18);
  color: inherit;
  font-size: 15px;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.search-chip button:hover { background: var(--primary); color: #fff; }

/* ---- Modo IA ---- */
.is-hidden { display: none !important; }

/* Botão "IA" ativo ganha o gradiente da marca (em vez do azul) */
.search-mode__btn[data-mode="ai"].is-active {
  background: linear-gradient(90deg, var(--purple), var(--primary));
  box-shadow: 0 6px 16px rgba(246, 15, 158, 0.4);
}
.search-mode__btn[data-mode="ai"].is-active .search-mode__spark { color: #fff; }

.ai-field {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
  transition: border-color var(--transition);
}
.ai-field:focus-within { border-color: var(--primary); }
.ai-field__input {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--text);
}
.ai-field__input::placeholder { color: var(--text-muted); }
.ai-field__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.ai-field__mic,
.ai-field__send {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.ai-field__mic { color: var(--text-muted); }
.ai-field__mic:hover { background: var(--surface-2); color: var(--dark); }
/* Ditado por voz ativo — pulso rosa */
.ai-field__mic.is-listening {
  background: var(--primary);
  color: #fff;
  animation: mic-pulse 1.3s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 15, 158, 0.5); }
  50%      { box-shadow: 0 0 0 9px rgba(246, 15, 158, 0); }
}
.ai-field__send { background: var(--blue); color: #fff; }
.ai-field__send:hover { background: var(--blue-dark); transform: translateY(-1px); }
/* Estado "analisando" (busca por IA aguardando o Gemini) */
.ai-field__send.is-loading { pointer-events: none; }
.ai-field__send.is-loading svg { display: none; }
.ai-field__send.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ai-spin 0.7s linear infinite;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }

.hero__tagline {
  max-width: 600px;                 /* mesma largura do card de busca */
  margin-top: var(--space-3);        /* mais perto do card */
  padding-left: var(--space-2);      /* respiro à esquerda */
  color: #fff;
  font-size: var(--fs-md);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero__tagline strong { font-weight: var(--fw-bold); }

/* Atendente flutuante (Olivia) — widget fixo */
.agent {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.agent__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.agent__avatar:hover { transform: scale(1.06); }
.agent__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Com o chat aberto, esconde o lançador (avatar + balão) */
.agent.is-chatting .agent__avatar,
.agent.is-chatting .agent__bubble { display: none; }

/* Balão de mensagem */
.agent__bubble {
  max-width: 220px;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  padding: 0.6rem 0.9rem;
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transform-origin: bottom right;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.agent__bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Três pontinhos (digitando…) */
.agent__dots { display: inline-flex; gap: 4px; padding: 3px 2px; }
.agent__dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: agent-typing 1.2s infinite ease-in-out;
}
.agent__dots span:nth-child(2) { animation-delay: 0.15s; }
.agent__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes agent-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---- Janela de chat ---- */
.chat {
  width: 330px;
  max-width: calc(100vw - 2rem);
  height: min(460px, 72vh);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in var(--transition);
}
.chat[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1rem;
  background: var(--gradient-brand);
  color: #fff;
}
.chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  object-fit: cover;
}
.chat__id { display: flex; flex-direction: column; line-height: 1.2; }
.chat__id strong { font-size: var(--fs-base); }
.chat__id span { font-size: var(--fs-xs); opacity: 0.85; }
.chat__close {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: background var(--transition);
}
.chat__close:hover { background: rgba(255, 255, 255, 0.2); }

.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-alt);
}

.chat-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 85%; }
.chat-msg__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-msg__bubble {
  padding: 0.6rem 0.85rem;
  font-size: var(--fs-sm);
  line-height: 1.4;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.chat-msg--bot .chat-msg__bubble {
  background: var(--surface);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  margin-left: auto;
  flex-direction: row-reverse;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg__time {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  text-align: right;
  opacity: 0.6;
}

/* Atalhos (quick replies) */
.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.25rem; }
.chat__chip {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--blue);
  background: var(--surface);
  transition: background var(--transition), color var(--transition);
}
.chat__chip:hover { background: var(--blue); color: #fff; }

.chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.chat__input input {
  flex: 1;
  min-width: 0;
  border: none;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-size: var(--fs-sm);
  color: var(--text);
  outline: none;
}
.chat__input input::placeholder { color: var(--text-muted); }
.chat__input button {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.chat__input button:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Indicadores */
.hero__dots {
  position: absolute;
  left: 50%; bottom: -0.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero__dots button {
  width: 8px; height: 8px;                 /* inativo: bolinha */
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  transition: background var(--transition), width var(--transition);
}
.hero__dots button:hover { background: rgba(255, 255, 255, 0.8); }
.hero__dots button.is-active { background: #fff; width: 34px; }  /* ativo: pílula esticada */

/*====================================
  6. IMÓVEIS EM DESTAQUE
====================================*/
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.property-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Link que cobre o card inteiro (dados reais). O botão favoritar fica acima dele. */
.property-card__overlay { position: absolute; inset: 0; z-index: 1; }
.property-card__fav { z-index: 2; }
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Mídia */
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.property-card__slides { position: absolute; inset: 0; }
.property-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition);
}
.property-card__photo.is-active { opacity: 1; }

.property-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--surface);
  color: var(--dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.property-card__fav {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
}
.property-card__fav:hover { background: rgba(255, 255, 255, 0.4); }
.property-card__fav .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.property-card__fav:hover { transform: scale(1.1); }
/* Favoritado: coração PREENCHIDO (fill + stroke na cor da marca). */
.property-card__fav.is-active .icon { fill: var(--primary); stroke: var(--primary); }

/* Carrossel de fotos do card */
.property-card__nav {
  position: absolute;
  right: 14px; bottom: 14px;         /* setas juntas no canto inferior direito */
  display: flex;
  gap: 6px;
  opacity: 0;                        /* visíveis só ao passar o mouse */
  transition: opacity var(--transition);
}
.property-card:hover .property-card__nav { opacity: 1; }
.property-card__arrow {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background var(--transition);
}
.property-card__arrow:hover { background: rgba(255, 255, 255, 0.45); }
.property-card__arrow .icon { width: 14px; height: 14px; }
.property-card__arrow--prev { transform: scaleX(-1); }

.property-card__dots {
  position: absolute;
  bottom: 25px; left: 16px;          /* dots no canto inferior esquerdo, centrados com as setas */
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;                        /* aparecem só no hover, como as setas */
  transition: opacity var(--transition);
}
.property-card:hover .property-card__dots { opacity: 1; }
.property-card__dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.property-card__dots span.is-active { background: #fff; width: 16px; border-radius: var(--radius-pill); }

/* Corpo */
.property-card__body { padding: var(--space-4) var(--space-5) var(--space-5); }

.property-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.property-card__location {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}
.property-card__ref {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.property-card__specs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;   /* ocupa toda a largura da linha */
  gap: 0.6rem;
  margin: var(--space-4) 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.property-card__specs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.property-card__specs .icon { width: 0.95rem; height: 0.95rem; }

.property-card__price {
  font-size: var(--fs-lg);
  font-weight: var(--fw-extra);
  color: var(--dark);
  letter-spacing: -0.02em;
}
.property-card__price span {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  letter-spacing: 0;
}

/*====================================
  7. EXPLORE A CIDADE
====================================*/
.city-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.city-track::-webkit-scrollbar { display: none; }

.city-card {
  position: relative;
  flex: 0 0 clamp(230px, 22vw, 288px);
  aspect-ratio: 288 / 386;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
}
.city-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.city-card:hover img { transform: scale(1.05); }
.city-card::before {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
}
.city-card__name {
  position: absolute;
  top: var(--space-5);
  left: 0; right: 0;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/*====================================
  8. PARA PROPRIETÁRIOS
====================================*/
.owners__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
}
.owners__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-6);
}

.check-list { margin-bottom: var(--space-6); }
.check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  font-size: var(--fs-md);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list__icon { flex-shrink: 0; }

.owners__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.owners__actions .btn { padding: 1rem 1.75rem; }
.owners__help {
  font-size: var(--fs-sm);
  color: var(--dark);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  transition: color var(--transition);
}
.owners__help:hover { color: var(--primary); }

.owners__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.owners__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }

/* Faixa de marca (divisor magenta) */
.brand-band {
  position: relative;
  overflow: hidden;
  height: clamp(240px, 30vw, 380px);
  margin: var(--space-6) var(--container-pad);
  border-radius: var(--radius-xl);
  background: var(--blue);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
}
/* Padrão sutil de ícones (casas + chaves) ao fundo */
.brand-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20fill='none'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M24%2060%20L44%2042%20L64%2060%20V84%20H24%20Z'/%3E%3Ccircle%20cx='120'%20cy='48'%20r='11'/%3E%3Cpath%20d='M120%2059%20V86%20M120%2076%20h9'/%3E%3Cpath%20d='M44%20128%20L64%20110%20L84%20128%20V152%20H44%20Z'/%3E%3Ccircle%20cx='132'%20cy='120'%20r='11'/%3E%3Cpath%20d='M132%20131%20V158%20M132%20148%20h9'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.brand-band__content { position: relative; z-index: 2; padding: 1.5rem; }
.brand-band__eyebrow {
  font-size: clamp(1rem, 1.8vw, 1.375rem);
  font-weight: var(--fw-medium);
  color: #fff;
  margin-bottom: 0.4rem;
}
.brand-band__title {
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: var(--fw-semibold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;                 /* sobrepõe a regra global h1–h4 (var(--dark)) */
}

/* Barras "persiana" magenta que cobrem/revelam o painel azul (em loop) */
.brand-band__reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  pointer-events: none;
}
.brand-band__reveal span {
  flex: 1;
  background: var(--primary);
  transform: scaleX(1);                 /* começa cobrindo (magenta), largura cheia */
  transform-origin: right;              /* recolhe/expande pela direita */
}

/* Anima só quando a faixa está visível (economiza CPU).
   O atraso por barra vai da DIREITA (--i alto = 1º) para a esquerda,
   fazendo o magenta entrar/sair pela direita, com textura de barras. */
.brand-band.in-view .brand-band__reveal span {
  animation: band-blinds 5.5s infinite cubic-bezier(.7, 0, .3, 1);
  animation-delay: calc((8 - var(--i)) * 0.05s);
}

@keyframes band-blinds {
  0%   { transform: scaleX(1); }   /* magenta cobrindo */
  22%  { transform: scaleX(0); }   /* recolhe → azul + texto */
  70%  { transform: scaleX(0); }   /* segura no azul */
  92%  { transform: scaleX(1); }   /* expande → magenta */
  100% { transform: scaleX(1); }   /* segura e repete */
}

/* Acessibilidade: sem animação, mostra o painel azul direto */
@media (prefers-reduced-motion: reduce) {
  .brand-band.in-view .brand-band__reveal span { animation: none; }
  .brand-band__reveal span { transform: scaleX(0); }
}

/*====================================
  9. PARA CORRETORES + CRM
====================================*/
.brokers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
}
.brokers__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-6);
}

/* Mockup do CRM */
.crm {
  background: linear-gradient(155deg, #EEF0FF 0%, #F7EEFB 55%, #FDEAF3 100%);
  border: 1px solid rgba(154, 56, 157, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.crm__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-md);
  color: var(--dark);
}
.crm__logo { width: 26px; height: auto; }
.crm__label {
  display: block;
  margin: var(--space-4) 0 var(--space-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.crm__clients { display: grid; gap: var(--space-3); }
.crm-client {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-sm);
}
.crm-client__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.crm-client__avatar--pink   { background: linear-gradient(135deg, #F60F9E, #B5179E); }
.crm-client__avatar--blue   { background: linear-gradient(135deg, #4C8DF6, #2563EB); }
.crm-client__avatar--purple { background: linear-gradient(135deg, #A855F7, #7C3AED); }
.crm-client__info { flex: 1; min-width: 0; line-height: 1.3; }
.crm-client__info strong { display: block; font-size: var(--fs-sm); color: var(--dark); }
.crm-client__info span { font-size: var(--fs-xs); color: var(--text-muted); }

.crm-tag {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.crm-tag--hot  { background: #FDE3EF; color: #D6157E; }
.crm-tag--wait { background: #FCF3D9; color: #B7791F; }
.crm-tag--new  { background: #E3EEFF; color: #2563EB; }

.crm-ai {
  margin-top: var(--space-4);
  background: linear-gradient(135deg, #EAE6FF, #F3E4FA);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.crm-ai__title { display: block; color: var(--purple); font-size: var(--fs-sm); }
.crm-ai p { margin: var(--space-2) 0 var(--space-3); font-size: var(--fs-sm); color: var(--text); }
.crm-ai__actions { display: flex; gap: var(--space-2); }
.crm-ai__send {
  background: var(--blue); color: #fff;
  padding: 0.5rem 1rem; font-size: var(--fs-xs);
}
.crm-ai__send:hover { background: var(--blue-dark); transform: translateY(-1px); }
.crm-ai__custom {
  background: rgba(255, 255, 255, 0.7); color: var(--dark);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem; font-size: var(--fs-xs);
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.crm-stats__num { display: block; font-size: var(--fs-lg); font-weight: var(--fw-extra); }
.crm-stats__num.is-green { color: #17A34A; }
.crm-stats__num.is-blue  { color: var(--blue); }
.crm-stats li span {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/*====================================
  10. BLOG
====================================*/
.blog { background: var(--bg-alt); }
.blog-grid {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-grid::-webkit-scrollbar { display: none; }
.post-card { flex: 0 0 clamp(280px, 31%, 400px); scroll-snap-align: start; }
.post-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--space-5); }
.post-card__date { font-size: var(--fs-sm); color: var(--text-muted); }
.post-card__title {
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}
.post-card__title a { transition: color var(--transition); }
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt { color: var(--text-muted); font-size: var(--fs-sm); }

/*====================================
  11. MAIS PROCURADOS
====================================*/
.searched { background: var(--bg-alt); padding-top: 0; }
.section-head--tight {
  align-items: center;
  margin-bottom: var(--space-5);
}
.tag-track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tag-track::-webkit-scrollbar { display: none; }
.tag-pill {
  display: inline-block;
  white-space: nowrap;
  background: #E7F1FE;
  color: var(--blue);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}
.tag-pill:hover { background: #D3E6FD; transform: translateY(-2px); }

/*====================================
  12. FAQ
====================================*/
.faq { background: var(--bg-alt); }
.faq__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-6);
}
.faq__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.chip {
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  transition: all var(--transition);
}
.chip:hover { border-color: var(--dark); }
.chip.is-active {
  background: var(--surface);
  color: var(--dark);
  border: 1.5px solid var(--dark);
  font-weight: var(--fw-semibold);
}

.faq__list {
  display: grid;
  gap: var(--space-3);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  font-weight: var(--fw-semibold);
  color: var(--dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__content {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-muted);
}

/*====================================
  13. FOOTER
  (escuro em ambos os temas, como no design)
====================================*/
.footer {
  position: relative;
  background: #1C1C28;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-sm);
}
/* Linha superior em gradiente da marca */
.footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--gradient-brand);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.3fr auto;
  gap: var(--space-7) var(--space-6);
  padding-block: var(--space-8);
  align-items: start;
}

.footer__logo { width: 120px; height: auto; margin-bottom: var(--space-4); }
.footer__slogan { display: block; color: #fff; font-size: var(--fs-md); margin-bottom: var(--space-2); }
.footer__brand p { max-width: 34ch; margin-bottom: var(--space-5); }

.footer__legal { line-height: 1.9; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); }
.footer__legal strong,
.footer__legal span { display: block; }
.footer__legal strong { color: rgba(255, 255, 255, 0.8); }

.footer__title {
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
}
.footer__address { font-style: normal; line-height: 1.9; }

.footer__contact { line-height: 1.7; margin-bottom: var(--space-5); }
.footer__contact strong { color: #fff; }
.footer__contact a { transition: color var(--transition); }
.footer__contact a:hover { color: var(--primary); }
.footer__muted { color: rgba(255, 255, 255, 0.45); font-size: var(--fs-xs); }

.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(246, 15, 158, 0.08);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding-block: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer__nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__nav a { transition: color var(--transition); }
.footer__nav a:hover { color: #fff; }
