/* =====================================================================
   BOX FORJA 47 — CrossFit & treino funcional
   Pólo: MODERNO + MOTION. Dark + acento elétrico.
   Mobile-first (base ~360-390px) → @media min-width sobe ao desktop.
   Anima só opacity/transform. prefers-reduced-motion neutraliza tudo.
   ===================================================================== */

/* -------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Paleta */
  --carvao:   #0A0B0D;   /* fundo base — o chão do box */
  --grafite:  #13151A;   /* cards, blocos, seções alternadas */
  --grafite-2:#1B1E25;   /* elevação extra */
  --lime:     #C6FF3A;   /* acento primário — ação/positivo */
  --lime-dim: #a7da27;
  --chama:    #FF5A1F;   /* acento secundário — intensidade */
  --giz:      #F4F4F0;   /* texto principal */
  --fumaca:   #9aa1ad;   /* texto de apoio — aclarado p/ AA (>=4.5:1 no carvão) */
  --fumaca-2: #6B7280;   /* metadados/labels decorativos */
  --linha:    rgba(244,244,240,0.10);
  --linha-2:  rgba(244,244,240,0.16);

  /* Tipografia */
  --display: "Anton", "Archivo Black", Impact, sans-serif;
  --corpo:   "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Ritmo */
  --pad-x: clamp(1.15rem, 5vw, 2rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
  --maxw: 1280px;
  --radius: clamp(0.75rem, 2vw, 1.1rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------
   RESET
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--corpo);
  background: var(--carvao);
  color: var(--giz);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.0; font-weight: 400; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 200;
  background: var(--lime); color: var(--carvao);
  padding: 0.6rem 1rem; border-radius: 0.5rem; font-weight: 700;
  transform: translateY(-180%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------------
   TIPOGRAFIA UTIL
   ------------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: clamp(0.72rem, 2.6vw, 0.82rem);
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fumaca);
}
.kicker__dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--lime); flex: none;
  box-shadow: 0 0 12px rgba(198,255,58,0.7);
}
.kicker--lime .kicker__dot { background: var(--lime); box-shadow: 0 0 12px rgba(198,255,58,0.7); }
.kicker--orange .kicker__dot { background: var(--chama); box-shadow: 0 0 12px rgba(255,90,31,0.7); }

em {
  font-style: normal;
  color: var(--lime);
}

/* -------------------------------------------------------------------
   BOTÕES
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.9rem, 2.5vw, 1.05rem) clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700; letter-spacing: 0.01em;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
}
.btn--lg { font-size: clamp(1rem, 2.8vw, 1.15rem); padding: clamp(1rem, 3vw, 1.25rem) clamp(1.7rem, 5vw, 2.4rem); }

.btn--primary {
  background: var(--lime); color: var(--carvao);
  box-shadow: 0 0 0 0 rgba(198,255,58,0.45);
}
.btn--primary:hover {
  background: var(--chama); color: var(--giz);
  transform: translateY(-3px) scale(1.02);
}
.btn--ghost {
  background: transparent; color: var(--giz);
  border-color: var(--linha-2);
}
.btn--ghost:hover {
  border-color: var(--lime); color: var(--lime);
  transform: translateY(-3px);
}

/* =====================================================================
   TOPBAR
   ===================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad-x);
  background: rgba(10,11,13,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.topbar__sig {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.topbar__mark { color: var(--lime); display: inline-flex; }
.topbar__name { line-height: 1; }

.topbar__nav { display: none; }
.topbar__cta {
  display: none;
  background: var(--lime); color: var(--carvao);
  padding: 0.55rem 1.1rem; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.02em;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.topbar__cta:hover { background: var(--chama); color: var(--giz); transform: translateY(-2px); }

.topbar__burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--linha-2); border-radius: 0.6rem;
}
.topbar__burger span {
  display: block; width: 20px; height: 2px; background: var(--giz);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.topbar__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.topbar__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Overlay menu (mobile) */
.overlay {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,11,13,0.97);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; }
.overlay__nav {
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: center; padding: var(--pad-x);
}
.overlay__nav a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.5rem 0; color: var(--giz);
  transition: color 0.2s var(--ease);
}
.overlay__nav a:hover { color: var(--lime); }
.overlay__cta {
  margin-top: 1rem; color: var(--carvao) !important;
  background: var(--lime); border-radius: 999px;
  padding: 0.8rem 1.4rem !important; font-size: 1.1rem !important;
}

/* =====================================================================
   1 — HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(5rem, 16vw, 7rem) var(--pad-x) clamp(2.5rem, 8vw, 3.5rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) contrast(1.12) brightness(0.62) saturate(0.78);
  transform: scale(1.06);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0.35) 35%, rgba(10,11,13,0.92) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.7) 0%, rgba(10,11,13,0.1) 60%);
}
.hero__grid { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.9rem, 14vw, 5rem);
  letter-spacing: -0.01em;
  margin: 0.9rem 0 1.1rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title .line--accent > span { color: var(--lime); }

.hero__lead {
  max-width: 46ch;
  color: var(--giz);
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  opacity: 0.92;
}
.hero__lead strong { color: var(--lime); font-weight: 700; }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}
.hero__actions .btn { flex: 1 1 auto; min-width: 0; }
.hero__note {
  font-size: clamp(0.78rem, 2.6vw, 0.85rem);
  color: var(--fumaca); letter-spacing: 0.01em;
}

/* WOD whiteboard */
.wod {
  margin-top: clamp(1.8rem, 6vw, 2.4rem);
  background: rgba(19,21,26,0.92);
  border: 1px solid var(--linha-2);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 4vw, 1.5rem);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.9);
}
.wod__head {
  display: flex; align-items: center; gap: 0.7rem;
  padding-bottom: 0.9rem; margin-bottom: 0.9rem;
  border-bottom: 1px dashed var(--linha-2);
}
.wod__chalk { color: var(--lime); font-size: 0.7rem; line-height: 1; }
.wod__kicker {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fumaca);
}
.wod__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.5rem, 6vw, 1.9rem); letter-spacing: 0.02em;
}
.wod__date {
  margin-left: auto;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--chama); white-space: nowrap;
}
.wod__block-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 0.7rem;
}
.wod__lines { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.wod__line {
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  padding-bottom: 0.55rem; border-bottom: 1px solid var(--linha);
}
.wod__line:last-child { border-bottom: 0; }
.wod__rep {
  font-family: var(--display); color: var(--giz);
  font-size: 1.15em; letter-spacing: 0.02em;
}
.wod__rx {
  margin-left: auto; font-size: 0.78rem; color: var(--fumaca);
  font-weight: 500; white-space: nowrap;
}
.wod__line--note { color: var(--fumaca); font-size: 0.92rem; }
.wod__line--note::before { content: "›"; color: var(--chama); font-weight: 700; }
.wod__foot { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--linha-2); }
.wod__scale { font-size: 0.86rem; color: var(--fumaca); }
.wod__scale strong { color: var(--lime); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  z-index: 3;
  display: none;
  flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fumaca);
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  background: var(--lime); color: var(--carvao);
  overflow: hidden; white-space: nowrap;
  border-block: 2px solid var(--carvao);
  padding: 0.55rem 0;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 1.4rem;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(0.95rem, 3.5vw, 1.2rem); letter-spacing: 0.06em;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee__dot { font-size: 0.5em; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =====================================================================
   SECTION SHELL
   ===================================================================== */
.prova, .treino, .programas, .grade, .coaches, .comunidade, .aula, .faq {
  padding: var(--section-y) var(--pad-x);
  max-width: var(--maxw); margin-inline: auto;
}
.treino, .grade, .faq { background: var(--grafite); max-width: none; }
.treino > *, .grade > *, .faq > * { max-width: var(--maxw); margin-inline: auto; }

/* =====================================================================
   2 — COUNTERS / PROVA
   ===================================================================== */
.prova__intro { margin-bottom: clamp(2rem, 6vw, 3rem); }
.prova__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -0.005em;
  margin-top: 0.7rem;
}
.counters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--linha);
  border: 1px solid var(--linha);
  border-radius: var(--radius); overflow: hidden;
}
.counter {
  background: var(--carvao);
  padding: clamp(1.3rem, 5vw, 2.2rem) clamp(1rem, 4vw, 1.6rem);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.counter__value {
  font-family: var(--display); color: var(--lime);
  font-size: clamp(2.8rem, 14vw, 5rem); line-height: 0.9;
  letter-spacing: 0.01em;
}
.counter__value--orange { color: var(--chama); }
.counter__label {
  order: 2;
  font-size: clamp(0.78rem, 2.8vw, 0.9rem);
  color: var(--fumaca); font-weight: 500;
}

/* =====================================================================
   3 — COMO FUNCIONA UM TREINO
   ===================================================================== */
.treino__intro { margin-bottom: clamp(2rem, 6vw, 3rem); }
.treino__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.8rem); margin: 0.7rem 0 1rem;
}
.treino__sub { max-width: 55ch; color: var(--fumaca); font-size: clamp(0.95rem, 3.4vw, 1.05rem); }

.phases { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.phase {
  position: relative;
  background: var(--carvao);
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 5vw, 1.6rem);
}
.phase__time {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fumaca);
  border: 1px solid var(--linha-2); border-radius: 999px;
  padding: 0.2rem 0.7rem; margin-bottom: 0.8rem;
}
.phase__n {
  position: absolute; top: clamp(1rem, 4vw, 1.4rem); right: clamp(1rem, 4vw, 1.4rem);
  font-family: var(--display); color: var(--linha-2);
  font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1;
}
.phase__h {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.4rem, 6vw, 1.9rem); letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.phase p { color: var(--fumaca); font-size: 0.95rem; max-width: 46ch; }
.phase--accent { border-color: rgba(198,255,58,0.4); background: linear-gradient(180deg, rgba(198,255,58,0.06), rgba(10,11,13,0)); }
.phase--accent .phase__h { color: var(--lime); }
.phase--accent .phase__n { color: rgba(198,255,58,0.18); }

/* =====================================================================
   4 — PROGRAMAS
   ===================================================================== */
.programas__intro { margin-bottom: clamp(2rem, 6vw, 3rem); }
.programas__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.8rem); margin: 0.7rem 0 1rem;
}
.programas__sub { max-width: 50ch; color: var(--fumaca); font-size: clamp(0.95rem, 3.4vw, 1.05rem); }

.prog-grid { list-style: none; padding: 0; display: grid; gap: 1rem; }
.prog {
  background: var(--grafite);
  border: 1px solid var(--linha);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prog:hover { transform: translateY(-4px); border-color: var(--linha-2); }
.prog__media { aspect-ratio: 16 / 10; overflow: hidden; }
.prog__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.3) contrast(1.1) brightness(0.78) saturate(0.8);
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
.prog:hover .prog__media img { transform: scale(1.05); filter: grayscale(0.1) contrast(1.12) brightness(0.85); }
.prog__body { padding: clamp(1.1rem, 4vw, 1.5rem); }
.prog__tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fumaca);
  border: 1px solid var(--linha-2); border-radius: 999px;
  padding: 0.22rem 0.7rem; margin-bottom: 0.8rem;
}
.prog__tag--lime { color: var(--carvao); background: var(--lime); border-color: var(--lime); }
.prog__tag--orange { color: var(--carvao); background: var(--chama); border-color: var(--chama); }
.prog__name {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.7rem, 7vw, 2.3rem); letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.prog__desc { color: var(--fumaca); font-size: 0.95rem; margin-bottom: 1rem; }
.prog__meta { display: grid; gap: 0.6rem; }
.prog__meta > div { display: flex; align-items: center; gap: 0.7rem; }
.prog__meta dt {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fumaca-2);
  width: 6.5rem; flex: none;
}
.prog__meta dd { font-size: 0.9rem; color: var(--giz); }

/* Barras de intensidade: 5 segmentos, "acesos" até --lvl */
.bars {
  position: relative; display: inline-block; width: 86px; height: 14px;
  --lvl: 0;
  background: repeating-linear-gradient(90deg, var(--linha-2) 0 14px, transparent 14px 18px);
  border-radius: 3px;
}
.bars[data-level="1"] { --lvl: 1; }
.bars[data-level="2"] { --lvl: 2; }
.bars[data-level="3"] { --lvl: 3; }
.bars[data-level="4"] { --lvl: 4; }
.bars[data-level="5"] { --lvl: 5; }
.bars::before {
  content: "";
  position: absolute; inset: 0;
  width: calc(var(--lvl) * 18px - 4px);
  background: repeating-linear-gradient(90deg, var(--lime) 0 14px, transparent 14px 18px);
  border-radius: 3px;
}

/* =====================================================================
   5 — GRADE DE HORÁRIOS
   ===================================================================== */
.grade__intro { margin-bottom: clamp(2rem, 6vw, 2.6rem); }
.grade__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.8rem); margin: 0.7rem 0 1rem;
}
.grade__sub { max-width: 48ch; color: var(--fumaca); font-size: clamp(0.95rem, 3.4vw, 1.05rem); }

.grade__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chip {
  background: var(--carvao); color: var(--fumaca);
  border: 1px solid var(--linha-2); border-radius: 999px;
  padding: 0.45rem 0.95rem; font-size: 0.82rem; font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip:hover { color: var(--giz); border-color: var(--linha-2); }
.chip.is-active { background: var(--lime); color: var(--carvao); border-color: var(--lime); font-weight: 700; }

/* Tabela (desktop) escondida no mobile */
.grade__tablewrap { display: none; }

/* Acordeão (mobile) */
.grade__accordion { display: grid; gap: 0.6rem; }
.day {
  background: var(--carvao); border: 1px solid var(--linha);
  border-radius: var(--radius); overflow: hidden;
}
.day summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.9rem, 4vw, 1.1rem) clamp(1rem, 4vw, 1.3rem);
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.1rem, 5vw, 1.4rem); letter-spacing: 0.02em;
  cursor: pointer; list-style: none;
}
.day summary::-webkit-details-marker { display: none; }
.day summary::after {
  content: "+"; color: var(--lime); font-size: 1.5rem; font-family: var(--corpo);
  transition: transform 0.25s var(--ease);
}
.day[open] summary::after { transform: rotate(45deg); }
.day__count {
  margin-left: auto; margin-right: 0.8rem;
  font-family: var(--corpo); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--fumaca); font-weight: 500;
}
.day__list { list-style: none; padding: 0 clamp(1rem,4vw,1.3rem) clamp(0.8rem,3vw,1rem); display: grid; gap: 0.3rem; }
.day__list li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem 0; border-top: 1px solid var(--linha);
  font-size: 0.95rem; color: var(--giz);
}
.day__hr { font-weight: 700; color: var(--lime); width: 3.5rem; flex: none; }
.day__list li[data-prog="halterofilismo"] .day__hr,
.day__list li[data-prog="iniciante"] .day__hr { color: var(--chama); }
/* filtro: esconde itens fora do filtro */
.day__list li.is-hidden { display: none; }

/* =====================================================================
   6 — COACHES
   ===================================================================== */
.coaches__intro { margin-bottom: clamp(2rem, 6vw, 3rem); }
.coaches__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.8rem); margin: 0.7rem 0 1rem;
}
.coaches__sub { max-width: 54ch; color: var(--fumaca); font-size: clamp(0.95rem, 3.4vw, 1.05rem); }

.coaches__grid { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.coach {
  background: var(--grafite); border: 1px solid var(--linha);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.coach:hover { transform: translateY(-4px); border-color: rgba(255,90,31,0.45); }
.coach__media { aspect-ratio: 4 / 5; overflow: hidden; }
.coach__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.45) contrast(1.12) brightness(0.8);
  transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.coach:hover .coach__media img { filter: grayscale(0.15) contrast(1.12) brightness(0.88); transform: scale(1.04); }
.coach__body { padding: clamp(1.1rem, 4vw, 1.5rem); }
.coach__name {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.4rem, 6vw, 1.8rem); letter-spacing: 0.01em;
}
.coach__role { color: var(--chama); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; margin: 0.25rem 0 0.9rem; }
.coach__creds { list-style: none; padding: 0; display: grid; gap: 0.4rem; margin-bottom: 0.9rem; }
.coach__creds li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.86rem; color: var(--giz);
}
.coach__creds li::before {
  content: ""; width: 0.45rem; height: 0.45rem; flex: none;
  background: var(--lime); transform: rotate(45deg);
}
.coach__bio { color: var(--fumaca); font-size: 0.92rem; }

/* =====================================================================
   7 — COMUNIDADE
   ===================================================================== */
.comunidade__head { margin-bottom: clamp(1.6rem, 5vw, 2.4rem); }
.comunidade__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.8rem); margin: 0.7rem 0 1rem;
}
.comunidade__lead { max-width: 56ch; color: var(--fumaca); font-size: clamp(0.95rem, 3.4vw, 1.05rem); }
.comunidade__hero {
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: clamp(1.4rem, 5vw, 2.2rem);
  border: 1px solid var(--linha);
}
.comunidade__hero img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  filter: grayscale(0.3) contrast(1.12) brightness(0.78) saturate(0.82);
}
.comunidade__quotes { list-style: none; padding: 0; display: grid; gap: 1rem; }
.quote {
  background: var(--grafite); border: 1px solid var(--linha);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 5vw, 1.6rem);
}
.quote:nth-child(2) { border-left-color: var(--chama); }
.quote blockquote p {
  font-size: clamp(1rem, 3.6vw, 1.1rem); color: var(--giz);
  margin-bottom: 1rem;
}
.quote footer { display: flex; flex-direction: column; gap: 0.15rem; }
.quote__name { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; }
.quote__detail { font-size: 0.8rem; color: var(--fumaca); }

/* =====================================================================
   8 — AULA GRÁTIS (CTA de fechamento)
   ===================================================================== */
.aula {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(198,255,58,0.10), rgba(10,11,13,0) 55%),
    var(--carvao);
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  max-width: none;
  text-align: center;
}
.aula__inner { max-width: 60ch; margin-inline: auto; }
.aula .kicker { justify-content: center; }
.aula__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.6rem, 14vw, 5.5rem); letter-spacing: -0.01em;
  margin: 0.9rem 0 1.2rem;
}
.aula__title .line { display: block; overflow: hidden; }
.aula__title .line > span { display: block; }
.aula__title .line--accent > span { color: var(--lime); }
.aula__lead { color: var(--fumaca); font-size: clamp(1rem, 3.6vw, 1.12rem); margin-bottom: 1.8rem; }
.aula__cta { width: 100%; }
.aula__cta svg { flex: none; }
.aula__note { margin-top: 1.1rem; font-size: 0.86rem; color: var(--fumaca); }
.aula__note a { color: var(--lime); font-weight: 700; }
.aula__note a:hover { text-decoration: underline; }

/* =====================================================================
   9 — FAQ
   ===================================================================== */
.faq__intro { margin-bottom: clamp(1.6rem, 5vw, 2.4rem); }
.faq__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem); margin-top: 0.7rem;
}
.faq__list { display: grid; gap: 0.6rem; max-width: 820px; }
.qa {
  background: var(--carvao); border: 1px solid var(--linha);
  border-radius: var(--radius); overflow: hidden;
}
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1rem, 4vw, 1.25rem) clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700; font-size: clamp(0.98rem, 3.4vw, 1.08rem);
  cursor: pointer; list-style: none; color: var(--giz);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; color: var(--lime); font-size: 1.4rem; flex: none;
  transition: transform 0.25s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa[open] summary { color: var(--lime); }
.qa__body { padding: 0 clamp(1.1rem,4vw,1.4rem) clamp(1rem,4vw,1.3rem); }
.qa__body p { color: var(--fumaca); font-size: 0.95rem; }

/* =====================================================================
   10 — FOOTER
   ===================================================================== */
.footer {
  background: var(--grafite);
  border-top: 1px solid var(--linha);
  padding: clamp(3rem, 9vw, 5rem) var(--pad-x) 1.5rem;
}
.footer__grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; gap: clamp(1.8rem, 6vw, 2.4rem);
}
.footer__sig {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.4rem, 6vw, 1.7rem); letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}
.footer__sig .topbar__mark { color: var(--lime); }
.footer__tag { color: var(--fumaca); font-size: 0.92rem; max-width: 40ch; }
.footer__social { list-style: none; padding: 0; display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer__social a {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--linha-2); border-radius: 0.7rem; color: var(--giz);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }

.footer__h {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.06em; margin-bottom: 0.9rem;
  color: var(--giz);
}
.footer__addr { font-style: normal; color: var(--fumaca); font-size: 0.92rem; line-height: 1.7; }
.footer__maplink { display: inline-block; margin-top: 0.7rem; color: var(--lime); font-weight: 700; font-size: 0.88rem; }
.footer__maplink:hover { text-decoration: underline; }
.footer__hours { display: grid; gap: 0.5rem; }
.footer__hours > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--linha); padding-bottom: 0.4rem; }
.footer__hours dt { color: var(--fumaca); }
.footer__hours dd { color: var(--giz); font-weight: 500; }
.footer__contact { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.footer__contact a { color: var(--giz); font-size: 0.92rem; }
.footer__contact a:hover { color: var(--lime); }
.footer__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linha); }
.footer__map img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: grayscale(0.4) contrast(1.05) brightness(0.7); }

.footer__bar {
  max-width: var(--maxw); margin: clamp(2rem,6vw,3rem) auto 0;
  padding-top: 1.4rem; border-top: 1px solid var(--linha);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
.footer__copy, .footer__made { color: var(--fumaca-2); font-size: 0.78rem; }

/* =====================================================================
   STICKY CTA (mobile)
   ===================================================================== */
.sticky-cta {
  position: fixed; left: var(--pad-x); right: var(--pad-x); bottom: 0.9rem;
  z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--lime); color: var(--carvao);
  font-weight: 700; letter-spacing: 0.01em;
  padding: 0.95rem 1.2rem; border-radius: 999px;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.8);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sticky-cta:hover { background: var(--chama); color: var(--giz); transform: translateY(-2px); }
.sticky-cta__pulse {
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--carvao);
  position: relative;
}
.sticky-cta__pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--carvao);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* =====================================================================
   MOTION — reveals (estado inicial)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* hero/aula title lines (clip + translateY) */
.hero__title .line > span,
.aula__title .line > span {
  transform: translateY(108%);
  transition: transform 0.8s var(--ease-pop);
}
.hero.is-ready .hero__title .line > span { transform: translateY(0); }
.aula.is-ready .aula__title .line > span { transform: translateY(0); }
.hero__title .line:nth-child(2) > span,
.aula__title .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero__title .line:nth-child(3) > span,
.aula__title .line:nth-child(3) > span { transition-delay: 0.16s; }

/* =====================================================================
   BREAKPOINTS
   ===================================================================== */

/* ---- 480px: counters mais respirados, programas começam a parear ---- */
@media (min-width: 480px) {
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .prog--lg, .prog--wide { grid-column: 1 / -1; }
  .prog--lg .prog__media { aspect-ratio: 21 / 9; }
}

/* ---- 768px: tablet — nav inline some sticky, grids maiores ---- */
@media (min-width: 768px) {
  .topbar__burger { display: none; }
  .topbar__cta { display: inline-flex; }
  .topbar__nav {
    display: flex; gap: clamp(1rem, 2.5vw, 1.8rem);
    font-size: 0.92rem; font-weight: 500;
  }
  .topbar__nav a { color: var(--fumaca); transition: color 0.2s var(--ease); }
  .topbar__nav a:hover { color: var(--giz); }

  .sticky-cta { display: none; }

  .hero__actions .btn { flex: 0 0 auto; }

  .counters { grid-template-columns: repeat(4, 1fr); }

  .phases { grid-template-columns: 1fr 1fr; }

  .coaches__grid { grid-template-columns: repeat(3, 1fr); }

  .comunidade__quotes { grid-template-columns: repeat(3, 1fr); }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---- 1024px: desktop — HERO SPLIT, grade-tabela, grid editorial ---- */
@media (min-width: 1024px) {
  .hero {
    justify-content: center;
    padding-block: clamp(7rem, 12vh, 9rem) clamp(3rem, 8vh, 4rem);
  }
  .hero__grid {
    max-width: var(--maxw); margin-inline: auto; width: 100%;
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem); align-items: center;
  }
  .hero__title { font-size: clamp(4.5rem, 8.5vw, 8rem); }
  .wod { margin-top: 0; align-self: stretch; }
  .hero__scroll { display: flex; }

  /* Hero veil mais lateral para o split */
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(10,11,13,0.92) 0%, rgba(10,11,13,0.45) 45%, rgba(10,11,13,0.75) 100%),
      linear-gradient(180deg, rgba(10,11,13,0.3) 0%, rgba(10,11,13,0.6) 100%);
  }

  /* COUNTERS — números enormes */
  .counter__value { font-size: clamp(4rem, 7vw, 6.5rem); }

  /* PROGRAMAS — grid editorial assimétrico */
  .prog-grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
  .prog--lg { grid-column: span 2; grid-row: span 2; }
  .prog--lg .prog__media { aspect-ratio: 16 / 11; height: auto; }
  .prog--wide { grid-column: span 2; }
  .prog--wide .prog__media { aspect-ratio: 21 / 9; }
  .prog { display: flex; flex-direction: column; }
  .prog--lg, .prog--wide { display: block; }

  /* GRADE — tabela semanal, esconde acordeão */
  .grade__accordion { display: none; }
  .grade__tablewrap {
    display: block; overflow-x: auto;
    border: 1px solid var(--linha); border-radius: var(--radius);
  }
  .grade__table { width: 100%; border-collapse: collapse; min-width: 720px; }
  .grade__table th, .grade__table td {
    padding: 0.85rem 0.7rem; text-align: center;
    border-bottom: 1px solid var(--linha); border-right: 1px solid var(--linha);
  }
  .grade__table thead th {
    font-family: var(--display); text-transform: uppercase;
    font-size: 0.95rem; letter-spacing: 0.05em;
    color: var(--giz); background: var(--carvao);
    position: sticky; top: 0;
  }
  .grade__table tbody th[scope="row"] {
    font-weight: 700; color: var(--lime); background: var(--carvao);
    font-size: 0.92rem; text-align: left; white-space: nowrap;
  }
  .grade__table td:last-child, .grade__table th:last-child { border-right: 0; }
  .grade__table tbody tr:last-child th, .grade__table tbody tr:last-child td { border-bottom: 0; }
  .slot {
    display: inline-block; width: 100%;
    font-size: 0.82rem; font-weight: 500;
    padding: 0.3rem 0.4rem; border-radius: 0.4rem;
    background: var(--grafite-2); color: var(--giz);
    border: 1px solid var(--linha-2);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .slot[data-prog="crossfit"] { border-color: rgba(198,255,58,0.3); }
  .slot[data-prog="iniciante"] { color: var(--carvao); background: var(--lime); border-color: var(--lime); }
  .slot[data-prog="funcional"] { background: var(--grafite-2); }
  .slot[data-prog="halterofilismo"] { color: var(--carvao); background: var(--chama); border-color: var(--chama); }
  .slot--empty { color: var(--fumaca-2); }
  .slot.is-dimmed { opacity: 0.18; }

  /* FAQ duas colunas no desktop */
  .faq__list { max-width: var(--maxw); }
}

/* ---- 1280px: respiro extra ---- */
@media (min-width: 1280px) {
  .hero__title { font-size: clamp(7rem, 9vw, 9.5rem); }
  .aula__title { font-size: clamp(5rem, 8vw, 7.5rem); }
}

/* =====================================================================
   PREFERS-REDUCED-MOTION — neutraliza tudo, estado final visível
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title .line > span,
  .aula__title .line > span { transform: none !important; }
  .hero__img { transform: none !important; }
  .marquee__track { animation: none !important; }
  .hero__scroll svg { animation: none !important; }
  .sticky-cta__pulse::after { animation: none !important; }
}
