:root {
  color-scheme: dark;
  --bg: #0b1220;
  --card: #131d2d;
  --line: #304057;
  --ink: #fbfaf7;
  --muted: #bbc8d9;
  --orange: #ff8b44;
  --orange-light: #ffad72;
  --dark: #16110f;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.top { border-bottom: 1px solid #243246; background: #0d1523; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .045em; line-height: 1; }
.brand small { display: block; font: 700 10px var(--body); color: var(--orange-light); letter-spacing: .22em; margin-top: 4px; }
.mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; background: var(--orange); color: var(--dark); letter-spacing: -.04em; font-size: 27px; }
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--ink); }
.layout { margin-top: 20px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; isolation: isolate; background: #101a29; }
.bike { margin: 0; background: #e1e0df; }
.bike img { display: block; width: 100%; height: auto; }
.hero-copy { margin-top: auto; padding: 24px 34px 31px; }
.eyebrow { margin: 0 0 9px; color: var(--orange-light); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 11px; font: 800 clamp(54px, 6.3vw, 87px)/.89 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
h1 span { color: var(--orange); }
.hero-subtitle { color: var(--ink); margin: 0; max-width: 42ch; font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.35; }
.order { scroll-margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
h2 { font: 700 36px/1 var(--display); margin-bottom: 7px; }
.order-head p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.unit { text-align: right; display: flex; flex-direction: column; white-space: nowrap; color: var(--orange-light); font-size: 17px; padding-top: 5px; }
.unit small { color: var(--muted); font-size: 11px; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 20px; }
.pack { background: #0e1726; color: var(--ink); border: 1px solid #35475f; border-radius: 11px; min-height: 75px; padding: 9px 5px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; }
.pack:has(.pack-bonus) { padding-block: 10px; }
.pack-bonus { color: var(--orange-light); font-size: 11px; font-weight: 700; white-space: nowrap; }
.pack:hover { border-color: var(--orange); }
.pack strong { font: 700 30px/1 var(--display); }
.pack small { font-size: 13px; color: var(--muted); }
.pack[aria-pressed=true] { background: #37281f; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.pack[aria-pressed=true] small { color: var(--orange-light); }
.quantity-label { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; background: #0e1726; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.stepper button, .stepper input { border: 0; color: var(--ink); background: transparent; min-height: 46px; }
.stepper button { font-size: 25px; line-height: 1; touch-action: manipulation; user-select: none; }
.stepper button:hover:not(:disabled) { background: #26354b; }
.stepper input { width: 100%; text-align: center; border-inline: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.stepper :focus-visible { outline-offset: -4px; }
.total { display: flex; align-items: center; justify-content: space-between; margin-block: 16px 13px; color: var(--muted); }
.total output { color: var(--ink); font-size: 24px; font-weight: 700; }
.primary { border: 0; border-radius: 11px; background: var(--orange); color: var(--dark); font-weight: 800; min-height: 51px; width: 100%; padding: 12px 15px; }
.primary:hover { background: var(--orange-light); }
#open-checkout { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
#open-checkout span { width: 10px; height: 10px; margin-right: 4px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.details { margin: 18px 0 26px; }
details { border-radius: 14px; border: 1px solid var(--line); background: #101a29; }
summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; min-height: 50px; font-weight: 700; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 23px; line-height: 1; color: var(--orange-light); }
details[open] summary span { transform: rotate(45deg); }
.details-copy { color: var(--muted); line-height: 1.6; padding: 0 20px 16px; max-width: 78ch; }
.footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 17px 24px; font-size: 13px; }
dialog { border: 1px solid var(--line); border-radius: 20px; width: min(465px, calc(100% - 24px)); max-height: calc(100dvh - 30px); padding: 0; color: var(--ink); background: var(--card); }
dialog::backdrop { background: #050911c9; }
.modal { padding: 22px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal-head h2 { margin: 0; }
.close { border: 1px solid var(--line); border-radius: 8px; background: #0e1726; color: var(--ink); width: 44px; height: 44px; font-size: 24px; }
.receipt { background: #0e1726; border: 1px solid var(--line); padding: 14px; border-radius: 11px; margin: 0 0 15px; }
.receipt p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.receipt p:last-child { margin-bottom: 0; }
.receipt span, .modal p:not(.receipt p) { color: var(--muted); }
.modal-actions { display: grid; gap: 9px; }
.secondary { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #0e1726; color: var(--ink); font-weight: 700; }
.timer { color: var(--orange-light); font-variant-numeric: tabular-nums; }
.demo-code { display: block; width: 100%; color: var(--ink); padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #0b1220; margin: 0 0 9px; }
.status { min-height: 1.3em; margin: 7px 0 0; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .wrap { width: min(680px, calc(100% - 36px)); }
  .layout { margin-top: 12px; grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { padding: 12px 16px 14px; }
  .hero-copy h1 { font-size: clamp(34px, 8vw, 54px); margin-bottom: 6px; line-height: .98; }
  .hero-subtitle { font-size: 15px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 26px); }
  .header-inner { min-height: 65px; }
  .brand { font-size: 20px; gap: 8px; }
  .mark { width: 36px; height: 36px; font-size: 23px; }
  nav { font-size: 12px; gap: 12px; }
  nav a:first-child { display: none; }
  .hero { border-radius: 15px; }
  h1 { font-size: clamp(45px, 12vw, 63px); }
  .order { border-radius: 15px; padding: 16px; }
  .order-head { margin-bottom: 14px; }
  .order-head h2 { font-size: 30px; }
  .order-head p { font-size: 13px; }
  .packs { margin-bottom: 14px; }
  .pack { min-height: 64px; }
  .pack strong { font-size: clamp(20px, 5.5vw, 26px); white-space: nowrap; }
  .modal { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[hidden] { display: none !important; }
body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom, 0); }
.top { padding-top: env(safe-area-inset-top, 0); }
.mark { display: block; flex: none; object-fit: contain; }
.desktop-nav { margin-left: auto; }
.menu-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 12px; background: #131d2d; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; border-radius: 9px; }
.hamburger { display: block; width: 16px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.hamburger::after { content: ''; position: absolute; inset: 3px 0 auto; border-top: 2px solid currentColor; }
.unit { padding-top: 1px; gap: 3px; }
.unit strong { font-size: 20px; }
.rules { margin: 0; }
.rules > div { margin-bottom: 11px; }
.rules > div:last-child { margin-bottom: 0; }
.rules dt { font-weight: 700; color: var(--ink); }
.rules dd { margin: 0; }
.inner-page { min-height: min(620px, 70vh); padding-block: 36px 45px; }
.page-title { font-size: clamp(49px, 7vw, 78px); margin: 0 0 24px; }
.panel, .campaign-card { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; max-width: 740px; }
.panel p, .campaign-card p { color: var(--muted); line-height: 1.55; }
.panel .eyebrow, .campaign-card .eyebrow { color: var(--orange-light); }
.story p:last-child { margin-bottom: 0; }
.story h3 { margin: 24px 0 7px; font-size: 18px; }
.athlete-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; max-width: 900px; }
.athlete-photo { display: block; width: 100%; height: auto; max-width: 400px; border-radius: 12px; }
@media (max-width: 600px) {
  .athlete-story { grid-template-columns: minmax(0, 1fr); }
  .athlete-photo { justify-self: center; }
}
.section-icon { margin-bottom: 12px; }
.campaign-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: 21px; }
.campaign-card img { display: block; width: 100%; height: auto; border-radius: 10px; }
.page-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--orange-light); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.section-heading { margin-top: 28px; }
.muted { color: var(--muted); }
.footer { align-items: center; }
.text-button { padding: 5px 0; min-height: 44px; background: transparent; border: 0; color: var(--orange-light); font-weight: 700; }
.site-menu { width: min(365px, calc(100% - 24px)); }
.menu-links { display: grid; gap: 3px; margin: 0 0 16px; color: var(--ink); font-size: 16px; }
.menu-links a { display: flex; align-items: center; min-height: 47px; padding: 0 12px; border-radius: 8px; }
.menu-links a:hover, .menu-links [aria-current="page"] { background: #37281f; color: var(--orange-light); }
.install-steps { color: var(--muted); line-height: 1.55; padding-left: 24px; }
.install-steps li + li { margin-top: 10px; }
.install-steps strong { color: var(--ink); }
.email-form { display: grid; gap: 8px; max-width: 450px; }
.email-form label { font-size: 14px; font-weight: 700; }
.email-form input { min-height: 48px; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #0e1726; color: var(--ink); padding: 9px 11px; font-size: 16px; }
.email-form .primary { margin-top: 5px; }
.email-note { font-size: 13px; color: var(--muted); margin: 4px 0; }
#lookup-result:not(:empty) { margin-top: 20px; }
.purchase { border-top: 1px solid var(--line); padding: 14px 0 6px; }
.purchase h3 { font-size: 16px; margin: 0 0 8px; }
.purchase details { margin-bottom: 9px; }
.purchase details summary { font-size: 14px; }
.number-list { padding: 0 14px 14px; display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow: auto; }
.number-list span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-qr { width: 140px; height: 140px; display: block; margin: 10px auto 14px; }
@media (max-width: 520px) {
  .desktop-nav { display: none; }
  .menu-toggle { padding-inline: 10px; }
  .inner-page { padding-block: 25px 30px; }
  .panel, .campaign-card { padding: 16px; }
  .campaign-card { grid-template-columns: 1fr; gap: 14px; }
}
#checkout-content details { margin-bottom: 12px; }

.bike-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--orange-light); font-weight: 700; text-align: left; }
.bike-link span { font-family: system-ui, sans-serif; }
.bike-detail-image { display: block; width: 100%; height: auto; border-radius: 10px; }
.bike-detail-photo { margin: 0 0 16px; }
.bike-specs > div { border-top: 1px solid var(--line); padding-top: 8px; }
.bike-specs dd { color: var(--muted); }
.campaign-purpose, .campaign-winners { margin: 0 0 14px; padding: 18px 20px; background: #101a29; border: 1px solid var(--line); border-radius: 14px; }
.campaign-purpose h2, .campaign-winners h2 { font-size: 26px; }
.campaign-purpose p, .campaign-winners p { margin: 0; max-width: 78ch; color: var(--muted); line-height: 1.55; }
.email-form select { min-height: 48px; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #0e1726; color: var(--ink); padding: 9px 11px; font-size: 16px; }
.email-form .consent { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.email-form .consent input { width: 19px; height: 19px; min-height: 0; flex: none; accent-color: var(--orange); }
.terms-copy { padding: 0 14px 14px; line-height: 1.5; }

.campaign-progress { margin: 16px 0 0; }
.progress-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.progress-head output { color: var(--orange-light); font-variant-numeric: tabular-nums; }
.campaign-progress progress { display: block; width: 100%; height: 8px; margin: 0; appearance: none; border: 0; border-radius: 20px; background: #314158; accent-color: var(--orange); }
.campaign-progress progress::-webkit-progress-bar { background: #314158; border-radius: 20px; }
.campaign-progress progress::-webkit-progress-value { background: var(--orange); border-radius: 20px; }
.campaign-progress progress::-moz-progress-bar { background: var(--orange); border-radius: 20px; }
.pack-featured, .pack-fire, .pack-master { position: relative; }
.pack.pack-featured { border: 2px solid var(--orange); background: #4b2e20; }
.pack.pack-featured[aria-pressed=true] { background: #5b3826; }
.pack-featured strong { color: #fff5ed; }
.pack-featured small { color: var(--orange-light); }
.pack-badge { position: absolute; inset: -9px auto auto; padding: 2px 7px; border-radius: 10px; background: var(--orange); color: var(--dark); font-size: 10px; font-weight: 800; white-space: nowrap; }
.pack-fire .pack-badge { background: #523123; font-size: 12px; line-height: 1.15; }
.pack.pack-master { border: 2px solid #f2c76b; background: #322817; }
.pack.pack-master[aria-pressed=true] { background: #51401e; box-shadow: inset 0 0 0 1px #f2c76b; }
.pack-master strong, .pack-master[aria-pressed=true] small { color: #ffe2a2; }
.pack-master .pack-bonus { color: #ffe2a2; }
.pack-master .pack-badge { background: #f2c76b; font-size: 11px; }
.packs { row-gap: 14px; }
.social-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--orange-light); font-weight: 700; }
.purchase-summary { font-weight: 700; }
@media (max-width: 520px) { .footer { flex-wrap: wrap; } }


.bike-gallery { position: relative; }
.bike-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bike-gallery-track::-webkit-scrollbar { display: none; }
.bike-gallery-track img { flex: 0 0 100%; scroll-snap-align: start; object-fit: contain; }
.bike-gallery-track:focus-visible { outline-offset: -4px; }
.bike-gallery-controls:not([hidden]) {
  position: absolute;
  inset: 50% 8px auto;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.bike-gallery-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #101a29;
  color: #fff;
  font: 28px/1 system-ui, sans-serif;
  pointer-events: auto;
}
.bike-gallery-controls button:disabled { visibility: hidden; }

/* Clube do Atleta */
.top { box-shadow: inset 0 3px #f58b35; }
.brand { text-transform: uppercase; }
.brand small { text-transform: none; }
.nav-icon { width: 23px; height: 23px; flex: 0 0 23px; color: var(--orange-light); }
.menu-links { gap: 6px; }
.menu-links a, .menu-group summary { display: flex; align-items: center; min-height: 47px; padding: 0 12px; gap: 13px; border-radius: 8px; }
.menu-group, .profile { border: 1px solid #314056; }
.menu-group { border-radius: 10px; }
.menu-group summary, .profile summary { cursor: pointer; list-style: none; }
.menu-group summary::-webkit-details-marker, .profile summary::-webkit-details-marker { display: none; }
.menu-group summary::after, .profile summary::after { content: '+'; color: var(--orange-light); margin-left: auto; font-size: 1.3rem; }
.menu-group[open] summary::after, .profile[open] summary::after { content: '−'; }
.menu-group a { margin: 0 7px 4px 24px; }
.profile-list, .partner-list { display: grid; gap: 16px; }
.profile { padding: 0; overflow: hidden; }
.profile summary { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 15px 22px; font-size: 1.15rem; font-weight: 700; }
.profile summary span { color: #aab8cb; font-size: .85rem; font-weight: 500; }
.profile article { padding: 20px 22px 24px; border-top: 1px solid #314056; }
.club-access .access-card { max-width: 620px; border-top: 3px solid var(--orange-light); }
.access-card label, .access-field { display: grid; gap: 5px; font-weight: 700; }
.access-card input, .access-field input { width: 100%; border: 1px solid #44536a; border-radius: 8px; background: #0c1524; color: #f6f7fa; font: inherit; min-height: 44px; padding: 8px 12px; }
.access-card form, form.club-form { display: grid; gap: 12px; margin-top: 12px; }
.access-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.access-tabs button { color: inherit; background: #172235; border: 1px solid #44536a; border-radius: 8px; padding: 9px 12px; cursor: pointer; font: inherit; }
.access-tabs button[aria-pressed="true"] { color: #151d2b; background: var(--orange-light); border-color: var(--orange-light); }
.club-access [role="status"] { margin: 8px 0; }
.partner-list { grid-template-columns: repeat(auto-fit,minmax(225px,1fr)); }
.partner-list img, .profile img.dynamic-photo { max-width: min(100%, 280px); max-height: 280px; object-fit: contain; border-radius: 10px; }
@media (max-width: 520px) { .profile summary { flex-wrap: wrap; gap: 6px 12px; } .profile summary span { font-size: .78rem; } .brand { letter-spacing: .02em; } }

.support-contacts { display: grid; justify-items: start; list-style: none; padding: 0; margin: 0; }
.support-contacts a { overflow-wrap: anywhere; }

.site-menu { max-height: calc(100dvh - 32px); }
.menu-account { margin: 0 0 16px; padding: 14px; border: 1px solid #8d572f; border-radius: 14px; background: #241c1a; }
.menu-account h3 { margin: 0; font: 800 1.1rem var(--body); }
.menu-account p { margin: 4px 0 12px; font-size: .875rem; }
.menu-account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-account-actions a { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 112px; width: auto; min-height: 44px; padding: 8px 10px; gap: 7px; }
.menu-account-actions .nav-icon { width: 19px; height: 19px; flex-basis: 19px; color: currentColor; }
.sport-groups { display: grid; gap: 28px; }
.sport-heading { margin: 0 0 14px; padding: 0 0 0 12px; border-left: 3px solid var(--orange); font: 800 clamp(1.6rem,5vw,2.3rem)/1.1 var(--display); }
.club-about { max-width: 760px; }
.club-about p:first-child { margin-top: 0; }
.club-about p:last-child { margin-bottom: 0; }
.club-about-links { display: flex; flex-wrap: wrap; column-gap: 22px; margin-top: 10px; }
.buyer-orders { margin: 19px 0 7px; }
.buyer-orders .purchase { margin: 10px 0; }
.buyer-orders .purchase p { overflow-wrap: anywhere; }
.buyer-orders h3 { margin: 14px 0 8px; }
.buyer-orders .purchase h4 { margin: 0; }
.buyer-profile { margin-top: 18px; }
.buyer-profile summary { cursor: pointer; min-height: 40px; }
.buyer-profile .secondary { margin-top: 8px; }

.member-signin [role="status"]:empty { display: none; }
.member-signin + .page-link { margin-top: 8px; }
.member-welcome { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.member-welcome h2 { margin: 0; }
.member-logout { width: auto; padding: 5px 17px; }
.member-manager { margin-top: 16px; }
.member-create-box, .member-password { padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; }
.member-create-box summary, .member-password summary { cursor: pointer; min-height: 30px; font-weight: 700; }
.member-card { margin: 10px 0; }
.member-card h4 { margin: 0; }
