/* RAW FITNESS — identidade visual (ver DESIGN.md). */
:root {
  --ink: #0a0a0a; --ink-2: #141414; --ink-3: #1e1e1e; --line: #2c2c2c;
  --bone: #ecebe6; --ash: #a2a29d; --red: #e3170a; --red-deep: #a30f06;
  --ok: #5fd38d; --warn: #f2b53a;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --sans: "Archivo", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(20px, 3.2vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.menu-lock, html.modal-open { overflow: hidden; }
html, body { overflow-x: clip; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--bone); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .45; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; background: var(--bone); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--ash); }
.fine { font-size: .8rem; line-height: 1.45; }
.center { text-align: center; }
.mt { margin-top: 20px; }
.txt-red { color: var(--red); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.label { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.label b { color: var(--red); font-weight: 500; }
.empty { padding: 32px 16px; text-align: center; color: var(--ash); border: 1px dashed var(--line); }

/* logo */
.logo { display: inline-grid; justify-items: start; line-height: 1; color: var(--bone); }
.logo__raw { position: relative; font: 400 34px/0.86 var(--display); letter-spacing: .01em; transform: skewX(-9deg); padding-right: 2px; }
.logo__cut { position: absolute; left: 52%; right: -6%; top: 48%; height: 4px; background: var(--red); transform: rotate(-24deg); transform-origin: left center; }
.logo__fit { font: 500 8.5px/1 var(--mono); letter-spacing: .52em; margin-top: 4px; color: var(--ash); }
.logo--sm .logo__raw { font-size: 28px; }
.logo--sm .logo__cut { height: 3px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font: 600 14px/1.1 var(--sans); letter-spacing: .02em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: #000; }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { background: #fff; }
.btn--line { border-color: var(--bone); color: var(--bone); }
.btn--line:hover { background: var(--bone); color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--bone); }
.btn--ghost:hover { border-color: var(--ash); background: var(--ink-3); }
.btn--danger { border-color: #5a1a16; color: #ff8a80; }
.btn--danger:hover { background: #2a0d0b; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }
.link-under { border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 600; font-size: 14px; }
.link-under:hover { color: var(--red); }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--bone); display: grid; place-items: center; color: var(--bone); transition: background .2s, color .2s; }
.round-btn:hover { background: var(--bone); color: var(--ink); }
.round-btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.round-btn--red:hover { background: var(--red-deep); color: #fff; }
.icon-btn { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 2px; color: var(--bone); font: 600 13px var(--sans); }
.icon-btn:hover { background: var(--ink-3); }
.icon-btn--danger:hover { color: #ff8a80; border-color: #5a1a16; }

/* granulação */
.grain { position: fixed; inset: -50%; z-index: 500; pointer-events: none; opacity: .07; 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='3' 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(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } }

/* abertura */
.intro { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; align-content: center; gap: 18px; clip-path: inset(0 0 0 0); }
.intro__word { font: 400 clamp(8rem, 30vw, 24rem)/.8 var(--display); letter-spacing: .01em; transform: skewX(-9deg); }
.ch { display: inline-block; overflow: hidden; vertical-align: top; }
.ch > span { display: inline-block; }
.intro__cut { width: min(60vw, 520px); height: 8px; background: var(--red); transform-origin: left; }
.intro__sub { font: 500 12px var(--mono); letter-spacing: .5em; color: var(--ash); }

/* navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); transition: background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 10, 10, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); padding-block: 12px; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__student { display: inline-flex; align-items: center; gap: 6px; color: var(--ash); }
.nav__student svg { width: 15px; height: 15px; }
.nav__toggle { display: none; width: 48px; height: 48px; position: relative; border: 1px solid var(--line); }
.nav__toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bone); transition: transform .3s var(--ease); }
.nav__toggle i:first-of-type { top: 19px; } .nav__toggle i:last-of-type { top: 27px; }
.nav.menu-open .nav__toggle i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav__toggle i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* topo */
.hero { position: relative; height: 100svh; min-height: 760px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #161616 url("./assets/espaco/hero-fundo-900.webp") center / cover; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(10, 10, 10, .75) 85%), linear-gradient(to top, var(--ink) 4%, transparent 40%); }
.hero__word { position: absolute; left: 0; right: 0; top: max(132px, 15vh); z-index: 1; text-align: center; font: 400 min(30vw, 50vh)/.8 var(--display); letter-spacing: .01em; color: var(--bone); transform: skewX(-9deg); }
.hero__athlete { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 2; height: 90%; width: max-content; max-width: 100%; }
.hero__athlete img { height: 100%; width: auto; }
.hero__athlete-photo, .hero__athlete img[data-hero-cutout] { display: none; }
.hero.has-cutout .hero__athlete img[data-hero-cutout] { display: block; }
.hero.has-cutout .hero__athlete { left: 24%; }
.hero.no-cutout .hero__bg img { object-position: 65% 30%; filter: grayscale(1) contrast(1.2) brightness(.5); }
.hero.no-cutout .hero__word { color: rgba(236, 235, 230, .9); mix-blend-mode: screen; }
.hero__copy { position: absolute; left: var(--pad); bottom: clamp(56px, 9vh, 96px); z-index: 3; max-width: 520px; display: grid; gap: 18px; }
.hero__lead { font: 400 clamp(1.9rem, 2.7vw, 2.7rem)/.95 var(--display); text-transform: uppercase; }
.hero__text { color: #cfcfca; font-size: 1.02rem; }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hero__stat { position: absolute; right: var(--pad); bottom: clamp(56px, 9vh, 96px); z-index: 3; width: 220px; padding: 18px; display: grid; gap: 4px; background: rgba(20, 20, 20, .72); border: 1px solid rgba(236, 235, 230, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__stat strong { font: 400 2.8rem/1 var(--display); }
.hero__stat small { color: var(--ash); }
.avatars { display: flex; margin-bottom: 10px; }
.avatars img, .avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink-2); margin-right: -10px; object-fit: cover; filter: grayscale(1); }
.avatars span { display: grid; place-items: center; background: var(--red); font-weight: 700; }
.hero__meta { position: absolute; left: var(--pad); right: var(--pad); z-index: 3; display: flex; justify-content: space-between; gap: 16px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(236, 235, 230, .8); }
.hero__meta--top { top: 96px; }
.hero__meta--bottom { bottom: 18px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 6px; }
.hero__scroll svg { width: 14px; height: 14px; transform: rotate(90deg); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(5px); } }

/* faixa */
.marquee { overflow: hidden; background: var(--red); color: var(--ink); transform: rotate(-1.6deg); margin: -10px -2vw 0; position: relative; z-index: 5; border-block: 2px solid var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span, .marquee i { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); padding: 14px 18px; text-transform: uppercase; font-style: normal; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* manifesto */
.manifesto { position: relative; min-height: 105vh; display: grid; align-items: center; overflow: hidden; background: #050505; }
.manifesto__photo { position: absolute; inset: 0 0 0 auto; width: 64%; overflow: hidden; }
.manifesto__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(1) contrast(1.3) brightness(.8); }
.manifesto__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, .6) 30%, transparent 65%), linear-gradient(0deg, #050505, transparent 25%); }
.manifesto__copy { position: relative; z-index: 2; padding: 120px var(--pad); max-width: min(760px, 62vw); display: grid; gap: 28px; }
.manifesto__text { font: 400 clamp(3.2rem, 7vw, 7.4rem)/.9 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 22px rgba(255, 255, 255, .35), 0 0 2px rgba(255, 255, 255, .6); }
.manifesto__foot { max-width: 420px; color: #c9c9c4; }
.manifesto__meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; z-index: 2; display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .08em; color: rgba(236, 235, 230, .7); }

/* seções */
.section { padding: clamp(88px, 12vw, 160px) var(--pad); max-width: 1480px; margin: 0 auto; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--row { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; }
.section__head--center { justify-items: center; text-align: center; }
.section__aside { color: var(--ash); max-width: 380px; justify-self: end; }
.title { font: 400 clamp(3.2rem, 8.2vw, 8.6rem)/.88 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.reveal-lines > span { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.line-in { display: block; }

/* por que */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__card { min-height: 300px; padding: 32px; border: 1px solid rgba(227, 23, 10, .45); display: flex; flex-direction: column; gap: 14px; transition: background .3s, border-color .3s; }
.why__card:hover { background: var(--ink-2); border-color: var(--red); }
.why__n { font: 400 3.4rem/1 var(--display); color: var(--red); margin-bottom: auto; }
.why__card h3 { font: 700 1.35rem/1.2 var(--sans); }
.why__card p { color: var(--ash); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0 0; display: grid; gap: 6px; }
.stat strong { font: 400 clamp(3rem, 5.6vw, 5.4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ash); }

/* espaço: galeria horizontal */
.space { position: relative; background: var(--bone); color: var(--ink); }
.space__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.space__track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; align-items: center; will-change: transform; }
.space__intro { flex: none; width: min(36vw, 520px); display: grid; gap: 22px; padding-right: 4vw; }
.space__intro .label { color: #55554f; }
.space__intro p { color: #3c3c38; max-width: 420px; }
.space__hint { display: inline-flex; gap: 8px; align-items: center; font: 500 12px var(--mono); text-transform: uppercase; color: var(--red); }
.space__hint svg { width: 16px; }
.space__card { flex: none; width: min(44vw, 640px); margin: 0; }
.space__card:nth-child(odd) { margin-top: 8vh; }
.space__img { height: 66vh; overflow: hidden; background: #ccc; }
.space__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; }
.space__card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 2px solid var(--ink); margin-top: 14px; }
.space__card figcaption span { font: 500 11px var(--mono); text-transform: uppercase; color: #55554f; }
.space__card figcaption strong { font: 400 1.9rem/1 var(--display); text-transform: uppercase; }

/* programas */
.program { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(80px, 10vw, 140px); }
.program--flip .program__img { order: 2; }
.program__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.program__img img { width: 100%; height: 100%; object-fit: cover; }
.program__copy { display: grid; gap: 18px; justify-items: start; max-width: 520px; }
.program__n { font: 400 6rem/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.program__copy h3 { font: 400 clamp(2.6rem, 4.4vw, 4.2rem)/.92 var(--display); text-transform: uppercase; }
.program__k { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.program__copy > p:not(.program__k) { color: var(--ash); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; }

/* equipe: leque de cards */
.team { position: relative; min-height: 100vh; grid-template-columns: minmax(0, 1fr); padding: 110px var(--pad) 120px; overflow: hidden; background: #0e0e0e; display: grid; place-items: center; }
.team__head { position: absolute; top: 40px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.team__bigtext { position: absolute; inset: 50% 0 auto; transform: translateY(-50%); z-index: 1; font: 400 clamp(5rem, 15.5vw, 17rem)/.84 var(--display); text-transform: uppercase; text-align: center; white-space: nowrap; pointer-events: none; }
.team__bigtext span { display: block; }
.team__stage { position: relative; z-index: 2; width: min(360px, 68vw); aspect-ratio: 3 / 4; touch-action: pan-y; user-select: none; }
.coach { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 4px; background: var(--ink-3); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.coach img { width: 100%; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; transition: filter .6s; }
.coach:not(.is-active) img { filter: brightness(.45); }
.coach:not(.is-active) figcaption { opacity: 0; }
.coach { border: 1px solid rgba(236, 235, 230, .14); }
.coach figcaption { transition: opacity .4s;  position: absolute; inset: auto 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(5, 5, 5, .92)); display: grid; gap: 2px; }
.coach figcaption span { font: 500 11px var(--mono); color: var(--red); }
.coach figcaption strong { font: 400 1.9rem/1 var(--display); text-transform: uppercase; }
.coach figcaption small { color: #cfcfca; }
.team__info { position: absolute; left: var(--pad); bottom: 56px; z-index: 3; max-width: 320px; display: grid; gap: 8px; }
.team__role { font: 500 11px var(--mono); text-transform: uppercase; color: var(--red); letter-spacing: .06em; }
.team__bio { color: #d1d1cc; }
.team__controls { position: absolute; right: var(--pad); bottom: 56px; z-index: 3; display: flex; align-items: center; gap: 16px; }
.team__count { font: 500 13px var(--mono); min-width: 64px; text-align: center; }

/* grade de aulas */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; }
.days button { flex: none; min-width: 104px; min-height: 64px; padding: 10px 16px; border: 1px solid var(--line); display: grid; text-align: left; transition: background .2s, border-color .2s; }
.days button span { font: 400 1.5rem/1 var(--display); text-transform: uppercase; }
.days button small { color: var(--ash); font-size: 12px; }
.days button:hover { border-color: var(--ash); }
.days button[aria-selected="true"] { background: var(--red); border-color: var(--red); }
.days button[aria-selected="true"] small { color: #ffd9d6; }
.schedule__photo { position: relative; height: clamp(220px, 34vw, 460px); overflow: hidden; margin: 0 0 40px; }
.schedule__photo img { width: 100%; height: 125%; object-fit: cover; object-position: center 40%; }
.schedule__photo figcaption { position: absolute; left: 20px; bottom: 16px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); padding: 6px 10px; }
.schedule__date { font: 500 12px var(--mono); text-transform: uppercase; color: var(--ash); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.slot { display: grid; grid-template-columns: 110px 1.4fr 1fr 160px 120px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.slot__time { font: 400 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.slot__name { display: grid; } .slot__name strong { font-size: 1.15rem; } .slot__name small, .slot__coach { color: var(--ash); }
.slot__spots, .spots { display: inline-grid; gap: 6px; font-size: 13px; color: var(--ash); }
.slot__spots i, .spots i { display: block; width: 100%; min-width: 64px; height: 4px; background: var(--ink-3); position: relative; }
.slot__spots i::after, .spots i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--bone); }
.slot__spots.is-low, .spots.is-low { color: var(--red); }
.slot__spots.is-low i::after, .spots.is-low i::after { background: var(--red); }

/* planos */
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); padding: 4px; margin-top: 10px; }
.billing button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; font: 600 13px var(--sans); text-transform: uppercase; transition: color .3s; }
.billing button small { color: var(--red); margin-left: 4px; transition: color .3s; }
.billing button[aria-pressed="true"] { color: var(--ink); }
.billing button[aria-pressed="true"] small { color: var(--red-deep); }
.billing__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--bone); transition: transform .45s var(--ease); }
.billing.is-yearly .billing__thumb { transform: translateX(100%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; margin-bottom: 28px; }
.plan { position: relative; padding: 40px 32px; border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 12px; }
.plan h3 { font: 400 2.6rem/1 var(--display); text-transform: uppercase; }
.plan__tag { color: var(--ash); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.plan__price span { font: 400 5.6rem/.9 var(--display); font-variant-numeric: tabular-nums; }
.plan__price small { font: 600 14px var(--sans); color: var(--ash); }
.plan__note { font-size: 13px; color: var(--ash); min-height: 1.5em; }
.plan ul { display: grid; gap: 10px; margin: 14px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { color: var(--red); flex: none; margin-top: 2px; }
.plan--hot { background: var(--red); border-color: var(--red); color: #fff; padding-block: 56px; }
.plan--hot .plan__tag, .plan--hot .plan__price small, .plan--hot .plan__note { color: #ffe2df; }
.plan--hot ul { border-color: rgba(255, 255, 255, .3); }
.plan--hot li svg { color: #fff; }
.plan__badge { position: absolute; top: -14px; left: 32px; background: var(--ink); color: var(--bone); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; }

/* depoimentos */
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice { margin: 0; padding: 28px 0 0; border-top: 2px solid var(--red); display: grid; gap: 24px; align-content: space-between; }
.voice blockquote { margin: 0; font-size: 1.18rem; line-height: 1.5; }
.voice figcaption { display: flex; gap: 12px; align-items: center; }
.voice figcaption span:last-child { display: grid; } .voice small { color: var(--ash); }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--ink-3); font: 400 1rem var(--display); color: var(--bone); flex: none; border: 1px solid var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.avatar--sm { width: 34px; height: 34px; font-size: .85rem; }

/* chamada final */
.cta { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.32); }
.cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: 120px var(--pad); max-width: 1480px; margin: 0 auto; width: 100%; }
.cta__inner > div { display: grid; gap: 22px; }
.cta__title { font: 400 clamp(3.4rem, 7.5vw, 8rem)/.88 var(--display); text-transform: uppercase; }
.cta__inner p { color: #d1d1cc; max-width: 460px; }
.cta__form { background: rgba(10, 10, 10, .88); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cta__form .fine { color: var(--ash); }

/* visite */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 80vh; }
.visit__photo { overflow: hidden; } .visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__info { padding: clamp(48px, 7vw, 110px) var(--pad); display: grid; gap: 26px; align-content: center; justify-items: start; background: var(--ink-2); }
.visit__info .title { font-size: clamp(2.8rem, 5vw, 5rem); }
.visit dl { display: grid; gap: 22px; margin: 0; }
.visit dt { display: flex; gap: 8px; align-items: center; font: 500 11px var(--mono); text-transform: uppercase; color: var(--ash); margin-bottom: 6px; }
.visit dt svg { width: 16px; color: var(--red); }
.visit dd { margin: 0; font-size: 1.08rem; }

/* rodapé */
.footer { position: relative; overflow: hidden; padding: 0 var(--pad) 28px; border-top: 1px solid var(--line); }
.footer__big { font: 400 clamp(10rem, 34vw, 34rem)/.8 var(--display); color: #151515; text-align: center; transform: skewX(-9deg); user-select: none; margin: 40px 0 -2vw; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); position: relative; }
.footer__grid p { color: var(--ash); margin-top: 16px; font-size: 14px; }
.footer nav { display: grid; align-content: start; }
.footer nav a, .footer nav span { min-height: 40px; display: flex; align-items: center; color: var(--ash); }
.footer nav a:hover { color: var(--bone); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ash); }
.footer__bar .link-under { font-size: 13px; min-height: 40px; }

/* formulários */
.field { display: grid; gap: 7px; font: 600 13px/1.3 var(--sans); color: var(--ash); }
.field input, .field select, .field textarea, .search input, .top__switch select { width: 100%; min-height: 48px; padding: 0 14px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 2px; color: var(--bone); font: 500 15px var(--sans); transition: border-color .2s; }
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus, .top__switch select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field input:user-invalid { border-color: var(--red); }
.field--inline { max-width: 340px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.form-grid--ex { grid-template-columns: 2fr 1fr 1fr 1fr; }
.form-max { max-width: 860px; }
.ex-row { border: 1px solid var(--line); padding: 14px; margin: 0; display: grid; gap: 10px; justify-items: start; }
.ex-row .field { width: 100%; }

/* toast e modal */
#toast { position: fixed; right: 24px; bottom: 24px; z-index: 1200; max-width: min(420px, calc(100vw - 32px)); padding: 14px 18px; background: var(--bone); color: var(--ink); font-weight: 600; border-left: 4px solid var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
#toast.show { transform: none; opacity: 1; }
.modal-wrap { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .74); display: grid; place-items: center; padding: 16px; animation: fade .25s ease; }
.modal { width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--ink-2); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 28px; display: grid; gap: 16px; animation: rise .35s var(--ease); }
.modal--wide { width: min(780px, 100%); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.modal__head h2 { font: 400 2rem/1 var(--display); text-transform: uppercase; }
.modal__sub { color: var(--ash); }
.modal__sub strong { color: var(--bone); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ===================== APLICATIVO (aluno e painel) ===================== */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 26px 18px; background: #0d0d0d; border-right: 1px solid var(--line); overflow-y: auto; }
.side__tag { font: 500 11px var(--mono); text-transform: uppercase; color: var(--ash); margin-top: -12px; }
.side__nav { display: grid; gap: 4px; }
.side__nav button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; color: var(--ash); font: 600 14px var(--sans); text-align: left; border-left: 2px solid transparent; transition: background .2s, color .2s; }
.side__nav button:hover { color: var(--bone); background: var(--ink-2); }
.side__nav button[aria-current="page"] { color: var(--bone); background: var(--ink-3); border-left-color: var(--red); }
.side__nav button[aria-current="page"] svg { color: var(--red); }
.side__nav .pill { margin-left: auto; }
.side__foot { margin-top: auto; display: grid; gap: 8px; justify-items: start; }
.side__foot .btn { width: 100%; justify-content: flex-start; }
.tag { display: inline-flex; align-items: center; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; border: 1px solid var(--line); }
.tag--demo { color: var(--red); border-color: rgba(227, 23, 10, .5); }
.main { min-width: 0; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 32px; background: rgba(10, 10, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__logo, .top__menu { display: none; }
.top__switch { margin-left: auto; width: min(240px, 50vw); }
.top__switch select { min-height: 42px; }
.top__title { font: 400 1.4rem var(--display); text-transform: uppercase; }
.top__date { color: var(--ash); font-size: 14px; margin-left: auto; }
.content { padding: 32px; max-width: 1320px; outline: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head > div { display: grid; gap: 8px; }
.page-head h1 { font: 400 clamp(2.6rem, 5vw, 4.4rem)/.92 var(--display); text-transform: uppercase; }
.card { background: var(--ink-2); border: 1px solid var(--line); padding: 24px; border-radius: 2px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card--flush { padding: 0; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.card h3, .h3 { font: 700 1.12rem/1.25 var(--sans); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-2--wide { grid-template-columns: 1.55fr 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.content > .card { margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.status { display: inline-flex; align-items: center; width: max-content; padding: 3px 10px; font: 600 12px var(--sans); border: 1px solid; border-radius: 2px; }
.status--pago { color: var(--ok); border-color: rgba(95, 211, 141, .4); }
.status--pendente { color: var(--warn); border-color: rgba(242, 181, 58, .4); }
.status--atrasado { color: #ff6b5f; border-color: rgba(227, 23, 10, .6); background: rgba(227, 23, 10, .1); }
.pill { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; background: var(--ink-3); border-radius: 12px; font: 600 12px var(--sans); color: var(--bone); }
.pill--red, b.pill { background: var(--red); color: #fff; }
.up { color: var(--ok); } .down { color: var(--warn); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.chips button { flex: none; min-height: 48px; padding: 8px 16px; border: 1px solid var(--line); display: grid; text-align: left; font: 600 14px var(--sans); transition: background .2s, color .2s; }
.chips button small { font-weight: 500; color: var(--ash); font-size: 12px; }
.chips button:hover { border-color: var(--ash); }
.chips button[aria-selected="true"], .chips button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chips button[aria-selected="true"] small, .chips button[aria-pressed="true"] small { color: #55554f; }
.chips--sm { margin: 0; } .chips--sm button { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; font-size: 13px; }
.banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); background: var(--ink-2); margin-bottom: 18px; }
.banner > svg { color: var(--red); flex: none; margin-top: 2px; }
.banner div { display: grid; gap: 2px; } .banner span { color: var(--ash); }
.banner--ok { border-color: rgba(95, 211, 141, .45); background: rgba(95, 211, 141, .06); } .banner--ok > svg { color: var(--ok); }
.hint { color: var(--ash); margin-bottom: 18px; max-width: 720px; }
.hint strong { color: var(--bone); }
.meter { display: grid; gap: 8px; font-size: 13px; color: var(--ash); }
.meter i { display: block; height: 6px; background: var(--ink-3); position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--red); transition: width .8s var(--ease); }
.meter--row { grid-template-columns: 1fr auto; align-items: center; margin-bottom: 14px; } .meter--row i { grid-column: 1 / -1; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.line:last-of-type { border-bottom: 0; }
.line > span:first-child { display: grid; min-width: 0; } .line small { color: var(--ash); font-size: 13px; }
.dl { display: grid; gap: 14px; margin: 0; }
.dl--2 { grid-template-columns: 1fr 1fr; }
.dl dt { font: 500 11px var(--mono); text-transform: uppercase; color: var(--ash); margin-bottom: 3px; }
.dl dd { margin: 0; }

/* indicadores */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.kpis--5 { grid-template-columns: repeat(5, 1fr); }
.kpi { background: var(--ink-2); border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 4px; min-width: 0; }
.kpi > span { font-size: 13px; color: var(--ash); }
.kpi strong { font: 400 clamp(1.9rem, 2.6vw, 2.6rem)/1.05 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi small { font-size: 12.5px; color: var(--ash); }
.kpi small.up { color: var(--ok); } .kpi small.down { color: var(--warn); }
.kpi--hot { border-color: var(--red); }

/* gráficos */
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__line { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart__pt circle { fill: var(--red); stroke: var(--ink-2); stroke-width: 3; }
.chart__pt text { fill: var(--bone); font: 600 13px var(--sans); }
.chart__pt text.chart__x { fill: var(--ash); font: 500 11px var(--mono); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 18px; }
.bars__col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.bars__col i { display: block; width: 100%; height: var(--h); min-height: 2px; background: #3a3a3a; transition: height .8s var(--ease); }
.bars__col.is-now i { background: var(--red); }
.bars__v { font: 600 11px var(--sans); color: var(--ash); }
.bars__l { font: 500 10px var(--mono); color: var(--ash); white-space: nowrap; }

/* tabelas */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.table th { font: 500 11px var(--mono); text-transform: uppercase; color: var(--ash); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table--rows tbody tr { transition: background .15s; }
.table--rows tbody tr:hover, .table--rows tr.is-sel { background: var(--ink-3); }
.table--rows tr.is-sel td:first-child { box-shadow: inset 2px 0 0 var(--red); }
.who { display: flex; align-items: center; gap: 10px; }

/* ----- área do aluno ----- */
.today { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card--hero { grid-column: span 2; grid-row: span 2; min-height: 380px; align-content: end; position: relative; overflow: hidden; isolation: isolate; padding: 32px; border-color: #3a3a3a; }
.card--hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("./assets/pessoas/aluno-celular.webp") center 30% / cover; filter: grayscale(1) contrast(1.2) brightness(.5); }
.card--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, .95) 15%, rgba(10, 10, 10, .2)); }
.card--hero h2 { font: 400 clamp(3.4rem, 6vw, 5.6rem)/.9 var(--display); text-transform: uppercase; }
.card--hero__focus { font: 700 1.3rem var(--sans); }
.card--hero .btn { justify-self: start; margin-top: 10px; }
.card--hero.is-done { border-color: rgba(95, 211, 141, .5); }
.done-line { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 600; }
.checkin { border-color: #3a3a3a; }
.checkin.is-done { border-color: rgba(95, 211, 141, .5); }
.checkin__ok { display: flex; gap: 10px; align-items: center; } .checkin__ok svg { color: var(--ok); flex: none; }
.week { grid-column: span 1; }
.week__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.streak { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ash); }
.streak svg { color: var(--red); width: 18px; } .streak strong { color: var(--bone); font-size: 15px; }
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0 10px; text-align: center; }
.week__days li { display: grid; justify-items: center; gap: 6px; font: 500 11px var(--mono); color: var(--ash); }
.week__days i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.week__days i svg { width: 16px; height: 16px; }
.week__days .is-train i { background: var(--red); border-color: var(--red); color: #fff; }
.week__days .is-check i { border-color: var(--red); }
.week__days .is-today > span:first-child { color: var(--bone); font-weight: 700; }
.week__days .is-today i { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3px var(--bone); }
.week__days .is-future { opacity: .4; }
/* treino do aluno */
.wk-hero { position: relative; overflow: hidden; isolation: isolate; padding: 28px; border: 1px solid #3a3a3a; background: var(--ink-2); display: grid; gap: 16px; margin-bottom: 16px; }
.wk-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("./assets/pessoas/programa-forca.webp") right 30% / 46% auto no-repeat; opacity: .32; }
.wk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-2) 45%, rgba(20, 20, 20, .5)); }
.wk-hero.is-done { border-color: rgba(95, 211, 141, .5); }
.wk-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wk-hero__top .status svg { width: 14px; height: 14px; margin-right: 4px; }
.wk-hero__title { font: 400 clamp(3rem, 6vw, 5.4rem)/.9 var(--display); text-transform: uppercase; display: grid; }
.wk-hero__title em { font-size: .55em; color: var(--red); }
.wk-stats { display: flex; gap: 0; margin: 0; border-block: 1px solid var(--line); width: max-content; max-width: 100%; }
.wk-stats div { padding: 12px 28px 12px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.wk-stats div:last-child { border: 0; margin: 0; }
.wk-stats dt { font: 500 10.5px var(--mono); text-transform: uppercase; color: var(--ash); }
.wk-stats dd { margin: 2px 0 0; font: 400 2.2rem/1 var(--display); }
.wk-stats small { font: 600 12px var(--sans); color: var(--ash); margin-left: 3px; }
.wk-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-groups li, .wk-tag { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 5px 9px; border: 1px solid var(--line); color: var(--bone); background: rgba(10, 10, 10, .5); }
.wk-tag { width: max-content; color: var(--red); border-color: rgba(227, 23, 10, .45); }
.wk-note { color: var(--ash); } .wk-note strong { color: var(--bone); }
.wk-list { display: grid; gap: 10px; counter-reset: ex; }
.wk-ex { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: start; padding: 20px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .2s; }
.wk-ex:hover { border-color: #3d3d3d; }
.wk-ex__n { font: 400 2.8rem/.85 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--red); }
.wk-ex__body { display: grid; gap: 8px; min-width: 0; }
.wk-ex__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.wk-ex__head h3 { font: 700 1.18rem/1.2 var(--sans); }
.wk-ex__dose { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.wk-ex__dose strong { font: 400 2rem/1 var(--display); }
.wk-ex__dose > span { color: var(--red); font-weight: 700; }
.wk-ex__dose small { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; color: var(--ash); font-size: 13px; }
.wk-ex__dose small svg { width: 15px; height: 15px; }
.wk-ex__coach { font-size: 14px; color: #d4d4cf; border-left: 2px solid var(--red); padding-left: 10px; }
.wk-ex__coach b { color: var(--bone); }
.wk-ex__toggle { justify-self: start; font: 600 13px var(--sans); color: var(--ash); border-bottom: 1px dashed var(--ash); padding: 6px 0 2px; min-height: 32px; }
.wk-ex__toggle:hover, .wk-ex__toggle[aria-expanded="true"] { color: var(--bone); border-color: var(--bone); }
.wk-ex__tip { font-size: 14px; color: #cfcfca; background: var(--ink-3); padding: 12px 14px; }
.wk-ex__rest { display: grid; justify-items: center; gap: 2px; width: 64px; min-height: 64px; padding: 8px 4px; border: 1px solid var(--line); color: var(--bone); font: 600 12px var(--sans); transition: background .2s, border-color .2s; }
.wk-ex__rest svg { color: var(--red); }
.wk-ex__rest:hover { background: var(--ink-3); border-color: var(--red); }
/* modo treino guiado */
.guide { position: fixed; inset: 0; z-index: 850; background: var(--ink); display: grid; grid-template-rows: auto auto 1fr auto; animation: fade .25s ease; }
.guide__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.guide__bar { height: 4px; background: var(--ink-3); }
.guide__bar i { display: block; height: 100%; width: var(--p); background: var(--red); transition: width .5s var(--ease); }
.guide__body { width: min(640px, 100%); margin: 0 auto; padding: 32px 22px; display: grid; gap: 14px; align-content: center; justify-items: start; overflow-y: auto; }
.guide__body--end { justify-items: stretch; text-align: center; }
.guide__body--end h2 { font: 400 3.4rem/1 var(--display); text-transform: uppercase; }
.guide__big { justify-self: center; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.guide__big svg { width: 40px; height: 40px; }
.guide__count { font: 400 4.6rem/.85 var(--display); color: var(--red); }
.guide__count small { font-size: .4em; color: var(--ash); margin-left: 4px; }
.guide__name { font: 400 clamp(2.6rem, 9vw, 4.4rem)/.92 var(--display); text-transform: uppercase; }
.guide__dose { font-size: 1.15rem; color: #d4d4cf; } .guide__dose strong { color: var(--bone); font-size: 1.3rem; }
.guide__tip { color: #cfcfca; background: var(--ink-2); border: 1px solid var(--line); padding: 14px 16px; }
.guide__sets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.guide__sets li { width: 54px; height: 54px; border: 1px solid var(--line); display: grid; place-items: center; font: 400 1.5rem var(--display); color: var(--ash); transition: background .3s, border-color .3s, color .3s; }
.guide__sets li.is-now { border-color: var(--bone); color: var(--bone); }
.guide__sets li.is-done { background: var(--red); border-color: var(--red); color: #fff; }
.guide__foot { display: grid; grid-template-columns: 56px 1fr 56px; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); width: min(680px, 100%); margin: 0 auto; }
.guide__nav { min-height: 56px; }
.guide__main { min-height: 56px; }
body:has(.guide) .rest { z-index: 860; bottom: calc(96px + env(safe-area-inset-bottom)); }
.finish { margin: 22px 0; }
.history { margin-top: 8px; }
.history__row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.history__row span:first-child { font: 500 12px var(--mono); color: var(--ash); min-width: 64px; padding-top: 2px; }
.booking { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.booking span { display: grid; } .booking small { color: var(--ash); }
.class-list { display: grid; }
.class-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.class-row > div { display: grid; gap: 4px; } .class-row small { color: var(--ash); }
.class-row__time { font: 400 1.9rem/1 var(--display); }
.class-row.is-mine { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.badges li { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); opacity: .45; }
.badges li span:not(.sr-only) { display: grid; } .badges small { color: var(--ash); font-size: 12px; }
.badges li.is-on { opacity: 1; border-color: rgba(227, 23, 10, .55); } .badges li.is-on svg { color: var(--red); }
.goal { display: grid; gap: 4px; } .goal strong { font: 400 2.6rem/1 var(--display); } .goal span { color: var(--ash); }
.coach-mini { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.coach-mini img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.coach-mini span { display: grid; } .coach-mini small { color: var(--ash); }
.qr-box { display: grid; gap: 16px; justify-items: center; text-align: center; }
.qr { width: min(240px, 70vw); height: auto; image-rendering: pixelated; }
.rest { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; background: var(--bone); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); border-left: 4px solid var(--red); }
.rest[hidden] { display: none; }
.rest__ring { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.rest__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.rest__ring circle { fill: none; stroke: rgba(0, 0, 0, .14); stroke-width: 4; }
.rest__ring .rest__arc { stroke: var(--red); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 100)); }
.rest__ring strong { font: 400 1.25rem var(--display); font-variant-numeric: tabular-nums; }
.rest__txt { display: grid; min-width: 90px; } .rest__txt .label { color: #55554f; } .rest__txt small { font-size: 12px; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rest .icon-btn { color: var(--ink); border-color: rgba(0, 0, 0, .2); }
.rest .icon-btn:hover { background: rgba(0, 0, 0, .08); }
.rest.is-over { background: var(--red); color: #fff; animation: pulse .5s 3; }
.rest.is-over .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .4); }
@keyframes pulse { 50% { transform: translateX(-50%) scale(1.05); } }
.burst { position: fixed; left: 50%; top: 45%; z-index: 1100; pointer-events: none; }
.burst i { position: absolute; width: 10px; height: 10px; background: var(--red); }
.burst i:nth-child(3n) { background: var(--bone); } .burst i:nth-child(4n) { width: 6px; height: 14px; }
.tabbar { display: none; }

/* ----- painel ----- */
.content--dense { max-width: 1440px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.search { flex: 1 1 260px; max-width: 360px; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.student-card { position: sticky; top: 80px; }
.student-card__top { display: flex; gap: 14px; align-items: center; }
.student-card__top .avatar { width: 54px; height: 54px; font-size: 1.3rem; }
.goal-note { color: #cfcfca; border-left: 2px solid var(--red); padding-left: 10px; font-size: 14px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-top: 18px; }
.kanban__col { background: #0f0f0f; border: 1px solid var(--line); padding: 12px; min-height: 340px; display: grid; gap: 10px; align-content: start; }
.kanban__col header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kanban__col h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.kanban__empty { color: var(--ash); font-size: 13px; text-align: center; padding: 20px 0; }
.lead { background: var(--ink-2); border: 1px solid var(--line); padding: 14px; display: grid; gap: 4px; }
.lead small { color: var(--ash); } .lead p { font-size: 14px; }
.lead__btns { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.lead__btns .icon-btn svg { width: 16px; height: 16px; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-top: 18px; }
.week-grid__col { display: grid; gap: 8px; align-content: start; }
.week-grid__col h2 { font: 500 12px var(--mono); text-transform: uppercase; color: var(--ash); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.class-chip { display: grid; gap: 3px; width: 100%; padding: 12px; text-align: left; background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--ash); transition: background .2s; }
.class-chip:hover { background: var(--ink-3); }
.class-chip > span:first-child { font: 500 11px var(--mono); color: var(--ash); }
.class-chip small { color: var(--ash); font-size: 12px; }
.class-chip .spots { margin-top: 6px; }
.type-condicionamento { border-left-color: var(--red); } .type-fora { border-left-color: var(--bone); } .type-hipertrofia { border-left-color: var(--warn); } .type-mobilidade { border-left-color: var(--ok); }
.occ { display: grid; grid-template-columns: 56px 1fr 90px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.occ:last-child { border: 0; }
.occ__time { font: 400 1.3rem var(--display); } .occ__name { display: grid; } .occ__name small { color: var(--ash); }
.team-card { grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.team-card img, .team-card__ini { width: 110px; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); background: var(--ink-3); display: grid; place-items: center; font: 400 2rem var(--display); }
.team-card > div { display: grid; gap: 6px; justify-items: start; }
.drawer-scrim { display: none; }

/* ===================== responsivo ===================== */
@media (min-width: 901px) and (max-width: 1280px) {
  .hero.has-cutout .hero__athlete { left: auto; right: 2vw; margin: 0; }
  .hero__copy { max-width: 440px; }
}
@media (max-width: 1200px) {
  .kpis--5 { grid-template-columns: repeat(3, 1fr); }
  .slot { grid-template-columns: 90px 1.3fr 1fr 130px 110px; gap: 12px; }
}
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .student-card { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .today { grid-template-columns: 1fr 1fr; }
  .card--hero { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav__toggle { display: block; margin-left: 4px; }
  .nav__cta { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 12px; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 96px var(--pad) 40px; background: var(--ink); font: 400 2.6rem/1.1 var(--display); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden; }
  .nav.menu-open .nav__links { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__links a { padding: 6px 0; }
  .nav__student { color: var(--red); font-size: 2rem; }
  .nav__student svg { width: 26px; height: 26px; }
  .hero { min-height: 640px; }
  .hero__word { top: 15%; font-size: 52vw; }
  .hero__athlete { height: 58%; bottom: 27%; }
  .hero__shade { background: linear-gradient(to top, var(--ink) 30%, rgba(10, 10, 10, .4) 60%, transparent 80%); }
  .hero.has-cutout .hero__athlete { left: 0; }
  .hero.has-cutout .hero__shade { z-index: 2; background: linear-gradient(to top, var(--ink) 26%, rgba(10, 10, 10, .2) 50%, transparent 62%); }
  .hero.no-cutout .hero__bg img { object-position: 60% 20%; }
  .hero__copy { right: var(--pad); bottom: 52px; max-width: none; gap: 14px; }
  .hero__stat, .hero__meta--top span:nth-child(3) { display: none; }
  .hero__meta--top { top: 84px; }
  .marquee { transform: rotate(-2.5deg); }
  .manifesto { min-height: auto; align-items: end; }
  .manifesto__photo { width: 100%; }
  .manifesto__photo::after { background: linear-gradient(0deg, #050505 30%, rgba(5, 5, 5, .55) 65%, rgba(5, 5, 5, .2)); }
  .manifesto__copy { max-width: none; padding: 52vh var(--pad) 90px; }
  .section__head--row { grid-template-columns: 1fr; }
  .section__aside { justify-self: start; }
  .why__grid, .voices__grid { grid-template-columns: 1fr; }
  .why__card { min-height: 220px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .space__pin { height: auto; display: block; padding: 88px 0; }
  .space__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 12px; scrollbar-width: none; }
  .space__track::-webkit-scrollbar { display: none; }
  .space__intro { width: 84vw; padding-right: 0; scroll-snap-align: start; }
  .space__card { width: 78vw; scroll-snap-align: start; }
  .space__card:nth-child(odd) { margin-top: 0; }
  .space__img { height: 58vh; }
  .space__img img { width: 100%; margin: 0; }
  .program, .program--flip { grid-template-columns: 1fr; }
  .program--flip .program__img { order: 0; }
  .program__img { aspect-ratio: 4 / 4.4; }
  .team { min-height: auto; display: grid; gap: 28px; padding-top: 96px; padding-bottom: 64px; }
  .team__bigtext { position: relative; inset: auto; transform: none; font-size: 14vw; margin-bottom: -20vw; z-index: 1; width: 100%; }
  .team__info, .team__controls { position: static; }
  .team__info { max-width: none; text-align: center; justify-items: center; min-height: 96px; }
  .team__stage { width: min(300px, 72vw); }
  .slot { grid-template-columns: 74px 1fr auto; grid-template-areas: "t n b" "t c s"; row-gap: 6px; }
  .slot__time { grid-area: t; font-size: 1.8rem; } .slot__name { grid-area: n; } .slot__coach { grid-area: c; font-size: 13px; } .slot__spots { grid-area: s; justify-self: end; } .slot .btn { grid-area: b; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .cta__inner { grid-template-columns: 1fr; padding-block: 96px; }
  .visit { grid-template-columns: 1fr; }
  .visit__photo { height: 52vh; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div { grid-column: 1 / -1; }

  /* app */
  .app { grid-template-columns: 1fr; }
  .app--student .side { display: none; }
  .top { padding: 10px 16px; gap: 10px; }
  .top__logo { display: block; }
  .top__date { display: none; }
  .content { padding: 22px 16px 120px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0; z-index: 40; background: rgba(13, 13, 13, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar button { min-height: 62px; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--ash); font: 600 11px var(--sans); }
  .tabbar button[aria-current="page"] { color: var(--bone); box-shadow: inset 0 2px 0 var(--red); }
  .tabbar button[aria-current="page"] svg { color: var(--red); }
  body[data-view="aluno"] #toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chart__pt text { font-size: 24px; } .chart__pt text.chart__x { font-size: 19px; } .chart__line { stroke-width: 5; } .chart__pt circle { r: 8; }
  .rest { bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .rest__txt { flex: 1; }
  .finish { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 -12px 30px var(--ink); }
  .wk-hero { padding: 22px 18px; }
  .wk-hero::before { background-size: 70% auto; opacity: .22; }
  .wk-stats div { padding-right: 16px; margin-right: 16px; }
  .wk-ex { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px; }
  .wk-ex__n { font-size: 2.2rem; }
  .wk-ex__rest { grid-column: 2; display: inline-flex; width: auto; min-height: 40px; padding: 0 12px; gap: 6px; justify-self: start; }
  .today, .grid-2, .grid-2--wide, .grid-3 { grid-template-columns: 1fr; }
  .card--hero { min-height: 340px; padding: 24px; }
  .kpis, .kpis--5 { grid-template-columns: 1fr 1fr; }
  .form-grid, .form-grid--3, .form-grid--4, .form-grid--ex { grid-template-columns: 1fr 1fr; }
  .form-grid--ex .field:first-child { grid-column: 1 / -1; }
  .badges { grid-template-columns: 1fr; }
  .app--admin .side { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(290px, 84vw); transform: translateX(-100%); transition: transform .35s var(--ease); visibility: hidden; }
  .app--admin.drawer-open .side { transform: none; visibility: visible; }
  .app--admin.drawer-open .drawer-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); }
  .top__menu { display: inline-grid; }
  .table--rows thead { display: none; }
  .table--rows, .table--rows tbody, .table--rows tr, .table--rows td { display: block; width: 100%; }
  .table--rows tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table--rows td { padding: 0; border: 0; }
  .table--rows td:first-child { grid-column: 1 / -1; }
  .table--rows td[data-l]:not(:first-child)::before { content: attr(data-l); display: block; font: 500 10px var(--mono); text-transform: uppercase; color: var(--ash); margin-bottom: 2px; }
  .table--rows td:last-child { grid-column: 1 / -1; }
  .table--rows td:last-child:empty { display: none; }
  .kanban { grid-template-columns: repeat(4, 82vw); scroll-snap-type: x mandatory; }
  .kanban__col { scroll-snap-align: start; }
  .week-grid { grid-template-columns: repeat(7, 72vw); scroll-snap-type: x mandatory; }
  .week-grid__col { scroll-snap-align: start; }
  #toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .hero__lead { font-size: 2.1rem; }
  .hero__text { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .kpis, .kpis--5 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .form-grid, .form-grid--3, .form-grid--4, .form-grid--ex { grid-template-columns: 1fr; }
  .dl--2 { grid-template-columns: 1fr 1fr; }
  .class-row { grid-template-columns: 62px 1fr; }
  .class-row .btn, .class-row > .muted { grid-column: 2; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .top__switch { width: 46vw; }
  .modal { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain, .marquee__track { animation: none; }
}

/* lotação */
.crowd { display: grid; gap: 10px; }
.section__aside .crowd { margin-top: 18px; padding: 18px; border: 1px solid var(--line); background: var(--ink-2); }
.section__aside { display: grid; }
.crowd__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.crowd__live { display: inline-flex; align-items: center; gap: 7px; font: 600 13px var(--sans); color: var(--ash); }
.crowd__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ash); }
.crowd__live--ok { color: var(--ok); } .crowd__live--ok i { background: var(--ok); box-shadow: 0 0 0 0 rgba(95, 211, 141, .6); animation: live 1.8s infinite; }
.crowd__live--warn { color: var(--warn); } .crowd__live--warn i { background: var(--warn); animation: live 1.8s infinite; }
.crowd__live--red { color: #ff6b5f; } .crowd__live--red i { background: var(--red); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(236, 235, 230, .45); } 70% { box-shadow: 0 0 0 8px rgba(236, 235, 230, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 235, 230, 0); } }
.crowd__now { color: var(--ash); font-size: 14px; } .crowd__now strong { color: var(--bone); font: 400 1.8rem/1 var(--display); margin-right: 4px; }
.crowd__bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.crowd__bars i { flex: 1; height: var(--h); background: #3a3a3a; min-height: 3px; }
.crowd__bars i.is-past { background: #262626; }
.crowd__bars i.is-now { background: var(--red); }
.crowd__axis { display: flex; justify-content: space-between; font: 500 10px var(--mono); color: var(--ash); }
.crowd__tip { font-size: 13px; color: var(--ash); } .crowd__tip strong { color: var(--bone); }
.m-only { display: none; font-style: normal; }
@media (max-width: 900px) { .m-only { display: inline; } .wk-ex__dose small { display: none; } }

/* painel simplificado */
.top__cta { margin-left: 12px; }
.kpis--3 { grid-template-columns: repeat(3, 1fr); }
.txt-warn { color: var(--warn); }
.card__head .h3 { display: inline-flex; align-items: center; gap: 8px; }
.todo { display: grid; }
.todo__item { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.todo__item:last-child { border-bottom: 0; }
.todo__kind { justify-content: center; width: 100%; }
.todo__txt { display: grid; min-width: 0; } .todo__txt small { color: var(--ash); font-size: 13px; }
.todo__act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.roster { display: grid; }
.roster__item { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); transition: background .15s; }
.roster__item:hover { background: var(--ink-3); }
.roster__item.is-sel { background: var(--ink-3); box-shadow: inset 3px 0 0 var(--red); }
.roster__txt { display: grid; min-width: 0; } .roster__txt small { color: var(--ash); font-size: 13px; }
.roster__flags { display: flex; gap: 5px; }
.roster__legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 16px; font-size: 12px; color: var(--ash); }
.roster__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); display: inline-block; }
.dot--red { background: var(--red); } .dot--warn { background: var(--warn); }
.seg { display: flex; gap: 2px; padding: 3px; background: var(--ink); border: 1px solid var(--line); overflow-x: auto; margin-top: 6px; }
.seg button { flex: 1 0 auto; min-height: 38px; padding: 0 12px; font: 600 13px var(--sans); color: var(--ash); white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--ink-3); color: var(--bone); box-shadow: inset 0 -2px 0 var(--red); }
.student-card__body { display: grid; gap: 4px; padding-top: 6px; }
.who img.avatar { object-fit: cover; }
.lead__top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.week-grid__col.is-today h2 { color: var(--red); }
@media (max-width: 900px) {
  .top__cta { margin-left: auto; padding: 0 12px; }
  .top__title { display: none; }
  .todo__item { grid-template-columns: 1fr; gap: 6px; }
  .todo__kind { width: max-content; }
  .todo__act { justify-content: flex-start; }
  .kpis--3 { grid-template-columns: 1fr 1fr; }
}

/* progresso, cursor e barra fixa */
.progress-top { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress-top i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 1300; pointer-events: none; }
.cursor i { position: absolute; left: 0; top: 0; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
.cursor.is-on i { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor__ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(236, 235, 230, .5); display: grid; place-items: center; }
.cursor__ring span { font: 600 11px var(--mono); text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--red); }
.cursor.is-view .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--bone); border-color: var(--bone); }
.cursor.is-view .cursor__ring span { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.sticky-cta { display: none; }
/* quiz */
.quiz { max-width: 820px; margin: 56px auto 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 18px; overflow: hidden; }
.quiz__head { display: grid; gap: 10px; }
.quiz__bar { display: block; height: 3px; background: var(--ink-3); }
.quiz__bar b { display: block; height: 100%; width: var(--p); background: var(--red); transition: width .5s var(--ease); }
.quiz__q { font: 400 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.quiz__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz__opt { min-height: 64px; padding: 14px 16px; border: 1px solid var(--line); text-align: left; font: 600 15px var(--sans); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.quiz__opt:hover { border-color: var(--red); background: var(--ink-3); transform: translateY(-2px); }
.quiz__res { display: grid; gap: 10px; justify-items: start; }
.quiz__plan { font: 400 clamp(4rem, 9vw, 7rem)/.85 var(--display); color: var(--red); text-transform: uppercase; }
/* perguntas frequentes */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font: 600 clamp(1.05rem, 1.6vw, 1.3rem)/1.3 var(--sans); }
.faq__q:hover span { color: var(--red); }
.faq__q i { position: relative; width: 22px; height: 22px; flex: none; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--red); transition: transform .35s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--ash); max-width: 760px; padding: 0 0 24px; }
@media (max-width: 900px) {
  .quiz__opts { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 52px; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; transform: translateY(140%); transition: transform .45s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { min-height: 52px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  .sticky-cta .btn--ghost { background: var(--ink-2); }
  body[data-view="site"] #toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- desafios da semana + nível ---------- */
.chal { gap: 14px; }
.chal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.chal__count { font: 400 1.6rem/1 var(--display); color: var(--ash); } .chal__count strong { color: var(--bone); }
.lvl { display: flex; align-items: center; gap: 14px; }
.lvl__badge { width: 48px; height: 48px; flex: none; display: grid; place-items: center; font: 400 1.7rem/1 var(--display); color: #fff; background: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.lvl__txt { display: grid; gap: 2px; min-width: 0; } .lvl__txt strong { font: 400 1.5rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; } .lvl__txt small { color: var(--ash); font-size: 12px; }
.chal .meter i { height: 4px; }
.chal__list { display: grid; gap: 8px; }
.chal__list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--ink); transition: border-color .3s var(--ease), background .3s var(--ease); }
.chal__ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); font: 500 12px var(--mono); color: var(--ash); }
.chal__txt { display: grid; min-width: 0; } .chal__txt strong { font-size: 15px; } .chal__txt small { color: var(--ash); font-size: 12px; }
.chal__xp { font: 500 11px var(--mono); color: var(--ash); white-space: nowrap; }
.chal__list li.is-done { border-color: rgba(227, 23, 10, .5); background: linear-gradient(90deg, rgba(227, 23, 10, .12), transparent 70%); }
.chal__list li.is-done .chal__ic { background: var(--red); border-color: var(--red); color: #fff; }
.chal__list li.is-done .chal__xp { color: var(--bone); }
.chal--compact .chal__list li { padding: 8px 10px; grid-template-columns: 36px 1fr auto; } .chal--compact .chal__ic { width: 36px; height: 36px; }
.today .chal { grid-row: span 2; }
.grid-2--chal { align-items: start; }

/* ---------- calendário de frequência ---------- */
.heat { gap: 16px; }
.heat__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.heat__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.heat__stats div { border-left: 2px solid var(--red); padding-left: 10px; } .heat__stats dt { font: 500 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ash); }
.heat__stats dd { margin: 4px 0 0; font: 400 2rem/1 var(--display); } .heat__stats small { font: 500 11px var(--mono); color: var(--ash); }
.heat__wrap { display: grid; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.heat__months { display: grid; grid-template-columns: repeat(var(--weeks), minmax(12px, 1fr)); gap: 4px; margin-left: 34px; font: 500 10px var(--mono); color: var(--ash); text-transform: uppercase; }
.heat__body { display: flex; gap: 6px; }
.heat__wd { display: grid; grid-template-rows: repeat(7, 1fr); gap: 4px; width: 28px; flex: none; font: 500 9px/1 var(--mono); color: var(--ash); } .heat__wd span { display: flex; align-items: center; }
.heat__grid { flex: 1; display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-template-columns: repeat(var(--weeks), minmax(12px, 1fr)); gap: 4px; }
.heat__grid i, .heat__legend i { display: block; aspect-ratio: 1; min-width: 12px; background: var(--ink-3); border-radius: 2px; }
.heat__grid i.is-check, .heat__legend i.is-check { background: #5a1a14; }
.heat__grid i.is-train, .heat__legend i.is-train { background: var(--red); }
.heat__grid i.is-today { outline: 1px solid var(--bone); outline-offset: 1px; }
.heat__grid i.is-future { background: transparent; border: 1px dashed var(--line); }
.heat__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ash); } .heat__legend span { display: flex; align-items: center; gap: 6px; } .heat__legend i { width: 12px; }

/* ---------- medalhas ---------- */
.medals { margin-bottom: 16px; }
.medals__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.medal { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 18px 12px 14px; border: 1px solid var(--line); background: var(--ink); }
.medal__disc { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 2px dashed var(--line); color: var(--ash); margin-bottom: 6px; }
.medal__disc svg { width: 26px; height: 26px; }
.medal strong { font-size: 14px; line-height: 1.2; } .medal small { color: var(--ash); font-size: 11.5px; line-height: 1.35; }
.medal:not(.is-on) strong { color: var(--ash); }
.medal.is-on { border-color: rgba(227, 23, 10, .45); }
.medal.is-on .medal__disc { border: 0; color: #fff; background: radial-gradient(circle at 30% 25%, #ff4a3a, var(--red) 45%, var(--red-deep)); box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(227, 23, 10, .55), 0 10px 30px rgba(227, 23, 10, .25); }
.medal__bar { width: 70%; height: 3px; background: var(--ink-3); margin-top: 6px; position: relative; } .medal__bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--ash); }
.medal__n { font: 500 10px var(--mono) !important; }

/* ---------- card do Instagram ---------- */
.share { display: grid; gap: 14px; }
.share__frame { aspect-ratio: 9 / 16; width: min(300px, 100%); justify-self: center; background: var(--ink); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.share__frame img { width: 100%; height: 100%; object-fit: cover; }
.share__frame.is-loading { background: linear-gradient(110deg, var(--ink) 30%, var(--ink-3) 50%, var(--ink) 70%) 0 0 / 300% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.share__btns { justify-content: center; }

/* ---------- transições entre telas ---------- */
@keyframes vt-out { to { opacity: 0; transform: scale(.965); filter: brightness(.35); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vt-tab-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-tab-in { from { opacity: 0; transform: translateY(22px); } }
::view-transition-old(root) { animation: vt-out .5s cubic-bezier(.7, 0, .3, 1) both; }
::view-transition-new(root) { animation: vt-in .7s cubic-bezier(.77, 0, .18, 1) both; }
html[data-vt="tab"]::view-transition-old(root), html[data-vt="tab"]::view-transition-new(root) { animation: none; }
html[data-vt="tab"] #main-content { view-transition-name: main; }
::view-transition-old(main) { animation: vt-tab-out .22s ease-in both; }
::view-transition-new(main) { animation: vt-tab-in .42s var(--ease) .06s both; }

@media (max-width: 900px) {
  .today .chal { grid-row: auto; }
  .heat__stats dd { font-size: 1.6rem; }
  .medals__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .medal { padding: 14px 8px 12px; } .medal__disc { width: 48px; height: 48px; } .medal__disc svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-old(main), ::view-transition-new(main) { animation: none; }
  .share__frame.is-loading { animation: none; }
}
