/* =====================================================================
   D'ONE GYM — folha de estilo
   Sistema de design: TODOS os tamanhos de fonte, espaçamentos e raios
   vêm dos tokens abaixo. Não usar valores soltos nos componentes.
   ===================================================================== */

:root {
  /* ---------- Cores ---------- */
  --ink:      #151311;  /* base escura (concreto à noite) */
  --ink-2:    #1E1B18;  /* seção alternada */
  --line:     rgba(243, 238, 230, .14);
  --bone:     #F3EEE6;  /* texto principal sobre escuro */
  --concrete: #E2DBD0;  /* seção clara (planos) */
  --card-lt:  #F2EDE5;  /* cartão sobre seção clara */
  --muted:    #A8A096;  /* texto secundário sobre escuro */
  --muted-d:  #5E5850;  /* texto secundário sobre claro */
  --red:      #B3161C;  /* vermelho D'ONE */
  --red-deep: #7E0E13;
  --red-hi:   #E0383D;
  --led:      #FFD9A0;  /* luz quente (detalhes) */

  /* ---------- Tipografia ---------- */
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-logo:    "Michroma", "Hanken Grotesk", sans-serif;

  /* Escala única de fontes */
  --fs-hero:  clamp(2.6rem, 11.4vw, 6rem);              /* título do topo (celular) */
  --fs-h2:    clamp(2.5rem, 1.5rem + 3vw, 4.25rem);     /* título de seção: 40 → 68px */
  --fs-h3:    clamp(1.5rem, 1.15rem + .9vw, 2rem);      /* título de item: 24 → 32px */
  --fs-stat:  clamp(3.75rem, 2.5rem + 3.5vw, 6rem);     /* números de destaque (preço, nota) */
  --fs-quote: clamp(2rem, 1.3rem + 2.2vw, 3.5rem);      /* citação em destaque */
  --fs-lead:  clamp(1.0625rem, 1rem + .3vw, 1.25rem);   /* texto de apoio: 17 → 20px */
  --fs-body:  1.0625rem;                                /* 17px */
  --fs-sm:    .9375rem;                                 /* 15px */
  --fs-xs:    .8125rem;                                 /* 13px */
  --lh-tight: .9;
  --lh-body:  1.6;

  /* Escala única de espaçamentos (base 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;
  --sec-pad: var(--sp-9);          /* espaço vertical da seção */
  --head-gap: var(--sp-7);         /* título da seção → conteúdo */
  --col-gap: var(--sp-7);          /* entre colunas */

  /* Raios */
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;

  /* Layout */
  --gutter: 20px;
  --header-h: 68px;
  --maxw: 1360px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --glow: 0 0 8px rgba(255, 217, 160, .8), 0 0 22px rgba(255, 190, 120, .4);
}
@media (min-width: 768px)  { :root { --gutter: 32px; --header-h: 80px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; } }

/* =====================================================================
   BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--sp-3); top: -60px; z-index: 300; background: var(--bone); color: var(--ink); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-pill); }
.skip-link:focus { top: var(--sp-3); }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
.sec-bone :focus-visible, .cta-card :focus-visible { outline-color: var(--red); }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* =====================================================================
   TIPOGRAFIA PADRÃO
   ===================================================================== */
.sec-title, .display-l, .hero-title, .big-quote p, .plan-price, .score-n,
.reason h3, .step h3, .step-n, .g-slide figcaption strong, .g-thumbs span, .cls h3, .cls-time,
.rv-avatar, .sched-days button, .menu-mobile nav a, .ticker span {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em;
}
.sec-title, .display-l { font-size: var(--fs-h2); line-height: var(--lh-tight); max-width: 18ch; }
.sec-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.sec-bone .sec-lead { color: var(--muted-d); }
.prose { display: grid; gap: var(--sp-4); }
.prose p { max-width: 58ch; font-size: var(--fs-lead); line-height: 1.55; color: #D5CEC4; }

/* Cabeçalho de seção: sempre o mesmo padrão */
.sec-head { display: grid; gap: var(--sp-4); margin-bottom: var(--head-gap); }
@media (min-width: 1024px) {
  .sec-head-split { grid-template-columns: 1fr minmax(0, 400px); gap: var(--sp-8); align-items: end; }
}

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }

/* =====================================================================
   BOTÕES (cápsula) — dois tamanhos: padrão 52px e pequeno 44px
   ===================================================================== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 52px; padding: 0 var(--sp-6); border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: var(--fs-body); text-decoration: none; text-align: center;
  transition: background .2s, color .2s, border-color .2s, box-shadow .3s, transform .2s var(--ease);
}
.pill:active { transform: scale(.98); }
.pill-sm { min-height: 44px; padding: 0 var(--sp-5); font-size: var(--fs-sm); }
.pill-block { width: 100%; }
.pill-white { background: var(--bone); color: var(--red-deep); }
.pill-white:hover { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: #C81E24; box-shadow: 0 0 0 1px var(--led), var(--glow); }
.pill-line { border-color: rgba(243,238,230,.5); color: var(--bone); }
.pill-line:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pill-dark { background: var(--ink); color: var(--bone); }
.pill-dark:hover { background: #000; }

/* =====================================================================
   HEADER E MENU
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: transform .35s var(--ease), background .3s, border-color .3s;
}
.site-header.is-solid { background: rgba(21,19,17,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--sp-3); }
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1; margin-right: auto; color: var(--bone); }
.logo-word { font-family: var(--f-logo); font-size: 1.3rem; letter-spacing: .03em; }
.logo-gym { font-family: var(--f-logo); font-size: .5rem; letter-spacing: .32em; margin: var(--sp-1) -.32em 0 0; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--sp-5); }
.nav a { position: relative; padding: var(--sp-2) 0; text-decoration: none; font-weight: 500; font-size: var(--fs-sm); color: rgba(243,238,230,.82); }
.nav a:hover, .nav a.is-active { color: var(--bone); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--led); box-shadow: var(--glow); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a.is-active::after { transform: scaleX(1); }
.header-aluno, .only-desktop { display: none; }
.menu-toggle { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; margin-right: calc(-1 * var(--sp-3)); }
.menu-toggle .ic { width: 28px; height: 28px; }
@media (min-width: 1100px) {
  .nav { display: block; margin-inline: auto; }
  .logo { margin-right: 0; }
  .menu-toggle, .only-mobile { display: none; }
  .header-aluno { display: inline-flex; }
  .only-desktop { display: inline; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav ul { gap: var(--sp-4); } }

.menu-mobile {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); overflow-y: auto;
  padding: calc(var(--header-h) + var(--sp-4)) var(--gutter) calc(var(--sp-5) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-mobile li + li { border-top: 1px solid var(--line); }
.menu-mobile nav a { display: block; padding: var(--sp-3) 0; text-decoration: none; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1; }
.menu-mobile-foot { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.menu-wa { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); text-decoration: none; color: var(--muted); }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* =====================================================================
   SEÇÕES
   ===================================================================== */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec-ink  { background: var(--ink); }
.sec-ink2 { background: var(--ink-2); }
.sec-bone { background: var(--concrete); color: var(--ink); }
.sec-red  { background: var(--red-deep); color: #fff; isolation: isolate; overflow: hidden; }
@media (max-width: 767px) { :root { --sec-pad: var(--sp-8); --head-gap: var(--sp-6); --col-gap: var(--sp-6); } }

/* Borda superior acende ao entrar (transição entre seções) */
.sec::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; z-index: 1;
  background: linear-gradient(90deg, var(--red-hi), rgba(224,56,61,0) 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.sec.sec-on::before { transform: scaleX(1); }
.sec-red::before { background: linear-gradient(90deg, var(--led), rgba(255,217,160,0) 70%); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  --hero-gap: clamp(var(--sp-6), 6vh, 72px);
  position: relative; overflow: hidden; isolation: isolate; min-height: 100svh;
  background: var(--red-deep); display: flex; flex-direction: column;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(232,52,58,.95) 0%, rgba(179,22,28,.9) 45%, rgba(110,12,16,0) 100%),
    radial-gradient(90% 80% at 20% 100%, rgba(80,8,11,.9), rgba(80,8,11,0) 70%),
    linear-gradient(160deg, #9C1218, #6A0C10);
}
.hero-video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.15); opacity: 0; transition: opacity 1.2s ease;
  transform: scale(var(--hero-zoom, 1)); transform-origin: 50% 40%;
}
.hero-video.is-playing { opacity: 1; }
.hero-video.is-playing ~ .hero-glow { mix-blend-mode: multiply; }
.hero-grid {
  position: relative; flex: 1; display: grid; align-content: start; row-gap: var(--hero-gap);
  padding-top: calc(var(--header-h) + var(--hero-gap)); padding-bottom: var(--sp-6);
}
.hero-grid > * { min-width: 0; }
.hero-title { position: relative; z-index: 2; color: var(--bone); font-size: var(--fs-hero); line-height: .82; white-space: nowrap; margin-bottom: -.04em; }
.hero-title .ln { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.hero-title .ln > span { display: inline-block; }
.hero-foot { position: relative; z-index: 2; display: grid; gap: var(--sp-5); justify-items: start; max-width: 560px; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.5; color: rgba(255,240,232,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (min-width: 900px) { .hero { --fs-hero: clamp(4rem, min(8.6vw, 19svh), 12.5rem); } }

.video-toggle {
  position: absolute; z-index: 3; left: var(--gutter); bottom: var(--sp-4); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(21,19,17,.35); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.video-toggle:hover { background: rgba(21,19,17,.6); }
.vt-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.video-toggle.is-paused .vt-pause { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (min-width: 900px) { .video-toggle { left: auto; right: var(--gutter); bottom: auto; top: calc(var(--header-h) + var(--sp-4)); } }

/* Entrada do hero */
.js .hero-title .ln > span { transform: translateY(105%); }
.js .hero-foot { opacity: 0; }
.hero.is-ready .ln > span { transform: none; transition: transform .9s var(--ease); }
.hero.is-ready .ln:nth-child(2) > span { transition-delay: .08s; }
.hero.is-ready .hero-foot { opacity: 1; transition: opacity .7s ease .5s; }

/* Faixa em movimento */
.ticker { position: relative; overflow: hidden; background: var(--ink); border-block: 1px solid var(--line); padding-block: var(--sp-4); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: var(--sp-5); padding-right: var(--sp-5); white-space: nowrap; font-weight: 800; font-size: var(--fs-h3); line-height: 1; }
.ticker span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px rgba(224,56,61,.8); }
.ticker span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(243,238,230,.7); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =====================================================================
   ACADEMIA (texto + vídeo)
   ===================================================================== */
.intro { display: grid; gap: var(--col-gap); align-items: center; }
.intro-text { display: grid; gap: var(--sp-5); }
.vid-frame {
  position: relative; width: 100%; max-width: 400px; margin-inline: auto; aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1.5px rgba(255,217,160,.5), 0 0 40px rgba(255,190,120,.15);
}
.vid-frame video, .vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; object-fit: cover; background: #000; }
.vid-frame.is-ig { background: #fff; }
@media (min-width: 1024px) { .intro { grid-template-columns: 1fr auto; gap: var(--sp-9); } }

/* =====================================================================
   DIFERENCIAIS
   ===================================================================== */
.reasons-visual { display: none; }
.reasons-col .sec-title { margin-bottom: var(--head-gap); }
.reasons { border-top: 1px solid var(--line); }
.reason { padding-block: var(--sp-5); border-bottom: 1px solid var(--line); }
.reason h3 { position: relative; font-size: var(--fs-h3); line-height: 1; color: rgba(243,238,230,.55); transition: color .35s, transform .4s var(--ease); }
.reason h3::before { content: ""; position: absolute; left: calc(-1 * var(--sp-4)); top: .05em; bottom: .1em; width: 4px; border-radius: 2px; background: var(--red); transform: scaleY(0); transition: transform .35s var(--ease); }
.reason.is-active h3, .reason:hover h3 { color: var(--bone); }
.reason.is-active h3 { transform: translateX(var(--sp-4)); }
.reason.is-active h3::before { transform: scaleY(1); }
.reason p { margin-top: var(--sp-2); font-size: var(--fs-body); color: var(--muted); max-width: 48ch; }
.render-tag { position: absolute; z-index: 2; padding: var(--sp-1) var(--sp-3); border-radius: var(--r-pill); background: rgba(21,19,17,.82); color: var(--led); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.reasons-visual .render-tag { top: var(--sp-4); left: var(--sp-4); }
@media (min-width: 1024px) {
  .reasons-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: center; }
  .reasons-visual { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line); }
  .reasons-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s var(--ease); }
  .reasons-visual img.is-active { opacity: 1; transform: none; }
  .reason { padding-block: var(--sp-4); }
  .reason p { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .5s var(--ease), opacity .4s ease, margin .4s; }
  .reason.is-active p { max-height: 120px; opacity: 1; margin-top: var(--sp-2); }
}

/* =====================================================================
   ESTRUTURA (galeria)
   ===================================================================== */
.gallery { display: grid; gap: var(--sp-3); }
.g-stage { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #000; aspect-ratio: 4 / 5; isolation: isolate; }
.g-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.g-slide.is-active { opacity: 1; pointer-events: auto; }
.g-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(28px) brightness(.45) saturate(1.1); }
.g-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.04); transition: transform 6s ease; }
.g-slide.is-active .g-img { transform: none; }
.g-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--sp-6) var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm); color: #DDD6CC; background: linear-gradient(to top, rgba(10,9,8,.9), rgba(10,9,8,0));
}
.g-slide figcaption strong { display: block; margin-bottom: var(--sp-1); font-size: var(--fs-h3); line-height: 1; color: var(--bone); }
.g-slide .render-tag { right: var(--sp-5); bottom: var(--sp-5); }
.g-head { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: var(--sp-5) var(--sp-5) var(--sp-7); background: linear-gradient(to bottom, rgba(10,9,8,.85), rgba(10,9,8,0)); pointer-events: none; }
.g-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(21,19,17,.55); border: 1px solid rgba(243,238,230,.3); color: var(--bone); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.g-arrow:hover { background: var(--red); border-color: var(--red); }
.g-prev { left: var(--sp-4); } .g-next { right: var(--sp-4); }
.g-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: var(--sp-3); overflow-x: auto; scrollbar-width: none; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; opacity: .55; transition: opacity .25s, border-color .25s; }
.g-thumbs button:hover { opacity: .85; }
.g-thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--red-hi); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs span { position: absolute; left: var(--sp-2); bottom: var(--sp-1); font-weight: 800; font-size: var(--fs-xs); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (min-width: 768px) {
  .g-stage { aspect-ratio: 16 / 9; }
  .g-head { padding: var(--sp-6) var(--sp-6) var(--sp-7); }
  .g-slide figcaption { padding: var(--sp-7) var(--sp-6) var(--sp-6); }
}

/* =====================================================================
   GRADE DE AULAS
   ===================================================================== */
.sched-days { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.sched-days button {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  min-width: 64px; min-height: 48px; padding: 0 var(--sp-4); border-radius: var(--r-pill); border: 1.5px solid var(--line); background: transparent;
  font-weight: 800; font-size: 1.125rem; color: var(--muted); transition: color .2s, border-color .2s, background .2s;
}
.sched-days button:hover { color: var(--bone); border-color: rgba(243,238,230,.5); }
.sched-days button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.sched-days button small { margin-top: 3px; font-family: var(--f-body); font-weight: 600; font-size: .625rem; letter-spacing: .06em; text-transform: lowercase; opacity: .85; }
.sched-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .sched-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sched-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .sched-grid { grid-template-columns: repeat(4, 1fr); } }
.cls { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-5); border-radius: var(--r-md); background: var(--ink); border: 1px solid var(--line); overflow: hidden; animation: fade .35s ease; }
.cls::before { content: ""; position: absolute; left: 0; top: var(--sp-3); bottom: var(--sp-3); width: 3px; border-radius: 3px; background: var(--red-hi); }
.cls-calm::before { background: var(--led); }
.cls-fight::before { background: var(--bone); }
.cls-care::before { background: var(--muted); }
.cls-time { font-size: 1.5rem; line-height: 1; }
.cls-time span { display: block; margin-top: var(--sp-1); font-family: var(--f-body); font-weight: 500; font-size: var(--fs-xs); text-transform: none; color: var(--muted); }
.cls h3 { font-size: 1.375rem; line-height: 1; }
.cls h3 em { font-style: normal; font-size: .8em; color: var(--led); }
.cls-body p { margin-top: var(--sp-1); font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); }
.sched-empty { grid-column: 1 / -1; padding-block: var(--sp-5); color: var(--muted); }
.sched-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--muted); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   ACOMPANHAMENTO (etapas do aluno)
   ===================================================================== */
.follow { display: grid; gap: var(--col-gap); align-items: center; }
.follow-aside { display: grid; gap: var(--sp-4); }
.method { --p: 0; position: relative; display: grid; padding-left: 76px; }
.method::before, .method::after { content: ""; position: absolute; left: 26px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line); }
.method::after { background: var(--red-hi); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 10px rgba(224,56,61,.6); }
.step { position: relative; padding-bottom: var(--sp-6); }
.step:last-child { padding-bottom: 0; }
.step-n {
  position: absolute; left: -76px; top: 0; z-index: 1; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); border: 1.5px solid rgba(243,238,230,.35); font-size: 1.25rem; line-height: 1;
}
.step-last .step-n { border-color: var(--led); box-shadow: var(--glow); }
.step h3 { padding-top: var(--sp-2); font-size: var(--fs-h3); line-height: 1; }
.step p { margin-top: var(--sp-2); font-size: var(--fs-body); color: var(--muted); max-width: 46ch; }
@media (min-width: 1024px) { .follow { grid-template-columns: 5fr 7fr; gap: var(--sp-9); } }

/* =====================================================================
   AVALIAÇÕES
   ===================================================================== */
.rv-top { display: grid; gap: var(--col-gap); align-items: center; }
.score { display: grid; justify-items: start; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--r-lg); background: var(--ink); border: 1px solid var(--line); }
.score-n { font-size: var(--fs-stat); line-height: .8; }
.stars { display: inline-flex; gap: 2px; color: var(--led); }
.stars .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.star-part { opacity: .45; }
.score-label { font-size: var(--fs-sm); color: var(--muted); }
.score .pill { margin-top: var(--sp-2); }
.big-quote p { font-size: var(--fs-quote); line-height: var(--lh-tight); max-width: 20ch; }
.big-quote footer { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 1024px) { .rv-top { grid-template-columns: 320px 1fr; gap: var(--sp-8); } }
.rv-marquee { margin-top: var(--sp-7); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; gap: var(--sp-4); width: max-content; padding-block: var(--sp-1); animation: ticker 70s linear infinite; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv-card { flex: none; width: 360px; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); border-radius: var(--r-md); background: var(--ink); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.rv-card:hover { border-color: rgba(224,56,61,.6); transform: translateY(-4px); }
.rv-stars { color: var(--led); letter-spacing: .14em; font-size: var(--fs-sm); }
.rv-card blockquote p { font-size: var(--fs-sm); line-height: 1.55; color: #E1DAD0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--sp-3); font-weight: 700; font-size: var(--fs-sm); }
.rv-card figcaption small { margin-left: auto; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.rv-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1rem; }

/* =====================================================================
   PLANOS
   ===================================================================== */
.plan-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-1); padding: var(--sp-1); margin-bottom: var(--sp-5); border-radius: var(--r-pill); background: rgba(21,19,17,.08); }
.plan-tabs button { min-height: 44px; padding: 0 var(--sp-1); border: 0; border-radius: var(--r-pill); background: none; font-weight: 600; font-size: var(--fs-xs); }
.plan-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bone); }
.plan { display: none; position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-5); border-radius: var(--r-lg); background: var(--card-lt); transition: transform .4s var(--ease), box-shadow .4s; }
.plan.is-active { display: grid; gap: var(--sp-3); }
.plan:hover { transform: translateY(-6px); }
.plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 60%); }
.plan:hover::after { opacity: 1; }
.plan-name { font-family: var(--f-logo); font-weight: 400; font-size: var(--fs-sm); letter-spacing: .14em; }
.plan-price { display: flex; align-items: flex-start; flex-wrap: wrap; font-size: var(--fs-stat); line-height: .8; }
.plan-price .cur { margin: .25em var(--sp-1) 0 0; font-size: .3em; }
.plan-price .per { align-self: flex-end; margin: 0 0 .4em var(--sp-2); font-family: var(--f-body); font-weight: 500; text-transform: none; font-size: var(--fs-sm); letter-spacing: 0; color: var(--muted-d); }
.plan-total { font-size: var(--fs-sm); color: var(--muted-d); }
.plan-ideal { font-size: var(--fs-body); }
.plan-featured { background: var(--red); color: #fff; box-shadow: 0 30px 60px -30px rgba(126,14,19,.6); }
.plan-featured::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255,217,160,.25), transparent 60%); }
.plan-featured .plan-price .per, .plan-featured .plan-total { color: rgba(255,240,232,.82); }
.plan-flag { position: absolute; top: -14px; left: var(--sp-5); padding: var(--sp-1) var(--sp-3); border-radius: var(--r-pill); background: var(--led); color: var(--red-deep); font-size: var(--fs-xs); font-weight: 700; }
@media (min-width: 1024px) {
  .plan-tabs { display: none; }
  .plans { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, auto); gap: 0 var(--sp-4); }
  .plan, .plan.is-active { display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; gap: 0; }
  .plan > * { margin-bottom: var(--sp-4); }
  .plan > .pill { margin: var(--sp-2) 0 0; align-self: end; }
  .plan-flag { margin: 0; }
}
.how:not(:has(:not([data-pending]))) { display: none; }

/* =====================================================================
   DIÁRIA GRATUITA
   ===================================================================== */
.diaria-grid { position: relative; display: grid; gap: var(--col-gap); align-items: center; }
.diaria-intro { display: grid; gap: var(--sp-5); }
.diaria-intro .sec-lead { color: rgba(255,240,232,.88); }
.cta-card { display: grid; gap: var(--sp-4); padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); background: var(--bone); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.steps3 { border-top: 1px solid rgba(21,19,17,.12); }
.steps3 li { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); align-items: start; padding-block: var(--sp-4); border-bottom: 1px solid rgba(21,19,17,.12); font-size: var(--fs-body); color: var(--muted-d); }
.steps3 strong { color: var(--ink); }
.steps3 .step-n { position: static; width: 40px; height: 40px; font-size: 1.125rem; background: transparent; border-color: var(--red); color: var(--red); }
.form-micro { font-size: var(--fs-xs); color: var(--muted-d); }
.form-alt { font-size: var(--fs-sm); }
.form-alt a { color: var(--red); font-weight: 600; }
@media (min-width: 1024px) { .diaria-grid { grid-template-columns: 5fr 6fr; gap: var(--sp-9); } .cta-card { padding: var(--sp-7); } }

/* =====================================================================
   CONTATO
   ===================================================================== */
.loc { display: grid; gap: var(--col-gap); }
.map { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map .render-tag { top: var(--sp-4); left: var(--sp-4); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.map-facade { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; justify-items: start; gap: var(--sp-2); padding: var(--sp-5); background: linear-gradient(to top, rgba(21,19,17,.92), rgba(21,19,17,0)); }
.map-facade p { font-size: var(--fs-xs); color: var(--muted); }
.loc-info { border-top: 1px solid var(--line); }
.loc-block { padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.loc-block h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); font-size: var(--fs-body); font-weight: 700; }
.loc-block h3 .ic { color: var(--led); }
.loc-block p { font-size: var(--fs-body); color: #D5CEC4; }
.loc-block .link { color: var(--led); }
.loc-block .loc-park { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); font-size: var(--fs-sm); }
.loc-park .ic { width: 18px; height: 18px; color: var(--led); }
.loc-links { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); margin-top: var(--sp-2); }
.open-now { margin-left: auto; padding: 2px var(--sp-3); border-radius: var(--r-pill); background: rgba(243,238,230,.08); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.open-now.is-open { background: rgba(63,163,107,.18); color: #7FD3A3; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.hours th, .hours td { padding-block: var(--sp-1); color: #D5CEC4; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bone); font-weight: 700; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 var(--sp-2) 2px 0; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 8px rgba(224,56,61,.8); }
@media (min-width: 1024px) { .loc { grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: stretch; } .map { aspect-ratio: auto; min-height: 380px; } }

/* =====================================================================
   DÚVIDAS
   ===================================================================== */
.faq-grid { display: grid; gap: var(--col-gap); }
.faq-aside { display: grid; gap: var(--sp-4); align-content: start; }
.faq-aside .link { justify-self: start; color: var(--led); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: var(--sp-4); list-style: none; cursor: pointer; font-weight: 600; font-size: var(--fs-body); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq-ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .3s var(--ease), background .2s, border-color .2s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-ic { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq-a p { max-width: 62ch; padding-bottom: var(--sp-5); font-size: var(--fs-body); color: var(--muted); }
.faq-a a { color: var(--led); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-9); align-items: center; } }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer { padding-top: var(--sp-8); background: #0F0E0C; color: var(--muted); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer h3 { margin-bottom: var(--sp-3); font-size: var(--fs-sm); font-weight: 700; color: var(--bone); }
.footer a { color: var(--bone); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .link { display: inline-block; margin-top: var(--sp-2); text-decoration: underline; }
.logo-footer { margin: 0; align-items: flex-start; }
.logo-footer .logo-word { font-size: 1.8rem; }
.logo-footer .logo-gym { align-self: flex-end; }
.footer-tag { margin-top: var(--sp-4); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-5) calc(var(--sp-5) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.footer-bottom a + a { margin-left: var(--sp-5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* =====================================================================
   ELEMENTOS FIXOS, GALERIA AMPLIADA, COOKIES
   ===================================================================== */
.wa-float {
  position: fixed; right: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bone); box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 1.5px rgba(255,217,160,.55);
  opacity: 0; transform: translateY(var(--sp-4)); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), bottom .3s var(--ease), box-shadow .3s;
}
.wa-float.is-in { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 1.5px var(--led), var(--glow); }
.wa-float .ic { width: 26px; height: 26px; }
.wa-tip { position: absolute; right: 68px; white-space: nowrap; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-pill); background: var(--bone); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; opacity: 0; transform: translateX(var(--sp-2)); transition: .3s; pointer-events: none; }
.wa-tip.is-on { opacity: 1; transform: none; }
.has-sticky .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 89; padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: rgba(21,19,17,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.has-sticky .sticky-cta { transform: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } .has-sticky .wa-float { bottom: var(--sp-4); } }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 60px var(--sp-3); background: rgba(15,14,12,.96); }
.lb-fig { max-width: min(1200px, 100%); display: grid; gap: var(--sp-3); justify-items: center; }
.lb-fig img { max-height: calc(100svh - 150px); width: auto; object-fit: contain; border-radius: var(--r-sm); }
.lb-fig figcaption { font-size: var(--fs-sm); color: var(--muted); }
.lb-count { margin-left: var(--sp-3); color: var(--led); font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--line); }
.lb-close { top: var(--sp-4); right: var(--sp-4); }
.lb-prev { left: var(--sp-3); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--sp-3); top: 50%; transform: translateY(-50%); }

.cookies { position: fixed; left: var(--sp-3); right: var(--sp-3); bottom: calc(var(--sp-3) + env(safe-area-inset-bottom)); z-index: 150; max-width: 560px; display: grid; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-md); background: var(--bone); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.4); font-size: var(--fs-sm); }
.cookies a { color: var(--red); }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
@media (min-width: 768px) { .cookies { left: var(--sp-5); right: auto; bottom: var(--sp-5); } }

/* =====================================================================
   ANIMAÇÕES DE ENTRADA (aplicadas pelo JS)
   ===================================================================== */
.js [data-anim] { transition: opacity .8s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease), filter .8s ease; transition-delay: var(--d, 0ms); }
.js [data-anim="up"]:not(.in)    { opacity: 0; transform: translateY(36px); }
.js [data-anim="left"]:not(.in)  { opacity: 0; transform: translateX(-48px); }
.js [data-anim="right"]:not(.in) { opacity: 0; transform: translateX(48px); }
.js [data-anim="scale"]:not(.in) { opacity: 0; transform: scale(.92); }
.js [data-anim="title"] { clip-path: inset(0 0 0 0); }
.js [data-anim="title"]:not(.in) { clip-path: inset(0 0 100% 0); transform: translateY(.25em); opacity: .2; filter: blur(4px); }
.js [data-anim="img"] { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-anim="img"]:not(.in) { clip-path: inset(100% 0 0 0 round var(--r-lg)); }

/* =====================================================================
   DESKTOP: cada seção ocupa exatamente uma tela
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --head-gap: var(--sp-5); }
  html { scroll-snap-type: y proximity; }
  .hero, .sec { scroll-snap-align: start; }
  .sec {
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding-block: calc(var(--header-h) + var(--sp-5)) var(--sp-5);
  }
  .sec > .wrap, .sec > .rv-marquee { width: 100%; }
  /* Mídias acompanham a altura disponível */
  .vid-frame, .reasons-visual { height: calc(100svh - var(--header-h) - 2 * var(--sp-7)); }
  .vid-frame { width: auto; max-width: none; }
  .gallery-sec { padding-block: calc(var(--header-h) + var(--sp-4)) var(--sp-4); }
  .g-stage { aspect-ratio: auto; height: calc(100svh - var(--header-h) - 140px); }
  .g-thumbs button { aspect-ratio: auto; height: 84px; }
  .map { min-height: 0; }
}

/* =====================================================================
   MOVIMENTO REDUZIDO: sem deslocamentos, mantém só o aparecer gradual
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title .ln > span { transform: none; }
  .js [data-anim] { transform: none !important; clip-path: none !important; filter: none !important; }
  .ticker-track { animation-duration: 90s; }
  .rv-track { animation-duration: 160s; }
  .plan:hover, .reason.is-active h3 { transform: none; }
}

/* =====================================================================
   MODO DE REVISÃO (?review=1)
   ===================================================================== */
[data-pending] { display: none !important; }
.review-mode [data-pending] { display: revert !important; }
.review-mode details[data-pending], .review-mode .loc-block[data-pending] { display: block !important; }
.review-mode .ph { padding: 0 var(--sp-1); border-radius: 3px; background: #FFF2B3; color: #4A3B00; font-size: .85em; }
.review-mode [data-confirm="true"] { outline: 1px dashed #6FA8FF; outline-offset: 3px; }
.review-mode [data-pending] { outline: 1px dashed #E2C044; outline-offset: 3px; }
.review-mode [data-flag][hidden] { display: block !important; opacity: .5; }
.review-banner { position: fixed; left: 50%; top: calc(var(--header-h) + var(--sp-2)); transform: translateX(-50%); z-index: 120; max-width: calc(100% - var(--sp-5)); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-pill); background: #FFF2B3; color: #4A3B00; font-size: var(--fs-xs); font-weight: 600; text-align: center; }

/* Página de política (usa .display-l e .pol-h) */
.policy .display-l { margin-bottom: var(--sp-4); }
@media (min-width: 1024px) {
  .faq summary { padding-block: var(--sp-3); }
}
#contato .sec-title { max-width: none; }

/* Rodapé enxuto: só o menu (o Contato acima faz o papel de rodapé informativo) */
.footer { padding-top: 0; }
.footer-menu { display: grid; gap: var(--sp-5); padding-bottom: var(--sp-6); }
.footer-menu ul { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.footer-menu a { font-size: var(--fs-sm); font-weight: 500; color: rgba(243,238,230,.82); }
.footer-menu a:hover { color: var(--bone); }
@media (min-width: 1024px) { .footer-menu { grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-8); } .footer-menu ul { justify-content: flex-end; } }

/* =====================================================================
   ACADEMIA unificada: texto + diferenciais + imagem + vídeo
   ===================================================================== */
.about { display: grid; gap: var(--col-gap); align-items: center; }
.about-text { display: grid; gap: var(--sp-4); align-content: center; }
.about-text .sec-title { margin-bottom: var(--sp-2); }
.about-sub { margin-top: var(--sp-4); font-size: var(--fs-sm); font-weight: 700; color: var(--led); }
.about-text .reason { padding-block: var(--sp-3); }
.about-media { position: relative; }
.about-media .intro-video { margin: 0; }
@media (max-width: 1023px) {
  .about-media .vid-frame { max-width: 340px; }
}
@media (min-width: 1024px) {
  .about { grid-template-columns: 5fr 6fr; gap: var(--sp-8); }
  .about-media { height: calc(100svh - var(--header-h) - 2 * var(--sp-5)); max-height: 720px; padding-left: var(--sp-8); }
  .about-media .reasons-visual { height: 100%; }
  .about-media .intro-video {
    position: absolute; left: 0; bottom: var(--sp-6); z-index: 2; height: 72%;
  }
  .about-media .vid-frame { height: 100%; width: auto; max-width: none; box-shadow: 0 0 0 1.5px rgba(255,217,160,.6), 0 30px 60px -20px rgba(0,0,0,.7); }
  .about-media .reasons-visual .render-tag { left: auto; right: var(--sp-4); }
}
.about-title { max-width: 22ch; }
@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "text media"; row-gap: var(--head-gap); column-gap: var(--sp-8); align-items: stretch; }
  .about-title { grid-area: title; max-width: none; }
  .about-text { grid-area: text; }
  .about-media { grid-area: media; height: auto; min-height: 0; max-height: none; }
  .about-sub { margin-top: var(--sp-2); }
}
.about-text { gap: var(--sp-3); }
@media (min-width: 1024px) {
  .about-text .reason { padding-block: var(--sp-2); }
  .about-title { white-space: nowrap; }
}

/* =====================================================================
   ESCALA PROPORCIONAL À TELA
   Em 1366px de largura os valores são os mesmos de antes; a partir daí
   fontes, espaços e largura do conteúdo crescem junto com a tela.
   ===================================================================== */
:root {
  --fs-h2:    clamp(2.5rem, 1rem + 3.9vw, 6rem);
  --fs-h3:    clamp(1.5rem, .6rem + 1.6vw, 2.75rem);
  --fs-stat:  clamp(3.75rem, 1.5rem + 5vw, 8.5rem);
  --fs-quote: clamp(2rem, .8rem + 3vw, 5rem);
  --fs-lead:  clamp(1.0625rem, .55rem + .85vw, 1.625rem);
  --fs-body:  clamp(1.0625rem, .7rem + .45vw, 1.3125rem);
  --fs-sm:    clamp(.9375rem, .6rem + .4vw, 1.1875rem);
  --fs-xs:    clamp(.8125rem, .5rem + .35vw, 1rem);
  --sp-5: clamp(24px, 1.76vw, 36px);
  --sp-6: clamp(32px, 2.35vw, 48px);
  --sp-7: clamp(48px, 3.52vw, 72px);
  --sp-8: clamp(64px, 4.7vw, 96px);
  --sp-9: clamp(96px, 7.03vw, 144px);
  --maxw: clamp(1360px, 88vw, 1840px);
}
@media (min-width: 768px) { :root { --header-h: clamp(80px, 5.9vw, 104px); } }
.pill { min-height: clamp(52px, 2.4rem + 1vw, 66px); padding: 0 clamp(32px, 2.35vw, 48px); }
.pill-sm { min-height: clamp(44px, 2rem + .8vw, 54px); padding: 0 clamp(24px, 1.76vw, 34px); }
.logo-word { font-size: clamp(1.3rem, .6rem + .9vw, 1.9rem); }
.logo-gym { font-size: clamp(.5rem, .25rem + .35vw, .75rem); }
.nav a { font-size: var(--fs-sm); }
.rv-card { width: clamp(340px, 26vw, 500px); }
.score { padding: var(--sp-6); }
.sched-days button { min-width: clamp(64px, 4.7vw, 92px); min-height: clamp(48px, 3.5vw, 64px); font-size: clamp(1.125rem, .6rem + .7vw, 1.5rem); }
.cls { grid-template-columns: clamp(64px, 4.7vw, 92px) 1fr; }
.cls-time { font-size: clamp(1.5rem, .8rem + 1vw, 2.1rem); }
.cls h3 { font-size: clamp(1.375rem, .7rem + 1vw, 2rem); }
.step-n { width: clamp(54px, 4vw, 76px); height: clamp(54px, 4vw, 76px); font-size: clamp(1.25rem, .7rem + .7vw, 1.75rem); }
.method { padding-left: clamp(76px, 5.6vw, 104px); }
.method::before, .method::after { left: calc(clamp(54px, 4vw, 76px) / 2 - 1px); }
.follow .step-n, .step-n { left: calc(-1 * clamp(76px, 5.6vw, 104px)); }
.steps3 .step-n { left: auto; }
.faq-ic { width: clamp(32px, 2.3vw, 44px); height: clamp(32px, 2.3vw, 44px); }
.stars .ic { width: clamp(20px, 1.5vw, 28px); height: clamp(20px, 1.5vw, 28px); }
.ic { width: clamp(20px, 1.4vw, 26px); height: clamp(20px, 1.4vw, 26px); }
.plan-flag { top: -14px; }

/* =========================================================
   ACADEMIA — vídeo de apresentação em tela cheia
   ========================================================= */
.showreel { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; color: var(--bone); padding: calc(var(--header-h) + var(--sp-5)) 0 var(--sp-7); }
.sr-media { position: absolute; inset: 0; z-index: 0; background: #000; }
.sr-media iframe, .sr-media video { position: absolute; top: 50%; left: 50%; border: 0; transform: translate(-50%, -50%);
  width: max(100%, calc(100svh * 16 / 9)); height: max(100%, calc(100vw * 9 / 16)); object-fit: cover; pointer-events: none; }
/* fundo: corta as bordas para esconder título/logo do player */
.sr-media iframe { width: max(120%, calc(120svh * 16 / 9)); height: max(120%, calc(120vw * 9 / 16)); }
.sr-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .6s ease;
  background: linear-gradient(0deg, rgba(10,9,8,.92) 0%, rgba(10,9,8,.55) 38%, rgba(10,9,8,.15) 70%, rgba(10,9,8,.45) 100%),
              linear-gradient(90deg, rgba(126,14,19,.45) 0%, transparent 55%); }
.sr-content { position: relative; z-index: 2; width: 100%; transition: opacity .5s ease, transform .5s ease; }
.sr-content .sec-title { max-width: 14ch; }
.sr-content .sec-lead { max-width: 46ch; margin-top: var(--sp-4, 16px); color: var(--concrete); }
.sr-play { display: inline-flex; align-items: center; gap: var(--sp-4, 16px); margin-top: var(--sp-6); background: none; border: 0; color: var(--bone); font-family: inherit; font-weight: 700; font-size: var(--fs-body); line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; text-align: left; }
.sr-play small { display: block; font-weight: 500; font-size: var(--fs-xs); letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: 4px; }
.sr-play-ic { width: clamp(64px, 5.4vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--red); animation: srPulse 2.4s ease-out infinite; transition: transform .25s ease, background .25s ease; }
.sr-play-ic svg { width: 42%; margin-left: 8%; }
.sr-play:hover .sr-play-ic, .sr-play:focus-visible .sr-play-ic { transform: scale(1.08); background: var(--red-hi); }
@keyframes srPulse { 0% { box-shadow: 0 0 0 0 rgba(179,22,28,.55); } 70%, 100% { box-shadow: 0 0 0 26px rgba(179,22,28,0); } }
.sr-facts { list-style: none; margin: var(--sp-7) 0 0; padding: var(--sp-4, 16px) 0 0; border-top: 1px solid rgba(243,238,230,.22); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4, 16px); }
.sr-facts li { font-size: var(--fs-sm); font-weight: 600; color: var(--bone); padding-left: 14px; position: relative; }
.sr-facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--red-hi); border-radius: 50%; }
.sr-ctrl { position: absolute; z-index: 3; right: var(--sp-5); top: calc(var(--header-h) + 16px); display: flex; gap: 10px; }
.sr-ctrl[hidden] { display: none; }
.sr-ctrl button { background: rgba(10,9,8,.7); color: var(--bone); border: 1px solid rgba(243,238,230,.3); border-radius: 999px; padding: 10px 18px; font-family: inherit; font-weight: 600; font-size: var(--fs-xs); cursor: pointer; }
.sr-ctrl button:hover { background: var(--red); border-color: var(--red); }
/* tocando com áudio: vídeo inteiro, sem textos por cima */
.showreel.is-playing .sr-shade, .showreel.is-playing .sr-content { opacity: 0; pointer-events: none; }
.showreel.is-playing .sr-content { transform: translateY(20px); }
.showreel.is-playing .sr-media iframe, .showreel.is-playing .sr-media video { top: var(--header-h); width: 100%; height: calc(100% - var(--header-h)); transform: translateX(-50%); object-fit: contain; pointer-events: auto; }
@media (max-width: 767px) {
  .sr-facts { grid-template-columns: 1fr 1fr; }
  .sr-facts li:last-child { grid-column: 1 / -1; }
  .sr-ctrl { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sr-play-ic { animation: none; } }

/* =========================================================
   DEPOIS DA MATRÍCULA — painéis por etapa (abre o ativo)
   ========================================================= */
.journey { display: grid; gap: var(--head-gap, var(--sp-6)); }
.journey-head { display: grid; gap: var(--sp-4, 16px); }
@media (min-width: 1024px) {
  .journey-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--col-gap); }
  .journey-head .sec-lead { justify-self: end; max-width: 40ch; }
}
.jr { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, .9vw, 16px); height: clamp(380px, 56svh, 640px); }
.jr-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-lg, 28px);
  background: var(--ink-2); isolation: isolate;
  transition: flex-grow .7s cubic-bezier(.2,.8,.2,1);
}
.jr-panel.is-open { flex-grow: 3.6; }
.jr-panel > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(1) contrast(1.05) brightness(.7);
  transform: scale(1.06); transition: filter .7s ease, transform 1.2s ease;
}
.jr-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.1) 30%, rgba(10,9,8,.2) 55%, rgba(10,9,8,.9) 100%);
}
.jr-panel.is-open > img { filter: grayscale(.35) contrast(1.05) brightness(.78); transform: scale(1); }
.jr-panel.is-open::after {
  background: linear-gradient(180deg, rgba(10,9,8,.35) 0%, rgba(10,9,8,0) 35%, rgba(10,9,8,.15) 55%, rgba(10,9,8,.92) 100%),
              linear-gradient(90deg, rgba(126,14,19,.35), rgba(126,14,19,0) 60%);
}

/* Aba recolhida: número no alto, título na vertical embaixo */
.jr-tab {
  position: absolute; inset: 0; width: 100%; background: none; border: 0; color: var(--bone); cursor: pointer;
  font-family: inherit; text-align: center; padding: var(--sp-5) 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  transition: opacity .35s ease;
}
.jr-n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--concrete); }
.jr-v {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--fs-body); font-weight: 600; white-space: nowrap;
}
.jr-panel.is-open .jr-tab { opacity: 0; pointer-events: none; }
.jr-tab:focus-visible { outline: 2px solid var(--red-hi); outline-offset: -6px; border-radius: inherit; }
.jr-panel:not(.is-open):hover > img { filter: grayscale(1) brightness(.85); }

/* Conteúdo do painel aberto */
.jr-body {
  position: absolute; inset: 0; padding: clamp(20px, 2vw, 36px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3, 12px);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s ease, transform .5s ease;
}
.jr-panel.is-open .jr-body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.jr-pill {
  position: absolute; top: clamp(16px, 1.6vw, 28px); left: clamp(16px, 1.6vw, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bone); color: var(--ink); border-radius: 999px; padding: 9px 16px 9px 12px;
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.jr-pill i { width: 12px; height: 12px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 4px rgba(224,56,61,.22); }
.jr-body h3 { font-size: var(--fs-h3); line-height: 1; color: #fff; max-width: 18ch; }
.jr-body p { font-size: var(--fs-body); color: var(--concrete); max-width: 46ch; }

/* Celular e tablet: painéis empilhados, o aberto mostra foto e texto */
@media (max-width: 899px) {
  .jr { flex-direction: column; height: auto; }
  .jr-panel { flex: none; height: 76px; border-radius: var(--r-md, 20px); transition: height .6s cubic-bezier(.2,.8,.2,1); }
  .jr-panel.is-open { height: 360px; }
  .jr-tab { flex-direction: row; padding: 0 22px; }
  .jr-v { writing-mode: horizontal-tb; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-panel, .jr-panel > img, .jr-body { transition-duration: .01s; }
}

/* Grade de aulas no celular: os 7 dias sempre numa linha só */
@media (max-width: 767px) {
  .sched-days { flex-wrap: nowrap; gap: 4px; }
  .sched-days button { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 2px; font-size: 1rem; border-radius: 14px; }
  .sched-days button small { font-size: .5625rem; letter-spacing: .02em; }
}

/* Botão do topo no celular: "Agendar diária gratuita" sempre numa linha */
@media (max-width: 767px) {
  .header-cta { white-space: nowrap; padding-inline: 14px; font-size: .8125rem; letter-spacing: 0; }
}
@media (max-width: 359px) {
  .header-cta { padding-inline: 10px; font-size: .75rem; }
}

/* Grade de aulas (tablet e computador): os 7 dias ocupam a largura toda da seção,
   alinhados às mesmas margens do título e dos cartões das aulas */
@media (min-width: 768px) {
  .sched-days { flex-wrap: nowrap; gap: var(--sp-2); }
  .sched-days button { flex: 1 1 0; min-width: 0; padding-inline: var(--sp-2); }
}

/* Padronização: cabeçalhos de seção usam o mesmo espaçamento (.sec-head) */
.journey { display: block; }
.diaria-intro { gap: var(--sp-4); }

/* Planos: parcelas, valor total e observação do cartão */
.plan-total strong { font-weight: 700; color: var(--ink); }
.plan-featured .plan-total strong { color: #fff; }
.plans-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--muted-d); max-width: 70ch; }
.plan-price .cur { text-transform: none; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; font-size: max(.24em, 14px); white-space: nowrap; }
.plan-price .per { white-space: nowrap; }

/* Planos — estrutura única: nome · pagamento · preço · descrição · botão · total no rodapé.
   Todos os cartões alinham as mesmas linhas, e o botão fica na mesma altura. */
.plan { grid-template-rows: auto auto auto 1fr auto auto; align-content: stretch; }
.plan-inst { margin-bottom: calc(-1 * var(--sp-2)); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--muted-d); }
.plan-featured .plan-inst { color: rgba(255,240,232,.85); }
.plan-price .cur { font-family: inherit; font-weight: inherit; font-size: .3em; text-transform: none; }
.plan-price .per { margin-left: var(--sp-1); }
.plan-total { margin-top: calc(-1 * var(--sp-1)); text-align: center; font-size: var(--fs-xs); color: var(--muted-d); }
.plans-note { margin: var(--sp-5) auto 0; text-align: center; max-width: 80ch; }
@media (min-width: 1024px) {
  .plans { grid-template-rows: repeat(6, auto); }
  .plan, .plan.is-active { grid-row: 1 / span 6; grid-template-rows: subgrid; }
  .plan > .plan-inst { margin-bottom: var(--sp-2); }
  .plan > .pill { margin: var(--sp-2) 0 0; }
  .plan > .plan-total { margin: var(--sp-3) 0 0; }
}
@media (max-width: 1023px) {
  .plan-inst { margin-bottom: 0; }
  .plan-total { margin-top: 0; }
}

/* Logo em negrito. A fonte Michroma só existe no peso normal, então o traço
   é engrossado com um contorno da mesma cor (fica igual em todos os navegadores). */
.logo-word { -webkit-text-stroke: .055em currentColor; letter-spacing: .05em; }
.logo-gym { -webkit-text-stroke: .04em currentColor; font-weight: 400; }

/* Espaço entre o cabeçalho da seção (título + texto) e o conteúdo: maior e igual em todas */
:root { --head-gap: var(--sp-6); }
@media (min-width: 1024px) { :root { --head-gap: var(--sp-7); } }
/* Enquadramento das fotos das etapas (painéis estreitos) */
.jr-panel:nth-child(4) > img { object-position: 52% 50%; }
.jr-panel:nth-child(1) > img { object-position: 35% 50%; }

/* Hero no celular: altura do conteúdo, sem o vazio abaixo do botão.
   O espaço abaixo do botão fica igual ao espaço menu → título → texto. */
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero-grid { flex: none; padding-bottom: calc(var(--hero-gap) + var(--sp-2)); }
}
@media (max-width: 767px) {
  .hero-grid { padding-bottom: calc(var(--hero-gap) + 48px); }
  .hero .video-toggle { left: auto; right: 20px; bottom: 16px; }
}

/* Celular: no lugar do botão "Agendar diária gratuita" no topo, o botão do menu
   ganha a palavra MENU (a diária continua na barra fixa de baixo e no hero). */
.menu-label { display: none; }
.br-mobile { display: none; }
@media (max-width: 767px) {
  .site-header .header-cta { display: none; }
  .menu-toggle { width: auto; gap: 10px; grid-auto-flow: column; padding: 0 var(--sp-3); color: var(--bone); }
  .menu-label { display: inline; font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }

  /* Hero: título maior, em 3 linhas (A MELHOR / ACADEMIA / DE RIO PRETO.) */
  .br-mobile { display: inline; }
  .hero { --fs-hero: clamp(3rem, 17.4vw, 6rem); }
}
