/* =========================================================
   Casa Vale — estilos do site público
   ========================================================= */
:root {
  --verde-950: #0b2522;
  --verde-900: #0e2f2b;
  --verde-800: #133d38;
  --verde-700: #17524b;
  --verde-600: #1e6a61;
  --verde-100: #dcebe7;
  --verde-50: #eef5f3;
  --ouro-600: #a96c22;
  --ouro-500: #c98a3b;
  --ouro-400: #dba45e;
  --ouro-100: #f6ead8;
  --areia: #f8f5ef;
  --areia-2: #f1ece2;
  --branco: #ffffff;
  --texto: #1b2422;
  --texto-2: #3b4744;
  --muted: #66726f;
  --borda: #e5e0d6;
  --borda-2: #d6d0c4;
  --erro: #b42318;
  --ok: #16794c;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --sombra-1: 0 1px 2px rgba(16, 32, 30, .06), 0 1px 3px rgba(16, 32, 30, .08);
  --sombra-2: 0 8px 24px -8px rgba(16, 32, 30, .18), 0 2px 6px rgba(16, 32, 30, .06);
  --sombra-3: 0 24px 60px -20px rgba(11, 37, 34, .35);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--verde-950); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

:focus-visible { outline: 3px solid var(--ouro-400); outline-offset: 2px; border-radius: 4px; }
.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--verde-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ouro-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.01em; margin-top: 12px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-top: 14px; }
.section { padding: 72px 0; }
@media (min-width: 992px) { .section { padding: 104px 0; } }
.section--areia { background: var(--areia); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--verde-700); color: #fff; }
.btn--primary:hover { background: var(--verde-800); }
.btn--gold { background: var(--ouro-500); color: #fff; }
.btn--gold:hover { background: var(--ouro-600); }
.btn--outline { border-color: var(--borda-2); background: #fff; color: var(--verde-900); }
.btn--outline:hover { border-color: var(--verde-700); color: var(--verde-700); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--whats { background: #1f9d57; color: #fff; }
.btn--whats:hover { background: #18834a; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--verde-700); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- topo ---------- */
.topbar { background: var(--verde-950); color: rgba(255,255,255,.78); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 24px; }
.topbar__list { display: flex; gap: 24px; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list a:hover { color: #fff; }
.topbar__hide-sm { display: none !important; }
@media (min-width: 768px) { .topbar__hide-sm { display: inline-flex !important; } }
@media (max-width: 767px) { .topbar__creci { display: none; } }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--borda);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--verde-950); letter-spacing: -.01em; line-height: 1; }
.brand__tag { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 500; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; color: var(--texto-2); position: relative; }
.nav__link:hover { color: var(--verde-700); }
.nav__link[aria-current="page"] { color: var(--verde-700); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--ouro-500); border-radius: 2px; }
.header__cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--borda); background: #fff; cursor: pointer; }
@media (min-width: 992px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11,37,34,.5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff;
  padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer__link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--borda); font-weight: 500; font-size: 1.05rem; }
.drawer__panel .btn { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--verde-950); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,37,34,.92) 0%, rgba(11,37,34,.72) 45%, rgba(11,37,34,.25) 100%);
}
.hero__inner { position: relative; padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 992px) { .hero__inner { padding-top: 120px; padding-bottom: 96px; } }
.hero .eyebrow { color: var(--ouro-400); }
.hero__title { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -.02em; max-width: 720px; margin-top: 18px; }
.hero__title em { font-style: italic; color: var(--ouro-400); font-weight: 400; }
.hero__lead { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 560px; }

.search { margin-top: 40px; max-width: 980px; }
.search__tabs { display: inline-flex; background: rgba(255,255,255,.12); border-radius: var(--r-sm) var(--r-sm) 0 0; padding: 6px 6px 0; gap: 4px; backdrop-filter: blur(6px); }
.search__tab { position: relative; }
.search__tab input { position: absolute; opacity: 0; pointer-events: none; }
.search__tab span { display: inline-flex; padding: 10px 22px; border-radius: 6px 6px 0 0; font-weight: 600; font-size: .93rem; cursor: pointer; color: rgba(255,255,255,.85); }
.search__tab input:checked + span { background: #fff; color: var(--verde-900); }
.search__tab input:focus-visible + span { outline: 3px solid var(--ouro-400); }
.search__box {
  background: #fff; color: var(--texto); border-radius: 0 var(--r) var(--r) var(--r); padding: 16px;
  box-shadow: var(--sombra-3); display: grid; gap: 12px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .search__box { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .search__box { grid-template-columns: 1.1fr 1fr 1.2fr auto; padding: 14px; gap: 0; } }
.search__field { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--borda); }
@media (min-width: 992px) {
  .search__field { border: 0; border-right: 1px solid var(--borda); border-radius: 0; padding: 6px 20px; }
}
.search__field label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.search__field select { border: 0; background: transparent; padding: 2px 0; font-weight: 500; font-size: 1rem; color: var(--texto); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366726f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 22px; }
.search__field select:focus { outline: none; }
.search__field:focus-within { border-color: var(--verde-600); }
.search__submit { height: 56px; }
@media (min-width: 640px) { .search__submit { grid-column: 1 / -1; } }
@media (min-width: 992px) { .search__submit { grid-column: auto; height: 60px; margin-left: 12px; padding: 0 30px; } }

.hero__stats { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 44px; }
.hero__stat strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: #fff; line-height: 1.1; }
.hero__stat span { font-size: .88rem; color: rgba(255,255,255,.7); }

/* ---------- cards de imóveis ---------- */
.grid-imoveis { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-imoveis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-imoveis--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--borda); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--sombra-2); transform: translateY(-3px); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--areia-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; background: #fff; color: var(--verde-900);
}
.badge--venda { background: var(--verde-700); color: #fff; }
.badge--aluguel { background: var(--ouro-500); color: #fff; }
.badge--soft { background: rgba(255,255,255,.92); }
.card__body { padding: 20px 22px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--verde-900); letter-spacing: -.01em; }
.card__price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); }
.card__title { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.4; color: var(--texto);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.card__feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 22px 0; padding: 14px 0 18px; border-top: 1px solid var(--borda); color: var(--muted); font-size: .78rem; line-height: 1.3; }
.card__feats li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__feats .icon { color: var(--verde-600); }
.card__feats strong { color: var(--texto); font-size: .92rem; font-weight: 600; }

/* ---------- por que ---------- */
.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .why { grid-template-columns: 1fr 1fr; gap: 80px; } }
.why__media { position: relative; }
.why__media img { border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 640px) {
  .why__media { padding: 0 64px 56px 0; }
  .why__media .why__img2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--areia); border-radius: var(--r-lg); }
}
@media (max-width: 639px) { .why__img2 { display: none; } }
.why__seal {
  position: absolute; left: 24px; bottom: 80px; background: #fff; border-radius: var(--r); padding: 16px 20px;
  box-shadow: var(--sombra-2); display: flex; gap: 14px; align-items: center;
}
@media (max-width: 639px) { .why__seal { bottom: 20px; left: 20px; } }
.why__seal strong { font-family: var(--serif); font-size: 2rem; color: var(--verde-700); line-height: 1; font-weight: 600; }
.why__seal span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.features { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature__icon { width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center; background: var(--verde-50); color: var(--verde-700); margin-bottom: 14px; }
.feature h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- cidades ---------- */
.cities { display: grid; gap: 24px; }
@media (min-width: 768px) { .cities { grid-template-columns: 1fr 1fr; } }
.city { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,37,34,0) 30%, rgba(11,37,34,.88) 100%); }
.city:hover img { transform: scale(1.04); }
.city__body { padding: 28px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.city__uf { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-400); font-weight: 600; }
.city h3 { font-family: var(--serif); color: #fff; font-size: 2rem; font-weight: 500; margin-top: 4px; }
.city p { color: rgba(255,255,255,.8); font-size: .92rem; margin-top: 4px; }
.city__go { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--verde-900); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.city:hover .city__go { background: var(--ouro-500); color: #fff; }

/* ---------- depoimentos ---------- */
.testimonials { display: grid; gap: 24px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: #fff; border: 1px solid var(--borda); border-radius: var(--r-lg); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.testimonial__stars { display: flex; gap: 3px; color: var(--ouro-500); }
.testimonial__stars .icon { fill: currentColor; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--texto); font-weight: 400; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--borda); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-100); color: var(--verde-800); font-weight: 600; font-size: .9rem; flex-shrink: 0; }
.testimonial__author strong { display: block; font-size: .95rem; }
.testimonial__author span { font-size: .85rem; color: var(--muted); }

/* ---------- contato ---------- */
.contact { background: var(--verde-900); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,138,59,.18), transparent 65%);
}
.contact__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 992px) { .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }
.contact .eyebrow { color: var(--ouro-400); }
.contact .section-title { color: #fff; }
.contact .section-lead { color: rgba(255,255,255,.75); }
.contact__list { margin-top: 36px; display: grid; gap: 22px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { width: 44px; height: 44px; border-radius: var(--r); background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--ouro-400); flex-shrink: 0; }
.contact__item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); font-weight: 600; }
.contact__item a, .contact__item p { color: #fff; font-weight: 500; }
.contact__item a:hover { color: var(--ouro-400); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- formulários ---------- */
.form-card { background: #fff; color: var(--texto); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sombra-3); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.form-card > p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--texto-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--borda-2); border-radius: var(--r-sm); background: #fff;
  padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--verde-600); box-shadow: 0 0 0 4px rgba(30,106,97,.14);
}
.field [aria-invalid="true"] { border-color: var(--erro); }
.field__error { color: var(--erro); font-size: .82rem; min-height: 0; }
.form__legal { font-size: .8rem; color: var(--muted); }
.form__status { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); font-size: .93rem; }
.form__status.is-ok { display: block; background: #e8f5ee; color: var(--ok); }
.form__status.is-erro { display: block; background: #fdecea; color: var(--erro); }

/* ---------- rodapé ---------- */
.footer { background: var(--verde-950); color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: .93rem; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.55); }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer__contact .icon { color: var(--ouro-400); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #1f9d57; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(31,157,87,.6);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.06); }

/* ---------- cabeçalho de página ---------- */
.page-head { background: var(--areia); border-bottom: 1px solid var(--borda); padding: 36px 0 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--verde-700); text-decoration: underline; }
.breadcrumb .icon { opacity: .6; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 12px; letter-spacing: -.01em; }
.page-head p { color: var(--muted); margin-top: 8px; }

/* ---------- listagem ---------- */
.listing { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 88px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 290px 1fr; gap: 40px; align-items: start; } }
.filters { background: #fff; border: 1px solid var(--borda); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + 20px); } }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.filters__clear { font-size: .86rem; color: var(--verde-700); font-weight: 500; }
.filters__clear:hover { text-decoration: underline; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.filters legend, .filters .flabel { font-size: .82rem; font-weight: 600; color: var(--texto-2); margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--areia); border-radius: var(--r-sm); padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 8px 4px; border-radius: 6px; font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--texto-2); }
.seg input:checked + span { background: #fff; color: var(--verde-800); box-shadow: var(--sombra-1); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--ouro-400); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; min-width: 48px; justify-content: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--borda-2); font-size: .88rem; cursor: pointer; }
.chips input:checked + span { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ouro-400); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range input { padding: 10px 12px; min-height: 44px; font-size: .93rem; }
.filters .field select, .filters .field input { min-height: 44px; padding: 10px 12px; font-size: .95rem; }

.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.toolbar__count { color: var(--muted); }
.toolbar__count strong { color: var(--texto); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.toolbar__sort select { min-height: 42px; padding: 8px 36px 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--borda-2); background: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--verde-50); color: var(--verde-800); font-size: .85rem; font-weight: 500; }
.active-filters a:hover { background: var(--verde-100); }
.empty { text-align: center; padding: 72px 24px; border: 1px dashed var(--borda-2); border-radius: var(--r-lg); background: var(--areia); }
.empty .icon { color: var(--verde-600); margin: 0 auto 16px; }
.empty h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.empty p { color: var(--muted); margin: 8px auto 24px; max-width: 420px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--borda-2); font-weight: 500; padding: 0 12px; }
.pagination a:hover { border-color: var(--verde-700); color: var(--verde-700); }
.pagination [aria-current="page"] { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.filters-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }
@media (max-width: 1023px) {
  .filters { display: none; }
  .filters.is-open { display: grid; }
}

/* ---------- detalhe ---------- */
.detail-head { padding: 28px 0 24px; }
.detail-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-top: 16px; }
.detail-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; max-width: 780px; }
.detail-head__loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 10px; }
.detail-head__badges { display: flex; gap: 8px; margin-bottom: 14px; }
.detail-head__badges .badge { border: 1px solid var(--borda); }
.detail-head__badges .badge--venda, .detail-head__badges .badge--aluguel { border: 0; }
.detail-price { text-align: left; }
@media (min-width: 768px) { .detail-price { text-align: right; } }
.detail-price small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.detail-price strong { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--verde-800); line-height: 1.1; }
.detail-price strong span { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 500; }

.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--areia-2); aspect-ratio: 16 / 10; }
@media (min-width: 992px) { .gallery__main { aspect-ratio: 16 / 8; } }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--verde-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sombra-1); transition: background .2s; }
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__count { position: absolute; right: 16px; bottom: 16px; background: rgba(11,37,34,.75); color: #fff; font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumb { flex: 0 0 auto; width: 120px; aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--areia-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { border-color: var(--verde-700); opacity: 1; }

.detail { display: grid; gap: 40px; padding: 40px 0 80px; }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 400px; gap: 56px; align-items: start; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--borda); border: 1px solid var(--borda); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fact .icon { color: var(--verde-600); }
.fact strong { font-size: 1.25rem; font-weight: 600; color: var(--verde-950); line-height: 1.2; }
.fact span { font-size: .85rem; color: var(--muted); }
.detail__block { margin-top: 44px; }
.detail__block h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 16px; }
.prose p { color: var(--texto-2); font-size: 1.02rem; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.spec { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--borda); }
@media (min-width: 640px) { .spec { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--borda); font-size: .95rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; }
.location { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--areia); border-radius: var(--r-lg); padding: 24px; }
.location__info { display: flex; gap: 14px; align-items: center; }
.location__info .feature__icon { margin: 0; background: #fff; }
.location__info strong { display: block; }
.location__info span { color: var(--muted); font-size: .92rem; }

.aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.aside .form-card { box-shadow: var(--sombra-2); border: 1px solid var(--borda); padding: 28px; }
.aside .form { margin-top: 18px; gap: 14px; }
.aside__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 4px 0; }
.aside__or::before, .aside__or::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
.agent { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--borda); border-radius: var(--r-lg); background: #fff; }
.agent strong { display: block; font-size: .95rem; }
.agent span { font-size: .85rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound__code { font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); color: var(--verde-100); font-weight: 600; line-height: 1; }
.notfound h1 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-top: 12px; }
.notfound p { color: var(--muted); margin: 12px auto 32px; max-width: 460px; }
.notfound .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- ajustes finos ---------- */
figure { margin: 0; }
.field select, .toolbar__sort select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366726f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.card__feats strong { display: block; }
@media (max-width: 639px) { .why__media img { aspect-ratio: 4 / 3; } .hero__stats { gap: 20px 32px; } }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--borda);
  box-shadow: 0 -8px 24px -12px rgba(16,32,30,.25);
}
.mobile-cta > div { flex: 1; min-width: 0; line-height: 1.2; }
.mobile-cta small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.mobile-cta strong { font-family: var(--serif); font-size: 1.2rem; color: var(--verde-900); }
.mobile-cta strong span { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
