/* Barlow and Barlow Condensed (SIL Open Font License), latin subset, self-hosted */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/BarlowCondensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/BarlowCondensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Pedalasso site. Light base, real footage carries the colour; orange only
   where the visitor can act. No entrance animations: the videos are the motion. */
:root {
  --branco: #ffffff;
  --cimento: #eceef1;
  --grafite: #1c1d21;
  --texto: #2a2c31;
  --cinza: #5e6168;
  --laranja: #ff5a1f;
  --laranja-escuro: #e0450d;
  /* white text needs 4.5:1: #d63f0a gives 4.6:1, #b8350a gives 5.8:1 */
  --laranja-botao: #d63f0a;
  --laranja-botao-hover: #b8350a;
  --linha: #d6d9df;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap.narrow {
  max-width: 820px;
}

/* type scale: 18 / 22 / 30 / 44 / 64 / 88 */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--grafite);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}
h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  margin-bottom: 22px;
}
h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 8px;
}
p {
  margin: 0 0 14px;
  max-width: 62ch;
}
.muted {
  color: var(--cinza);
  font-size: 16px;
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--laranja-botao);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--laranja-botao-hover);
}
.btn-lg {
  font-size: 19px;
  padding: 16px 26px;
}

/* nav: aligned to the content column; transparent over the video, white after */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: padding 0.2s;
}
.nav.solid {
  background: var(--branco);
  color: var(--grafite);
  box-shadow: 0 1px 0 var(--linha);
}
.nav.solid .nav-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.logo-dark,
.nav.solid .logo-light {
  display: none;
}
.nav.solid .logo-dark {
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  cursor: pointer;
  color: inherit;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

/* hero: real class footage, headline bottom-left */
.hero {
  position: relative;
  min-height: max(620px, 92vh);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--grafite);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.72) 100%);
}
.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px 80px;
}
.hero h1 {
  color: #fff;
  max-width: 13ch;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 21px;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.92);
}
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-facts li {
  padding-left: 18px;
  position: relative;
}
.hero-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--laranja);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.link-light {
  color: #fff;
  font-weight: 600;
  text-underline-offset: 5px;
}

/* sections */
.block {
  padding: 110px 0;
}
.block.alt {
  background: var(--cimento);
}
.block.dark {
  background: var(--grafite);
  color: #d9dbe0;
}
.block.dark h2,
.block.dark h3 {
  color: #fff;
}
.intro {
  max-width: 720px;
  margin-bottom: 44px;
}
.intro p {
  font-size: 20px;
  color: var(--cinza);
}
.block.dark .intro p {
  color: #b9bcc4;
}

/* what it is: heading left, text right */
.split-text {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.split-text p {
  color: var(--cinza);
}
.split-text p.big {
  font-size: 23px;
  line-height: 1.5;
  color: var(--texto);
}

/* gameplay */
.screen {
  margin: 0;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.6);
}
.screen video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.chapters {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--grafite);
}
.chapters button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-right: 1px solid var(--linha);
  padding: 12px 14px 4px 0;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  color: var(--texto);
  cursor: pointer;
}
.chapters li + li button {
  padding-left: 14px;
}
.chapters li:last-child button {
  border-right: 0;
}
.chapters span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--grafite);
}
.chapters button:hover span,
.chapters button.on span {
  color: var(--laranja);
}

/* steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.steps video,
.steps .phone {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 22px;
  background: var(--grafite);
}
.steps .phone {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  padding-top: 22px;
}
.steps .phone img {
  width: 58%;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 6px #000;
}
.steps .n {
  display: inline-block;
  color: var(--laranja);
  margin-right: 10px;
}
.steps p {
  color: var(--cinza);
}

/* full-bleed footage band */
.band {
  position: relative;
  height: min(70vh, 620px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--grafite);
}
.band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.band p {
  position: relative;
  margin: 0 auto;
  max-width: var(--wrap);
  width: 100%;
  padding: 0 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

/* one class, start to finish */
.timeline {
  list-style: none;
  counter-reset: t;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--grafite);
}
.timeline li {
  counter-increment: t;
  padding: 18px 18px 0 0;
}
.timeline li + li {
  padding-left: 18px;
  border-left: 1px solid var(--linha);
}
.timeline h3 {
  font-size: 26px;
}
.timeline h3::before {
  content: counter(t) '. ';
  color: var(--laranja);
}
.timeline p {
  font-size: 16px;
  color: var(--cinza);
}

/* features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 8px 0 0;
}
.features div {
  padding: 18px 0;
  border-top: 1px solid var(--linha);
}
.features dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  color: var(--grafite);
  margin-bottom: 4px;
}
.features dd {
  margin: 0;
  color: var(--cinza);
}

/* audience */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.audience p {
  color: var(--cinza);
}

/* modes */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 10px;
}
.modes img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  margin-bottom: 20px;
}
.modes p {
  color: var(--cinza);
}

/* tracks: one scrolling row */
.tracks {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 18px;
}
.tracks figure {
  flex: 0 0 min(520px, 78vw);
  margin: 0;
  scroll-snap-align: start;
}
.tracks img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tracks figcaption {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--grafite);
}
.tracks em {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--laranja-botao-hover);
  margin-left: 8px;
}

/* fairness simulator */
.fair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sim {
  border: 2px solid var(--grafite);
  border-radius: 10px;
  padding: 30px;
}
.sim-read {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.sim-read span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: var(--grafite);
  font-variant-numeric: tabular-nums;
}
.sim-read small {
  color: var(--cinza);
  font-size: 15px;
}
.sim input[type='range'] {
  width: 100%;
  accent-color: var(--laranja);
  height: 30px;
  margin: 0;
}
.sim-bar {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: var(--cimento);
  margin: 10px 0 16px;
  overflow: visible;
}
.sim-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--laranja);
  transition: width 0.15s, background 0.15s;
}
.sim-cap {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: calc(115 / 160 * 100%);
  width: 2px;
  background: var(--grafite);
}
.sim-msg {
  margin: 0;
  font-weight: 600;
  min-height: 1.6em;
}
.sim.over .sim-bar i {
  background: #d7261e;
}
.sim.over .sim-msg {
  color: #d7261e;
}

/* kit */
.kit {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.kit img {
  width: 100%;
  border-radius: 10px;
}
dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px 24px;
}
dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--grafite);
}
dd {
  margin: 0;
  color: var(--cinza);
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
  max-width: 900px;
}
.plans ul {
  margin: 0;
  padding-left: 20px;
}
.plans li {
  margin-bottom: 6px;
}
.plans li::marker {
  color: var(--laranja);
}

/* faq */
.faq details {
  border-bottom: 1px solid var(--linha);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  color: var(--grafite);
  padding: 18px 0;
}
.faq summary::marker {
  color: var(--laranja);
}
.faq p {
  color: var(--cinza);
  padding-bottom: 8px;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid p {
  font-size: 20px;
  color: var(--cinza);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--grafite);
}
.contact input {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #b9bdc6;
  border-radius: 6px;
  background: #fff;
  min-height: 50px;
}
.contact .btn,
.contact .form-note {
  grid-column: 1 / -1;
}
.form-note {
  margin: 0;
  font-size: 15px;
  color: var(--cinza);
  min-height: 1.4em;
}

.footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--linha);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: start;
}
.footer-grid p {
  color: var(--cinza);
  margin: 0;
}
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-grid nav a {
  text-decoration: none;
  font-weight: 500;
}
.footer-grid nav a:hover {
  text-decoration: underline;
}
.footer-grid .credits {
  grid-column: 1 / -1;
}
.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}
.credits {
  font-size: 13px;
  color: var(--cinza);
  margin-bottom: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open {
    background: var(--branco);
    color: var(--grafite);
  }
  .nav.open .nav-inner {
    flex-wrap: wrap;
  }
  .nav.open .logo-light {
    display: none;
  }
  .nav.open .logo-dark {
    display: block;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
    margin: 8px 0 6px;
  }
  .nav.open .nav-links a {
    padding: 10px 0;
    font-size: 19px;
  }
  .steps,
  .modes,
  .fair,
  .kit,
  .plans,
  .contact-grid,
  .split-text,
  .features,
  .audience,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split-text {
    gap: 0;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--linha);
  }
  .chapters {
    grid-template-columns: 1fr 1fr;
  }
  .chapters button {
    border-right: 0;
    padding-left: 0 !important;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 17px;
  }
  .wrap,
  .hero-text,
  .band p {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-inner {
    padding: 14px 16px;
  }
  .block {
    padding: 76px 0;
  }
  .hero-text {
    padding-bottom: 48px;
  }
  .chapters {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  dd {
    margin-bottom: 10px;
  }
}
