/* 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; }
}
