:root {
  --ivory: #F4EDE4;
  --paper: #FBF7F2;
  --ink: #2A1C16;
  --ink-soft: #62504A;
  --clay: #9C4F33;
  --clay-deep: #7C3B24;
  --gold: #B69F64;
  --espresso: #231712;
  --on-dark: #F4EDE4;
  --on-dark-soft: #CDBBAA;
  --line: rgba(42, 28, 22, .16);
  --line-dark: rgba(244, 237, 228, .2);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--clay) var(--ivory); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--espresso); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

/* Placeholders the owner must replace. */
.ph { text-decoration: underline dashed rgba(156, 79, 51, .55); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--clay); color: var(--paper);
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease);
}
.btn:hover { background: var(--clay-deep); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .85rem; }
.btn--wide { width: 100%; min-height: 58px; }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--on-dark-soft); }
.btn--ghost:hover { background: var(--on-dark); color: var(--espresso); }

.link {
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em; text-decoration: underline;
  text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--gold);
  transition: text-underline-offset .3s var(--ease);
}
.link:hover { text-underline-offset: 9px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 237, 228, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.wordmark { display: grid; text-decoration: none; line-height: 1; }
.wordmark__name { font: italic 400 1.6rem/1 var(--serif); white-space: nowrap; letter-spacing: -.01em; }
.wordmark__tag { font: 500 .62rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; padding-left: 2px; }
.site-nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.site-nav a { font-size: .92rem; text-decoration: none; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 88px);
  padding: 128px var(--gutter) 72px;
}
.hero__title { font-size: clamp(3.1rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -.03em; }
.hero__title em { font-style: italic; color: var(--clay); }
.hero__lead { max-width: 34ch; margin-top: 32px; font-size: 1.125rem; color: var(--ink-soft); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__facts dt, .visit__list dt { font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.hero__facts dd { margin: 0; font-size: .98rem; }

.arch { border-radius: 999px 999px 0 0; overflow: hidden; }
.hero__media { justify-self: end; width: min(100%, 540px); aspect-ratio: 4 / 5; background: #d9c8b6; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.blinds { position: absolute; inset: 0; display: flex; pointer-events: none; z-index: 3; }
.blinds { gap: 2px; background: transparent; }
.blinds span { flex: 1 0 0; background: linear-gradient(90deg, #D9C792 0%, var(--gold) 38%, #8E7A45 100%); box-shadow: 1px 0 2px rgba(35, 23, 18, .35); transform-origin: left center; transform: perspective(900px) rotateY(-90deg); }

/* ---------- services ---------- */
.services {
  position: relative; z-index: 4;
  margin-top: -1px;
  background: var(--espresso); color: var(--on-dark);
  border-radius: 400px 400px 0 0;
  padding: var(--section) 0 clamp(80px, 10vw, 140px);
}
.services h2 em, .pause h2 em, .visit h2 em { color: var(--gold); }
.services__head { display: grid; justify-items: center; text-align: center; gap: 28px; padding: 0 var(--gutter); }
.services__head p { max-width: 46ch; color: var(--on-dark-soft); }

.rail { margin-top: clamp(56px, 7vw, 96px); }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 28vw, 400px); gap: clamp(20px, 2.4vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 8px; scrollbar-width: none; overscroll-behavior-x: contain; justify-content: safe center;
}
.rail__track::-webkit-scrollbar { display: none; }
.svc { scroll-snap-align: start; display: grid; align-content: start; }
.svc__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 200px 200px 0 0; background: #3a2a22; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { font-size: 2rem; line-height: 1.1; margin-top: 26px; }
.svc p { color: var(--on-dark-soft); margin-top: 8px; min-height: 3.3em; }
.svc__pick {
  justify-self: start; margin-top: 18px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  font: 500 .9rem/1 var(--sans); letter-spacing: .04em;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold);
}
.svc__pick:hover { color: var(--gold); }
.rail__nav { display: flex; justify-content: center; gap: 14px; margin-top: 48px; }
.round {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-dark);
  display: grid; place-items: center; transition: background .3s var(--ease), color .3s var(--ease);
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.round:hover { background: var(--on-dark); color: var(--espresso); }
.round:disabled { opacity: .3; cursor: default; background: transparent; color: inherit; }

/* ---------- pause (pinned) ---------- */
.pause { background: var(--espresso); color: var(--on-dark); }
.pause__stage { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.pause__mark {
  position: absolute; z-index: 1; font: 600 min(80vh, 62vw)/1 var(--serif);
  color: rgba(182, 159, 100, .12); user-select: none;
}
.pause__copy { position: relative; z-index: 3; text-align: center; display: grid; gap: 28px; justify-items: center; padding: 0 var(--gutter); }
.pause__copy p { max-width: 40ch; color: var(--on-dark-soft); }
.pause .link { color: var(--on-dark); }
.fly { position: absolute; z-index: 2; width: clamp(170px, 21vw, 340px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.fly img { width: 118%; height: 118%; max-width: none; margin: -9%; object-fit: cover; }
.fly--1 { left: 9%;  top: 10%; }
.fly--2 { right: 10%; top: 6%; width: clamp(150px, 17vw, 280px); }
.fly--3 { left: 20%; bottom: 4%; width: clamp(140px, 16vw, 260px); }
.fly--4 { right: 17%; bottom: 8%; }
.pause.is-static .fly { opacity: .4; }
.pause.is-static .fly--3 { left: 4%; }
.pause.is-static .fly--4 { right: 4%; bottom: 2%; }

/* ---------- booking ---------- */
.book {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start;
  padding: var(--section) var(--gutter);
  background: var(--paper);
}
.book__intro { position: sticky; top: 130px; display: grid; gap: 28px; }
.book__intro p { max-width: 36ch; color: var(--ink-soft); font-size: 1.125rem; }
.book__form { display: grid; gap: 40px; max-width: 620px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.field legend, .field > label { font: 400 1.5rem/1.2 var(--serif); padding: 0; margin-bottom: 16px; }
.field > label { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); font-size: .98rem;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--espresso); color: var(--on-dark); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.field input[type="text"] {
  font: 400 1.125rem/1.4 var(--sans); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 0 12px; border-radius: 0; transition: border-color .3s var(--ease);
}
.field input[type="text"]::placeholder { color: #8a766c; }
.field input[type="text"]:focus { outline: none; border-bottom-color: var(--clay); }
.field input[type="text"]:focus-visible { outline: none; box-shadow: 0 1px 0 var(--clay); }

.bubble {
  position: relative; padding: 22px 24px 24px; border-radius: 22px 22px 22px 6px;
  background: var(--ivory);
}
.bubble__label { display: block; font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.bubble__text { font: italic 400 1.2rem/1.5 var(--serif); min-height: 3em; }
.bubble__text mark { background: none; color: var(--clay); }
.book__error { color: #A3271B; font-size: .95rem; margin-top: -24px; }
.book__form.has-error .chips .chip span { box-shadow: inset 0 0 0 1px #A3271B; }

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 6vw, 100px);
  background: var(--espresso); color: var(--on-dark);
  padding: var(--section) var(--gutter);
}
.visit__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 0 320px 0; }
.visit__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.visit__text { display: grid; gap: 36px; }
.visit__list { display: grid; gap: 26px; margin: 0; }
.visit__list dt { color: var(--on-dark-soft); }
.visit__list dd { margin: 0; font: 400 1.3rem/1.4 var(--serif); }
.plain { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--gold); }
.plain:hover { text-decoration-color: currentColor; }
.visit__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--espresso); color: var(--on-dark-soft); padding: 0 var(--gutter) 40px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.site-footer__word { font: italic 400 clamp(3.2rem, 13vw, 13rem)/.95 var(--serif); letter-spacing: -.04em; color: var(--on-dark); margin: 0 0 24px; padding-top: 40px; text-align: center; }
.site-footer__row { display: flex; justify-content: space-between; gap: 16px; font-size: .88rem; flex-wrap: wrap; }
.site-footer__row a { text-underline-offset: 5px; }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
  border-radius: 999px; background: var(--clay); color: var(--paper); text-decoration: none;
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em;
  box-shadow: 0 14px 30px -10px rgba(35, 23, 18, .55);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.dock svg { width: 20px; height: 20px; }
.dock.is-hidden { transform: translateY(140%); opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services { border-radius: 300px 300px 0 0; }
  .book { grid-template-columns: 1fr; }
  .book__intro { position: static; }
}
@media (max-width: 767px) { .blinds { gap: 0; } }
@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 112px; gap: 48px; min-height: auto; }
  .hero__media { order: -1; justify-self: stretch; width: 100%; max-width: 520px; aspect-ratio: auto; height: min(34svh, 300px); border-radius: 180px 180px 0 0; }
  .hero { padding-top: 96px; gap: 32px; }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__facts { margin-top: 36px; }
  .services { border-radius: 150px 150px 0 0; }
  .rail__track { grid-auto-columns: 78%; }
  .visit { grid-template-columns: 1fr; }
  .visit__img { border-radius: 0 0 160px 0; }
  /* Pausa no celular: texto primeiro, fotos em grade embaixo (nada por cima das letras). */
  .pause__stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: var(--section) var(--gutter); place-items: stretch; }
  .pause__copy { grid-column: 1 / -1; padding: 0 0 36px; }
  .fly, .pause.is-static .fly { position: relative; inset: auto; width: auto; opacity: 1; box-shadow: none; }
  .fly--2, .fly--3 { transform: translateY(32px); }
  .pause__mark { top: 24px; left: 50%; translate: -50% 0; font-size: 70vw; }
  .dock { display: inline-flex; }
  .site-header .btn--small { display: none; }
  .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .blinds { display: none; }
}
