/* ==========================================================================
   Battle Gym Ibaté
   Cores tiradas da própria academia: teto preto, paredes ardósia, tubos de
   LED (azul, branco frio, âmbar), espelhos com neon roxo e o capacete prata.
   ========================================================================== */

:root {
  --breu: #09080f;          /* teto */
  --noite: #100f19;         /* seções alternadas */
  --grafite: #1a1926;       /* superfícies */
  --linha: #2c2b3e;         /* divisórias */
  --aco: #a6aaba;           /* texto secundário */
  --luz: #f1f2f8;           /* texto principal, tubo branco */
  --violeta: #9d5cff;       /* neon do espelho e do logo */
  --violeta-claro: #c3a1ff;
  --violeta-forte: #7a36f2; /* fundo de botão (contraste 5,8:1 com branco) */
  --azul: #4b5cff;          /* tubos azuis do teto */
  --ambar: #ffb547;         /* luzes do cardio */

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --glow-violeta: 0 0 4px var(--violeta), 0 0 12px var(--violeta), 0 0 28px rgb(157 92 255 / .55);
}

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--breu);
  color: var(--luz);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* granulado de filme por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("../grain.png");
  opacity: .6;
}

img, video, canvas, svg { display: block; max-width: 100%; }
picture { display: contents; } /* o <img> dentro dele segue as regras de layout normais */
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--violeta-forte); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violeta-claro);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--luz);
  color: var(--breu);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.25rem, 1.1rem + 4vw, 4.25rem);
  font-weight: 850;
  font-stretch: 116%;
  line-height: .96;
  letter-spacing: -.012em;
  text-wrap: balance;
}

/* títulos "esticam" ao entrar na tela, como o título principal */
.js [data-stretch] {
  opacity: 0;
  transform: scaleX(.7);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-out), opacity .5s ease;
}
.js [data-stretch].is-in { opacity: 1; transform: none; }

/* ---------- Tubos de luz (motivo recorrente) ---------- */

.tube-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.tube-list li {
  position: relative;
  padding-left: 36px;
}
.tube-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .66em;
  width: 20px; height: 4px;
  border-radius: 4px;
  background: #f4eaff;
  box-shadow: var(--glow-violeta);
}
.tube-list-sm { gap: 10px; margin-top: 24px; font-size: 1rem; }

@keyframes tube-on {
  0% { opacity: .15; } 8% { opacity: 1; } 16% { opacity: .2; } 26% { opacity: .95; }
  34% { opacity: .3; } 52%, 100% { opacity: 1; }
}

/* ---------- Botões com cantos chanfrados (como as letras do logo) ---------- */

.btn {
  --cut: 11px;
  --btn-bg: transparent;
  --btn-edge: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .8em 1.35em;
  border: 0;
  background: none;
  color: var(--luz);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease-out), filter .3s;
}
.btn::before, .btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .25s;
}
.btn::before { inset: 0; background: var(--btn-edge); }
.btn::after { inset: 1px; background: var(--btn-bg); --cut: 10.5px; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:active { transform: translateY(1px) scale(.985); }

.btn-primary {
  --btn-edge: #b58cff;
  --btn-bg: linear-gradient(180deg, #8d4cff 0%, var(--violeta-forte) 100%);
  color: #fff;
}
.btn-primary:hover {
  --btn-bg: linear-gradient(180deg, #9a60ff 0%, #8340ff 100%);
  filter: drop-shadow(0 0 14px rgb(157 92 255 / .6));
}

.btn-ghost {
  --btn-edge: rgb(241 242 248 / .3);
  --btn-bg: rgb(9 8 15 / .55);
}
.btn-ghost:hover { --btn-edge: rgb(241 242 248 / .6); --btn-bg: rgb(26 25 38 / .8); }
.btn-ghost.is-done { --btn-edge: var(--violeta); }

.btn-sm { min-height: 40px; padding: .6em 1em; font-size: .9375rem; --cut: 9px; }
.btn-sm::after { --cut: 8.5px; }
.btn-lg { min-height: 54px; padding: .95em 1.5em; font-size: 1.0625rem; }
.btn-xl { min-height: 64px; padding: 1em 1.6em; font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); --cut: 14px; }
.btn-xl::after { --cut: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Barra de progresso (um tubo que acende) ---------- */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--azul), var(--violeta) 60%, #e9dcff);
  box-shadow: 0 0 10px var(--violeta);
}

/* ---------- Topo ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--topbar-h);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s, backdrop-filter .3s;
}
.topbar.is-solid {
  background: rgb(9 8 15 / .78);
  border-bottom-color: rgb(255 255 255 / .06);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.topbar.is-hidden { transform: translateY(-101%); }

.topbar-inner {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.brand img {
  width: auto;
  height: 40px;
  filter: drop-shadow(0 0 10px rgb(157 92 255 / .35));
}
.brand span {
  font-size: 1.0625rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--aco);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--luz); }
.nav a:not(.nav-wa)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: #efe4ff;
  box-shadow: 0 0 6px var(--violeta), 0 0 14px var(--violeta);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .nav-wa { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 7px; width: 24px; margin: auto; }
.menu-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--luz);
  transition: transform .35s var(--ease-out);
}
.menu-open .menu-toggle-bars i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle-bars i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .topbar-cta { margin-left: auto; }
  .brand { margin-right: 0; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 96px var(--gutter) 40px;
    background: rgb(9 8 15 / .97);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility 0s .3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .3s; }
  .menu-open { overflow: hidden; }

  .nav a {
    padding: 4px 0;
    color: var(--luz);
    font-size: clamp(1.8rem, 7.4vw, 3.5rem);
    font-weight: 850;
    font-stretch: 118%;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .4s, transform .5s var(--ease-out), color .2s;
  }
  .nav a:not(.nav-wa)::after { display: none; }
  .nav a[aria-current="true"] { color: var(--violeta-claro); }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .04s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .08s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .12s; }
  .menu-open .nav a:nth-child(5) { transition-delay: .16s; }
  .menu-open .nav a:nth-child(6) { transition-delay: .2s; }
  .menu-open .nav a:nth-child(7) { transition-delay: .24s; }

  .nav .nav-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 1.125rem;
    font-weight: 700;
    font-stretch: 108%;
    color: var(--violeta-claro);
  }
  .nav .nav-wa svg { width: 22px; height: 22px; }
  .menu-open .topbar { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; }
  .menu-open .topbar-cta { visibility: hidden; }
}

@media (max-width: 420px) {
  .topbar-cta span { display: none; }
  .topbar-cta { padding-inline: .7em; }
  .brand span { font-size: .9375rem; }
}

/* ---------- Início ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--breu);
}

.hero-photo { position: absolute; inset: 0; z-index: -3; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
  filter: brightness(.55) saturate(1.05);
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.08);
  transform-origin: 50% 40%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, var(--breu) 0%, rgb(9 8 15 / .9) 24%, rgb(9 8 15 / .25) 50%, rgb(9 8 15 / .6) 74%, var(--breu) 100%),
    linear-gradient(90deg, rgb(9 8 15 / .8) 0%, rgb(9 8 15 / 0) 70%);
}

.hero-ceiling,
.hero-ceiling canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-ceiling {
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / .2) 0, rgb(0 0 0 / .3) 70px, #000 24%);
  mask-image: linear-gradient(180deg, rgb(0 0 0 / .2) 0, rgb(0 0 0 / .3) 70px, #000 24%);
}

.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding: calc(var(--topbar-h) + 14vh) 0 clamp(56px, 9vh, 100px);
  transform: translate3d(0, var(--inner-shift, 0px), 0);
  opacity: var(--hero-fade, 1);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 999px;
  background: rgb(16 15 25 / .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--aco);
  font-size: .875rem;
  font-weight: 500;
}
.status-tube {
  width: 18px; height: 5px;
  border-radius: 5px;
  background: #3a3950;
  flex: none;
  transition: background .3s, box-shadow .3s;
}
.status[data-open="true"] { color: var(--luz); }
.status[data-open="true"] .status-tube {
  background: #f4eaff;
  box-shadow: var(--glow-violeta);
  animation: tube-on .8s steps(1) .2s both, tube-breathe 3.6s ease-in-out 1.2s infinite;
}
@keyframes tube-breathe { 50% { box-shadow: 0 0 3px var(--violeta), 0 0 8px var(--violeta), 0 0 16px rgb(157 92 255 / .4); } }

.hero-title {
  margin: 22px 0 0;
  /* "DE VERDADE" mede 8,36em na largura 125%: cabe sempre na tela,
     e em telas baixas o título diminui para os botões aparecerem */
  font-size: min(calc((100vw - 2 * var(--gutter)) / 8.6), 9.2rem, 17vh);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero-line {
  display: block;
  width: max-content;
  font-stretch: 125%;
  white-space: nowrap;
  padding-bottom: .06em;
  background:
    linear-gradient(105deg, transparent 42%, rgb(255 255 255 / .95) 50%, transparent 58%) no-repeat,
    linear-gradient(180deg, #ffffff 0%, #e4e6ee 34%, #8f95a6 52%, #eef0f5 66%, #b3b8c6 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgb(157 92 255 / .28));
  animation: glint 8s ease-in-out 2.2s infinite;
}
@keyframes glint {
  0% { background-position: 150% 0, 0 0; }
  16%, 100% { background-position: -60% 0, 0 0; }
}

.hero-lede {
  max-width: 54ch;
  margin-top: 26px;
  color: rgb(241 242 248 / .82);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.scroll-cue {
  position: absolute;
  right: max(var(--gutter), (100vw - var(--wrap)) / 2);
  bottom: clamp(56px, 9vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--aco);
  font-size: .8125rem;
  text-decoration: none;
  writing-mode: vertical-rl;
}
.scroll-cue-tube {
  position: relative;
  width: 2px; height: 56px;
  border-radius: 2px;
  background: rgb(255 255 255 / .14);
  overflow: hidden;
}
.scroll-cue-tube i {
  position: absolute;
  left: 0; top: -16px;
  width: 2px; height: 16px;
  border-radius: 2px;
  background: #efe4ff;
  box-shadow: 0 0 6px var(--violeta), 0 0 12px var(--violeta);
  animation: cue 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cue { 60%, 100% { transform: translateY(72px); } }

/* sequência "as luzes acendem" */
.js .hero-photo img { filter: brightness(0) saturate(1.05); }
.js .hero.is-lit .hero-photo img { animation: room-on 2s linear .55s both; }
@keyframes room-on {
  0% { filter: brightness(0) saturate(1.05); }
  14% { filter: brightness(.32) saturate(1.05); }
  18% { filter: brightness(.04) saturate(1.05); }
  26% { filter: brightness(.4) saturate(1.05); }
  30% { filter: brightness(.12) saturate(1.05); }
  46%, 100% { filter: brightness(.55) saturate(1.05); }
}

.js .hero-line {
  font-stretch: 62%;
  opacity: 0;
  transition: font-stretch 1.4s var(--ease-out), opacity .45s ease;
}
.js .hero-line + .hero-line { transition-delay: .1s; }
.js .hero.is-lit .hero-line { font-stretch: 125%; opacity: 1; }

.js .hero .status,
.js .hero-lede,
.js .hero-actions,
.js .scroll-cue {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .9s var(--ease-out);
}
.js .hero.is-lit .status { opacity: 1; transform: none; transition-delay: .9s; }
.js .hero.is-lit .hero-lede { opacity: 1; transform: none; transition-delay: .7s; }
.js .hero.is-lit .hero-actions { opacity: 1; transform: none; transition-delay: .85s; }
.js .hero.is-lit .scroll-cue { opacity: var(--hero-fade, 1); transform: none; transition-delay: 1.6s; }

@media (max-width: 899px) {
  .scroll-cue { display: none; }
  .hero-inner { padding-top: calc(var(--topbar-h) + 24vh); }
  /* no celular a foto desce para o letreiro aparecer abaixo do teto de neon */
  .hero-photo { top: 24%; }
  .hero-photo img { object-position: 50% 0; }
  .hero-shade {
    background:
      linear-gradient(180deg, var(--breu) 0%, var(--breu) 24%, rgb(9 8 15 / .5) 34%, rgb(9 8 15 / .3) 44%, rgb(9 8 15 / .8) 66%, var(--breu) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Faixas em movimento ---------- */

.bands {
  position: relative;
  height: clamp(150px, 15vw, 220px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--breu);
}
.band {
  position: absolute;
  left: -6%; right: -6%;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.band-a {
  z-index: 2;
  background: var(--violeta-forte);
  color: #fff;
  transform: rotate(-3deg);
  box-shadow: 0 0 50px rgb(122 54 242 / .45);
}
.band-b {
  background: var(--grafite);
  color: var(--aco);
  transform: rotate(2.2deg);
  border-block: 1px solid var(--linha);
}
.band-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  will-change: transform;
}
.band span {
  font-size: clamp(1.2rem, .9rem + 1.5vw, 2.1rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1.1;
  text-transform: uppercase;
}
.band-b span {
  color: transparent;
  -webkit-text-stroke: 1.2px rgb(166 170 186 / .75);
}
/* chevron, como as luzes em "V" do teto do cardio */
.band i {
  flex: none;
  width: 22px; height: 15px;
  background: currentColor;
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 42%, 50% 100%, 0 42%);
}
.band-a i { color: #ffd592; filter: drop-shadow(0 0 4px var(--ambar)); }
.band-b i { color: var(--violeta); }

/* ---------- Estrutura ---------- */

.estrutura { position: relative; background: var(--breu); }

.estrutura-pin { padding-block: clamp(80px, 12vw, 140px); }

/* celular: título fixo à esquerda, fotos deslizam por baixo com o dedo */
.estrutura-track {
  display: grid;
  grid-template-columns: repeat(5, min(74vw, 320px));
  gap: 28px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.estrutura-track::-webkit-scrollbar { display: none; }
.estrutura-intro {
  grid-column: 1 / -1;
  position: sticky;
  left: 0;
  width: calc(100vw - 2 * var(--gutter));
  max-width: 560px;
}
.estrutura-intro > p { max-width: 46ch; margin-top: 20px; color: var(--aco); }
.estrutura-hint { display: none; }

.shot { margin: 0; scroll-snap-align: start; }
.shot-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  background: var(--grafite);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08);
  transition: box-shadow .4s;
}
.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--px, 0px), 0, 0) scale(1.14);
  transition: scale .8s var(--ease-out);
}
.shot:hover .shot-frame {
  box-shadow: 0 0 0 1px rgb(197 160 255 / .9), 0 0 26px rgb(157 92 255 / .5), 0 0 70px rgb(157 92 255 / .2);
}
.shot:hover .shot-frame img { scale: 1.05; }
.shot figcaption {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--aco);
  font-size: .9375rem;
  line-height: 1.5;
}
.shot figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--luz);
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 115%;
}

.estrutura-meter { display: none; }

/* celular: botões ← → além do arrasto com o dedo */
.gallery-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin: 20px auto 0;
}
.gallery-nav .round-btn:disabled { opacity: .35; cursor: default; }
.gallery-nav .round-btn:disabled:hover { background: rgb(9 8 15 / .6); border-color: rgb(255 255 255 / .2); }

/* telas grandes sem a galeria presa (animações reduzidas ou janela baixa):
   todas as fotos numa grade, sem precisar arrastar */
@media (min-width: 900px) {
  .gallery-nav { display: none; }
  .estrutura:not(.is-pinned) .estrutura-track {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px 16px;
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
    padding-inline: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .estrutura:not(.is-pinned) .estrutura-intro {
    position: static;
    width: auto;
    max-width: 640px;
  }
}

/* desktop: a seção fica presa e a galeria anda de lado enquanto a página rola */
.estrutura.is-pinned .estrutura-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.estrutura.is-pinned .estrutura-track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  overflow: visible;
  scroll-snap-type: none;
  padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2) 12vw;
  transform: translate3d(var(--track-x, 0px), 0, 0);
  will-change: transform;
}
.estrutura.is-pinned .estrutura-intro {
  position: static;
  flex: 0 0 min(36vw, 480px);
  width: auto;
  margin-right: 5vw;
}
.estrutura.is-pinned .shot { flex: 0 0 auto; width: calc(min(62vh, 640px) * 9 / 16); }
.estrutura.is-pinned .shot:nth-of-type(odd) { transform: translateY(-5vh); }
.estrutura.is-pinned .shot:nth-of-type(even) { transform: translateY(4vh); }
.estrutura.is-pinned .estrutura-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  color: var(--aco);
  font-size: .875rem;
}
.estrutura-hint span {
  position: relative;
  width: 56px; height: 2px;
  border-radius: 2px;
  background: rgb(255 255 255 / .14);
  overflow: hidden;
}
.estrutura-hint span::after {
  content: "";
  position: absolute;
  top: 0; left: -18px;
  width: 18px; height: 2px;
  background: #efe4ff;
  box-shadow: 0 0 6px var(--violeta);
  animation: hint 2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes hint { 60%, 100% { transform: translateX(80px); } }

.estrutura.is-pinned .estrutura-meter {
  display: block;
  position: absolute;
  left: max(var(--gutter), (100vw - var(--wrap)) / 2);
  right: max(var(--gutter), (100vw - var(--wrap)) / 2);
  bottom: 5vh;
  height: 2px;
  border-radius: 2px;
  background: rgb(255 255 255 / .08);
}
.estrutura-meter span {
  display: block;
  height: 100%;
  border-radius: 2px;
  transform-origin: 0 50%;
  transform: scaleX(var(--m, 0));
  background: #efe4ff;
  box-shadow: 0 0 6px var(--violeta), 0 0 14px var(--violeta);
}

/* ---------- Modalidades ---------- */

.modalidades {
  padding-block: clamp(96px, 13vw, 180px);
  background:
    radial-gradient(ellipse 50% 40% at 85% 10%, rgb(75 92 255 / .08), transparent 70%),
    var(--noite);
}
.mods {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid var(--linha);
}
.mod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: 10px 48px;
  padding-block: clamp(18px, 2.4vw, 30px);
  border-bottom: 1px solid var(--linha);
}
.mod-name {
  /* "MUSCULAÇÃO" mede 9,5em na largura 125% */
  font-size: min(calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 368px) / 9.8), 6.2rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .92;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(166 170 186 / .4);
  transition: -webkit-text-stroke-color .3s, color .15s, text-shadow .3s;
}
.mod-desc { color: var(--aco); transition: color .3s; }
.mod.is-lit .mod-name {
  color: #f7f1ff;
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 6px rgb(157 92 255 / .9), 0 0 22px rgb(157 92 255 / .65), 0 0 60px rgb(157 92 255 / .4);
  animation: tube-on .7s steps(1) both;
}
.mod.is-lit .mod-desc { color: var(--luz); }

@media (max-width: 760px) {
  .mod { grid-template-columns: 1fr; }
  .mod-name { font-size: calc((100vw - 2 * var(--gutter)) / 9.8); }
}

/* ---------- Acompanhamento ---------- */

.coach { padding-block: clamp(96px, 12vw, 170px); }
.coach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}
.coach-copy > p:not(.coach-note) {
  max-width: 48ch;
  margin-top: 22px;
  color: var(--aco);
  font-size: 1.125rem;
}
.coach-note {
  max-width: 44ch;
  margin-top: 32px;
  padding: 14px 18px;
  border-left: 3px solid var(--violeta);
  background: rgb(157 92 255 / .08);
  font-weight: 600;
}

.coach-video { margin: 0; width: min(100%, 360px); justify-self: center; }
.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 3px;
  border-radius: 30px;
  background:
    conic-gradient(from var(--ang), transparent 0 64%, rgb(157 92 255 / .9) 76%, #f6efff 82%, rgb(157 92 255 / .9) 88%, transparent 100%),
    rgb(255 255 255 / .1);
  box-shadow: 0 0 80px rgb(122 54 242 / .22), 0 30px 80px rgb(0 0 0 / .5);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27px;
  background: var(--grafite);
}
.phone-controls {
  position: absolute;
  right: 16px; bottom: 16px;
  display: flex;
  gap: 8px;
}
.round-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgb(255 255 255 / .2);
  border-radius: 50%;
  background: rgb(9 8 15 / .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.round-btn:hover { background: rgb(122 54 242 / .75); border-color: rgb(197 160 255 / .8); }
.round-btn svg { width: 20px; height: 20px; }
.coach-video figcaption {
  margin-top: 16px;
  color: var(--aco);
  font-size: .9375rem;
  text-align: center;
}

@media (max-width: 860px) {
  .coach-grid { grid-template-columns: 1fr; }
  .coach-video { width: min(100%, 340px); }
}

/* ---------- Planos ---------- */

.planos {
  padding-block: clamp(96px, 12vw, 170px);
  background: var(--noite);
  border-block: 1px solid var(--linha);
}
.planos-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px 64px;
}
.planos-head > p { max-width: 44ch; color: var(--aco); }

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.plan-options { display: grid; gap: 12px; align-content: start; }
.plan-opt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid var(--linha);
  border-radius: 6px;
  background: var(--breu);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.plan-opt:hover { border-color: #45435e; }
.plan-opt-name {
  font-size: 1.375rem;
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.2;
}
.plan-opt-name em {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ambar);
  color: #1d1300;
  font-size: .75rem;
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  vertical-align: .25em;
}
.plan-opt-price { color: var(--aco); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-opt-tube {
  grid-column: 1 / -1;
  width: calc(var(--len) * 100%);
  height: 5px;
  margin-top: 14px;
  border-radius: 5px;
  background: #34334a;
  transition: background-color .3s, box-shadow .3s;
}
.plan-opt[aria-checked="true"] {
  border-color: rgb(157 92 255 / .75);
  background: linear-gradient(180deg, rgb(157 92 255 / .14), rgb(157 92 255 / .03)), var(--breu);
}
.plan-opt[aria-checked="true"] .plan-opt-tube {
  background: #f4eaff;
  box-shadow: var(--glow-violeta);
  animation: tube-on .6s steps(1) both;
}
.plan-scale { margin-top: 4px; color: var(--aco); font-size: .875rem; }

.plan-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--linha);
  border-radius: 6px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgb(122 54 242 / .2), transparent 70%),
    var(--breu);
}
.plan-card-name {
  color: var(--violeta-claro);
  font-weight: 700;
  font-stretch: 112%;
}
.plan-price {
  display: flex;
  align-items: baseline;
  margin-top: 8px;
  white-space: nowrap;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price-x {
  margin-right: .3em;
  color: var(--aco);
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.1rem);
}
.plan-price-x:empty { display: none; }
.plan-price-x.is-swapping { animation: swap .5s var(--ease-out); }
@keyframes swap { 0% { opacity: 0; transform: translateY(-.4em); } }
.plan-price-cur { margin-right: .18em; color: var(--aco); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); }
.plan-price-cents { color: var(--aco); font-size: clamp(1.625rem, 1rem + 2vw, 2.75rem); }

.odo {
  display: inline-flex;
  height: 1em;
  overflow: hidden;
  font-size: clamp(3.25rem, 1.5rem + 4.6vw, 6.25rem);
  line-height: 1;
}
.odo-col {
  display: flex;
  flex-direction: column;
  transition: transform 1s cubic-bezier(.2, .9, .1, 1);
}
.odo-col span { display: block; height: 1em; text-align: center; }

.plan-detail { margin-top: 14px; color: var(--aco); }
.plan-save { min-height: 1.6em; margin-top: 4px; color: var(--ambar); font-weight: 600; }
.plan-card .tube-list { flex: 1; align-content: start; }
.plan-card .btn { margin-top: 32px; }

.convenios { margin-top: 28px; color: var(--aco); }
.convenios strong { color: var(--luz); font-weight: 700; }

@media (max-width: 860px) {
  .planos-head, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plan-options { gap: 8px; }
  .plan-opt { padding: 16px 18px; }
  .plan-opt-name { font-size: 1.1875rem; }
  .plan-opt-price { font-size: .9375rem; }
  .plan-opt-tube { margin-top: 10px; }
}
@media (max-width: 420px) {
  .plan-opt { grid-template-columns: 1fr; }
  .plan-opt-price { white-space: normal; }
}

/* ---------- Horários ---------- */

.horarios { padding-block: clamp(96px, 12vw, 170px) clamp(48px, 6vw, 80px); }
.horarios-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}
.status-lg { padding: 10px 18px 10px 12px; font-size: 1rem; }

.hours { --label: 200px; --text: 250px; margin-top: clamp(36px, 5vw, 56px); }
.hours-scale {
  position: relative;
  height: 22px;
  margin: 0 calc(var(--text) + 24px) 0 calc(var(--label) + 24px);
  color: var(--aco);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.hours-scale span { position: absolute; left: calc(var(--at) * 100%); transform: translateX(-50%); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-top: 1px solid var(--linha); }
.hours-table tr:last-child { border-bottom: 1px solid var(--linha); }
.hours-table th {
  width: calc(var(--label) + 24px);
  padding: 22px 24px 22px 0;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.hours-bar {
  position: relative;
  padding: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / .07), rgb(255 255 255 / .07)) center / 100% 1px no-repeat;
}
.hours-bar .seg {
  position: absolute;
  top: 50%;
  left: calc((var(--from) - 5) / 18 * 100%);
  width: calc((var(--to) - var(--from)) / 18 * 100%);
  height: 6px;
  margin-top: -3px;
  border-radius: 6px;
  background: #34334a;
  transition: background-color .3s, box-shadow .3s;
}
.hours.is-on .seg {
  background: #f4eaff;
  box-shadow: var(--glow-violeta);
  animation: tube-on .8s steps(1) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}
.hours-text {
  width: calc(var(--text) + 24px);
  padding: 22px 0 22px 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.hours-table tr.is-today { background: linear-gradient(90deg, rgb(157 92 255 / .1), rgb(157 92 255 / 0) 80%); }
.hours-table tr.is-today th::after {
  content: "Hoje";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--violeta-forte);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  vertical-align: .15em;
}
.now {
  position: absolute;
  top: 50%;
  left: calc(var(--now) * 100%);
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid var(--breu);
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 0 3px rgb(255 181 71 / .25), 0 0 14px var(--ambar);
}
.now::after {
  content: "agora";
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  color: var(--ambar);
  font-size: .6875rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .hours-scale { display: none; }
  .hours-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label text" "bar bar";
    padding: 16px 0 20px;
  }
  .hours-table th { grid-area: label; width: auto; padding: 0; }
  .hours-text { grid-area: text; width: auto; padding: 0 0 0 16px; white-space: normal; }
  .hours-bar { grid-area: bar; height: 20px; margin-top: 10px; }
  .now::after { bottom: auto; top: 14px; }
}

/* ---------- Local ---------- */

.local { padding-block: clamp(48px, 6vw, 80px) clamp(80px, 9vw, 130px); }
.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.local-address { max-width: 14ch; font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); }
.local-city { margin-top: 16px; font-size: 1.125rem; font-weight: 600; }
.local-info > p:not(.local-city) { max-width: 40ch; margin-top: 10px; color: var(--aco); }
.local-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--linha);
  border-radius: 6px;
  background: var(--grafite);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(.92) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.92);
}
.map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgb(122 54 242 / .14);
  mix-blend-mode: color;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .04), inset 0 0 60px rgb(9 8 15 / .6);
}

@media (max-width: 860px) {
  .local-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1 / 1; }
}

/* ---------- Chamada final ---------- */

.final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 170px);
  border-top: 1px solid var(--linha);
  background:
    radial-gradient(ellipse 45% 60% at 22% 50%, rgb(122 54 242 / .3), transparent 70%),
    var(--breu);
}
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.final-logo {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
  animation: float 7s ease-in-out infinite;
}
.final-logo img { width: 100%; height: auto; filter: drop-shadow(0 24px 60px rgb(0 0 0 / .6)); }
@keyframes float { 50% { transform: translateY(-10px); } }

.eye {
  position: absolute;
  top: 38.4%;
  width: 17%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(245 230 255 / .95), rgb(170 95 255 / .75) 45%, transparent);
  mix-blend-mode: screen;
  filter: blur(2px);
  opacity: 0;
}
.eye-l { left: 31.5%; transform: rotate(14deg); }
.eye-r { left: 52%; transform: rotate(-14deg); }
.final.is-in .eye { animation: eyes-on 1.1s steps(1) .5s both, eyes-breathe 3.4s ease-in-out 1.6s infinite; }
@keyframes eyes-on {
  0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: .1; } 34% { opacity: 1; } 44% { opacity: .3; } 60%, 100% { opacity: 1; }
}
@keyframes eyes-breathe { 50% { opacity: .55; } }

.final-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.3rem, 1rem + 3.3vw, 4.4rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
  /* o degradê metálico se repete a cada linha, como no título do topo */
  background: linear-gradient(180deg, #ffffff 0%, #e4e6ee 34%, #8f95a6 52%, #eef0f5 66%, #b3b8c6 100%) 0 0 / 100% .95em repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-copy > p { margin-top: 20px; color: var(--aco); font-size: 1.125rem; }
.final-copy .btn { margin-top: 32px; }

@media (max-width: 860px) {
  .final-grid { grid-template-columns: 1fr; }
  .final-logo { width: min(64%, 300px); }
}

/* ---------- Rodapé ---------- */

.footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha);
  background: var(--breu);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: auto; height: 48px; }
.footer-brand p { color: var(--aco); font-size: .9375rem; line-height: 1.4; }
.footer-brand strong {
  display: block;
  color: var(--luz);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--aco);
  font-size: .9375rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--luz); }
.footer-links svg { width: 18px; height: 18px; }
.footer-legal { width: 100%; color: rgb(166 170 186 / .7); font-size: .8125rem; }

/* ---------- Botão fixo do WhatsApp (celular) ---------- */

.dock { display: none; }

@media (max-width: 760px) {
  .dock {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 14px;
    background: linear-gradient(180deg, #8d4cff, var(--violeta-forte));
    box-shadow: 0 0 0 1px rgb(197 160 255 / .6), 0 10px 30px rgb(0 0 0 / .5), 0 0 30px rgb(122 54 242 / .45);
    color: #fff;
    font-weight: 700;
    font-stretch: 108%;
    text-decoration: none;
    transform: translateY(calc(100% + 30px));
    transition: transform .5s var(--ease-out);
  }
  .dock svg { width: 22px; height: 22px; }
  .dock.is-shown { transform: none; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.motion-toggle {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--luz); }

/* ---------- Menos movimento ----------
   A classe vem do <head>: segue o "reduzir movimento" do sistema,
   a menos que o visitante tenha escolhido outra coisa no rodapé. */

html.reduce-motion { scroll-behavior: auto; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0s !important;
  transition-duration: .01ms !important;
  transition-delay: 0s !important;
}
.reduce-motion [data-stretch] { opacity: 1; transform: none; }
.reduce-motion .final-logo { animation: none; }
