/* ==========================================================================
   Condomínio Helbor Vila Itapety — landing page
   Breakpoints: sm 576 · md 992 · lg 1200 · xl 1600 · xxl 1900
   ========================================================================== */

:root {
  --navy: #00184b;
  --navy-rgb: 0, 24, 75;
  --gold: #d59546;
  --gold-rgb: 213, 149, 70;
  --s7: #fcf8f2;
  --s10: #fbf4ec;
  --s20: #f7eada;
  --s30: #f7e1c6;
  --s50: #eacaa2;
  --light: #f8f9fa;
  --white: #fff;
  --wa: #27b143;
  --shadow: 0 9.59px 38.361px -9.59px #dcd4ca;

  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", "Times New Roman", serif;

  --gutter: 2rem;
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  background: var(--s7);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.5; }
h1, h2, h3, h4, h5, h6, .h3, .h5, .h6 {
  margin: 0 0 .5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}
h1:last-child, h2:last-child, h3:last-child, .h3:last-child, .h5:last-child, .h6:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6, .h3, .h5, .h6, .serif { font-optical-sizing: auto; }
.h3 { font-size: 1.75rem; }
.h5 { font-size: 1.25rem; }
.h6 { font-size: 1.5rem; }
@media (width >= 1600px) {
  .h3 { font-size: 2.25rem; }
  .h5 { font-size: 1.75rem; }
}

/* ---------- utilitários ---------- */
.container {
  width: 100%;
  padding-inline: calc(var(--gutter) * .5);
  margin-inline: auto;
}
@media (width >= 576px)  { .container { max-width: 944px; } }
@media (width >= 992px)  { .container { max-width: 960px; } }
@media (width >= 1200px) { .container { max-width: 1271px; } }
@media (width >= 1600px) { .container { max-width: 1482px; } }
@media (width >= 1900px) { .container { max-width: 1752px; } }

.p { font-size: 1rem; line-height: 1.5; }
.p-large { font-size: 1.125rem; line-height: 1.5; }
@media (width >= 1600px) {
  p, .p { font-size: 1.125rem; }
  .p-large { font-size: 1.25rem; line-height: 2; }
}
.serif { font-family: var(--font-serif) !important; font-style: italic; }
.fw-light { font-weight: 300 !important; }
.lh-md { line-height: 1.5 !important; }
.lh-base { line-height: 1.2 !important; }
.ls-lg { letter-spacing: .12rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.w-100 { width: 100% !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-white { color: var(--white) !important; }
.text-secondary { color: var(--gold) !important; }
.text-s7 { color: var(--s7) !important; }
.text-s30 { color: var(--s30) !important; }
.bg-s10 { background: var(--s10); }
.bg-s20 { background: var(--s20); }
.vstack { display: flex; flex-direction: column; }
.gap-0h { gap: .5rem; }
.d-none { display: none !important; }
@media (width >= 992px) {
  .d-md-inline { display: inline !important; }
  .d-md-block { display: block !important; }
}
.ic-xsm { width: 18px; height: 18px; flex-shrink: 0; }
.ic-sm { width: 32px; height: 32px; flex-shrink: 0; }
.ic-start { width: 18px; height: 18px; flex-shrink: 0; }

.ratio { position: relative; display: block; width: 100%; overflow: hidden; }
.ratio::before { content: ""; display: block; }
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ratio-16x9::before { padding-top: 56.25%; }
.ratio-16x10::before { padding-top: 62.5%; }
.ratio-3x4::before { padding-top: 133.333%; }
.ratio-5x4::before { padding-top: 80%; }
.img-cover { object-fit: cover; object-position: center; width: 100%; height: 100%; }

@media (width < 992px) {
  .stretch-on-mobile { margin-inline: calc(var(--gutter) * -.5); }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, opacity .2s;
}
.btn-xsm { padding: .5rem 1rem; font-size: .875rem; line-height: 1.2; }
.btn-light { background: var(--light); border-color: var(--light); color: var(--navy); }
.btn-light:hover { background: var(--s30); border-color: var(--s30); }
.btn-outline-secondary {
  padding: 1.076rem 2rem;
  font-size: 1.125rem;
  line-height: 1.2;
  border-color: var(--gold);
  color: var(--navy);
}
.btn-outline-secondary:hover { background: var(--gold); color: var(--white); }
.btn-secondary { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-secondary:hover { background: #b37d3b; border-color: #b37d3b; }
.btn-lg { padding: 1.375rem 2rem; font-size: 1.25rem; line-height: 1.2; }
@media (width < 992px) {
  .btn-lg { padding: 1.1rem 1.75rem; font-size: 1.05rem; }
  .btn-outline-secondary { width: 100%; }
}

/* ---------- eyebrow (rótulo de seção) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 24px;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .12rem;
  text-transform: uppercase;
}
@media (width >= 992px) { .eyebrow { margin-bottom: 2rem; } }
@media (width >= 1600px) { .eyebrow { font-size: 1.25rem; } }
.eyebrow-inline { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1020;
  background: transparent;
  transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.navbar { padding: 1.5rem 0; transition: padding .2s ease-in-out; }
.navbar-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 56px; }

.navbar-toggler {
  display: flex;
  align-items: center;
  height: 56px;
  min-width: 56px;
  color: var(--white);
  transition: color .2s ease-in-out, opacity .2s;
}
.navbar-toggler:hover { opacity: .85; }
.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 2px;
  margin-top: 9px;
  background: currentColor;
  border-radius: 2px;
}
.navbar-toggler-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.navbar-toggler-label {
  display: none;
  padding-left: .75rem;
  font-size: .75rem;
  line-height: 1;
  text-transform: uppercase;
}
@media (width >= 992px) { .navbar-toggler-label { display: block; } }
@media (width < 992px) { .navbar-toggler-icon { width: 36px; } }

.navbar-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 70px;
  transition: opacity .2s;
}
.navbar-brand:hover { opacity: .8; }
.navbar-brand img { width: 150px; height: auto; filter: brightness(0) invert(1); transition: filter .2s ease-in-out; }
@media (width < 992px) {
  .navbar-brand { width: 120px; }
  .navbar-brand img { width: 118px; }
}

.btn-portal { gap: .75rem; min-height: 35px; }
.btn-portal .ic-user { width: 20px; height: 20px; }
@media (width < 992px) { .btn-portal { width: 40px; height: 40px; padding: 0; } }

/* estado fixo (após rolagem) */
.site-header.is-fixed { background: var(--white); box-shadow: 0 2px 24px rgba(0, 24, 75, .06); }
.site-header.is-fixed .navbar { padding: .75rem 0; }
.site-header.is-fixed .navbar-toggler { color: var(--navy); }
.site-header.is-fixed .navbar-brand img { filter: none; }
.site-header.is-fixed .btn-portal { background: var(--s20); border-color: var(--s20); }

/* ---------- offcanvas ---------- */
.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1045;
  width: 377px;
  max-width: 100%;
  padding: .25rem;
  background: rgba(251, 244, 236, .95);
  backdrop-filter: blur(6px);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .3s ease-in-out, visibility .3s;
}
.offcanvas.show { transform: none; visibility: visible; }
.offcanvas-body { height: 100%; overflow-y: auto; padding: 5rem 4rem 3rem; }
@media (width < 992px) { .offcanvas-body { padding: 2rem 2rem; } }
.offcanvas-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4rem; }
.offcanvas-logo img { width: 110px; height: auto; }
.offcanvas-close { color: var(--navy); transition: color .2s; }
.offcanvas-close:hover { color: var(--gold); }
.offcanvas-nav li a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy);
  transition: color .2s;
}
.offcanvas-nav li a:hover { color: var(--gold); }
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.offcanvas-backdrop.show { opacity: .5; visibility: visible; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--navy); }
.hero-media { position: relative; }
.hero-media picture, .hero-video { display: block; width: 100%; aspect-ratio: 2 / 3; }
@media (width >= 768px) { .hero-media picture, .hero-video { aspect-ratio: 3 / 2; } }
.hero-media img { width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center; background: var(--navy); }

/* camadas de gradiente + textura de retícula (pontos 1px a cada 2px) */
.pseudo-gradient-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(56deg, rgba(0, 0, 0, .41) 20.92%, rgba(0, 0, 0, 0) 43.55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62.32%, rgba(30, 30, 30, .7) 103.58%),
    linear-gradient(166deg, rgba(30, 30, 30, .7) -14.01%, rgba(0, 0, 0, 0) 23.96%),
    linear-gradient(278deg, rgba(30, 30, 30, .7) 15.4%, rgba(0, 0, 0, 0) 45.27%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%23121418' fill-opacity='.5'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; }
.hero-info { padding-bottom: 2rem; }
.hero-info h1 { margin-bottom: 1rem; }
.hero-tagline { margin-bottom: 1.5rem; }
.hero-form { padding: 2.5rem 0 3rem; }
.hero-form .form-intro { margin-bottom: .75rem; }

/* mobile: texto sobreposto à imagem; formulário empilhado em fundo azul */
@media (width < 992px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-media { grid-area: 1 / 1; }
  .hero-content { display: contents; }
  .hero-info, .hero-form { width: 100%; max-width: 944px; margin-inline: auto; padding-inline: 1rem; }
  .hero-info { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; }
  .hero-form { grid-area: 2 / 1; }
}

@media (width >= 992px) {
  .hero { height: 100vh; min-height: 640px; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media picture, .hero-video { aspect-ratio: auto; height: 100%; }
  .hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 6rem;
  }
  .hero-col { flex: 0 0 auto; width: 41.6667%; padding-inline: 1rem; }
  .hero-info { position: static; padding: 0; padding-inline: 1rem; }
  .hero-form { padding-top: 0; padding-bottom: 0; }
}
@media (width >= 1200px) { .hero-col { width: 33.3333%; } }
@media (width >= 1600px) {
  .hero-col { width: 25%; }
  .hero-content { padding-bottom: 12rem; }
}
.hero-content.container { padding-inline: 0; }

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: none;
  margin-bottom: 3rem;
  color: var(--gold);
  transform: translateX(-50%);
  transition: opacity .2s;
}
.scroll-down:hover { opacity: .75; }
.scroll-down svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (width >= 992px) { .scroll-down { display: block; } }
@media (width >= 1600px) { .scroll-down { margin-bottom: 6.75rem; } }

/* ---------- formulário (sublinhado) ---------- */
.form-underline { display: flex; flex-direction: column; gap: 1.5rem; }
.form-floating { position: relative; }
.form-floating input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 1.1rem 0 .4rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--light);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--light);
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}
.form-floating input:focus { border-bottom-color: var(--gold); }
.form-floating label {
  position: absolute;
  left: 0;
  top: 0;
  height: 48px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--light);
  text-transform: uppercase;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .15s ease-in-out, opacity .15s;
}
.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label {
  transform: translateY(-.95rem) scale(.72);
  opacity: .8;
}
.form-floating input:-webkit-autofill {
  -webkit-text-fill-color: var(--light);
  transition: background-color 9999s ease-in-out 0s;
}
.form-check { position: relative; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.form-check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--light);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.form-check input::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform .12s ease-in-out;
  background: var(--gold);
}
.form-check input:checked::before { transform: scale(1); }
.form-check input:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.form-check label { font-size: 1rem; color: var(--light); cursor: pointer; }
.form-check label a:hover { text-decoration: underline; }
.invalid-feedback { display: none; width: 100%; margin-top: .35rem; font-size: .8rem; color: #ffb4a8; }
.was-validated :invalid ~ .invalid-feedback { display: block; }
.was-validated .form-floating input:invalid { border-bottom-color: #ff8f7d; }
.btn-submit { margin-top: 0; height: 35px; }
.btn-submit .label-busy { display: none; align-items: center; gap: .5rem; }
.btn-submit.is-loading .label-idle { display: none; }
.btn-submit.is-loading .label-busy { display: inline-flex; }
.spinner {
  display: inline-block;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: currentColor;
  animation: grow .75s linear infinite;
}
@keyframes grow { 0% { transform: scale(0); } 50% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.form-success { margin: 0; color: var(--s30); font-size: .95rem; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { padding-bottom: 1.5rem; }
@media (width >= 992px) { .about { padding-block: 3.5rem; } }
@media (width >= 1600px) { .about { padding-block: 10rem; } }
.about-row { display: flex; flex-direction: column; gap: 1.5rem; }
.about-title { margin-bottom: 1.5rem; }
.about-body { margin-bottom: 1.5rem; }
/* seletor (7/12) à direita, fixo na tela enquanto o texto rola; texto (5/12) à esquerda */
@media (width >= 992px) {
  .about-row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 0; margin-inline: -1rem; }
  .about-text { order: 0; flex: 0 0 41.6667%; padding-inline: 1rem; }
  .about-media { order: 1; flex: 0 0 58.3333%; padding-inline: 1rem; position: sticky; top: 96px; }
}
@media (width >= 1600px) {
  .about-text > * { padding-right: 2rem; }
  .about-title, .about-body { margin-bottom: 2.5rem; }
}
.sobre-dica-seletor { margin: 1.25rem 0 0; font-size: .875rem; font-weight: 300; opacity: .8; }
@media (width < 992px) { .sobre-dica-seletor { display: none; } }

/* ---------- seletor de casas ---------- */
.seletor {
  position: relative;
  background: #10151f;
  overflow: hidden;
  container-type: inline-size;
  font-family: var(--font-sans);
}
.seletor-viewport { position: relative; overflow: hidden; }
.seletor-palco {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  user-select: none;
  -webkit-user-select: none;
}
.seletor-still, .seletor-videos video, .seletor-areas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seletor-still { object-fit: cover; }
.seletor-still:not([src]) { visibility: hidden; }
.seletor-videos video { object-fit: cover; opacity: 0; pointer-events: none; }
.seletor-videos video.ativo { opacity: 1; }
.seletor-areas { pointer-events: none; transition: opacity .2s; }
.seletor-areas.oculto { opacity: 0; }
.seletor-areas polygon {
  pointer-events: auto;
  cursor: pointer;
  fill: rgba(255, 255, 255, 0);
  stroke: rgba(255, 255, 255, 0);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  outline: none;
  transition: fill .15s, stroke .15s;
}
.seletor-areas.mostrar-tudo polygon[data-t="2D"] { fill: rgba(64, 132, 230, .28); stroke: rgba(255, 255, 255, .55); }
.seletor-areas.mostrar-tudo polygon[data-t="3D"] { fill: rgba(213, 149, 70, .30); stroke: rgba(255, 255, 255, .55); }
.seletor-areas polygon[data-t="2D"]:hover, .seletor-areas polygon[data-t="2D"]:focus-visible, .seletor-areas polygon[data-t="2D"].sel { fill: rgba(64, 132, 230, .6); stroke: #fff; }
.seletor-areas polygon[data-t="3D"]:hover, .seletor-areas polygon[data-t="3D"]:focus-visible, .seletor-areas polygon[data-t="3D"].sel { fill: rgba(213, 149, 70, .62); stroke: #fff; }
.seletor-areas polygon.sel { stroke-width: 2.5; }
.seletor-areas polygon[data-t="area"] { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .7); }
.seletor-areas polygon[data-t="area"]:hover, .seletor-areas polygon[data-t="area"]:focus-visible { fill: rgba(213, 149, 70, .40); stroke: #fff; }

.seletor-rotulo {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #fff;
  font-weight: 700;
  font-size: clamp(10px, 1.7cqw, 14px);
  letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
  white-space: nowrap;
}
.seletor-rotulo.num {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  text-shadow: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.seletor-barra {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.seletor-barra > * { pointer-events: auto; }
.seletor-esp { flex: 1; }
.seletor-trilha {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 24, 75, .85);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.seletor-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .15s, opacity .15s;
}
.seletor-btn:hover { background: #fff; }
.seletor-btn.ouro { background: var(--gold); color: #fff; }
.seletor-btn.ouro:hover { background: #b37d3b; }
.seletor-btn:disabled { opacity: .45; cursor: default; }
.seletor-btn.icone { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; }
.seletor-btn[hidden] { display: none; }

.seletor-rodape {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
  pointer-events: none;
}
.seletor-legenda { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.seletor-legenda[hidden] { display: none; }
.seletor-legenda label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; pointer-events: auto; }
.seletor-legenda .leg { display: inline-flex; align-items: center; gap: 5px; }
.seletor-legenda .leg i { display: inline-block; width: 12px; height: 12px; border: 1px solid #fff; border-radius: 3px; }
.leg-2d { background: rgba(64, 132, 230, .75); }
.leg-3d { background: rgba(213, 149, 70, .8); }

.seletor-dica {
  position: absolute;
  z-index: 4;
  display: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}
.seletor-dica b { color: var(--gold); font-weight: 500; }

/* celular: a imagem vira uma faixa larga que rola para o lado; controles abaixo da imagem */
@media (width < 768px) {
  .seletor { display: flex; flex-direction: column; }
  .seletor-viewport { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .seletor-viewport::-webkit-scrollbar { display: none; }
  .seletor-palco { width: 175%; }
  .seletor-barra, .seletor-rodape { position: static; padding: 10px 12px 0; background: var(--navy); text-shadow: none; }
  .seletor-rodape { padding-bottom: 12px; }
  .seletor-rotulo { font-size: 12px; }
}

/* ---------- painel da casa escolhida (no lugar do texto) ---------- */
.casa-painel[hidden], .sobre-padrao[hidden] { display: none !important; }
.casa-painel { animation: fade .3s ease; }
.casa-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.casa-tag {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: var(--gold);
}
.casa-painel > .casa-tag { display: block; margin-bottom: .6rem; }
.casa-fechar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 24, 75, .25);
  border-radius: 50%;
  color: var(--navy);
  transition: border-color .2s, color .2s;
}
.casa-fechar:hover { border-color: var(--gold); color: var(--gold); }
.casa-voltar { font-size: .9rem; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.casa-voltar:hover { color: var(--gold); }
.casa-titulo { margin-bottom: 1rem; }
.casa-desc { margin-bottom: 1.5rem; }
.casa-dados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--s30);
}
.casa-dados > div { padding: .75rem 0; border-bottom: 1px solid var(--s30); }
.casa-dados > div:nth-child(odd) { padding-right: 1rem; }
.casa-dados dt { margin-bottom: .2rem; font-size: .8rem; font-weight: 300; letter-spacing: .04rem; text-transform: uppercase; opacity: .75; }
.casa-dados dd { margin: 0; font-size: 1.05rem; font-weight: 500; }
.casa-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.casa-acoes .btn { padding: 1rem 1.75rem; font-size: 1rem; text-transform: uppercase; }
@media (width < 576px) { .casa-acoes .btn { flex: 1 1 100%; } }
.casa-nota { margin: 1.25rem 0 0; font-size: .8rem; font-weight: 300; opacity: .75; }
.casa-resumo { margin-bottom: 1.75rem; font-weight: 300; }

/* formulário claro (fundo bege) */
.form-claro .form-floating input { color: var(--navy); border-bottom-color: rgba(0, 24, 75, .45); }
.form-claro .form-floating input:focus { border-bottom-color: var(--gold); }
.form-claro .form-floating label, .form-claro .form-check label { color: var(--navy); }
.form-claro .form-floating input:-webkit-autofill { -webkit-text-fill-color: var(--navy); }
.form-claro .form-check input { border-color: var(--navy); }
.form-claro .invalid-feedback { color: #c0392b; }
.form-claro.was-validated .form-floating input:invalid { border-bottom-color: #c0392b; }
.form-claro .btn-submit { height: auto; padding: 1rem 1.75rem; font-size: 1rem; }
.form-claro .form-success { color: var(--navy); font-weight: 500; }

/* ---------- seletor ampliado (tela inteira, com o painel ao lado) ---------- */
body.seletor-aberto { overflow: hidden; }
.about-row.seletor-expandido {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  background: var(--s7);
}
.seletor-expandido .about-media {
  order: 0;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: #0b1020;
}
.seletor-expandido .about-media > .stretch-on-mobile { width: 100%; margin: 0; }
.seletor-expandido .seletor { width: min(100%, calc(100vh * 16 / 9)); margin-inline: auto; }
.seletor-expandido .about-text { order: 1; max-height: 100vh; overflow-y: auto; padding: 2rem 1.75rem; }
.seletor-expandido .sobre-dica-seletor { display: none; }
@media (width < 992px) {
  .about-row.seletor-expandido { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .seletor-expandido .about-media { height: auto; }
  .seletor-expandido .about-text { max-height: none; overflow-y: auto; padding: 1.5rem 1rem 2rem; }
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery { padding: 2.5rem 0 3.5rem; }
@media (width >= 1600px) { .gallery { padding: 4.5rem 0 7rem; } }
.section-head { display: flex; flex-direction: column; gap: 1.5rem; }
.gallery-head { margin-bottom: 2.5rem; }
@media (width >= 992px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .section-head-main { flex: 1 1 0; }
}
.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0 1rem .25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-pills::-webkit-scrollbar { display: none; }
@media (width >= 992px) { .nav-pills { gap: 1.5rem; padding: 0; } }
.nav-pills .nav-link {
  display: block;
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .01rem;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 500px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.nav-pills .nav-link:hover { color: var(--gold); }
.nav-pills .nav-link.active { color: var(--navy); background: var(--gold); border-color: var(--gold); }
@media (width >= 1600px) { .nav-pills .nav-link { font-size: 1.125rem; } }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js-slider-gallery .swiper-slide { width: 85%; }
@media (width >= 992px) { .js-slider-gallery .swiper-slide { width: 62%; } }
.gallery-card { position: relative; display: block; color: var(--navy); transition: color .2s; }
.gallery-card:hover { color: var(--gold); }
.gallery-card .ratio { margin-bottom: .75rem; }
@media (width >= 992px) { .gallery-card .ratio { margin-bottom: 1.25rem; } }
.gallery-caption {
  margin: 0;
  padding-inline: 1rem;
  font-size: .75rem;
  line-height: 1.5;
  text-align: center;
}
@media (width >= 992px) { .gallery-caption { font-size: 1rem; padding-inline: 0; } }
@media (width >= 1600px) { .gallery-caption { font-size: 1.25rem; } }

/* efeito de zoom na imagem */
.gallery-card img, .plan-card img, .nearby-card img, .finish-card img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery-card:hover img, .plan-card:hover img, .nearby-card:hover img, .finish-card:hover img { transform: scale(1.05); }

.zoom-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: .75rem;
  padding: 8px;
  color: var(--navy);
  background: rgba(248, 249, 250, .32);
  border-radius: 16px;
  backdrop-filter: blur(2px);
  transition: background-color .2s;
}
.gallery-card:hover .zoom-badge, .plan-card:hover .zoom-badge, .nearby-card:hover .zoom-badge { background: rgba(248, 249, 250, .7); }

/* ---------- botões dos sliders (meia-pílula colada na borda) ---------- */
.slider-btn.swiper-button-prev,
.slider-btn.swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: auto;
  height: 80px;
  margin-top: -40px;
  padding: 24px;
  color: var(--s30);
  background: rgba(var(--gold-rgb), .6);
  box-shadow: 0 4px 78.704px 0 rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.slider-btn::after { display: none; }
.slider-btn svg { width: 32px; height: 32px; transition: transform .2s ease-in-out; }
.slider-btn:hover { background: rgba(var(--gold-rgb), .85); }
.slider-btn-prev { left: 0; right: auto; padding-left: 62.5px !important; border-radius: 0 500px 500px 0; }
.slider-btn-prev svg { transform: scaleX(-1); }
.slider-btn-next { right: 0; left: auto; padding-right: 62.5px !important; border-radius: 500px 0 0 500px; }
.slider-btn-prev:hover svg { transform: scaleX(-1) translateX(3px); }
.slider-btn-next:hover svg { transform: translateX(3px); }
.slider-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.slider-btn.swiper-button-lock { display: none; }
@media (width < 992px) {
  .slider-btn.swiper-button-prev, .slider-btn.swiper-button-next { height: 56px; margin-top: -28px; padding: 12px; }
  .slider-btn-prev { padding-left: 20px !important; }
  .slider-btn-next { padding-right: 20px !important; }
}

/* ==========================================================================
   LAZER
   ========================================================================== */
.leisure { padding: 3rem 0; overflow: hidden; }
@media (width >= 992px) { .leisure { padding: 5.5rem 0; } }
@media (width >= 1600px) { .leisure { padding: 6.5rem 0; } }
.leisure-row { display: flex; flex-direction: column; gap: 4rem; }
.leisure-title { margin-bottom: 1.5rem; }
.leisure-lead { margin-bottom: 1.5rem; }
@media (width >= 992px) {
  .leisure-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 0; margin-inline: -1rem; }
  .leisure-text { flex: 0 0 33.3333%; padding-inline: 1rem; }
  .leisure-grid-col { flex: 0 0 66.6667%; padding-inline: 1rem; }
  .leisure-title, .leisure-lead { margin-bottom: 3rem; }
}
@media (width >= 1600px) { .leisure-text { flex-basis: 25%; } }
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--s30);
  border-left: 1px solid var(--s30);
}
@media (width >= 992px) { .leisure-grid { grid-template-columns: repeat(3, 1fr); } }
.leisure-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 137px;
  padding: 1rem;
  border-right: 1px solid var(--s30);
  border-bottom: 1px solid var(--s30);
  transition: background-color .25s;
}
.leisure-card:hover { background: rgba(247, 225, 198, .35); }
@media (width >= 992px) { .leisure-card { padding: 1.5rem; } }
@media (width >= 1600px) { .leisure-card { gap: 1.5rem; } }
.ic-attr {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.leisure-card p { margin: 0; font-size: 1rem; line-height: 1.2; }
@media (width >= 1600px) { .leisure-card p { font-size: 1.125rem; } }

/* ==========================================================================
   DIFERENCIAIS (camadas sobrepostas)
   ========================================================================== */
.finishes { padding: 3rem 0; overflow: hidden; }
@media (width >= 992px) { .finishes { padding: 5.5rem 0; } }
@media (width >= 1600px) { .finishes { padding: 6.5rem 0; } }

.grid-stack { display: grid; }
.grid-stack > * { grid-area: 1 / 1; min-width: 0; }
.grid-stack-content { pointer-events: none; }
.grid-stack-content .swiper, .grid-stack-content a, .grid-stack-content .container { pointer-events: auto; }
@media (width < 992px) {
  .grid-stack { display: block; }
  .stack-mobile { margin-top: 2rem; }
}

.finishes .grid-stack-bg .container { height: 100%; display: flex; align-items: center; }
.finishes-text { width: 100%; }
.finishes-title { margin-bottom: 1.75rem; }
@media (width >= 992px) { .finishes-text { width: 33.3333%; padding-right: 1rem; } }
@media (width >= 1600px) { .finishes-text { width: 25%; } .finishes-title { margin-bottom: 2.75rem; } }

.finishes-slider-col { overflow: hidden; }
@media (width >= 992px) {
  .finishes .grid-stack-content { display: flex; justify-content: flex-end; }
  .finishes-slider-col { width: 58.3333%; }
}
@media (width >= 1600px) { .finishes-slider-col { width: 66.6667%; } }
.js-slider-finishes { overflow: visible !important; padding: 1rem; }
@media (width >= 992px) { .js-slider-finishes { padding: 1rem 2rem 1rem 0; } }

.finish-card { position: relative; overflow: hidden; color: var(--light); }
.pseudo-gradient-finishes::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(65, 53, 43, .16) 40%, rgba(65, 53, 43, .64) 80%);
}
.finish-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem;
}
@media (width >= 992px) { .finish-card-body { padding: 2rem; } }
@media (width >= 1600px) { .finish-card-body { padding: 2.5rem 2rem; } }
.finish-card-body .h6 { color: var(--light); }
@media (width < 992px) { .finish-card-body .h6 { font-size: 1.25rem; } }

/* ==========================================================================
   PLANTAS
   ========================================================================== */
.plans { padding: 3rem 0; overflow: hidden; }
@media (width >= 992px) { .plans { padding: 3.5rem 0 5rem; } }
@media (width >= 1600px) { .plans { padding: 6rem 0; } }
.plans-head { margin-bottom: 3rem; }
.plans-head .eyebrow { margin-bottom: 0; }
@media (width >= 992px) { .plans-head { padding-top: 1.5rem; } .plans-head .eyebrow { margin-bottom: 2rem; } }
@media (width >= 1600px) { .plans-head { margin-bottom: 6rem; } }
.plans-head-text p { margin: 0; }
@media (width >= 992px) { .plans-head-text { flex: 0 0 41.6667%; text-align: right; } }
.slider-shell { position: relative; }
.js-slider-plans { overflow: visible !important; }
.plan-card { position: relative; display: block; color: var(--navy); transition: color .2s; }
.plan-card:hover { color: var(--gold); }
.plan-frame { margin-bottom: 1.5rem; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
@media (width >= 992px) { .plan-frame { margin-bottom: 2.5rem; } }

/* ==========================================================================
   PROXIMIDADES
   ========================================================================== */
.nearby { padding: 4rem 0; overflow: hidden; }
@media (width >= 992px) { .nearby { padding: 5rem 0; } }
.nearby .grid-stack-content { pointer-events: none; }
.nearby .grid-stack-content .container { pointer-events: none; }
.nearby .grid-stack-content .nearby-text { pointer-events: auto; }
@media (width < 992px) {
  .nearby .grid-stack { display: flex; flex-direction: column-reverse; }
  .nearby .stack-mobile { margin-top: 1rem; }
}
@media (width >= 992px) {
  .nearby .grid-stack-bg { display: flex; justify-content: flex-end; }
  .nearby-slider-col { width: 58.3333%; }
}
@media (width >= 1600px) { .nearby-slider-col { width: 66.6667%; } }
.nearby-slider-col { padding-inline: 1rem; }
@media (width >= 992px) { .nearby-slider-col { padding-inline: 0; } }
.nearby-text { width: 100%; }
@media (width >= 992px) { .nearby-text { width: 33.3333%; padding-right: 1rem; } }
.eyebrow-nearby { margin-bottom: 1.5rem; line-height: 1.2; }
.nearby-title { margin-bottom: 2rem; }
@media (width >= 1600px) { .nearby-title, .nearby-text > p { padding-right: 4rem; } }
.nearby-card { position: relative; display: block; color: var(--navy); transition: color .2s; }
.nearby-card:hover { color: var(--gold); }
.nearby-card .ratio { margin-bottom: 1.5rem; }
@media (width >= 992px) { .nearby-card .ratio { margin-bottom: 2.5rem; } }
.nearby-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.nearby-meta h3 { margin: 0; color: inherit; font-size: 1.125rem; }
@media (width >= 1600px) { .nearby-meta h3 { font-size: 1.25rem; } }
.nearby-time { flex-shrink: 0; font-size: .875rem; line-height: 1.5; color: var(--navy); }
@media (width >= 1600px) { .nearby-time { font-size: 1rem; } }
.js-slider-nearby .slider-btn { top: calc(50% - 1.25rem); }
@media (width >= 1600px) { .js-slider-nearby .slider-btn { top: calc(50% - 1.5rem); } }

/* ==========================================================================
   LOCALIZAÇÃO
   ========================================================================== */
.location { padding: 2.5rem 0; }
@media (width >= 992px) { .location { padding: 4rem 0; } }
.location-inner { max-width: 1027px; margin: 0 auto; text-align: center; }
.location-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.location-name { display: flex; align-items: center; justify-content: center; gap: .5rem; }
@media (width >= 992px) {
  .location-head { flex-direction: row; gap: 2rem; margin-bottom: 2rem; }
}
.location-links { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (width >= 992px) { .location-links { flex-direction: row; gap: 2rem; } }
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  line-height: 1.5;
  text-transform: uppercase;
  transition: opacity .2s ease-in-out;
}
.icon-link:hover { opacity: .75; }
.icon-link-label { display: inline-flex; align-items: center; gap: .5rem; }
.icon-link-arrow { transition: transform .2s ease-in-out; }
.icon-link:hover .icon-link-arrow { transform: translateX(4px); }
@media (width >= 1600px) { .icon-link { font-size: 1.25rem; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding: 6.5rem 0 4rem; background: var(--s10); }
.footer-star {
  position: absolute;
  top: 0;
  right: 8%;
  z-index: 1;
  width: 120px;
  height: 120px;
  color: var(--gold);
  transform: translateY(-50%);
}
@media (width >= 992px) { .footer-star { width: 176px; height: 176px; } }
.footer-logo { display: block; width: 220px; margin: 0 auto 3.5rem; }
.footer-logo img { width: 220px; height: auto; }
.footer-cols {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
@media (width >= 992px) {
  .footer-cols { flex-direction: row; align-items: flex-start; justify-content: center; gap: 6rem; text-align: left; }
}
@media (width >= 1200px) { .footer-cols { gap: 12rem; } }
.footer-col { display: flex; flex-direction: column; gap: 2rem; }
.footer-nav li a {
  display: block;
  padding: .5rem 0;
  font-size: .875rem;
  font-style: italic;
  line-height: 1;
  transition: color .2s;
}
.footer-nav li a:hover { color: var(--gold); }
.footer-block h2 {
  margin: 0 0 .5rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}
.footer-links { display: flex; flex-direction: column; align-items: center; }
@media (width >= 992px) { .footer-links { align-items: flex-start; } }
.footer-links a, .footer-links span {
  padding: .25rem 0;
  font-size: .875rem;
  line-height: 1.2;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1rem; justify-content: center; }
@media (width >= 992px) { .footer-social { justify-content: flex-start; } }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; font-size: 1.35rem; transition: color .2s; }
.footer-social a:hover { color: var(--gold); }
.footer-copy { margin: 0; font-size: .75rem; line-height: 1.5; text-align: center; }
.footer-copy .sep { padding-inline: 1rem; }
@media (width < 992px) {
  .footer-copy .sep { display: none; }
  .d-block-mobile { display: block; }
}

/* ==========================================================================
   BOTÃO FLUTUANTE
   ========================================================================== */
.chat-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1019;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 16px;
  color: var(--white);
  background: var(--wa);
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transition: transform .2s ease-in-out, background-color .2s;
}
.chat-button:hover { transform: scale(1.06); background: #1f9a39; }
.chat-button svg { width: 32px; height: 32px; }

/* ---------- lightbox ---------- */
.glightbox-clean .gslide-description { background: var(--s7); }
.glightbox-clean .gdesc-inner { padding: 14px 20px; }
.glightbox-clean .gslide-desc { font-family: var(--font-sans); color: var(--navy); font-size: .95rem; }
.goverlay { background: rgba(0, 12, 38, .92); }

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