:root {
  --bg: #111111;
  --bg-deep: #0c0c0c;
  --panel: #181818;
  --panel-soft: #202020;
  --line: #2d2d2d;
  --text: #f5f5f0;
  --muted: #a7a7a0;
  --accent-light: #ffffff;
  --highlight-yellow: #ffd000;
  --orange-accent: #ffae2a;
  --orange: #fc690a;
  --orange-dark: #db5700;
  --orange-gradient: linear-gradient(90deg, #ff6a00 0%, #ff8a00 48%, var(--highlight-yellow) 100%);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: 10px clamp(28px, 6vw, 96px);
  background: rgba(17, 17, 17, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  transition: padding 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(12, 12, 12, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  color: #d8d8d2;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--orange);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid transparent;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  min-height: 36px;
  padding-inline: 14px;
  background: var(--orange);
  color: #111;
}

.button.primary {
  background: var(--orange);
  color: #111;
}

.button.secondary {
  background: transparent;
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.button.dark {
  border-color: #161616;
  color: #101010;
}

.button.primary.dark {
  background: #101010;
  border-color: #101010;
  color: var(--orange);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.section {
  position: relative;
  padding: clamp(76px, 8vw, 128px) clamp(28px, 7vw, 112px);
}

.hero {
  min-height: 920px;
  display: grid;
  align-items: center;
  padding-top: 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 121, 0, 0.22), transparent 28%),
    linear-gradient(105deg, #111 0%, #151515 53%, #261407 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(184, 255, 0, 0.08), transparent 38%);
  clip-path: polygon(0 0, 62% 0, 52% 100%, 0 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.hero-grid > * {
  min-width: 0;
}

.tag,
.subtag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  background: #101010;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag {
  padding-inline: 0;
  background: transparent;
  border: 0;
  color: var(--orange);
}

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

h1,
h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.92;
}

h1 {
  max-width: 660px;
  margin-top: 32px;
  font-size: clamp(34px, 4.7vw, 42px);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(34px, 5vw, 38px);
}

h1 em,
h2 em {
  color: transparent;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 28px;
  padding-left: 0;
  border-left: 0;
  color: #d4d4ce;
  font-weight: 300;
}

.hero-highlight {
  display: inline;
  color: var(--text);
  font-weight: 700;
  background: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.event-preview {
  perspective: 900px;
}

.preview-shell {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  padding: 28px;
  background: #131313;
  border: 1px solid var(--orange-accent);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.preview-shell::before,
.preview-shell::after {
  position: absolute;
  content: "";
  border: 2px solid var(--orange);
  pointer-events: none;
}

.preview-shell::before {
  inset: 10px -10px -10px 10px;
}

.preview-shell::after {
  top: -34px;
  left: -20px;
  width: 176px;
  height: 34px;
  background: #121212;
}

.preview-top,
.preview-body,
.preview-price,
.preview-sticker,
.preview-ribbon {
  position: relative;
  z-index: 1;
}

.preview-ribbon {
  position: absolute;
  top: -34px;
  left: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 34px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.preview-shell img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #2c2c2c;
}

.preview-body {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  text-transform: uppercase;
}

.preview-body strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
}

.preview-body small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.preview-date strong {
  color: transparent;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 24px;
}

.preview-date {
  min-width: 82px;
  margin-right: 0;
  text-align: right;
}

.preview-meter {
  height: 8px;
  margin-top: 18px;
  background: #2a2a2a;
}

.preview-meter span {
  display: block;
  width: 74%;
  height: 100%;
  background: var(--orange);
}

.preview-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 14px;
  padding: 9px 14px;
  background: var(--orange);
  color: #151515;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.preview-price:hover {
  background: #ffc05a;
  transform: translateY(-2px);
}

.preview-sticker {
  position: absolute;
  top: 58px;
  right: -28px;
  padding: 8px 12px;
  background: var(--orange);
  color: #141414;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.section-heading {
  width: min(980px, 100%);
}

.section-heading p {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 300;
}

.section-heading.compact {
  max-width: 740px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.roadmap .subtag {
  margin-top: 18px;
}

.intro {
  background: #171717;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(1320px, 100%);
  margin: 76px auto 0;
}

.pain-card,
.feature-card,
.event-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #272727;
}

.pain-card {
  min-height: 230px;
  padding: 28px 24px;
  border-color: rgba(255, 121, 0, 0.42);
}

.pain-card::after {
  content: none;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 32px;
  border: 1px solid #ffb18a;
  color: #ffb18a;
  font-size: 10px;
  font-weight: 900;
}

.icon-box svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.icon-box.light {
  border-color: var(--orange);
  color: var(--orange);
}

.icon-box.orange {
  border-color: var(--orange);
  color: var(--orange);
}

h3 {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.pain-card .icon-box,
.pain-card h3 {
  border-color: var(--orange);
  color: var(--orange);
}

.pain-card p,
.feature-card p,
.event-card p,
.step p,
.finish p {
  margin-top: 10px;
  color: #bebeb7;
  font-size: 16px;
  font-weight: 300;
}

.structure {
  background: #111;
  padding-bottom: clamp(120px, 10vw, 170px);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  width: min(1320px, 100%);
  margin: 66px auto 0;
}

.feature-card {
  min-height: 220px;
  padding: 30px 28px;
}

.feature-card.large {
  grid-row: span 2;
  min-height: 520px;
  background:
    linear-gradient(115deg, rgba(24, 24, 24, 0.95), rgba(31, 20, 12, 0.92)),
    url("../images/trail-runner-hero.png") center / cover;
}

.feature-card.wide {
  grid-column: span 2;
  min-height: 190px;
}

.progress-line {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 36px;
  height: 5px;
  background: #303030;
}

.progress-line span {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--orange-gradient);
}

.roadmap {
  position: relative;
  margin-top: -1px;
  padding-top: clamp(136px, 12vw, 190px);
  overflow: hidden;
  background: var(--bg-deep);
  clip-path: polygon(0 clamp(58px, 6vw, 92px), 100% 0, 100% 100%, 0 100%);
}

.roadmap > * {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  width: min(760px, 100%);
  margin: 80px auto 0;
  padding: 10px 0 20px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 120px;
  left: 50%;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, #ff6a00 0%, #ff8a00 52%, #ffd000 100%);
  transform: translateX(-50%);
}

.step {
  position: relative;
  width: calc(50% - 42px);
  min-height: 118px;
  margin-bottom: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #141414, #101010);
  border: 1px solid #272727;
}

.step::after {
  position: absolute;
  top: 31px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--orange-gradient);
  border-radius: 50%;
}

.step.left {
  margin-right: auto;
  text-align: right;
}

.step.left::after {
  right: -47px;
}

.step.right {
  margin-left: auto;
}

.step.right::after {
  left: -47px;
}

.step span,
.finish span {
  position: absolute;
  top: -18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--orange);
  background: #111;
  color: var(--orange);
  font-weight: 900;
  transform: skew(-7deg);
}

.step.left span {
  right: 22px;
}

.step.right span {
  left: 22px;
  border-color: var(--orange);
  color: var(--orange);
}

.finish {
  position: relative;
  width: min(360px, 100%);
  margin: 40px auto 0;
  padding: 36px 26px 28px;
  background: #15110e;
  border: 2px solid var(--orange);
  text-align: center;
  transform: skew(-6deg);
}


.finish span {
  left: 50%;
  top: -38px;
  border-color: var(--orange);
  background: var(--orange);
  color: #111;
  transform: translateX(-50%) skew(-7deg);
}

.showcase {
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #101010;
}

.showcase .section-heading p {
  margin-inline: auto;
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1120px, 100%);
  margin: 62px auto 0;
}

.event-card {
  min-height: 276px;
}

.event-image {
  height: 150px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66)), var(--event-image);
  background-size: cover;
}

.image-one {
  --event-image: url("../images/eunamontanha.webp");
  background-position: center;
}

.image-two {
  --event-image: url("../images/equipeparcas.webp");
  background-position: 60% 50%;
}

.image-three {
  --event-image: url("../images/circuitosolidario.webp");
  background-position: 34% 52%;
}

.event-card span {
  display: inline-flex;
  margin: 18px 20px 10px;
  padding: 5px 9px;
  background: var(--orange-gradient);
  color: #111;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card h3,
.event-card p {
  margin-inline: 20px;
}

.event-card h3 {
  color: var(--orange);
}

.event-card p {
  color: var(--text);
}

.cta-section {
  position: relative;
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: 720px;
  padding: 190px 20px 132px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 121, 0, 0.88), rgba(255, 121, 0, 0.88)),
    url("../images/trail-runner-hero.png") center / cover;
  color: #121212;
  text-align: center;
}

.cta-section::before {
  position: absolute;
  inset: -100px -40px auto;
  height: 190px;
  content: "";
  background: #101010;
  transform: skewY(-3deg);
  transform-origin: left top;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.cta-content h2 {
  font-size: clamp(34px, 5.4vw, 58px);
}

.cta-content h2 em {
  color: #fff;
  background: none;
}

.cta-content p {
  width: min(560px, 100%);
  margin: 28px auto 0;
  padding: 0;
  background: transparent;
  color: #321500;
  font-weight: 800;
}

.cta-content .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px clamp(28px, 7vw, 112px);
  background: #101010;
  color: #898982;
  font-size: 12px;
  font-weight: 700;
}

.site-footer p {
  text-align: center;
}

.site-footer div {
  display: flex;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--accent-light);
}

.simple-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(28px, 7vw, 112px);
  background: #101010;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.simple-nav {
  justify-self: center;
}

.simple-nav a {
  color: #d8d8d2;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.simple-nav a:hover {
  color: var(--orange);
}

.legal-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 121, 0, 0.18), transparent 28%),
    var(--bg);
}

.legal-hero,
.legal-content {
  width: min(920px, calc(100% - 56px));
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(76px, 10vw, 130px) 0 46px;
}

.legal-hero h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(44px, 8vw, 86px);
}

.legal-hero p {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 600;
}

.legal-content {
  padding: 0 0 clamp(86px, 10vw, 140px);
}

.legal-content h2 {
  margin-top: 38px;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.legal-content p {
  margin-top: 12px;
  color: #d6d6d0;
  font-weight: 500;
  line-height: 1.75;
}

.legal-content .legal-meta {
  margin-top: 46px;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
}

.legal-content .legal-meta + .legal-meta {
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    gap: 7px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d2d2d;
    background: #151515;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--text);
    transition: transform 180ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 57px 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 20px 24px;
    background: #101010;
    border-bottom: 1px solid #292929;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid #242424;
  }

  .hero-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .preview-shell {
    margin-inline: auto;
  }

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

  .feature-card.large,
  .feature-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .section {
    padding-inline: 24px;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    max-width: 100%;
    width: min(100%, calc(100vw - 48px));
    font-size: clamp(28px, 8.2vw, 35px);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(29px, 9vw, 42px);
  }

  .hero-copy p {
    width: min(100%, calc(100vw - 66px));
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .button {
    width: 100%;
  }

  .preview-shell {
    width: calc(100% - 10px);
    padding: 12px;
    transform: rotate(1deg);
  }

  .preview-sticker {
    right: 4px;
    top: 54px;
  }

  .pain-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 18px;
  }

  .step,
  .step.left,
  .step.right {
    width: calc(100% - 48px);
    margin-left: 48px;
    margin-right: 0;
    text-align: left;
  }

  .step.left::after,
  .step.right::after {
    left: -34px;
    right: auto;
  }

  .step.left span,
  .step.right span {
    left: 18px;
    right: auto;
  }

  .finish {
    margin-left: 48px;
    width: calc(100% - 48px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer div {
    justify-content: center;
  }
}
