/* =========================================================
   Rancho Alquimista — folha de estilos
   ---------------------------------------------------------
   1. Tokens       5. Hero          9. Comodidades
   2. Base         6. Números      10. Galeria / Lightbox
   3. Utilitários  7. O Rancho     11. Informações
   4. Cabeçalho    8. Espaços /    12. Localização
                      Suítes       13. Reserva / Rodapé
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
  --ink: #1d1b18;
  --ink-soft: #3d3832;
  --muted: #675f55;
  --paper: #f5f0e8;
  --paper-2: #ece4d7;
  --white: #fffdf9;
  --terra: #a9532f;
  --terra-dark: #8a4024;
  --olive: #283028;
  --olive-2: #323c32;
  --night: #171a17;
  --gold: #d7b98a;
  --line: rgba(29, 27, 24, .14);
  --line-light: rgba(255, 253, 249, .18);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* 3. Utilitários ------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 640px; }
.spaces .section__head p { font-size: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section__head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.01em; margin-bottom: 28px; }
.title--light { color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--accent { background: var(--terra); color: var(--white); }
.btn--accent:hover { background: var(--terra-dark); }
.btn--ghost { border-color: rgba(255, 253, 249, .55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--light { border-color: currentColor; }
.btn--small { padding: 10px 20px; font-size: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--terra); border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.location__links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 28px; }
.link-arrow:hover::after { transform: translateX(4px); }

.frame { margin: 0; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 4. Cabeçalho --------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(245, 240, 232, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: currentColor; flex: none; }
.brand__name { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) {
  position: relative; text-decoration: none;
  font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; z-index: 2; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* 5. Hero -------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--night); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; animation: heroZoom 18s var(--ease) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 13, .78) 0%, rgba(18, 16, 13, .45) 45%, rgba(18, 16, 13, 0) 75%),
    linear-gradient(0deg, rgba(18, 16, 13, .6) 0%, rgba(18, 16, 13, 0) 45%),
    linear-gradient(180deg, rgba(18, 16, 13, .45) 0%, rgba(18, 16, 13, 0) 22%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content {
  position: relative; width: 100%; max-width: var(--container); margin-inline: auto;
  padding: calc(var(--header-h) + 60px) var(--gutter) clamp(90px, 14vh, 150px);
}
.hero__content > * { max-width: 560px; }
.hero__title { font-size: clamp(56px, 9vw, 120px); font-weight: 400; line-height: .95; letter-spacing: -.015em; margin-bottom: 28px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 253, 249, .86); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 1px solid rgba(255, 253, 249, .5); border-radius: 13px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px;
  background: var(--white); border-radius: 1px; animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 6. Números ----------------------------------------------- */
.figures { background: var(--olive); color: var(--white); }
.figures__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.figure {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 44px 16px; border-left: 1px solid var(--line-light);
}
.figure:first-child { border-left: 0; }
.figure__num { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--gold); }
.figure__num small { font-size: .42em; margin-left: 2px; letter-spacing: .05em; }
.figure__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 249, .75); }

/* 7. O Rancho ---------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__text p { color: var(--ink-soft); }
.eco { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.eco li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.eco__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--terra); }
.eco__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.about__media { position: relative; padding-bottom: 80px; }
.frame--tall { aspect-ratio: 3 / 4; width: 82%; margin-left: auto; }
.frame--inset {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
  border: 10px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}

/* 8. Espaços / Suítes -------------------------------------- */
.spaces { background: var(--night); color: rgba(255, 253, 249, .78); }
.space { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.space + .space { margin-top: clamp(64px, 9vw, 120px); }
.space--reverse .space__media { order: 2; }
.space__media { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; }
.space__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.space:hover .space__media img { transform: scale(1.03); }
.space__index { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); margin-bottom: 14px; }
.space__index::after { content: ""; display: inline-block; vertical-align: middle; width: 48px; height: 1px; margin-left: 16px; background: var(--line-light); }
.space h3 { font-size: clamp(30px, 3.4vw, 42px); color: var(--white); margin-bottom: 20px; }
.space p { max-width: 440px; }

.suites__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.suites__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.suites__media .frame { aspect-ratio: 3 / 4.2; }
.suites__media .frame:last-child { margin-top: 72px; }
.suites__text > p { color: var(--ink-soft); }
.specs { margin: 32px 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; font-weight: 400; }
.callout { display: flex; gap: 18px; padding: 22px 24px; background: var(--paper-2); border-left: 2px solid var(--terra); }
.callout svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--terra); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.callout p { margin: 0; font-size: 17px; color: var(--ink-soft); }

.linens { margin-top: 20px; padding: 26px 28px; border: 1px solid var(--line); background: var(--white); }
.linens__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.linens h3 { font-size: 26px; }
.linens__price { font-family: var(--serif); font-size: 30px; color: var(--terra); white-space: nowrap; }
.linens__price small { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.linens p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }
.linens__items { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.linens__items li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; color: var(--ink-soft); }
.linens .linens__note { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 9. Comodidades ------------------------------------------- */
.amenities { background: var(--white); }
.amenities__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.amenity { padding: 40px clamp(16px, 2.4vw, 32px) 8px; border-left: 1px solid var(--line); }
.amenity:first-child { border-left: 0; padding-left: 0; }
.amenity h3 { font-size: 26px; margin-bottom: 20px; }
.amenity ul { list-style: none; margin: 0; padding: 0; }
.amenity li { position: relative; padding: 7px 0 7px 20px; font-size: 17px; color: var(--ink-soft); }
.amenity li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 1px; background: var(--terra); }

/* 10. Galeria ---------------------------------------------- */
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; }
.gallery__head .title { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px; background: none; border: 1px solid var(--line); border-radius: 40px; cursor: pointer;
  font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; grid-row: span 2; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(23, 26, 23, 0); transition: background .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { background: rgba(23, 26, 23, .18); }
.tile.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(14, 15, 13, .95); padding: 60px 80px;
  animation: fadeIn .3s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox__figure figcaption { color: rgba(255, 253, 249, .75); font-size: 14px; letter-spacing: .06em; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; opacity: .75; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 24px; font-size: 44px; line-height: 1; padding: 4px 10px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 64px; line-height: 1; padding: 10px 18px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* 11. Informações ------------------------------------------ */
.info { background: var(--olive); color: rgba(255, 253, 249, .8); }
.info__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.time { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.time:first-child { border-top: 1px solid var(--line-light); }
.time__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 249, .6); }
.time__value { font-family: var(--serif); font-size: 26px; color: var(--white); text-align: right; }
.info__note { margin-top: 24px; font-size: 15px; color: rgba(255, 253, 249, .65); }

.rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.rules li { counter-increment: rule; display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-light); font-size: 17px; }
.rules li::before { content: counter(rule, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold); line-height: 1.5; flex: none; }

/* 12. Localização ------------------------------------------ */
.location__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.location__text p { color: var(--ink-soft); }
.location address { font-style: normal; font-family: var(--serif); font-size: 26px; line-height: 1.35; margin: 28px 0 32px; padding-left: 20px; border-left: 2px solid var(--terra); }
.location__map { aspect-ratio: 4 / 3; background: var(--paper-2); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.65) sepia(.15) contrast(1.05); }

/* 12b. Agenda --------------------------------------------- */
.availability { background: var(--white); }
.availability[hidden] { display: none; }
.availability__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; }
.availability__head .title { margin-bottom: 12px; }
.availability__lead { color: var(--ink-soft); margin: 0; max-width: 520px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend__dot { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); }
.legend__dot--free { background: var(--white); }
.legend__dot--busy { background: #5d564d; border-color: #5d564d; }
.legend__dot--sel { background: var(--terra); border-color: var(--terra); }

.cal { position: relative; }
.cal__nav { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; pointer-events: none; z-index: 1; }
.cal__arrow {
  pointer-events: auto; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer; transition: all .3s var(--ease);
}
.cal__arrow:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cal__arrow:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.month__title { font-family: var(--serif); font-size: 26px; text-align: center; margin: 4px 0 20px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month__dow { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.day {
  aspect-ratio: 1 / 1; display: grid; place-items: center; border: 0; border-radius: 4px; background: none;
  font-size: 15px; font-weight: 400; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s;
}
.day:hover:not(:disabled) { background: var(--paper-2); }
/* Alugado bem marcado (pedido do Reginaldo): fundo escuro e número riscado, longe do claro dos dias livres */
.day.is-busy {
  color: rgba(255,255,255,.85); text-decoration: line-through; cursor: not-allowed;
  background: #5d564d;
}
.day.is-past { color: rgba(29,27,24,.25); cursor: default; }
.day.is-range { background: rgba(169, 83, 47, .14); border-radius: 0; }
.day.is-start, .day.is-end { background: var(--terra); color: var(--white); }
.day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.day--empty { visibility: hidden; }
.cal__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
#calSelection { font-weight: 400; }
.cal__updated { color: var(--muted); font-size: 13px; }

/* 13. Reserva ---------------------------------------------- */
.booking { color: rgba(255, 253, 249, .82); background: var(--night); overflow: hidden; }
.booking__bg { position: absolute; inset: 0; }
.booking__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.booking__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 26, 23, .92) 30%, rgba(23, 26, 23, .7)); }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.contact { list-style: none; padding: 0; margin: 36px 0 0; }
.contact li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-light); }
.contact span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 249, .55); padding-top: 3px; }
.contact a { text-decoration: none; color: var(--white); overflow-wrap: anywhere; }
.contact a:hover { color: var(--gold); }

.form { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 48px); }
.form__row { margin-bottom: 20px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; font-size: 16px; font-weight: 400; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237a7166' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terra); }
.field input.is-invalid { border-bottom-color: #b3261e; }
.linen-picker { margin: -4px 0 22px; padding: 18px 18px 14px; background: var(--paper-2); }
.linen-picker[hidden] { display: none; }
.linen-picker__title { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.stepper-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stepper { display: flex; flex-direction: column; gap: 8px; }
.stepper__label { font-weight: 400; }
.stepper__label small { display: block; font-size: 12px; color: var(--muted); }
.stepper__ctrl { display: flex; align-items: center; gap: 12px; }
.stepper__ctrl button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s;
}
.stepper__ctrl button:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stepper__ctrl button:disabled { opacity: .35; cursor: default; }
.stepper__ctrl output { min-width: 22px; text-align: center; font-family: var(--serif); font-size: 24px; }
.linen-picker__total { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.linen-picker__total strong { color: var(--terra); }
.form__error { margin: -4px 0 16px; font-size: 14px; color: #b3261e; }
.price-box { margin: -4px 0 22px; padding: 16px 18px; background: var(--paper-2); }
.price-box[hidden] { display: none; }
.price-box__title { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.price-box__total { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--terra); }
.price-box__detail { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }

.footer { background: var(--night); color: rgba(255, 253, 249, .7); padding-top: 64px; border-top: 1px solid var(--line-light); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 48px; }
.footer__brand { display: flex; align-items: center; gap: 16px; color: var(--white); }
.footer__brand .brand__mark { width: 44px; height: 44px; color: var(--gold); }
.footer__brand strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.footer__brand span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 249, .55); }
.footer__nav, .footer__social { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer a:hover { color: var(--gold); }
.footer__copy { padding-block: 24px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(255, 253, 249, .45); margin: 0; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Responsivo ------------------------------------------------ */
@media (max-width: 1080px) {
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .amenity:nth-child(3) { border-left: 0; padding-left: 0; }
  .amenity:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--night); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; text-transform: none; }
  .nav__cta { margin-top: 12px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }

  .about__grid, .suites__grid, .info__grid, .location__grid, .booking__grid { grid-template-columns: 1fr; }
  .space, .space--reverse { grid-template-columns: 1fr; }
  .space--reverse .space__media { order: 0; }
  .suites__media { order: 2; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .figures__grid { grid-template-columns: 1fr 1fr; }
  .figure { padding: 30px 12px; }
  .figure:nth-child(odd) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .figure:last-child { grid-column: span 2; }
  .amenities__grid { grid-template-columns: 1fr; }
  .amenity { border-left: 0; padding-left: 0; padding-right: 0; }
  .amenity + .amenity { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
  .rules { grid-template-columns: 1fr; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months .month + .month { display: none; }
  .specs div, .contact li { grid-template-columns: 1fr; gap: 2px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .frame--inset { border-width: 6px; }
  .lightbox { padding: 56px 8px; }
  .lightbox__nav { font-size: 44px; padding: 8px; top: auto; bottom: 8px; transform: none; }
  .hero__media img { object-position: 60% 60%; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(18, 16, 13, .85) 0%, rgba(18, 16, 13, .35) 55%, rgba(18, 16, 13, .35) 100%);
  }
  .hero__scroll { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
