:root {
  --bg-center: #2B2015;
  --bg-mid: #160F0A;
  --bg-edge: #0A0806;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.11);
  --cream: #F3E9D6;
  --cream-dim: #B8A98D;
  --hairline: rgba(255, 255, 255, 0.12);
  --gold: #F0BB55;
  --gold-hi: #F8DA9C;
  --gold-deep: #C98A2E;
  --ember: #E8703A;
  --whatsapp: #3FA96B;
}

* { box-sizing: border-box; }

html {
  background: var(--bg-edge);
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 32% at 50% 0%, rgba(240, 187, 85, 0.09) 0%, transparent 100%),
    radial-gradient(ellipse 90% 55% at 50% 0%, var(--bg-center) 0%, var(--bg-mid) 48%, var(--bg-edge) 85%),
    var(--bg-edge);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Grão sutil pra tirar a chapadura do gradiente digital e dar textura */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.display {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

.condensed {
  font-stretch: condensed;
  letter-spacing: 0.02em;
}

.gold-italic {
  font-style: italic;
  color: var(--gold);
}

a { color: inherit; }

/* ---------- top bar ---------- */
.topbar {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.5rem 0;
}
.topbar .brand-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0 0 0.15rem;
}
.topbar .brand-name {
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  color: var(--cream-dim);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.status-pill .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--cream-dim);
  flex-shrink: 0;
}
.status-pill.is-aberto .dot {
  background: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(63, 169, 107, 0.25), 0 0 8px rgba(63, 169, 107, 0.6);
}
.status-pill.is-aberto { color: var(--cream); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 2.75rem;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 34%;
  left: 50%;
  width: 30rem;
  height: 24rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(240, 187, 85, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.hero .eyebrow {
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--cream-dim);
  margin: 0 0 0.4rem;
}
.hero .eyebrow .display { color: var(--cream-dim); }
.hero h1 {
  margin: 0 0 0.9rem;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.01em;
  font-size: clamp(3.1rem, 11vw, 5.2rem);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  line-height: 0.92;
  filter: drop-shadow(0 0 44px rgba(240, 187, 85, 0.3));
}
.hero .tagline {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--cream-dim);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.hero .tagline strong {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-pill:active { transform: translateY(1px) scale(0.99); }
.btn-pill--gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  color: #241C15;
  box-shadow: 0 10px 28px -10px rgba(240, 187, 85, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-pill--gold:hover { box-shadow: 0 14px 32px -8px rgba(240, 187, 85, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-pill--ghost {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-pill--ghost:hover { background: var(--surface-2); }

.hero .info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.hero .info-row .item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.hero .info-row .glyph { color: var(--gold); }

/* ---------- nav ---------- */
nav.jump {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-edge) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
nav.jump .row-wrap {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}
nav.jump .row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.85rem 1.5rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
nav.jump .row::-webkit-scrollbar { display: none; }
nav.jump.has-overflow .row {
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 40px), transparent 100%);
}
nav.jump.has-overflow.at-start .row {
  -webkit-mask-image: linear-gradient(to right, black 0, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, black 0, black calc(100% - 40px), transparent 100%);
}
nav.jump.has-overflow.at-end .row {
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 28px, black 100%);
  mask-image: linear-gradient(to right, transparent 0, black 28px, black 100%);
}
nav.jump a {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-dim);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
nav.jump a:hover,
nav.jump a:focus-visible {
  color: var(--cream);
  border-color: var(--hairline);
}
nav.jump a.is-active {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  color: #241C15;
  box-shadow: 0 4px 14px -4px rgba(240, 187, 85, 0.55);
}
.jump-hint {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--gold);
  font-size: 1rem;
  pointer-events: none;
  animation: jump-hint-pulse 1.6s ease-in-out infinite;
}
nav.jump:not(.has-overflow) .jump-hint,
nav.jump.at-end .jump-hint { opacity: 0; }
@keyframes jump-hint-pulse {
  0%, 100% { transform: translate(0, -50%); opacity: 0.55; }
  50% { transform: translate(4px, -50%); opacity: 1; }
}

/* ---------- main ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.course {
  padding: 3.25rem 0 1.25rem;
  scroll-margin-top: 4.5rem;
}
section.course + section.course {
  border-top: 1px solid var(--hairline);
}

.course-head {
  margin-bottom: 1.6rem;
}
.course-head h2 {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.005em;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  color: var(--cream);
  text-wrap: balance;
}
.course-head h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.course-head .note {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--cream-dim);
}
.course-head .note strong { color: var(--gold); font-weight: 600; font-style: italic; }

.item-list {
  columns: 2;
  column-gap: 2.25rem;
}
@media (max-width: 900px) {
  .item-list { columns: 1; }
}

.menu-item {
  break-inside: avoid;
  padding: 0.7rem 0.6rem;
  margin: 0 -0.6rem;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}
.menu-item:hover { background: var(--surface); }
.menu-item .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}
.menu-item p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--cream-dim);
  line-height: 1.42;
}
.menu-item .precos {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.menu-item .precos .rotulo {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 3rem auto 0;
  padding: 2.75rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
footer .word {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-stretch: condensed;
  color: var(--gold);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}
footer .hours {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin: 0 0 1.4rem;
}
footer .ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
footer .payments {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
