/* =========================================================
   Academia Bela Forma — Design System (verde)
   Um só sistema de movimento: todo efeito de scroll usa --p (0→1),
   calculado pelo relógio único em js/motion.js.
   ========================================================= */
:root {
  /* cores — base preta esverdeada + verde-lima da marca */
  --ink: #050805;
  --ink-1: #090e08;
  --ink-2: #0e150c;
  --ink-3: #152012;
  --line: rgba(190, 240, 110, .09);
  --line-2: rgba(190, 240, 110, .18);
  --text: #eff6e8;
  --muted: #a3b29a;
  --dim: #6f7f66;
  --lime: #9dca3b;          /* cor oficial da marca */
  --lime-hi: #c4f04f;
  --lime-ink: #0b1400;
  --green: #4f8f22;
  --green-deep: #1d3510;
  --glow: rgba(157, 202, 59, .35);
  --pink: #ff3d8b;          /* rosa do logo — só para "ao vivo" */
  --pink-hi: #ff6aa8;

  /* espaçamento (escala 4/8) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section-y: clamp(96px, 10vw, 150px);
  --head-gap: clamp(36px, 4vw, 60px);

  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;           /* mesma largura da navegação: textos alinham com o logo */
  --nav-h: 72px;

  --f: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--nav-h) + var(--sp-4)); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0; color: var(--text); font-family: var(--f); font-size: 17px; line-height: 1.6;
  background:
    radial-gradient(60vw 50vh at 85% 0%, rgba(157, 202, 59, .07), transparent 70%),
    radial-gradient(50vw 60vh at 0% 100%, rgba(79, 143, 34, .06), transparent 70%),
    var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: fixed; left: var(--sp-3); top: -60px; z-index: 1000; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: var(--sp-3); }
[data-icon] { display: inline-flex; flex: none; }
[data-icon] svg, .btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* =========================================================
   MOVIMENTO (tudo guiado por --p do relógio único)
   ========================================================= */
/* blocos: sobem e acendem (com sequência via --i) */
.m-on [data-m="rise"], .m-on [data-m-intro="rise"] {
  --q: clamp(0, calc(var(--p, 0) * (1 + var(--i, 0) * .14) - var(--i, 0) * .14), 1);
  --qe: calc(var(--q) * (2 - var(--q)));
  opacity: var(--qe);
  transform: translate3d(0, calc((1 - var(--qe)) * 56px), 0) scale(calc(.965 + var(--qe) * .035));
}
/* títulos: palavras sobem uma a uma, com leve giro */
.m-on :is([data-m="words"], [data-m-intro="words"]) .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin: 0 -.02em -.08em; }
.m-on :is([data-m="words"], [data-m-intro="words"]) .wi {
  --wp: clamp(0, calc((var(--p, 0) * (var(--n, 1) + 2) - var(--i, 0)) / 2), 1);
  display: inline-block; transform-origin: 0 100%;
  transform: translate3d(0, calc((1 - var(--wp)) * 112%), 0) rotate(calc((1 - var(--wp)) * 7deg));
}
/* parágrafos: palavras "acendem" conforme você lê */
.m-on :is([data-m="read"], [data-m-intro="read"]) .wi {
  --rp: clamp(0, calc((var(--p, 0) * (var(--n, 1) + 8) - var(--i, 0)) / 8), 1);
  opacity: calc(.14 + var(--rp) * .86);
  transition: none;
}
/* feixe de luz: transição entre seções */
.section__beam {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent 0%, var(--green) 20%, var(--lime-hi) 50%, var(--green) 80%, transparent 100%);
  transform: scaleX(var(--p, 0)); opacity: var(--p, 0);
}
.section__beam::after {
  content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 220px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(157, 202, 59, .16), transparent 70%);
  opacity: calc(var(--p, 0) * (1.4 - var(--p, 0)));
}

/* carregamento: contador real (fontes + página + modelo 3D) e saída em cortina */
.loader {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; background: var(--ink);
  clip-path: inset(0 0 0 0); transition: clip-path 1.05s var(--ease);
  /* à prova de falhas: some sozinho mesmo se algum script não carregar */
  animation: loaderAuto .9s var(--ease) 5.5s forwards;
}
@keyframes loaderAuto { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: var(--sp-4); transition: transform 1s var(--ease), opacity .5s; }
.loader.is-out .loader__inner { transform: translateY(-12vh); opacity: 0; }
.loader img { width: 168px; height: auto; animation: loaderIn .9s var(--ease) both; }
.loader__num { display: flex; align-items: flex-start; gap: 4px; font-stretch: 62%; font-weight: 900; font-size: clamp(88px, 13vw, 176px); line-height: .82; font-variant-numeric: tabular-nums; color: var(--text); animation: loaderIn .9s var(--ease) .08s both; }
.loader__num small { font-size: .28em; color: var(--lime); margin-top: .2em; }
.loader__bar { width: min(340px, 62vw); height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.loader__tag { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- saída do hero: o texto sobe e apaga conforme rola ---------- */
.m-on [data-m="out"] { transform: translate3d(0, calc(var(--p, 0) * -110px), 0); opacity: calc(1 - var(--p, 0) * .85); }

/* ---------- textos presos (manifesto): palavras acendem com o progresso da seção ---------- */
[data-split] .w { display: inline-block; }
.m-on [data-split] .wi { display: inline-block; --rp: clamp(0, calc((var(--p, 0) / .82 * (var(--n, 1) + 5) - var(--i, 0)) / 5), 1); opacity: calc(.12 + var(--rp) * .88); transform: translate3d(0, calc((1 - var(--rp)) * .12em), 0); }

/* luz que segue o cursor nos cards */
.glow, .class { position: relative; isolation: isolate; }
.glow::before, .class::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(157, 202, 59, .16), transparent 62%);
  opacity: 0; transition: opacity .35s;
}
.glow:hover::before, .class:hover::after { opacity: 1; }

/* ---------- Tipografia ---------- */
.section__title, .hero__title, .cta__title { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
.section__title { font-size: clamp(44px, 6.4vw, 98px); }
.hl { color: var(--lime); }
.kicker { display: inline-flex; align-items: center; gap: var(--sp-3); color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker b { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 6px; background: rgba(157, 202, 59, .12); color: var(--lime); border: 1px solid var(--line-2); font-weight: 800; letter-spacing: .06em; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.eyebrow [data-icon] { color: var(--lime); }
.section__lead { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); max-width: 56ch; }

/* ---------- Botões ---------- */
.btn {
  --bg: rgba(255, 255, 255, .05);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--bg); border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lime { --bg: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 var(--glow); }
.btn--lime:hover { --bg: var(--lime-hi); box-shadow: 0 10px 40px -8px var(--glow), 0 0 0 4px rgba(157, 202, 59, .14); }
.btn--ghost { border-color: var(--line-2); background: rgba(157, 202, 59, .04); }
.btn--ghost:hover { border-color: var(--lime); background: rgba(157, 202, 59, .1); color: var(--lime-hi); }
.btn--ig { color: #fff; background: linear-gradient(120deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(157, 202, 59, .04); transition: background .2s, border-color .2s, transform .3s var(--ease), color .2s, box-shadow .3s; }
.icon-btn:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); box-shadow: 0 0 24px -4px var(--glow); }
.icon-btn [data-icon] svg, .icon-btn > svg { width: 20px; height: 20px; }

/* ---------- Status ---------- */
.status-pill { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: rgba(157, 202, 59, .06); border: 1px solid var(--line); }
.status-pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.status-pill.is-open { color: var(--lime-hi); }
.status-pill.is-open i { background: var(--lime); }
.status-pill.is-open i::after, .live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s var(--ease) infinite; }
.status-pill.is-soon i { background: #facc15; }
.status-pill.is-closed i { background: var(--pink); }
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* =========================================================
   CENA 3D + PALCOS
   ========================================================= */
/* altura fixa na maior altura da tela (lvh): quando a barra de endereço do celular encolhe ou volta,
   o 3D não é redimensionado (antes isso fazia o 3D piscar e engasgar ao rolar) */
.scene { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; overflow: hidden; }
.scene canvas { position: relative; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
/* halos de luz verde (movidos só por transform pela cena 3D) */
.scene__glow { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; border-radius: 50%; opacity: 0; will-change: transform, opacity; pointer-events: none;
  background: radial-gradient(closest-side, rgba(157, 202, 59, .34), rgba(103, 165, 40, .16) 38%, rgba(60, 110, 25, .06) 66%, transparent 100%); }
.scene__glow--b { background: radial-gradient(closest-side, rgba(79, 143, 34, .3), rgba(40, 90, 15, .1) 50%, transparent 100%); }
.scene__glow--m { background: radial-gradient(closest-side, rgba(196, 240, 79, .35), transparent 100%); }
.scene.is-ready canvas { opacity: 1; }
main, .footer { position: relative; z-index: 1; }
.stage { position: relative; min-height: 160px; }
.stage__poster { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(157, 202, 59, .14), transparent); transition: opacity 1s; pointer-events: none; }
html[data-renderer] .stage__poster { opacity: 0; }
/* palco do hero: termina acima dos botões, que ficam acima da faixa de números
   (--foot-h = altura da faixa: 2×24px de respiro + rótulo + número + borda) */
.hero { --foot-h: calc(73px + clamp(32px, 3.6vw, 50px)); }
.stage--hero { position: absolute; z-index: 0; top: var(--nav-h); right: 0; bottom: calc(var(--foot-h) + 84px); width: min(52vw, 980px); cursor: pointer; }
.stage--roll { display: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); border-bottom: 1px solid transparent; transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(5, 8, 5, .9); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.nav__brand img { height: 38px; width: auto; }
.nav__links { display: flex; gap: var(--sp-1); }
.nav__links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(157, 202, 59, .08); }
.nav__links a.is-active { color: var(--lime-hi); }
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.nav__burger svg { width: 22px; height: 22px; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--green), var(--lime-hi)); box-shadow: 0 0 12px var(--glow); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.menu { position: fixed; inset: 0; z-index: 99; background: rgba(5, 8, 5, .98); padding: calc(var(--nav-h) + var(--sp-5)) var(--gutter) var(--sp-6); display: flex; flex-direction: column; justify-content: space-between; animation: fadeIn .35s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; padding: var(--sp-1) 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); animation: rise .55s var(--ease) forwards; }
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; }
.menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; }
.menu nav a:nth-child(6) { animation-delay: .2s; } .menu nav a:nth-child(7) { animation-delay: .24s; }
.menu__foot { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(700px, 100svh); padding-top: var(--nav-h); display: grid; grid-template-rows: 1fr auto; }
/* rodapé do hero: botões do pódio presos 18px acima da faixa de números */
.hero__foot { position: relative; z-index: 2; }
.hero__shapes { position: absolute; z-index: 2; right: 0; width: min(52vw, 980px); bottom: calc(100% + 18px); display: flex; justify-content: center; gap: 6px; opacity: 0; transition: opacity .6s; }
.hero__shapes.is-live { opacity: 1; }
.hero__shapes button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: var(--sp-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(9, 14, 8, .85); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .2s, border-color .2s; }
.hero__shapes button i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); transition: background .2s; }
.hero__shapes button:hover { color: var(--text); border-color: var(--line-2); }
.hero__shapes button[aria-pressed="true"] { color: var(--text); border-color: rgba(157, 202, 59, .55); }
.hero__shapes button[aria-pressed="true"] i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.hero__shapes button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.hero__shapes button.is-run::after { animation: prog 6.5s linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.hero__content { align-self: center; padding-block: var(--sp-7) var(--sp-6); display: grid; justify-items: start; gap: var(--sp-5); }
.hero__content > * { max-width: 600px; }
.hero__title { font-size: clamp(60px, 9.4vw, 150px); max-width: none; }
.hero__title em { font-style: italic; color: transparent; -webkit-text-stroke: 2px var(--text); padding-right: .04em; }
.hero__lead { color: #cfdcc5; font-size: clamp(17px, 1.35vw, 20px); max-width: 50ch; }
.hero__lead strong { color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.next-class { display: grid; grid-template-columns: 1fr auto; column-gap: var(--sp-4); row-gap: 2px; align-items: center; max-width: 460px; width: 100%; padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-5); border-radius: var(--r); background: rgba(14, 21, 12, .92); border: 1px solid var(--line-2); }
.next-class__label { display: flex; align-items: center; gap: var(--sp-2); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-hi); }
.next-class__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.next-class__body strong { font-stretch: 75%; font-weight: 900; font-size: 26px; text-transform: uppercase; }
.next-class__body span { color: var(--muted); font-size: 14px; }
.next-class__go { grid-column: 2; grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); transition: transform .35s var(--ease), background .2s, box-shadow .3s; }
.next-class__go:hover { transform: rotate(-35deg); background: var(--lime-hi); box-shadow: 0 0 30px -4px var(--glow); }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-block: var(--sp-5); margin-block: 0; }
.hero__stats div { padding-right: var(--sp-4); }
.hero__stats div + div { border-left: 1px solid var(--line); padding-left: var(--sp-5); }
.hero__stats dt { font-size: 12px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; }
.hero__stats dd { margin: var(--sp-1) 0 0; font-stretch: 62%; font-weight: 900; font-size: clamp(32px, 3.6vw, 50px); line-height: 1; text-transform: uppercase; color: var(--lime-hi); }

/* =========================================================
   MARQUEE (movido pelo relógio: acelera e inverte com o scroll)
   ========================================================= */
.marquee { padding-block: var(--sp-5) var(--sp-6); overflow: hidden; position: relative; z-index: 1; }
.marquee__row { display: flex; overflow: hidden; white-space: nowrap; background: var(--lime); color: var(--lime-ink); transform: rotate(-2deg) scale(1.04); padding: var(--sp-3) 0; position: relative; z-index: 2; box-shadow: 0 0 60px -10px var(--glow); }
.marquee__row--rev { background: var(--ink-2); color: var(--text); transform: rotate(1.5deg) scale(1.04); margin-top: -6px; z-index: 1; border-block: 1px solid var(--line-2); box-shadow: none; }
.marquee__track { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; will-change: transform; }
.marquee__track span { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 58px); line-height: 1; }
.marquee__row--rev .marquee__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(196, 240, 79, .7); }
.marquee__row--rev .marquee__track span:first-child { color: var(--lime); -webkit-text-stroke: 0; }
.marquee__track b { font-size: clamp(16px, 2.2vw, 26px); }
.marquee__row--rev b { color: var(--lime); }

/* =========================================================
   SEÇÕES — um único padrão de cabeçalho (texto + palco 3D)
   ========================================================= */
.section { padding-block: var(--section-y); position: relative; }
.shead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 38%); gap: var(--sp-6); align-items: center; margin-bottom: var(--head-gap); }
.shead > .stage { height: clamp(220px, 23vw, 340px); }
.shead__text { display: grid; justify-items: start; gap: var(--sp-5); }
.shead__text .kicker { margin-bottom: calc(var(--sp-2) * -1); }
.shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.modc__count { font-stretch: 62%; font-weight: 900; font-size: 22px; color: var(--dim); font-variant-numeric: tabular-nums; margin-right: var(--sp-2); }
.modc__count strong { color: var(--lime-hi); }

/* =========================================================
   MODALIDADES — carrossel acordeão
   ========================================================= */
.modc__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.modc__nav { display: flex; align-items: center; gap: var(--sp-2); }
.modc__track { display: flex; gap: var(--sp-3); height: clamp(480px, 64vh, 620px); }
.mc { position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 64px; container-type: inline-size; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); transition: flex-grow .8s var(--ease), border-color .3s, box-shadow .4s; cursor: pointer; }
.mc.is-active { flex-grow: 7; cursor: default; border-color: rgba(157, 202, 59, .4); box-shadow: 0 0 60px -20px var(--glow); }
.mc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); opacity: .4; filter: saturate(.7); transition: transform 1.2s var(--ease), opacity .6s, filter .6s; }
.mc.is-active img, .mc:hover img { opacity: 1; filter: none; }
.mc.is-active img { transform: scale(1); }
.mc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 8, 5, .05) 25%, rgba(5, 8, 5, .55) 55%, rgba(5, 8, 5, .96) 100%); }
.mc__num { position: absolute; top: var(--sp-4); left: 50%; transform: translateX(-50%); font-stretch: 62%; font-weight: 900; font-size: 18px; color: rgba(239, 246, 232, .75); transition: left .6s var(--ease), transform .6s var(--ease); }
.mc.is-active .mc__num { left: var(--sp-5); transform: none; color: var(--lime-hi); }
.mc__vert { position: absolute; left: 50%; bottom: var(--sp-5); writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 26px; white-space: nowrap; transition: opacity .3s; }
.mc.is-active .mc__vert { opacity: 0; }
.mc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(var(--sp-5), 3vw, 40px); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.mc.is-active .mc__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.mc__tag { display: inline-block; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--lime-ink); }
/* --len = letras do maior pedaço do título (vem do carrossel): o tamanho garante que ele caiba sem partir */
.mc__title { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: min(clamp(34px, 12.5cqi, 88px), calc((100cqi - 2 * clamp(24px, 3vw, 40px)) / (var(--len, 8) * .56))); line-height: .88; margin-top: var(--sp-4); overflow-wrap: normal; hyphens: manual; }
.mc p { color: #d4dccb; max-width: 46ch; margin-top: var(--sp-3); }
.mc__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.mc__hit { position: absolute; inset: 0; z-index: 1; }
.mc.is-active .mc__hit { display: none; }
.mc__progress { position: absolute; left: 0; top: 0; z-index: 2; height: 3px; width: 100%; background: var(--lime); box-shadow: 0 0 12px var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.mc.is-active .mc__progress { animation: prog var(--dur, 6s) linear forwards; }
.modc.is-paused .mc.is-active .mc__progress { animation-play-state: paused; }

/* =========================================================
   QUADRO DE AULAS
   ========================================================= */
.sched-clock { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: rgba(14, 21, 12, .8); border: 1px solid var(--line); }
.sched-clock__label { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.sched-clock strong { font-stretch: 62%; font-weight: 900; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.sched__bar { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.sched__days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: var(--sp-2); flex: 1 1 520px; max-width: 640px; overflow-x: auto; scrollbar-width: none; }
.sched__days::-webkit-scrollbar { display: none; }
.sched.is-week .sched__days { opacity: .5; }
.day-tab { display: grid; justify-items: start; gap: 2px; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--ink-2); border: 1px solid var(--line); text-align: left; transition: background .2s, border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.day-tab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.day-tab__dow { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.day-tab__dow i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.day-tab__date { font-stretch: 62%; font-weight: 900; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.day-tab__count { font-size: 12px; color: var(--dim); font-weight: 600; }
.day-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 40px -12px var(--glow); }
.day-tab[aria-selected="true"] .day-tab__dow, .day-tab[aria-selected="true"] .day-tab__count { color: var(--lime-ink); }
.day-tab[aria-selected="true"] .day-tab__dow i { background: var(--lime-ink); box-shadow: none; }
.sched__view { display: flex; align-self: center; padding: 5px; gap: var(--sp-1); border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); }
.seg { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.seg.is-active { background: rgba(157, 202, 59, .14); color: var(--lime-hi); }
.chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.chips--compact { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lime)); }
.chip:hover { color: var(--text); border-color: var(--lime); }
.chip.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.sched__panel { min-height: 360px; }
.sched__summary { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); padding-bottom: var(--sp-4); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--line); }
.sched__summary strong { display: block; font-stretch: 75%; font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1.1; }
.sched__summary span { color: var(--muted); font-size: 14px; }
.sched__legend { display: flex; align-items: center; gap: var(--sp-2); font-size: 12px; color: var(--dim); }
.sched__legend > span { margin-right: var(--sp-1); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.period { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-5); margin-bottom: var(--sp-7); }
.period:last-child { margin-bottom: 0; }
.period__label { position: sticky; top: calc(var(--nav-h) + var(--sp-4)); align-self: start; display: grid; gap: 2px; padding-top: var(--sp-3); border-top: 2px solid var(--lime); }
.period__label strong { font-stretch: 62%; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.period__label span { font-size: 13px; color: var(--dim); font-weight: 600; }
.classes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--sp-4); }
.class { --c: var(--lime); overflow: hidden; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); border-radius: var(--r); background: linear-gradient(165deg, color-mix(in srgb, var(--c) 12%, var(--ink-2)) 0%, var(--ink-2) 55%); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s; }
.class:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 20px 50px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.class__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.class__time { font-stretch: 62%; font-weight: 900; font-size: 46px; line-height: .9; font-variant-numeric: tabular-nums; }
.class__name { font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--c); }
.class__desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.class__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: 13.5px; color: #cfd9c6; margin-top: auto; }
.class__prof { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.class__dur { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.class__dur svg { width: 14px; height: 14px; }
.class__actions { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px dashed var(--line); }
.class__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.class__bar i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; }
.class.is-live { border-color: rgba(255, 61, 139, .6); }
.class.is-next { border-color: rgba(157, 202, 59, .6); box-shadow: 0 0 40px -18px var(--glow); }
.class.is-past { opacity: .5; }
.m-on .class.is-past[data-m] { opacity: calc(var(--qe) * .5); }
.level { display: inline-flex; gap: 3px; align-items: center; }
.level i { width: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); }
.level i.on { background: var(--c); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.badge--live { background: rgba(255, 61, 139, .16); color: var(--pink-hi); }
.badge--next { background: rgba(157, 202, 59, .16); color: var(--lime-hi); }
.badge--past { background: rgba(255, 255, 255, .06); color: var(--dim); }
.sched-empty { padding: var(--sp-7) var(--sp-5); text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
.sched-empty strong { display: block; color: var(--text); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 28px; margin-bottom: var(--sp-2); }
.week { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2); scrollbar-width: thin; }
.week table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.week th, .week td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: var(--sp-3); vertical-align: top; text-align: left; }
.week tr > *:last-child { border-right: 0; }
.week tbody tr:last-child > * { border-bottom: 0; }
.week thead th { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: var(--sp-4) var(--sp-3); background: var(--ink-2); }
.week thead th.is-today { color: var(--lime-hi); }
.week thead th.is-today::after { content: ' • hoje'; color: var(--lime); font-size: 11px; }
.week td.is-today { background: rgba(157, 202, 59, .05); }
.week th[scope="row"] { width: 92px; font-stretch: 62%; font-weight: 900; font-size: 26px; font-variant-numeric: tabular-nums; position: sticky; left: 0; background: var(--ink-2); z-index: 1; }
.wk-class { --c: var(--lime); display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .3s var(--ease), background .2s; }
.wk-class:last-child { margin-bottom: 0; }
.wk-class:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--c) 24%, transparent); }
.wk-class strong { display: block; font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 17px; line-height: 1.1; }
.wk-class span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.wk-class.is-dim { opacity: .18; }
.wk-class.is-past { opacity: .5; }
.wk-class.is-live { box-shadow: 0 0 0 2px var(--pink); }
.sched__note { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-6); color: var(--muted); font-size: 15px; }
.sched__note [data-icon] { color: var(--lime); margin-top: 3px; }
.sched__note a { color: var(--lime-hi); text-decoration: underline; text-underline-offset: 3px; }
.sheet { width: min(520px, 100% - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--ink-2); color: var(--text); box-shadow: var(--shadow-lg), 0 0 80px -30px var(--glow); }
.sheet::backdrop { background: rgba(0, 0, 0, .7); }
.sheet[open] { animation: sheetIn .4s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } }
.sheet__body { padding: var(--sp-6); position: relative; }
.sheet__close { position: absolute; top: var(--sp-4); right: var(--sp-4); width: 40px; height: 40px; }
.sheet__eyebrow { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: var(--sp-2); }
.sheet h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 56px; line-height: .9; margin-bottom: var(--sp-4); }
.sheet p { color: var(--muted); margin-bottom: var(--sp-5); }
.sheet__also strong { color: var(--text); }
.sheet__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin: 0 0 var(--sp-5); }
.sheet__facts div { padding: var(--sp-3); border-radius: var(--r-sm); background: rgba(157, 202, 59, .05); border: 1px solid var(--line); }
.sheet__facts dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.sheet__facts dd { margin: 2px 0 0; font-weight: 800; }
.sheet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

/* ---------- Semana no celular: tela cheia e deitada ---------- */
.weekview { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--text); overflow: hidden; overscroll-behavior: contain; }
.weekview::backdrop { background: var(--ink); }
.weekview[open] { animation: fadeIn .25s var(--ease); }
.weekview__inner { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
.weekview__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 5px 8px 5px 12px; border-bottom: 1px solid var(--line-2); background: var(--ink-2); }
.weekview__title { display: grid; gap: 1px; min-width: 0; }
.weekview__title strong { font-stretch: 62%; font-weight: 900; font-size: 19px; line-height: 1; text-transform: uppercase; }
.weekview__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weekview__hint svg { width: 14px; height: 14px; flex: none; color: var(--lime); }
.weekview__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.weekview .sched__view { padding: 3px; }
.weekview .seg { padding: 6px 11px; font-size: 13px; }
.weekview .seg svg { width: 15px; height: 15px; }
.weekview__close { width: 36px; height: 36px; }
/* o quadro cabe inteiro: colunas iguais, sem largura mínima, cartões compactos */
.weekview .week { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: var(--ink-2); }
.weekview .week table { min-width: 0; width: 100%; height: 100%; table-layout: fixed; }
.weekview .week th, .weekview .week td { padding: 3px 4px; }
.weekview .week thead th { position: sticky; top: 0; z-index: 2; padding: 5px 6px; font-size: 11px; letter-spacing: .08em; }
.weekview .week thead th.is-today::after { content: ' •'; }
.weekview .week th[scope="row"] { width: 52px; font-size: 17px; vertical-align: middle; }
.weekview .wk-class { padding: 4px 7px; margin-bottom: 3px; border-radius: 8px; }
.weekview .wk-class strong { font-size: 12px; line-height: 1.12; }
.weekview .wk-class span { font-size: 10px; margin-top: 1px; line-height: 1.3; }
/* em pé: gira o quadro 90° (vire o celular para ler). Deitado de verdade: fica como está */
@media (orientation: portrait) {
  .weekview__inner { width: 100vh; width: 100dvh; height: 100vw; transform-origin: 0 0; transform: rotate(90deg) translateY(-100%); padding: 0 env(safe-area-inset-bottom) 0 env(safe-area-inset-top); }
  /* detalhes da aula abertos a partir da semana também aparecem deitados */
  html.week-open .sheet { inset: auto; left: 50%; top: 50%; margin: 0; width: min(640px, 92vh); width: min(640px, 92dvh); max-width: none; max-height: 92vw; overflow: auto; border-radius: var(--r-lg); transform: translate(-50%, -50%) rotate(90deg); animation: none; }
  html.week-open .sheet__body { padding: var(--sp-5); }
  html.week-open .sheet h3 { font-size: 40px; margin-bottom: var(--sp-3); }
  html.week-open .sheet p { margin-bottom: var(--sp-3); }
  html.week-open .sheet__facts { margin-bottom: var(--sp-3); }
  html.week-open .sheet__actions { grid-template-columns: 1fr 1fr; }
}
@media (orientation: landscape) {
  .weekview__hint svg { display: none; }
}

/* =========================================================
   ESTRUTURA — carrossel (preso no desktop)
   ========================================================= */
.rail-ctrl { display: flex; align-items: center; gap: var(--sp-2); }
.rail { --cw: clamp(260px, min(28vw, 52vh), 420px); display: flex; gap: var(--sp-5); overflow-x: auto; overscroll-behavior-x: contain; padding: var(--sp-2) calc((100% - var(--cw)) / 2) var(--sp-4); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.shot { --k: 1; --px: 0; position: relative; flex: 0 0 var(--cw); margin: 0; scroll-snap-align: center; transform: scale(calc(1 - var(--k) * .12)); transform-origin: 50% 40%; }
.shot__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); }
.shot.is-current .shot__media { border-color: rgba(157, 202, 59, .45); box-shadow: 0 0 60px -20px var(--glow); }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transform: translateX(calc(var(--px) * 1px)) scale(1.16); will-change: transform; }
.shot__media::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: calc(var(--k) * .6); pointer-events: none; }
.shot figcaption { display: grid; gap: 2px; padding-top: var(--sp-4); opacity: calc(1 - var(--k) * .8); }
.shot figcaption span { font-size: 12px; font-weight: 800; color: var(--lime); letter-spacing: .12em; text-transform: uppercase; }
.shot figcaption strong { font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.shot button { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.shot.is-current button { cursor: zoom-in; }
.rail-progress { height: 2px; margin-top: var(--sp-4); background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; background: var(--lime); box-shadow: 0 0 10px var(--lime); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.hpin.is-pinned { padding-block: 0; }
.hpin.is-pinned .hpin__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.hpin.is-pinned .shead { margin-bottom: var(--sp-5); }
.hpin.is-pinned .rail { --cw: clamp(230px, min(23vw, 40vh), 370px); overflow: visible; scroll-snap-type: none; cursor: default; will-change: transform; padding-bottom: 0; }
.hpin.is-pinned .hpin__lane { position: relative; height: clamp(96px, 15vh, 150px); display: flex; flex-direction: column; justify-content: flex-end; }
.hpin.is-pinned .stage--roll { display: block; position: absolute; left: 0; bottom: 10px; width: clamp(84px, 12vh, 126px); height: clamp(84px, 12vh, 126px); min-height: 0; will-change: transform; }
.hpin.is-pinned .rail-progress { margin-top: 0; }

/* =========================================================
   EQUIPE
   ========================================================= */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--sp-6) var(--sp-4); }
.member { position: relative; view-transition-name: var(--vt); }
.member__photo { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 4; background: var(--ink-2); border: 1px solid var(--line); isolation: isolate; }
/* fotos se revelam de baixo para cima junto com o bloco (mesmo --p do motor) */
.m-on .member[data-m] .member__photo, .m-on .ig-item[data-m] { clip-path: inset(calc((1 - var(--qe, 1)) * 100%) 0 0 0 round var(--r)); }
.m-on .ig-item[data-m] { clip-path: inset(calc((1 - var(--qe, 1)) * 100%) 0 0 0 round var(--r-sm)); }
.m-on .member[data-m] .member__photo img, .m-on .ig-item[data-m] img { scale: calc(1.18 - var(--qe, 1) * .18); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.85) contrast(1.05); transition: filter .5s, transform .8s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member__photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(79, 143, 34, .35)); box-shadow: inset 0 0 0 2px var(--lime); opacity: 0; transition: opacity .35s; }
.member:hover .member__photo::after { opacity: 1; }
.member h3 { margin-top: var(--sp-3); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 20px; line-height: 1.1; }
.member p { margin-top: 2px; color: var(--muted); font-size: 14px; }
.member__group { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(5, 8, 5, .82); color: var(--lime-hi); }

/* =========================================================
   INSTAGRAM
   ========================================================= */
.ig-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
.ig-profile { display: inline-flex; align-items: center; gap: var(--sp-3); margin-right: var(--sp-2); }
.ig-avatar { width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--lime-hi), var(--green), var(--lime), var(--lime-hi)); }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); }
.ig-profile strong { display: block; font-size: 17px; }
.ig-profile small { color: var(--muted); font-size: 13px; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); grid-auto-flow: dense; }
.ig-item, .ig-skel { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); }
.ig-item:first-child, .ig-skel:first-child { grid-column: span 2; grid-row: span 2; }
.ig-skel { animation: skel 1.4s ease-in-out infinite alternate; }
@keyframes skel { to { opacity: .5; } }
.ig-item { border: 1px solid var(--line); }
.ig-item button { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-item img, .ig-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 5, .9), rgba(29, 53, 16, .25) 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ig-item:hover img, .ig-item:hover video { transform: scale(1.05); }
.ig-item:hover::after, .ig-item:focus-within::after { opacity: 1; }
.ig-item__type { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(5, 8, 5, .7); pointer-events: none; }
.ig-item__type svg { width: 15px; height: 15px; }
.ig-item__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: var(--sp-4); font-size: 14px; line-height: 1.4; color: #fff; pointer-events: none; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ig-item:hover .ig-item__cap, .ig-item:focus-within .ig-item__cap { opacity: 1; transform: none; }
.ig-item.is-hidden { display: none; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 7, 4, .96); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s var(--ease); }
.lightbox__fig { margin: 0; display: grid; grid-template-columns: auto minmax(0, 340px); gap: var(--sp-5); align-items: center; max-width: min(1200px, 92vw); }
.lightbox__media { display: grid; place-items: center; }
.lightbox__media img, .lightbox__media video { max-height: 86dvh; max-width: min(760px, 62vw); border-radius: var(--r); object-fit: contain; background: #000; }
.lightbox__cap { color: #d5ddcd; font-size: 15px; max-height: 70dvh; overflow: auto; white-space: pre-line; }
.lightbox__cap time { display: block; color: var(--dim); font-size: 13px; margin-bottom: var(--sp-3); }
.lightbox__cap .btn { margin-top: var(--sp-4); }
.lightbox__close { position: fixed; top: var(--sp-4); right: var(--sp-4); z-index: 2; }
.lightbox__nav { position: fixed; top: 50%; z-index: 2; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--sp-4); }
.lightbox__nav--next { right: var(--sp-4); }

/* =========================================================
   LOCALIZAÇÃO / MAPA
   ========================================================= */
.loc { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--sp-4); align-items: start; }
.loc__map { position: relative; height: clamp(520px, 70vh, 640px); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 0 80px -40px var(--glow); }
.loc__map .map-canvas.maplibregl-map, .loc__map .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); color: var(--muted); font-weight: 600; }
.map-hud { position: absolute; left: var(--sp-3); bottom: var(--sp-3); z-index: 2; padding: 6px 10px; border-radius: 8px; background: rgba(5, 8, 5, .8); font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--lime); pointer-events: none; }
.map-fallback { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.map-tools { position: absolute; z-index: 3; left: var(--sp-3); top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 80px); }
.map-tools button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; background: rgba(9, 14, 8, .92); border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.map-tools button:hover { color: var(--text); border-color: var(--lime); }
.map-tools button[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.map-tools button svg { width: 15px; height: 15px; }
.map-legend { position: absolute; z-index: 3; right: var(--sp-3); bottom: 34px; display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-sm); background: rgba(9, 14, 8, .92); border: 1px solid var(--line); font-size: 12px; color: var(--muted); pointer-events: none; }
.map-legend span { display: flex; align-items: center; gap: var(--sp-2); }
.map-legend i { width: 18px; height: 0; border-top: 2px dashed var(--lime); }
.map-legend i.p { border-top-color: var(--pink); }
.map-pop .btn { color: var(--lime-ink); }
.map-pop .btn--ghost { color: var(--text); }
.loc__card { display: flex; flex-direction: column; gap: var(--sp-4); }
.loc__block { padding: var(--sp-5); border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); }
.loc__block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-4); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.loc__addr { margin-bottom: var(--sp-5); font-size: 18px; line-height: 1.5; font-weight: 600; }
.loc__addr small { color: var(--muted); font-weight: 500; font-size: 14px; }
.loc__routes { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.loc__distance { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-4); color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.loc__distance:hover, .loc__distance.is-on { color: var(--lime-hi); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--muted); }
.hours li:last-child { border-bottom: 0; }
.hours li strong { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 700; }
.hours li.is-today { color: var(--text); }
.hours li.is-today span::after { content: 'hoje'; margin-left: var(--sp-2); padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.loc__block--contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: var(--sp-3); }
.contact-line { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border-radius: 14px; transition: background .2s; }
.contact-line:hover { background: rgba(157, 202, 59, .07); }
.contact-line > [data-icon] { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(157, 202, 59, .12); color: var(--lime); }
.contact-line span small { display: block; font-size: 12px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-line span { font-weight: 700; font-size: 15px; }
.bf-marker { position: relative; width: 64px; height: 64px; cursor: pointer; }
.bf-marker__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); animation: ring 2.4s var(--ease) infinite; }
.bf-marker__ring:nth-child(2) { animation-delay: 1.2s; }
.bf-marker__core { position: absolute; inset: 12px; border-radius: 50%; overflow: hidden; border: 3px solid var(--lime); background: #fff; box-shadow: 0 0 30px var(--glow); }
.bf-marker__core img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.me-marker { width: 18px; height: 18px; border-radius: 50%; background: #60a5fa; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(96, 165, 250, .3); }
.maplibregl-popup-content { background: var(--ink-2) !important; color: var(--text); border: 1px solid var(--line-2); border-radius: 14px !important; padding: 14px 16px !important; font-family: var(--f); box-shadow: var(--shadow-lg) !important; }
.maplibregl-popup-tip { border-top-color: var(--ink-2) !important; border-bottom-color: var(--ink-2) !important; }
.maplibregl-popup-close-button { color: var(--muted); font-size: 18px; right: 6px; top: 4px; }
.map-pop strong { display: block; font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 20px; }
.map-pop span { color: var(--muted); font-size: 13px; }
.maplibregl-ctrl-group { background: var(--ink-2) !important; border: 1px solid var(--line-2); box-shadow: none !important; }
.maplibregl-ctrl-group button + button { border-top-color: var(--line) !important; }
.maplibregl-ctrl-group button span { filter: invert(1); }
.maplibregl-ctrl-attrib { background: rgba(5, 8, 5, .6) !important; color: var(--dim); font-size: 10px; }
.maplibregl-ctrl-attrib a { color: var(--muted) !important; }
.maplibregl-cooperative-gesture-screen { font-family: var(--f); background: rgba(5, 8, 5, .75) !important; }

/* =========================================================
   CONTATO
   ========================================================= */
.section--cta { overflow: hidden; }
.cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--sp-6), 6vw, var(--sp-9)); align-items: center; }
.cta__copy { display: grid; justify-items: start; gap: var(--sp-5); }
.cta__copy .kicker { margin-bottom: calc(var(--sp-2) * -1); }
.cta__title { font-size: clamp(68px, 11vw, 176px); }
.cta__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.cta__perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cta__perks [data-icon] { color: var(--lime); }
.cta__social { display: flex; gap: 10px; }
.wa-form { padding: clamp(var(--sp-5), 3vw, 40px); border-radius: var(--r-lg); background: rgba(14, 21, 12, .94); border: 1px solid var(--line-2); box-shadow: 0 0 80px -40px var(--glow); }
.wa-form h3 { margin-bottom: var(--sp-5); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; }
.field { display: grid; gap: var(--sp-2); margin: 0 0 var(--sp-4); border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; padding: 0; }
.field legend { margin-bottom: var(--sp-2); }
.field small { color: var(--dim); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(157, 202, 59, .03); transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(157, 202, 59, .06); box-shadow: 0 0 0 4px rgba(157, 202, 59, .15); }
.field input[aria-invalid="true"] { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 139, .15); }
.radio-chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.radio-chips label { position: relative; }
.radio-chips input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.radio-chips input:checked + span { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.radio-chips input:focus-visible + span { outline: 2px solid var(--lime-hi); outline-offset: 3px; }
.wa-form__hint { margin-top: var(--sp-3); text-align: center; font-size: 13px; color: var(--dim); }

/* =========================================================
   FOOTER / DOCK / TOAST
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: var(--sp-8) 0 var(--sp-6); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: var(--sp-7); }
.footer__brand img { height: 44px; width: auto; margin-bottom: var(--sp-4); }
.footer p { color: var(--muted); font-size: 15px; margin-bottom: var(--sp-3); }
.footer__tag { font-stretch: 62%; font-weight: 900; font-size: 26px; color: var(--lime) !important; }
.footer h4 { margin: 0 0 var(--sp-4); font-size: 12px; font-weight: 800; color: var(--dim); text-transform: uppercase; letter-spacing: .16em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--lime-hi); }
.footer__base { display: flex; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer__base a:hover { color: var(--text); }
.nw { white-space: nowrap; }
.footer__dev a { color: var(--muted); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer__dev a:hover { color: var(--lime-hi); text-decoration-color: var(--lime); }
.dock { position: fixed; z-index: 90; left: var(--sp-3); right: var(--sp-3); bottom: calc(var(--sp-3) + env(safe-area-inset-bottom)); display: none; grid-template-columns: repeat(4, 1fr); align-items: end; padding: var(--sp-2); border-radius: 22px; background: rgba(14, 21, 12, .97); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7); transition: transform .4s var(--ease); }
.dock.is-hidden { transform: translateY(140%); }
.dock a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; color: var(--muted); font-weight: 700; }
.dock a svg { width: 22px; height: 22px; }
.dock small { font-size: 11px; }
.dock__main { color: var(--text) !important; }
.dock__main [data-icon] { width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); border: 4px solid var(--ink); box-shadow: 0 0 30px -4px var(--glow); }
#toast { position: fixed; left: 50%; bottom: 100px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* =========================================================
   SELO GIRATÓRIO (hero) — gira no relógio único, acelera com o scroll
   ========================================================= */
.badge-rot { position: absolute; z-index: 3; top: calc(var(--nav-h) + 20px); right: var(--gutter); width: 132px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--lime-ink); background: var(--lime); box-shadow: 0 18px 50px -18px var(--glow); transition: background-color .25s, box-shadow .3s; }
.badge-rot:hover { background: var(--lime-hi); box-shadow: 0 18px 60px -12px var(--glow); }
.badge-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.badge-rot text { font: 800 15px/1 var(--f); letter-spacing: .08em; fill: currentColor; text-transform: uppercase; }
.badge-rot__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); transition: transform .5s var(--ease); }
.badge-rot__icon svg { width: 22px; height: 22px; position: static; }
.badge-rot:hover .badge-rot__icon { transform: rotate(-18deg) scale(1.08); }

/* =========================================================
   MANIFESTO — seção presa; as anilhas 3D caem enquanto o texto acende
   ========================================================= */
.manifesto { position: relative; z-index: 1; height: 280vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.manifesto__sticky::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42vw 60vh at 74% 52%, rgba(157, 202, 59, .12), transparent 70%); opacity: calc(.25 + var(--p, 0) * .75); }
.manifesto__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: var(--sp-7); align-items: center; }
.manifesto__text { display: grid; justify-items: start; gap: var(--sp-6); }
.manifesto__title { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 5.3vw, 88px); line-height: .94; letter-spacing: -.005em; }
.manifesto__title em { font-style: italic; color: var(--lime); }
.stage--stack { height: min(76vh, 680px); }
.manifesto__load { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.manifesto__meter { display: grid; gap: 2px; padding-right: var(--sp-5); border-right: 1px solid var(--line-2); }
.manifesto__meter > span { font-size: 12px; font-weight: 800; color: var(--dim); text-transform: uppercase; letter-spacing: .16em; }
.manifesto__meter strong { font-stretch: 62%; font-weight: 900; font-size: clamp(44px, 4.6vw, 68px); line-height: .9; color: var(--lime-hi); font-variant-numeric: tabular-nums; text-transform: uppercase; transform-origin: 0 80%; }
.manifesto__meter strong.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.manifesto__ticks { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.manifesto__ticks li { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); font-stretch: 62%; font-weight: 900; font-size: 17px; color: var(--dim); transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.manifesto__ticks li.is-on { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: translateY(-3px); }
.manifesto__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--sp-6); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.manifesto__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime-hi)); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }

/* =========================================================
   REVELAÇÃO — a foto abre até ocupar a tela; as palavras deslizam em sentidos opostos
   ========================================================= */
.reveal { position: relative; z-index: 1; height: 230vh; }
.reveal__sticky { --e: clamp(0, calc(var(--p, 0) / .62), 1); --ee: calc(var(--e) * (2 - var(--e))); position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reveal__media { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--ee)) * 20%) calc((1 - var(--ee)) * 30%) round calc((1 - var(--ee)) * 32px + 1px)); background: var(--ink-2); }
.reveal__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(calc(1.32 - var(--ee) * .32)); }
.reveal__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 5, .2) 0%, rgba(5, 8, 5, .05) 35%, rgba(5, 8, 5, .92) 100%), linear-gradient(90deg, rgba(5, 8, 5, calc(var(--ee) * .7)) 0%, transparent 65%); }
/* as palavras saem de cena antes da legenda entrar (nunca há texto sobre texto) */
.reveal__lines { position: absolute; inset: 0; display: grid; align-content: center; gap: .6vw; pointer-events: none; opacity: calc(1 - clamp(0, calc((var(--p, 0) - .48) * 4), 1)); }
.reveal__line { white-space: nowrap; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 10.5vw, 190px); line-height: .9; color: var(--lime); transform: translate3d(calc(var(--dir) * (var(--p, 0) - .45) * 46vw - 20vw), 0, 0); will-change: transform; }
.reveal__line--ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(239, 246, 232, .7); }
.reveal__caption { --c: clamp(0, calc((var(--p, 0) - .62) * 4), 1); position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); margin-inline: auto; display: grid; justify-items: start; gap: var(--sp-4); opacity: var(--c); transform: translate3d(0, calc((1 - var(--c)) * 40px), 0); }
.reveal__title { max-width: 24ch; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 3.9vw, 64px); line-height: .95; }

/* =========================================================
   MARCA GIGANTE NO RODAPÉ — enche de verde quando você chega ao fim
   ========================================================= */
/* "BELA FORMA" mede ~4,63 em nesta fonte → tamanho calculado para caber inteiro entre as margens */
.wordmark { position: relative; margin: var(--sp-8) 0 0; text-align: center; white-space: nowrap; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: calc((100vw - 2 * var(--gutter)) / 4.7); line-height: .74; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(157, 202, 59, .32); user-select: none; overflow: hidden; padding-top: .04em; }
.wordmark::after { content: attr(data-text); position: absolute; inset: .04em 0 0; color: var(--lime); -webkit-text-stroke: 0; clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); }

/* =========================================================
   CURSOR, LINKS QUE ROLAM, GRÃO
   ========================================================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 550; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor::before { content: ''; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(196, 240, 79, .65); transition: transform .4s var(--ease), background-color .25s, border-color .25s, opacity .25s; }
.cursor[data-mode="link"]::before { transform: scale(1.45); background: rgba(157, 202, 59, .1); border-color: var(--lime); }
.cursor[data-mode="label"]::before { transform: scale(2.3); background: var(--lime); border-color: var(--lime); }
.cursor[data-mode="text"]::before { opacity: 0; }
.cursor.is-down::before { transform: scale(.8); }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-ink); white-space: nowrap; transition: opacity .25s, transform .4s var(--ease); }
.cursor[data-mode="label"] .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: inline-block; transition: transform .5s var(--ease); }
.roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--lime-hi); transition: transform .5s var(--ease); }
a:hover > .roll > span, a:hover > .roll::after, a:focus-visible > .roll > span, a:focus-visible > .roll::after { transform: translateY(-100%); }
/* grão de filme bem sutil (imagem fixa, sem animação) */
body::after { content: ''; position: fixed; inset: 0; z-index: 450; 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 1024px) {
  .badge-rot { width: 108px; }
  .badge-rot text { font-size: 16px; }
  .loc { grid-template-columns: 1fr; }
  .loc__map { height: 460px; }
  .loc__card { display: grid; grid-template-columns: 1fr 1fr; }
  .loc__block--contact { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .lightbox__fig { grid-template-columns: 1fr; max-height: 92dvh; overflow: auto; padding: 70px var(--sp-4) var(--sp-5); }
  .lightbox__media img, .lightbox__media video { max-width: 92vw; max-height: 70dvh; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .period { grid-template-columns: 1fr; gap: var(--sp-4); }
  .period__label { position: static; display: flex; align-items: baseline; gap: var(--sp-3); }
}
/* até 1000 px o texto e o 3D não cabem lado a lado: o pódio vai para cima e o texto desce
   (os botões do pódio ficam logo abaixo do 3D; nada fica por cima de nada) */
@media (max-width: 1000px) {
  .hero { --stage-h: 44svh; min-height: auto; }
  .stage--hero { top: var(--nav-h); left: 0; right: 0; bottom: auto; width: 100%; height: var(--stage-h); }
  .hero__foot { position: static; }
  /* botões do pódio logo abaixo do 3D (sem encostar no pódio) e o texto depois deles */
  .hero__shapes { top: calc(var(--nav-h) + var(--stage-h) + 2px); bottom: auto; left: 0; width: 100%; padding-inline: var(--gutter); gap: 6px; }
  .hero__content { padding-top: calc(var(--stage-h) + 60px); padding-bottom: var(--sp-6); }
  /* empilhado, o texto do topo não apaga enquanto você ainda está lendo */
  .m-on .hero__content[data-m="out"] { transform: none; opacity: 1; }
  .badge-rot { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; --section-y: 76px; --head-gap: 28px; }
  body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .dock { display: grid; }
  .nav__cta, .nav .status-pill { display: none; }
  .nav__brand img { height: 32px; }
  .hero__shapes button { padding: 8px 12px; font-size: 11px; }
  .hero__shapes button:not([aria-pressed="true"]) { font-size: 0; gap: 0; padding: 8px; }
  .hero__shapes button:not([aria-pressed="true"]) i { width: 8px; height: 8px; }
  .hero__content { gap: var(--sp-4); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-5); }
  .hero__stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  /* números alinhados na mesma linha mesmo quando o rótulo quebra em duas */
  .hero__stats div { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-1); }
  .hero__stats dd { margin: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .shead { grid-template-columns: 1fr; gap: var(--sp-4); }
  .shead > .stage { height: 160px; order: -1; }
  /* filtros em uma linha só, deslizando na horizontal (com as pontas esmaecendo) */
  .chips:not(.chips--compact), [data-mod-filters], [data-team-filters] {
    flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  [data-mod-filters] { flex: 1 1 100%; }
  [data-team-filters] { justify-self: stretch; }
  /* cartões de aula compactos: horário à esquerda; aula, professor e ações à direita */
  .class { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-4); row-gap: 6px; align-items: start; padding: var(--sp-4); }
  .class__head { display: contents; }
  .class__time { grid-column: 1; grid-row: 1 / span 3; font-size: 38px; }
  .class .badge, .class__name, .class__meta { grid-column: 2; }
  .class .badge { justify-self: start; }
  .class__name { font-size: 22px; }
  .class__desc { display: none; }
  .class__meta { margin-top: 2px; gap: 4px 12px; font-size: 13px; }
  .class__actions { grid-column: 1 / -1; margin-top: var(--sp-2); }
  .class.is-past .class__actions { display: none; }
  /* equipe: fileira deslizante em vez de uma coluna de 2.000 px */
  .team { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--sp-2); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .team::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 min(44vw, 220px); scroll-snap-align: start; }
  .member h3 { font-size: 17px; }
  .member p { font-size: 13px; }
  /* Instagram: perfil e botão "Seguir" na mesma linha; filtros embaixo */
  .ig-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); width: 100%; }
  .ig-bar .ig-profile { grid-column: 1; grid-row: 1; margin-right: 0; min-width: 0; }
  .ig-bar .btn--ig { grid-column: 2; grid-row: 1; }
  .ig-bar [data-ig-filters] { grid-column: 1 / -1; grid-row: 2; }
  .ig-profile strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ig-profile small { display: none; }
  .modc__track { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .modc__track::-webkit-scrollbar { display: none; }
  .mc { flex: 0 0 84%; height: 500px; scroll-snap-align: center; transition: none; cursor: default; }
  .mc img { opacity: 1; transform: none; filter: none; }
  .mc__vert, .mc__progress, .mc__hit { display: none; }
  .mc__num { left: var(--sp-5); transform: none; }
  .mc__body { opacity: 1; transform: none; pointer-events: auto; }
  /* o maior pedaço de palavra do título sempre cabe (nada de "MUSCULAÇÃ / O") */
  .mc__title { font-size: min(48px, calc((100cqi - 48px) / (var(--len, 8) * .56))); }
  .sched, .sched__bar { min-width: 0; }
  .sched__bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .sched__days { display: flex; min-width: 0; max-width: none; flex: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .day-tab { flex: 1 0 70px; padding: var(--sp-3); }
  .day-tab__date { font-size: 30px; }
  .sched__view { align-self: flex-start; }
  .chips:not(.chips--compact) { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .classes { grid-template-columns: 1fr; }
  .sched__legend { display: none; }
  .rail { --cw: 78vw; gap: var(--sp-4); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
  .badge-rot { display: none; }
  /* manifesto no celular: o 3D ocupa só o espaço que sobra (nunca invade o texto) e o texto
     fica todo acima da barra de ações — também em telas mais baixas */
  .manifesto { height: 250vh; }
  .manifesto__sticky { align-items: stretch; }
  .manifesto__grid { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: var(--sp-3); height: 100%; padding-top: var(--sp-5); padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .stage--stack { order: -1; flex: 1 1 0; height: auto; min-height: 110px; max-height: 44svh; }
  .manifesto__text { flex: none; gap: var(--sp-3); }
  .manifesto__title { font-size: clamp(24px, min(8.6vw, 5.4svh), 46px); }
  .manifesto__load { gap: var(--sp-3) var(--sp-4); }
  .manifesto__meter { padding-right: var(--sp-4); }
  .manifesto__meter > span { letter-spacing: .1em; }
  .manifesto__meter strong { font-size: clamp(30px, 6svh, 44px); }
  .manifesto__ticks { gap: 4px; }
  .manifesto__ticks li { width: 30px; height: 30px; font-size: 13px; }
  .manifesto__progress { display: none; } /* as bolinhas de carga já mostram o progresso */
  .reveal { height: 200vh; }
  .reveal__line { font-size: 17vw; }
  .reveal__caption { bottom: calc(110px + env(safe-area-inset-bottom)); }
  .reveal__title { font-size: clamp(30px, 8.4vw, 44px); }
  .loc__card { grid-template-columns: 1fr; }
  .loc__block--contact { grid-template-columns: 1fr; }
  .map-legend { display: none; }
  .sheet { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .sheet__actions { grid-template-columns: 1fr; }
  #toast { bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* rodapé: listas lado a lado, endereço inteiro embaixo */
  .footer { padding-top: var(--sp-7); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(2) { order: 1; }
  .footer__grid > div:nth-child(4) { order: 2; }
  .footer__grid > div:nth-child(3) { order: 3; grid-column: 1 / -1; }
  .footer__base { flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-6); }
  .sheet h3 { font-size: 44px; }
  .mc { flex-basis: 88%; height: 470px; }
  /* rotas em grade 2×2, botões do mesmo tamanho */
  .loc__routes { display: grid; grid-template-columns: 1fr 1fr; }
  .loc__routes .btn { width: 100%; }
}
@media (max-width: 380px) {
  .manifesto__ticks li { width: 28px; height: 28px; font-size: 12px; }
}
/* em telas de toque não existe "passar o mouse": as fotos da equipe já aparecem coloridas */
@media (hover: none) {
  .member__photo img { filter: none; }
}
/* celular: menos trabalho por quadro ao rolar
   - sem a camada de granulado em tela cheia (uma composição a menos por quadro)
   - parágrafos aparecem inteiros (sem repintar palavra por palavra enquanto rola) */
@media (max-width: 860px), (pointer: coarse) {
  body::after { display: none; }
}
@media (max-width: 860px) {
  .m-on [data-m="read"] .wi { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader, .cursor { display: none; }
  .manifesto, .reveal { height: auto; }
  .manifesto__sticky, .reveal__sticky { position: relative; height: auto; min-height: 100svh; }
}
