/* Estância São José II · landing page (versão 3, "Um dia na represa")
   A hora do dia é a espinha da página: cada seção tem a sua, o relógio do
   cabeçalho acompanha a rolagem e o fundo esquenta do azul-noite ao fim de tarde.
   Identidade: azul royal, dourado champagne, off-white.
   Tipografia: Perpetua Titling (horas e títulos) + Gotham (texto).
   Celular primeiro; as regras de computador vêm nas @media (min-width). */

@font-face { font-family: "Perpetua Titling"; src: url("assets/fonts/perpetua-titling-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Perpetua Titling"; src: url("assets/fonts/perpetua-titling-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("assets/fonts/gotham-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("assets/fonts/gotham-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* o dia: do amanhecer (azul-noite) ao pôr do sol (azul aquecido) */
  --dawn: #06122C;
  --morning: #0B2148;
  --noon: #0E2650;
  --afternoon: #13264B;
  --dusk: #1A2A4A;
  --royal: #16386F;
  --gold: #C9A061;
  --gold-light: #E2B873;
  --gold-deep: #9E6F2E;
  --off: #F3F5F9;
  --text: #F3F5F9;
  --text-2: #B8C3D9;
  --text-3: #8E9BB8;
  --ink: #0B2148;
  --display: "Perpetua Titling", "Times New Roman", serif;
  --sans: "Gotham", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1200px;
  --sec: clamp(72px, 10vw, 128px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --radius-media: 16px;
  --radius-field: 10px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; background: var(--dawn); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--dawn); overflow-x: clip; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, dt, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
a, button, [role="button"], input, select, label.check { touch-action: manipulation; }
button, .btn, .arrow, .wa, .menu-btn { user-select: none; -webkit-user-select: none; }
::selection { background: var(--gold); color: var(--dawn); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 500; text-decoration: none; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; }
main { position: relative; z-index: 1; }

/* ---------- Tipografia ---------- */
.h2 { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); line-height: 1.1; letter-spacing: .02em; text-wrap: balance; }
.lead { margin-top: 16px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.lead + p { margin-top: 12px; color: var(--text-2); max-width: 46ch; }
.note { font-size: .8rem; line-height: 1.5; color: var(--text-3); max-width: 60ch; }

/* a hora: o componente que se repete o dia inteiro */
/* a hora e o motivo dela: "8h, hora de navegar" */
.hour { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; }
.hour b { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); line-height: 1; letter-spacing: .02em; color: var(--gold-light); }
.hour span { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.35; color: #fff; }
.hour__intro { flex-basis: 100%; font-size: .9rem !important; color: var(--text-2) !important; margin-bottom: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--gold { position: relative; overflow: hidden; background: linear-gradient(100deg, #B8873F, var(--gold-light) 55%, var(--gold)); color: var(--dawn); box-shadow: 0 10px 24px -12px rgba(0,0,0,.55); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); }
.btn--line { background: rgba(6,18,44,.25); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; margin-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { box-shadow: 0 16px 32px -12px rgba(0,0,0,.6); }
  .btn--gold:hover::after { animation: sheen 1.1s var(--ease-out); }
  .btn--line:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
}
@media (prefers-reduced-motion: no-preference) { .btn--gold::after { animation: sheen 4.5s var(--ease-out) 1.8s 2; } }
@keyframes sheen { to { transform: translateX(120%); } }

/* ---------- Cabeçalho ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter); color: #fff; transition: background-color 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
.top.is-solid { background: rgba(6,18,44,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.brand { display: block; padding: 4px 0; }
.brand img { width: 138px; }
.clock { display: flex; align-items: baseline; gap: 8px; margin-left: auto; opacity: 0; transform: translateY(-4px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); white-space: nowrap; }
.top.is-solid .clock { opacity: 1; transform: none; }
.clock b { font-family: var(--display); font-weight: 300; font-size: 1.35rem; line-height: 1; color: var(--gold-light); letter-spacing: .02em; }
.clock span { display: none; font-size: .85rem; color: var(--text-2); }
.js .clock b, .js .clock span { transition: opacity 180ms ease, filter 180ms ease; }
.js .clock.is-swapping b, .js .clock.is-swapping span { opacity: 0; filter: blur(3px); }
.top__cta { display: none; }
.menu-btn { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; border: 0; background: transparent; color: #fff; cursor: pointer; margin-right: -8px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 250ms var(--ease-out); }
.top.is-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.top.is-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 90px var(--gutter) 40px; background: rgba(6,18,44,.96); opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out); }
.nav a { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; padding: 12px 0; text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.nav a b { font-family: var(--display); font-weight: 300; font-size: 1.5rem; color: var(--gold-light); letter-spacing: .02em; }
.nav a span { font-size: 1.05rem; }
.nav .nav__cta span { color: var(--gold-light); }
.top.is-open { background: rgba(6,18,44,.96); }
.top.is-open .nav { opacity: 1; pointer-events: auto; }
.top.is-open .nav a { opacity: 1; transform: none; }
.top.is-open .clock { opacity: 0; }

/* ---------- 6h30: o amanhecer ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: var(--dawn); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__poster, .hero__poster img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 700ms ease; }
.hero__video.is-playing { opacity: 1; }
/* a luz das 6h30 sobre a filmagem: céu frio em cima, horizonte morno no meio (nunca troca a imagem, só a gradua) */
.hero__grade { position: absolute; inset: 0; mix-blend-mode: color; background:
  linear-gradient(180deg, rgba(22,56,111,.78) 0%, rgba(22,56,111,.62) 42%, rgba(22,56,111,.3) 66%, rgba(22,56,111,0) 100%); }
.hero__grade::after { content: ""; position: absolute; inset: 0; mix-blend-mode: normal; background:
  linear-gradient(180deg, rgba(6,18,44,0) 0%, rgba(6,18,44,0) 48%, rgba(226,184,115,.22) 66%, rgba(201,160,97,.16) 80%, rgba(226,184,115,0) 100%); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,18,44,.62) 0%, rgba(6,18,44,0) 30%),
  linear-gradient(0deg, rgba(6,18,44,.94) 0%, rgba(6,18,44,.7) 30%, rgba(6,18,44,.2) 58%, rgba(6,18,44,0) 75%); }
.hour--hero { position: absolute; right: var(--gutter); top: 84px; z-index: 2; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; text-align: right; max-width: 60vw; }
.hour--hero b { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); }
.hour--hero span { font-size: .95rem; color: #fff; }
.hour--hero .hour__intro { flex-basis: auto; margin-bottom: 6px; }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vh, 56px); }
.hero__title { font-family: var(--display); font-weight: 300; font-size: clamp(2.15rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.04; letter-spacing: .025em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hero__title .w { display: inline-block; }
.hero__lead { margin-top: 14px; max-width: 34ch; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); line-height: 1.5; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
.hero__more { align-self: center; color: var(--gold-light); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; transition: opacity 160ms var(--ease-out); }
.hero__more:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .hero__more:hover { opacity: .8; } }
.hero__cap { position: relative; z-index: 2; padding: 0 0 calc(14px + var(--safe-b)); font-size: .75rem; color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .w { opacity: 0; filter: blur(6px); transform: translateY(14px); animation: word-in 600ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 60ms); }
  .js .hero__lead, .js .hero__actions, .js .hour--hero { opacity: 0; transform: translateY(12px); animation: rise 700ms var(--ease-out) forwards; }
  .js .hour--hero { animation-delay: 200ms; }
  .js .hero__lead { animation-delay: 420ms; }
  .js .hero__actions { animation-delay: 540ms; }
}
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 8h: o lugar (texto e números no azul, depois a foto de ponta a ponta) ---------- */
.place { padding-top: var(--sec); padding-bottom: 0; background: var(--morning); overflow: hidden; }
.place__text { padding-bottom: clamp(36px, 6vw, 64px); }
.place__img { position: relative; margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; background: var(--dawn); }
.place__img picture, .place__img img { width: 100%; height: 100%; }
.place__img img { object-fit: cover; object-position: 50% 45%; }
.place__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(0deg, rgba(6,18,44,.8) 0%, rgba(6,18,44,0) 100%); pointer-events: none; }
.place__img figcaption { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 12px; font-size: .75rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 28px; align-items: end; }
.facts__big { grid-column: 1 / -1; }
.facts dt { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1; letter-spacing: .02em; color: var(--gold-light); }
.facts__big dt { font-size: clamp(3.2rem, 2.4rem + 4vw, 5.6rem); }
.facts dd { font-size: .9rem; color: var(--text-2); margin-top: 6px; }
.facts--row { grid-template-columns: 1fr 1fr; margin-top: 32px; }
.facts--row div:last-child { grid-column: 1 / -1; }

/* ---------- 10h: fase I (galeria que desliza) ---------- */
.phase { padding: var(--sec) 0 calc(var(--sec) * .7); background: var(--morning); }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 auto; width: 82vw; max-width: 560px; aspect-ratio: 4 / 5; border-radius: var(--radius-media); overflow: hidden; scroll-snap-align: start; background: var(--dawn); }
.card--tall { width: 72vw; max-width: 400px; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,18,44,.82) 0%, rgba(6,18,44,0) 48%); }
.card figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-size: .9rem; color: var(--text-2); }
.card figcaption b { display: block; font-family: var(--display); font-weight: 300; font-size: 1.3rem; letter-spacing: .03em; color: #fff; margin-bottom: 4px; }
.gallery__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.gallery__nav { display: none; gap: 10px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 200ms ease, color 200ms ease; }
.arrow:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .arrow:hover { border-color: var(--gold); color: var(--gold-light); } .card img { transition: transform 1.2s var(--ease-out); } .card:hover img { transform: scale(1.04); } }

/* ---------- 13h: almoço (foto + texto) ---------- */
.lunch { padding: var(--sec) 0; background: var(--noon); }
.lunch__grid { display: grid; gap: 28px; }
.lunch__img { border-radius: var(--radius-media); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.lunch__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 15h: os lotes (planta + números) ---------- */
.lots { padding: var(--sec) 0; background: var(--afternoon); }
.lots__grid { display: grid; gap: 36px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin: 28px 0 26px; }
.specs dt { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1; letter-spacing: .02em; color: var(--gold-light); }
.specs dd { font-size: .88rem; color: var(--text-2); margin-top: 6px; }
.ticks { display: grid; gap: 10px; margin-bottom: 30px; font-size: .95rem; color: var(--text-2); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 13px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.lots__plan { background: #fff; border-radius: var(--radius-media); padding: clamp(14px, 2vw, 24px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.lots__plan img { width: 100%; max-height: 62vh; object-fit: contain; }
.lots__plan figcaption { font-size: .75rem; color: #4A5672; margin-top: 10px; text-align: center; }

/* ---------- 16h: a serra (díptico) ---------- */
.sierra { padding: var(--sec) 0; background: var(--afternoon); }
.sierra__pair { display: grid; gap: 14px; margin-top: 28px; }
.sierra__wide, .sierra__tall { position: relative; border-radius: var(--radius-media); overflow: hidden; background: var(--dawn); }
.sierra__wide { aspect-ratio: 16 / 9; }
.sierra__tall { aspect-ratio: 4 / 5; }
.sierra__pair picture, .lunch__img picture { height: 100%; }
.sierra__pair img { width: 100%; height: 100%; object-fit: cover; }
.sierra__pair figcaption { position: absolute; left: 14px; right: 14px; bottom: 10px; font-size: .75rem; color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(0,0,0,.7); }

/* ---------- 17h: como chegar ---------- */
.trips { padding: var(--sec) 0; background: var(--dusk); }
/* cada tempo tem o tamanho da sua proximidade: Cássia maior, São Paulo menor */
.trips__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin-top: 32px; align-items: end; }
.trips__list b { display: block; font-family: var(--display); font-weight: 300; font-size: var(--s, 1.6rem); line-height: 1; color: var(--gold-light); letter-spacing: .02em; }
.trips__list span { display: block; margin-top: 6px; font-size: .9rem; color: var(--text-2); }
.trips .note { margin-top: 18px; }

/* ---------- 18h: o pôr do sol e a lista ---------- */
.contact { position: relative; padding: var(--sec) 0 calc(var(--sec) + 20px); overflow: hidden; background: var(--dusk); }
.contact__bg, .contact__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__bg img { object-fit: cover; object-position: 50% 30%; }
.contact__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,42,74,.97) 0%, rgba(26,42,74,.86) 55%, rgba(26,42,74,.45) 100%); }
.contact__grid { position: relative; display: grid; gap: 32px; }
.contact__text .lead { color: #fff; }
.form { background: rgba(6,18,44,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 24px 22px 20px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .9rem; font-weight: 500; color: #fff; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 52px; padding: 0 14px; border-radius: var(--radius-field); border: 1px solid rgba(255,255,255,.3); background: rgba(6,18,44,.6); color: #fff; font: inherit; font-size: 16px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #E2B873 50%), linear-gradient(135deg, #E2B873 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(226,184,115,.25); }
.field [aria-invalid="true"] { border-color: #FFB4A9; }
.err { display: block; font-size: .8rem; color: #FFB4A9; margin-top: 5px; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; line-height: 1.45; color: #fff; margin: 2px 0 4px; padding: 6px 0; min-height: 44px; cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.form__done { margin-top: 14px; color: var(--gold-light); font-size: .95rem; }
.form__note { margin-top: 12px; font-size: .78rem; color: rgba(255,255,255,.55); text-align: center; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Rodapé ---------- */
.foot { background: var(--dawn); color: var(--text-2); padding: 56px 0 calc(100px + var(--safe-b)); font-size: .85rem; }
.foot__grid { display: grid; gap: 28px; padding-bottom: 36px; }
.foot__logo { width: 140px; }
.foot__who p + p { margin-top: 10px; }
.foot__who b { color: #fff; font-weight: 500; margin-right: 6px; }
.foot__sep { margin-left: 14px; }
.foot__legal { padding-top: 22px; font-size: .75rem; line-height: 1.55; color: var(--text-3); }
.foot__legal p + p { margin-top: 8px; }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--dawn); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); transition: transform 160ms var(--ease-out); }
.wa:active { transform: scale(.94); }
.wa svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .wa::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--gold-light); opacity: 0; animation: ring 9s var(--ease-out) 3s infinite; }
}
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 12% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }

/* toda seção tem a mesma margem lateral; o conteúdo nunca encosta na borda (vem depois das seções para vencer os atalhos de padding) */
.hero, .place, .phase, .lunch, .lots, .sierra, .trips, .contact, .foot { padding-left: var(--gutter); padding-right: var(--gutter); }
.place, .phase, .lunch, .lots, .sierra, .trips { position: relative; }
.place { overflow: visible; }

/* ---------- O horizonte entre as seções: um fio dourado que se desenha e um sol na altura da hora ---------- */
.horizon { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 0; pointer-events: none; z-index: 3; }
.horizon::before { content: ""; position: absolute; left: 0; right: 0; top: -0.5px; height: 1px; background: linear-gradient(90deg, rgba(226,184,115,0) 0%, rgba(226,184,115,.7) 22%, #F1D7A6 50%, rgba(226,184,115,.7) 78%, rgba(226,184,115,0) 100%); box-shadow: 0 6px 10px -4px rgba(226,184,115,.45); transform-origin: 50% 50%; }
.horizon::after { content: ""; position: absolute; left: 50%; width: 40px; height: 40px; margin-left: -20px; bottom: calc(var(--sun, .5) * 34px - 20px); border-radius: 50%; background: radial-gradient(circle, #FFF1D2 0 3px, #E2B873 4px 6px, rgba(226,184,115,.45) 7px, rgba(226,184,115,.12) 13px, rgba(226,184,115,0) 20px); }
.js .horizon::before { transform: scaleX(0); transition: transform 1.3s var(--ease-out); }
.js .horizon::after { opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out) .35s, transform 900ms var(--ease-out) .35s; }
.js .horizon.in::before { transform: scaleX(1); }
.js .horizon.in::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .horizon::before, .js .horizon::after { transform: none; transition: opacity 300ms ease; } }

/* ---------- Revelação ao rolar (três materiais: texto sobe, foto abre, número conta) ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(min(var(--i, 0), 6) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
/* o recorte fica na foto interna: a moldura observada continua "visível" para o navegador */
.js .rv-clip > picture { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-out); }
.js .rv-clip.in > picture { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js .rv { transform: none; transition: opacity 300ms ease; }
  .js .rv-clip > picture { clip-path: none; opacity: 0; transition: opacity 300ms ease; }
  .js .rv-clip.in > picture { opacity: 1; }
  .js .hero__title .w, .js .hero__lead, .js .hero__actions, .js .hour--hero { opacity: 1; filter: none; transform: none; animation: none; }
  .nav a { transition: opacity 200ms ease; transform: none; }
  .clock { transform: none; }
}

/* ---------- Tablet e computador ---------- */
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; align-items: center; gap: 28px; }
  .hero__more { align-self: auto; }
  .facts { grid-template-columns: auto auto auto; justify-content: start; gap: 24px 48px; }
  .facts__big { grid-column: auto; }
  .facts--row { grid-template-columns: auto auto auto; }
  .facts--row div:last-child { grid-column: auto; }
  .card { width: 56vw; }
  .card--tall { width: 42vw; }
  .trips__list { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
  .sierra__pair { grid-template-columns: 1.9fr 1fr; align-items: stretch; }
  .sierra__wide, .sierra__tall { aspect-ratio: auto; min-height: 360px; }
  .foot__grid { grid-template-columns: 140px 1fr; align-items: center; gap: 40px; }
}
@media (min-width: 900px) {
  .top { gap: 28px; padding: 18px var(--gutter); }
  .top.is-solid { padding-block: 12px; }
  .brand img { width: 196px; }
  .menu-btn { display: none; }
  .nav { position: static; z-index: auto; flex-direction: row; gap: 22px; padding: 0; background: transparent; opacity: 1; pointer-events: auto; margin-left: auto; }
  .nav a { display: inline-flex; gap: 6px; padding: 11px 0; opacity: 1; transform: none; font-size: .86rem; white-space: nowrap; }
  .nav a b { font-size: .95rem; }
  .nav a span { font-size: .86rem; opacity: .9; }
  .nav .nav__cta { display: none; }
  .clock { margin-left: 0; order: 3; }
  .clock span { display: inline; }
  .top__cta { display: inline-flex; order: 4; }
  .hero__content { padding-bottom: clamp(56px, 10vh, 110px); }
  .hero__lead { max-width: 44ch; }
  .hour--hero { top: 110px; }
  /* duas colunas: o título à esquerda; a frase e os três números na mesma coluna da direita */
  .place__text { padding-bottom: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto 1fr; gap: 0 72px; align-items: start; }
  .place__text .hour { grid-column: 1 / -1; grid-row: 1; margin-bottom: 24px; }
  .place__text .h2 { grid-column: 1; grid-row: 2 / 4; }
  .place__text .lead { grid-column: 2; grid-row: 2; margin-top: 0; }
  .place__text .facts { grid-column: 2; grid-row: 3; margin-top: 36px; grid-template-columns: auto auto; gap: 24px 48px; justify-content: start; }
  .place__text .facts__big { grid-column: 1 / -1; }
  .place__img { aspect-ratio: 21 / 9; }
  .lunch__grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
  .lots__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
  .lots__plan img { max-height: 76vh; }
  .ticks { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .gallery { gap: 18px; padding-top: 36px; }
  .card { width: 40vw; aspect-ratio: 4 / 3; }
  .card--tall { width: 28vw; aspect-ratio: 4 / 5; }
  .gallery__nav { display: flex; }
  .contact__grid { grid-template-columns: 1fr minmax(340px, 460px); gap: clamp(40px, 6vw, 90px); align-items: center; }
  .form { padding: 30px 30px 24px; }
  .foot { padding-bottom: 72px; }
}
@media (min-width: 1328px) { .gallery { padding-left: calc((100% + 2 * var(--gutter) - var(--wrap)) / 2); padding-right: calc((100% + 2 * var(--gutter) - var(--wrap)) / 2); } }

/* =====================================================================
   Ajustes de 19/10/2026: condição de pagamento, restaurante, WhatsApp e parceiros
   ===================================================================== */

/* condição de pagamento no hero: placa de vidro com borda dourada, 120x conta e um brilho passa */
.offer { position: relative; display: inline-grid; gap: 4px; margin-top: 18px; padding: 12px 18px 12px 16px; overflow: hidden; border-radius: var(--radius-media); background: linear-gradient(120deg, rgba(6,18,44,.78), rgba(22,56,111,.6)); border: 1px solid rgba(226,184,115,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.85); }
.offer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,241,210,.28) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.offer__row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2px 12px; }
.offer__pre { grid-column: 1; grid-row: 1 / 3; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.offer__num { grid-column: 2; grid-row: 1 / 3; font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: .9; letter-spacing: .01em; color: var(--gold-light); font-variant-numeric: tabular-nums; min-width: 3.1ch; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.offer__txt { grid-column: 3; display: grid; font-size: .9rem; line-height: 1.3; color: var(--text-2); }
.offer__txt strong { font-size: 1.15rem; font-weight: 500; color: #fff; }
.offer__extra { font-size: .85rem; color: #fff; padding-top: 6px; }
.offer__extra::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 2px; border-radius: 50%; background: var(--gold-light); vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .js .offer { opacity: 0; transform: translateY(12px) scale(.98); animation: rise 700ms var(--ease-out) 480ms forwards; }
  .offer::after { animation: offer-sheen 6s var(--ease-out) 1.6s infinite; }
}
@keyframes offer-sheen { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* a forma de pagamento repetida nos lotes */
.pay { margin: 0 0 22px; max-width: 42ch; font-size: 1rem; line-height: 1.5; color: var(--text-2); }
.pay b { color: var(--gold-light); font-weight: 500; }

/* lotes: "a partir de" pequeno em cima do número */
.specs dt small { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }

/* restaurante: fachada + deck descendo até a água */
.lunch__imgs { display: grid; gap: 12px; }
.lunch__img--deck { aspect-ratio: 12 / 5; }
.lunch__img--deck img { object-position: 50% 60%; }

/* WhatsApp do Esdras na seção do formulário */
.wa-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; min-height: 44px; color: var(--gold-light); text-decoration: none; font-weight: 500; transition: opacity 160ms var(--ease-out); }
.wa-link svg { width: 22px; height: 22px; flex: 0 0 auto; }
.wa-link:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .wa-link:hover { opacity: .8; } }

/* rodapé: Imoteca e Tríade */
.foot__partners { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 36px; margin: 14px 0 12px; }
.foot__partners span { display: block; margin-bottom: 8px; font-size: .75rem; color: var(--text-3); }
.foot__partners img { height: 30px; width: auto; }

.nw { white-space: nowrap; }

/* moldura reservada para foto que ainda vai chegar (Sabores da Serra) */
.photo-slot { margin-top: 22px; max-width: 460px; }
.photo-slot__frame { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 16 / 9; padding: 16px; border-radius: var(--radius-media); border: 1.5px dashed rgba(226,184,115,.65); background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, rgba(255,255,255,.055) 12px 24px); text-align: center; color: var(--gold-light); }
.photo-slot__frame b { font-family: var(--display); font-weight: 300; font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.photo-slot__frame span { font-size: .9rem; color: var(--gold-light); }
.photo-slot figcaption { margin-top: 8px; font-size: .8rem; color: var(--text-3); }

/* links do rodapé para o guia e as perguntas (21/10/2026) */
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0; }
.foot__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-2); text-decoration: none; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--gold-light); } }

/* fotos com cortina: prévia borrada da própria foto enquanto ela carrega, em vez da moldura escura (21/10/2026) */
.rv-clip:not(.lots__plan) { position: relative; overflow: hidden; isolation: isolate; }
.rv-clip:not(.lots__plan)::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--lqip, none) center / cover no-repeat; filter: blur(16px); transform: scale(1.12); }
.rv-clip:not(.lots__plan) > picture { position: relative; z-index: 1; }
.rv-clip:not(.lots__plan) > figcaption { z-index: 2; }

/* hora do topo ocupa o próprio espaço: em tela baixa a abertura cresce em vez de sobrepor o título (21/10/2026) */
.hour--hero { position: relative; top: auto; right: auto; align-self: flex-end; margin: 84px 0 auto; padding-bottom: 28px; }
@media (min-width: 900px) { .hour--hero { top: auto; margin-top: 110px; } }
@media (max-width: 899px) {
  .wa { transition: transform 220ms var(--ease-out), opacity 220ms ease; }
  .wa-wait .wa { opacity: 0; transform: scale(.85); pointer-events: none; }
}

/* marina da fase I em destaque, logo depois da represa (27/10/2026) */
.marina { display: grid; gap: 26px; padding-top: clamp(48px, 8vw, 96px); padding-bottom: var(--sec); }
.marina__img { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 78svh; border-radius: var(--radius-media); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.marina__img picture, .marina__img img { display: block; width: 100%; height: 100%; }
.marina__img img { object-fit: cover; }
.marina__kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.marina__title { margin-top: 10px; font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: .02em; color: #fff; text-wrap: balance; }
.marina__text > p.rv:not(.marina__kicker) { margin-top: 14px; color: var(--text-2); max-width: 46ch; line-height: 1.6; }
.marina .ticks { margin-top: 20px; }
@media (min-width: 900px) { .marina { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 90px); } }

/* contato com o coordenador de vendas, com o logo vazado da Imoteca (27/10/2026) */
.wa-link--coord { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 16px 20px; border: 1px solid rgba(226,184,115,.45); border-radius: 16px; background: rgba(6,18,44,.35); }
.wa-link--coord img { display: block; height: 30px; width: auto; }
.wa-link--coord span { display: inline-flex; align-items: center; gap: 10px; line-height: 1.35; }
@media (hover: hover) and (pointer: fine) { .wa-link--coord:hover { border-color: var(--gold-light); } }

/* =====================================================================
   Versão comercial (26/11/2026): luxo e lazer
   Seções claras em marfim com reflexos champanhe, seções escuras com halos
   dourados e brilho de água, números em ouro metálico, faixa de condições,
   bloco do carro e barra fixa no celular.
   ===================================================================== */
:root {
  --ivory: #FBF7EF;
  --sand: #F4ECDD;
  --champagne: #EAD6AE;
  --navy-ink: #0B1F45;
  --ink-2: #4A5672;
  --ink-3: #6B7690;
  --gold-metal: linear-gradient(100deg, #8E6127 0%, #C9A061 18%, #F6E2B8 34%, #FFF6E2 42%, #E2B873 52%, #B8873F 70%, #E8C88E 86%, #9E6F2E 100%);
}

/* ouro metálico com um reflexo que passa devagar */
.offer__num, .swap__title em, .specs dt, .facts__big dt, .trips__list b, .facts dt, .deal b {
  background: var(--gold-metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.specs dt small { -webkit-text-fill-color: var(--ink-3); color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .offer__num, .swap__title em, .specs__hot dt, .facts__big dt { animation: metal 7s linear infinite; }
}
@keyframes metal { from { background-position: 0% 0; } to { background-position: -220% 0; } }

/* ---------- abertura: luz dourada de fim de tarde no lugar do filtro azul ---------- */
.hero__grade { mix-blend-mode: soft-light; background: linear-gradient(180deg, rgba(255,236,200,.35) 0%, rgba(255,214,150,.18) 45%, rgba(255,190,110,.28) 78%, rgba(255,190,110,0) 100%); }
.hero__grade::after { mix-blend-mode: screen; background: radial-gradient(70% 55% at 18% 78%, rgba(255,214,150,.22), rgba(255,214,150,0) 70%); }
.hero__shade { background:
  linear-gradient(180deg, rgba(6,18,44,.55) 0%, rgba(6,18,44,0) 26%),
  linear-gradient(0deg, rgba(6,18,44,.9) 0%, rgba(6,18,44,.62) 28%, rgba(6,18,44,.12) 56%, rgba(6,18,44,0) 72%); }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dawn); background: var(--gold-metal); background-size: 220% 100%; box-shadow: 0 8px 22px -10px rgba(226,184,115,.8); }
.badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1E7A3C; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
@media (prefers-reduced-motion: no-preference) {
  .badge { animation: metal 7s linear infinite; }
  .badge__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2BA055; animation: ping 1.8s var(--ease-out) infinite; }
  .js .badge { opacity: 0; transform: translateY(10px); animation: rise 600ms var(--ease-out) 80ms forwards, metal 7s linear infinite; }
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.offer { background: linear-gradient(120deg, rgba(6,18,44,.62), rgba(40,32,16,.45)); border-color: rgba(246,226,184,.75); box-shadow: 0 18px 46px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,246,226,.25); }
.offer__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .86rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(246,226,184,.45); }
.chip b { color: var(--gold-light); font-weight: 500; }
.chip--car { color: var(--dawn); font-weight: 500; background: var(--gold-metal); background-size: 220% 100%; border-color: transparent; }
.chip--car svg { flex: 0 0 auto; }
.btn--pulse { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .btn--pulse { animation: glow 2.6s var(--ease-out) 2.2s infinite; }
  .btn--gold::after { animation: sheen 3.2s var(--ease-out) 1.6s infinite; }
}
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(226,184,115,.55), 0 10px 24px -12px rgba(0,0,0,.55); } 70% { box-shadow: 0 0 0 16px rgba(226,184,115,0), 0 10px 24px -12px rgba(0,0,0,.55); } 100% { box-shadow: 0 0 0 0 rgba(226,184,115,0), 0 10px 24px -12px rgba(0,0,0,.55); } }
.top__cta { min-height: 44px; padding: 0 20px; font-size: .9rem; }

/* ---------- faixa de condições que corre ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--gold-metal); background-size: 220% 100%; padding: 13px 0; box-shadow: 0 10px 30px -14px rgba(201,160,97,.8); }
.ticker__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap; }
.ticker span { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); letter-spacing: .08em; text-transform: uppercase; color: var(--dawn); }
.ticker i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--dawn); opacity: .7; flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .ticker { animation: metal 9s linear infinite; }
  .ticker__track { animation: marquee 30s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- luxo: seções claras (marfim com reflexos champanhe) ---------- */
.place, .phase, .lots, .trips { color: var(--navy-ink); background:
  radial-gradient(90% 55% at 88% 0%, rgba(234,214,174,.55), rgba(234,214,174,0) 62%),
  radial-gradient(70% 45% at 0% 100%, rgba(201,160,97,.16), rgba(201,160,97,0) 65%),
  linear-gradient(180deg, var(--ivory), var(--sand)); }
.phase { background:
  radial-gradient(80% 50% at 10% 0%, rgba(234,214,174,.5), rgba(234,214,174,0) 60%),
  linear-gradient(180deg, var(--sand), var(--ivory)); }
:is(.place, .phase, .lots, .trips) .h2,
:is(.place, .phase, .lots, .trips) .marina__title,
:is(.place, .phase, .lots, .trips) .hour span { color: var(--navy-ink); }
:is(.place, .phase, .lots, .trips) .hour b { color: var(--gold-deep); }
:is(.place, .phase, .lots, .trips) .lead,
:is(.place, .phase, .lots, .trips) .lead + p,
:is(.place, .phase, .lots, .trips) .marina__text > p.rv:not(.marina__kicker) { color: var(--ink-2); }
:is(.place, .phase, .lots, .trips) .marina__kicker { color: var(--gold-deep); }
:is(.place, .phase, .lots, .trips) .facts dd,
:is(.place, .phase, .lots, .trips) .specs dd,
:is(.place, .phase, .lots, .trips) .trips__list span,
:is(.place, .phase, .lots, .trips) .ticks { color: var(--ink-2); }
:is(.place, .phase, .lots, .trips) .ticks li::before { border-color: var(--gold-deep); }
:is(.place, .phase, .lots, .trips) .note { color: var(--ink-3); }
:is(.place, .phase, .lots, .trips) .arrow { border-color: rgba(11,31,69,.3); color: var(--navy-ink); }
@media (hover: hover) and (pointer: fine) { :is(.place, .phase, .lots, .trips) .arrow:hover { border-color: var(--gold-deep); color: var(--gold-deep); } }
.place__img::after { background: linear-gradient(0deg, rgba(6,18,44,.7) 0%, rgba(6,18,44,0) 100%); }
:is(.place, .phase, .lots, .trips) .card, :is(.place, .phase) .marina__img, .lots__plan { box-shadow: 0 30px 60px -30px rgba(80,58,20,.45), 0 0 0 1px rgba(201,160,97,.25); }
.lots__plan { background: #fff; }

/* ---------- luxo: seções escuras (azul-noite com halos dourados e brilho de água) ---------- */
.swap, .lunch, .sierra { position: relative; overflow: hidden; background:
  radial-gradient(85% 60% at 85% 0%, rgba(226,184,115,.24), rgba(226,184,115,0) 62%),
  radial-gradient(70% 55% at 0% 100%, rgba(40,90,170,.35), rgba(40,90,170,0) 70%),
  linear-gradient(180deg, #0A1C42 0%, #06122C 100%); }
.swap::before, .lunch::before, .sierra::before, .contact::after { content: ""; position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,241,210,.9), transparent 60%),
    radial-gradient(1.2px 1.2px at 32% 68%, rgba(255,241,210,.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 58% 34%, rgba(255,241,210,.85), transparent 60%),
    radial-gradient(1.1px 1.1px at 74% 78%, rgba(255,241,210,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 18%, rgba(255,241,210,.8), transparent 60%),
    radial-gradient(1.2px 1.2px at 46% 88%, rgba(255,241,210,.6), transparent 60%);
  background-size: 420px 300px; }
.swap > *, .lunch > *, .sierra > * { position: relative; z-index: 1; }
.swap > .horizon, .lunch > .horizon, .sierra > .horizon { position: absolute; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .swap::before, .lunch::before, .sierra::before, .contact::after { animation: twinkle 7s ease-in-out infinite alternate; }
}
@keyframes twinkle { 0% { opacity: .25; transform: translateY(0); } 100% { opacity: .7; transform: translateY(-24px); } }

/* ---------- 7h: pegamos o seu carro ---------- */
.swap { padding: var(--sec) var(--gutter); }
.swap__grid { display: grid; gap: 34px; }
.swap__title { font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.swap__title em { font-style: normal; font-weight: 700; display: inline-block; }
.swap .lead { color: #fff; max-width: 40ch; }
.swap .lead b { color: var(--gold-light); font-weight: 500; }
.steps { display: grid; gap: 12px; margin: 26px 0 28px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(246,226,184,.22); color: #fff; font-size: .98rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.steps b { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--display); font-weight: 700; color: var(--dawn); background: var(--gold-metal); background-size: 220% 100%; }
.swap__visual { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(246,226,184,.35); }
.swap__visual picture, .swap__visual img { width: 100%; height: 100%; }
.swap__visual img { object-fit: cover; }
.swap__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,18,44,.15) 0%, rgba(6,18,44,.05) 40%, rgba(6,18,44,.82) 100%); pointer-events: none; }
.swap__visual figcaption { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 12px; font-size: .72rem; color: rgba(255,255,255,.8); }
.car { position: absolute; z-index: 2; left: 6%; right: 6%; bottom: 13%; }
.car__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(226,184,115,.65)); }
.car__line, .car__wheel, .car__road { fill: none; stroke: #F6E2B8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.car__road { stroke: rgba(246,226,184,.55); stroke-width: 2; stroke-dasharray: 18 14; }
.car__tag { position: absolute; left: 50%; top: -14%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--dawn); background: var(--gold-metal); background-size: 220% 100%; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: no-preference) {
  .js .car__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .car__svg { transform: translateX(-14%); opacity: 0; }
  .js .car__tag { opacity: 0; }
  .js .swap__visual.in .car__svg { animation: drive 1.6s var(--ease-out) .35s forwards; }
  .js .swap__visual.in .car__line { animation: draw 1.8s var(--ease-out) .3s forwards; }
  .js .swap__visual.in .car__wheel { animation: spin 1.6s var(--ease-out) .35s 1; }
  .js .swap__visual.in .car__road { animation: road 1.6s linear .35s 1; }
  .js .swap__visual.in .car__tag { animation: tag-in 600ms var(--ease-out) 1.9s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drive { to { transform: none; opacity: 1; } }
@keyframes spin { from { transform: rotate(-540deg); } to { transform: rotate(0); } }
@keyframes road { from { stroke-dashoffset: 128; } to { stroke-dashoffset: 0; } }
@keyframes tag-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (min-width: 900px) {
  .swap__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 90px); }
}

/* ---------- lotes: a condição em destaque ---------- */
.specs__hot { grid-column: 1 / -1; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(255,255,255,.8), rgba(244,236,221,.95)); border: 1px solid rgba(201,160,97,.5); box-shadow: 0 18px 40px -26px rgba(80,58,20,.6); }
.specs__hot dt { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 700; }
.deal { display: grid; gap: 8px; margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: var(--navy-ink); box-shadow: 0 20px 40px -24px rgba(11,31,69,.8); }
.deal p { font-size: 1rem; line-height: 1.4; color: var(--text-2); }
.deal b { font-weight: 500; }

/* ---------- restaurante: foto da noite em destaque ---------- */
.lunch__img--night { aspect-ratio: 16 / 9; }
.lunch .lead, .lunch .lead + p { color: var(--text-2); }

/* ---------- contato: mais pôr do sol, menos azul; vidro claro ---------- */
.contact__shade { background: linear-gradient(0deg, rgba(6,18,44,.95) 0%, rgba(6,18,44,.78) 45%, rgba(26,30,60,.35) 100%); }
.contact::after { z-index: 0; opacity: .35; }
.contact__grid { z-index: 1; }
.ticks--contact { margin: 22px 0 6px; color: #fff; }
.ticks--contact li { font-size: 1rem; }
.form { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(246,226,184,.5); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,246,226,.3); }
.form__title { margin-bottom: 16px; font-family: var(--display); font-weight: 300; font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; color: var(--gold-light); }
.opt { font-weight: 400; color: var(--text-3); font-size: .82rem; }
.form__done { padding: 12px 14px; border-radius: 12px; background: rgba(43,160,85,.16); border: 1px solid rgba(43,160,85,.5); color: #fff; }

/* ---------- celular: barra fixa com o pedido e o WhatsApp ---------- */
.stick { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 46; display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 999px; background: rgba(6,18,44,.82); border: 1px solid rgba(246,226,184,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.75); transform: translateY(140%); transition: transform 380ms var(--ease-out); }
.stick.is-on { transform: none; }
.stick__btn { flex: 1; min-height: 48px; font-size: .98rem; }
.stick__wa { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #25D366; color: #fff; }
.stick__wa svg { width: 26px; height: 26px; }
@media (max-width: 899px) {
  .wa { display: none; }
  .foot { padding-bottom: calc(120px + var(--safe-b)); }
}
@media (min-width: 900px) { .stick { display: none; } }

/* ouro mais escuro nas seções claras: o metálico claro some no marfim */
:is(.place, .phase, .lots, .trips) :is(.facts dt, .facts__big dt, .specs dt, .trips__list b) {
  background-image: linear-gradient(100deg, #6E4818 0%, #9E6F2E 22%, #C9A061 40%, #E2B873 50%, #B8873F 62%, #8E6127 82%, #6E4818 100%);
}
/* hero sempre legível, qualquer take: base escura + lateral no computador + vinheta */
.hero__shade { background:
  radial-gradient(120% 90% at 50% 40%, rgba(6,18,44,0) 55%, rgba(6,18,44,.45) 100%),
  linear-gradient(180deg, rgba(6,18,44,.6) 0%, rgba(6,18,44,.18) 22%, rgba(6,18,44,.18) 40%),
  linear-gradient(0deg, rgba(6,18,44,.95) 0%, rgba(6,18,44,.78) 30%, rgba(6,18,44,.38) 58%, rgba(6,18,44,0) 80%); }
@media (min-width: 900px) {
  .hero__shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,18,44,.62) 0%, rgba(6,18,44,.32) 38%, rgba(6,18,44,0) 62%); }
}
@media (max-width: 899px) {
  .hero__shade { background:
    linear-gradient(180deg, rgba(6,18,44,.62) 0%, rgba(6,18,44,.3) 16%, rgba(6,18,44,.45) 30%),
    linear-gradient(0deg, rgba(6,18,44,.96) 0%, rgba(6,18,44,.86) 45%, rgba(6,18,44,.55) 66%, rgba(6,18,44,.2) 85%); }
  .hour--hero { padding-bottom: 18px; }
}
/* 26/11: o texto do hero nunca entra embaixo do cabeçalho fixo (tela curta / navegador do WhatsApp) */
.hero { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }
@media (min-width: 900px) { .hero { padding-top: 124px; } }

/* ---------- Chat que abre o WhatsApp ---------- */
.btn--wa { background: #25D366; color: #04240F; box-shadow: 0 10px 24px -12px rgba(0,0,0,.55); gap: 10px; }
.btn--wa svg { width: 22px; height: 22px; flex: 0 0 auto; }
.btn svg.ico { width: 22px; height: 22px; margin-right: 10px; flex: 0 0 auto; }
.chat { display: flex; flex-direction: column; overflow: hidden; background: #EFE7DD; color: #111B21; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15.5px; line-height: 1.38; text-align: left; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #075E54; color: #fff; }
.chat__pic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: #0B2148; overflow: hidden; }
.chat__pic img { width: 100%; height: 100%; object-fit: cover; }
.chat__who { flex: 1; min-width: 0; line-height: 1.25; }
.chat__who b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__who span { font-size: 13px; color: #D5F0EA; }
.chat__x { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -8px -6px 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 50%; }
.chat__x svg { width: 22px; height: 22px; }
.chat__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 6px; background: #EFE7DD radial-gradient(rgba(120,100,70,.09) 1.2px, transparent 1.4px) 0 0 / 18px 18px; }
.chat__body > * { flex: 0 0 auto; }
.msg { position: relative; max-width: 86%; padding: 8px 11px 9px; border-radius: 12px; background: #fff; box-shadow: 0 1px 1px rgba(11,20,26,.14); align-self: flex-start; overflow-wrap: anywhere; }
.msg:first-child { border-top-left-radius: 2px; }
.msg--img { padding: 4px 4px 9px; width: 86%; }
.msg--img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.msg--img p { padding: 8px 7px 0; }
.msg--me { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.msg--open { align-self: stretch; max-width: none; text-align: center; background: #FFF8E1; font-size: 14.5px; }
.msg--open a { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; border-radius: 999px; background: #25D366; color: #04240F; font-weight: 600; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; padding-bottom: 4px; }
.chips button { min-height: 44px; padding: 8px 15px; border: 1.5px solid #128C7E; border-radius: 999px; background: #fff; color: #075E54; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.chips button:active { transform: scale(.97); background: #E3F8EE; }
.chat__bar { display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px calc(10px + var(--chat-safe, 0px)); background: #EFE7DD; }
.chat__bar textarea { flex: 1; min-width: 0; min-height: 48px; max-height: 120px; padding: 12px 16px; border: 1px solid #CFC6B8; border-radius: 24px; background: #fff; color: #111B21; font: inherit; font-size: 16px; line-height: 1.35; resize: none; }
.chat__bar textarea::placeholder { color: #5F6B72; }
.chat__bar textarea:focus { outline: 2px solid #128C7E; outline-offset: -1px; }
.chat__send { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #008069; color: #fff; cursor: pointer; transition: transform 160ms var(--ease-out); }
.chat__send:active { transform: scale(.94); }
.chat__send svg { width: 22px; height: 22px; margin-left: 3px; }
.chat :focus-visible { outline-color: #128C7E; }
.chat__x:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .chips button:hover { background: #E3F8EE; } .chat__send:hover { background: #026B58; } }
@media (prefers-reduced-motion: no-preference) {
  .msg--me, .msg--open { animation: chatIn 220ms var(--ease-out); }
  .chatbox[open] .chat { animation: chatUp 260ms var(--ease-out); }
}
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes chatUp { from { transform: translateY(40px); opacity: 0; } }

/* chat dentro da seção de contato */
.chat--inline { border-radius: 20px; min-height: 470px; border: 1px solid rgba(246,226,184,.5); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
/* chat em janela: tela cheia no celular, canto da tela no computador */
.chatbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: var(--vvh, 100dvh); max-height: none; margin: 0; padding: 0; border: 0; background: none; overflow: hidden; }
.chatbox::backdrop { background: rgba(6,18,44,.6); }
.chatbox .chat { height: 100%; --chat-safe: var(--safe-b); }
.chatbox .chat__top { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
@media (min-width: 700px) {
  .chatbox { inset: auto 24px 24px auto; width: 410px; height: min(680px, calc(100vh - 48px)); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
  .chatbox .chat { border-radius: 20px; --chat-safe: 0px; }
}
.stick__btn { width: 100%; }
.wa { background: #25D366; color: #04240F; border: 0; }
/* celular: o menu fica no canto direito */
@media (max-width: 899px) { .menu-btn { margin-left: auto; } }
/* com o chat na tela, o botao redondo nao precisa aparecer */
.no-contato .wa { opacity: 0; pointer-events: none; }
@media (max-height: 720px) { .chatbox .msg--img img { aspect-ratio: 16 / 6; } .chatbox .chat__body { padding-top: 10px; } .chatbox .chips { margin-top: 2px; } }
@media (max-height: 600px) { .chatbox .msg--img img { display: none; } .chatbox .msg--img p { padding-top: 4px; } }
