/* ==================================================================
   AMG FITNESS CLUB · protótipo V1
   Linguagem: pôster desportivo. Preto e amarelo da marca, tipografia
   condensada em itálico (eco do "FITNESS CLUB" do logo), cantos retos
   com um chanfro no canto superior direito em todas as superfícies.

   Índice
   01 Fontes          07 Faixa            13 Equipa
   02 Tokens/temas    08 Manifesto        14 Primeira semana
   03 Base            09 Clube (bento)    15 Dúvidas
   04 Componentes     10 Horário          16 Contacto
   05 Topo e menu     11 Evento           17 Rodapé
   06 Início          12 Planos           18 Fixos, reveal, movimento
   ================================================================== */

/* ---------- 01 Fontes (auto-hospedadas, fontsource) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 02 Tokens e temas ---------- */
:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #070708;
  --surface: #17171a;
  --surface-2: #222226;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.18);
  --text: #f4f3ef;
  --text-2: #b3b2ac;
  --text-3: #8d8c86;

  --accent: #f8d21c;          /* amarelo AMG */
  --accent-hover: #ffde3d;
  --on-accent: #0b0b0c;
  --accent-ink: #f8d21c;      /* amarelo usado como cor de texto ou ícone */
  --accent-soft: rgb(248 210 28 / 0.1);
  --on-accent-2: rgb(11 11 12 / 0.72);

  --header-bg: rgb(11 11 12 / 0.8);
  --grain: 0.05;

  --ff-d: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --ff-b: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --nav-h: 72px;
  --sec-y: clamp(88px, 11vw, 160px);
}

:root[data-tema="claro"] {
  color-scheme: light;
  --bg: #f2f2ef;
  --bg-2: #e8e8e4;
  --bg-3: #dfdfda;
  --surface: #fbfbf9;
  --surface-2: #e2e2dd;
  --line: rgb(11 11 12 / 0.1);
  --line-2: rgb(11 11 12 / 0.22);
  --text: #0d0d0f;
  --text-2: #45454a;
  --text-3: #5d5d63;
  --accent-ink: #0d0d0f;
  --accent-soft: rgb(248 210 28 / 0.32);
  --header-bg: rgb(242 242 239 / 0.84);
  --grain: 0.035;
}

/* Chanfro: um único sistema de forma para o site inteiro.
   Cada componente define o tamanho em --c. */
.btn, .logo-tile, .painel, .estado, .cel, .cel-ico, .chip, .dia, .aula, .vazio, .tag,
.cont, .periodo, .plano, .p-selo, .trein, .passo-m, .form, .info-bloco, .fab-b, .burger {
  clip-path: polygon(0 0, calc(100% - var(--c, 12px)) 0, 100% var(--c, 12px), 100% 100%, 0 100%);
}

/* ---------- 03 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html.travado { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Grão fixo por cima de tudo (não acompanha o scroll, não pesa no GPU) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }
#sentinela { position: absolute; top: 0; left: 0; width: 1px; height: 40px; }

.pular {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--accent); color: var(--on-accent); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.pular:focus { transform: none; }

/* ---------- 04 Componentes ---------- */
.d {
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.h2 { font-size: clamp(46px, 6.4vw, 98px); padding-right: 0.08em; }
.lead {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--text-2);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
}
.cab { max-width: 860px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-d);
  font-weight: 700;
  font-stretch: 85%;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow .ico { font-size: 18px; color: var(--accent-ink); }

/* Palavra marcada a amarelo dentro de títulos */
.marca {
  position: relative;
  z-index: 0;
  font-style: inherit;
  color: var(--on-accent);
  padding: 0 0.08em 0 0.06em;
  margin-left: -0.02em;
}
.marca::before {
  content: "";
  position: absolute;
  inset: 0.04em -0.03em 0 -0.02em;
  z-index: -1;
  background: var(--accent);
  transform: skewX(-9deg);
  transform-origin: left;
}

.btn {
  --c: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  font-family: var(--ff-d);
  font-weight: 750;
  font-stretch: 88%;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, transform 0.2s var(--ease);
}
.btn .ico { font-size: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .ico-seta, .btn:hover > .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px currentColor; }
.btn-1 { background: var(--accent); color: var(--on-accent); }
.btn-1:hover { background: var(--accent-hover); }
.btn-2 { background: var(--surface-2); color: var(--text); }
.btn-2:hover { background: color-mix(in srgb, var(--surface-2) 82%, var(--text)); }
.btn-preto { background: #0b0b0c; color: #f8d21c; }
.btn-preto:hover { background: #222226; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-largo { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 3px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.4s var(--ease);
  cursor: pointer;
}
.link .ico { transition: transform 0.4s var(--ease); }
.link:hover { background-size: 30% 2px; }
.link:hover .ico { transform: translateX(4px); }

.tag {
  --c: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--ff-d);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag .ico { font-size: 16px; }

.chip {
  --c: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.25s, color 0.25s;
}
.chip:hover { background: color-mix(in srgb, var(--surface-2) 80%, var(--text)); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

.sec { padding-block: var(--sec-y); }
.sec-alt { background: var(--bg-2); }

/* ---------- 05 Topo e menu ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.topo.solido {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.topo.menu-aberto { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
.topo .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-tile {
  --c: 8px;
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 10px 0 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--ff-d);
  font-weight: 900;
  font-style: italic;
  font-stretch: 72%;
  font-size: 23px;
  line-height: 1;
}
.logo-txt {
  font-family: var(--ff-d);
  font-weight: 750;
  font-style: italic;
  font-stretch: 80%;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu { display: flex; align-items: center; gap: 32px; }
.menu a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.menu a:hover, .menu a.ativo { color: var(--text); }
.menu a:hover::after, .menu a.ativo::after { transform: scaleX(1); transform-origin: left; }

.topo-acoes { display: flex; align-items: center; gap: 8px; }
.burger {
  --c: 8px;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  font-size: 22px;
}

.gaveta {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gut) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.gaveta.aberta { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.gaveta nav { display: grid; }
.g-link {
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  text-transform: uppercase;
  font-size: clamp(46px, 13vw, 76px);
  line-height: 1.02;
  padding-right: 0.1em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.2s;
}
.gaveta.aberta .g-link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 80ms); }
.g-link:hover { color: var(--accent-ink); }
.gaveta-pe { display: grid; gap: 20px; }
.gaveta-redes { display: flex; gap: 20px; font-size: 26px; color: var(--text-2); }

/* ---------- 06 Início ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(20px, 4vh, 56px)) 0 clamp(28px, 5vh, 56px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.hero-txt { display: flex; flex-direction: column; justify-content: center; padding-block: 12px; }
.hero-h1 { margin-top: 26px; font-size: clamp(64px, 9.6vw, 160px); }
.hero-h1 .l { display: block; overflow: hidden; padding: 0 0.14em 0.05em 0; margin-bottom: -0.05em; }
.hero-h1 .l > span { display: inline-block; transform: translateY(108%); animation: subir 1.05s var(--ease) forwards; animation-delay: calc(0.12s + var(--i) * 0.1s); }
.hero-h1 .marca::before { transform: skewX(-9deg) scaleX(0); animation: marcar 0.8s var(--ease) 0.75s forwards; }
.hero-sub { margin-top: 30px; max-width: 40ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--text-2); }
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

.entra { opacity: 0; transform: translateY(16px); animation: entra 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }

.painel {
  --c: 30px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: min(72vh, 640px);
  padding: clamp(22px, 2.4vw, 36px);
  background: var(--accent);
  color: var(--on-accent);
  overflow: hidden;
}
/* Cortina que revela o painel ao abrir a página */
.painel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
  transform-origin: top;
  animation: cortina 1.15s var(--ease) 0.3s forwards;
}
.estado {
  --c: 6px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: rgb(11 11 12 / 0.09);
  font-size: 14px;
  font-weight: 600;
}
.ponto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado.aberto .ponto::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: pulso 2s var(--ease) infinite;
}
.estado.fechado .ponto { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.painel-gigante {
  position: absolute;
  z-index: 0;
  right: -9%;
  bottom: -4%;
  width: min(30vw, 420px);
  height: min(30vw, 420px);
  color: rgb(11 11 12 / 0.08);
  transform: rotate(-18deg);
  transition: opacity 0.3s, transform 0.6s var(--ease);
}
.painel-gigante.troca { opacity: 0; transform: rotate(-26deg) scale(0.92); }

.painel-meio { position: relative; z-index: 1; }
.ciclo {
  position: relative;
  height: 0.98em;
  overflow: hidden;
  font-size: clamp(60px, 7vw, 124px);
  font-stretch: 62%;
}
.pal {
  position: absolute;
  inset: 0 auto auto 0;
  padding-right: 0.15em;
  white-space: nowrap;
  transform: translateY(105%);
  transition: transform 0.85s var(--ease);
}
.pal.ativa { transform: none; }
.pal.sai { transform: translateY(-105%); }
.ciclo-leg {
  margin-top: 16px;
  min-height: 1.5em;
  font-size: 17px;
  font-weight: 500;
  color: var(--on-accent-2);
  transition: opacity 0.25s, transform 0.25s;
}
.ciclo-leg.troca { opacity: 0; transform: translateY(6px); }

.ticks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tick { position: relative; height: 22px; display: flex; align-items: center; }
.tick::before { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: rgb(11 11 12 / 0.16); }
.tick i { position: absolute; left: 0; right: 0; height: 3px; background: #0b0b0c; transform: scaleX(0); transform-origin: left; }
.tick.feito i { transform: scaleX(1); }
.tick.on i { animation: enche var(--dur, 3.4s) linear forwards; }
.tick:focus-visible { outline-color: #0b0b0c; }

/* ---------- 07 Faixa ---------- */
.faixa { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; }
.faixa-band {
  width: 112%;
  margin-left: -6%;
  padding: 18px 0 16px;
  background: var(--accent);
  color: var(--on-accent);
  transform: rotate(-2deg);
}
.faixa-track { display: flex; width: max-content; animation: corre 42s linear infinite; }
.faixa:hover .faixa-track { animation-play-state: paused; }
.faixa-grupo { display: flex; }
.faixa-item {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding-right: 0.45em;
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1;
  white-space: nowrap;
}
.faixa-item .ico { font-size: 0.42em; }

/* ---------- 08 Manifesto + números ---------- */
.manif {
  max-width: 1180px;
  font-family: var(--ff-d);
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(32px, 4.7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.manif em { font-style: italic; color: var(--accent-ink); }
.manif .w { display: inline-block; }
.manif .w.hl { font-style: italic; color: var(--accent-ink); }
@supports (animation-timeline: view()) {
  html.js .manif .w {
    animation: acende linear both;
    animation-timeline: view();
    animation-range: entry 70% cover 46%;
  }
  html.js .manif .w.hl { animation-name: acende-hl; }
}

.nums {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.num { padding: 32px 32px 0 0; }
.num + .num { padding-left: 32px; border-left: 1px solid var(--line); }
.num b {
  display: block;
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  font-size: clamp(64px, 8.4vw, 132px);
  line-height: 0.9;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  padding-right: 0.08em;
}
.num span { display: block; margin-top: 14px; max-width: 24ch; color: var(--text-2); }

/* ---------- 09 O clube (bento, 6 células) ---------- */
.bento {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 12px;
}
.cel {
  --c: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--surface);
}
.cel h3 { font-size: clamp(34px, 3.4vw, 54px); padding-right: 0.08em; }
.cel p { max-width: 40ch; color: var(--text-2); }
.cel-ico {
  --c: 8px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 24px;
  transition: transform 0.5s var(--ease);
}
.cel:hover .cel-ico { transform: rotate(-8deg) scale(1.06); }

.c-musc { grid-column: span 4; min-height: 360px; background: var(--accent); color: var(--on-accent); }
.c-musc p { color: var(--on-accent-2); font-size: 18px; }
.cel-gigante {
  position: absolute;
  z-index: -1;
  right: -40px;
  top: -70px;
  width: 380px;
  height: 380px;
  color: rgb(11 11 12 / 0.08);
  transform: rotate(-20deg);
  transition: transform 1.2s var(--ease);
}
.c-musc:hover .cel-gigante { transform: rotate(-12deg) translateY(10px); }
.cel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cel-tags li {
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1.5px rgb(11 11 12 / 0.28);
}

.c-aulas { grid-column: span 2; grid-row: span 2; justify-content: space-between; gap: 28px; }
.c-aulas > div { display: grid; gap: 12px; justify-items: start; }
.c-aulas .cel-ico { margin-bottom: 8px; }
.cel-lista { width: 100%; }
.cel-lista li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-d);
  font-weight: 750;
  font-stretch: 85%;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cel-lista .ico { font-size: 21px; color: var(--accent-ink); }

.c-ballet {
  grid-column: span 2;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, var(--line) 11px 12px),
    var(--surface);
}
.c-spa {
  grid-column: span 2;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 62%),
    var(--surface);
}
.c-bar {
  grid-column: span 3;
  background:
    radial-gradient(circle, var(--line-2) 1px, transparent 1.6px) 0 0 / 18px 18px,
    var(--surface);
}
.c-trein { grid-column: span 3; }
.contorno {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: -0.2em;
  font-size: clamp(160px, 17vw, 250px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  pointer-events: none;
  transition: transform 1.2s var(--ease);
}
.c-trein:hover .contorno { transform: translateX(-12px); }

/* ---------- 10 Horário das aulas ---------- */
.horario {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.horario-cab { position: sticky; top: calc(var(--nav-h) + 36px); }
.horario-cab .h2, .duv-cab .h2 { font-size: clamp(44px, 4.8vw, 76px); }
.filtros { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.legenda { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-3); }

.int { display: inline-flex; gap: 1px; font-size: 16px; color: var(--line-2); }
.int .on { color: var(--accent-ink); }

.dias {
  display: grid;
  grid-template-columns: repeat(7, minmax(62px, 1fr));
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dias::-webkit-scrollbar { display: none; }
.dia {
  --c: 8px;
  height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--surface);
  transition: background-color 0.25s, color 0.25s;
}
.dia:hover { background: var(--surface-2); }
.dia b { font-family: var(--ff-d); font-weight: 800; font-stretch: 80%; font-size: 20px; text-transform: uppercase; line-height: 1; }
.dia small { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.dia[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.dia[aria-selected="true"] small { color: var(--on-accent-2); }
.dia:focus-visible { outline-offset: -3px; }

#lista-aulas { margin-top: 12px; min-height: 480px; }
.aulas-lista { display: grid; gap: 8px; }
.aula {
  --c: 12px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: var(--surface);
  animation: aparece 0.55s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms);
}
.aula-hora {
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  font-size: 42px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.aula-nome {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--ff-d);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
}
.aula-nome > .ico { color: var(--accent-ink); font-size: 22px; }
.aula-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--text-2); }
.aula-meta span { display: inline-flex; align-items: center; gap: 6px; }
.aula-meta .ico { color: var(--text-3); }
.aula.passou { opacity: 0.42; }
.aula-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.aula-tag.agora { background: var(--text); color: var(--bg); }

.vazio {
  --c: 16px;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--surface);
  animation: aparece 0.5s var(--ease) both;
}
.vazio > .ico { font-size: 36px; color: var(--accent-ink); margin-bottom: 8px; }
.vazio h3 { font-size: clamp(30px, 3vw, 44px); padding-right: 0.08em; }
.vazio p { color: var(--text-2); max-width: 44ch; }
.vazio .btn { margin-top: 12px; }

/* ---------- 11 Evento ---------- */
.evento { position: relative; overflow: hidden; }
.ev-fundo {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-size: clamp(120px, 21vw, 360px);
  line-height: 0.8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  pointer-events: none;
  user-select: none;
}
.ev-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.ev-titulo { margin-top: 24px; }
.ev-info {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  max-width: 620px;
}
.ev-info dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.ev-info dt .ico { font-size: 16px; color: var(--accent-ink); }
.ev-info dd { margin-top: 6px; font-family: var(--ff-d); font-weight: 750; font-stretch: 85%; font-size: 21px; line-height: 1.2; }
.ev-aulas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px; }
.ev-aulas li { padding: 7px 12px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); }
.ev-faltam { margin-bottom: 14px; font-family: var(--ff-d); font-weight: 750; font-stretch: 85%; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.contagem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.cont { --c: 12px; padding: 24px 8px 18px; background: var(--surface); text-align: center; }
.cont b {
  display: block;
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  font-size: clamp(46px, 5.2vw, 80px);
  line-height: 0.9;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.cont span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

/* ---------- 12 Planos ---------- */
.periodo {
  --c: 12px;
  position: relative;
  margin-top: 40px;
  display: inline-flex;
  padding: 5px;
  background: var(--surface);
}
.per-ind {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 100px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.per {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.3s;
}
.per small { font-size: 12px; font-weight: 700; color: var(--accent-ink); transition: color 0.3s; }
.per[aria-checked="true"], .per[aria-checked="true"] small { color: var(--on-accent); }
.per:focus-visible { outline-offset: -2px; }

.planos {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding-top: 28px;
}
.plano {
  --c: 20px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px);
  background: var(--surface);
}
/* O plano em destaque sobe um pouco acima dos outros */
.plano.dest { margin-top: -28px; background: var(--accent); color: var(--on-accent); }
.p-selo {
  --c: 6px;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 12px;
  background: #0b0b0c;
  color: #f8d21c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.p-nome { font-size: clamp(38px, 3.4vw, 50px); padding-right: 0.08em; }
.p-desc { margin-top: 10px; min-height: 3.2em; color: var(--text-2); } /* 2 linhas: preços alinhados entre cartões */
.dest .p-desc { color: var(--on-accent-2); }
.p-preco { margin-top: 30px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.p-preco b {
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 66%;
  font-size: clamp(60px, 5.6vw, 86px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  padding-right: 0.06em;
}
.p-preco span { font-weight: 600; font-size: 16px; }
.p-antes { min-height: 1.5em; margin-top: 8px; font-size: 14px; color: var(--text-3); }
.p-antes s { text-decoration-thickness: 1.5px; }
.dest .p-antes { color: var(--on-accent-2); }
.p-nota { min-height: 1.5em; font-size: 14px; color: var(--text-2); }
.dest .p-nota { color: var(--on-accent-2); }
.p-lista { flex: 1; margin: 28px 0 34px; display: grid; align-content: start; gap: 13px; }
.p-lista li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.p-lista .ico { margin-top: 3px; font-size: 18px; color: var(--accent-ink); }
.dest .p-lista .ico { color: var(--on-accent); }
.planos-nota { margin-top: 24px; font-size: 14px; color: var(--text-3); }

/* ---------- 13 Equipa ---------- */
.treinadores {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.trein { --c: 18px; background: var(--surface); }
.t-ret {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px),
    var(--surface-2);
}
.t-ini {
  font-size: clamp(110px, 10.5vw, 168px);
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-ink);
  transition: color 0.5s var(--ease), transform 0.8s var(--ease);
}
.trein:hover .t-ini { color: var(--accent-ink); transform: scale(1.05) translateY(-4px); }
.t-corpo { padding: 22px 22px 26px; }
.t-nome { font-size: 28px; line-height: 1; padding-right: 0.08em; }
.t-papel { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.t-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.t-tags li { padding: 5px 9px; font-size: 12px; font-weight: 500; background: var(--surface-2); color: var(--text-2); }

/* ---------- 14 Primeira semana ---------- */
.passos {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
/* Trilho e linha amarela que se desenha */
.passos::before, .passos::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: var(--line-2);
}
.passos::after {
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.9s var(--ease) 0.15s;
}
.passos.on::after { transform: scaleX(1); }
.passo { position: relative; z-index: 1; }
.passo-m {
  --c: 10px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 26px;
}
.passo h3 { margin-top: 28px; font-size: clamp(30px, 2.7vw, 40px); padding-right: 0.08em; }
.passo p { margin-top: 12px; max-width: 30ch; color: var(--text-2); }

/* ---------- 15 Dúvidas ---------- */
.duv {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.duv-cab { position: sticky; top: calc(var(--nav-h) + 36px); }
.duv-link { margin-top: 28px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--ff-d);
  font-weight: 750;
  font-stretch: 85%;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.25;
  transition: color 0.2s;
}
.acc-btn:hover { color: var(--accent-ink); }
.acc-btn .ico { font-size: 22px; color: var(--accent-ink); transition: transform 0.45s var(--ease); }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.acc-painel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-painel > div { overflow: hidden; }
.acc-item.aberto .acc-painel { grid-template-rows: 1fr; }
.acc-painel p { padding: 0 56px 26px 0; max-width: 62ch; color: var(--text-2); }

/* ---------- 16 Contacto ---------- */
.contacto {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px;
  align-items: start;
}
.form {
  --c: 24px;
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.2vw, 48px);
  background: var(--surface);
}
.campo { display: grid; gap: 8px; }
.campo label, .campo legend { font-size: 14px; font-weight: 600; color: var(--text); padding: 0; }
.campo legend { margin-bottom: 8px; }
.campos-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inp {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inp::placeholder { color: var(--text-3); }
.inp:hover { border-color: color-mix(in srgb, var(--line-2) 60%, var(--text)); }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.sel .ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; pointer-events: none; color: var(--text-2); }
.sel option { background: var(--surface); color: var(--text); }
.erro { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.campo.invalido .erro { display: flex; }
.campo.invalido .inp { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcao span {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.opcao span:hover { border-color: color-mix(in srgb, var(--line-2) 50%, var(--text)); }
.opcao input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.opcao input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.ajuda { max-width: 34ch; font-size: 14px; color: var(--text-3); }
.form-ok { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent-ink); }
.form-ok[hidden] { display: none; }

.info { display: grid; gap: 12px; }
.info-bloco { --c: 16px; padding: 28px; background: var(--surface); }
.info-tit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-d);
  font-weight: 850;
  font-style: italic;
  font-stretch: 72%;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}
.info-tit .ico { font-size: 20px; color: var(--accent-ink); }
.unid { margin-top: 18px; display: grid; gap: 4px; }
.unid + .unid { padding-top: 18px; border-top: 1px solid var(--line); }
.unid b { font-weight: 600; }
.unid span { color: var(--text-2); font-size: 15px; }
.unid .link { justify-self: start; margin-top: 6px; font-size: 15px; }
.horas { margin-top: 18px; display: grid; gap: 10px; }
.horas div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.horas dt { color: var(--text-2); }
.horas dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.horas .hoje dt, .horas .hoje dd { color: var(--accent-ink); }
.horas .hoje dt::after { content: " · hoje"; font-weight: 600; }
.canais { margin-top: 18px; display: grid; gap: 4px; }
.canais a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; transition: color 0.2s; }
.canais a:hover { color: var(--accent-ink); }
.canais .ico { font-size: 22px; color: var(--accent-ink); }

/* ---------- 17 Rodapé ---------- */
.rodape { position: relative; overflow: hidden; background: var(--bg-3); padding-top: clamp(64px, 8vw, 112px); }
.rod-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.rod-slogan { margin-top: 22px; font-size: clamp(30px, 2.8vw, 42px); max-width: 12ch; padding-right: 0.08em; }
.rod-col h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.rod-col ul { margin-top: 18px; display: grid; gap: 10px; }
.rod-col a, .rod-col li { color: var(--text-2); font-size: 15px; }
.rod-col a { transition: color 0.2s; cursor: pointer; }
.rod-col a:hover { color: var(--text); }
.rod-base {
  margin-top: clamp(48px, 6vw, 80px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--text-3);
}
.rod-topo { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.rod-topo:hover { color: var(--text); }
/* Marca gigante alinhada ao conteúdo: a largura do texto é ~7,2em */
.rod-marca {
  width: min(100% - var(--gut) * 2, var(--max));
  margin: 8px auto -0.13em;
  font-size: min(calc((100vw - var(--gut) * 2 - 24px) / 7.25), 180px);
  line-height: 0.8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  user-select: none;
}
.rod-marca span { color: var(--accent); -webkit-text-stroke: 0; }

/* ---------- 18 Fixos, reveal e movimento ---------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.fab.mostra { transform: none; }
.fab-b {
  --c: 12px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 30px;
  transition: background-color 0.25s, transform 0.25s var(--ease);
}
.fab:hover .fab-b { background: var(--accent-hover); }
.fab:active .fab-b { transform: scale(0.96); }
.fab-dica {
  position: absolute;
  right: calc(100% + 10px);
  padding: 9px 14px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.fab:hover .fab-dica, .fab:focus-visible .fab-dica { opacity: 1; transform: none; }

.barra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}
.barra.mostra { transform: none; }
.barra .btn { height: 50px; }

/* Revelar ao entrar no ecrã (só com JavaScript ligado) */
html.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js .rv.on { opacity: 1; transform: none; }

@keyframes subir { to { transform: none; } }
@keyframes marcar { to { transform: skewX(-9deg) scaleX(1); } }
@keyframes entra { to { opacity: 1; transform: none; } }
@keyframes cortina { to { transform: scaleY(0); } }
@keyframes pulso { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes enche { to { transform: scaleX(1); } }
@keyframes corre { to { transform: translateX(-50%); } }
/* Sem "to": o fim da animação usa a opacidade do próprio elemento (aulas que já passaram ficam apagadas) */
@keyframes aparece { from { opacity: 0; transform: translateY(12px); } }
@keyframes acende { from { color: color-mix(in srgb, var(--text) 18%, transparent); } to { color: var(--text); } }
@keyframes acende-hl { from { color: color-mix(in srgb, var(--text) 18%, transparent); } to { color: var(--accent-ink); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .menu { gap: 22px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-musc, .c-aulas { grid-column: span 2; grid-row: auto; }
  .c-ballet, .c-spa, .c-bar, .c-trein { grid-column: span 1; }
  .c-aulas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 28px 40px; }
  .c-aulas .link { grid-column: 1 / -1; }
  .treinadores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planos { grid-template-columns: minmax(0, 1fr); max-width: 560px; padding-top: 0; }
  .plano.dest { margin-top: 0; }
  .p-desc { min-height: 0; }
  .p-lista { flex: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .menu { display: none; }
  .burger { display: grid; }
  .hero { min-height: auto; padding-bottom: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-h1 { font-size: clamp(60px, 17.6vw, 128px); }
  .painel { min-height: 360px; }
  .painel-gigante { width: 300px; height: 300px; }
  .horario, .duv, .ev-grid, .contacto { grid-template-columns: minmax(0, 1fr); }
  .horario-cab, .duv-cab { position: static; }
  .nums { grid-template-columns: minmax(0, 1fr); }
  .num, .num + .num { padding: 28px 0; border-left: 0; }
  .num + .num { border-top: 1px solid var(--line); }
  .num b { font-size: clamp(64px, 18vw, 110px); }
  .passos { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .passos::before, .passos::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .passos::after { transform: scaleY(0); transform-origin: top; }
  .passos.on::after { transform: scaleY(1); }
  .passo { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
  .passo h3 { margin-top: 8px; }
  .rod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rod-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .fab { display: none; }
  .barra { display: grid; }
  .rodape { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .c-musc, .c-aulas, .c-ballet, .c-spa, .c-bar, .c-trein { grid-column: auto; }
  .c-aulas { display: flex; }
  .cel { min-height: 240px; }
  .c-musc { min-height: 320px; }
  .cel-gigante { width: 280px; height: 280px; right: -60px; top: -50px; }
  /* Telemóvel: intensidade passa para baixo da hora, a linha fica mais baixa */
  .aula { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 14px; padding: 16px 18px; }
  .aula-hora { grid-row: 1; align-self: end; font-size: 32px; }
  .aula .int { grid-column: 1; grid-row: 2; align-self: start; font-size: 14px; }
  .aula > div { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .aula-nome { font-size: 19px; }
  .aula-meta { gap: 2px 12px; font-size: 13px; }
  #lista-aulas { min-height: 0; }
  .treinadores {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    scroll-padding-inline: var(--gut);
  }
  .treinadores::-webkit-scrollbar { display: none; }
  .trein { scroll-snap-align: start; }
  .campos-2 { grid-template-columns: minmax(0, 1fr); }
  .ev-info { grid-template-columns: minmax(0, 1fr); }
  .contagem { gap: 6px; }
  .cont { padding: 18px 4px 14px; }
  .cont span { letter-spacing: 0.06em; font-size: 11px; }
  .periodo { display: flex; width: 100%; }
  .per { flex: 1; justify-content: center; padding: 0 8px; font-size: 14px; flex-direction: column; gap: 0; height: 54px; }
  .acc-painel p { padding-right: 0; }
}

@media (max-width: 520px) {
  .topo-cta { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .form-pe .btn { width: 100%; }
  .rod-grid { grid-template-columns: minmax(0, 1fr); }
  .rod-grid > div:first-child { grid-column: auto; }
}

/* Movimento reduzido: tudo aparece parado e de imediato */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .faixa-track { animation: none !important; }
  .estado.aberto .ponto::after { display: none; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .manif .w { animation: none !important; color: var(--text); }
  html.js .manif .w.hl { color: var(--accent-ink); }
}
