:root {
  --yellow: #ffd000;
  --yellow-2: #ffe566;
  --ink: #111111;
  --ink-soft: #242424;
  --paper: #f6f3ea;
  --white: #fffcf6;
  --muted: #5f5a52;
  --line: rgba(17, 17, 17, 0.12);
  --green: #0f6a38;
  --shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
  --header: 108px;
  --radius: 22px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button, input { font: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[id] { scroll-margin-top: var(--header); }

.sticky {
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar {
  position: relative;
  z-index: 60;
  margin: 0;
  background: var(--ink);
  color: var(--yellow);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 8px 16px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 16px;
  background: #fff;
  border-bottom: 3px solid var(--yellow);
}

.brand { display: flex; align-items: center; margin-right: auto; }

.brand img { height: 48px; width: auto; }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-btn span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked + .nav-btn span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-btn span:nth-child(3) { opacity: 0; }
.nav-toggle:checked + .nav-btn span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--yellow); outline-offset: 3px; }

.nav {
  display: none;
}

.nav-toggle:checked ~ .nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  padding: 108px 24px 32px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 650;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

a.header-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  text-align: center;
}

.btn:hover { background: #000; }

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-yellow:hover { background: var(--yellow-2); }

.btn-yellow:focus-visible { outline-color: var(--ink); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-line:hover { background: var(--ink); color: var(--yellow); }

.btn-line-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

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

.btn-block { width: 100%; }

.hero {
  position: relative;
  color: white;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0.78) 58%, rgba(10, 10, 10, 0.92) 100%),
    url("../assets/trilha.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}

.hero-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 42px;
  display: grid;
  gap: 28px;
}

.kicker, .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker { color: var(--yellow); }

.eyebrow { color: var(--muted); display: flex; align-items: center; }

.eyebrow::before {
  content: "";
  width: 18px;
  height: 6px;
  margin-right: 8px;
  background: var(--yellow);
  border-radius: 99px;
}

h1, h2, .display {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.15rem, 13.5vw, 6.5rem); max-width: 9.2em; }

.lead {
  margin-top: 14px;
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}

.facts div, .stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px;
}

.facts strong, .stat strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  line-height: 1;
}

.facts span, .stat span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }

.count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
  max-width: 420px;
}

.count div {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 14px;
  text-align: center;
  padding: 8px 4px 7px;
}

.count strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.count span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-poster {
  border-radius: 20px;
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.section { padding: 56px 0; }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.section-head { margin-bottom: 22px; max-width: 40rem; }

.section-head h2 { font-size: clamp(2.4rem, 8vw, 4rem); margin-top: 8px; }

.section-head p { margin-top: 10px; color: var(--muted); }

.section-dark {
  background: var(--ink);
  color: white;
}

.section-dark .eyebrow { color: var(--yellow); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

.sold { margin: 0 0 16px; }

.sold-track {
  height: 10px;
  background: rgba(17, 17, 17, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.sold-track span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--ink);
  border-radius: inherit;
}

.sold p {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 750;
}

.steps {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
}

.steps b {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  background: var(--yellow);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.bundle {
  display: grid;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}


.bundle-photo,
.ticket-photo,
.team-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 0 0 auto;
}

.bundle-photo { aspect-ratio: 16 / 10; min-height: 0; background: #000; }
.ticket-photo { aspect-ratio: 4 / 5; background: #1a1a1a; }
.team-photo { aspect-ratio: 16 / 10; background: #1a1a1a; }

.bundle-photo img,
.ticket-photo img,
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.bundle-body, .ticket-body, .team-body { padding: 18px 16px 18px; display: flex; flex-direction: column; gap: 8px; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 10px;
}

.kit-pair {
  display: grid;
  gap: 16px;
}

.kit-pair figure { margin: 0; }

.kit-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
}

.kit-pair figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.82);
}

.bundle h3, .ticket h3, .team h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  white-space: nowrap;
}

.ticket p, .bundle p, .team p, .includes { color: inherit; }

.muted { color: var(--muted); }
.soft { color: rgba(255, 255, 255, 0.78); }

.includes { display: grid; gap: 6px; margin-top: 4px; }

.includes li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.bundle .includes li::before { border-color: var(--yellow); }

.price-now {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3.4rem;
  line-height: 0.85;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.price-now small {
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 650;
  margin-left: 4px;
}

.price-fee { font-size: 0.92rem; }

.ticket .btn, .bundle .btn, .team .btn { margin-top: auto; }

.shop, .team-grid, .kit-grid, .rule-grid, .award-grid, .pickup, .split {
  display: grid;
  gap: 14px;
}

.ticket, .team, .panel, .day, .faq details, .milk, .rule {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ticket, .team { overflow: hidden; display: flex; flex-direction: column; height: 100%; }

.ticket-body, .team-body { flex: 1; }

.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-top: 8px;
}

.gallery figure {
  margin: 0;
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
}

.gallery img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #0b0b0b;
  border-radius: 18px;
}

.gallery figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.day, .panel, .rule, .milk { padding: 18px 16px; }

.day h3, .panel h3 { font-size: 2.2rem; margin: 6px 0 12px; }

.day li, .pickup li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.day time, .when {
  font-weight: 750;
}

.medal-grid { display: grid; gap: 18px; align-items: center; }

.medal-grid img {
  width: 100%;
  border-radius: 24px;
  max-height: 640px;
  object-fit: cover;
}

.award-grid { margin-top: 8px; }

.panel ul { display: grid; gap: 8px; }
.panel li { padding-left: 14px; position: relative; }
.panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.ages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.ages span, .chip {
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 650;
}

.rule strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }

.milk {
  background: var(--yellow);
  box-shadow: none;
}

.milk h2 { font-size: clamp(2.3rem, 8vw, 3.6rem); }

.faq details { padding: 0 16px; box-shadow: none; border: 1px solid var(--line); }

.faq details + details { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--muted); padding-bottom: 14px; }

.map-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-card iframe { width: 100%; height: 280px; border: 0; display: block; }

.map-copy { padding: 16px; display: grid; gap: 10px; }

.final-cta {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.88)),
    url("../assets/corra-domingo.jpg") center / cover no-repeat;
  color: white;
  border-radius: var(--radius);
  padding: 28px 18px;
}

.final-cta h2 { font-size: clamp(2.8rem, 10vw, 4.6rem); max-width: 12ch; }

.final-cta p { margin: 12px 0 18px; max-width: 36rem; color: rgba(255, 255, 255, 0.86); }

.final-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom));
}

.footer-grid { display: grid; gap: 22px; }

.site-footer img { height: 64px; width: auto; background: white; border-radius: 12px; padding: 6px; margin-bottom: 20px; }

.site-footer h2 { color: white; font-size: 1.8rem; margin-bottom: 8px; }

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

.site-footer ul { display: grid; gap: 6px; }

.legal { margin-top: 22px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 17, 17, 0.96);
  color: white;
  border-top: 2px solid var(--yellow);
}

.buybar strong { display: block; font-size: 0.95rem; }
.buybar span { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.buybar .btn { min-height: 42px; padding: 0 14px; }

@media (min-width: 720px) {
  a.header-cta { display: inline-flex; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .shop, .team-grid, .rule-grid, .award-grid, .footer-grid, .kit-pair { grid-template-columns: 1fr 1fr; }
  .medal-grid { grid-template-columns: 0.9fr 1.1fr; }
  .bundle { grid-template-columns: 1.05fr 0.95fr; }
  .bundle-photo { min-height: 100%; }
  .map-card { display: grid; grid-template-columns: 1.2fr 0.8fr; }
  .map-card iframe { height: 100%; min-height: 320px; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .buybar { display: none; }
  .brand img { height: 58px; }
  .nav-btn { display: none; }
  a.header-cta { display: inline-flex; position: relative; z-index: 60; }
  .nav {
    display: flex;
    align-items: center;
    gap: 18px;
    position: static;
    background: transparent;
    padding: 0;
  }
  .nav a {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 650;
    border: 0;
    padding: 6px 0;
  }
  .nav-toggle:checked ~ .nav { position: static; display: flex; background: transparent; padding: 0; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; padding: 64px 0 72px; }
  .section { padding: 84px 0; }
  .gallery figure { flex-basis: 260px; }
  .team-grid { grid-template-columns: 1fr 1fr 1fr; }
  .pickup { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

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