:root {
  --night: #16233B;
  --night-deep: #0E1728;
  --cream: #FBF7EF;
  --cream-card: #F2ECE0;
  --gold: #C8963C;
  --gold-dark: #8A6320;
  --sky: #7DB8D8;
  --ink: #1C1A16;
  --ink-soft: #4A463E;
  --muted: #8A8172;
  --white: #FFFFFF;
  --green: #1E9E5A;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { margin: 0; padding: 0; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--night);
  color: var(--white);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

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

.site-header {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 88px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(ellipse at 70% 100%, rgba(200,150,60,.22), rgba(200,150,60,0) 55%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 70%, #0F1522 100%);
}

.site-header__band {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-header__art {
  position: absolute;
  left: 50%;
  bottom: -72px;
  width: min(78%, 460px);
  transform: translateX(-50%);
  opacity: .85;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.site-header__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-header__title {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--cream);
}

.site-header__subtitle {
  margin: 0 auto;
  max-width: 600px;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.88);
}

.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  position: relative;
  z-index: 2;
}

.stage-bar { margin-bottom: 24px; }

.stage-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 5px;
  list-style: none;
  gap: 5px;
  background: #111111;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.stage-bar__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 70px;
  min-width: 0;
  padding: 10px 6px;
  text-align: center;
  font-family: inherit;
  font-size: .82rem;
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(255,255,255,.72);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

.stage-bar__tab:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.stage-bar__tab.is-active {
  background: var(--gold);
  color: #151515;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(200,150,60,.35);
}

.stage-bar__tab--locked {
  cursor: default;
  color: rgba(255,255,255,.42);
}
.stage-bar__tab--locked:hover { background: transparent; color: rgba(255,255,255,.42); }

.stage-bar__num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stage-bar__date {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

.stage-bar__title {
  width: 100%;
  overflow: hidden;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-bar__state {
  font-size: .7rem;
  font-weight: 500;
}

.stage-panels {
  background: var(--white);
  border: 1px solid #E7DFCE;
  border-radius: 18px;
  padding: 22px 16px 28px;
  box-shadow: 0 18px 50px rgba(22,35,59,.10);
}

.video-panel[hidden] { display: none; }

.video-panel__heading {
  margin: 24px 0 18px;
  text-align: left;
}

.video-panel__title--above {
  margin: 0 0 18px;
}

.video-panel__meta {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.video-panel__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  text-align: center;
  color: var(--night);
}

.video-shell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--night-deep);
  box-shadow: 0 12px 34px rgba(14,23,40,.35);
}

.video-shell__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--night-deep);
}

.video-shell__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  color: var(--cream);
  background: linear-gradient(160deg, rgba(14,23,40,.45), rgba(22,35,59,.35));
  font-family: inherit;
}

.video-shell__overlay svg {
  width: 72px;
  height: 72px;
  transition: transform .2s ease;
}
.video-shell__overlay:hover svg { transform: scale(1.07); }

.video-shell__overlay-text {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.video-shell.is-playing .video-shell__overlay { display: none; }

.video-panel__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  padding: 32px 20px;
  text-align: center;
  border: 2px dashed #D8D0BE;
  border-radius: 14px;
  background: var(--cream-card);
  color: var(--ink-soft);
}

.video-panel__placeholder .icon {
  width: 40px;
  height: 40px;
  color: var(--gold-dark);
}

.video-panel__placeholder p { margin: 0; font-weight: 500; }

.video-panel__final {
  padding: 36px 20px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--night), var(--night-deep));
  color: var(--cream);
}

.video-panel__final p { margin: 0 0 18px; font-size: 1.05rem; }

.video-panel__extra { margin-top: 28px; display: flex; justify-content: center; }

.video-panel__extra .btn--gold { display: inline-flex; }

.video-panel__extra .btn--gold[hidden] { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22,35,59,.22); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #E0B55F);
  color: var(--night-deep);
}
.btn--gold:hover { background: linear-gradient(135deg, #D8A94B, #EDC674); }

.btn--gold:disabled,
.btn[disabled] {
  background: #D8D0BE;
  color: #6E6758;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
}
.btn--whatsapp:hover { background: #24B168; }

.btn .icon { width: 20px; height: 20px; flex: none; }

.landing-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 22px 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--cream);
  box-shadow: 0 14px 36px rgba(14,23,40,.28);
}

.landing-form__title {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
  letter-spacing: .03em;
}

.landing-form__group {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(200,150,60,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}

.landing-form__group legend {
  padding: 0 8px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--cream);
}

.landing-form__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  cursor: pointer;
  font-size: .93rem;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.03);
  transition: background .15s ease, border-color .15s ease;
}

.landing-form__option:hover {
  background: rgba(200,150,60,.12);
  border-color: rgba(200,150,60,.55);
}

.landing-form__option input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--gold);
}

.landing-form__label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: .98rem;
}

.landing-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(200,150,60,.4);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--cream);
  font-family: inherit;
  font-size: .95rem;
  resize: vertical;
}

.landing-form__textarea::placeholder { color: rgba(255,255,255,.45); }

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

.landing-form__notice {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(125,184,216,.15);
  border: 1px solid rgba(125,184,216,.45);
  color: #CFE7F4;
  font-size: .9rem;
  text-align: center;
}

.landing-form__submit {
  display: flex;
  width: 100%;
  margin: 4px auto 0;
}

.landing-form__status {
  margin: 12px 0 0;
  min-height: 1.2em;
  text-align: center;
  font-size: .9rem;
}

.landing-form__status.is-ok { color: #8FE3B4; }
.landing-form__status.is-error { color: #F4A9A9; }

.event-actions {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 18px;
  text-align: center;
  border-radius: 14px;
  background: var(--cream-card);
  border: 1px solid #E7DFCE;
}

.event-actions__intro {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.event-actions__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.site-footer {
  background: var(--night-deep);
  color: rgba(255,255,255,.75);
  padding: 44px 20px 36px;
  text-align: center;
}

.site-footer__inner {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer__brand {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

.site-footer__legal {
  margin: 0 0 16px;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}

.site-footer__copy {
  margin: 0;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

@media (max-width: 719px) {
  .stage-bar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
  .stage-bar__tab {
    min-height: 62px;
    padding: 8px 5px;
    font-size: .78rem;
  }
  .stage-bar__num { font-size: .64rem; }
  .stage-bar__state { font-size: .7rem; }
}

@media (min-width: 720px) {
  .site-header { padding: 96px 24px 110px; }

  .site-main {
    margin-top: -56px;
    padding: 0 24px 80px;
  }

  .stage-bar__tab {
    min-height: 76px;
    padding: 14px 10px;
    font-size: .88rem;
  }

  .stage-bar__num { font-size: .72rem; }
  .stage-bar__state { font-size: .76rem; }

  .stage-panels { padding: 30px 32px 40px; }

  .landing-form { padding: 28px 30px; }

  .event-actions__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .landing-form__submit { width: auto; padding-left: 40px; padding-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
