/* =========================================================
   Season Rio Branco · Landing Page (Cintia Schweig)
   Paleta e tipografia extraídas do book TGD e dos criativos
   ========================================================= */
:root {
  --terra: #a06653;
  --terra-2: #b97e6a;
  --terra-3: #8a5544;
  --sand: #e9e2d8;
  --sand-2: #f4efe8;
  --sand-3: #ddd3c6;
  --olive: #34382c;
  --olive-2: #3f4436;
  --ink: #2a2724;
  --muted: #6e665e;
  --line: rgba(42, 39, 36, .14);
  --line-light: rgba(244, 239, 232, .18);

  --display: "Gloock", "DM Serif Display", Georgia, "Times New Roman", serif;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 3px;
  --radius-lg: 8px;
  --shadow: 0 40px 80px -40px rgba(42, 30, 24, .5);
  --container: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.75;
  color: var(--ink); background: var(--sand-2); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
strong { font-weight: 600; }
figure { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: clamp(18px, 4vw, 36px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--olive); color: var(--sand-2); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--terra);
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--sand); }
.eyebrow--terra-light { color: #d9a894; }
.title {
  font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04;
  letter-spacing: -.015em; margin: 0 0 24px; color: var(--ink);
}
.title em { font-style: normal; color: var(--terra); }
.title--light { color: var(--sand-2); }
.title--light em { color: #d9a894; }
.lead { font-size: clamp(17px, 1.5vw, 19px); font-weight: 300; line-height: 1.7; color: var(--ink); margin: 0 0 20px; }
.lead--light { color: rgba(244, 239, 232, .86); }
p { margin: 0 0 16px; }
.caps { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.sub { color: var(--muted); max-width: 640px; margin-inline: auto; }
.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__head .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.section__head--row .eyebrow::after { display: none; }

.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--sand { background: var(--sand); }
.section--olive { background: var(--olive); color: var(--sand-2); }
.section--terra { background: var(--terra); color: var(--sand-2); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--terra); --fg: var(--sand-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  min-height: 54px; padding: 0 30px; border-radius: var(--radius); background: var(--bg); color: var(--fg);
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { --bg: var(--terra-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .tab:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--terra-2); outline-offset: 3px; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { --bg: var(--ink); --fg: var(--sand-2); }
.btn--olive { --bg: var(--olive); }
.btn--olive:hover { --bg: var(--terra); }
.btn--ghost { --bg: transparent; --fg: var(--sand-2); box-shadow: inset 0 0 0 1px rgba(244, 239, 232, .5); }
.btn--ghost:hover { --bg: var(--sand-2); --fg: var(--ink); }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(244, 239, 232, .4); border-top-color: var(--sand-2); animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: .5; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--terra); margin-top: 10px; }
.link-arrow::after { content: "→"; font-size: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(244, 239, 232, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.header.is-scrolled { background: rgba(244, 239, 232, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); --header-h: 68px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--terra); transition: right .35s var(--ease); }
.nav a:hover::after { right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(380px, .75fr); min-height: max(780px, 100svh); }
.hero__copy { padding: calc(var(--header-h) + clamp(32px, 5vh, 70px)) clamp(18px, 3vw, 56px) 56px max(clamp(18px, 4vw, 36px), calc((100vw - 1440px) / 2 + 36px)); display: flex; flex-direction: column; justify-content: center; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.4vw, 88px); line-height: .98; letter-spacing: -.02em; margin: 0 0 26px; }
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--terra); }
.hero__lead { font-size: 12px; font-weight: 500; letter-spacing: .3em; line-height: 2.1; text-transform: uppercase; color: var(--ink); max-width: 470px; margin: 0 0 34px; }
.specbar { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; list-style: none; margin: 0; background: var(--terra); color: var(--sand-2); border-radius: var(--radius-lg); padding: 16px 8px; max-width: 520px; }
.specbar li { display: flex; align-items: center; gap: 12px; padding: 0 18px; font-size: 13px; line-height: 1.35; }
.specbar li + li { border-left: 1px solid rgba(244, 239, 232, .45); }
.specbar svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.specbar small { display: block; font-size: 12px; opacity: .85; }
.address { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; line-height: 1.5; }
.address svg { width: 26px; height: 34px; fill: var(--terra); flex: none; }
.hero__media { position: relative; min-height: 100%; }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__form { background: var(--sand-2); padding: calc(var(--header-h) + 20px) clamp(20px, 2.6vw, 44px) 36px; display: flex; flex-direction: column; justify-content: center; }
.hero__form .card-form { background: transparent; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; max-width: 420px; }

/* ---------- Card de formulário ---------- */
.card-form { background: rgba(244, 239, 232, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); color: var(--ink); }
.card-form__kicker { font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--terra); margin: 0 0 8px; }
.card-form__title { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; margin: 0 0 20px; }
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; position: relative; }
.field label { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a06653' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(160, 102, 83, .16); }
.field.is-invalid input { border-color: #b3261e; }
.field__error { font-size: 12px; color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.consent input { accent-color: var(--terra); margin-top: 2px; }
.form-msg { font-size: 13px; margin: 0; min-height: 0; }
.form-msg.is-ok { color: #3f6b3a; }
.form-msg.is-error { color: #b3261e; }
.form-msg a { color: inherit; font-weight: 600; }

/* ---------- Faixa de números ---------- */
.numbers { background: var(--olive); color: var(--sand-2); padding-block: clamp(40px, 5vw, 60px); }
.numbers__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.num { text-align: center; padding-inline: 8px; }
.num + .num { border-left: 1px solid var(--line-light); }
.num strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; color: #e2b5a2; margin-bottom: 10px; }
.num strong small { font-size: .45em; margin-left: 3px; }
.num span { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 239, 232, .78); line-height: 1.6; }

/* ---------- Conceito ---------- */
.concept__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.concept__photos { position: relative; padding: 0 18% 22% 0; }
.concept__photos .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.concept__photos .main img { width: 100%; height: 100%; object-fit: cover; }
.concept__photos .alt { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 9 / 10; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid var(--sand-2); box-shadow: var(--shadow); }
.concept__photos .alt img { width: 100%; height: 100%; object-fit: cover; }
.concept__photos::before { content: ""; position: absolute; left: -26px; top: 18%; width: 34%; height: 70%; background: var(--terra); border-radius: var(--radius-lg); z-index: -1; }
.concept blockquote { margin: 34px 0 0; padding: 22px 0 0 26px; border-left: 1px solid var(--terra); font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-style: italic; line-height: 1.35; color: var(--terra-3); }
.lotus { width: 42px; height: 42px; stroke: var(--terra); fill: none; stroke-width: 1.2; margin-bottom: 18px; }

/* ---------- Imagem larga ---------- */
.wide { position: relative; }
.wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.wide figcaption, .caption { font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 10px; }
.wide--overlay figcaption { position: absolute; left: clamp(18px, 4vw, 36px); bottom: 16px; margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Apartamento ---------- */
.apt__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 6vw, 90px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); flex: none; }
.section--olive .checks li { border-color: var(--line-light); }
.apt__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apt__pics button { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.apt__pics button:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
.apt__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.apt__pics button:hover img { transform: scale(1.04); }

.tag { position: absolute; left: 14px; bottom: 14px; background: rgba(42, 39, 36, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--sand-2); padding: 6px 12px; border-radius: 30px; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Plantas ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab { padding: 12px 22px; border-radius: 40px; border: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: all .3s var(--ease); }
.tab:hover { border-color: var(--terra); color: var(--terra); }
.tab.is-active { background: var(--terra); border-color: var(--terra); color: var(--sand-2); }
.plan { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; background: var(--sand-2); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 44px); }
.plan__img { display: block; width: 100%; position: relative; background: #e4ded4; border-radius: var(--radius); overflow: hidden; }
.plan__img img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.zoom { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: var(--sand-2); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 30px; }
.plan__switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { padding: 8px 14px; border-radius: 30px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; }
.chip.is-active { background: var(--ink); color: var(--sand-2); border-color: var(--ink); }
.plan__floor { display: block; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.plan__info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin: 0 0 22px; }
.plan__info h3 em { font-style: normal; color: var(--terra); }
.note { font-size: 13px; color: var(--muted); }
.disclaimer { font-size: 11.5px; color: var(--muted); text-align: center; max-width: 860px; margin: 26px auto 0; line-height: 1.6; }
.disclaimer--light { color: rgba(244, 239, 232, .6); }

/* ---------- Tipologias ---------- */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.type { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; background: var(--sand-2); display: flex; flex-direction: column; }
.type__n { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); }
.type h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 14px 0 6px; }
.type p { color: var(--muted); font-size: 14px; flex: 1; }
.type .link-arrow { margin-top: 12px; }
.type--main { background: var(--terra); color: var(--sand-2); border-color: var(--terra); }
.type--main .type__n, .type--main p, .type--main .link-arrow { color: rgba(244, 239, 232, .88); }

/* ---------- Lazer ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 14px; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-3); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--a { grid-column: span 8; grid-row: span 2; }
.mosaic__item--b { grid-column: span 4; grid-row: span 1; }
.mosaic__item--c { grid-column: span 4; grid-row: span 1; }
.mosaic__item--d { grid-column: span 6; grid-row: span 2; }
.mosaic__item--e { grid-column: span 6; grid-row: span 1; }
.mosaic__item--f { grid-column: span 3; grid-row: span 1; }
.mosaic__item--g { grid-column: span 3; grid-row: span 1; }
.mosaic__item--h { grid-column: span 6; grid-row: span 2; }
.mosaic__item--i { grid-column: span 6; grid-row: span 2; }
.amenities { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 44px 0 0; }
.amenities li { border: 1px solid var(--line); border-radius: 40px; padding: 8px 18px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Implantação ---------- */
.floors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.floor { background: rgba(244, 239, 232, .06); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(18px, 2.5vw, 30px); }
.floor h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 16px; color: var(--sand-2); }
.floor__img { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: #e4ded4; }
.floor ol { columns: 2; gap: 18px; padding: 0; margin: 20px 0 0; list-style: none; counter-reset: f; }
.floor li { counter-increment: f; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 0; break-inside: avoid; color: rgba(244, 239, 232, .85); display: flex; gap: 10px; align-items: center; }
.floor li::before { content: counter(f, decimal-leading-zero); width: 24px; height: 24px; border-radius: 50%; background: var(--terra); color: var(--sand-2); display: grid; place-items: center; font-size: 10px; letter-spacing: 0; flex: none; }

/* ---------- CTA intermediário ---------- */
.band { position: relative; color: var(--sand-2); text-align: center; padding-block: clamp(96px, 13vw, 170px); overflow: hidden; isolation: isolate; }
.band__bg, .band__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(34, 30, 26, .55); z-index: -1; }
.band__title { font-family: var(--display); font-size: clamp(38px, 5vw, 70px); line-height: 1.02; margin: 0 0 18px; }
.band__title em { font-style: normal; color: #e2b5a2; }
.band p { max-width: 620px; margin: 0 auto 30px; font-weight: 300; font-size: 18px; }

/* ---------- Localização ---------- */
.location__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.near { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.near li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.near li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--terra); flex: none; }

/* ---------- Assinaturas ---------- */
.signatures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.sig { border-top: 1px solid var(--terra); padding-top: 22px; }
.sig dt { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.sig dd { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.15; }
.sig p { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.tgd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; margin-top: clamp(56px, 7vw, 90px); }
.tgd__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tgd__stats div { background: var(--terra); color: var(--sand-2); border-radius: var(--radius-lg); padding: 28px; }
.tgd__stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1; margin-bottom: 8px; }
.tgd__stats span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; display: block; }

/* ---------- CTA final ---------- */
.final { position: relative; color: var(--sand-2); overflow: hidden; isolation: isolate; padding-block: clamp(80px, 10vw, 140px); }
.final__bg, .final__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 32, 26, .92) 0%, rgba(34, 32, 26, .72) 55%, rgba(34, 32, 26, .45) 100%); z-index: -1; }
.final__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.final__logo { width: 190px; margin-bottom: 34px; }
.final p { color: rgba(244, 239, 232, .86); font-weight: 300; font-size: 17px; }
.broker { display: flex; align-items: center; gap: 20px; margin: 34px 0 26px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.broker img { height: 58px; width: auto; }
.wa-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--sand-2); text-decoration: none; border-bottom: 1px solid rgba(244, 239, 232, .4); padding-bottom: 4px; }
.wa-link svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(244, 239, 232, .75); padding-block: 60px 110px; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.footer__brand img { height: 50px; width: auto; margin-bottom: 14px; }
.footer__creci { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.footer__contact { justify-self: end; text-align: right; }
.footer__contact a { color: var(--sand-2); }
.footer__legal { grid-column: 1 / -1; font-size: 11px; line-height: 1.7; color: rgba(244, 239, 232, .5); border-top: 1px solid var(--line-light); padding-top: 26px; margin: 0; }

/* ---------- WhatsApp flutuante / barra mobile ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { width: min(460px, calc(100vw - 32px)); border: 0; padding: 34px; border-radius: var(--radius-lg); background: var(--sand-2); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(34, 30, 26, .66); backdrop-filter: blur(4px); }
.modal__close { position: absolute; right: 14px; top: 10px; font-size: 30px; line-height: 1; color: var(--muted); width: 40px; height: 40px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(24, 22, 20, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--radius); background: #eee; }
.lightbox button { position: absolute; color: var(--sand-2); font-size: 40px; width: 56px; height: 56px; }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(360px, .8fr); }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: calc(var(--header-h) + 36px) clamp(18px, 4vw, 36px) 40px; }
  .hero__media { min-height: 0; padding: 0 clamp(18px, 4vw, 36px); }
  .hero__media picture { position: relative; display: block; height: 70vh; max-height: 660px; border-radius: var(--radius-lg); overflow: hidden; }
  .hero__form { background: transparent; padding: 0 clamp(18px, 4vw, 36px) 56px; }
  .hero__form .card-form { background: var(--sand-2); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 34px); max-width: 560px; margin: -110px auto 0; position: relative; }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .num:nth-child(4) { border-left: 0; }
  .concept__grid, .apt__grid, .location__grid, .final__grid, .tgd { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr; }
  .signatures { grid-template-columns: 1fr 1fr; }
  .floors { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  :root { --header-h: 64px; }
  .header__logo img { height: 32px; }
  .header .btn { display: none; }
  .specbar { grid-template-columns: 1fr 1fr 1fr; padding: 14px 4px; width: 100%; }
  .specbar li { flex-direction: column; text-align: center; gap: 6px; padding: 0 8px; font-size: 11.5px; }
  .specbar small { font-size: 11px; }
  .hero__lead { font-size: 11px; letter-spacing: .22em; }
  .hero__media picture { height: 58vh; }
  .hero__form .card-form { margin-top: -70px; }
  .field-row { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .num { border-left: 0 !important; }
  .num:last-child { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .mosaic__item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .mosaic__item--a, .mosaic__item--d, .mosaic__item--h { grid-column: span 2 !important; grid-row: span 2 !important; }
  .tag { left: 8px; bottom: 8px; padding: 4px 10px; font-size: 9px; letter-spacing: .12em; }
  .wide img { aspect-ratio: 4 / 3; }
  .apt__pics { grid-template-columns: 1fr; }
  .apt__pics button:first-child { aspect-ratio: 16 / 10; }
  .near { grid-template-columns: 1fr; }
  .signatures { grid-template-columns: 1fr; }
  .floor ol { columns: 1; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { justify-self: start; text-align: left; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 239, 232, .96); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar.no-wa { grid-template-columns: 1fr; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  .mobile-bar .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .lightbox { padding: 50px 10px; }
  .modal { padding: 28px 22px; }
}
