:root {
  --blue-950: #03163b;
  --blue-900: #062761;
  --blue-800: #0b3478;
  --blue-700: #12478f;
  --gold: #f2bd2f;
  --gold-soft: #ffe08c;
  --red: #d7192f;
  --white: #ffffff;
  --mist: #eef4ff;
  --line: rgba(255, 255, 255, 0.2);
  --shadow: 0 28px 70px rgba(2, 13, 39, 0.34);
  --display: "Bahnschrift Condensed", "Aptos Narrow", "Agency FB", Impact, sans-serif;
  --text: "Bahnschrift", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue-950);
  color: var(--white);
  font-family: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(3, 22, 59, 0.97), rgba(6, 39, 97, 0.86) 48%, rgba(3, 22, 59, 0.98)),
    linear-gradient(180deg, rgba(242, 189, 47, 0.08), transparent 28%, rgba(215, 25, 47, 0.06) 78%, transparent);
}

body::after {
  content: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#evento,
#programacao,
#local {
  scroll-margin-top: 92px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  background: var(--blue-900);
}

.header-art {
  width: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: left center;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 22, 59, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.top-nav.is-scrolled {
  border-color: rgba(242, 189, 47, 0.34);
  background: rgba(3, 22, 59, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.top-nav a {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--mist);
  font-family: var(--display);
  font-size: 1.04rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-950);
  transform: translateY(-1px);
}

.top-nav a:active {
  transform: translateY(1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-section::before {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--white), var(--red), var(--gold));
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-copy {
  position: relative;
  animation: rise-in 520ms ease both;
}

.eyebrow,
.section-kicker,
.program-type {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 4.8rem;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
  line-height: 1.45;
}

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

.btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active,
.location-link:active,
.timeline-btn:active,
.program-card:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-950);
  box-shadow: 0 18px 42px rgba(242, 189, 47, 0.22);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 40px 0 0;
}

.event-facts div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(3, 22, 59, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.event-facts div:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 189, 47, 0.52);
  background: rgba(6, 39, 97, 0.68);
}

.event-facts dt {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-poster {
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.25deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
  animation: poster-in 620ms ease 100ms both;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 32px 78px rgba(2, 13, 39, 0.48);
}

.hero-poster img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.program-section {
  padding: 84px 0 96px;
}

.program-heading {
  margin-bottom: 28px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(126px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.attraction-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  position: absolute;
  top: 38px;
  left: 4%;
  right: 4%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.attraction-grid::before {
  display: none;
}

.timeline-btn {
  position: relative;
  overflow: visible;
  isolation: isolate;
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.attraction-btn {
  min-height: 122px;
  align-content: center;
  gap: 12px;
  padding: 16px 12px;
}

.timeline-btn::before {
  position: absolute;
  inset: 6px 0 0;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 8px;
  content: "";
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.timeline-btn:hover::before {
  border-color: rgba(242, 189, 47, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.timeline-btn.is-active::before {
  border-color: rgba(242, 189, 47, 0.4);
  background: rgba(242, 189, 47, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 34px rgba(0, 0, 0, 0.16);
}

.attraction-code {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: rgba(3, 22, 59, 0.74);
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.05rem;
  box-shadow: 0 0 0 5px rgba(3, 22, 59, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.attraction-btn:hover .attraction-code,
.attraction-btn.is-active .attraction-code {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--blue-950);
  box-shadow: 0 0 0 5px rgba(242, 189, 47, 0.16), 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.timeline-label {
  display: block;
  width: min(100%, 124px);
  min-height: 38px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--display);
  font-size: clamp(0.76rem, 0.82vw, 0.92rem);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.attraction-btn .timeline-label {
  width: min(100%, 170px);
  min-height: auto;
  font-size: clamp(0.86rem, 1vw, 1.06rem);
}

.timeline-btn.is-active .timeline-label {
  color: var(--gold);
}

.program-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 39, 97, 0.92), rgba(3, 22, 59, 0.94)),
    url("assets/brand/background-clean.jpg") center / cover;
  box-shadow: var(--shadow);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.program-panel:hover {
  border-color: rgba(242, 189, 47, 0.38);
  box-shadow: 0 30px 80px rgba(2, 13, 39, 0.46);
}

.program-panel.is-switching {
  animation: panel-switch 300ms ease both;
}

.program-panel-copy {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  border-left: 6px solid var(--gold);
  background: rgba(3, 22, 59, 0.48);
}

.program-panel-copy p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.35;
}

.program-panel-copy h3 {
  font-size: clamp(2.5rem, 4.8vw, 3rem);
}

.program-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  position: relative;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--blue-900);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 189, 47, 0.76);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

.program-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.program-card:hover img {
  transform: scale(1.018);
  filter: saturate(1.07);
}

.program-card::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(3, 22, 59, 0.84);
  color: var(--white);
  content: "ampliar";
  font-family: var(--display);
  font-size: 0.94rem;
  text-transform: uppercase;
}

.experience-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--white);
  color: var(--blue-950);
}

.experience-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--red), var(--blue-700), var(--gold));
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.experience-section .section-kicker {
  color: var(--red);
}

.experience-copy {
  display: grid;
  align-content: center;
}

.experience-copy p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(3, 22, 59, 0.78);
  font-size: 1.1rem;
  line-height: 1.55;
}

.experience-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.experience-item {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: end;
  padding: 24px;
  border: 1px solid rgba(6, 39, 97, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 22, 59, 0.04), rgba(3, 22, 59, 0.12)),
    var(--mist);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.experience-item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  content: "";
  background: var(--gold);
}

.experience-item::after {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  content: "";
  background:
    linear-gradient(var(--gold), var(--gold)) center / 54px 4px no-repeat,
    linear-gradient(90deg, var(--gold), var(--gold)) center / 4px 54px no-repeat;
  opacity: 0.32;
  transform: rotate(45deg);
}

.experience-item:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 189, 47, 0.86);
  box-shadow: 0 24px 58px rgba(3, 22, 59, 0.14);
}

.experience-index {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-950);
  font-family: var(--display);
  font-size: 1rem;
}

.experience-item h3 {
  color: var(--blue-950);
  font-size: 2.5rem;
}

.experience-item p {
  margin: 18px 0 0;
  color: rgba(3, 22, 59, 0.76);
  font-size: 1.02rem;
  line-height: 1.45;
}

.location-section {
  padding: 58px 0;
  background: var(--gold);
  color: var(--blue-950);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.location-section .section-kicker {
  color: var(--red);
}

.location-address {
  margin: 16px 0 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.location-link {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--blue-950);
  border-radius: 999px;
  color: var(--blue-950);
  font-family: var(--display);
  font-size: 1.16rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.location-link:hover {
  background: var(--blue-950);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer {
  padding: 30px 0;
  background: var(--white);
}

.footer-art {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 13, 36, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 920px);
  max-height: 88vh;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(3, 22, 59, 0.76);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  border-color: var(--gold);
  background: rgba(242, 189, 47, 0.18);
}

.click-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 520ms ease-out forwards;
}

.reveal-section {
  opacity: 1;
  transform: translateY(0);
  transition: filter 220ms ease;
}

.reveal-section.is-visible {
  filter: saturate(1.02);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes poster-in {
  from {
    opacity: 0;
    transform: rotate(1.25deg) translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: rotate(1.25deg) translateY(0) scale(1);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(12);
  }
}

@keyframes panel-switch {
  from {
    opacity: 0.72;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero-inner,
  .program-panel,
  .experience-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 3.7rem;
  }

  .hero-poster {
    max-width: 520px;
    transform: none;
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(132px, 1fr));
  }

  .attraction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-panel-copy {
    position: static;
  }

  .location-link {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .header-art {
    min-height: 118px;
  }

  .top-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-inner,
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    padding: 44px 0 52px;
    gap: 30px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.9rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .event-facts {
    grid-template-columns: 1fr;
  }

  .program-section {
    padding: 52px 0;
  }

  .program-heading {
    display: block;
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .attraction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .timeline-btn {
    min-width: 0;
    padding-inline: 4px;
  }

  .timeline-label {
    width: 100%;
    font-size: clamp(0.62rem, 2.7vw, 0.76rem);
  }

  .attraction-btn {
    min-height: 112px;
    padding: 14px 8px;
  }

  .attraction-code {
    width: 48px;
    height: 48px;
    font-size: 0.94rem;
  }

  .attraction-btn .timeline-label {
    font-size: clamp(0.72rem, 3vw, 0.86rem);
    line-height: 1.08;
  }

  .program-panel {
    min-height: auto;
    padding: 16px;
  }

  .program-panel-copy {
    padding: 18px;
  }

  .program-gallery {
    grid-template-columns: 1fr;
  }

  .btn,
  .location-link {
    width: 100%;
  }

  .footer-art {
    width: calc(100% - 20px);
  }
}

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