/* =========================================================
   DUH BIKE POINT — Design System
   Paleta: grafite de oficina + verde do logo + branco giz
   Tipografia: Big Shoulders Display (títulos, condensada/esportiva)
               Manrope (texto) · JetBrains Mono (rótulos técnicos)
   ========================================================= */
:root {
  --green-300: #7dff7a;
  --green-400: #3ff03a;
  --green-500: #19d11f;
  --green-600: #10a816;
  --green-700: #0b7d10;
  --green-glow: rgba(31, 230, 40, .45);

  --ink-950: #070908;
  --ink-900: #0a0c0b;
  --ink-850: #0f1311;
  --ink-800: #141916;
  --ink-700: #1d2420;
  --ink-600: #2a332e;
  --ink-400: #6b766f;
  --ink-300: #9aa59e;
  --chalk: #eef3ef;

  --bg: var(--ink-900);
  --surface: var(--ink-850);
  --surface-2: var(--ink-800);
  --line: rgba(238, 243, 239, .1);
  --line-strong: rgba(238, 243, 239, .2);
  --text: var(--chalk);
  --text-muted: var(--ink-300);
  --accent: var(--green-500);
  --accent-ink: #041a05;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --fs-hero: clamp(3.6rem, 14vw, 13rem);
  --fs-h2: clamp(2.4rem, 6.2vw, 5.4rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-lg: clamp(1rem, 1.35vw, 1.2rem);
  --fs-base: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 13vw, 170px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-1: 0 10px 30px -10px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 0 1px rgba(31, 230, 40, .35), 0 18px 60px -12px var(--green-glow);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
main { overflow-x: clip; }
body.is-loading, body.menu-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--text-muted); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.link { color: var(--green-400); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.link:hover { background-size: 100% 1px; }

.kicker {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2);
  line-height: .95; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 24px; overflow-wrap: break-word;
}
.body-lg { font-size: var(--fs-lg); color: var(--text-muted); max-width: 56ch; }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .kicker::before { display: none; }

/* ---------- Reveal (CSS + IntersectionObserver: sem conflito com GSAP) ---------- */
.js .reveal, .js .anim-in { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in, .js .anim-in.is-in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin-top: -.16em; }
.split-words .w > span { display: inline-block; transform: translate3d(0, 110%, 0) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.split-words.is-in .w > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: .02em; white-space: nowrap;
  transition: background-color .25s, box-shadow .3s, border-color .25s, color .25s;
}
.btn--sm { --bh: 40px; padding: 0 16px; }
.btn--lg { --bh: 56px; padding: 0 28px; font-size: var(--fs-base); }
.btn--xl { --bh: 66px; padding: 0 36px; font-size: 1.1rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--green-glow); }
.btn--primary:hover { background: var(--green-400); box-shadow: var(--shadow-glow); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--green-300); }
.btn:active { scale: .97; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 28px;
  background: var(--ink-950); transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader__logo { width: 104px; height: 104px; animation: loaderSpin 1.6s var(--ease-out) infinite; filter: drop-shadow(0 0 30px var(--green-glow)); }
.loader__bar { width: 160px; height: 2px; background: var(--ink-700); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.is-done .loader__logo { animation: none; }
@keyframes loaderSpin { to { transform: perspective(400px) rotateY(360deg); } }

/* ---------- FX layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 450; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid var(--accent); border-radius: 50%; pointer-events: none; opacity: 0;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background-color .3s, opacity .3s;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(31,230,40,.12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h); transition: background-color .4s, border-color .4s; }
.header.is-scrolled { background: rgba(10, 12, 11, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.brand img { width: 44px; height: 44px; transition: transform .8s var(--ease-spring); filter: drop-shadow(0 4px 14px rgba(31,230,40,.35)); }
.brand:hover img { transform: rotate(-20deg) scale(1.06); }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.brand__name strong { color: var(--accent); font-weight: 900; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); border-radius: var(--r-pill); transition: color .25s, background-color .25s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.header__cta { flex: none; }
.menu-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(10,12,11,.5); font-weight: 700; font-size: var(--fs-sm); transition: border-color .25s, background-color .25s; }
.menu-btn:hover { border-color: var(--accent); }
.menu-btn__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.menu-btn__icon i { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--accent-ink); border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.menu-btn__icon i:first-child { top: 11px; } .menu-btn__icon i:last-child { top: 17px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 14px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 14px; transform: rotate(-45deg); }

/* estrada de progresso */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.road__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--green-glow); }
.road__bike { position: absolute; bottom: 1px; left: 0; width: 34px; height: 19px; transform: translateX(-4px); fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s; will-change: transform; }
.header.is-scrolled .road__bike { opacity: 1; }
.rb-wheel { transform-box: fill-box; transform-origin: center; }
.rb-frame { stroke: var(--chalk); }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 190; background: rgba(7,9,8,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--header-h) + 24px) 0 calc(32px + env(safe-area-inset-bottom)); clip-path: circle(0% at calc(100% - 60px) 38px); transition: clip-path .8s var(--ease-out); }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at calc(100% - 60px) 38px); }
.menu__bg { position: fixed; right: -12vmax; bottom: -12vmax; width: 60vmax; opacity: .05; pointer-events: none; animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.menu__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: end; min-height: 100%; }
.menu__nav { display: flex; flex-direction: column; perspective: 900px; }
.menu__nav a { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 24px); padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(40px) rotateX(-50deg); transform-origin: 50% 100%; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), color .25s; transition-delay: calc(.12s + var(--i, 0) * 50ms); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__n { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); min-width: 2ch; }
.menu__t { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, min(7vw, 8vh), 4.6rem); line-height: 1.02; text-transform: uppercase; transition: transform .4s var(--ease-out); }
.menu__nav a:hover, .menu__nav a.is-active { color: var(--accent); }
.menu__nav a:hover .menu__t { transform: translateX(14px); }
.menu__aside { opacity: 0; transform: translateY(20px); transition: opacity .6s .4s, transform .8s .4s var(--ease-out); padding-bottom: 8px; }
.menu.is-open .menu__aside { opacity: 1; transform: none; }
.menu__big { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: 16px; }
.menu__big:hover { color: var(--accent); }
.menu__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Dots ---------- */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .4s; }
.dots.is-visible { opacity: 1; }
.dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-400); transition: border-color .3s, background-color .3s, transform .3s var(--ease-spring); }
.dots a::before { content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-pill); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.dots a:hover::before, .dots a:focus-visible::before { opacity: 1; transform: translate(0, -50%); }
.dots a:hover { border-color: var(--chalk); }
.dots a.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -2; width: 80vmax; height: 80vmax; right: -25vmax; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(31,230,40,.16), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__content { position: relative; padding-block: 48px 120px; will-change: transform, opacity; }
.hero__content > * { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(10,12,11,.55); backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 24px; max-width: 100%; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,230,40,.6); } 70% { box-shadow: 0 0 0 12px rgba(31,230,40,0); } 100% { box-shadow: 0 0 0 0 rgba(31,230,40,0); } }
.hero__title { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-hero); line-height: .84; text-transform: uppercase; margin: 0 0 28px; letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.hero__title .line--accent { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.split .ch { display: inline-block; transform: translate3d(0, 115%, 0) rotateX(-80deg); transform-origin: 50% 100%; opacity: 0; transition: transform 1.1s var(--ease-out), opacity .6s; transition-delay: calc(.1s + var(--i, 0) * 35ms); }
.no-js .split .ch, .hero.is-ready .split .ch { transform: none; opacity: 1; }
.hero__lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 46ch; margin: 0 0 36px; text-shadow: 0 2px 20px rgba(10,12,11,.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { list-style: none; display: flex; gap: 8px; padding: 0; margin: 32px 0 0; }
.hero__chips li { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text-muted); background: rgba(10,12,11,.5); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 2s var(--ease-out) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { padding: 24px 0; background: var(--accent); color: var(--accent-ink); overflow: hidden; transform: rotate(-2deg); margin: 30px -2vw; box-shadow: 0 30px 80px -30px var(--green-glow); position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 5vw, 3.6rem); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.marquee__row b { font-size: .5em; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.about__facts dt { color: var(--accent); margin-bottom: 8px; }
.about__facts dd { margin: 0; font-weight: 600; }
.about__visual { display: grid; place-items: center; perspective: 1200px; }
.coin-stage { position: relative; width: min(420px, 78vw); aspect-ratio: 1; transform-style: preserve-3d; }
.coin { position: absolute; inset: 12%; transform-style: preserve-3d; }
.coin__face { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(40px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.coin__layer { position: absolute; inset: 0; border-radius: 50%; }
.coin__layer--back { background: var(--green-700); box-shadow: 0 0 120px 10px rgba(31,230,40,.22); }
.coin__layer--mid { background: var(--green-600); transform: translateZ(20px); }
.coin__glare { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(41px); background: radial-gradient(circle at var(--gx, 30%) var(--gy, 25%), rgba(255,255,255,.45), transparent 45%); mix-blend-mode: overlay; pointer-events: none; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-strong); animation: spin 16s linear infinite; pointer-events: none; }
.orbit span { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .2em; background: var(--bg); padding: 2px 10px; border: 1px solid var(--accent); border-radius: var(--r-pill); color: var(--accent); }
.orbit--2 { inset: 6%; animation-duration: 20s; animation-direction: reverse; }
.orbit--3 { inset: -5%; animation-duration: 26s; }

/* ---------- Bike 3D ---------- */
.bike { position: relative; height: 480vh; }
.bike__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 60% 60%, #0f1a12 0%, var(--bg) 65%); }
.bike__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bike__ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; grid-template-rows: auto 1fr auto; gap: 16px; padding-top: calc(var(--header-h) + 20px); padding-bottom: 32px; pointer-events: none; }
.bike__head { grid-column: 1; }
.bike__title { font-size: clamp(2.2rem, 5vw, 4.4rem); margin: 0; }
.bike__steps { grid-column: 1; grid-row: 2; align-self: center; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bike__steps li { display: flex; gap: 14px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid transparent; opacity: .35; transition: opacity .4s, background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.bike__steps li .mono { color: var(--accent); padding-top: 3px; }
.bike__steps strong { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.bike__steps p { margin: 2px 0 0; color: var(--text-muted); font-size: var(--fs-sm); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.bike__steps li.is-active { opacity: 1; background: rgba(15,19,17,.75); border-color: rgba(31,230,40,.35); transform: translateX(6px); backdrop-filter: blur(6px); }
.bike__steps li.is-active p { max-height: 80px; }
.bike__steps li.is-done { opacity: .7; }
.bike__meter { grid-column: 2; grid-row: 3; justify-self: end; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7vw, 6rem); line-height: .8; color: var(--accent); text-shadow: 0 0 40px rgba(31,230,40,.35); display: flex; align-items: flex-end; gap: 4px; }
.bike__meter small { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 400; color: var(--text-muted); letter-spacing: .15em; text-transform: uppercase; margin: 0 0 6px 10px; text-shadow: none; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-wrap { perspective: 1200px; }
.svc {
  position: relative; height: 100%; padding: 32px 28px 30px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, box-shadow .4s;
  min-height: 250px; display: flex; flex-direction: column;
}
.svc:hover { border-color: rgba(31,230,40,.45); box-shadow: 0 30px 60px -30px rgba(31,230,40,.4); }
.svc__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-400); }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(31,230,40,.1); color: var(--accent); margin-bottom: auto; transform: translateZ(40px); border: 1px solid rgba(31,230,40,.25); }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; text-transform: uppercase; margin: 32px 0 8px; line-height: 1; transform: translateZ(30px); }
.svc p { margin: 0; color: var(--text-muted); font-size: .95rem; transform: translateZ(20px); }
.svc__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(31,230,40,.14), transparent 50%); opacity: 0; transition: opacity .3s; }
.svc:hover .svc__glare { opacity: 1; }
.js .svc-wrap.reveal { transform: translate3d(0, 60px, 0) rotateX(-25deg); transform-origin: 50% 0; }
.js .svc-wrap.reveal.is-in { transform: none; }

/* ---------- Disciplines ---------- */
.disciplines { position: relative; height: 340vh; }
.disciplines__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.disciplines__head { position: absolute; top: calc(var(--header-h) + 20px); left: 0; right: 0; z-index: 3; }
.disciplines__head .h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.disciplines__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.disciplines__bg span { font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 34vw, 30rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(238,243,239,.08); text-transform: uppercase; white-space: nowrap; }
.disciplines__stage { position: relative; z-index: 2; height: min(56svh, 500px); width: min(calc(100vw - 2 * var(--gutter)), 760px); margin: calc(var(--header-h) + 40px) auto 0; perspective: 1600px; transform-style: preserve-3d; }
.disc {
  position: absolute; inset: 0; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-strong); overflow: hidden; transform-origin: 50% 100%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); will-change: transform;
}
.disc__tag { font-family: var(--font-mono); color: var(--accent); font-size: var(--fs-sm); position: absolute; top: clamp(22px, 4vw, 40px); left: clamp(22px, 4vw, 48px); }
.disc__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 14vw, 10rem); line-height: .8; text-transform: uppercase; margin: 0 0 16px; }
.disc__text { color: var(--text-muted); font-size: var(--fs-lg); margin: 0; max-width: 38ch; position: relative; }
.disc__art { position: absolute; right: -8%; top: -10%; width: 60%; aspect-ratio: 1; opacity: .9; }
.disc__art svg { animation: spin 30s linear infinite; }
.disc:nth-child(3n+1) { background: linear-gradient(135deg, #18311b, var(--ink-850) 65%); }
.disc:nth-child(3n+2) { background: linear-gradient(135deg, #2a2a15, var(--ink-850) 65%); }
.disc:nth-child(3n+3) { background: linear-gradient(135deg, #12263a, var(--ink-850) 65%); }
.disciplines__dots { position: relative; z-index: 3; display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.disciplines__dots i { width: 28px; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background-color .3s, width .3s; }
.disciplines__dots i.is-active { background: var(--accent); width: 48px; }

/* ---------- Process ---------- */
.process { position: relative; height: 300vh; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.process__head { margin-bottom: clamp(24px, 4vw, 48px); }
.process__head .h2 { margin: 0; }
.process__viewport { width: 100%; }
.process__track { display: flex; gap: clamp(14px, 2vw, 24px); padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.step {
  flex: none; width: min(420px, 78vw); min-height: clamp(240px, 38svh, 320px); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); position: relative;
  border: 1px solid var(--line-strong); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: border-color .4s, background-color .4s;
}
.step.is-active { border-color: rgba(31,230,40,.5); background: linear-gradient(160deg, #132017, var(--surface)); }
.step__n { font-family: var(--font-display); font-weight: 900; font-size: clamp(4.5rem, 9vw, 7rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.step h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 20px 0 8px; }
.step p { margin: 0; color: var(--text-muted); }
.process__bar { margin-top: 28px; }
.process__bar::before { content: ""; display: block; height: 2px; background: var(--line); }
.process__bar span { display: block; height: 2px; margin-top: -2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.process__chainring { position: absolute; right: -90px; bottom: -90px; width: 340px; height: 340px; color: var(--accent); opacity: .16; pointer-events: none; }

/* ---------- Gallery ring ---------- */
.gallery { overflow: hidden; }
.ring-scene { height: clamp(360px, 50vw, 560px); perspective: 1400px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring-scene:active { cursor: grabbing; }
.ring { position: relative; width: clamp(170px, 22vw, 280px); aspect-ratio: 3/4; transform-style: preserve-3d; }
.ring__item { position: absolute; inset: 0; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); backface-visibility: hidden; }
.ring__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: saturate(.9) contrast(1.05); }
.ring__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.5)); }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(40px, 8vw, 100px); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.6rem, 9vw, 7.5rem); line-height: .9; color: var(--accent); text-shadow: 0 0 50px rgba(31,230,40,.3); }
.stat__label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.contact__col { perspective: 1400px; }
.contact__card { height: 100%; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.contact__card .h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.contact__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.contact__list .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(31,230,40,.1); color: var(--accent); }
.contact__list div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact__list span { color: var(--text-muted); font-size: var(--fs-sm); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--surface); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) hue-rotate(90deg) contrast(.9); }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__logo { width: 116px; height: 116px; margin-bottom: 28px; filter: drop-shadow(0 20px 50px var(--green-glow)); }
.cta__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.8rem, 9vw, 7.2rem); line-height: .9; text-transform: uppercase; margin: 0 0 20px; max-width: 14ch; }
.cta .body-lg { margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand div { display: flex; flex-direction: column; line-height: 1.2; }
.footer__brand span { color: var(--text-muted); font-size: var(--fs-sm); }
.footer__nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-muted); }
.footer__nav a:hover { color: var(--accent); }
.footer__copy { color: var(--text-muted); margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 150; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 14px 40px -10px var(--green-glow); transition: transform .4s var(--ease-spring), opacity .3s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
body.menu-open .wa-float, body.lb-open .wa-float, body:has(.cms:not([hidden])) .wa-float { opacity: 0; pointer-events: none; }


/* ---------- Galeria: carrossel 3D (coverflow) ---------- */
.carousel { position: relative; }
.carousel__stage { position: relative; height: clamp(360px, 56vw, 580px); perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.carousel__stage:active { cursor: grabbing; }
.slide { position: absolute; top: 50%; left: 50%; width: clamp(220px, 34vw, 420px); aspect-ratio: 4 / 5; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); transition: transform .8s var(--ease-out), opacity .6s, filter .6s; will-change: transform; padding: 0; color: inherit; }
.slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.65)); pointer-events: none; }
.slide__cap { position: absolute; left: 18px; right: 56px; bottom: 16px; z-index: 1; text-align: left; font-size: var(--fs-sm); font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.slide__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease-spring); }
.slide__zoom svg { width: 18px; height: 18px; }
.slide.is-active { cursor: zoom-in; }
.slide.is-active .slide__cap, .slide.is-active .slide__zoom { opacity: 1; transform: none; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); display: grid; place-items: center; transition: border-color .25s, background-color .25s, color .25s; flex: none; }
.carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel__btn:disabled { opacity: .35; pointer-events: none; }
.carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: var(--line-strong); transition: width .4s var(--ease-out), background-color .3s; }
.carousel__dots button[aria-selected="true"] { width: 30px; background: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 650; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); background: rgba(4,6,5,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; touch-action: none; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1100px, 100%); transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__figure figcaption { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--text-muted); font-size: var(--fs-sm); text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(15,19,17,.85); display: grid; place-items: center; font-size: 18px; transition: border-color .25s, color .25s; }
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Avaliações ---------- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; flex-wrap: wrap; }
.reviews__head .h2 { margin: 0; max-width: 12ch; }
.rating-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 24px 26px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); min-width: min(360px, 100%); }
.rating-card__g { width: 52px; height: 52px; grid-row: span 2; }
.rating-card__score { display: flex; align-items: center; gap: 12px; }
.rating-card__score strong { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: .9; }
.rating-card__count { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.rating-card__actions { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 12px; }
.rating-card__actions .btn { flex: 1; }
.stars { display: inline-flex; gap: 3px; color: #fbbc04; }
.stars svg { width: 20px; height: 20px; }
.stars .off { color: var(--ink-600); }
.reviews__rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 8px 4px; }
.reviews__rail::-webkit-scrollbar { display: none; }
.reviews__rail[hidden], .reviews__nav[hidden] { display: none; }
.reviews__track { display: flex; gap: 18px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); }
.review { scroll-snap-align: center; flex: none; width: min(380px, 82vw); padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, transform .5s var(--ease-out); }
.review:hover { border-color: rgba(31,230,40,.4); transform: translateY(-4px); }
.review__text { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.review__text::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,230,40,.14); color: var(--accent); font-weight: 800; flex: none; overflow: hidden; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__who strong { display: block; line-height: 1.2; }
.review__who span { color: var(--text-muted); font-size: var(--fs-xs); }
.reviews__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.reviews__nav .mono { color: var(--text-muted); }

/* ---------- Modalidades: imagem de fundo ---------- */
.disc__bg { position: absolute; inset: 0; z-index: 0; }
.disc__bg img { width: 100%; height: 100%; object-fit: cover; }
.disc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,11,.1) 0%, rgba(10,12,11,.5) 45%, rgba(10,12,11,.95) 100%); }
.disc.has-img .disc__art { display: none; }
.disc__title, .disc__text { position: relative; z-index: 1; }
.disc__tag { z-index: 1; }

@media (max-width: 860px) {
  .reviews__head { flex-direction: column; align-items: stretch; }
  .rating-card { min-width: 0; }
}
@media (max-width: 640px) {
  .slide { width: min(64vw, 300px); }
  .carousel__btn { width: 46px; height: 46px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; }
  .lightbox__figure img { max-height: calc(100svh - 170px); }
  .rating-card { padding: 20px; }
  .rating-card__score strong { font-size: 2.8rem; }
}

/* =========================================================
   CMS
   ========================================================= */
.cms-login { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 16px; background: rgba(4,6,5,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-y: auto; }
.cms-login[hidden] { display: none; }
.cms-login__card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(22px, 5vw, 32px); box-shadow: var(--shadow-1); text-align: center; animation: popIn .5s var(--ease-spring); }
.cms-login__card img { margin: 0 auto 14px; }
.cms-login__card h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; margin: 0; }
.cms-login__card .muted { margin: 4px 0 20px; font-size: var(--fs-sm); }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.shake { animation: shake .4s; }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; margin-bottom: 14px; }
.field > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.field small { font-size: 12px; }
.field input, .field textarea, .field select, .cms-input {
  width: 100%; background: var(--ink-950); border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text);
  padding: 11px 13px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .cms-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,230,40,.2); }
.cms-error { color: #ff7b7b; font-size: var(--fs-sm); min-height: 1.2em; margin: 0 0 10px; }
.cms-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; align-items: center; }
.cms-row .btn { flex: 1; }

.cms {
  position: fixed; z-index: 550; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
  background: #0f1311; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: slideIn .5s var(--ease-out); overflow: hidden;
}
.cms[hidden] { display: none; }
.cms.is-min { bottom: auto; }
.cms.is-min .cms__tabs, .cms.is-min .cms__body, .cms.is-min .cms__foot { display: none; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.cms__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cms__head strong { color: var(--accent); font-family: var(--font-display); font-size: 1.3rem; }
.cms__mode { color: var(--text-muted); }
.cms__head-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cms-btn { background: var(--ink-700); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 600; min-height: 32px; }
.cms-btn:hover { border-color: var(--accent); }
.cms-btn.is-on { background: var(--accent); color: var(--accent-ink); }
.cms-btn--danger:hover { border-color: #ff6b6b; color: #ff8a8a; }
.cms__tabs { display: flex; gap: 4px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cms__tabs::-webkit-scrollbar { display: none; }
.cms__tabs button { background: none; border: 0; padding: 8px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.cms__tabs button[aria-selected="true"] { background: rgba(31,230,40,.12); color: var(--accent); }
.cms__body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cms__body h4 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin: 8px 0 12px; letter-spacing: .02em; }
.cms__body .hint { font-size: 13px; color: var(--text-muted); margin: -4px 0 14px; }
.cms__body code { font-family: var(--font-mono); font-size: 12px; background: var(--ink-700); padding: 1px 6px; border-radius: 4px; }
.cms-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); margin-bottom: 14px; }
.cms-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffd166; }
.cms-badge.is-online::before { background: var(--accent); }
.cms-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; margin-bottom: 12px; background: var(--ink-900); }
.cms-item__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.cms-item__bar .mono { color: var(--text-muted); }
.cms-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cms-gal .cms-item { padding: 8px; margin: 0; }
.cms-gal img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.cms-gal .field { margin-bottom: 6px; }
.cms-gal .cms-row { justify-content: space-between; gap: 4px; }
.cms__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cms__foot .mono { color: var(--text-muted); }
.cms__foot .mono.is-dirty { color: #ffd166; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 700; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--chalk); color: var(--ink-900); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); transition: transform .5s var(--ease-spring), visibility .5s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1240px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 1100px) {
  .dots { display: none; }
}
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .bike__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .bike__steps { grid-row: 3; align-self: end; }
  .bike__steps li { display: none; }
  .bike__steps li.is-active { display: flex; transform: none; }
  .bike__meter { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; font-size: clamp(2.4rem, 8vw, 4rem); }
  .bike__head { grid-row: 1; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .coin-stage { width: min(300px, 70vw); }
  .hero { align-items: flex-end; }
  .hero__canvas { opacity: .9; }
  .disc__art { width: 70%; right: -18%; top: -6%; opacity: .45; }
  .process__chainring { width: 220px; height: 220px; right: -60px; bottom: -60px; }
  .menu__grid { grid-template-columns: 1fr; align-items: start; }
  .contact__map, .contact__map iframe { min-height: 320px; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .menu-btn { margin-left: auto; }
  .brand__name { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .services__grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .about__facts { grid-template-columns: 1fr; }
  .hero__content { padding-block: 32px 96px; }
  .hero__actions .btn { width: 100%; }
  .hero__title .line--accent { -webkit-text-stroke-width: 1.5px; }
  .contact__actions .btn, .menu__actions .btn { flex: 1; }
  .marquee { padding: 16px 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .cms { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 86svh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .cms.is-min { height: auto; }
  .cms__mode { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .bike__steps strong { font-size: 1.3rem; }
}
@media (max-width: 345px) {
  .brand__name { display: none; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 0 6px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero { align-items: center; }
  .hero__title { font-size: clamp(3rem, 10vw, 6rem); }
  .bike__steps p, .bike__head .kicker { display: none; }
  .disciplines__stage { height: 60svh; margin-top: calc(var(--header-h) + 10px); }
  .disciplines__head { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
}
