/* ============================================================
   Sala VIP — Rodoviária de Belo Horizonte
   Design tokens derived from the brand logo (champagne / espresso / bronze)
   Mobile-first. Fraunces (display) · Jost (body) · Spline Sans Mono (data)
   ============================================================ */

:root {
  --cream: #f7f2e8;
  --champagne: #eadfc9;
  --sand: #d9c7a8;
  --espresso: #31221b;
  --coffee: #4a3527;
  --bronze: #9c6b3f;
  --bronze-deep: #7c5230;
  --gold: #c79a5b;
  --slate: #3e4a4a;
  --pine: #2f5d50;
  --clay: #a4472f;
  --white: #fffdf8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --font-mono: 'Spline Sans Mono', 'SF Mono', monospace;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(49, 34, 27, 0.1);
  --shadow-lift: 0 18px 44px rgba(49, 34, 27, 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1120px, 92vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--espresso); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.container { width: var(--container); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.section { padding: 4.5rem 0; }
.section-head { max-width: 34rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.section-head p { color: var(--coffee); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-deep) 100%);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(124, 82, 48, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124, 82, 48, 0.42); }
.btn-ghost {
  background: transparent;
  border-color: rgba(49, 34, 27, 0.28);
  color: var(--espresso);
}
.btn-ghost:hover { border-color: var(--bronze); color: var(--bronze-deep); }
.btn-ghost.on-dark { border-color: rgba(247, 242, 232, 0.45); color: var(--cream); }
.btn-ghost.on-dark:hover { border-color: var(--cream); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.is-solid {
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(49, 34, 27, 0.08);
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-text {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.35s;
}
.brand-text b { font-weight: 300; }
.brand-text small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  font-weight: 500;
}
.site-header.is-solid .brand-text { color: var(--espresso); }

.header-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-switch {
  display: flex;
  background: rgba(49, 34, 27, 0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 3px;
  transition: background 0.35s;
}
.site-header.is-solid .lang-switch { background: rgba(49, 34, 27, 0.08); }
.lang-switch button {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.site-header.is-solid .lang-switch button { color: var(--coffee); }
.lang-switch button.is-active { background: var(--cream); color: var(--espresso); }
.site-header.is-solid .lang-switch button.is-active { background: var(--espresso); color: var(--cream); }

.header-cta { padding: 0.6rem 1.2rem; font-size: 0.92rem; }

@media (min-width: 860px) {
  .header-nav { display: flex; gap: 1.8rem; }
  .header-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--cream);
    opacity: 0.9;
    transition: color 0.35s, opacity 0.2s;
  }
  .header-nav a:hover { opacity: 1; }
  .site-header.is-solid .header-nav a { color: var(--espresso); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../assets/photo-6.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: hero-zoom 14s var(--ease-out) forwards;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(30, 19, 13, 0.92) 0%, rgba(30, 19, 13, 0.55) 45%, rgba(30, 19, 13, 0.38) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-inner {
  width: var(--container);
  margin-inline: auto;
  padding: 8rem 0 0;
}
.hero .eyebrow {
  color: #f0d7a8;
  text-shadow: 0 1px 3px rgba(20, 12, 8, 0.9), 0 2px 14px rgba(20, 12, 8, 0.7);
}
.hero .eyebrow::before {
  background: var(--gold);
  box-shadow: 0 1px 3px rgba(20, 12, 8, 0.8);
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.4rem);
  max-width: 13ch;
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero p {
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(247, 242, 232, 0.88);
  margin: 0 0 1.8rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }

.hero-reveal { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease-out) forwards; }
.hero-reveal:nth-child(1) { animation-delay: 0.15s; }
.hero-reveal:nth-child(2) { animation-delay: 0.3s; }
.hero-reveal:nth-child(3) { animation-delay: 0.45s; }
.hero-reveal:nth-child(4) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Departure-board style facts strip */
.hero-strip {
  border-top: 1px solid rgba(247, 242, 232, 0.22);
  background: rgba(30, 19, 13, 0.55);
  backdrop-filter: blur(10px);
}
.hero-strip-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.hero-strip span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.85);
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-strip svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
@media (min-width: 700px) {
  .hero-strip-inner { grid-template-columns: repeat(4, 1fr); }
  .hero-strip span { justify-content: center; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Packages ---------- */
.packages { background: linear-gradient(var(--cream), var(--champagne)); }
.packages-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }

.pkg-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(156, 107, 63, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(156, 107, 63, 0.4); }
.pkg-card.is-featured {
  background: linear-gradient(160deg, #3a2a20 0%, var(--espresso) 70%);
  color: var(--cream);
  border-color: var(--gold);
}
.pkg-card.is-featured .pkg-desc { color: rgba(247, 242, 232, 0.78); }
.pkg-card.is-featured .pkg-feat li { color: rgba(247, 242, 232, 0.9); }

.pkg-badge {
  position: absolute;
  top: -0.8rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: var(--espresso);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(124, 82, 48, 0.4);
}

/* mini photo carousel inside the package card */
.pkg-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--champagne);
}
.pkg-media-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease-out);
}
.pkg-media-track img {
  width: 100%;
  height: 100%;
  flex: none;
  object-fit: cover;
  cursor: zoom-in;
}
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 19, 13, 0.55);
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
}
.car-btn:hover { background: rgba(30, 19, 13, 0.8); }
.car-btn.prev { left: 8px; }
.car-btn.next { right: 8px; }
.pkg-media:hover .car-btn,
.car-btn:focus-visible { opacity: 1; }
@media (hover: none) { .car-btn { opacity: 1; } }
.car-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.car-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.55);
  transition: background 0.25s, transform 0.25s;
}
.car-dots i.is-on { background: var(--cream); transform: scale(1.25); }

/* fullscreen image lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(20, 12, 8, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.lightbox.is-open { display: flex; animation: fade-in 0.25s; }
.lightbox img {
  max-width: min(1000px, 94vw);
  max-height: 86svh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lb-in 0.35s var(--ease-out);
}
@keyframes lb-in { from { transform: scale(0.94); opacity: 0; } }
.lightbox .lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.14);
  color: var(--cream);
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox .car-btn { opacity: 1; width: 42px; height: 42px; font-size: 1.4rem; }
.lightbox .car-btn.prev { left: 16px; }
.lightbox .car-btn.next { right: 16px; }

.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.pkg-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(199, 154, 91, 0.16);
  color: var(--bronze);
  flex: none;
}
.pkg-card.is-featured .pkg-icon { background: rgba(199, 154, 91, 0.2); color: var(--gold); }
.pkg-icon svg { width: 24px; height: 24px; }

.pkg-duration {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid rgba(156, 107, 63, 0.35);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pkg-card.is-featured .pkg-duration { color: var(--gold); border-color: rgba(199, 154, 91, 0.5); }

.pkg-card h3 { font-size: 1.35rem; margin: 0; }
.pkg-desc { font-size: 0.94rem; color: var(--coffee); margin: 0; }

.pkg-price {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pkg-price small { font-size: 0.85rem; font-weight: 400; opacity: 0.75; margin-left: 0.2rem; letter-spacing: 0; }

.pkg-feat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.pkg-feat li { display: flex; gap: 0.55rem; align-items: baseline; color: var(--coffee); }
.pkg-feat li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-2px);
}
.pkg-card .btn { margin-top: auto; }

/* ---------- How it works ---------- */
.how { background: var(--champagne); }
.how-grid { display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(156, 107, 63, 0.15);
  padding: 1.6rem;
  position: relative;
}
.how-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.how-step h3 { font-size: 1.2rem; }
.how-step p { margin: 0; font-size: 0.95rem; color: var(--coffee); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: linear-gradient(to top, rgba(30, 19, 13, 0.75), transparent);
}
@media (min-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item { aspect-ratio: 3 / 2; }
}

/* ---------- Amenities ---------- */
.amen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 820px) { .amen-grid { grid-template-columns: repeat(4, 1fr); } }
.amen-item {
  background: var(--white);
  border: 1px solid rgba(156, 107, 63, 0.15);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.amen-item svg { width: 22px; height: 22px; color: var(--bronze); flex: none; }

/* ---------- Location ---------- */
.location { background: var(--espresso); color: var(--cream); }
.location .eyebrow { color: var(--gold); }
.location .section-head p { color: rgba(247, 242, 232, 0.75); }
.loc-grid { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .loc-grid { grid-template-columns: 1.2fr 1fr; } }
.loc-card {
  background: rgba(247, 242, 232, 0.06);
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.loc-card dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.loc-card dd { margin: 0 0 1.2rem; color: rgba(247, 242, 232, 0.92); }
.loc-card dd:last-child { margin-bottom: 0; }
.loc-card a { color: var(--gold); }
.loc-actions { display: flex; flex-direction: column; gap: 0.8rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #241811; color: rgba(247, 242, 232, 0.75); padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-brand img { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 0.7rem; }
.footer-brand p { margin: 0; max-width: 26rem; font-size: 0.95rem; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  border-top: 1px solid rgba(247, 242, 232, 0.12);
  padding-top: 1.4rem;
  font-size: 0.82rem;
}
.footer-meta a { color: var(--gold); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.demo-note { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; opacity: 0.7; }

/* ---------- Booking wizard ---------- */
.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(30, 19, 13, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.wizard-overlay.is-open { display: flex; animation: fade-in 0.3s ease; }
@keyframes fade-in { from { opacity: 0; } }

.wizard {
  background: var(--cream);
  width: 100%;
  max-height: 92svh;
  border-radius: 26px 26px 0 0;
  display: flex;
  flex-direction: column;
  animation: sheet-up 0.45s var(--ease-out);
  overflow: hidden;
}
@keyframes sheet-up { from { transform: translateY(60px); opacity: 0; } }
@media (min-width: 700px) {
  .wizard-overlay { align-items: center; padding: 2rem; }
  .wizard { max-width: 520px; border-radius: 26px; }
}

.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem 0.9rem;
}
.wizard-head h3 { margin: 0; font-size: 1.3rem; }
.wizard-close {
  border: 0;
  background: rgba(49, 34, 27, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--espresso);
}

.wizard-progress {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.4rem 1rem;
}
.wizard-progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(49, 34, 27, 0.12);
  transition: background 0.4s;
}
.wizard-progress span.is-done { background: var(--bronze); }

.wizard-body { padding: 0.4rem 1.4rem 1.4rem; overflow-y: auto; }

.wizard-step { display: none; animation: step-in 0.35s var(--ease-out); }
.wizard-step.is-active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }

.wizard-step-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0.2rem 0 1rem;
}

/* package choices inside wizard */
.wiz-pkg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1.5px solid rgba(156, 107, 63, 0.2);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s, background 0.25s;
}
.wiz-pkg:hover { border-color: var(--bronze); }
.wiz-pkg.is-selected { border-color: var(--bronze); background: rgba(199, 154, 91, 0.12); }
.wiz-pkg .price { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.wiz-pkg .dur { display: block; font-size: 0.78rem; color: var(--coffee); }

/* form fields */
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  background: var(--white);
  border: 1.5px solid rgba(49, 34, 27, 0.18);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(199, 154, 91, 0.25);
}
.field.has-error input, .field.has-error select { border-color: var(--clay); }
.field .error {
  display: none;
  color: var(--clay);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.field.has-error .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid rgba(49, 34, 27, 0.18);
  border-radius: 12px;
  background: var(--white);
  width: fit-content;
  overflow: hidden;
}
.stepper button {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--bronze);
}
.stepper output {
  min-width: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
}

.time-fixed-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bronze);
  background: rgba(199, 154, 91, 0.14);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

/* wizard footer */
.wizard-foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(49, 34, 27, 0.1);
  background: var(--cream);
}
.wizard-total { margin-right: auto; }
.wizard-total small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coffee);
}
.wizard-total strong { font-family: var(--font-mono); font-size: 1.25rem; }

/* payment */
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.1rem; }
.pay-tab {
  border: 1.5px solid rgba(49, 34, 27, 0.18);
  background: var(--white);
  border-radius: 12px;
  padding: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color 0.25s, background 0.25s;
}
.pay-tab svg { width: 20px; height: 20px; }
.pay-tab.is-active { border-color: var(--bronze); background: rgba(199, 154, 91, 0.12); }

.pix-box { text-align: center; }
.pix-box canvas {
  width: 190px;
  height: 190px;
  border-radius: 14px;
  border: 1px solid rgba(49, 34, 27, 0.12);
  background: #fff;
  padding: 10px;
  margin: 0 auto 0.9rem;
  display: block;
}
.pix-key-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--white);
  border: 1.5px dashed rgba(156, 107, 63, 0.45);
  border-radius: 12px;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  margin: 0.4rem 0 1rem;
}
.pix-key-row code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  text-align: left;
}
.pix-key-row .btn { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

.demo-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.75;
  text-align: center;
  margin-top: 0.8rem;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(247, 242, 232, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Boarding-pass ticket ---------- */
.ticket-wrap { text-align: center; }
.ticket-wrap > h3 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.ticket-wrap > p { color: var(--coffee); font-size: 0.92rem; margin: 0 0 1.2rem; }

.ticket {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  text-align: left;
  overflow: hidden;
  margin-bottom: 1.2rem;
  animation: ticket-in 0.6s var(--ease-out);
}
@keyframes ticket-in { from { transform: translateY(20px) scale(0.97); opacity: 0; } }

.ticket-head {
  background: linear-gradient(135deg, #3a2a20, var(--espresso));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
}
.ticket-head .t-brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ticket-head .t-brand small { display: block; font-size: 0.55rem; letter-spacing: 0.3em; color: var(--gold); }
.ticket-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}
.ticket-status.confirmed { background: rgba(47, 93, 80, 0.9); color: #eaf5f1; }
.ticket-status.pending { background: rgba(199, 154, 91, 0.9); color: var(--espresso); }

.ticket-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  padding: 1.2rem;
}
.ticket-body .cell dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.15rem;
}
.ticket-body .cell dd { margin: 0; font-size: 0.98rem; font-weight: 500; }
.ticket-body .cell.span2 { grid-column: span 2; }

.ticket-tear {
  position: relative;
  border-top: 2px dashed rgba(49, 34, 27, 0.2);
}
.ticket-tear::before, .ticket-tear::after {
  content: '';
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
}
.ticket-tear::before { left: -11px; }
.ticket-tear::after { right: -11px; }

.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 1.2rem;
}
.ticket-code {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ticket-code small {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.ticket-barcode {
  height: 44px;
  flex: 1;
  max-width: 150px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--espresso) 0 2px, transparent 2px 5px,
    var(--espresso) 5px 9px, transparent 9px 11px,
    var(--espresso) 11px 12px, transparent 12px 16px
  );
}
.ticket-actions { display: flex; flex-direction: column; gap: 0.6rem; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: var(--champagne); min-height: 100svh; }

/* login */
.login-wrap {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(rgba(30, 19, 13, 0.82), rgba(30, 19, 13, 0.9)),
    url('../assets/photo-6.jpg') center / cover;
}
.login-card {
  width: min(380px, 100%);
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
  animation: rise 0.7s var(--ease-out);
}
.login-card img { width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 1rem; }
.login-card h1 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.login-card > p { color: var(--coffee); font-size: 0.9rem; margin: 0 0 1.4rem; }
.login-card form { text-align: left; }
.login-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--coffee);
  opacity: 0.7;
  margin-top: 0.9rem;
}
.login-error {
  display: none;
  background: rgba(164, 71, 47, 0.12);
  color: var(--clay);
  border-radius: 10px;
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.9rem;
}
.login-error.is-visible { display: block; }

/* shell */
.admin-shell { display: none; min-height: 100svh; }
.admin-shell.is-visible { display: flex; flex-direction: column; }

.admin-top {
  background: var(--espresso);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-top .brand img { width: 36px; height: 36px; }
.admin-top .spacer { flex: 1; }
.admin-top .lang-switch { background: rgba(247, 242, 232, 0.14); }
.admin-top a, .admin-top button.linklike {
  color: var(--gold);
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
}

.admin-tabs {
  display: flex;
  gap: 0.3rem;
  background: var(--espresso);
  padding: 0 0.8rem 0.8rem;
  overflow-x: auto;
}
.admin-tabs button {
  border: 0;
  background: rgba(247, 242, 232, 0.1);
  color: rgba(247, 242, 232, 0.85);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.admin-tabs button.is-active { background: var(--gold); color: var(--espresso); font-weight: 600; }

.admin-main { flex: 1; padding: 1.4rem; width: min(1060px, 100%); margin-inline: auto; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; animation: step-in 0.3s var(--ease-out); }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1.4rem; }
.stat-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(156, 107, 63, 0.16);
  padding: 1rem;
}
.stat-tile b { font-family: var(--font-mono); font-size: 1.5rem; display: block; }
.stat-tile span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coffee); }

.admin-toolbar { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.admin-toolbar .field { margin: 0; }
.admin-toolbar input[type='date'] { padding: 0.5rem 0.7rem; }

/* bookings list */
.booking-cards { display: grid; gap: 0.8rem; }
.booking-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(156, 107, 63, 0.16);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
}
.booking-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.booking-line .code { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.06em; }
.booking-line .total { font-family: var(--font-mono); font-weight: 600; margin-left: auto; }
.booking-sub { font-size: 0.88rem; color: var(--coffee); display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; }
.booking-foot { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.status-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.status-chip.pending { background: rgba(199, 154, 91, 0.22); color: var(--bronze-deep); }
.status-chip.confirmed { background: rgba(47, 93, 80, 0.16); color: var(--pine); }
.status-chip.cancelled { background: rgba(164, 71, 47, 0.14); color: var(--clay); }
.booking-foot select {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  border: 1.5px solid rgba(49, 34, 27, 0.18);
  background: var(--white);
}
.empty-note {
  background: var(--white);
  border: 1.5px dashed rgba(156, 107, 63, 0.4);
  border-radius: var(--radius-md);
  padding: 2rem 1.4rem;
  text-align: center;
  color: var(--coffee);
  font-size: 0.95rem;
}

/* admin package cards */
.adm-pkg-grid { display: grid; gap: 0.9rem; }
@media (min-width: 780px) { .adm-pkg-grid { grid-template-columns: repeat(2, 1fr); } }
.adm-pkg {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(156, 107, 63, 0.16);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.adm-pkg.is-off { opacity: 0.55; }
.adm-pkg-info { flex: 1; min-width: 0; }
.adm-pkg-info b { display: block; }
.adm-pkg-info span { font-family: var(--font-mono); font-size: 0.85rem; color: var(--bronze-deep); }
.adm-pkg .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* payments */
.pay-method {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(156, 107, 63, 0.16);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.pay-method-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.pay-method-head b { flex: 1; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i {
  position: absolute;
  inset: 0;
  background: rgba(49, 34, 27, 0.2);
  border-radius: var(--radius-pill);
  transition: background 0.25s;
}
.switch i::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease-out);
}
.switch input:checked + i { background: var(--pine); }
.switch input:checked + i::before { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 3px solid var(--bronze); outline-offset: 2px; }

/* admin modal */
.adm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(30, 19, 13, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.adm-modal-overlay.is-open { display: flex; animation: fade-in 0.25s; }
.adm-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: min(560px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  padding: 1.6rem;
  animation: sheet-up 0.35s var(--ease-out);
}
.adm-modal h3 { margin-top: 0; }
.adm-modal details {
  border: 1px solid rgba(156, 107, 63, 0.25);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}
.adm-modal summary { cursor: pointer; font-weight: 500; font-size: 0.92rem; }
.adm-modal details .field:first-of-type { margin-top: 0.9rem; }
.adm-modal-actions { display: flex; gap: 0.7rem; justify-content: flex-end; flex-wrap: wrap; }
.adm-modal-actions .danger { margin-right: auto; color: var(--clay); border-color: rgba(164, 71, 47, 0.4); }

.check-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.95rem; }

.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--espresso);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-reveal { opacity: 1; transform: none; }
}
