:root {
  --navy: #052b3d;
  --navy-deep: #031d2a;
  --blue: #0b4056;
  --orange: #ff5b30;
  --lime: #d7ff18;
  --cream: #f4f1e8;
  --white: #ffffff;
  --ink: #0c2430;
  --line: rgba(5, 43, 61, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .8rem 1rem; background: var(--lime); color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { height: 86px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--navy); color: white; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: .75rem; color: white; text-decoration: none; text-transform: uppercase; font-size: .7rem; letter-spacing: .16em; font-weight: 800; }
.brand img { width: clamp(132px, 12vw, 180px); height: auto; object-fit: contain; }
.site-header nav { display: flex; gap: clamp(1.2rem, 3vw, 3rem); }
.site-header nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 1.5rem; padding: .8rem 1.35rem; border-radius: 2px; background: var(--orange); color: white; text-transform: uppercase; text-decoration: none; font-weight: 900; font-size: .83rem; letter-spacing: .08em; box-shadow: 5px 5px 0 var(--lime); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--lime); }
.button-small { min-height: 42px; box-shadow: none; font-size: .75rem; }
.button-small:hover, .button-small:focus-visible { box-shadow: 4px 4px 0 var(--lime); }
.text-link { display: inline-flex; gap: .6rem; align-items: center; font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .09em; text-underline-offset: .3rem; }
.text-link.light { color: white; }

.hero { min-height: calc(100vh - 86px); padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 7vw, 7.5rem) 0; color: white; background: var(--navy); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(215,255,24,.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 45%, #000 100%); pointer-events: none; }
.hero-copy, .hero-mark { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; color: rgba(255,255,255,.76); text-transform: uppercase; font-size: .76rem; font-weight: 900; letter-spacing: .16em; }
.eyebrow span { display: block; width: 38px; height: 5px; background: var(--orange); transform: skewX(-28deg); }
h1, h2 { font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; margin: 0; }
h1 { font-size: clamp(4.2rem, 9.5vw, 9rem); max-width: 8ch; }
h1 em, h2 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 34rem; margin: 1.7rem 0 2rem; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }
.hero-mark { display: grid; place-items: center; min-height: 480px; }
.hero-mark img { width: clamp(310px, 39vw, 560px); height: auto; object-fit: contain; z-index: 3; filter: drop-shadow(0 18px 30px rgba(0,0,0,.22)); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.orbit-one { width: 120%; aspect-ratio: 1; transform: rotate(-8deg) scaleY(.58); }
.orbit-two { width: 95%; aspect-ratio: 1; border-color: rgba(215,255,24,.45); transform: rotate(24deg) scaleY(.64); }
.runner-note { position: absolute; right: 4%; bottom: 14%; z-index: 4; padding: .65rem .8rem; background: var(--lime); color: var(--navy); font-weight: 1000; font-size: .75rem; line-height: 1.05; text-transform: uppercase; transform: rotate(-4deg); }
.race-strip { grid-column: 1 / -1; align-self: end; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.22); }
.race-strip > div { padding: 1.35rem 2rem 1.5rem 0; display: grid; gap: .2rem; border-right: 1px solid rgba(255,255,255,.22); }
.race-strip > div:not(:first-child) { padding-left: 2rem; }
.race-strip small { color: var(--lime); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 900; }
.race-strip strong { font-family: "Arial Narrow", Impact, sans-serif; font-size: clamp(1.2rem, 2vw, 2rem); letter-spacing: .02em; }

.contour { position: absolute; inset: auto; opacity: .16; border: 1px solid var(--lime); border-radius: 47% 53% 61% 39% / 45% 42% 58% 55%; pointer-events: none; }
.contour::before, .contour::after { content: ""; position: absolute; inset: 18px; border: inherit; border-radius: 58% 42% 46% 54% / 38% 61% 39% 62%; }
.contour::after { inset: 36px; border-radius: 42% 58% 60% 40% / 54% 37% 63% 46%; }
.contour-one { width: 480px; height: 520px; left: -210px; top: 90px; transform: rotate(23deg); }

.manifesto, .steps, .social { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-tag { padding-bottom: .8rem; border-bottom: 1px solid var(--line); color: #66757b; font-weight: 800; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.manifesto-grid, .steps-head { margin-top: 3.2rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); }
.kicker { margin: 0 0 .8rem; color: var(--orange); text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; font-weight: 900; }
h2 { font-size: clamp(3.3rem, 7vw, 7rem); color: var(--navy); }
h2 span { color: transparent; -webkit-text-stroke: 2px var(--navy); }
.manifesto-copy { padding-top: 2rem; font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: #45565e; }
.manifesto-copy p:first-child { margin-top: 0; }
.manifesto-copy strong { color: var(--navy); }
.distance-grid { margin-top: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.distance-card { min-height: 410px; padding: 2.25rem; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.35); overflow: hidden; transition: transform .25s ease, background .25s ease; }
.distance-card:hover { transform: translateY(-6px); background: white; }
.distance-card.participative { background: var(--lime); }
.distance-card.featured { background: var(--navy); color: white; transform: translateY(-18px); }
.distance-card.featured:hover { transform: translateY(-24px); }
.featured-label { position: absolute; right: -3.2rem; top: 2rem; width: 12rem; padding: .35rem; text-align: center; background: var(--orange); color: white; text-transform: uppercase; font-weight: 900; font-size: .6rem; letter-spacing: .08em; transform: rotate(42deg); }
.distance-number { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(6rem, 10vw, 9rem); letter-spacing: -.06em; line-height: .8; }
.distance-unit { margin-left: .35rem; color: var(--orange); font-weight: 1000; }
.distance-card h3 { margin: 2.5rem 0 .2rem; text-transform: uppercase; font-size: 1.1rem; }
.distance-card p { margin: 0; max-width: 16rem; color: inherit; opacity: .72; }
.price { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid currentColor; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.price small { text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; }
.price strong { font-size: 1.55rem; }
.price-note { margin: 1.4rem 0 0; color: #65737a; font-size: .78rem; }

.race-shirt { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; background: var(--lime); overflow: hidden; }
.shirt-image { position: relative; transform: rotate(-2deg); box-shadow: 18px 18px 0 var(--orange); }
.shirt-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.shirt-image > span { position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .75rem; background: var(--navy); color: white; text-transform: uppercase; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.shirt-copy .section-tag { margin-bottom: 2.5rem; }
.shirt-copy p:not(.kicker) { max-width: 35rem; margin: 1.5rem 0 2rem; color: #344b55; font-size: 1.06rem; }
.shirt-copy .button { background: var(--navy); box-shadow: 5px 5px 0 var(--orange); }
.shirt-copy .button:hover, .shirt-copy .button:focus-visible { box-shadow: 8px 8px 0 var(--orange); }

.impact { background: var(--orange); color: white; display: grid; grid-template-columns: 1.25fr .75fr; min-height: 520px; }
.impact-quote, .impact-copy { padding: clamp(3.5rem, 7vw, 7.5rem); }
.impact-quote { display: flex; align-items: flex-start; gap: 1rem; border-right: 1px solid rgba(255,255,255,.28); }
.impact-quote > span { color: var(--lime); font-family: Georgia, serif; font-size: 6rem; line-height: .7; }
.impact-quote p { margin: 0; font-family: "Arial Narrow", Impact, sans-serif; font-size: clamp(3.1rem, 6vw, 6.5rem); line-height: .94; text-transform: uppercase; letter-spacing: -.04em; }
.impact-copy { display: flex; flex-direction: column; justify-content: center; background: var(--navy); }
.impact-copy img { width: min(300px, 90%); margin-bottom: 2rem; }
.impact-copy p { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.impact-copy .text-link { margin-top: 1.5rem; }

.steps { background: white; }
.steps-head > p { align-self: end; max-width: 34rem; color: #53646c; font-size: 1.08rem; }
.step-list { list-style: none; margin: clamp(3rem, 6vw, 6rem) 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.step-list li { min-height: 128px; display: grid; grid-template-columns: 100px 1fr auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line); }
.step-num { color: var(--orange); font-size: .78rem; font-weight: 900; }
.step-list h3 { margin: 0 0 .25rem; color: var(--navy); font-size: clamp(1.25rem, 2.5vw, 2rem); text-transform: uppercase; }
.step-list p { margin: 0; color: #617078; }
.round-link { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); text-decoration: none; font-size: 1.4rem; transition: background .2s, color .2s; }
.round-link:hover, .round-link:focus-visible { background: var(--navy); color: white; }
.document-callout { margin-top: 2.5rem; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; background: var(--lime); }
.doc-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy); color: white; font-size: .7rem; font-weight: 900; transform: rotate(-3deg); }
.document-callout div:nth-child(2) { display: grid; }
.document-callout span { font-size: .82rem; opacity: .72; }
.document-callout a { font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .07em; }

.social { background: var(--navy-deep); color: white; }
.social .section-tag { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.54); margin-bottom: 3rem; }
.social h2 { color: white; }
.social h2 span { -webkit-text-stroke-color: white; }
.social-title { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.button-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,.48); box-shadow: none; }
.button-outline:hover, .button-outline:focus-visible { background: white; color: var(--navy); box-shadow: 6px 6px 0 var(--lime); }
.instagram-grid { margin-top: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.instagram-grid a { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--blue); }
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.instagram-grid span { position: absolute; inset: auto 1rem 1rem; padding: .55rem .75rem; background: var(--lime); color: var(--navy); font-size: .7rem; font-weight: 900; text-transform: uppercase; transform: translateY(5rem); transition: transform .25s ease; }
.instagram-grid a:hover img, .instagram-grid a:focus-visible img { transform: scale(1.04); filter: brightness(.7); }
.instagram-grid a:hover span, .instagram-grid a:focus-visible span { transform: translateY(0); }

.final-cta { min-height: 650px; position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--lime); }
.final-cta h2 { position: relative; z-index: 2; max-width: 13ch; font-size: clamp(3.7rem, 8vw, 8rem); }
.final-cta h2 em { color: var(--orange); }
.final-cta .eyebrow { color: var(--navy); }
.final-cta .button { margin-top: 3rem; position: relative; z-index: 2; }
.button-light { background: var(--navy); box-shadow: 6px 6px 0 var(--orange); }
.button-light:hover, .button-light:focus-visible { box-shadow: 9px 9px 0 var(--orange); }
.contour-two { width: 760px; height: 500px; border-color: var(--navy); opacity: .12; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-12deg); }

footer { padding: 2.2rem clamp(1.25rem, 4vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 2rem; background: var(--navy-deep); color: rgba(255,255,255,.62); font-size: .77rem; }
.footer-brands { display: flex; align-items: center; gap: 1rem; }
.footer-desafio { width: min(210px, 42vw); height: auto; }
.footer-tawa { width: 130px; }
footer p { text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 1.4rem; }
.footer-links a { color: white; text-underline-offset: .25rem; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header nav { display: flex; gap: 0; }
  .site-header nav a:not(:last-child) { display: none; }
  .site-header nav a:last-child { padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.35); color: var(--lime); }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { z-index: 4; }
  .hero-mark { min-height: 390px; margin-top: 1rem; }
  .hero-mark img { width: min(520px, 88vw); }
  .race-strip { margin-left: -1.25rem; margin-right: -1.25rem; }
  .race-strip > div { padding: 1rem .75rem; }
  .race-strip > div:not(:first-child) { padding-left: .75rem; }
  .manifesto-grid, .steps-head { grid-template-columns: 1fr; gap: 1rem; }
  .manifesto-copy { padding-top: 0; }
  .distance-grid { grid-template-columns: 1fr; }
  .distance-card { min-height: 320px; }
  .distance-card.featured { transform: none; }
  .distance-card.featured:hover { transform: translateY(-6px); }
  .race-shirt { grid-template-columns: 1fr; }
  .shirt-image { width: min(620px, 94%); }
  .impact { grid-template-columns: 1fr; }
  .impact-quote { border-right: 0; }
  .social-title { display: block; }
  .social-title .button { margin-top: 2rem; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: 6rem; }
  footer p { margin: 0; }
  .footer-links { justify-self: center; }
  .mobile-cta { display: flex; position: fixed; z-index: 50; left: .75rem; right: .75rem; bottom: .75rem; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 1.2rem; background: var(--orange); color: white; text-decoration: none; text-transform: uppercase; font-weight: 900; letter-spacing: .07em; box-shadow: 4px 4px 0 var(--lime); }
}

@media (max-width: 560px) {
  .site-header { height: 72px; padding: 0 1rem; }
  .brand img { width: 120px; height: auto; }
  .brand span { display: none; }
  .button-small { min-height: 40px; padding-inline: 1rem; }
  .hero { min-height: calc(100vh - 72px); }
  h1 { font-size: clamp(3.8rem, 20vw, 5.7rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .text-link { width: 100%; }
  .hero-mark { min-height: 320px; }
  .race-strip { grid-template-columns: 1fr; }
  .race-strip > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .race-strip > div:not(:first-child) { padding-left: .75rem; }
  .manifesto, .steps, .social { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  h2 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .distance-card { padding: 1.6rem; }
  .impact-quote, .impact-copy { padding: 3.5rem 1.25rem; }
  .impact-quote > span { display: none; }
  .step-list li { grid-template-columns: 54px 1fr auto; gap: .7rem; padding: 1.1rem 0; }
  .step-list p { font-size: .9rem; }
  .round-link { width: 44px; height: 44px; }
  .document-callout { grid-template-columns: auto 1fr; }
  .document-callout a { grid-column: 1 / -1; text-align: right; }
  .instagram-grid { grid-template-columns: 1fr; }
  .instagram-grid span { transform: translateY(0); }
  .final-cta { min-height: 570px; }
}

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