/* =========================================================
   VALARIO — Negócios Imobiliários
   Estética: clean, premium, editorial. Branco + off-white,
   grafite escuro, acento lavanda profunda (#6B5B95) discreto.
   Type: Cormorant Garamond (display) + Manrope (corpo/UI)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Base claras */
  --white: #ffffff;
  --cream: #faf7f2;       /* off-white quente */
  --cream-2: #f3ede4;     /* neutro quente mais fundo */
  --sand: #ebe3d6;        /* detalhe neutro quente */

  /* Texto / grafite */
  --ink: #18171c;         /* quase preto */
  --ink-2: #3a3942;
  --muted: #74707b;
  --muted-2: #9a96a1;

  /* Linhas */
  --line: #e9e3da;
  --line-2: #ddd5c8;

  /* Acento — lavanda profunda, discreto */
  --accent: #6b5b95;
  --accent-soft: #8b7bb0;
  --accent-deep: #574b7a;
  --accent-tint: #f2eff7;   /* wash bem leve */
  --accent-tint-2: #e8e3f1;

  /* Sombra */
  --shadow-sm: 0 1px 2px rgba(24,23,28,.04), 0 2px 8px rgba(24,23,28,.04);
  --shadow-md: 0 8px 30px rgba(24,23,28,.08);
  --shadow-lg: 0 24px 70px rgba(24,23,28,.13);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --radius-lg: 14px;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Scrollbars harmonizadas com a paleta ---- */
* { scrollbar-width: thin; scrollbar-color: var(--accent-soft) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border-radius: 20px;
  border: 3px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.detail__info::-webkit-scrollbar-track { background: var(--white); }
.detail__info::-webkit-scrollbar-thumb { border-color: var(--white); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }

.display {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 400; }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--muted); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  line-height: 1.62;
  max-width: 52ch;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }

.section-head { max-width: 640px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head .lead { margin-top: 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--accent); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-deep); box-shadow: 0 10px 30px rgba(107,91,149,.28); }

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

.btn--wa { background: #1f9d57; color: #fff; }
.btn--wa:hover { background: #178247; box-shadow: 0 10px 30px rgba(31,157,87,.28); }

.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  position: relative; transition: gap .3s, color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.link-arrow:hover { color: var(--accent); gap: 13px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 22px;
  transition: padding .4s;
}
.header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.header.scrolled .header__inner { padding-block: 14px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  object-fit: contain; display: block;
  background: #fff; border-radius: 50%; padding: 3px;
  box-shadow: 0 2px 10px rgba(24,23,28,.14);
  transition: transform .3s, box-shadow .3s;
}
.brand:hover .brand__mark { transform: scale(1.04); }
.brand__name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.03em; line-height: 1; color: var(--ink);
}
.brand__sub {
  display: block; font-family: var(--sans); font-size: 0.6rem;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  padding: 9px 15px; border-radius: 100px; position: relative;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 1.5px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Header em estado transparente (sobre o hero escuro) — texto claro */
.header:not(.scrolled) .brand__name { color: #fff; }
.header:not(.scrolled) .brand__sub { color: rgba(255,255,255,.72); }
.header:not(.scrolled) .nav a { color: rgba(255,255,255,.86); }
.header:not(.scrolled) .nav a:hover { color: #fff; }
.header:not(.scrolled) .nav-toggle { color: #fff; }

/* =========================================================
   HERO — full-bleed, foto da casa como plano de fundo
   ========================================================= */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: clamp(40px, 5vw, 80px);
  overflow: hidden;
  background: #14121a;
}
.hero__bg {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,16,22,.88) 0%, rgba(18,16,22,.64) 32%, rgba(18,16,22,.22) 62%, rgba(18,16,22,.04) 100%),
    linear-gradient(0deg, rgba(18,16,22,.62) 0%, rgba(18,16,22,.10) 34%, transparent 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 620px; padding-bottom: clamp(26px, 3.5vw, 48px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero__eyebrow .line { width: 42px; height: 1px; background: var(--accent-soft); }
.hero__eyebrow .eyebrow { color: #d9d2e6; }
.hero .display { margin-bottom: 28px; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .display em { color: #cdbfe6; }
.hero__lead { margin-bottom: 34px; color: rgba(255,255,255,.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__cta .btn--primary { background: #fff; color: var(--ink); }
.hero__cta .btn--primary:hover { background: var(--accent); color: #fff; }
.hero__cta .link-arrow { color: #fff; }
.hero__cta .link-arrow:hover { color: var(--accent-soft); }

/* Search bar */
.search {
  max-width: 960px;
  margin-top: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 12px;
}
.search__tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 6px; }
.search__tab {
  flex: 0 0 auto; font-size: 0.86rem; font-weight: 600; color: var(--muted);
  padding: 9px 20px; border-radius: 100px; transition: background .25s, color .25s;
}
.search__tab.active { background: var(--accent-tint); color: var(--accent-deep); }

.search__fields {
  display: grid; grid-template-columns: 1.2fr 1.2fr 1.2fr auto;
  gap: 4px; align-items: stretch;
}
.field {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 18px; border-radius: 10px;
  transition: background .25s; position: relative; min-width: 0;
}
.field + .field::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 1px; background: var(--line);
}
.field:hover { background: var(--cream); }
.field label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}
.field select {
  border: none; background: transparent; font-size: 0.98rem; font-weight: 600;
  color: var(--ink); padding: 2px 0; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2374707b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 18px;
}
.search__submit {
  align-self: stretch; display: flex; align-items: center; justify-content: center;
  gap: 9px; background: var(--ink); color: var(--white); border-radius: 10px;
  padding-inline: 26px; font-weight: 600; font-size: 0.95rem;
  transition: background .3s;
}
.search__submit:hover { background: var(--accent); }
.search__submit svg { width: 18px; height: 18px; }

/* =========================================================
   AUTORIDADE / SELOS
   ========================================================= */
.authority { border-top: 1px solid var(--line); }
.authority__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.authority__item {
  padding: clamp(36px, 5vw, 56px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
}
.authority__item:last-child { border-right: none; }
.authority__num {
  font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 500; line-height: 1; color: var(--ink); letter-spacing: -0.02em;
}
.authority__num .u { color: var(--accent); }
.authority__label { margin-top: 14px; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* =========================================================
   VITRINE DE IMÓVEIS
   ========================================================= */
.listings__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; margin-bottom: clamp(36px, 5vw, 56px);
}
.grid-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; }
.card__media image-slot { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; background: rgba(255,255,255,.93);
  color: var(--ink); backdrop-filter: blur(6px);
}
.card__tag--rent { background: var(--accent); color: #fff; }
.card__wa {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.93);
  display: grid; place-items: center; color: #1f9d57;
  box-shadow: var(--shadow-sm); transition: transform .3s, background .3s, color .3s;
}
.card__wa svg { width: 20px; height: 20px; }
.card__wa:hover { background: #1f9d57; color: #fff; transform: scale(1.08); }
.card__logo {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 48px; height: auto; opacity: .5; pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
}

/* ---- Carrossel de fotos do imóvel ---- */
.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,.0,.2,1);
  will-change: transform;
}
.carousel__track image-slot {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.55));
  transition: transform .25s, opacity .25s;
  opacity: .9;
}
.carousel__arrow svg { width: 26px; height: 26px; }
.carousel__arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.12); }
.carousel__arrow--prev { left: 6px; }
.carousel__arrow--next { right: 6px; }
.carousel__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.carousel__dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer;
  transition: background .25s, transform .25s;
}
.carousel__dots button.active { background: #fff; transform: scale(1.25); }

/* ---- Botão "Ver detalhes" no card ---- */
.card__more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans, inherit); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
  transition: gap .25s, color .25s;
}
.card__more svg { width: 16px; height: 16px; }
.card__more:hover { gap: 12px; color: var(--accent-deep); }
[data-detail] { cursor: pointer; }

/* ---- Modal de detalhes ---- */
.detail { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; }
.detail[hidden] { display: none; }
.detail__backdrop { position: absolute; inset: 0; background: rgba(24,23,28,.62); backdrop-filter: blur(3px); animation: detailFade .3s ease; }
.detail__dialog {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr;
  width: min(1080px, 100%); height: min(720px, 92vh); overflow: hidden;
  background: var(--white); border-radius: 6px;
  box-shadow: 0 40px 100px rgba(24,23,28,.4);
  animation: detailRise .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes detailFade { from { opacity: 0; } }
@keyframes detailRise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.detail__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); border: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: transform .2s, background .2s;
}
.detail__close svg { width: 20px; height: 20px; }
.detail__close:hover { transform: rotate(90deg); background: #fff; }
.detail__gallery { position: relative; background: var(--ink); min-height: 0; overflow: hidden; }
.detail__gallery .carousel { height: 100%; }
.detail__gallery .carousel__track { height: 100%; }
.detail__gallery .carousel__track image-slot { aspect-ratio: auto; height: 100%; }
.detail__gallery--single { display: flex; }
.detail__gallery--single image-slot { width: 100%; height: 100%; border-radius: 0; }
.detail__info { padding: 40px 42px; min-height: 0; overflow-y: auto; }
.detail__tag { position: static; display: inline-block; margin-bottom: 14px; }
.detail__info .card__loc { display: block; margin-top: 4px; }
.detail__title { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.05; margin: 6px 0 4px; color: var(--ink); }
.detail__price { font-family: var(--serif); font-size: 1.9rem; color: var(--accent-deep); font-weight: 600; margin-bottom: 18px; }
.detail__desc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin-bottom: 22px; }
.detail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 26px; }
.fact { background: var(--white); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.fact__k { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.fact__v { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.detail__sub { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.detail__amen { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.detail__amen li { position: relative; padding-left: 20px; font-size: 0.92rem; color: var(--ink-2); }
.detail__amen li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.detail__cta { width: 100%; justify-content: center; }
body.detail-open { overflow: hidden; }
@media (max-width: 820px) {
  .detail__dialog { grid-template-columns: 1fr; height: auto; max-height: 94vh; overflow-y: auto; }
  .detail__info { overflow-y: visible; }
  .detail__gallery .carousel__track image-slot { aspect-ratio: 4 / 3; height: auto; }
  .detail__gallery--single image-slot { aspect-ratio: 4 / 3; height: auto; }
  .detail__info { padding: 28px 24px; }
}

.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__loc { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.08; margin-top: 8px; color: var(--ink); min-height: calc(1.08em * 2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font-size: 1.18rem; font-weight: 700; margin-top: 14px; color: var(--ink); }
.card__price span { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: auto;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.spec { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-2); font-weight: 500; }
.spec svg { width: 17px; height: 17px; color: var(--muted); flex: none; }

.listings__foot { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* =========================================================
   SEÇÃO DUPLA — comprar/alugar vs anunciar
   ========================================================= */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 30px); }
.dual__card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(38px, 5vw, 64px);
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.dual__card:hover { transform: translateY(-4px); }
.dual__card--buy { background: var(--cream); }
.dual__card--sell {
  background: linear-gradient(150deg, #5a4d80 0%, #6b5b95 55%, #7d6da6 100%);
  color: #fff;
}
.dual__card .eyebrow { display: block; margin-bottom: 18px; }
.dual__card--sell .eyebrow { color: var(--accent-tint-2); }
.dual__card h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 16px; }
.dual__card p { max-width: 38ch; margin-bottom: 30px; }
.dual__card--buy p { color: var(--ink-2); }
.dual__card--sell p { color: rgba(255,255,255,.86); }
.dual__card .num-bg {
  position: absolute; top: -10px; right: 24px;
  font-family: var(--serif); font-size: 9rem; font-weight: 600; line-height: 1;
  opacity: 0.08; pointer-events: none;
}
.dual__card--sell .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.dual__card--sell .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.dual__card--sell .btn--light { background: #fff; color: var(--accent-deep); }
.dual__card--sell .btn--light:hover { background: var(--cream); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* =========================================================
   POR QUE A VALARIO
   ========================================================= */
.why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px); margin-top: clamp(44px, 6vw, 72px);
}
.why__item { }
.why__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-deep); margin-bottom: 22px;
}
.why__icon svg { width: 26px; height: 26px; }
.why__item h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.why__item p { font-size: 0.96rem; color: var(--muted); line-height: 1.6; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(40px, 5vw, 60px); }
.testi {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column;
}
.testi__quote-mark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--accent-soft); margin-bottom: 8px; }
.testi__text { font-family: var(--serif); font-size: 1.32rem; line-height: 1.42; color: var(--ink); font-weight: 500; flex: 1; }
.testi__person { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.testi__avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.testi__name { font-weight: 700; font-size: 0.96rem; }
.testi__role { font-size: 0.82rem; color: var(--muted); }

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.location__map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); aspect-ratio: 16 / 12; background: var(--cream-2);
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-chip {
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
  padding: 9px 17px; border: 1px solid var(--line-2); border-radius: 100px;
  background: var(--white); transition: border-color .25s, color .25s, background .25s;
}
.area-chip:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-tint); }
.location__contact { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }

/* Botão Instagram */
.btn-ig {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 14px 22px; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--white);
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: border-color .3s, background .3s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.btn-ig > svg:first-child { width: 22px; height: 22px; color: var(--accent); flex: none; transition: color .3s; }
.btn-ig em { font-style: normal; color: var(--muted); font-weight: 500; }
.btn-ig__arrow { width: 16px; height: 16px; color: var(--muted-2); transition: transform .3s, color .3s; }
.btn-ig:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107,91,149,.16); }
.btn-ig:hover .btn-ig__arrow { transform: translateX(4px); color: var(--accent); }
.btn-ig:hover em { color: var(--accent-deep); }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row__ico { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-row__ico svg { width: 22px; height: 22px; }
.contact-row strong { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-row span { font-size: 1.02rem; color: var(--ink); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 85% 10%, rgba(107,91,149,.42), transparent 60%);
  pointer-events: none;
}
.cta-final__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cta-final .eyebrow { color: var(--accent-soft); display: block; margin-bottom: 22px; }
.cta-final h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: #fff; margin-bottom: 24px; }
.cta-final p { color: rgba(255,255,255,.72); max-width: 44ch; margin-bottom: 34px; font-size: 1.08rem; }
.cta-final__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.form {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 40px);
  backdrop-filter: blur(6px);
}
.form h3 { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.form__sub { color: rgba(255,255,255,.6); font-size: 0.92rem; margin-bottom: 26px; }
.form__field { margin-bottom: 16px; }
.form__field label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: 8px; }
.form__field input, .form__field select {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: #fff; transition: border-color .25s, background .25s;
}
.form__field input::placeholder { color: rgba(255,255,255,.4); }
.form__field input:focus, .form__field select:focus { outline: none; border-color: var(--accent-soft); background: rgba(255,255,255,.1); }
.form__field select option { color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { margin-top: 10px; }
.form__note { font-size: 0.78rem; color: rgba(255,255,255,.45); margin-top: 14px; text-align: center; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 84px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 0.94rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 0.94rem; color: var(--muted); transition: color .25s; }
.footer__col a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: border-color .25s, color .25s, transform .25s; }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--muted);
}
.footer__bottom .creci { font-weight: 600; color: var(--ink-2); }

/* =========================================================
   BOTÕES FLUTUANTES (stack lateral: WhatsApp + Instagram)
   ========================================================= */
.float-stack {
  position: fixed; right: clamp(18px, 3vw, 32px); bottom: clamp(18px, 3vw, 32px);
  z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.fab {
  display: flex; align-items: center; color: #fff; border-radius: 100px;
  overflow: hidden; max-width: 100%;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.fab:hover { transform: scale(1.04); }
.fab__ico { width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.fab__ico svg { width: 29px; height: 29px; }
.fab__label {
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  max-width: 0; opacity: 0; transition: max-width .4s, opacity .3s, padding .4s;
}
.fab:hover .fab__label { max-width: 240px; opacity: 1; padding-right: 24px; }

.fab--wa { background: #1f9d57; box-shadow: 0 14px 40px rgba(31,157,87,.4); }
.fab--ig {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 55%, var(--accent-soft) 100%);
  box-shadow: 0 12px 34px rgba(107,91,149,.42);
}
.fab--ig .fab__ico { width: 54px; height: 54px; }
.fab--ig .fab__ico svg { width: 26px; height: 26px; }

/* =========================================================
   ANIMAÇÕES (reveal on scroll)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--white);
  display: flex; flex-direction: column; padding: 90px var(--gutter) 40px;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu .btn { margin-top: 28px; }
.mobile-menu__close { position: absolute; top: 22px; right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.mobile-menu__close svg { width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .header__actions .btn--wa { display: none; }
  .nav-toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media image-slot { aspect-ratio: 16 / 11; }
  .hero__copy { max-width: 100%; }
  .authority__grid { grid-template-columns: 1fr 1fr; }
  .authority__item:nth-child(2) { border-right: none; }
  .authority__item:nth-child(1), .authority__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-cards { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .testi__grid .testi:nth-child(3) { display: none; }
  .dual { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { order: -1; }
  .cta-final__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .search__fields { grid-template-columns: 1fr 1fr; }
  .search__submit { grid-column: 1 / -1; padding-block: 14px; margin-top: 4px; }
  .field + .field::before { display: none; }
  .field:nth-child(2)::before { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-cards { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .authority__grid { grid-template-columns: 1fr 1fr; }
  .listings__head { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__media .float-card { left: 0; right: 0; bottom: -24px; }
  .search__fields { grid-template-columns: 1fr; }
  .field + .field::before { display: none !important; }
  .field { border-top: 1px solid var(--line); }
  .field:first-child { border-top: none; }
}

/* Quem somos */
.about{border-bottom:1px solid var(--line)}
.about__inner{max-width:760px;text-align:center;display:flex;flex-direction:column;align-items:center}
.about .eyebrow{margin-bottom:18px}
.about__role{margin-top:14px;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.about__text{margin-top:28px;text-wrap:pretty}
.about__facts{margin-top:48px;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.about__fact{padding:28px 16px 0;display:flex;flex-direction:column;gap:6px}
.about__fact+.about__fact{border-left:1px solid var(--line)}
.about__fact strong{font-family:var(--serif);font-weight:500;font-size:1.6rem;line-height:1.1;color:var(--ink)}
.about__fact span{font-size:.88rem;color:var(--muted)}
@media (max-width:640px){.about__facts{grid-template-columns:1fr}.about__fact+.about__fact{border-left:none;border-top:1px solid var(--line);margin-top:24px}}
.about__text--city{margin-top:18px;font-size:1rem;line-height:1.75;color:var(--muted);max-width:640px;text-wrap:pretty}
.about__company{margin-top:56px;padding-top:48px;border-top:1px solid var(--line);width:100%;display:flex;flex-direction:column;align-items:center}
.about__subtitle{font-size:clamp(1.6rem,2.6vw,2.1rem)}
.about__subtitle em{font-style:italic;font-weight:400;color:var(--accent)}
.about__chips{margin-top:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.about__services{margin-top:32px;width:100%;max-width:560px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.about__service{padding:22px 18px;background:var(--accent-tint);border-radius:4px;display:flex;flex-direction:column;gap:6px}
.about__service strong{font-family:var(--serif);font-weight:500;font-size:1.3rem;color:var(--ink)}
.about__service span{font-size:.88rem;color:var(--muted)}
@media (max-width:640px){.about__services{grid-template-columns:1fr}}

/* =========================================================
   AJUSTES MOBILE
   ========================================================= */
/* Botão WhatsApp do menu mobile: mantém o estilo de botão */
.mobile-menu a.btn {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  justify-content: center; padding: 16px 28px; border-bottom: 0; color: #fff;
}
.mobile-menu a.btn svg { width: 20px; height: 20px; }
/* Esconde botões flutuantes com menu ou detalhes abertos */
body:has(.mobile-menu.open) .float-stack,
body.detail-open .float-stack { opacity: 0; visibility: hidden; pointer-events: none; }
.float-stack { transition: opacity .3s, visibility .3s; }

@media (max-width: 600px) {
  /* Botões flutuantes menores */
  .float-stack { right: 14px; bottom: 14px; gap: 10px; }
  .fab__ico { width: 52px; height: 52px; }
  .fab__ico svg { width: 25px; height: 25px; }
  .fab--ig, .fab--ig .fab__ico { width: 46px; height: 46px; }
  .fab--ig .fab__ico svg { width: 22px; height: 22px; }

  /* Botões de ação ocupam a largura toda */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .cta-final__buttons .btn, .dual__card .btn { width: 100%; justify-content: center; }
  .hero__cta .link-arrow { justify-content: center; }
  .cta-final__buttons { flex-direction: column; }

  /* Cards: localização quebra linha em vez de cortar */
  .card__loc { white-space: normal; line-height: 1.5; }
  .card__title { min-height: 0; }
  .card__body { padding: 20px 20px 22px; }

  /* Formulário: campos em coluna única */
  .form__row { grid-template-columns: 1fr; gap: 0; }

  /* Modal de detalhes em tela cheia */
  .detail { padding: 0; align-items: stretch; }
  .detail__dialog { width: 100%; max-height: none; height: 100%; border-radius: 0; }
  .detail__info { padding: 24px 20px 32px; }
  .detail__title { font-size: 1.7rem; }
  .detail__price { font-size: 1.6rem; }
  .detail__amen { grid-template-columns: 1fr; }
  .detail__close { position: fixed; top: 12px; right: 12px; }

  /* Números de autoridade mais compactos */
  .authority__item { padding-inline: 14px; }
}
