/* =========================================================================
   Alexandre Santos Imóveis — Home estática
   CSS puro, sem dependências. Réplica do tema Impreza (WordPress).

   Breakpoints do original (mantidos):
     - Desktop .............. ≥ 1381px
     - Laptop ............... 1025px – 1380px
     - Tablet ............... 451px – 1024px
     - Celular .............. ≤ 450px
     - Menu hambúrguer ...... ≤ 899px
     - Filtro vira "Filtros"  ≤ 600px
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fontes (arquivos locais em assets/fonts)
   ------------------------------------------------------------------------- */
/* Montserrat 400 e 700 — declarada exatamente como no Google Fonts do site original
   (pesos intermediários, como 500 e 600, caem em 400/700 igual ao original). */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ícones: recorte (subset) das MESMAS fontes de ícones do tema,
   só com os ícones usados no site (≈ 5 KB no total, em vez de ~400 KB). */
@font-face {
  font-family: "icons-solid";
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa-solid-subset.woff2?v=3") format("woff2");
}
@font-face {
  font-family: "icons-regular";
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-regular-subset.woff2?v=3") format("woff2");
}
@font-face {
  font-family: "icons-brands";
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-brands-subset.woff2") format("woff2");
}
@font-face {
  font-family: "icons-light";
  font-weight: 300;
  font-display: block;
  src: url("../fonts/fa-light-subset.woff2?v=3") format("woff2");
}

/* -------------------------------------------------------------------------
   2. Variáveis (cores e medidas do tema original)
   ------------------------------------------------------------------------- */
:root {
  --c-dark: #101315;          /* cabeçalho, faixas de título, rodapé */
  --c-gold: #a48863;          /* links e botão de busca */
  --c-gold-hover: #b3864b;    /* hover */
  --c-text: #333;
  --c-border: #d9d9d9;
  --c-bg: #ffffff;
  --c-bg-alt: #f2f4f7;

  --font: "Montserrat", sans-serif;
  --content-width: 1500px;
  --pad-inline: 2.5rem;       /* respiro lateral das seções */
  --section-pad: 4rem;        /* padding vertical das seções "médias" */
  --header-h: 100px;
  --header-h-sticky: 60px;
  --logo-h: 50px;
  --logo-h-sticky: 40px;
  --header-pad: 2.5rem;
  --ease: cubic-bezier(.78, .13, .15, .86);
}

/* -------------------------------------------------------------------------
   3. Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 15px;
  line-height: 25px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 25px;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg-alt);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
a { color: var(--c-gold); text-decoration: none; transition: color .3s; }
p { margin: 0 0 1.5rem; }
p:last-child { margin-bottom: 0; }
h1, h2 { margin: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, select { font: inherit; }
strong { font-weight: 700; }

.page { background: var(--c-bg); }

/* Espaçadores (equivalentes aos "separators" do tema) */
.spacer { height: 1.5rem; }
.spacer--small { height: 1.5rem; }
.spacer--huge { height: 6rem; }
.only-mobile { display: none; }

/* Container padrão das seções */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* -------------------------------------------------------------------------
   4. Ícones
   ------------------------------------------------------------------------- */
.i {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.i-s { font-family: "icons-solid"; font-weight: 900; }
.i-r { font-family: "icons-regular"; font-weight: 400; }
.i-b { font-family: "icons-brands"; font-weight: 400; }
.i-l { font-family: "icons-light"; font-weight: 300; }

.i-search::before     { content: "\f002"; }
.i-map-marker::before { content: "\f3c5"; }
.i-bed::before        { content: "\f236"; }
.i-bath::before       { content: "\f2cd"; }
.i-car::before        { content: "\f1b9"; }
.i-ruler::before      { content: "\f546"; }
.i-arrow-right::before{ content: "\f061"; }
.i-globe::before      { content: "\f0ac"; }
.i-building::before   { content: "\f1ad"; }
.i-handshake::before  { content: "\f2b5"; }
.i-shower::before     { content: "\f2cc"; }
.i-arrows::before     { content: "\f047"; }
.i-vector::before     { content: "\f5cb"; }
.i-arrows-h::before   { content: "\f07e"; }
.i-comments::before   { content: "\f4b6"; }
.i-user::before       { content: "\f007"; }
.i-envelope::before   { content: "\f0e0"; }
.i-phone::before      { content: "\f095"; }
.i-times::before      { content: "\f00d"; }
.i-chevrons::before   { content: "\f324"; }
.i-whatsapp::before   { content: "\f232"; }
.i-instagram::before  { content: "\f16d"; }
.i-facebook::before   { content: "\f09a"; }
.i-tiktok::before     { content: "\e07b"; }
.i-youtube::before    { content: "\f167"; }

/* -------------------------------------------------------------------------
   5. Botões
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  position: relative;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  padding: .8em 2.4em;
  border-radius: .3em;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.btn--dark { background: var(--c-dark); }
.btn--gold { background: var(--c-gold); }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn--dark:hover { background: var(--c-gold); }
.btn--gold:hover { background: var(--c-gold-hover); }
.btn--icon-right .i { margin-left: .5em; vertical-align: top; line-height: inherit; }

:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 2px; }

/* -------------------------------------------------------------------------
   6. Cabeçalho fixo (encolhe de 100px para 60px ao rolar)
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 111;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 var(--header-pad);
  background: var(--c-dark);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  transition: height .3s var(--ease), line-height .3s var(--ease);
}
.site-header.is-sticky {
  height: var(--header-h-sticky);
  line-height: var(--header-h-sticky);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: var(--content-width);
  height: 100%;
  margin: 0 auto;
}
.site-header__logo {
  display: block;
  height: var(--logo-h);
  transition: height .3s var(--ease);
}
.site-header.is-sticky .site-header__logo { height: var(--logo-h-sticky); }
.site-header__logo img { width: auto; height: 100%; }

/* Menu desktop */
.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav__list { display: flex; height: 100%; }
.main-nav__list li { margin: 0; }
.main-nav__list a {
  display: block;
  padding: 0 20px;
  color: #fff;
  transition: none;
}
.main-nav__list a:hover,
.main-nav__list a:focus-visible,
.main-nav__list a[aria-current="page"] { color: var(--c-gold-hover); }

/* Botão hambúrguer (escondido no desktop) */
.main-nav__toggle {
  display: none;
  align-items: center;
  height: 50px;
  padding: 0 .8rem;
  margin-right: -.8rem;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  line-height: 50px;
}
.main-nav__toggle:hover { color: var(--c-gold-hover); }
.hamburger {
  position: relative;
  display: block;
  font-size: var(--icon-size, 36px);
  width: 1em;
  height: 1em;
}
.hamburger > span,
.hamburger > span::before,
.hamburger > span::after {
  display: block;
  position: absolute;
  height: 3px;
  width: 1em;
  border-radius: 3px;
  background: currentColor;
}
.hamburger > span {
  top: calc(50% - 1.5px);
  transition: transform .2s cubic-bezier(0, 1, .8, 1);
}
.hamburger > span::before,
.hamburger > span::after { content: ""; }
.hamburger > span::before { top: -.3333em; transition: top .2s cubic-bezier(0, 1, .8, 1) .2s, opacity .2s cubic-bezier(0, 1, .8, 1); }
.hamburger > span::after  { top: .3333em;  transition: top .2s cubic-bezier(0, 1, .8, 1) .2s, transform .2s cubic-bezier(0, 1, .8, 1); }
.main-nav.is-open .hamburger > span { transform: rotate(45deg); transition-delay: .2s; }
.main-nav.is-open .hamburger > span::before { top: 0; opacity: 0; transition: top .2s cubic-bezier(0, 1, .8, 1), opacity .2s cubic-bezier(0, 1, .8, 1) .2s; }
.main-nav.is-open .hamburger > span::after  { top: 0; transform: rotate(90deg); transition: top .2s cubic-bezier(0, 1, .8, 1), transform .2s cubic-bezier(0, 1, .8, 1) .2s; }

/* -------------------------------------------------------------------------
   7. Banner + caixa de busca
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 0 var(--pad-inline);
  color: #fff;
  background: url("../img/Banner-Site-Alexandre-Santos-1.jpg") center center / cover;
  background-image: image-set(url("../img/Banner-Site-Alexandre-Santos-1.webp") type("image/webp"), url("../img/Banner-Site-Alexandre-Santos-1.jpg") type("image/jpeg"));
}
.hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-top: var(--header-h);
}
.hero__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
}

.search-box {
  width: 100%;
  max-width: 40%;
  margin: 0 auto;
  padding: 2rem;
  background: var(--c-dark);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-box__title {
  font-size: 1.5rem;
  line-height: 25px;
  font-weight: 400;
  text-align: center;
  color: #fff;
}
.search-box__row {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filtro (desktop: selects lado a lado) */
.filter { margin: 0; text-align: center; min-width: 0; }
.filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.filter__list-title,
.filter__closer,
.filter__item-title,
.filter__panel,
.filter__opener { display: none; }
.filter__item { position: relative; flex-shrink: 0; z-index: 11; }
.filter__select-wrap { position: relative; font-size: .9em; line-height: 1.5; }
.filter__select-wrap::after {
  content: "";
  position: absolute;
  top: calc(1.15em + 1px);
  right: 0;
  margin: -.2em calc(1em + 1px);
  pointer-events: none;
  border: .4em solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
  color: var(--c-text);
}
.filter select {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  height: calc(2.3em + 2px);
  min-height: 2.3em;
  line-height: 2.3em;
  padding: 0 calc(1em * 2 + .8em) 0 1em;
  font-size: 1em;
  font-weight: 400;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 0;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, .2) inset;
  cursor: pointer;
  transition: all .2s;
}
.filter select:focus { outline: none; box-shadow: 0 0 0 2px var(--c-dark); }

/* Botão da lupa */
.search-btn {
  flex-shrink: 0;
  margin: .3rem 0;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
  padding: .5em;
  background: var(--c-gold);
  color: #fff;
  transition: background .3s ease;
}
.search-btn:hover { background: var(--c-gold-hover); }
.search-btn .i { width: 1.2em; line-height: 1.2em; text-align: center; vertical-align: top; }

/* -------------------------------------------------------------------------
   8. Vitrines de imóveis
   ------------------------------------------------------------------------- */
.listings {
  padding: var(--section-pad) var(--pad-inline) 0;
}
.listings--last { padding-bottom: var(--section-pad); }

.listings__title {
  padding: .5rem 0 .5rem 2rem;
  background: var(--c-dark);
  color: #fff;
  font-size: 1.5rem;
  line-height: 25px;
  font-weight: 400;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.property {
  background: var(--c-bg-alt);
  border-radius: .3rem;
  min-width: 0;
}
.property__card {
  position: relative;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  color: var(--c-text);
  line-height: 1.5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.property__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  color: var(--c-text);
}
.property__media {
  display: block;
  height: 250px;
  overflow: hidden;
  position: relative;
}
.property__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.property__card:hover .property__media img { transform: scale(1.1); }
.property__price {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
.property__body { display: block; padding: 20px; }
.property__code {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}
.property__code span { color: #555; }
.property__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}
.property__location .i { color: #e74c3c; }
.property__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #555;
}
.property__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.property__meta-item .i { color: #999; }

/* -------------------------------------------------------------------------
   9. Sobre
   ------------------------------------------------------------------------- */
.about {
  position: relative;
  padding: var(--section-pad) var(--pad-inline);
  background: url("../img/panbc.jpeg") center top / cover;
  background-image: image-set(url("../img/panbc.webp") type("image/webp"), url("../img/panbc.jpeg") type("image/jpeg"));
  background-position: center top;
  background-size: cover;
}
.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
}
.about__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 3rem;
  align-items: center;
}
.about__col { min-width: 0; }
.about__photo { border-radius: .3rem; }
.about__cta { margin: .3rem 0; }
.about__text {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.about__title {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-weight: 700;
}
.about__body {
  color: #fff;
  text-align: justify;
}
.about__body p { margin-bottom: 1.5rem; }
.about__body p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   10. Rodapé
   ------------------------------------------------------------------------- */
.footer-main {
  padding: var(--section-pad) var(--pad-inline);
  background: var(--c-dark);
  color: #fff;
}
.footer-main__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-col { min-width: 0; }
.footer-col img { width: 100%; }
.footer-col__tagline { text-align: center; }
.footer-title {
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}
.footer-title--contacts { margin-bottom: 1rem; }
.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}
.footer-link { color: var(--c-gold); }
.footer-link:hover { color: var(--c-gold-hover); }
.footer-link--bold { font-weight: 700; }
.footer-link .i { margin-right: .4em; vertical-align: top; line-height: inherit; }

.footer-bottom {
  padding: 1rem var(--pad-inline);
  background: var(--c-text);
}
.footer-bottom p {
  max-width: var(--content-width);
  margin: 0 auto;
  color: #fff;
  text-align: center;
  font-size: .9rem;
}

/* =========================================================================
   11. Responsivo
   ========================================================================= */

/* Laptop (1025px – 1380px) */
@media (max-width: 1380px) {
  :root { --logo-h: 45px; --logo-h-sticky: 35px; }
  .main-nav__toggle { --icon-size: 32px; }
}

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  :root { --section-pad: 2.5rem; }
  .main-nav__toggle { --icon-size: 28px; }
  .spacer--small { height: 1rem; }
  .spacer--huge { height: calc(1rem + 7.5vw); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Menu hambúrguer (≤ 899px) */
@media (max-width: 899px) {
  :root { --header-pad: 1rem; }
  .main-nav { position: static; }
  .main-nav__toggle { display: flex; }
  .main-nav__list {
    position: absolute;
    top: 100%;
    left: calc(var(--header-pad) * -1);
    right: calc(var(--header-pad) * -1);
    display: block;
    height: auto;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0 max(var(--header-pad), 1rem);
    background: var(--c-dark);
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    /* abre/fecha com animação de altura (como o slideDown do tema) */
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .25s ease, visibility 0s linear .25s;
  }
  .main-nav.is-open .main-nav__list {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .25s ease, visibility 0s;
  }
  .main-nav__list a {
    padding: .7rem;
    font-size: 1.1rem;
    line-height: 1.6em;
  }
}

/* Filtro vira botão "Filtros" + painel em tela cheia (≤ 600px) */
@media (max-width: 600px) {
  :root { --pad-inline: 1.5rem; --section-pad: 1.5rem; }
  p, .about__body p { margin-bottom: 1rem; }

  .filter__list { display: none; }
  .filter__opener { display: inline-block; position: relative; z-index: 11; }

  .filter.is-open .filter__list {
    display: block;
    position: fixed;
    z-index: 1111;
    top: 0; left: 0; right: 0;
    bottom: 4rem;
    overflow: auto;
    padding: 1rem 1.5rem;
    text-align: initial;
    background: #fff;
    color: var(--c-text);
  }
  .filter.is-open .filter__list-title {
    display: block;
    font-size: 1.4rem;
    line-height: 25px;
    padding-right: 3rem;
    margin-bottom: 1.5rem;
  }
  .filter.is-open .filter__closer {
    display: block;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    width: 2em;
    padding: 0;
    border: 0;
    font-size: 2rem;
    line-height: 2;
    text-align: center;
    background: #fff;
    color: var(--c-text);
    cursor: pointer;
  }
  .filter.is-open .filter__closer::before {
    content: "\f00d";
    font-family: "icons-regular";
    font-weight: 400;
    vertical-align: top;
  }
  .filter.is-open .filter__closer:hover { color: var(--c-gold-hover); }
  .filter.is-open .filter__item { margin-bottom: 0; }
  .filter.is-open .filter__item-title {
    display: inline-block;
    vertical-align: top;
    margin: 0 .8em .5em 0;
    font-weight: 700;
  }
  .filter.is-open .filter__select-wrap { font-size: 1em; line-height: 25px; }
  .filter.is-open .filter__panel {
    display: block;
    position: fixed;
    z-index: 1112;
    left: 0; right: 0; bottom: 0;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, .15);
  }
  .filter__apply {
    width: 100%;
    font-size: 1rem;
    line-height: 2.5rem;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Celular (≤ 450px) */
@media (max-width: 450px) {
  :root { --logo-h: 40px; --logo-h-sticky: 35px; }
  .main-nav__toggle { --icon-size: 24px; }
  .only-mobile { display: block; }

  .hero {
    background-image: url("../img/Banner-site-mobile-430-x-580-px.jpg");
    background-image: image-set(url("../img/Banner-site-mobile-430-x-580-px.webp") type("image/webp"), url("../img/Banner-site-mobile-430-x-580-px.jpg") type("image/jpeg"));
  }
  .search-box { max-width: 60%; }
  .search-btn { display: none; }

  .property-grid { grid-template-columns: 1fr; }

  .about__inner,
  .footer-main__inner,
  .footer-contacts { grid-template-columns: 100%; }
  .about__inner { gap: 1.5rem; }
  .footer-main__inner { gap: 1.5rem; }
}

/* Respeita quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* =========================================================================
   12. Formulário de contato (mesmo visual do formulário da página Contato)
   ========================================================================= */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px;
  line-height: 21px;
}
.contact-form__row {
  position: relative;
  width: 100%;
  padding: 0 7.5px;
  margin-bottom: 1rem;
}
.contact-form__row--half { width: 50%; }
.contact-form__row--submit { margin-bottom: 0; }

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  font-family: inherit;
  font-size: 1em;
  font-weight: 400;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 0;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, .2) inset;
  transition: all .2s;
}
.contact-form input {
  height: calc(2.3em + 2px);
  line-height: 2.3em;
  padding: 0 1em;
}
.contact-form textarea {
  height: 104px;
  min-height: 2.3em;
  padding: 7.75px 1em;
  line-height: 21px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: inherit; opacity: .5; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--c-dark); }

/* Mensagens de erro de cada campo */
.contact-form__state {
  visibility: hidden;
  height: 0;
  opacity: 0;
  font-size: .9em;
  transition: visibility .3s, height .3s, padding .3s, opacity .3s;
}
.contact-form__row.is-wrong .contact-form__state {
  visibility: visible;
  height: auto;
  padding-top: .3em;
  opacity: 1;
  color: red;
}
.contact-form__row.is-wrong input,
.contact-form__row.is-wrong textarea { box-shadow: 0 0 0 1px red; border-color: red; }

/* Campo anti-spam escondido */
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botão "Enviar" */
.btn-form {
  position: relative;
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 500;
  padding: .6em 2.4em;
  border-radius: .3em;
  background: var(--c-dark);
  color: #fff;
  transition: background .3s ease;
}
.btn-form:hover { background: var(--c-gold); }
.btn-form__spinner {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  width: 1.2em; height: 1.2em;
  margin: -.6em 0 0 -.6em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.contact-form.is-loading .btn-form__spinner { display: block; }
.contact-form.is-loading .btn-form__label { visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mensagem final (sucesso / erro) */
.contact-form__message {
  width: 100%;
  padding: 0 7.5px;
  visibility: hidden;
  opacity: 0;
  transition: visibility .2s, opacity .2s, margin .2s;
}
.contact-form__message.is-success,
.contact-form__message.is-error { visibility: visible; opacity: 1; margin: 1rem 0; }
.contact-form__message.is-success { color: #4c0; }
.contact-form__message.is-error { color: red; }

@media (max-width: 450px) {
  .contact-form__row--half { width: 100%; }
}

/* =========================================================================
   13. Página "Sobre Nós" (/sobre-nos/)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 6rem) var(--pad-inline) 6rem;
  color: #fff;
  text-align: center;
  background: url("../img/panbc.jpeg") center top / cover;
  background-image: image-set(url("../img/panbc.webp") type("image/webp"), url("../img/panbc.jpeg") type("image/jpeg"));
  background-position: center top;
  background-size: cover;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 21, .75);
}
.page-hero__title {
  position: relative;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.about-page__section {
  padding: 4rem var(--pad-inline);
}
.about-page__section--title { padding-bottom: 0; }
.about-page__section--small { padding-top: 2rem; padding-bottom: 2rem; }
.about-page__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-page__title {
  color: #000;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 400;
}
.about-page__cols {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}
.about-page__text { text-align: justify; min-width: 0; }
.about-page__photo {
  border: 1px solid var(--c-dark);
  border-radius: .3rem;
  overflow: hidden;
  align-self: start;
}
.about-page__photo img { width: 100%; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-dark);
  border-radius: .3rem;
  min-width: 0;
}
.value-card__icon {
  font-size: 2rem;
  line-height: 33px;
  color: var(--c-dark);
}
.value-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.value-card__text { margin: 0; }

@media (max-width: 1024px) {
  .page-hero { padding-top: calc(var(--header-h) + max(3.6rem, 6vw)); padding-bottom: max(3.6rem, 6vw); }
  .page-hero__title { font-size: max(2rem, 4vw); }
  .about-page__section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .about-page__section--title { padding-bottom: 0; }
  .about-page__section--small { padding-top: 2rem; padding-bottom: 2rem; }
  .about-page__title { font-size: max(1.75rem, 3.5vw); }
}
@media (max-width: 600px) {
  .about-page__section,
  .about-page__section--small { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .about-page__section--title { padding-bottom: 0; }
  .about-page__cols, .values { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-page__text p { margin-bottom: 1rem; }
  .about-page__text p:last-child { margin-bottom: 0; }
}

/* =========================================================================
   14. Página "Contato" (/contato/)
   ========================================================================= */
.contact-page {
  padding: 8rem var(--pad-inline);
}
.contact-page__cols {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}
.contact-page__cols > * { min-width: 0; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.contact-info p { margin: 0; }
.contact-info a { display: inline-block; }
.contact-info .i { margin-right: 6px; line-height: 25px; vertical-align: top; }
.agent-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  margin-top: 1.5rem;
  background: var(--c-bg-alt);
}
.agent-card img { width: 100%; }
.agent-card p { margin: 0; text-align: center; }
.agent-card .i { line-height: 15px; }

@media (max-width: 1024px) {
  .contact-page { padding-top: max(5.4rem, 9vw); padding-bottom: max(5.4rem, 9vw); }
  .agent-card { margin-top: 1rem; }
}
@media (max-width: 600px) {
  .contact-page__cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .agent-card { grid-template-columns: 1fr; }
  .agent-card__text { order: -1; }
}
@media (max-width: 450px) {
  .agent-card__text { padding: 2rem; }
}

/* =========================================================================
   15. Listagem de imóveis (/imoveis/)
   ========================================================================= */
.catalog {
  padding: calc(var(--header-h) + 4rem) var(--pad-inline) 4rem;
}
.catalog__cols {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 3rem;
  align-items: start;
}
.catalog__cols > * { min-width: 0; }
.catalog__title {
  padding: 15px .5rem;
  background: var(--c-dark);
  color: #fff;
  font-size: 1.5rem;
  line-height: 25px;
  font-weight: 400;
  text-align: center;
}
.catalog__box {
  margin-top: 1.5rem;
  padding: 15px;
  border: 1px solid var(--c-border);
}
.catalog__empty { display: none; padding: 2rem 0; text-align: center; }
.catalog__empty.is-visible { display: block; }
.catalog .property-grid { grid-template-columns: repeat(3, 1fr); }
.property[hidden] { display: none; }

/* Campos (estilo 2: busca e ordenação) */
.lf-search { position: relative; margin-bottom: 15px; }
.lf-input,
.lf-select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: calc(2.3em + 2px);
  margin: 0;
  padding: 0 1em;
  font: inherit;
  font-size: .9rem;
  line-height: 2.3em;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: .3em;
  transition: all .2s;
}
.lf-input { padding-right: 2.3em; }
.lf-input::placeholder { color: inherit; opacity: .5; }
.lf-input:focus, .lf-select:focus,
.lf-field:focus { outline: none; box-shadow: 0 0 0 2px var(--c-dark); }
.lf-search__btn {
  position: absolute;
  top: 0; right: 0;
  width: 2.3em; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-text);
  font-size: 18px;
  cursor: pointer;
}
.lf-select-wrap { position: relative; }
.lf-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -.2em;
  pointer-events: none;
  border: .4em solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
  font-size: .9rem;
}
.lf-select { padding-right: 2.8em; cursor: pointer; }
.lf-order { margin-bottom: 15px; }
.lf-label,
.lf-item__title { display: block; font-weight: 700; }
.lf-item__title { margin: 0 .8em .5em 0; }

/* Campos (estilo 1: filtros) */
.lf-item { margin-bottom: 1.5em; }
.lf-item:last-child { margin-bottom: 0; }
.lf-field {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 3em;
  margin: 0;
  padding: 0 1em;
  font: inherit;
  font-size: .9rem;
  line-height: 3em;
  color: var(--c-text);
  background: var(--c-bg-alt);
  border: 0;
  border-radius: .3em;
}
select.lf-field { padding-right: 2.8em; cursor: pointer; }
.lf-field::placeholder { color: inherit; opacity: .5; }
.lf-range { display: flex; gap: 8px; }
.lf-range .lf-field { min-width: 0; }

/* Faixa de área (dois controles deslizantes) */
.lf-slider {
  position: relative;
  height: 20px;
  margin: .75em 10px 0;
  font-size: .9rem;
}
.lf-slider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 2px;
  background: var(--c-border);
}
.lf-slider__fill {
  position: absolute;
  top: 9px;
  height: 2px;
  background: var(--c-text);
}
.lf-slider input {
  position: absolute;
  left: -10px;
  width: calc(100% + 20px);
  top: 0;
  height: 20px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.lf-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  pointer-events: auto;
}
.lf-slider input::-moz-range-thumb {
  width: 20px; height: 20px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  pointer-events: auto;
}
.lf-slider input::-moz-range-track { background: none; }
.lf-slider__result {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: .9rem;
  line-height: 1.5;
}
.lf-opener, .lf-list-title, .lf-closer, .lf-panel { display: none; }

@media (max-width: 1024px) {
  .catalog { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2.5rem; }
  .catalog__box { margin-top: 1rem; }
  .catalog .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .catalog { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 1.5rem; }
  .catalog__cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .catalog .property-grid { grid-template-columns: 1fr; }
  .lf-opener {
    display: inline-block;
    padding: 0; border: 0; background: none;
    font: inherit; font-weight: 700; color: var(--c-text);
    cursor: pointer;
  }
  .lf-list { display: none; }
  .lf.is-open .lf-list {
    display: block;
    position: fixed;
    z-index: 1111;
    top: 0; left: 0; right: 0; bottom: 4rem;
    overflow: auto;
    padding: 1rem 1.5rem;
    background: #fff;
  }
  .lf.is-open .lf-list-title {
    display: block;
    font-size: 1.4rem;
    line-height: 25px;
    padding-right: 3rem;
    margin-bottom: 1.5rem;
  }
  .lf.is-open .lf-closer {
    display: block;
    position: fixed;
    z-index: 1112;
    top: 0; right: 0;
    width: 2em;
    padding: 0; border: 0;
    font-size: 2rem; line-height: 2;
    text-align: center;
    background: #fff;
    color: var(--c-text);
    cursor: pointer;
  }
  .lf.is-open .lf-closer::before { content: "\f00d"; font-family: "icons-regular"; font-weight: 400; }
  .lf.is-open .lf-panel {
    display: block;
    position: fixed;
    z-index: 1112;
    left: 0; right: 0; bottom: 0;
    padding: .75rem;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, .15);
  }
  .lf.is-open .lf-field { font-size: 1rem; }
  .lf-apply { width: 100%; font-size: 1rem; line-height: 2.5rem; padding-top: 0; padding-bottom: 0; }
}

/* =========================================================================
   16. Página de cada imóvel (/imovel/.../)
   ========================================================================= */
.prop-head {
  padding: calc(var(--header-h) + 2rem) var(--pad-inline) 2rem;
  background: var(--c-bg-alt);
}
.prop-wrap { max-width: var(--content-width); margin: 0 auto; }
.prop-head .prop-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1rem;
}
.prop-head__title {
  color: #000;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}
.prop-section { padding: 0 var(--pad-inline); }
.prop-crumbs {
  margin: 1.5rem 0;
  padding: .5rem 0 .5rem 1rem;
  border-radius: .3rem;
  background: var(--c-bg-alt);
  font-size: .9rem;
  line-height: 1.5;
}
.prop-crumbs a { color: var(--c-gold); }
.prop-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.prop-main > *, .prop-more > * { min-width: 0; }

/* Galeria (mesmo comportamento do plugin original) */
.gallery { position: relative; }
.gallery__track {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 0 5px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 95%;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  cursor: pointer;
}
.gallery__item img { display: block; width: 100%; height: 350px; object-fit: cover; }
.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
  color: #333;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: .3s;
}
.gallery:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
@media (min-width: 768px) {
  .gallery__item { flex-basis: 45%; }
  .gallery__item img { height: 500px; }
}
@media (max-width: 768px) { .gallery__nav { display: none; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .95);
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 90%; max-height: 90vh; border-radius: 4px; object-fit: contain; box-shadow: 0 0 20px rgba(255, 255, 255, .1); }
.lightbox__close {
  position: absolute; top: 20px; right: 30px; z-index: 3;
  padding: 0; border: 0; background: none;
  color: #f1f1f1; font-size: 40px; line-height: 1; font-weight: 700; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 24px; cursor: pointer;
  transform: translateY(-50%);
  transition: all .3s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@media (max-width: 768px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 20px; background: rgba(0, 0, 0, .5); }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* Resumo ao lado da galeria */
.prop-place {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .6rem;
  font-size: 1.25rem;
  line-height: 25px;
}
.prop-place .i { font-size: 1rem; line-height: 25px; color: var(--c-dark); }
.prop-features { margin-top: 1.5rem; }
.prop-feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.prop-feature .i { color: var(--c-dark); line-height: 15px; }
.prop-price { margin: 1.5rem 0; font-size: 1.25rem; line-height: 25px; }
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: 100%;
  padding: .8em 2.4em;
  border-radius: .3em;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  transition: background .3s;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1ebe5a; color: #fff; }

/* Comodidades, mapa e formulário */
.prop-details { padding: 4rem var(--pad-inline); }
.prop-details .prop-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.prop-details__title {
  color: #000;
  font-size: 2rem;
  line-height: 25px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.amenities { display: flex; flex-wrap: wrap; margin: -.2em; }
.amenity {
  margin: .2em;
  padding: .6em 2.4em;
  border-radius: .3em;
  background: var(--c-dark);
  color: #fff;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 500;
}
.prop-map {
  height: 400px;
  margin-top: 3rem;
  background: rgba(0, 0, 0, .06);
}
.prop-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.prop-aside { position: sticky; top: calc(var(--header-h-sticky) + 1.5rem); padding-top: 3rem; }
.lead-box {
  padding: 0 1.5rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: .3rem;
  background: var(--c-bg-alt);
}
.lead-box__title {
  margin: 1rem 0;
  padding: .3rem .5rem;
  background: #fff;
  font-weight: 700;
  text-align: center;
}
.lead-box__title .i { margin-right: .5rem; }

/* Formulário do imóvel (mesmo visual do original) */
.contact-form--lead { font-size: .9rem; line-height: 1.4; }
.contact-form--lead .contact-form__row { margin-bottom: 1rem; }
.contact-form--lead label { display: block; margin-bottom: .3em; font-weight: 600; }
.contact-form--lead .field-icon { position: relative; }
.contact-form--lead .field-icon .i {
  position: absolute; top: 1px; left: 1px;
  width: 2.3em; text-align: center;
  font-size: .9em; line-height: 2.3em;
  pointer-events: none;
}
.contact-form--lead input,
.contact-form--lead textarea {
  font-size: .9em;
  border-radius: .3em;
  box-shadow: none;
}
.contact-form--lead input { padding-left: 2.3em; }
.contact-form--lead textarea { height: 84px; padding: .53em 1em; line-height: 1.4; }
.contact-form--lead .btn-form { width: 100%; font-size: .9rem; }

/* Veja mais imóveis */
.prop-more { padding: 4rem var(--pad-inline); background: var(--c-dark); }
.prop-more__title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .prop-crumbs { margin: 1rem 0; }
  .prop-details, .prop-more { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .prop-more__title { margin-bottom: 1rem; }
}
@media (max-width: 600px) {
  .prop-head { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 1.5rem; }
  .prop-main, .prop-details .prop-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .prop-place { font-size: 1rem; }
  .btn-whatsapp { font-size: .9rem; }
  .prop-details, .prop-more { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .prop-aside { position: static; padding-top: 0; }
  .prop-map { margin-top: 1.5rem; }
}
