/* Riserva landing — tokens mirror stylesync_app lib/core/theme/app_palette.dart.
   Gold is the only colour with temperature; everything else is neutral charcoal.
   Sections sit flat on the page ground, separated by hairlines — no filled bands. */

@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/inter-regular.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/inter-medium.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/inter-semibold.woff") format("woff");
}

:root {
  color-scheme: dark;

  --ground: #1c1c1c;        /* dScaffold */
  --surface: #2c2c2c;       /* dSurface */
  --surface-2: #242424;
  --text: #f0f0f0;
  --text-2: #a8a8a8;
  --text-3: #7a7a7a;
  --hairline: rgba(240, 240, 240, 0.1);
  --hairline-strong: rgba(240, 240, 240, 0.18);

  --gold-deep: #b28642;
  --gold: #d6ac63;          /* dPrimary */
  --gold-light: #e9cc92;
  --gold-ink: #1c1c1c;      /* text on gold */
  --gold-wash: rgba(214, 172, 99, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

em { font-style: normal; color: var(--gold); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(28, 28, 28, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.top__brand img { width: 118px; }
.top__nav { display: flex; gap: 28px; font-size: 14.5px; }
.top__nav a { color: var(--text-2); text-decoration: none; transition: color 0.15s; }
.top__nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .top__nav { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn span { display: flex; flex-direction: column; }
.btn small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.75; }

.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-light); }

.btn--line { border: 1px solid var(--hairline-strong); color: var(--text); }
.btn--line:hover { border-color: var(--gold); }

.btn--ghost { padding-inline: 8px; color: var(--gold); }
.btn--ghost:hover { color: var(--gold-light); }
.btn--ghost span { display: inline; transition: transform 0.15s; }
.btn--ghost:hover span { transform: translateX(3px); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(56px, 10vw, 128px) clamp(64px, 10vw, 120px);
}
.hero__title {
  font-size: clamp(44px, 7.4vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero__lede {
  max-width: 34em;
  margin: 28px 0 40px;
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 19px);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}

/* Booking illustration */
.slot-card {
  position: relative;
  margin: 0;
  padding: 26px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  isolation: isolate;
}
.slot-card::before {
  /* soft gold halo behind the card */
  content: "";
  position: absolute;
  inset: -18% -12% auto auto;
  width: 70%;
  aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(214, 172, 99, 0.22), transparent);
  filter: blur(8px);
}
.slot-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.slot-card__head img { width: 40px; }
.slot-card__service { font-weight: 600; }
.slot-card__meta { color: var(--text-2); font-size: 14px; }
.slot-card__day {
  margin: 20px 0 12px;
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot {
  padding: 11px 0;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.slot--off { color: var(--text-3); border-style: dashed; border-color: var(--hairline); text-decoration: line-through; }
.slot--on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; }
.slot-card__done {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 16px;
  background: var(--gold-wash);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 14.5px;
  font-weight: 500;
}

/* ── Content bands ───────────────────────────────────────────────────── */
.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 40px;
  padding-block: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--hairline);
}
.band__intro h2 { font-size: clamp(32px, 4.2vw, 48px); }
.band__intro p:not(.eyebrow) { margin-top: 20px; max-width: 26em; color: var(--text-2); }

@media (min-width: 881px) {
  .band__intro { position: sticky; top: 112px; align-self: start; }
}
@media (max-width: 880px) {
  .band { grid-template-columns: minmax(0, 1fr); }
}

.points li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding-block: 26px;
  border-bottom: 1px solid var(--hairline);
}
.points li:first-child { padding-top: 6px; }
@media (max-width: 520px) {
  .points li { grid-template-columns: 36px minmax(0, 1fr); padding-block: 22px; }
}
.points__n {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.points h3 { font-size: 20px; letter-spacing: -0.015em; }
.points p { margin-top: 6px; color: var(--text-2); }

.invite {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(214, 172, 99, 0.35);
  border-radius: 20px;
}
.invite > div { flex: 1 1 380px; }
.invite h3 { font-size: 22px; }
.invite p { margin-top: 8px; color: var(--text-2); max-width: 42em; }

.prose { display: grid; gap: 20px; align-content: start; color: var(--text-2); font-size: 18px; }
.link { color: var(--gold); font-weight: 500; text-decoration: none; }
.link:hover { color: var(--gold-light); }

/* ── Closing ─────────────────────────────────────────────────────────── */
.closing {
  display: grid;
  justify-items: center;
  gap: 36px;
  padding-block: clamp(80px, 12vw, 152px);
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.closing h2 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.035em; }
.closing .cta { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--hairline);
  padding-block: 56px 40px;
  color: var(--text-2);
  font-size: 14.5px;
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.foot__brand img { width: 36px; margin-bottom: 16px; }
.foot__title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--gold); }
.foot__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 720px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
