/* ==========================================================================
   Fiori Imóveis — site público
   Medidas extraídas do Figma (desktop 1440 / mobile 390). Cores da logo.
   ========================================================================== */

:root {
  --navy: #032242;
  --navy-rgb: 3, 34, 66;
  --gold: #bb9046;
  --gold-hover: #a87f3a;
  --gold-soft: #e7d3a8;
  --cream: #f7f4ee;
  --ink: #102235;
  --muted: #667586;
  --line: #dde3e8;
  --mist: #eef2f5;
  --rule-dark: #173b5c;
  --white: #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-card: 0 10px 28px rgba(var(--navy-rgb), .09);
  --shadow-float: 0 18px 42px rgba(var(--navy-rgb), .16);

  --gutter: 96px;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.icon { flex: none; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-mobile { display: none !important; }

.container { width: 100%; max-width: calc(1248px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia base ---------- */
.eyebrow {
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .022em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font: 500 32px/1.15 var(--serif);
  color: var(--navy);
}
.section-desc {
  font: 400 16px/1.65 var(--sans);
  color: var(--muted);
  max-width: 720px;
}
.heading { display: flex; flex-direction: column; gap: 12px; }
.heading--center { align-items: center; text-align: center; }
.heading--center .section-desc { margin: 0 auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: 700 12px/1 var(--sans);
  letter-spacing: .006em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0a3160; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); }
.btn--outline-light { background: transparent; border-color: var(--line); color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(var(--navy-rgb), .06); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand { display: block; line-height: 0; }
.brand .logo { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font: 700 10px/1.2 var(--sans);
  letter-spacing: .006em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { width: 130px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--navy);
}
.icon-btn--gold { color: var(--gold); }

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--white);
  padding: 0 20px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.drawer__top .logo { height: 50px; width: auto; }
.drawer__top .icon-btn { color: var(--white); }
.drawer nav { display: flex; flex-direction: column; margin-top: 24px; }
.drawer nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-dark);
  font: 500 24px/1.2 var(--serif);
}
.drawer nav a:hover { color: var(--gold-soft); }
.drawer .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 112px var(--gutter) 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media, .hero__media img, .hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }
.hero__overlay { background: linear-gradient(90deg, rgba(var(--navy-rgb), .91) 0%, rgba(var(--navy-rgb), .13) 100%); }
.hero__inner { position: relative; width: 100%; max-width: 1248px; margin: 0 auto; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 670px; }
.hero__eyebrow {
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .028em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__title { font: 500 54px/1.08 var(--serif); color: var(--white); }
.hero__subtitle { font: 400 17px/1.55 var(--sans); color: var(--cream); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__metrics { display: flex; gap: 34px; }
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric strong { font: 400 23px/1.35 var(--serif); color: var(--white); }
.metric span { font: 400 10px/1.2 var(--sans); letter-spacing: .005em; color: var(--gold-soft); }
.hero__bottom {
  position: absolute;
  left: 50%;
  bottom: 70px;
  z-index: 2;
  width: min(1248px, 100% - var(--gutter) * 2);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
}
.hero__dots button.is-active { background: var(--gold); }

/* ---------- Busca ---------- */
.search-section { position: relative; z-index: 2; }
.search-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.search-tabs { display: flex; gap: 8px; }
.search-tabs label { cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span {
  display: block;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--mist);
  color: var(--navy);
  font: 700 11px/13px var(--sans);
  letter-spacing: .005em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.search-tabs input:checked + span { background: var(--navy); color: var(--white); }
.search-tabs input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.search-fields { display: flex; align-items: flex-end; gap: 12px; }
.search-fields .field { width: 154px; flex: none; }
.search-fields .btn { width: 180px; margin-left: auto; flex: none; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font: 400 12px/15px var(--sans); color: var(--ink); }
.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: 400 14px/1.45 var(--sans);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(187, 144, 70, .15); }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23667586' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
select.input.has-value { color: var(--ink); }
textarea.input { height: 112px; padding: 12px 14px; resize: vertical; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.featured { padding: 84px 0 96px; }
.featured .heading { margin-bottom: 36px; }

/* Card de imóvel */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(var(--navy-rgb), .14); }
.property-card__photo { position: relative; height: 250px; overflow: hidden; background: var(--mist); }
.property-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-card__photo img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font: 700 10px/12px var(--sans);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.property-card__info { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.property-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.property-card__type { font: 600 20px/27px var(--serif); color: var(--navy); }
.property-card__code { font: 400 10px/12px var(--sans); letter-spacing: .008em; color: var(--gold); white-space: nowrap; }
.property-card__loc { display: flex; align-items: center; gap: 7px; font: 400 12px/15px var(--sans); color: var(--muted); }
.property-card__loc .icon { color: var(--gold); }
.features { display: flex; justify-content: space-between; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 400 9px/11px var(--sans); color: var(--muted); }
.feature .icon { color: var(--navy); }
.property-card__price { font: 400 15px/18px var(--sans); color: var(--navy); }
.property-card__more { font: 400 10px/12px var(--sans); letter-spacing: .006em; color: var(--gold); text-transform: uppercase; }
.property-card__link { position: absolute; inset: 0; z-index: 1; }
.center-action { display: flex; justify-content: center; margin-top: 36px; }
.center-action .btn { width: 180px; }

/* Lançamentos */
.launches .heading { margin-bottom: 36px; }
.launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 600px)); gap: 28px; }
.launch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 420px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: var(--white);
  background: var(--navy);
}
.launch-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.launch-card:hover > img { transform: scale(1.04); }
.launch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--navy-rgb), 0) 0%, rgba(var(--navy-rgb), .94) 100%);
  opacity: .72;
}
.launch-card__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.launch-card__label { font: 700 10px/12px var(--sans); letter-spacing: .015em; text-transform: uppercase; color: var(--gold-soft); }
.launch-card__title { font: 500 28px/37px var(--serif); color: var(--white); }
.launch-card__place { font: 400 13px/16px var(--sans); color: var(--gold-soft); }

/* Financiamento */
.finance { display: flex; background: var(--navy); color: var(--white); }
.finance__media { position: relative; flex: 0 0 45.14%; min-height: 510px; }
.finance__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finance__copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 72px; }
.finance .section-title { color: var(--white); }
.finance .section-desc { color: var(--gold-soft); max-width: 646px; }
.benefits { display: flex; flex-direction: column; gap: 12px; }
.benefits li { display: flex; align-items: center; gap: 10px; font: 400 14px/17px var(--sans); color: var(--cream); }
.benefits .icon { color: var(--gold); }

/* Sobre */
.about { padding: 104px 0; }
.about__inner { display: flex; align-items: center; gap: 72px; }
.about__images { position: relative; flex: 0 0 540px; height: 510px; }
.about__office { width: 430px; height: 470px; object-fit: cover; border-radius: var(--r-lg); }
.about__detail {
  position: absolute;
  left: 320px;
  top: 290px;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: var(--r-lg);
}
.about__copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.about__body { font: 400 14px/1.75 var(--sans); color: var(--muted); }

/* Consultor */
.consultant { padding: 0 0 104px; }
.consultant__card {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--r-lg);
}
.consultant__photo { position: relative; min-height: 480px; background: var(--navy); }
.consultant__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.consultant__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 56px 64px; }
.consultant__copy .section-title { max-width: 620px; }
.consultant__bio { font: 400 15px/1.7 var(--sans); color: var(--muted); max-width: 640px; }
.consultant__quote {
  margin: 4px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
  font: italic 400 19px/1.5 var(--serif);
  color: var(--navy);
  max-width: 640px;
}
.consultant__quote span::before { content: '“'; }
.consultant__quote span::after { content: '”'; }
.consultant__sign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.consultant__sign > div > strong { display: block; font: 600 22px/1.2 var(--serif); color: var(--navy); }
.consultant__sign > div > span { display: block; margin-top: 4px; font: 400 13px/1.4 var(--sans); color: var(--ink); }
.consultant__sign > div > small { display: block; margin-top: 2px; font: 700 11px/1.4 var(--sans); letter-spacing: .03em; color: var(--gold); }

/* Diferenciais */
.differentials { padding: 88px 0; }
.differentials .heading { margin-bottom: 40px; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.diff-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--white); border-radius: var(--r-md); }
.icon-holder {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
}
.diff-card h3 { font: 600 20px/27px var(--serif); color: var(--navy); }
.diff-card p { font: 400 12px/1.6 var(--sans); color: var(--muted); }

/* Contato */
.contact__inner { display: flex; gap: 64px; }
.contact__copy { flex: 0 0 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.channels { display: flex; flex-direction: column; gap: 14px; }
.channels li { display: flex; align-items: center; gap: 12px; font: 400 13px/16px var(--sans); color: var(--ink); }
.channels .icon { color: var(--gold); }
.channels a:hover { color: var(--gold); }
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: var(--cream);
  border-radius: var(--r-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .btn { align-self: flex-start; }
.form-status { font: 400 13px/1.5 var(--sans); padding: 12px 14px; border-radius: var(--r-sm); }
.form-status--ok { background: #e7f1ea; color: #25603a; }
.form-status--erro { background: #f8e9e9; color: #8f3434; }
.hp { position: absolute; left: -9999px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: 64px 0; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.footer-content { display: flex; justify-content: space-between; gap: 32px; }
.footer-brand { flex: 0 0 320px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { height: 64px; width: auto; align-self: flex-start; }
.footer-brand p { font: 400 12px/1.6 var(--sans); color: var(--gold-soft); }
.social { display: flex; gap: 12px; color: var(--gold-soft); }
.social a:hover { color: var(--gold); }
.footer-col h4 { font: 400 10px/12px var(--sans); letter-spacing: .015em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-col li, .footer-col a { font: 400 12px/1.9 var(--sans); color: var(--cream); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-dark);
  font: 400 10px/12px var(--sans);
  color: var(--gold-soft);
}
.footer-legal a:hover { color: var(--white); }

/* ---------- Páginas internas (listagem e detalhe) ---------- */
.page-head { padding: 64px 0 32px; background: var(--cream); }
.page-head .section-title { font-size: 40px; }
.listing { padding: 40px 0 96px; background: var(--cream); }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.empty-state { padding: 64px 24px; text-align: center; background: var(--white); border-radius: var(--r-lg); color: var(--muted); }
.empty-state h3 { font: 500 24px/1.2 var(--serif); color: var(--navy); margin-bottom: 8px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 700; font-size: 12px; color: var(--navy);
}
.pagination .is-current { background: var(--navy); border-color: var(--navy); color: var(--white); }

.detail { padding: 40px 0 96px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; border-radius: var(--r-lg); overflow: hidden; }
.gallery__item { position: relative; padding: 0; border: 0; cursor: zoom-in; background: var(--mist); overflow: hidden; }
.gallery__item:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(var(--navy-rgb), .55); color: var(--white); font: 700 12px var(--sans); letter-spacing: .02em; }
.detail__grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 40px; align-items: start; }
.detail__title { font: 500 40px/1.15 var(--serif); color: var(--navy); margin: 8px 0 12px; }
.detail__price { font: 400 28px/1.2 var(--serif); color: var(--navy); }
.detail__costs { display: flex; gap: 24px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.detail__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0; }
.detail__features div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 13px; color: var(--ink); text-align: center; }
.detail__features .icon { width: 22px; height: 22px; color: var(--gold); }
.detail h2 { font: 500 24px/1.2 var(--serif); color: var(--navy); margin: 32px 0 14px; }
.detail__text { font: 400 15px/1.75 var(--sans); color: var(--muted); white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: 12px; }
.chip .icon { color: var(--gold); }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--cream); border-radius: var(--r-lg); }
.sticky-card h3 { font: 500 24px/1.2 var(--serif); color: var(--navy); }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(2, 16, 32, .94); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-sm); }
.lightbox button { position: absolute; border: 0; background: none; color: var(--white); cursor: pointer; font-size: 40px; line-height: 1; padding: 16px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1320px) {
  :root { --gutter: 56px; }
  .site-header__inner, .site-footer__inner { padding: 0 40px; }
  .search-fields { flex-wrap: wrap; }
  .search-fields .field { width: calc((100% - 36px) / 4); }
  .search-fields .btn { width: calc((100% - 36px) / 4); margin-left: 0; }
  .about__images { flex-basis: 460px; height: 470px; }
  .about__office { width: 370px; height: 420px; }
  .about__detail { left: 260px; top: 270px; width: 200px; height: 200px; }
}

@media (max-width: 1099px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .only-desktop { display: none !important; }
  .only-mobile { display: revert !important; }
  .btn.only-mobile { display: inline-flex !important; }
  .icon-btn.only-mobile { display: inline-grid !important; }
  .site-header__inner { padding: 0 20px; }
  .brand .logo { height: 50px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .finance__copy { padding: 56px 40px; }
  .about__inner { flex-direction: column; align-items: stretch; }
  .about__images { flex: none; }
  .contact__inner { flex-direction: column; }
  .contact__copy { flex: none; }
  .footer-content { flex-wrap: wrap; }
  .footer-brand { flex-basis: 100%; }
  .detail__grid { grid-template-columns: 1fr; }
  .consultant__card { grid-template-columns: 300px minmax(0, 1fr); }
  .consultant__copy { padding: 40px; }
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }
  .hide-mobile { display: none !important; }

  .hero { height: 650px; }
  .hero__slide { padding: 72px 24px 34px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(var(--navy-rgb), .33) 0%, rgba(var(--navy-rgb), .94) 100%); }
  .hero__copy { gap: 18px; max-width: none; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .02em; }
  .hero__title { font-size: 38px; }
  .hero__subtitle { font-size: 14px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__metrics { display: none; }
  .hero__bottom { bottom: 14px; width: calc(100% - 48px); justify-content: center; }

  .search-section { background: var(--cream); padding: 28px 0; }
  .search-card { padding: 20px; }
  .search-fields { flex-direction: column; align-items: stretch; }
  .search-fields .field, .search-fields .btn { width: 100%; }

  .section { padding: 64px 0; }
  .featured { padding: 64px 0; }
  .featured .heading { margin-bottom: 26px; }
  .property-grid { grid-template-columns: 1fr; gap: 26px; }
  .property-card__photo { height: 232px; }
  .center-action { margin-top: 26px; }
  .center-action .btn { width: 100%; }

  .launches .heading { margin-bottom: 24px; }
  .launch-grid { grid-template-columns: 1fr; gap: 24px; }
  .launch-card { height: 360px; }

  .finance { flex-direction: column; }
  .finance__media { flex: none; min-height: 280px; height: 280px; }
  .finance__copy { padding: 48px 22px; gap: 22px; }
  .finance .benefits { display: none; }
  .finance .btn { width: 100%; }

  .about { padding: 64px 0; }
  .about__inner { gap: 28px; }
  .about__images { height: auto; }
  .about__office { width: 100%; height: 340px; }
  .about__detail, .about__body { display: none; }
  .about .btn { width: 100%; }

  .consultant { padding: 0 0 64px; }
  .consultant__card { grid-template-columns: 1fr; }
  .consultant__photo { min-height: 360px; }
  .consultant__copy { padding: 28px 20px; gap: 16px; }
  .consultant__quote { font-size: 17px; }
  .consultant__sign .btn { width: 100%; }

  .differentials { padding: 60px 0; }
  .differentials .heading { margin-bottom: 24px; align-items: flex-start; text-align: left; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
  .diff-card .icon-holder { width: 42px; height: 42px; }
  .diff-card h3 { font-size: 18px; line-height: 24px; }
  .diff-card p { display: none; }

  .contact__inner { gap: 28px; }
  .contact .channels, .contact__copy > .btn { display: none; }
  .contact-form { padding: 20px; gap: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form .btn { width: 100%; align-self: stretch; }

  .site-footer { padding: 28px 0; }
  .site-footer__inner { padding: 0 28px; }
  .footer-content { flex-direction: column; gap: 30px; }
  .footer-brand { flex: none; }
  .footer-legal { flex-direction: column; gap: 0; margin-top: 34px; }

  .whats-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }

  .page-head { padding: 40px 0 24px; }
  .page-head .section-title { font-size: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; }
  .gallery__item:nth-child(n+4) { display: none; }
  .detail__title { font-size: 30px; }
  .detail__features { grid-template-columns: repeat(2, 1fr); }
}

/* Mapa e formulário lateral */
.map-embed { position: relative; height: 360px; overflow: hidden; border-radius: var(--r-lg); background: var(--mist); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map { margin-top: 48px; height: 380px; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 767px) {
  .map-embed { height: 280px; }
  .contact-map { margin-top: 28px; }
}

/* Galeria: ajusta a grade à quantidade de fotos */
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 452px; }
.gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 452px; }
.gallery--2 .gallery__item:first-child { grid-row: auto; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--4 .gallery__item:nth-child(4) { grid-column: span 2; }
@media (max-width: 767px) {
  .gallery--1, .gallery--2 { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .gallery--2 .gallery__item:nth-child(2) { display: none; }
  .gallery--3, .gallery--4 { grid-template-columns: 1fr 1fr; }
  .gallery--4 .gallery__item:nth-child(4) { grid-column: auto; }
}

/* Busca simplificada: Tipo, Cidade e Bairro */
.search-fields--simple { flex-wrap: nowrap; }
.search-fields--simple .field { flex: 1 1 0; width: auto; }
.search-fields--simple .btn { flex: none; width: 220px; margin-left: 0; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.type-pills a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: 700 11px/13px var(--sans);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s;
}
.type-pills a:hover { border-color: var(--navy); }
.type-pills a.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.more-filters { margin-top: 2px; }
.more-filters summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 700 11px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--gold); list-style: none; }
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters summary::after { content: '+'; font-size: 14px; }
.more-filters[open] summary::after { content: '–'; }
.more-filters .search-fields { margin-top: 14px; }
.more-filters .field { flex: 1 1 0; width: auto; }
@media (max-width: 767px) {
  .search-fields--simple { flex-direction: column; flex-wrap: nowrap; }
  .search-fields--simple .field, .more-filters .field { flex: none; width: 100%; }
  .search-fields--simple .btn { width: 100%; }
  .type-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter) 4px; -webkit-overflow-scrolling: touch; }
  .type-pills a { flex: none; }
}

/* ---------- WhatsApp (verde oficial) ---------- */
:root { --whats: #25d366; --whats-hover: #1ebe5b; --whats-dark: #075e54; --whats-teal: #128c7e; }
.btn--whats { background: var(--whats); border-color: var(--whats); color: #fff; }
.btn--whats:hover { background: var(--whats-hover); border-color: var(--whats-hover); }
.btn--whats .icon { width: 18px; height: 18px; }
.icon-btn--whats { color: var(--whats); }
.channels .is-whats .icon { color: var(--whats); }

/* ---------- Botão flutuante + mini chat do WhatsApp ---------- */
/* O contêiner não recebe cliques (senão a área invisível da janela fechada bloquearia o que estiver atrás);
   só o botão e a janela aberta são clicáveis. */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.wa > .whats-float, .wa.is-open > .wa-chat { pointer-events: auto; }
.whats-float {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.whats-float:hover { transform: scale(1.06); background: var(--whats-hover); }
.whats-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--whats); opacity: .5; animation: wa-pulse 2.4s ease-out infinite; z-index: -1; }
.whats-float > span { display: grid; place-items: center; transition: transform .25s, opacity .25s; }
.whats-float__close { position: absolute; inset: 0; opacity: 0; transform: rotate(-90deg); }
.wa.is-open .whats-float__open { opacity: 0; transform: rotate(90deg); }
.wa.is-open .whats-float__close { opacity: 1; transform: none; }
.wa.is-open .whats-float::before { animation: none; opacity: 0; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

.wa-chat {
  width: 340px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border-radius: 16px;
  background: #efeae2;
  box-shadow: 0 24px 60px rgba(2, 16, 32, .28);
  font-family: var(--sans);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.wa.is-open .wa-chat { opacity: 1; visibility: visible; transform: none; }
.wa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--whats-dark); color: #fff; }
.wa-chat__head img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; }
.wa-chat__head > div { flex: 1; min-width: 0; }
.wa-chat__head strong { display: block; font: 600 15px/1.2 var(--sans); }
.wa-chat__head > div > span { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.wa-chat__head i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--whats); box-shadow: 0 0 0 2px rgba(37, 211, 102, .3); }
.wa-chat__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.wa-chat__close:hover { background: rgba(255, 255, 255, .15); }
.wa-chat__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 150px;
  max-height: 46vh;
  overflow-y: auto;
  padding: 18px 16px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(7, 94, 84, .06) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-bubble {
  position: relative;
  max-width: 88%;
  padding: 9px 12px 20px;
  border-radius: 0 10px 10px 10px;
  background: #fff;
  color: #111b21;
  font: 400 14px/1.45 var(--sans);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.wa-bubble::before { content: ''; position: absolute; top: 0; left: -7px; border-top: 8px solid #fff; border-left: 8px solid transparent; }
.wa-bubble time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #667781; }
.wa-bubble--me { align-self: flex-end; border-radius: 10px 0 10px 10px; background: #d9fdd3; }
.wa-bubble--me::before { left: auto; right: -7px; border-top-color: #d9fdd3; border-left: 0; border-right: 8px solid transparent; }
.wa-typing { display: none; gap: 4px; padding: 12px 14px; border-radius: 0 10px 10px 10px; background: #fff; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ac; animation: wa-dot 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.wa.is-typing .wa-typing { display: flex; }
.wa.is-typing .wa-bubble, .wa.is-typing .wa-quick { display: none; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-quick button {
  padding: 7px 12px;
  border: 1px solid rgba(7, 94, 84, .25);
  border-radius: 999px;
  background: #fff;
  color: var(--whats-dark);
  font: 500 12px/1.2 var(--sans);
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.wa-quick button:hover { background: #e7fbe9; border-color: var(--whats); }
.wa-chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; background: #f0f2f5; }
.wa-chat__form textarea {
  flex: 1;
  min-height: 42px;
  max-height: 110px;
  padding: 11px 14px;
  border: 0;
  border-radius: 21px;
  background: #fff;
  color: #111b21;
  font: 400 14px/1.4 var(--sans);
  resize: none;
  outline: none;
}
.wa-chat__form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.wa-chat__form button:hover { background: var(--whats-hover); transform: scale(1.05); }
.wa-chat__foot { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; padding: 0 0 9px; background: #f0f2f5; font-size: 10.5px; color: #667781; }
@media (max-width: 767px) {
  .wa { right: 16px; bottom: 16px; }
  .whats-float { width: 56px; height: 56px; }
  .wa-chat { width: calc(100vw - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .whats-float::before, .wa-typing i { animation: none; }
}

/* Menu do celular: botões no fim */
.drawer__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.drawer__actions .btn { margin-top: 0; }

/* Botão "Entrar" (somente no rodapé) */
.footer-legal { align-items: center; }
.footer-legal > span:nth-child(2) { margin-left: auto; }
.footer-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(231, 211, 168, .35);
  border-radius: var(--r-sm);
  color: var(--gold-soft);
  font: 700 10px/1 var(--sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background-color .2s;
}
.footer-login:hover { border-color: var(--gold); background: rgba(255, 255, 255, .05); color: var(--white); }
@media (max-width: 767px) {
  .footer-legal { align-items: flex-start; }
  .footer-legal > span:nth-child(2) { margin-left: 0; }
  .footer-login { margin-top: 14px; }
}

/* Quantidade de fotos (galeria) e contador da visualização ampliada */
.gallery { position: relative; }
.gallery__count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font: 700 12px/1 var(--sans);
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(var(--navy-rgb), .22);
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.gallery__count:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.gallery__count .icon { color: var(--gold); }
.gallery__count:hover .icon { color: var(--gold-soft); }
.lightbox__count {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font: 600 13px/1 var(--sans);
  letter-spacing: .03em;
}
@media (max-width: 767px) {
  .gallery__count { right: 10px; bottom: 10px; height: 34px; padding: 0 12px; font-size: 11px; }
}

/* ==========================================================================
   Menu do topo colorido com ícones (cada item usa sua cor em --c)
   ========================================================================== */
.nav { gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  color: var(--navy);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.nav__ic {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: rgba(var(--navy-rgb), .06);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  transition: background-color .2s, color .2s, transform .25s, box-shadow .2s;
}
.nav a:hover { background: color-mix(in srgb, var(--c) 8%, transparent); color: var(--c); }
.nav a:hover .nav__ic { background: var(--c); color: #fff; transform: rotate(-8deg) scale(1.08); }
.nav a.is-active {
  background: color-mix(in srgb, var(--c) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent);
  color: var(--c);
}
.nav a.is-active .nav__ic { background: var(--c); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 40%, transparent); }
.nav a:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }

/* Telas médias: ícone sem círculo para caber os 8 itens */
@media (max-width: 1279px) {
  .nav { gap: 2px; }
  .nav a { gap: 5px; padding: 0 8px; }
  .nav__ic { width: auto; height: auto; background: none !important; box-shadow: none !important; }
  .nav a:hover .nav__ic, .nav a.is-active .nav__ic { color: var(--c); transform: none; }
}

/* Menu do celular com ícones coloridos */
.drawer { overflow-y: auto; }
.drawer nav { margin-top: 12px; }
.drawer nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 22px;
}
.drawer__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--c) 24%, transparent);
  color: color-mix(in srgb, var(--c) 45%, #fff);
}
.drawer nav a:hover .drawer__ic, .drawer nav a.is-active .drawer__ic { background: var(--c); color: #fff; }
.drawer nav a.is-active { color: var(--gold-soft); }
.drawer__actions { padding-top: 20px; }

/* ---------- Aviso ao sair do site ---------- */
.saida {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(var(--navy-rgb), .72);
  opacity: 0;
  transition: opacity .25s ease;
}
.saida.is-open { opacity: 1; }
.saida__box {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 36px 30px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 70px rgba(2, 16, 32, .4);
  transform: translateY(16px) scale(.97);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.2);
}
.saida.is-open .saida__box { transform: none; }
.saida__x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.saida__x:hover { background: var(--mist); color: var(--navy); }
.saida__selo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
}
.saida__box h2 { font: 500 27px/1.2 var(--serif); color: var(--navy); }
.saida__box > p { margin: 12px 0 22px; font: 400 14px/1.6 var(--sans); color: var(--muted); }
.saida__form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.saida__form .input { text-align: center; }
.saida .btn--whats { margin-bottom: 14px; }
.saida__nao {
  border: 0;
  background: none;
  color: var(--muted);
  font: 400 12px/1 var(--sans);
  text-decoration: underline;
  cursor: pointer;
}
.saida__nao:hover { color: var(--navy); }
@media (max-width: 767px) {
  .saida__box { padding: 30px 20px 22px; }
  .saida__box h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .saida, .saida__box { transition: none; }
}

/* Origem do contato (painel) */


/* ---------- Tarja sobre a foto do imóvel ----------
   O quadrado recorta as pontas da faixa; o texto longo usa recorte maior e fonte menor. */
.tarja {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 132px;
  height: 132px;
  overflow: hidden;
  pointer-events: none;
}
.tarja i {
  position: absolute;
  left: 0;
  top: 25%;
  width: 150%;
  margin-top: -13px;
  padding: 6px 0;
  background: var(--tarja-cor, #c0453f);
  color: #fff;
  font: 700 11px/1.3 var(--sans);
  font-style: normal;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}
.tarja--sm { width: 158px; height: 158px; }
.tarja--sm i { font-size: 9.5px; letter-spacing: .03em; }
.tarja--xs { width: 184px; height: 184px; }
.tarja--xs i { font-size: 8px; letter-spacing: .01em; }
.tarja--vermelho { --tarja-cor: #c0453f; }
.tarja--laranja  { --tarja-cor: #d88a1d; }
.tarja--dourado  { --tarja-cor: #bb9046; }
.tarja--verde    { --tarja-cor: #2e8b57; }
.tarja--azul     { --tarja-cor: #2f6db5; }
.tarja--roxo     { --tarja-cor: #7a5ca8; }
.tarja--escuro   { --tarja-cor: #032242; }
/* Página do imóvel: um pouco maior */
.tarja--grande { width: 190px; height: 190px; }
.tarja--grande i { font-size: 15px; margin-top: -17px; padding: 8px 0; }
.tarja--grande.tarja--sm { width: 225px; height: 225px; }
.tarja--grande.tarja--sm i { font-size: 13px; }
.tarja--grande.tarja--xs { width: 255px; height: 255px; }
.tarja--grande.tarja--xs i { font-size: 11px; }
@media (max-width: 767px) {
  .tarja--grande { width: 150px; height: 150px; }
  .tarja--grande i { font-size: 11px; margin-top: -13px; padding: 6px 0; }
  .tarja--grande.tarja--sm { width: 170px; height: 170px; }
  .tarja--grande.tarja--sm i { font-size: 9.5px; }
  .tarja--grande.tarja--xs { width: 195px; height: 195px; }
  .tarja--grande.tarja--xs i { font-size: 8px; }
}

/* CORREÇÃO: sem isto, o aviso de saída fica invisível mas cobrindo a tela e bloqueia os cliques */
.saida[hidden] { display: none !important; }

/* Mini chat: passo que pede nome e WhatsApp antes de abrir a conversa */
.wa-dados { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.wa-dados[hidden] { display: none; }
.wa-dados__form { display: flex; flex-direction: column; gap: 8px; }
.wa-dados__form input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7dde3;
  border-radius: 21px;
  background: #fff;
  color: #111b21;
  font: 400 14px/1.4 var(--sans);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.wa-dados__form input:focus { border-color: var(--whats); box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); }
.wa-dados__erro { margin: 0; padding: 7px 12px; border-radius: 8px; background: #fdecec; color: #a33; font: 400 12px/1.4 var(--sans); }
.wa-dados__ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: var(--whats);
  color: #fff;
  font: 700 12px/1 var(--sans);
  letter-spacing: .03em;
  cursor: pointer;
  transition: background-color .15s;
}
.wa-dados__ok:hover { background: var(--whats-hover); }
.wa-dados__pular {
  border: 0;
  background: none;
  color: #667781;
  font: 400 11.5px/1.3 var(--sans);
  text-decoration: underline;
  cursor: pointer;
  padding: 2px;
}
.wa-dados__pular:hover { color: var(--whats-dark); }
.wa-chat__form[hidden] { display: none; }
