/* ==========================================================================
   Imobiliária Caruaru — Design System "Endereço"
   Índigo do logo · casinhas vermelho/verde/azul · amarelo destaque
   Fontes: Unbounded (display) + Karla (texto)
   ========================================================================== */

:root {
  --bg: #F7F7FC;
  --bg-soft: #EFEFF8;
  --surface: #FFFFFF;
  --ink: #23233F;
  --ink-soft: #5A5A78;
  --indigo: #34347B;
  --indigo-deep: #262659;
  --indigo-soft: #E7E7F5;
  --red: #D93025;
  --green: #1E9E4A;
  --blue: #1E78D2;
  --yellow: #F7D308;
  --yellow-soft: #FDF3B8;
  --line: rgba(52, 52, 123, 0.14);
  --shadow: 0 18px 46px -16px rgba(38, 38, 89, 0.25);
  --shadow-soft: 0 10px 28px -14px rgba(38, 38, 89, 0.16);
  --r: 18px;
  --font-d: "Unbounded", system-ui, sans-serif;
  --font-b: "Karla", system-ui, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font-b); font-weight: 500;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1rem; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: 820px; }
::selection { background: var(--yellow); color: var(--indigo-deep); }
.text-center { text-align: center; }
.mt-xl { margin-top: 2.4rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------- Botões ----------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.6rem; border-radius: 12px;
  font-family: var(--font-d); font-weight: 600; font-size: .82rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--lg { padding: .95rem 2rem; font-size: .9rem; }
.btn--yellow { background: var(--yellow); color: var(--indigo-deep); box-shadow: 0 12px 26px -10px rgba(247, 211, 8, .7); }
.btn--yellow:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 16px 32px -10px rgba(247, 211, 8, .8); }
.btn--indigo { background: var(--indigo); color: #fff; box-shadow: 0 12px 26px -10px rgba(52, 52, 123, .5); }
.btn--indigo:hover { background: var(--indigo-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--indigo); background: #fff; }
.btn--ghost:hover { border-color: var(--indigo); transform: translateY(-2px); }

/* ------------------------------- Header ----------------------------------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 60; transition: background .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(247, 247, 252, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--shadow-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.06; }
.brand__top { font-size: .78rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }
.brand__name {
  font-family: var(--font-d); font-weight: 800; font-size: 1.06rem; letter-spacing: .02em;
  color: var(--indigo); background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
  width: fit-content; padding-right: .15rem;
}
.brand__creci { font-size: .6rem; font-weight: 800; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.5rem); }
.nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; font-weight: 700; color: var(--ink-soft);
  position: relative; padding-block: .3rem; transition: color .25s ease;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--blue)); transition: width .3s ease;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--indigo); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: .4rem; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--indigo); margin: 4px auto; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-block: 1px solid var(--line); box-shadow: var(--shadow); padding: .6rem 1.2rem 1.2rem; transform: translateY(-140%); transition: transform .35s ease; }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: .9rem 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* -------------------------------- Hero ------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(8rem, 15vh, 10.5rem) 0 clamp(3.2rem, 7vh, 4.6rem);
  background:
    radial-gradient(700px 400px at 88% -10%, rgba(30, 120, 210, .35), transparent 60%),
    radial-gradient(560px 380px at -5% 110%, rgba(217, 48, 37, .28), transparent 60%),
    linear-gradient(150deg, var(--indigo-deep), var(--indigo));
}
.hero__house { position: absolute; width: 130px; height: 130px; opacity: .14; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 30 L32 8 L56 30 V56 H8 Z' fill='none' stroke='white' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero__house--a { top: 14%; right: 6%; transform: rotate(8deg); }
.hero__house--b { bottom: 8%; left: 3%; width: 90px; height: 90px; transform: rotate(-10deg); }
.hero__content { max-width: 780px; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff;
  padding: .42rem 1rem; margin: 0 0 1.3rem;
}
.hero__title { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.3rem); letter-spacing: -.01em; margin-bottom: 1rem; }
.hero__title em, .section__title em, .page-hero__title em {
  font-style: normal; color: inherit; padding: 0 .2rem;
  background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 94%, transparent 94%);
}
.hero__title em { color: #fff; background: linear-gradient(transparent 52%, rgba(247, 211, 8, .55) 52%, rgba(247, 211, 8, .55) 94%, transparent 94%); }
.hero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .85); max-width: 36rem; margin-bottom: 1.6rem; }

.search {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; align-items: end;
  background: #fff; border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow);
  margin-bottom: 1.8rem;
}
.search__field { display: grid; gap: .3rem; }
.search__field label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.search__field select {
  font: inherit; font-weight: 700; color: var(--ink); background: var(--bg);
  border: 2px solid var(--line); border-radius: 10px; padding: .7rem .8rem; width: 100%;
}
.search__field select:focus { outline: none; border-color: var(--indigo); }
.search__btn { white-space: nowrap; }

.stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(1rem, 3vw, 2.4rem); margin: 0; padding: 1.2rem 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-d); font-weight: 700; font-size: 1.5rem; color: var(--yellow); margin: 0; }
.stat__label { font-size: .78rem; color: rgba(255, 255, 255, .75); }

/* ------------------------------- Seções ------------------------------------ */
.section { padding: clamp(3.4rem, 9vh, 5.6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(2rem, 5vh, 3.2rem) 0; }
.section__head { max-width: 680px; margin: 0 auto clamp(1.8rem, 5vh, 2.8rem); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 .7rem; color: var(--indigo);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; opacity: .35; }
.eyebrow--red { color: var(--red); } .eyebrow--green { color: var(--green); }
.eyebrow--blue { color: var(--blue); } .eyebrow--yellow { color: #B89C00; }
.section__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--indigo-deep); margin-bottom: .8rem; }
.section__title--sm { font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin-bottom: 1rem; }
.section__sub { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

/* --------------------------- Cards de imóvel -------------------------------- */
.grid-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.prop {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prop:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(52, 52, 123, .35); }
.prop__media { position: relative; display: block; overflow: hidden; }
.prop__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .55s ease; }
.prop:hover .prop__media img { transform: scale(1.06); }
.prop__chip {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2;
  font-family: var(--font-d); font-weight: 600; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; padding: .3rem .7rem; border-radius: 8px;
}
.prop__chip--venda { background: var(--green); }
.prop__chip--aluguel { background: var(--blue); }
.prop__badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--yellow); color: var(--indigo-deep);
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 8px;
}
.prop__sold {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(38, 38, 89, .55); color: #fff;
  font-family: var(--font-d); font-weight: 800; font-size: 1.2rem; letter-spacing: .2em;
}
.prop__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.prop__meta { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.prop__title { font-size: 1.05rem; font-weight: 800; line-height: 1.3; margin-bottom: .6rem; }
.prop__title a { text-decoration: none; color: var(--ink); }
.prop__title a:hover { color: var(--indigo); }
.prop__feats { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--ink-soft); margin-bottom: .9rem; }
.prop__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.prop__price { font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; color: var(--indigo); }
.prop__price small { font-family: var(--font-b); font-weight: 700; font-size: .72rem; color: var(--ink-soft); }
.prop__cta { font-size: .82rem; font-weight: 800; color: var(--green); transition: transform .25s ease; }
.prop:hover .prop__cta { transform: translateX(4px); }
.props-empty { text-align: center; color: var(--ink-soft); padding: 2rem 0; }

/* ------------------------------ Filtros ------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.filters + .grid-props { margin-top: 1.4rem; }
.chip {
  font-family: var(--font-d); font-weight: 600; font-size: .72rem; letter-spacing: .04em;
  background: #fff; color: var(--ink-soft); border: 2px solid var(--line); border-radius: 999px;
  padding: .5rem 1.05rem; cursor: pointer; transition: all .25s ease;
}
.chip:hover { border-color: var(--indigo); color: var(--indigo); }
.chip[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chip--venda[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.chip--aluguel[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }

/* ------------------------------ Serviços ------------------------------------ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.svc {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.5rem 1.6rem; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; }
.svc--c0::before { background: var(--red); } .svc--c1::before { background: var(--green); }
.svc--c2::before { background: var(--blue); } .svc--c3::before { background: var(--yellow); }
.svc:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.svc__num { font-family: var(--font-d); font-weight: 800; font-size: 1.9rem; color: var(--indigo-soft); display: block; line-height: 1; margin-bottom: .55rem; }
.svc--c0 .svc__num { color: #F8D7D3; } .svc--c1 .svc__num { color: #D3EDDC; }
.svc--c2 .svc__num { color: #D3E5F8; } .svc--c3 .svc__num { color: #F8EFC0; }
.svc__title { font-family: var(--font-d); font-weight: 600; font-size: 1rem; color: var(--indigo-deep); margin-bottom: .5rem; }
.svc__text { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* -------------------------------- Split ------------------------------------- */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.2rem, 6vw, 4.2rem); align-items: center; }
.split__visual { position: relative; justify-self: center; }
.split__photo { margin: 0; width: min(460px, 84vw); }
.split__photo img { width: 100%; aspect-ratio: 5 / 5.6; object-fit: cover; border-radius: 24px 80px 24px 24px; border: 6px solid #fff; box-shadow: var(--shadow); }
.split__badge {
  position: absolute; left: -14px; bottom: -14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--yellow); color: var(--indigo-deep);
  font-family: var(--font-d); font-weight: 800; font-size: .95rem; line-height: 1.1;
  box-shadow: var(--shadow-soft); border: 5px solid #fff; transform: rotate(-6deg);
}
.split__badge b { font-size: .6rem; letter-spacing: .14em; }
.split__content .section__title, .split__content .section__sub { text-align: left; }
.list-check { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .65rem; }
.list-check li { display: flex; align-items: center; gap: .65rem; font-size: .97rem; font-weight: 700; color: var(--ink); }
.list-check svg { color: var(--green); flex: none; }

/* ----------------------------- Depoimentos ----------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-soft); padding: 1.5rem; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.quote__stars { color: var(--yellow); letter-spacing: .2em; font-size: .85rem; text-shadow: 0 1px 0 rgba(0,0,0,.1); }
.quote__text { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.55; color: var(--ink); }
.quote__author { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; font-weight: 800; font-size: .82rem; flex: none; }
.quote__name { font-weight: 800; font-size: .92rem; color: var(--indigo-deep); }
.quote__role { font-size: .8rem; color: var(--ink-soft); }

/* --------------------------------- Blog -------------------------------------- */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.4rem; }
.post-card__date { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.post-card__title { font-family: var(--font-d); font-weight: 600; font-size: .98rem; line-height: 1.3; margin-bottom: .5rem; }
.post-card__title a { text-decoration: none; color: var(--indigo-deep); }
.post-card__title a:hover { color: var(--indigo); }
.post-card__excerpt { color: var(--ink-soft); font-size: .9rem; margin-bottom: .9rem; }
.post-card__more { margin-top: auto; align-self: flex-start; text-decoration: none; font-weight: 800; font-size: .85rem; color: var(--green); transition: transform .25s ease; }
.post-card__more:hover { transform: translateX(4px); }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); }

/* Páginas internas (catálogo/blog/post) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(7.6rem, 14vh, 9.4rem) 0 clamp(2.6rem, 6vh, 4rem);
  background:
    radial-gradient(700px 380px at 85% -10%, rgba(30, 120, 210, .35), transparent 60%),
    linear-gradient(150deg, var(--indigo-deep), var(--indigo));
}
.page-hero__title { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: .6rem; }
.page-hero__title em { color: #fff; background: linear-gradient(transparent 52%, rgba(247, 211, 8, .55) 52%, rgba(247, 211, 8, .55) 94%, transparent 94%); }
.page-hero__lead { color: rgba(255, 255, 255, .85); max-width: 42rem; margin: 0; }
.hero__bubble, .wave-divider, .footer__wave { display: none; }
.breadcrumb { font-size: .84rem; margin-bottom: 1.1rem; opacity: .9; }
.breadcrumb a { text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .55; margin-inline: .25rem; }
.breadcrumb b { font-weight: 800; }
.breadcrumb--dark { color: var(--ink-soft); }
.breadcrumb--dark b { color: var(--indigo-deep); }

.post__head { padding: clamp(7.6rem, 14vh, 8.8rem) 0 1.2rem; }
.post__head .breadcrumb { color: var(--ink-soft); }
.post__date { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: .5rem; }
.post__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.6rem, 3.8vw, 2.4rem); color: var(--indigo-deep); margin-bottom: .7rem; }
.post__excerpt { font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 1.3rem; }
.post__cover { margin: 0 0 1.6rem; }
.post__cover img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-soft); }
.post__content { font-size: 1.03rem; color: var(--ink); }
.post__content p { margin-bottom: 1.1rem; }
.post__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.8rem 0 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-soft); padding: 1.3rem 1.5rem; }
.post__cta p { margin: 0; max-width: 32rem; }
.post__back { margin: 0 0 3rem; }
.post__back a { text-decoration: none; font-weight: 800; color: var(--indigo); }
.post__back a:hover { color: var(--blue); }
.footer__bottom--single { border-top: 0; padding-top: 1.6rem; }

/* --------------------------- Página do imóvel -------------------------------- */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; padding-bottom: 1rem; }
.pdp__main { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.pdp__main img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.pdp-thumb { width: 76px; height: 58px; border-radius: 10px; border: 2.5px solid var(--line); background-size: cover; background-position: center; cursor: pointer; transition: border-color .25s ease, transform .25s ease; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb:hover, .pdp-thumb[aria-pressed="true"] { border-color: var(--indigo); }
.pdp__cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pdp__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--indigo-deep); margin: .3rem 0 .6rem; }
.pdp__price { font-family: var(--font-d); font-weight: 800; font-size: 1.7rem; color: var(--indigo); margin-bottom: .9rem; }
.pdp__price small { font-family: var(--font-b); font-weight: 700; font-size: .85rem; color: var(--ink-soft); }
.pdp__desc { color: var(--ink-soft); }
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.1rem 0 1.2rem; }
.ficha__item { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .9rem; font-size: .9rem; }
.ficha__item span { font-size: 1.05rem; }
.ficha__item b { font-weight: 800; color: var(--indigo-deep); }
.pdp__buy { display: flex; flex-wrap: wrap; gap: .8rem; margin: .4rem 0 .9rem; }
.pdp__soldout { width: 100%; font-weight: 800; color: var(--red); }
.pdp__note { font-size: .85rem; color: var(--ink-soft); background: var(--yellow-soft); border-radius: 10px; padding: .6rem .9rem; display: inline-block; }
.map-embed { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--r); }

/* ------------------------------- Contato -------------------------------------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.contact__form { display: grid; gap: 1.05rem; padding: 2rem 1.8rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field label { font-size: .84rem; font-weight: 800; color: var(--indigo-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px;
  padding: .78rem 1rem; width: 100%; transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(52, 52, 123, .12); }
.contact__submit { width: 100%; }
.contact__privacy { text-align: center; font-size: .8rem; color: var(--ink-soft); margin: 0; }
.contact__aside { display: grid; gap: 1rem; }
.contact__list { list-style: none; margin: 0; padding: 1.2rem 1.4rem; display: grid; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.contact__list a, .contact__list span { text-decoration: none; font-weight: 700; color: var(--ink); font-size: .95rem; }
.contact__list a:hover { color: var(--indigo); }
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { width: 100%; height: 230px; border: 0; display: block; }
.map-card__note { margin: 0; padding: .8rem 1.2rem; font-size: .84rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* -------------------------------- Footer --------------------------------------- */
.footer { background: linear-gradient(160deg, var(--indigo-deep), #1D1D45); color: rgba(255, 255, 255, .8); margin-top: clamp(2.4rem, 6vh, 3.6rem); }
.footer .brand__top, .footer .brand__creci { color: rgba(255, 255, 255, .65); }
.footer .brand__name { color: var(--indigo-deep); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: clamp(1.8rem, 5vw, 3.4rem); padding: clamp(2.6rem, 7vh, 3.8rem) 0 1.8rem; }
.footer__tagline { margin: 1rem 0 0; font-size: .93rem; max-width: 30rem; color: rgba(255, 255, 255, .65); }
.footer__heading { font-family: var(--font-d); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin: 0 0 .9rem; }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a, .footer__list a, .footer__list span { text-decoration: none; padding: .26rem 0; font-size: .92rem; color: rgba(255, 255, 255, .78); transition: color .25s ease, transform .25s ease; width: fit-content; display: inline-block; }
.footer__nav a:hover, .footer__list a:hover { color: var(--yellow); transform: translateX(4px); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0 1.6rem; font-size: .82rem; }
.footer__bottom p { margin: 0; color: rgba(255, 255, 255, .55); }
.footer__bottom p a { color: rgba(255, 255, 255, .75); }
.dev-credit { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: rgba(255, 255, 255, .55); font-size: .8rem; transition: color .3s ease; }
.dev-credit svg { opacity: .7; transition: opacity .3s ease, transform .3s ease; }
.dev-credit b { font-weight: 700; }
.dev-credit:hover { color: var(--yellow); }
.dev-credit:hover svg { opacity: 1; transform: translateY(-2px); }

/* ------------------------------ FAB + Toast ------------------------------------ */
.wa-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 70;
  display: flex; align-items: center; gap: .55rem;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 999px; padding: .85rem 1.15rem; font-weight: 800; font-size: .9rem;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .6);
  transition: transform .25s ease;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.03); }
.wa-fab__icon { width: 22px; height: 22px; }
@media (max-width: 640px) { .wa-fab__label { display: none; } .wa-fab { padding: .9rem; } }
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); z-index: 95;
  background: var(--indigo-deep); color: #fff; font-size: .9rem; font-weight: 700;
  padding: .8rem 1.4rem; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ====================== EFEITOS PREMIUM (Awwwards mode) ====================== */

/* Barra de progresso de scroll — as 4 cores do logo */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Cursor customizado (só em ponteiro fino) */
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 8px; height: 8px; background: var(--indigo); transform: translate(-50%, -50%); }
  .cursor-ring {
    width: 38px; height: 38px; border: 2px solid rgba(52, 52, 123, .45);
    transform: translate(-50%, -50%); transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
  }
  body.cursor-on .cursor-ring { background: rgba(247, 211, 8, .18); border-color: var(--yellow); width: 56px; height: 56px; }
  body.cursor-on .cursor-dot { background: var(--yellow); }
  .hero .cursor-ring { border-color: rgba(255, 255, 255, .5); }
}

/* Reveal do título palavra a palavra (máscara + stagger) */
.w-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w-word { display: inline-block; transform: translateY(110%); transition: transform .75s cubic-bezier(.2, .7, .2, 1); }
.w-mask.is-in .w-word { transform: none; }

/* Shimmer no marca-texto amarelo do hero */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.hero__title em {
  background-image: linear-gradient(transparent 52%, rgba(247, 211, 8, .55) 52%, rgba(247, 211, 8, .55) 94%, transparent 94%),
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  background-size: 100% 100%, 200% 100%; background-repeat: no-repeat;
  animation: shimmer 3.5s ease-in-out 1.2s 2;
}

/* Tilt 3D nos cards de imóvel + brilho varrendo */
.prop { transform-style: preserve-3d; will-change: transform; }
.prop.is-tilting { transition: none; }
.prop__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%);
  transform: translateX(-120%);
}
.prop:hover .prop__media::after { transition: transform .8s ease; transform: translateX(120%); }

/* Botões magnéticos */
.btn { will-change: transform; }

/* Parallax + flutuação das casinhas do hero */
@keyframes float-house { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero__house { animation: float-house 7s ease-in-out infinite; transition: transform .2s ease-out; will-change: transform; }
.hero__house--b { animation-delay: 2.2s; }

/* Marquee de bairros — texto outline gigante */
.bairros { overflow: hidden; padding: 1.1rem 0; background: var(--surface); border-block: 1px solid var(--line); }
.bairros__track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: bairros-scroll 36s linear infinite; }
.bairros__item {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1.5px rgba(52, 52, 123, .4);
  transition: color .3s ease;
}
.bairros__track:hover .bairros__item { -webkit-text-stroke-color: rgba(52, 52, 123, .7); }
.bairros__dot { width: 12px; height: 12px; border-radius: 3px; flex: none; transform: rotate(45deg); }
.bairros__dot--red { background: var(--red); } .bairros__dot--green { background: var(--green); }
.bairros__dot--blue { background: var(--blue); } .bairros__dot--yellow { background: var(--yellow); }
@keyframes bairros-scroll { to { transform: translateX(-50%); } }

/* Explosão de casinhas ao converter */
.burst-bit { position: fixed; z-index: 400; pointer-events: none; font-size: 1.3rem; will-change: transform, opacity; }
@keyframes burst {
  0% { transform: translate(-50%, -50%) scale(.4) rotate(0); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1.15) rotate(var(--br)); opacity: 0; }
}

/* Entrada dos chips de filtro em cascata */
.filters .chip { animation: chip-in .5s ease backwards; }
.filters .chip:nth-child(2) { animation-delay: .06s; } .filters .chip:nth-child(3) { animation-delay: .12s; }
.filters .chip:nth-child(4) { animation-delay: .18s; } .filters .chip:nth-child(5) { animation-delay: .24s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .cursor-dot, .cursor-ring, .burst-bit { display: none !important; }
  .hero__house, .bairros__track, .hero__title em, .filters .chip { animation: none !important; }
  .w-word { transform: none !important; transition: none !important; }
}

/* ------------------------------ Responsivo ------------------------------------- */
@media (max-width: 1020px) {
  .grid-props, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .pdp, .contact { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr 1fr; }
  .search__btn { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, auto); gap: 1rem 2.4rem; }
}
@media (max-width: 640px) {
  .grid-props, .grid-3, .grid-4, .field-row, .ficha, .search { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .post__cta { flex-direction: column; align-items: flex-start; }
}
