:root {
  --night: #071018;
  --blue: #0c4fad;
  --blue-deep: #08306e;
  --card: rgba(7, 12, 22, 0.82);
  --line: rgba(247, 187, 1, 0.42);
  --line-soft: rgba(255, 255, 255, 0.1);
  --gold: #f7bb01;
  --ink: #140e00;
  --text: #f4f7fb;
  --muted: #b7c5d6;
  --teal: #3aab98;
  --danger: #ffb4be;
  --ok: #b7f0d8;
  --radius: 22px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  font-family: "Sora", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 42% at 70% 0%, rgba(90, 160, 255, 0.28), transparent 58%),
    linear-gradient(180deg, #061428 0%, #07182e 38%, #050910 100%);
}

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

a { color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 16, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn-gold {
  color: var(--ink);
  background: linear-gradient(180deg, #ffd45a, var(--gold) 45%, #e0a400);
  box-shadow: 0 10px 24px rgba(247, 187, 1, 0.22);
}

.btn-gold:hover { filter: brightness(1.05); }

.btn-sheen { position: relative; overflow: hidden; }

.btn-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: sheen 4.8s ease-in-out 2s infinite;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn:disabled { opacity: 0.65; cursor: progress; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - 72px);
  padding: 48px 0 72px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 em {
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.lead {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quote {
  margin: 28px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: #efe6cf;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
}

.phone-slot {
  justify-self: end;
  width: min(340px, 100%);
  animation: float 7.5s ease-in-out 1.6s infinite;
}

.phone {
  width: 100%;
  width: min(340px, 100%);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.mission {
  padding: 22px 18px 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 20%, rgba(247, 187, 1, 0.16), transparent 28%),
    #070b12;
  border: 1px solid rgba(247, 187, 1, 0.28);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d5deea;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.when {
  margin: 22px 0 6px;
  color: #7eb0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mission h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mission p {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.mission .btn { width: 100%; }

.fine {
  margin: 10px 0 0;
  text-align: center;
  color: #8ea0b5;
  font-size: 12px;
}

section { padding: 28px 0; }

h2.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.55;
}

.grid-4, .grid-3, .split {
  display: grid;
  gap: 14px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }

.card, .form-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
}

.card h3, .form-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p, .step p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 0.95rem; }

.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(247, 187, 1, 0.12);
  color: var(--gold);
  font-weight: 700;
}

.step {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(6, 14, 28, 0.45);
  border: 1px solid var(--line-soft);
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.form-card {
  border-color: rgba(247, 187, 1, 0.28);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

form { display: grid; gap: 12px; }

label span, .field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #d5deea;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 8, 16, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

textarea { min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(247, 187, 1, 0.7);
  outline-offset: 1px;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px; }

.choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.choices input { width: auto; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.check input { width: auto; margin-top: 3px; }

.check a { color: var(--gold); }

.form-note {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
}

.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--gold); }

.page {
  padding: 48px 0 24px;
}

.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.prose {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.65;
}

.prose h2 { color: var(--text); font-size: 1.2rem; margin: 28px 0 8px; }
.prose a { color: var(--gold); }

.atmosphere,
.grain,
.scroll-light {
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  width: 70vw;
  height: 70vw;
  right: -18vw;
  top: -28vw;
  background: radial-gradient(circle, rgba(48, 120, 230, 0.55), transparent 68%);
  filter: blur(8px);
  animation: aurora 22s ease-in-out infinite alternate;
}

.stars,
.stars-far {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  animation: twinkle 7s ease-in-out infinite;
}

.stars {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 16%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 22% 42%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 38% 12%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 54% 28%, rgba(247, 220, 150, 0.9), transparent),
    radial-gradient(1px 1px at 70% 18%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 86% 36%, #fff, transparent),
    radial-gradient(1px 1px at 14% 72%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.3px 1.3px at 46% 64%, #fff, transparent),
    radial-gradient(1px 1px at 78% 78%, rgba(247, 220, 150, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 92% 58%, #fff, transparent);
  background-size: 100% 100%;
}

.stars-far {
  opacity: 0.55;
  animation-duration: 11s;
  animation-delay: -3s;
  background-image:
    radial-gradient(1px 1px at 12% 30%, #fff, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff, transparent),
    radial-gradient(1px 1px at 63% 48%, #fff, transparent),
    radial-gradient(1px 1px at 81% 12%, #fff, transparent),
    radial-gradient(1px 1px at 6% 88%, #fff, transparent),
    radial-gradient(1px 1px at 48% 86%, #fff, transparent);
}

.trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trail path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.trail-glow {
  stroke: rgba(247, 187, 1, 0.35);
  stroke-width: 10;
  stroke-dasharray: 2800;
  stroke-dashoffset: 2800;
  animation: draw 5.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.trail-core {
  stroke: rgba(244, 247, 251, 0.8);
  stroke-width: 2;
  stroke-dasharray: 2800;
  stroke-dashoffset: 2800;
  animation: draw 5.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.trail-walker {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-dasharray: 48 2800;
  animation: walk 11s linear 5s infinite;
}

.motes i {
  position: absolute;
  bottom: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: mote 16s linear infinite;
}

.motes i:nth-child(1) { left: 8%; animation-duration: 18s; }
.motes i:nth-child(2) { left: 22%; animation-duration: 14s; animation-delay: -4s; }
.motes i:nth-child(3) { left: 36%; animation-duration: 21s; animation-delay: -8s; }
.motes i:nth-child(4) { left: 51%; animation-duration: 15s; animation-delay: -2s; }
.motes i:nth-child(5) { left: 64%; animation-duration: 19s; animation-delay: -11s; }
.motes i:nth-child(6) { left: 74%; animation-duration: 13s; animation-delay: -6s; }
.motes i:nth-child(7) { left: 86%; animation-duration: 22s; animation-delay: -9s; }
.motes i:nth-child(8) { left: 94%; animation-duration: 17s; animation-delay: -3s; }

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(2, 6, 14, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 6, 14, 0.15), transparent 18%, transparent 70%, rgba(2, 6, 14, 0.85));
}

.grain {
  position: absolute;
  inset: -20%;
  z-index: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  animation: grain 9s linear infinite;
}

.enter {
  animation: rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.grid-4 .reveal:nth-child(2),
.grid-3 .reveal:nth-child(2) { transition-delay: 0.12s; }
.grid-4 .reveal:nth-child(3),
.grid-3 .reveal:nth-child(3) { transition-delay: 0.24s; }
.grid-4 .reveal:nth-child(4) { transition-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }

@keyframes walk { to { stroke-dashoffset: calc(var(--span, 800px) * -1); } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes sheen {
  0%, 58% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

@keyframes aurora {
  to { transform: translate3d(-8%, 10%, 0) scale(1.12); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes mote {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 1%); }
  100% { transform: translate(0, 0); }
}



.journey {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: calc(100svh - 68px);
  padding: 18px 0 10px;
  overflow: visible;
}

.journey + .stage {
  scroll-margin-top: 72px;
}

.journey-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 42% at 50% 12%, rgba(247, 187, 1, 0.09), transparent 58%),
    radial-gradient(ellipse 48% 55% at 92% 70%, rgba(28, 84, 170, 0.32), transparent 68%),
    radial-gradient(ellipse 36% 40% at 6% 78%, rgba(8, 30, 70, 0.6), transparent 62%),
    linear-gradient(180deg, rgba(2, 6, 14, 0.15) 0%, transparent 22%, transparent 70%, rgba(2, 6, 14, 0.92) 100%);
}

.journey-copy {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 64px));
  margin: 6px auto 0;
  text-align: center;
  animation: rise 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.journey-copy .kicker {
  margin-bottom: 10px;
}

.journey-title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.6rem, 8.5vw, 6.8rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.journey-lead {
  margin: 14px auto 0;
  max-width: 34rem;
  color: rgba(214, 224, 236, 0.78);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.55;
}

/* Trilha horizontal: cards em slots fixos, linha SVG atrás (z-index menor) */
.site-trail {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  overflow: visible;
}

.site-trail-track,
.site-trail-draw {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.site-trail-track {
  stroke: rgba(247, 187, 1, 0.14);
  stroke-width: 1.4;
}

.site-trail-draw {
  stroke: rgba(247, 187, 1, 0.9);
  stroke-width: 1.5;
}

.site-trail-nodes circle {
  fill: rgba(7, 14, 28, 0.95);
  stroke: rgba(247, 187, 1, 0.75);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.35);
  transition: opacity 0.45s ease, transform 0.45s ease, fill 0.35s ease, filter 0.35s ease;
}

.site-trail-nodes circle.is-in {
  opacity: 1;
  transform: scale(1);
}

.site-trail-nodes circle.is-now {
  fill: #f7bb01;
  stroke: #ffe7a0;
  filter: drop-shadow(0 0 7px rgba(247, 187, 1, 0.5));
}

.journey-rail {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  height: min(52vh, 460px);
  margin: 20px auto 0;
}

.journey-steps {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-step {
  --x: calc(14% + var(--slot) * 24%);
  position: absolute;
  left: var(--x);
  top: 52%;
  width: min(230px, 21vw);
  transform: translate(-50%, 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-step.is-above {
  transform: translate(-50%, calc(-100% - 36px));
}

.journey-step.is-below {
  transform: translate(-50%, 36px);
}

.journey-step.is-in {
  opacity: 1;
  pointer-events: auto;
}

.journey-step.is-in.is-above {
  transform: translate(-50%, calc(-100% - 36px));
}

.journey-step.is-in.is-below {
  transform: translate(-50%, 36px);
}

.journey-step.is-now {
  width: min(268px, 24vw);
  z-index: 3;
}

.scene-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  padding: 15px 15px 13px;
  border-radius: 18px;
  background: rgba(7, 11, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.scene-card.is-now {
  border-color: rgba(247, 187, 1, 0.78);
  background:
    radial-gradient(circle at 92% 0%, rgba(247, 187, 1, 0.2), transparent 48%),
    rgba(10, 15, 12, 0.95);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(247, 187, 1, 0.1);
}

.scene-card.is-locked {
  background: rgba(6, 10, 15, 0.78);
  opacity: 0.78;
}

.scene-card.is-locked h2,
.scene-card.is-locked p { color: rgba(244, 247, 251, 0.48); }

.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

.scene-kicker {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scene-now {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-lock {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.38);
}

.scene-mode {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(247, 187, 1, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.scene-card h2 {
  margin: 8px 0 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.journey-step.is-now .scene-card h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.scene-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.scene-progress {
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.scene-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.scene-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: rgba(244, 247, 251, 0.72);
  font-size: 11px;
  font-weight: 600;
}

.scene-go {
  margin-left: auto;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scene-go::after { content: " →"; }

.journey-continue {
  position: relative;
  z-index: 3;
  justify-self: center;
  margin: 6px 0 8px;
  color: rgba(244, 247, 251, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  animation: journey-nudge 2.4s ease-in-out infinite;
}

.journey-continue::after {
  content: " ↓";
}

@keyframes journey-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(5px); opacity: 1; }
}


.stage {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  padding: 28px 0 48px;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.poster {
  position: relative;
  height: min(620px, 74vh);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(247, 187, 1, 0.16), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(60, 130, 220, 0.2), transparent 32%),
    #070b12;
  border: 1px solid rgba(247, 187, 1, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.stage-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-glowline,
.stage-draw,
.stage-walker {
  fill: none;
  opacity: 0;
}

.stage.is-armed .stage-glowline,
.stage.is-armed .stage-draw,
.stage.is-armed .stage-walker {
  opacity: 1;
}

.poster-card {
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  top: 11%;
  padding: 22px 18px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 0%, rgba(247, 187, 1, 0.18), transparent 46%),
    #0a0e16;
  border: 1px solid rgba(247, 187, 1, 0.4);
  animation: float 7s ease-in-out 1s infinite;
}

.poster-card h2 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.05;
}

.poster-card .btn { width: 100%; margin-top: 8px; }

.stage-copy { max-width: 640px; }

.stage h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.5rem);
}

.stage-path circle {
  opacity: 0;
  animation: node-in 0.7s ease forwards;
}

.stage-path circle:nth-of-type(1) { animation-delay: 1.15s; }
.stage-path circle:nth-of-type(2) { animation-delay: 2.15s; }
.stage-path circle:nth-of-type(3) {
  animation-delay: 3.15s;
  filter: drop-shadow(0 0 8px #f7bb01);
}

.stage-walker.is-walking {
  animation: walk 9s linear infinite;
}

@keyframes ridge {
  from { transform: translate3d(0, 10px, 0); }
  to { transform: translate3d(0, -16px, 0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes node-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .hero, .grid-4, .grid-3, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 36px; }
  .phone-slot { justify-self: center; }
  .nav .quiet { display: none; }
  .stage { min-height: auto; padding-top: 36px; }
  .stage-layout { grid-template-columns: 1fr; }
  .poster { height: 460px; order: -1; }
  .journey {
    min-height: calc(100svh - 68px);
    padding-top: 10px;
  }
  .journey-copy { width: calc(100% - 36px); }
  .journey-title { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .journey-rail {
    width: calc(100% - 20px);
    height: min(48vh, 420px);
  }
  .journey-step {
    width: min(180px, 40vw);
  }
  .journey-step.is-now {
    width: min(200px, 44vw);
  }
}

@media (max-width: 640px) {
  .journey-rail {
    height: auto;
    min-height: 0;
    display: block;
    padding: 8px 0 16px;
  }
  .journey-steps {
    position: relative;
    display: grid;
    gap: 12px;
    inset: auto;
  }
  .journey-step,
  .journey-step.is-above,
  .journey-step.is-below,
  .journey-step.is-in,
  .journey-step.is-in.is-above,
  .journey-step.is-in.is-below {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-trail {
    /* No mobile: só a descida lateral continua visível */
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter,
  .phone-slot,
  .btn-sheen::after,
  .trail-glow,
  .trail-core,
  .trail-walker,
  .aurora,
  .stars,
  .stars-far,
  .motes i,
  .grain,
  .ridge,
  .stage-glow,
  .stage-card,
  .stage-path circle,
  .stage-walker,
  .site-trail-nodes circle,
  .journey-step,
  .journey-continue {
    animation: none;
    transition: none;
  }
  .site-trail-nodes circle,
  .journey-step {
    opacity: 1;
    transform: none;
  }
  .journey-step.is-above { transform: translate(-50%, calc(-100% - 36px)); }
  .journey-step.is-below { transform: translate(-50%, 36px); }
  .trail-glow,
  .trail-core { stroke-dashoffset: 0; }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
