/*
 * Página inicial do site To You (carrega depois de site.css e motion.css, só na home).
 * Regras: sem JavaScript ou com "reduzir movimento" cada coisa aparece pronta; o que depende de JavaScript começa em ".hv-js"
 * (classe que o home.js põe no <html>). Nada de estilo inline no HTML: posições e atrasos de cada item ficam aqui, por nth-child.
 * A marca (símbolo, U e sorriso) só é posicionada, ampliada, esmaecida ou recortada: nunca recolorida nem redesenhada.
 */
@property --hang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --hv-navy: #010066;
  --hv-or: #ff6201;
  --hv-ink: #b84600;
  --hv-muted: #4a4a72;
  --hv-soft: #f4f4fa;
  --hv-line: #d5d5e8;
}

/* ------------------------------------------------------------------ marcas de seção */
.hv-wrap { max-width: 1440px; margin: 0 auto; padding-left: 80px; padding-right: 80px; }
.hv-sec { padding-top: 96px; padding-bottom: 96px; }
.hv-eb { margin: 0; font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--hv-ink); text-transform: uppercase; }
.hv-eb-light { color: #ff8a3d; }
.hv-h2 { margin: 8px 0 0; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--hv-navy); }
.hv-h2 em { font-style: normal; color: var(--hv-ink); }
.hv-h2-light { color: #fff; }
.hv-h2-light em { color: var(--hv-or); }
.hv-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--hv-muted); max-width: none; }
.hv-lead-light { color: #dcdcf5; }
.hv-ico { flex: none; }
.hv-only-m { display: none !important; }

/* ------------------------------------------------------------------ botões: borda que gira devagar e brilho que passa de tempos em tempos */
.hbtn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; --d: 0s; --s: 3s;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.hbtn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--hang), transparent 0 60%, rgba(255, 255, 255, .6) 78%, rgba(255, 210, 179, .45) 85%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.hbtn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%);
}
.hbtn-lg { min-height: 52px; padding: 15px 28px; font-size: 16px; }
.hbtn-square { border-radius: 14px; }
.hbtn-orange { background: var(--hv-or); color: var(--hv-navy); }
.hbtn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); font-weight: 600; }
.hbtn-ghost::before { background: conic-gradient(from var(--hang), transparent 0 60%, rgba(255, 98, 1, .7) 78%, rgba(255, 210, 179, .5) 85%, transparent 96%); }
.hbtn-light { background: transparent; color: var(--hv-navy); border-color: rgba(1, 0, 102, .22); }
.hbtn-light::before { background: conic-gradient(from var(--hang), transparent 0 60%, rgba(1, 0, 102, .55) 78%, rgba(255, 98, 1, .5) 85%, transparent 96%); }
.hbtn-navy { background: var(--hv-navy); color: #fff; }
.hbtn-wa { background: var(--hv-or); color: #fff; font-size: 14px; padding: 12px 20px; min-height: 44px; }
/* passar o mouse: fundo azul, texto branco e um aro fino laranja */
.hbtn:hover, .hbtn:focus-visible { background: var(--hv-navy); color: #fff; border-color: var(--hv-navy); box-shadow: 0 0 0 2px rgba(255, 98, 1, .85); }
.hbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hbtn-d1 { --d: -5s; --s: 3s; } .hbtn-d2 { --d: -7.5s; --s: 8.5s; } .hbtn-d3 { --d: -3.5s; --s: 4.5s; }
.hbtn-d4 { --d: -1s; --s: 6.5s; } .hbtn-d5 { --d: -2s; --s: 9.5s; } .hbtn-d6 { --d: -4s; --s: 5s; }
@media (prefers-reduced-motion: no-preference) {
  .hbtn::before { animation: hbSpin 9s linear infinite; animation-delay: var(--d); }
  .hbtn::after { animation: hbShine 11s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: var(--s); }
}
@media (prefers-reduced-motion: reduce) { .hbtn::before, .hbtn::after { display: none; } }
@keyframes hbSpin { to { --hang: 360deg; } }
@keyframes hbShine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* ------------------------------------------------------------------ topo (hero) */
.hv { position: relative; isolation: isolate; background: var(--hv-navy); color: #fff; overflow-x: clip; }
.hv :focus-visible, .hl :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hv .hf :focus-visible { outline-color: var(--hv-navy); }
.hv-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hv-aur { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 18% 88%, rgba(255, 98, 1, .26), transparent 70%), radial-gradient(45% 55% at 86% 18%, rgba(64, 64, 214, .55), transparent 70%), radial-gradient(35% 45% at 62% 72%, rgba(30, 30, 170, .5), transparent 70%); }
.hv-est { position: absolute; inset: -80px; background: url("img/estampa.png") 0 0 / 640px auto repeat; opacity: .05; }
/* Brilhos aleatórios: duas camadas (::before / ::after) com a estampa realçada, cada uma com 2 pontos de luz (máscaras radiais).
   O home.js/motion.js troca as posições (--gx1.. e --hx1..) a cada 3 a 5 s e alterna .g-a / .g-b, então uma entra enquanto a outra sai. */
.hv-wave { background: none; opacity: 1; --gr: 260px; }
.hv-wave::before, .hv-wave::after {
  content: ""; position: absolute; inset: 0; background: url("img/estampa.png") 0 0 / 640px auto repeat; opacity: 0;
  -webkit-mask-image: radial-gradient(circle var(--gr) at var(--gx1, 30%) var(--gy1, 40%), #000 0, transparent 100%), radial-gradient(circle var(--gr) at var(--gx2, 70%) var(--gy2, 60%), #000 0, transparent 100%);
  mask-image: radial-gradient(circle var(--gr) at var(--gx1, 30%) var(--gy1, 40%), #000 0, transparent 100%), radial-gradient(circle var(--gr) at var(--gx2, 70%) var(--gy2, 60%), #000 0, transparent 100%);
}
.hv-wave::after { --gx1: var(--hx1, 60%); --gy1: var(--hy1, 40%); --gx2: var(--hx2, 20%); --gy2: var(--hy2, 60%); }
@media (max-width: 700px) { .hv-wave { --gr: 170px; } }
.hv-vig { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 40, .55) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hv-aur { animation: hvAur 18s ease-in-out infinite alternate; }
  .hv-est { animation: hvEstIn 1.6s ease .3s backwards, hvDrift 40s ease-in-out infinite alternate; }
  .hv-wave { animation: hvDrift 40s ease-in-out infinite alternate; }
  .hv-wave::before, .hv-wave::after { transition: opacity 2.2s ease-in-out; }
  .hv-wave.g-a::before, .hv-wave.g-b::after { opacity: .22; }
  .is-off .hv-aur, .is-off .hv-est, .is-off .hv-wave { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .hv-wave { opacity: 0; } }
@keyframes hvAur { to { transform: translate(-4%, 3%) rotate(6deg); } }
@keyframes hvDrift { to { translate: -40px 24px; } }
@keyframes hvEstIn { from { opacity: 0; } }

.hv-in {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 44px 80px 40px; display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text new" "search search"; column-gap: 24px; row-gap: 40px;
}
.hv-nostage .hv-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "search"; }
.hv-text { grid-area: text; min-width: 0; padding-top: 28px; }
.hv-new { grid-area: new; min-width: 0; }
.hv-search { grid-area: search; min-width: 0; position: relative; z-index: 6; }

.hv-eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .22em; font-weight: 600; color: #ff8a3d; text-transform: uppercase; }
.hv-type { display: inline-block; max-width: 100%; }
.hv-type-m { display: none; }
.hv-h1 { margin: 0; font-size: clamp(36px, 4.9vw, 70px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: #fff; max-width: none; }
.hv-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hv-w { display: inline-block; }
.hv-or { color: var(--hv-or); }
.hv-rot { position: relative; display: inline-grid; margin-top: .12em; padding: .1em .32em .16em; min-width: 6.4em; overflow: hidden; border-radius: .18em; }
.hv-rot::before { content: ""; position: absolute; inset: 0; background: var(--hv-or); border-radius: .18em; transform-origin: left; }
.hv-rw { grid-area: 1 / 1; position: relative; color: var(--hv-navy); white-space: nowrap; opacity: 0; }
.hv-rw1 { opacity: 1; }
.hv-lead.hv-fade { margin-top: 22px; max-width: 520px; font-size: 18px; font-weight: 400; color: #dcdcf5; }
.hv-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hv-type { clip-path: inset(0 100% 0 0); animation: hvType 1.1s steps(46) .3s forwards; }
  .hv-type-m { animation-duration: .7s; animation-timing-function: steps(22); }
  .hv-w { opacity: 0; transform: translateY(40%); animation: hvUp 1.2s cubic-bezier(.22, 1, .36, 1) forwards; }
  .hv-w1 { animation-delay: .45s; } .hv-w2 { animation-delay: .6s; }
  .hv-rot::before { transform: scaleX(0); animation: hvBar .9s cubic-bezier(.6, 0, .2, 1) 1s forwards; }
  .hv-rw { transform: translateY(35%); filter: blur(6px); animation: hvRot 14s cubic-bezier(.33, 0, .15, 1) infinite; }
  .hv-rw1 { animation-delay: 1.2s; } .hv-rw2 { animation-delay: 4.7s; } .hv-rw3 { animation-delay: 8.2s; } .hv-rw4 { animation-delay: 11.7s; }
  .hv-fade { opacity: 0; transform: translateY(20px); animation: hvFade .9s ease forwards; }
  .hv-fade1 { animation-delay: 1s; } .hv-fade2 { animation-delay: 1.2s; }
  .hv-search .hf { animation: hvBar2 .9s cubic-bezier(.2, .9, .2, 1) .9s backwards; }
}
@keyframes hvType { to { clip-path: inset(0 0 0 0); } }
@keyframes hvUp { to { opacity: 1; transform: none; } }
@keyframes hvBar { to { transform: scaleX(1); } }
@keyframes hvRot { 0% { opacity: 0; transform: translateY(35%); filter: blur(6px); } 5%, 22% { opacity: 1; transform: none; filter: blur(0); } 27%, 100% { opacity: 0; transform: translateY(-35%); filter: blur(6px); } }
@keyframes hvFade { to { opacity: 1; transform: none; } }
@keyframes hvBar2 { from { opacity: 0; transform: translateY(40px); } }

/* ---------- barra de filtros ---------- */
.hf { background: rgba(255, 255, 255, .97); color: var(--hv-navy); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); padding: 18px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.hf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.hf-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-chip { position: relative; display: inline-flex; }
.hf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hf-chip span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--hv-line); background: #fff; color: var(--hv-navy); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hf-chip-s span { padding: 8px 14px; }
.hf-chip:hover span { border-color: var(--hv-navy); }
.hf-chip input:checked + span { background: var(--hv-navy); border-color: var(--hv-navy); color: #fff; }
.hf-chip input:focus-visible + span { outline: 3px solid var(--hv-navy); outline-offset: 2px; }
.hf-chip-link:hover { color: var(--hv-navy); }
.hf-code { display: flex; align-items: center; gap: 10px; }
.hf-code label { font-size: 14px; font-weight: 600; }
.hf-code .ctl { width: 110px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border-color: var(--hv-line); }
.hf-codebtn { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--hv-navy); background: var(--hv-navy); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hf-codebtn:hover { background: #1a1a7a; }
.hf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hf .ctl { border-radius: 12px; border-color: var(--hv-line); }
.hf .lbl { color: var(--hv-muted); }
.hf-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 22px; }
.hf-beds, .hf-area { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hf-beds .lbl, .hf-area .lbl { float: none; line-height: 1.2; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-area .ctl { width: 90px; }
.hf-submit { margin-left: auto; min-width: 200px; font-weight: 800; font-size: 17px; }
.hf-more { display: none; }
.hf .ms-panel { z-index: 40; }

/* ---------- vitrine: símbolo -> janela -> 4 imóveis mais novos ---------- */
.hs { position: relative; width: 518px; height: 561px; --k: .204; --u: 1.85s; --wn: 2.6s; --out: 4.5s; }
.hs-cards { list-style: none; margin: 0; padding: 0; }
.hs-card {
  position: absolute; width: 250px; height: 250px; border-radius: 30px; overflow: hidden; background: #fff; isolation: isolate; transform-origin: 0 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
}
.hs-card:nth-child(1) { left: 0; top: 0; --dx: 160px; --dy: 56px; --cd: 2.65s; --td: 5.85s; }
.hs-card:nth-child(2) { left: 268px; top: 0; --dx: -45px; --dy: 56px; --cd: 2.73s; --td: 6s; }
.hs-card:nth-child(3) { left: 0; top: 268px; --dx: 160px; --dy: -149px; --cd: 2.81s; --td: 6.15s; }
.hs-card:nth-child(4) { left: 268px; top: 268px; --dx: -45px; --dy: -149px; --cd: 2.89s; --td: 6.3s; }
.hs-link { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--hv-navy); text-decoration: none; }
.hs-link:hover { color: var(--hv-navy); }
.hv .hs-link:focus-visible { outline: 3px solid var(--hv-or); outline-offset: -3px; border-radius: inherit; }
.hs-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #1a1a7a; }
.hs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-badge { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--hv-or); color: var(--hv-navy); font-size: 11px; font-weight: 700; }
.hs-info { display: block; padding: 12px 14px 13px; background: #fff; }
.hs-info b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--hv-muted); }
.hs-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-meta em { font-style: normal; font-weight: 700; color: var(--hv-navy); white-space: nowrap; }
.hs-sym, .hs-tint { display: none; }
.hs-sym { position: absolute; inset: 0; pointer-events: none; transform-origin: 217px 113px; }
/* Símbolo em 3D: caixa do símbolo inteiro (616x916) com perspectiva; dentro, a rotação, a espessura (cópias escurecidas atrás) e a face da frente (as imagens originais) */
.hs-persp { position: absolute; left: 30px; top: 0; width: 377px; aspect-ratio: 616 / 916; perspective: 1200px; perspective-origin: 50% 50%; }
.hs-rot { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%; }
.hs-d, .hs-face { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.hs-d { --i: 1; transform: translateZ(calc(var(--i) * -1px)); filter: brightness(calc(.62 - var(--i) * .027)); }
.hs-d:nth-child(2) { --i: 2; } .hs-d:nth-child(3) { --i: 3; } .hs-d:nth-child(4) { --i: 4; } .hs-d:nth-child(5) { --i: 5; }
.hs-d:nth-child(6) { --i: 6; } .hs-d:nth-child(7) { --i: 7; } .hs-d:nth-child(8) { --i: 8; } .hs-d:nth-child(9) { --i: 9; } .hs-d:nth-child(10) { --i: 10; }
.hs-uw { position: absolute; left: 0; top: 0; width: 100%; height: 69.65%; }
.hs-u, .hs-smile { position: absolute; left: 0; width: 100%; height: auto; max-width: none; }
.hs-u { top: 0; }
.hs-smile { top: 69.65%; }
/* as 4 janelas laranja do símbolo (caixas medidas em simbolo-u.png, 616x638) */
.hs-wn { position: absolute; width: 13.31%; height: 12.7%; opacity: 0; pointer-events: none; }
.hs-wn1 { left: 34.25%; top: 14.26%; } .hs-wn2 { left: 52.6%; top: 14.26%; width: 13.15%; } .hs-wn3 { left: 34.25%; top: 31.82%; } .hs-wn4 { left: 52.6%; top: 31.82%; width: 13.15%; }
.hs-wn::before, .hs-wn::after { content: ""; position: absolute; pointer-events: none; }
.hs-wn::before { inset: 0; border-radius: 22%; background: radial-gradient(closest-side, rgba(255, 236, 210, .95), rgba(255, 140, 50, .55) 70%, rgba(255, 98, 1, 0)); }
.hs-wn::after { inset: -85%; background: radial-gradient(closest-side, rgba(255, 150, 70, .5), rgba(255, 98, 1, 0) 100%); }
.hs-shade, .hs-shine { position: absolute; inset: 0; opacity: 0; pointer-events: none; overflow: hidden; -webkit-mask: url("/assets/img/simbolo.png") 0 0 / 100% 100% no-repeat; mask: url("/assets/img/simbolo.png") 0 0 / 100% 100% no-repeat; }
.hs-shade { background: linear-gradient(100deg, rgba(8, 8, 90, .75), rgba(8, 8, 90, .15) 70%); }
.hs-shine::before { content: ""; position: absolute; left: 0; top: -10%; width: 65%; height: 120%; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 70%); transform: translateX(-100%); }
.hs-floor { position: absolute; left: 12%; width: 76%; top: 92%; height: 9%; opacity: 0; background: radial-gradient(closest-side, rgba(255, 120, 40, .4), rgba(255, 98, 1, .12) 60%, rgba(255, 98, 1, 0)); }
.hs-tint { position: absolute; inset: 0; z-index: 4; background: var(--hv-or); pointer-events: none; }
.hv-newhead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.hv-h2s { margin: 4px 0 0; font-size: 24px; font-weight: 700; color: #fff; }
.hv-all { display: none; }
.hv-burstclip { position: absolute; inset: 0; z-index: 20; overflow: hidden; pointer-events: none; display: none; }
.hv-bgin { max-width: 1440px; height: 100%; margin: 0 auto; padding: 44px 80px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-content: start; }
.hv-bgstage { grid-column: 2; position: relative; width: 518px; height: 561px; }
.hs-burst { position: absolute; left: 217px; top: 113px; width: 3200px; height: 3200px; margin: -1600px 0 0 -1600px; border-radius: 50%; background: var(--hv-or); transform: scale(0); }

@media (prefers-reduced-motion: no-preference) {
  .hv-burstclip { display: block; }
  .hs-sym, .hs-tint { display: block; }
  .hs-card { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--k)); animation: hsCard 3.6s cubic-bezier(.65, 0, .2, 1) var(--cd) forwards; }
  .hs-tint { animation: hsOpen 1.1s cubic-bezier(.7, 0, .2, 1) var(--td) forwards; }
  .hs-sym { animation: hsSymOut 1.2s cubic-bezier(.6, 0, .2, 1) var(--out) forwards; }
  .hs-persp { opacity: 0; animation: hsFocus 1.2s cubic-bezier(.16, 1, .3, 1) var(--u) forwards; }
  .hs-rot { transform: rotateY(-75deg) rotateX(12deg) scale(.72); animation: hsSwing 1.2s cubic-bezier(.16, 1, .3, 1) var(--u) forwards; }
  .hs-d { animation: hsExt .3s ease-out calc(var(--u) + 1s) forwards; }
  .hs-shade { animation: hsShade 1.2s ease-out var(--u) forwards; }
  .hs-shine::before { animation: hsSheen .75s cubic-bezier(.4, 0, .2, 1) calc(var(--u) + .45s) forwards; }
  .hs-shine { animation: hsShineOn .75s linear calc(var(--u) + .45s) forwards; }
  .hs-floor { animation: hsFloor 1.2s cubic-bezier(.16, 1, .3, 1) var(--u) forwards; }
  .hs-wn { animation: hsWin .5s cubic-bezier(.3, 1.3, .5, 1) calc(var(--wn) + var(--n, 0) * .1s) forwards; }
  .hs-wn2 { --n: 1; } .hs-wn3 { --n: 2; } .hs-wn4 { --n: 3; }
  .hs.go:not(.done) .hs-rot, .hs.go:not(.done) .hs-persp { will-change: transform, opacity; }
  .hs.done .hs-sym { display: none; }
  .hs-burst { animation: hsBurst .65s cubic-bezier(.7, 0, .25, 1) forwards; }
  .hs-photo img { animation: hsKen 12s ease-in-out infinite alternate; }
  .hv-js .hs:not(.go) *, .hv-js .hs:not(.go) *::before { animation-play-state: paused; }
  .is-off .hs-photo img { animation-play-state: paused; }
}
@keyframes hsCard {
  0% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--k)); }
  6%, 25% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(var(--k)); }
  100% { opacity: 1; transform: none; }
}
@keyframes hsOpen { 80% { opacity: 1; } to { transform: translateY(-115%); opacity: 0; visibility: hidden; } }
@keyframes hsSwing { to { transform: none; } }
@keyframes hsFocus { 0% { opacity: 0; filter: blur(5px); } 25% { opacity: 1; } 45% { filter: blur(0); } 100% { opacity: 1; filter: none; } }
@keyframes hsExt { to { opacity: 0; visibility: hidden; } }
@keyframes hsShade { 0% { opacity: .85; } 60% { opacity: .35; } 100% { opacity: 0; } }
@keyframes hsShineOn { 0%, 100% { opacity: 0; } 10%, 85% { opacity: 1; } }
@keyframes hsSheen { to { transform: translateX(160%); } }
@keyframes hsFloor { 0% { opacity: 0; transform: scaleX(.5); } 100% { opacity: 1; transform: none; } }
@keyframes hsWin { 0% { opacity: 0; transform: scale(.7); } 40% { opacity: 1; transform: scale(1.2); } 100% { opacity: .6; transform: none; } }
@keyframes hsSymOut { 60% { opacity: 0; } to { opacity: 0; transform: scale(1.5); visibility: hidden; } }
@keyframes hsBurst { 0% { transform: scale(0); } 45% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes hsKen { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-3%, -2%); } }

/* ---------- telas de 900 a 1180: mesma composição, vitrine menor ---------- */
@media (max-width: 1180px) and (min-width: 900px) {
  .hv-in, .hv-bgin { padding-left: 40px; padding-right: 40px; }
  .hs, .hv-bgstage { zoom: .8; }
  .hv-h1 { font-size: clamp(36px, 4.4vw, 52px); }
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-wrap { padding-left: 40px; padding-right: 40px; }
}

/* ---------- celular e tablet: texto, busca compacta, depois a vitrine ---------- */
@media (max-width: 899px) {
  .hv-in { padding: 24px 20px 48px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "search" "new"; row-gap: 28px; }
  .hv-text { padding-top: 8px; }
  .hv-eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .18em; }
  .hv-type-d { display: none; }
  .hv-type-m { display: inline-block; }
  .hv-h1 { font-size: clamp(34px, 10.8vw, 56px); line-height: 1.1; }
  .hv-lead.hv-fade, .hv-only-d { display: none !important; }
  .hv-only-m { display: inline-flex !important; }
  .hv-cta { margin-top: 20px; }
  .hv-cta .hbtn { width: 100%; }
  .hv-burstclip { display: none !important; }

  .hv-search { width: 100%; max-width: 640px; margin: 0 auto; }
  .hf { padding: 18px; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
  .hf-top, .hf-grid, .hf-row { display: contents; }
  .hf-seg { order: 1; }
  .hf-grid > :nth-child(2) { order: 2; }
  .hf-grid > :nth-child(3) { order: 3; }
  .hf-grid > :nth-child(4) { order: 4; }
  .hf-submit { order: 5; margin-left: 0; width: 100%; min-width: 0; }
  .hf-more { order: 6; }
  .hf-grid > .hf-city { order: 7; }
  .hf-beds { order: 8; }
  .hf-area { order: 9; }
  .hf-code { order: 10; flex-wrap: wrap; }
  .hv-js .hf-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--hv-navy); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
  .hf-plus::before { content: "+"; font-size: 20px; line-height: 1; }
  .hf-more[aria-expanded="true"] .hf-plus::before { content: "\2013"; }
  .hv-js .hf:not(.is-more) .hf-x { display: none; }
  .hv-js .hf.is-more .hf-more { order: 5; }
  .hv-js .hf.is-more .hf-submit { order: 11; }
  .hf-code .ctl { flex: 1 1 110px; width: auto; }

  .hv-new { padding-top: 12px; }
  .hv-newhead { position: static; width: auto; height: auto; margin: 0 0 20px; overflow: visible; clip: auto; white-space: normal; }
  .hv-all { display: flex; margin-top: 24px; width: 100%; }

  .hs { width: 350px; height: 350px; margin: 0 auto; --k: .177; --u: .25s; --wn: 1.05s; --out: 2.9s; }
  .hs-card { width: 168px; height: 168px; border-radius: 22px; }
  .hs-card:nth-child(1) { left: 0; top: 0; --dx: 141px; --dy: 33px; --cd: 1.05s; --td: 4.25s; }
  .hs-card:nth-child(2) { left: 182px; top: 0; --dx: -4px; --dy: 33px; --cd: 1.13s; --td: 4.4s; }
  .hs-card:nth-child(3) { left: 0; top: 182px; --dx: 141px; --dy: -113px; --cd: 1.21s; --td: 4.55s; }
  .hs-card:nth-child(4) { left: 182px; top: 182px; --dx: -4px; --dy: -113px; --cd: 1.29s; --td: 4.7s; }
  .hs-sym { transform-origin: 175px 66px; }
  .hs-persp { left: 65px; width: 220px; }
  .hs-info { padding: 8px 10px 9px; }
  .hs-info b { font-size: 12px; }
  .hs-meta { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 2px; font-size: 10.5px; }
  .hs-meta > span { max-width: 100%; }
  .hs-badge { top: 8px; right: 8px; padding: 4px 8px; font-size: 9px; }
}
/* sequência em todas as telas (cerca de 3 s do início até as fotos aparecerem): símbolo 3D gira e assenta, janelas acendem, cartões crescem */
@media all {
  .hs { --u: .55s; --wn: 1.5s; --out: 2.15s; }
  .hs-card:nth-child(1) { --cd: 1.8s; --td: 2.6s; }
  .hs-card:nth-child(2) { --cd: 1.85s; --td: 2.65s; }
  .hs-card:nth-child(3) { --cd: 1.9s; --td: 2.7s; }
  .hs-card:nth-child(4) { --cd: 1.95s; --td: 2.75s; }
}
@media (prefers-reduced-motion: no-preference) {
  .hs-card { animation-duration: 1.3s; }
  .hs-tint { animation-duration: .6s; }
  .hs-sym { animation-duration: .6s; }
}
@media (max-width: 389px) { .hs { zoom: .9; } }
@media (max-width: 359px) { .hs { zoom: .8; } }

/* ------------------------------------------------------------------ aparecer ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .hv-pre { opacity: 0; transform: translateY(28px); }
  .hv-pre.is-seen { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2, .9, .2, 1) var(--rd, 0s), transform .9s cubic-bezier(.2, .9, .2, 1) var(--rd, 0s); }
}

/* ------------------------------------------------------------------ imóveis em destaque */
.hd { background: #fff; }
.hd-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.hd-ctl { display: flex; align-items: center; gap: 14px; }
.hd-tabs, .hd-arw, .hd-dots { display: none; }
.hv-js .hd-tabs { display: inline-flex; }
.hv-js .hd-arw { display: inline-flex; }
.hd-tabs { padding: 5px; border-radius: 999px; background: #eeeef7; }
.hd-tab { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--hv-muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.hd-tab[aria-selected="true"] { background: var(--hv-navy); color: #fff; }
.hd-tab:hover:not([aria-selected="true"]) { color: var(--hv-navy); }
.hd-arw { width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(1, 0, 102, .18); background: #fff; color: var(--hv-navy); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.hd-arw-on { background: var(--hv-navy); border-color: var(--hv-navy); color: #fff; }
.hd-arw:hover:not(:disabled) { background: #1a1a7a; color: #fff; }
.hd-arw:disabled { opacity: .35; cursor: default; }
.hd-nojs { margin: 36px 0 -20px; font-size: 22px; color: var(--hv-navy); }
.hv-js .hd-nojs { display: none; }
.hd-panel[hidden] { display: none; }
.hd-track {
  list-style: none; display: flex; gap: 24px; margin: 28px -8px 0; padding: 8px 8px 28px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hd-track::-webkit-scrollbar { display: none; }
.hd-item { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; display: flex; scroll-snap-align: start; }
.hd-item .pcard { width: 100%; }
.hd-foot { display: flex; justify-content: center; margin-top: 12px; }
.hd .pcard-title { font-size: 17px; }
@media (max-width: 1100px) { .hd-item { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 820px) { .hd-item { flex-basis: calc((100% - 24px) / 2); } }

/* ------------------------------------------------------------------ lançamentos */
.hl { position: relative; background: var(--hv-navy); color: #fff; overflow: hidden; padding: 100px 0; isolation: isolate; }
.hl-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hl-in { position: relative; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: start; }
.hl-text { min-width: 0; }
.hl-text .hv-h2 { font-size: clamp(30px, 2.5vw, 36px); text-wrap: balance; }
.hl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.hl-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.hl-chip:hover { color: #fff; border-color: #fff; }
.hl-chip.is-on { background: var(--hv-or); border-color: var(--hv-or); color: var(--hv-navy); }
.hl-chip.is-on:hover { color: var(--hv-navy); }
.hl-all { margin-top: 36px; }
.hl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.hl-item { min-width: 0; display: flex; }
.hlc { position: relative; width: 100%; display: flex; flex-direction: column; background: #fff; color: var(--hv-navy); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 rgba(1, 0, 102, .06), 0 24px 48px -28px rgba(0, 0, 0, .6); transition: transform .35s cubic-bezier(.2, .9, .2, 1), box-shadow .35s; }
.hlc:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .7); }
.hlc:focus-within { outline: 3px solid var(--hv-or); outline-offset: 3px; }
.hlc-photo { position: relative; height: 230px; background: #1a1a7a; overflow: hidden; flex: none; }
.hlc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .9, .2, 1); }
.hlc:hover .hlc-photo img { transform: scale(1.07); }
.hlc-nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #dcdcf5; font-size: 14px; }
.hlc-tag { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: var(--hv-or); color: var(--hv-navy); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hlc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hlc-name { margin: 0; font-size: 20px; font-weight: 700; color: var(--hv-navy); }
.hlc-link { color: var(--hv-navy); }
.hlc-link:hover { color: var(--hv-navy); }
.hlc-link::after { content: ""; position: absolute; inset: 0; }
.hlc-link:focus-visible { outline: none; }
.hlc-place { margin: 2px 0 0; font-size: 14px; color: var(--hv-muted); }
.hlc-del { margin: 10px 0 0; font-size: 13px; color: var(--hv-muted); }
.hlc-price { margin: 14px 0 12px; padding-top: 14px; border-top: 1px solid #eeeef7; display: flex; flex-direction: column; }
.hlc-price small { font-size: 12px; color: #5a5a82; }
.hlc-val { font-size: 20px; font-weight: 700; color: var(--hv-navy); }
.hlc-ask { font-size: 16px; }
.hlc-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--hv-ink); display: flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ busque por bairro */
.hb { background: var(--hv-soft); }
.hb-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.hb-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--hv-navy); }
.hb-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 186px 186px; grid-auto-rows: 96px; grid-auto-flow: dense; gap: 20px; }
.hb-li { min-width: 0; }
.hb-li:first-child { grid-row: span 2; }
.hb-li-more { grid-column: 1 / -1; }
.hb-tile { position: relative; display: block; height: 100%; border-radius: 22px; overflow: hidden; color: #fff; background: linear-gradient(160deg, #1a1a7a, var(--hv-navy)); isolation: isolate; }
.hb-tile:hover { color: #fff; }
.hb-tile:focus-visible { outline: 3px solid var(--hv-or); outline-offset: 3px; }
.hb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: -1; transition: transform 1.2s cubic-bezier(.2, .9, .2, 1); }
.hb-tile:hover .hb-img { transform: scale(1.08); }
.hb-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(1, 0, 60, .78)); }
.hb-tile-navy { background: var(--hv-navy); }
.hb-tile-navy::after { display: none; }
.hb-tx { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hb-tx b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.hb-tx small { display: block; font-size: 13px; opacity: .88; }
.hb-li-more .hb-tx { top: 0; bottom: 0; align-items: center; }
.hb-li-more .hb-tx b { font-size: 20px; }
.hb-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hv-or); color: var(--hv-navy); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateX(-6px); transition: .35s; }
.hb-tile:hover .hb-go, .hb-tile:focus-visible .hb-go, .hb-go-on { opacity: 1; transform: none; }
@media (hover: none) { .hb-go { opacity: 1; transform: none; } }
.hb-pills { display: none; list-style: none; margin: 22px 0 0; padding: 0; flex-wrap: wrap; gap: 10px; }
.hb-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #e3e3f0; color: var(--hv-navy); font-size: 14px; font-weight: 600; }
.hb-pill:hover { border-color: var(--hv-navy); color: var(--hv-navy); }
.hb-pill-navy { background: var(--hv-navy); border-color: var(--hv-navy); color: #fff; }
.hb-pill-navy:hover { color: #fff; }

/* ------------------------------------------------------------------ anuncie seu imóvel */
.ha { background: #fff; }
.ha-in { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 80px; align-items: start; }
.ha-left { min-width: 0; }
.ha-h2 { margin-top: 8px; }
.ha-scene { position: relative; margin-top: 22px; border-radius: 24px; overflow: hidden; background: var(--hv-navy); }
.ha-scene { background: radial-gradient(60% 70% at 12% 100%, rgba(255, 98, 1, .24), transparent 70%), radial-gradient(55% 65% at 92% 0%, rgba(64, 64, 214, .55), transparent 70%), var(--hv-navy); }
.sx { margin: 0; }
.sx svg { display: block; width: 100%; height: auto; overflow: hidden; font-family: inherit; }
.sx :is(.sx-card, .sx-pill, .sx-toast, .sx-stamp, .sx-price, .sx-live, .sx-photo, .sx-type, .sx-ring) { transform-box: fill-box; transform-origin: center; }
.sx .sx-type { transform: scaleX(0); transform-origin: 100% 50%; }
.sx .sx-stamp { transform: rotate(-7deg); }
.sx .sx-price, .sx .sx-live { transform-origin: 0 50%; }
.sx .sx-flash, .sx .sx-ring { opacity: 0; }
.sx .sx-cam, .sx .sx-skel { opacity: 0; }
.sx .sx-link { stroke-dasharray: 1 1; }
.sx .sx-p1 { --dy: 132px; } .sx .sx-p2 { --dy: 90px; } .sx .sx-p3 { --dy: 48px; } .sx .sx-p4 { --dy: 6px; } .sx .sx-p5 { --dy: -36px; }
@media (prefers-reduced-motion: no-preference) {
  /* estado inicial (só com JavaScript); ao entrar na tela a classe .go dispara a sequência: cartão, flash, foto, texto, preço, selo, canais, avisos */
  .hv-js .sx:not(.go) :is(.sx-card, .sx-pill, .sx-toast, .sx-price, .sx-live, .sx-stamp, .sx-photo) { opacity: 0; }
  .hv-js .sx:not(.go) .sx-type { transform: none; }
  .hv-js .sx:not(.go) .sx-link { stroke-dashoffset: 1; }
  .hv-js .sx:not(.go) .sx-skel, .hv-js .sx:not(.go) .sx-cam { opacity: 1; }
  .hv-js .sx.go .sx-skel { animation: sxHide .01s linear .75s both reverse; }
  .hv-js .sx.go .sx-card { animation: sxCard .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hv-js .sx.go .sx-cam { animation: sxCam 1.1s ease .15s both; }
  .hv-js .sx.go .sx-flash { animation: sxFlash .6s ease-out .55s both; }
  .hv-js .sx.go .sx-photo { animation: sxPhoto 1s cubic-bezier(.2, .8, .2, 1) .7s both; }
  .hv-js .sx.go .sx-type { animation: sxType var(--t, 1s) steps(20) var(--d, 1.6s) both; }
  .hv-js .sx.go .sx-t1 { --t: 1s; --d: 1.7s; } .hv-js .sx.go .sx-t2 { --t: .9s; --d: 2.6s; }
  .hv-js .sx.go .sx-price { animation: sxRise .7s cubic-bezier(.2, .8, .2, 1) 3.5s both; }
  .hv-js .sx.go .sx-stamp { animation: sxStamp .55s cubic-bezier(.3, 1.5, .5, 1) 4.2s both; }
  .hv-js .sx.go .sx-live { animation: sxRise .6s ease 4.8s both; }
  .hv-js .sx.go .sx-link { animation: sxDraw .9s cubic-bezier(.5, 0, .2, 1) var(--d, 5s) both; }
  .hv-js .sx.go .sx-l1 { --d: 5.1s; } .hv-js .sx.go .sx-l2 { --d: 5.2s; } .hv-js .sx.go .sx-l3 { --d: 5.3s; } .hv-js .sx.go .sx-l4 { --d: 5.4s; } .hv-js .sx.go .sx-l5 { --d: 5.5s; }
  .hv-js .sx.go .sx-pill { animation: sxFan .8s cubic-bezier(.2, .9, .25, 1.12) var(--d, 5.3s) both; }
  .hv-js .sx.go .sx-p1 { --d: 5.4s; } .hv-js .sx.go .sx-p2 { --d: 5.52s; } .hv-js .sx.go .sx-p3 { --d: 5.64s; } .hv-js .sx.go .sx-p4 { --d: 5.76s; } .hv-js .sx.go .sx-p5 { --d: 5.88s; }
  .hv-js .sx.go .sx-toast { animation: sxToast .6s cubic-bezier(.3, 1.4, .5, 1) var(--d, 7s) both; }
  .hv-js .sx.go .sx-n1 { --d: 7s; } .hv-js .sx.go .sx-n2 { --d: 7.9s; }
  /* movimento leve depois da sequência: um pulso suave nos pontos dos canais e no "no ar" */
  .hv-js .sx.go .sx-ring { animation: sxPing 3.2s ease-out infinite both; animation-delay: calc(9s + var(--k, 0s)); }
  .hv-js .sx.go .sx-r2 { --k: .5s; } .hv-js .sx.go .sx-r3 { --k: 1s; } .hv-js .sx.go .sx-r4 { --k: 1.5s; } .hv-js .sx.go .sx-r5 { --k: 2s; }
  .hv-js .sx.go .sx-live .sx-ring { animation-delay: 6s; }
  .doc-hidden .sx .sx-ring { animation-play-state: paused; }
}
@keyframes sxCard { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sxCam { 0% { opacity: 0; transform: scale(.8); } 30%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes sxFlash { 0% { opacity: 0; } 18% { opacity: .95; } 100% { opacity: 0; } }
@keyframes sxHide { from { opacity: 0; } to { opacity: 1; } }
@keyframes sxPhoto { from { opacity: 0; transform: translateY(34px) scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes sxType { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes sxRise { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sxStamp { from { opacity: 0; transform: rotate(-16deg) scale(2); } 60% { opacity: 1; } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
@keyframes sxDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sxFan { from { opacity: 0; transform: translate(-72px, var(--dy)) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes sxToast { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes sxPing { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
.ha-btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.ha-btns .hbtn:focus-visible { outline-color: var(--hv-navy); }

.hi { position: relative; padding-top: 24px; min-width: 0; overflow-x: clip; }
.hi-track { position: absolute; left: 27px; top: 52px; bottom: 28px; width: 3px; border-radius: 2px; background: #e3e3f0; overflow: hidden; }
.hi-fill { position: absolute; inset: 0; background: linear-gradient(var(--hv-or), #ff8a3d); transform-origin: top; }
.hi-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.hi-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: center; }
.hi-step:nth-child(1) { --t: .6s; } .hi-step:nth-child(2) { --t: 1.5s; } .hi-step:nth-child(3) { --t: 2.4s; } .hi-step:nth-child(4) { --t: 3.3s; }
.hi-node { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--hv-or); background: var(--hv-or); color: var(--hv-navy); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.hi-node.is-last::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--hv-or); opacity: 0; }
.hi-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(1, 0, 102, .06), 0 20px 40px -28px rgba(1, 0, 102, .4); min-width: 0; border: 1px solid #eeeef7; }
.hi-txt { min-width: 0; }
.hi-txt small { display: block; font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--hv-ink); }
.hi-txt b { display: block; margin-top: 3px; font-size: 17px; line-height: 1.3; color: var(--hv-navy); }
.hi-txt p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--hv-muted); }
.hi-vis { flex: none; width: 120px; height: 64px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.hi-vis-pills { flex-wrap: wrap; align-content: center; align-items: center; gap: 5px; }
.hi-vis-visit, .hi-vis-stamp { align-items: center; }
.hi-bar { display: block; width: 16px; border-radius: 5px 5px 2px 2px; background: #d9d9f0; transform-origin: bottom; }
.hi-bar:nth-child(1) { height: 26px; } .hi-bar:nth-child(2) { height: 40px; } .hi-bar:nth-child(3) { height: 32px; } .hi-bar:nth-child(4) { height: 54px; }
.hi-bar.is-hi { background: var(--hv-or); }
.hi-pill { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--hv-navy); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal; white-space: nowrap; }
.hi-pill.is-o { background: var(--hv-or); color: var(--hv-navy); }
.hi-pill-l { padding: 8px 11px; font-size: 11.5px; }
.hi-stamp { display: inline-block; padding: 8px 12px; border: 2.5px solid var(--hv-or); border-radius: 10px; color: var(--hv-or); font-weight: 800; font-size: 13px; letter-spacing: .12em; font-style: normal; transform: rotate(-8deg); }

@media (prefers-reduced-motion: no-preference) {
  /* estado de partida (antes de a seção entrar na tela) */
  .hv-js .hi:not(.go) .hi-fill { transform: scaleY(0); }
  .hv-js .hi:not(.go) .hi-node { background: #fff; border-color: #d9d9ea; color: #8a8aa8; transform: scale(.8); }
  .hv-js .hi:not(.go) .hi-card { opacity: 0; transform: translateX(26px); }
  .hv-js .hi:not(.go) .hi-bar { transform: scaleY(0); }
  .hv-js .hi:not(.go) .hi-pill { opacity: 0; transform: scale(.4); }
  .hv-js .hi:not(.go) .hi-stamp { opacity: 0; transform: rotate(-8deg) scale(1.8); }
  /* animação */
  .hi.go .hi-fill { animation: hiFill 3s cubic-bezier(.45, 0, .3, 1) .6s backwards; }
  .hi.go .hi-node { animation: hiNode .55s cubic-bezier(.3, 1.6, .5, 1) var(--t) backwards; }
  .hi.go .hi-card { animation: hiCard .7s cubic-bezier(.2, .9, .2, 1) var(--t) backwards; }
  .hi.go .hi-node.is-last::after { animation: hiRing 2.2s ease-out infinite; animation-delay: calc(var(--t) + .6s); }
  .hi.go .hi-bar { animation: hiBar .6s cubic-bezier(.2, .9, .2, 1) backwards; }
  .hi.go .hi-bar:nth-child(1) { animation-delay: calc(var(--t) + .25s); } .hi.go .hi-bar:nth-child(2) { animation-delay: calc(var(--t) + .35s); }
  .hi.go .hi-bar:nth-child(3) { animation-delay: calc(var(--t) + .45s); } .hi.go .hi-bar:nth-child(4) { animation-delay: calc(var(--t) + .55s); }
  .hi.go .hi-pill { animation: hiPop .45s cubic-bezier(.3, 1.6, .5, 1) backwards; }
  .hi.go .hi-vis-pills .hi-pill:nth-child(1) { animation-delay: calc(var(--t) + .25s); } .hi.go .hi-vis-pills .hi-pill:nth-child(2) { animation-delay: calc(var(--t) + .37s); }
  .hi.go .hi-vis-pills .hi-pill:nth-child(3) { animation-delay: calc(var(--t) + .49s); } .hi.go .hi-vis-pills .hi-pill:nth-child(4) { animation-delay: calc(var(--t) + .61s); }
  .hi.go .hi-vis-visit .hi-pill { animation-delay: calc(var(--t) + .3s); }
  .hi.go .hi-stamp { animation: hiStamp .5s cubic-bezier(.3, 1.4, .5, 1) calc(var(--t) + .35s) backwards; }
}
@keyframes hiFill { from { transform: scaleY(0); } }
@keyframes hiNode { from { transform: scale(.8); background: #fff; border-color: #d9d9ea; color: #8a8aa8; } }
@keyframes hiCard { from { opacity: 0; transform: translateX(26px); } }
@keyframes hiRing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes hiBar { from { transform: scaleY(0); } }
@keyframes hiPop { from { opacity: 0; transform: scale(.4); } }
@keyframes hiStamp { from { opacity: 0; transform: rotate(-8deg) scale(1.8); } }

/* ------------------------------------------------------------------ serviços */
.hsv { background: var(--hv-soft); }
.hsv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.hsv-card { position: relative; display: flex; gap: 22px; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(1, 0, 102, .06), 0 24px 48px -28px rgba(1, 0, 102, .35); min-width: 0; transition: transform .3s cubic-bezier(.2, .75, .2, 1), box-shadow .3s ease; }
.hsv-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(1, 0, 102, .08), 0 34px 56px -26px rgba(1, 0, 102, .45); }
.hsv-ico { flex: none; width: 58px; height: 58px; border-radius: 18px; background: var(--hv-navy); display: inline-flex; align-items: center; justify-content: center; }
.hsv-ico-or { background: var(--hv-or); }
.hsv-card h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--hv-navy); }
.hsv-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--hv-muted); }
.hsv-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 700; color: var(--hv-ink); }
.hsv-more::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.hsv-more:focus-visible { outline: none; }
.hsv-more:focus-visible::after { outline: 3px solid var(--hv-navy); outline-offset: 3px; }
.hsv-arw { display: inline-block; margin-left: .35em; transition: transform .25s ease; }
.hsv-card:hover .hsv-more, .hsv-more:hover { color: var(--hv-navy); }
.hsv-card:hover .hsv-arw { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .hsv-card, .hsv-arw { transition: none; } .hsv-card:hover { transform: none; } .hsv-card:hover .hsv-arw { transform: none; } }

/* ------------------------------------------------------------------ corretores */
.hc { background: #fff; }
.hc-in { display: flex; align-items: flex-start; gap: 60px; }
.hc-text { flex: none; width: 420px; }
.hc-creci { margin: 22px 0 0; font-size: 13px; color: #5a5a82; }
.hc-team { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--hv-navy); }
.hc-grid { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.hc-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(1, 0, 102, .06), 0 24px 48px -28px rgba(1, 0, 102, .35); min-width: 0; }
.hc-ring { width: 132px; height: 132px; border-radius: 50%; padding: 5px; background: conic-gradient(var(--hv-or), var(--hv-navy), var(--hv-or)); flex: none; }
.hc-ring .avatar { width: 100%; height: 100%; border: 4px solid #fff; box-sizing: border-box; }
.hc-name { margin: 18px 0 0; font-size: 20px; font-weight: 700; color: var(--hv-navy); }
.hc-role { margin: 4px 0 0; font-size: 14px; color: var(--hv-muted); }
.hc-card .hbtn { margin-top: 20px; white-space: nowrap; padding-left: 16px; padding-right: 16px; gap: 8px; }
.hc-card .hbtn:focus-visible { outline-color: var(--hv-navy); }

/* ------------------------------------------------------------------ chamada final (laranja) */
.hx { background: var(--hv-or); color: var(--hv-navy); }
.hx :focus-visible { outline-color: var(--hv-navy); }
.hx-in { display: flex; align-items: center; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.hx-sym { flex: none; height: 100px; width: auto; }
.hx-text { flex: 1; min-width: 0; }
.hx h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; color: #fff; }
.hx p { margin: 8px 0 0; font-size: 17px; color: var(--hv-navy); }
.hx .hbtn:hover, .hx .hbtn:focus-visible { box-shadow: 0 0 0 2px #fff; }

/* ------------------------------------------------------------------ telas pequenas */
@media (max-width: 1100px) {
  .hl-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hl-text { max-width: 640px; }
  .ha-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hc-in { flex-direction: column; gap: 32px; }
  .hc-text { width: auto; max-width: 560px; }
  .hc-grid { width: 100%; }
}
@media (max-width: 899px) {
  .hv-wrap { padding-left: 20px; padding-right: 20px; }
  .hv-sec { padding-top: 56px; padding-bottom: 56px; }
  .hv-h2 { font-size: 30px; }

  /* destaques: um cartão por vez, largura inteira, com pontinhos */
  .hd-ctl { width: 100%; }
  .hd-arw { display: none !important; }
  .hd-track { gap: 16px; margin: 20px 0 0; padding: 4px 0 20px; scroll-padding-left: 0; }
  .hd-item { flex-basis: 100%; }
  .hv-js .hd-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .hd-dot { width: 6px; height: 6px; border-radius: 3px; background: #c9c9e0; transition: width .25s, background .25s; }
  .hd-dot.is-on { width: 22px; background: var(--hv-navy); }
  .hd-foot { margin-top: 18px; }
  .hd-foot .hbtn { width: 100%; }

  /* lançamentos: só o título, as etapas e uma fila de cartões que rola dentro dela */
  .hl { padding: 56px 0; }
  .hl-in { gap: 0; }
  .hl-chips { margin-top: 16px; }
  .hl-chip-kind { display: none; }
  .hl-cards { display: flex; gap: 16px; margin: 20px -20px 0; padding: 0 20px 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; }
  .hl-cards::-webkit-scrollbar { display: none; }
  .hl-item { flex: 0 0 250px; scroll-snap-align: start; }
  .hlc-photo { height: 180px; }
  .hl-all.hv-only-m { width: 100%; margin-top: 4px; }

  /* bairros: botões em linha que quebram */
  .hb-grid { display: none; }
  .hb-pills { display: flex; }
  .hb-all { display: none; }

  /* anuncie: ordem do celular (texto, cena, etapas só com títulos, botões) */
  .ha-left { display: contents; }
  .ha-in { display: flex; flex-direction: column; gap: 0; }
  .ha-eb { order: 1; } .ha-h2 { order: 2; } .ha-p { order: 3; } .ha-scene { order: 4; margin-top: 18px; } .hi { order: 5; margin-top: 24px; } .ha-btns { order: 6; margin-top: 26px; }
  .ha-btns .hbtn { width: 100%; }
  .hi { padding-top: 0; }
  .hi-track { left: 23px; top: 24px; bottom: 24px; }
  .hi-step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .hi-node { width: 48px; height: 48px; font-size: 20px; }
  .hi-card { padding: 12px 14px; }
  .hi-txt b { font-size: 14.5px; }
  .hi-txt p, .hi-vis { display: none; }

  /* serviços e corretores */
  .hsv-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
  .hsv-card { padding: 20px; gap: 16px; }
  .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hc-card { padding: 18px 12px; }
  .hc-ring { width: 92px; height: 92px; padding: 4px; }
  .hc-ring .avatar { border-width: 3px; font-size: 28px; }
  .hc-name { margin-top: 12px; font-size: 15px; }
  .hc-role { font-size: 11.5px; }
  .hc-card .hbtn { margin-top: 12px; padding: 10px 12px; font-size: 12.5px; }

  /* chamada final */
  .hx-in { position: relative; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .hx-sym { position: absolute; right: 20px; top: 24px; height: 64px; }
  .hx-text { padding-right: 76px; }
  .hx h2 { font-size: 24px; }
  .hx p { font-size: 15px; }
}

/* faixa final encostada no rodapé */
main:has(.hx) + .site-footer { margin-top: 0; }
@media (max-width: 560px) { .hc-wa-pre { display: none; } }
