/*====================================
  BARBIERI IMÓVEIS — style.css
  Etapa 1: Reset, Base, Utilitários, Header, Hero
====================================*/

/*------------------------------------
  RESET / BASE
------------------------------------*/
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--body-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  line-height: var(--lh-tight);
}

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/*------------------------------------
  UTILITÁRIOS
------------------------------------*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.text-em { font-style: italic; }

.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;
}

/* Ícones inline reutilizáveis */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

/*------------------------------------
  BOTÕES (spec: default / hover / clicar)
------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn__icon { width: 1.1em; height: 1.1em; }

/* Primário — verde escuro */
.btn--primary {
  background: var(--green-700);
  color: var(--on-dark);
}
.btn--primary:hover { background: var(--green-600); border-color: var(--gold-500); }
.btn--primary:active { transform: translateY(1px); }

/* Outline — borda clara */
.btn--outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-600); }
.btn--outline:active { transform: translateY(1px); }

/* Ícone quadrado (busca) */
.btn--square {
  display: grid;
  place-items: center;
  padding: 0;
  width: 52px; height: 52px;
  background: var(--green-700);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
}
.btn--square:hover { background: var(--green-600); }

/*====================================
  HEADER + NAVEGAÇÃO
====================================*/
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__logo img { height: 40px; width: auto; }
.header__logo .logo-dark { display: none; }

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--body-text);
  padding-block: 0.5rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--green-brand); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 1.25rem; }

.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--body-text);
  transition: color var(--transition);
}
.header__contact span { white-space: nowrap; }
/* Barra de ações não encolhe (evita "Fale conosco" / botão quebrarem linha) */
.header__actions { flex-shrink: 0; }
.header__actions .btn--primary { white-space: nowrap; }
.header__contact:hover { color: var(--green-brand); }
.header__contact .icon { width: 1.1rem; height: 1.1rem; }

/* Alternar tema */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  color: var(--body-text);
  transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover { background: var(--beige); color: var(--gold-600); }
.theme-toggle__sun { display: none; }

/* Menu mobile (hambúrguer) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}
.nav-toggle span {
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/*====================================
  HERO — Banner + Busca
====================================*/
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}

/* Slider de fundo (troca a cada 2s — regra do Figma) */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
/* Sombra superior (#000 40%) + gradiente para contraste (regra Figma) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 42%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.04) 100%),
    linear-gradient(180deg, rgba(10,20,8,0.26) 0%, rgba(10,20,8,0.10) 40%, rgba(10,20,8,0.30) 100%);
}

.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 500;
  max-width: 22ch;
  color: #FFFFFF;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35);
}
.hero__title .swap { font-style: italic; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 2.5rem; height: 1px;
  background: var(--gold-400);
  opacity: 0.7;
}

/* Indicadores do slider */
.hero__dots { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.hero__dots button {
  width: 28px; height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.4);
  transition: background var(--transition), width var(--transition);
}
.hero__dots button.is-active { background: var(--on-dark); width: 40px; }

/*------------------------------------
  CARD DE BUSCA (IA / Filtro)
------------------------------------*/
.search {
  width: min(680px, 100%);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.search__modes { display: flex; gap: 0.5rem; margin-bottom: 0.9rem; }
.search__mode {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.search__mode.is-active { background: var(--green-700); border-color: var(--gold-500); }
.search__mode:not(.is-active) { background: rgba(255,255,255,0.08); }

.search__panel { display: none; }
.search__panel.is-active { display: block; }

/* Painel IA */
.search__ia {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.4rem 0.4rem 1rem;
}
.search__ia input {
  flex: 1;
  border: none;
  background: none;
  padding-block: 0.75rem;
  color: var(--ink);
  font-size: var(--fs-small);
}
.search__ia input::placeholder { color: var(--muted); }
.search__ia .search__mic {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--muted);
}
.search__hint {
  margin-top: 0.7rem;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  font-style: italic;
}

/* Painel filtro clássico */
.search__filter { display: grid; gap: 0.6rem; }
.search__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.5rem;
}
.search__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0 0.9rem;
  color: var(--ink);
}
.search__field .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-600); }
.search__field input,
.search__field select {
  flex: 1;
  border: none;
  background: none;
  padding-block: 0.8rem;
  font-size: var(--fs-small);
  color: var(--ink);
}
.search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.search__tag {
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  transition: background var(--transition), border-color var(--transition);
}
.search__tag:hover { background: rgba(255,255,255,0.12); border-color: var(--gold-400); }

/*====================================
  CABEÇALHO DE SEÇÃO (reutilizável)
====================================*/
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head__text { display: grid; gap: 0.75rem; }
.section-head__title {
  font-size: var(--fs-h2);
  font-weight: 500;
}
.destaques .section-head__title { font-style: italic; }
.section-head__subtitle {
  font-family: var(--font-body);
  color: var(--muted);
  max-width: 46ch;
}

/*====================================
  CARDS DE IMÓVEIS — Destaques da semana
====================================*/
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.property-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Mídia — foto full-bleed (rente às bordas do card) */
.property-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.property-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.property-card:hover .property-card__media img { transform: scale(1.04); }

/* Carrossel de fotos do card (setas no hover trocam a foto ativa). */
.property-card__media a { display: block; width: 100%; height: 100%; }
.property-card__media .property-card__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease, transform var(--transition-slow);
}
.property-card__media .property-card__slide.is-active { opacity: 1; }

/* Badge (cobre o badge embutido na foto do Figma) */
.property-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--green-700);
  border-radius: 6px;
}

/* Setas (aparecem no hover — regra Figma) + tag "À VENDA" */
.property-card__nav {
  position: absolute;
  right: 12px; bottom: 12px;
  display: flex; gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}
.property-card:hover .property-card__nav { opacity: 1; transform: none; }
.property-card__arrow {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(20,30,15,0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.property-card__arrow:hover { background: var(--green-700); }
.property-card__arrow .icon { width: 1rem; height: 1rem; }
.property-card__arrow--prev { transform: scaleX(-1); }

.property-card__status {
  position: absolute;
  left: 14px; bottom: 12px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-900);
  background: var(--gold-400);
  border-radius: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}
.property-card:hover .property-card__status { opacity: 1; }

/* Corpo */
.property-card__body { padding: 1.1rem 1.15rem 1.2rem; }
.property-card__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body-text);
}
.property-card__location .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-600); }

.property-card__specs {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.9rem 0;
  padding: 0.75rem 0;
  border-block: 1px solid var(--border);
}
.property-card__specs li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.property-card__specs .icon { width: 1.05rem; height: 1.05rem; color: var(--muted); }

.property-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.property-card__from { font-size: 0.78rem; color: var(--muted); }
.property-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.property-card__cod {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*====================================
  CARROSSEL (base reutilizável)
====================================*/
.carousel {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  /* Sem rolagem nativa: evita o botão de seta nativo do navegador.
     A navegação é feita pelas setas externas (JS scrollBy) e por
     arrastar/deslizar (drag/swipe) via JS — ver script.js. */
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
}
.carousel:active { cursor: grabbing; }
.carousel::-webkit-scrollbar,
.carousel::-webkit-scrollbar-button { display: none; }
.carousel > * { flex: 0 0 auto; }

.carousel-nav { display: flex; gap: 0.6rem; }
.carousel-nav__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--heading);
  background: var(--surface);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.carousel-nav__btn:hover { background: var(--green-700); color: var(--on-dark); border-color: var(--green-700); }
.carousel-nav__btn .icon { width: 1.1rem; height: 1.1rem; }
.carousel-nav__btn--prev .icon { transform: scaleX(-1); }

/*====================================
  BAIRROS EM BLUMENAU
====================================*/
.bairros .section-head { align-items: flex-start; }
.bairros .section-head__title { font-style: italic; }
.bairros__note {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: var(--fs-small);
  text-align: right;
  line-height: 1.5;
}

.tile {
  position: relative;
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.tile--wide { width: 560px; }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tile:hover img { transform: scale(1.05); }

/* Bairros — acordeão horizontal (igual ao Figma): tiles altos e estreitos;
   o tile ativo fica largo. A imagem tem largura fixa (a do tile aberto) e
   fica centralizada — ao abrir, é apenas revelada, sem zoom nem reescala. */
.bairros .tile {
  width: 240px;
  height: clamp(440px, 62vh, 600px);
  aspect-ratio: auto;
  border-radius: var(--radius);
  transition: width 0.5s ease-out;
}
.bairros .tile--wide { width: 460px; }
.bairros .tile img {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: none;
}
.bairros .tile:hover img { transform: translateX(-50%); }

/* Hover (igual ao Figma): escurece o tile e mostra descrição + botão ao centro */
.tile__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(10, 20, 8, 0.42);
  opacity: 0;
  transition: opacity var(--transition);
}
.tile:hover .tile__hover { opacity: 1; }
.tile__desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.tile__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--transition), border-color var(--transition);
}
.tile__btn:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.tile__btn .icon { width: 1.05rem; height: 1.05rem; }
/* Sobreposição: nome sempre visível + CTA no hover (regra Figma) */
.tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.tile__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-400);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity var(--transition), max-height var(--transition);
}
.tile:hover .tile__cta { opacity: 1; max-height: 2rem; }
.tile__cta .icon { width: 1.1rem; height: 1.1rem; }

/*====================================
  LITORAL SC
====================================*/
.litoral__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}
.litoral__text { display: flex; flex-direction: column; gap: 1.25rem; }
.litoral__title { font-size: var(--fs-h2); font-weight: 500; }
.litoral__desc { font-family: var(--font-body); color: var(--muted); }
.litoral__track { min-width: 0; }
.litoral .tile { aspect-ratio: 3 / 4; width: 260px; }
.litoral .tile--wide { width: 460px; }

/*====================================
  FEEDBACK — Depoimentos
====================================*/
.feedback .section-head { justify-content: center; text-align: center; }
.feedback__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial__text {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.7;
  font-size: 0.95rem;
}
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial__author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--heading);
}
.testimonial__role { font-size: 0.78rem; color: var(--muted); }

/*====================================
  QUEM SOMOS — faixa verde
====================================*/
.quem {
  background: var(--green-800);
  color: var(--on-dark);
}
[data-theme="dark"] .quem { background: #0E1A0C; }
.quem__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.quem__media { border-radius: var(--radius); overflow: hidden; }
.quem__media img { width: 100%; height: 100%; object-fit: cover; }
.quem__content { display: flex; flex-direction: column; gap: 1.5rem; }
.quem .eyebrow { color: var(--gold-400); }
.quem__title { font-size: var(--fs-h2); font-weight: 500; color: #fff; }
.quem__desc { font-family: var(--font-body); color: var(--on-dark-muted); max-width: 46ch; }

.quem__stats { display: flex; gap: 3rem; margin-block: 0.5rem; }
.quem__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
}
.quem__stat-label { font-size: var(--fs-small); color: var(--on-dark-muted); }

.quem__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.quem__creci {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-pill);
  color: var(--gold-400);
  font-size: var(--fs-small);
  font-weight: 600;
}
.btn--ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-400); }

/*====================================
  ESPECIALISTAS
====================================*/
.especialistas .section-head { justify-content: center; text-align: center; }
.experts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.expert__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-bottom: 1.25rem;
}
.expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.expert__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--heading);
}
.expert__role {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.35rem 0 0.75rem;
}
.expert__bio { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); }

/*====================================
  PARA PROPRIETÁRIOS — anúncio + form
====================================*/
.owners {
  position: relative;
  background: url("../assets/images/hero-blumenau.png") center/cover fixed;
  isolation: isolate;
}
.owners::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,20,8,0.35);
}
.owners__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
}
.owners__pitch {
  background: color-mix(in srgb, var(--green-800) 92%, transparent);
  color: var(--on-dark);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.owners .eyebrow { color: var(--gold-400); }
.owners__title { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 500; color: #fff; }
.owners__lead { font-family: var(--font-body); color: var(--on-dark-muted); font-size: 0.95rem; }
.owners__perks { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.owners__perks li {
  display: inline-flex; align-items: center; gap: 0.6rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
}
.owners__perks .icon { width: 1rem; height: 1rem; color: var(--gold-400); }

.owners__form {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.owners__form h3 { font-size: 1.6rem; font-weight: 500; }
.owners__form p.owners__form-sub { font-family: var(--font-body); color: var(--muted); font-size: var(--fs-small); margin-top: -0.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field-line {
  display: flex; flex-direction: column;
}
.field-line input,
.field-line textarea {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  background: none;
  color: var(--ink);
  font-size: var(--fs-small);
  transition: border-color var(--transition);
}
.field-line input:focus,
.field-line textarea:focus { outline: none; border-bottom-color: var(--gold-500); }
.field-line textarea { resize: vertical; min-height: 5.5rem; }
.field-line--full { grid-column: 1 / -1; }
.owners__types { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.owners__type {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--body-text);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.owners__type:hover,
.owners__type.is-active { border-color: var(--green-700); background: var(--green-700); color: var(--on-dark); }
.owners__form-foot { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 0.5rem; }
.owners__help { font-size: var(--fs-small); color: var(--muted); }
.owners__help strong { color: var(--heading); display: block; }

/*====================================
  BLOG — Tendências do mercado
====================================*/
.blog { background: var(--bg-alt); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.post {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post__cat {
  align-self: flex-start;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--body-text);
}
.post__title { font-size: 1.5rem; font-weight: 500; }
.post__excerpt { font-family: var(--font-body); color: var(--muted); font-size: 0.92rem; }
.post__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
}
.post__date { font-size: 0.8rem; color: var(--muted); }
.post__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*====================================
  FAQ — Perguntas Frequentes
====================================*/
.faq { text-align: center; }
.faq__title { font-size: var(--fs-h2); font-weight: 500; margin: 0.75rem 0 2rem; }
.faq__search {
  display: flex; align-items: center; gap: 0.6rem;
  max-width: 640px; margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  background: var(--surface);
}
.faq__search .icon { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.faq__search input { flex: 1; border: none; background: none; padding: 0.9rem 0; font-size: var(--fs-small); }
.faq__filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.chip {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--body-text);
  background: var(--surface);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.chip.is-active { background: var(--green-700); color: var(--on-dark); border-color: var(--green-700); }
.chip:hover:not(.is-active) { border-color: var(--gold-500); }

.faq__list { max-width: 820px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  color: var(--gold-600);
  transition: transform var(--transition);
}
.faq-item__icon::before { content: "+"; font-family: var(--font-body); font-size: 1.1rem; line-height: 1; }
.faq-item[open] .faq-item__icon::before { content: "–"; }
.faq-item__content {
  padding-bottom: 1.4rem;
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
}

.faq__cta { text-align: center; margin-top: 3rem; }
.faq__cta p { font-family: var(--font-body); color: var(--muted); margin-bottom: 1.25rem; }

/*====================================
  MAIS PROCURADOS — pills
====================================*/
.searched .section-head { align-items: center; }
.searched__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; text-align: center; }
.pill-track { display: flex; gap: 0.75rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  white-space: nowrap;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  color: var(--body-text);
  transition: background var(--transition), color var(--transition);
}
.pill .icon { width: 1rem; height: 1rem; color: var(--gold-600); }
.pill:hover { background: var(--green-700); color: var(--on-dark); border-color: var(--green-700); }
.pill:hover .icon { color: var(--on-dark); }

/*====================================
  FOOTER
====================================*/
.footer {
  background: var(--green-800);
  color: var(--on-dark-muted);
  font-family: var(--font-body);
}
[data-theme="dark"] .footer { background: #0C1509; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 5rem) 2.5rem;
}
.footer__logo { height: 56px; width: auto; margin-bottom: 1.25rem; }
.footer__about { font-size: 0.9rem; max-width: 34ch; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer__social a:hover { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); }
.footer__social svg { width: 1.1rem; height: 1.1rem; }

.footer__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}
.footer__list { display: grid; gap: 0.75rem; }
.footer__list a, .footer__contact-item { font-size: 0.9rem; color: var(--on-dark-muted); transition: color var(--transition); }
.footer__list a:hover { color: var(--gold-400); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}
.footer__contact-item .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-500); margin-top: 0.15rem; flex-shrink: 0; }
.footer__contact-item a:hover { color: var(--gold-400); }

.footer__plantao {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__plantao strong { color: var(--on-dark); }
.footer__plantao a { color: var(--gold-500); transition: color var(--transition); }
.footer__plantao a:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer__creci {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
}
.footer__creci .icon { width: 0.95rem; height: 0.95rem; }

/* ============ Busca — feedback de IA / voz / carregando ============ */
.search__alert {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: #7a3b00;
  background: #fff4e5;
  border: 1px solid #ffd9a8;
  border-radius: 10px;
}
/* Microfone gravando/ouvindo: pulsa em vermelho */
.search__mic.is-listening {
  color: #e5484d;
  animation: micPulse 1.2s ease-in-out infinite;
}
@keyframes micPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .6; } }
/* Botão de busca processando */
.btn--square.is-loading { opacity: .6; pointer-events: none; position: relative; }
.btn--square.is-loading .icon { visibility: hidden; }
.btn--square.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ============ Autocomplete de localidade (Filtrar) ============ */
.search__ac {
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.20);
  overflow-y: auto;
  padding: 6px;
}
.search__ac .busque_input { display: none; }
.search__ac .busque_results_p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--body-text);
}
.search__ac .busque_results_p:hover { background: var(--beige); }
.search__ac .busque_icon { display: flex; color: var(--gold-600); }
.search__ac .busque_icon svg { width: 18px; height: 18px; }
.search__ac .busque_nome { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.search__ac .busque_sub { font-size: 0.78rem; color: var(--muted); }
:root[data-theme="dark"] .search__ac {
  background: #1c2a1a;
  border-color: rgba(255,255,255,0.12);
}
:root[data-theme="dark"] .search__ac .busque_results_p:hover { background: rgba(255,255,255,0.06); }

/* ============ Formulário "Anuncie seu imóvel" — feedback ============ */
.owners__msg {
  grid-column: 1 / -1;
  margin-bottom: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
}
.owners__msg.is-err { color: #7a1f1f; background: #fdecec; border: 1px solid #f5c2c2; }
.owners__msg.is-ok  { color: #14532d; background: #e7f6ec; border: 1px solid #b7e3c4; }
.owners__success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.owners__success h3 { color: var(--green-brand, var(--green-700)); margin-bottom: 0.5rem; }
.owners__success p { color: var(--muted); font-size: 0.95rem; }

/* ============ Menu de conta (avatar dropdown / sanduíche) ============ */
.account { position: relative; display: inline-flex; }
.account__trigger {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  color: var(--body-text);
  transition: background var(--transition), color var(--transition);
}
.account__trigger svg { width: 20px; height: 20px; }
.account__trigger:hover { background: var(--beige); color: var(--gold-600); }
.account__menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 224px; padding: 6px; margin: 0;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  z-index: 200;
}
.account__menu[hidden] { display: none; }
.account__menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--body-text);
  transition: background var(--transition), color var(--transition);
}
.account__menu a:hover { background: var(--beige); color: var(--green-brand); }
:root[data-theme="dark"] .account__menu { background: #1c2a1a; border-color: rgba(255,255,255,0.12); }
:root[data-theme="dark"] .account__menu a:hover { background: rgba(255,255,255,0.06); }

/* Lista de conta dentro do nav: só no mobile (no desktop usa o dropdown do avatar) */
.nav__list--acct { display: none; }
