/* ==========================================================================
   MT GYM — design system
   Tema escuro, acento lima, superficies em camadas, animacoes discretas.
   ========================================================================== */

:root {
  --bg: #080a0d;
  --bg-2: #0c0f14;
  --panel: #11151b;
  --panel-2: #161b23;
  --panel-3: #1b212b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #eef2f7;
  --muted: #98a2b3;
  --muted-2: #6b7686;
  --accent: #c8f751;
  --accent-dim: #9bd12f;
  --accent-ink: #0b0f06;
  --info: #6ee7ff;
  --ok: #4ade80;
  --danger: #ff7a7a;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.3);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(1100px 520px at 8% -12%, rgba(200, 247, 81, 0.10), transparent 62%),
    radial-gradient(900px 520px at 96% 4%, rgba(110, 231, 255, 0.07), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(155, 209, 47, 0.05), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}

/* Grade sutil ao fundo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 6px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}

p { margin: 0 0 10px; color: var(--muted); }

::selection { background: rgba(200, 247, 81, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent) 0%, #a8e62f 55%, #7fc21c 100%);
  color: var(--accent-ink);
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(200, 247, 81, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-name { white-space: nowrap; color: var(--text); font-weight: 600; }
.brand-name strong { font-weight: 800; letter-spacing: 0.01em; }

.topnav {
  display: flex;
  gap: 4px;
  flex: 1;
  align-items: center;
}

.topnav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.topnav a.on {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(200, 247, 81, 0.22);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.userbox { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: linear-gradient(140deg, var(--accent), #8fd21f);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.user-name { font-weight: 650; font-size: 13.5px; }
.user-role {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ---------- layout ---------- */
.shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 26px 70px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-head h1 { font-size: clamp(24px, 3vw, 32px); }
.page-head .sub { color: var(--muted); font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.45fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.card h2::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
}

.card .hint { font-size: 12.5px; color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px;
  margin-bottom: 18px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(620px 240px at 88% -10%, rgba(200, 247, 81, 0.18), transparent 70%),
    radial-gradient(420px 260px at 0% 120%, rgba(110, 231, 255, 0.08), transparent 70%),
    linear-gradient(160deg, #171c24 0%, #10141a 60%, #0d1116 100%);
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 247, 81, 0.16), transparent 62%);
  pointer-events: none;
}

.hero h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.hero h1 span { color: var(--accent); }
.hero p { margin: 0; max-width: 46ch; }

.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta div {
  min-width: 116px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.55);
  backdrop-filter: blur(6px);
}

.hero-meta div span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.hero-meta div strong { font-size: 16px; letter-spacing: -0.01em; }

/* ---------- stats ---------- */
.stat { padding: 20px 22px; overflow: hidden; }
.stat:hover { transform: translateY(-2px); }

.stat .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.stat .value {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.stat .value small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.stat .delta { font-size: 12px; margin-top: 6px; color: var(--muted-2); }

.stat .stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(200, 247, 81, 0.09);
  border: 1px solid rgba(200, 247, 81, 0.18);
}

.stat .stat-icon svg { width: 17px; height: 17px; }

.stat.good .value { color: var(--ok); }
.stat.bad .value { color: var(--danger); }

/* ---------- donut ---------- */
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.donut {
  --p: 0;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  position: relative;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, 0.06) 0);
  transition: --p 1s var(--ease);
  box-shadow: 0 0 40px rgba(200, 247, 81, 0.08);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut-label { position: relative; z-index: 1; text-align: center; }
.donut-label strong { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; }
.donut-label span {
  display: block;
  font-size: 10px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- bars ---------- */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 176px; padding-top: 12px; }

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}

.bar-track { width: 100%; max-width: 44px; flex: 1; display: flex; align-items: flex-end; }

.bar {
  width: 100%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(200, 247, 81, 0.25) 100%);
  min-height: 4px;
  transition: height 0.8s var(--ease);
  box-shadow: 0 -4px 22px rgba(200, 247, 81, 0.18);
}

.bar.zero { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.bar-cap { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.bar-pct { font-size: 11.5px; font-weight: 700; color: var(--muted); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; margin: 0 -6px; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

thead th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 750;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td { padding: 13px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); vertical-align: middle; }
tbody tr { transition: background 0.15s ease; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(200, 247, 81, 0.035); }

.num { text-align: right; font-variant-numeric: tabular-nums; }

.person { display: flex; align-items: center; gap: 11px; }

.person .avatar { width: 30px; height: 30px; font-size: 11px; }

.person .who { display: flex; flex-direction: column; line-height: 1.3; }
.person .who span { font-size: 12px; color: var(--muted-2); }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.tag.ok { color: var(--ok); border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.09); }
.tag.no { color: var(--danger); border-color: rgba(255, 122, 122, 0.3); background: rgba(255, 122, 122, 0.09); }
.tag.info { color: var(--accent); border-color: rgba(200, 247, 81, 0.3); background: rgba(200, 247, 81, 0.09); }
.tag.muted { color: var(--muted-2); }

/* ---------- progress ---------- */
.progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 0.9s var(--ease);
  box-shadow: 0 0 12px rgba(200, 247, 81, 0.35);
}

.progress.low > span {
  background: linear-gradient(90deg, #c2410c, var(--warn));
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.25);
}

/* ---------- list ---------- */
.list { display: flex; flex-direction: column; }

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list-item:last-child { border-bottom: none; }
.list-item .when { font-weight: 650; }
.list-item .what { color: var(--muted-2); font-size: 12.5px; }
.list-item .side { text-align: right; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.07); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent), #b2e63c);
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(200, 247, 81, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover { background: linear-gradient(180deg, #d3ff63, #bdf24a); box-shadow: 0 10px 26px rgba(200, 247, 81, 0.3); }

.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 9px; }

.btn svg { width: 15px; height: 15px; }

/* ---------- forms ---------- */
.field { margin-bottom: 15px; }

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="date"], select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

input::placeholder { color: var(--muted-2); opacity: 0.75; }

input:hover, select:hover { border-color: var(--line-strong); }

input:focus, select:focus {
  outline: none;
  border-color: rgba(200, 247, 81, 0.6);
  background: rgba(8, 10, 13, 0.85);
  box-shadow: 0 0 0 4px rgba(200, 247, 81, 0.1);
}

input[type="date"] { color-scheme: dark; }

/* ---------- login ---------- */
.login-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 56px clamp(32px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(200, 247, 81, 0.16), transparent 62%),
    radial-gradient(520px 380px at 100% 100%, rgba(110, 231, 255, 0.08), transparent 60%),
    linear-gradient(165deg, #12171e 0%, #0b0e12 70%);
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000, transparent 75%);
  pointer-events: none;
}

.brand-panel > * { position: relative; z-index: 1; }

.brand-panel h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0;
}

.brand-panel h2 em { font-style: normal; color: var(--accent); }

.brand-panel p { max-width: 40ch; font-size: 15px; }

.pill-list { display: flex; flex-direction: column; gap: 12px; }

.pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.pill-item i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(200, 247, 81, 0.1);
  border: 1px solid rgba(200, 247, 81, 0.2);
  color: var(--accent);
  flex: 0 0 auto;
}

.pill-item i svg { width: 15px; height: 15px; }

.login-panel {
  display: grid;
  place-items: center;
  padding: 40px 26px;
}

.login-card {
  width: 100%;
  max-width: 404px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
  animation: rise 0.6s var(--ease) both;
}

.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }

.login-card h1 { font-size: 26px; margin-bottom: 6px; }
.login-card > p { font-size: 13.5px; margin-bottom: 22px; }

/* ---------- alerts / demo ---------- */
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid;
  animation: rise 0.35s var(--ease) both;
}

.alert.error { color: #ffc0c0; border-color: rgba(255, 122, 122, 0.35); background: rgba(255, 122, 122, 0.09); }
.alert.info { color: #e2fbb0; border-color: rgba(200, 247, 81, 0.3); background: rgba(200, 247, 81, 0.07); }

.demo-box {
  margin-top: 20px;
  padding: 14px 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.8;
  border-radius: 0 0 12px 12px;
  background: rgba(8, 10, 13, 0.35);
}

.demo-box code { color: var(--accent); font-family: var(--mono); font-size: 11.5px; }

/* ---------- week grid ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }

.day-col {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  min-height: 158px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.day-col:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }

.day-col h3 {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.slot {
  background: linear-gradient(180deg, rgba(200, 247, 81, 0.09), rgba(200, 247, 81, 0.03));
  border: 1px solid rgba(200, 247, 81, 0.18);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
}

.slot strong { display: block; font-size: 12.5px; }
.slot span { font-size: 11.5px; color: var(--muted); }

.empty { color: var(--muted-2); font-size: 13px; padding: 10px 0; }

/* ---------- check rows ---------- */
.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.check-row:last-child { border-bottom: none; }
.check-row form { display: flex; gap: 8px; align-items: center; }

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 26px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

.foot .foot-brand { display: flex; align-items: center; gap: 9px; color: var(--muted); }

.foot .brand-mark { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }

/* ---------- animacoes ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.shell > * { animation: rise 0.5s var(--ease) both; }
.shell > *:nth-child(2) { animation-delay: 0.05s; }
.shell > *:nth-child(3) { animation-delay: 0.1s; }
.shell > *:nth-child(4) { animation-delay: 0.15s; }

/* ---------- responsivo ---------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .pick-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; }
  .brand-panel { display: none; }
  .topbar-inner { flex-wrap: wrap; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .topnav {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 0 4px;
    display: none;
  }
  .topnav.open { display: flex; }
  .topnav a { padding: 10px 14px; border-radius: 10px; }
  .userbox { margin-left: auto; }
  .user-meta { display: none; }
}

@media (max-width: 620px) {
  .shell { padding: 26px 18px 60px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 24px; }
  .hero-meta { width: 100%; }
  .hero-meta div { flex: 1 1 40%; min-width: 0; }
  .card { padding: 18px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Site publico (vitrine, planos e comunidade)
   ========================================================================== */

.topbar-public { background: rgba(8, 10, 13, 0.82); }

.public-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.site {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 26px 80px;
}

.site-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(36px, 6vw, 70px) 0 clamp(30px, 5vw, 56px);
}

.site-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.site-hero h1 span { color: var(--accent); }

.site-hero p { font-size: clamp(15px, 1.4vw, 17px); max-width: 48ch; line-height: 1.65; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.hero-stats span {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.site-hero-art { position: relative; }

.art-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0b0e12;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s var(--ease);
}

.art-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.art-frame img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 15, 20, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  animation: rise 0.8s var(--ease) both;
}

.float-card strong { display: block; font-size: 12.5px; }
.float-card small { display: block; font-size: 11px; color: var(--muted-2); }

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(200, 247, 81, 0.12);
  border: 1px solid rgba(200, 247, 81, 0.22);
  color: var(--accent);
  flex: 0 0 auto;
}

.float-icon svg { width: 16px; height: 16px; }
.float-a { left: -18px; bottom: 30px; animation-delay: 0.15s; }
.float-b { right: -14px; top: 34px; animation-delay: 0.3s; }

.section { padding: 52px 0 8px; }
.section-tight { padding-top: 12px; }

.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.035em; margin: 0 0 8px; }
.section-head p { font-size: 14.5px; margin: 0; }

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.area-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.area-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.area-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-body { padding: 16px 18px 18px; }
.area-body h3 { font-size: 15px; margin-bottom: 4px; }
.area-body p { font-size: 12.5px; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  min-width: 148px;
}

.chip strong { font-size: 13.5px; }
.chip small { font-size: 11.5px; color: var(--muted-2); }

.section-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }

.soft-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.soft-card h3 { font-size: 14px; margin-bottom: 6px; }
.soft-card p { font-size: 13px; margin: 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.price-card.featured {
  border-color: rgba(200, 247, 81, 0.42);
  background:
    radial-gradient(420px 220px at 50% -10%, rgba(200, 247, 81, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 247, 81, 0.08);
}

.badge {
  position: absolute;
  top: -11px;
  right: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent), #b2e63c);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(200, 247, 81, 0.3);
}

.price-card h3 { font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.price-value {
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 12px 0 4px;
  font-variant-numeric: tabular-nums;
}

.price-value small { font-size: 15px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.price-value span { font-size: 13px; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }
.price-sub { font-size: 12.5px; color: var(--muted-2); margin-bottom: 18px; }

.price-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.price-list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--muted); }
.price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-weight: 800;
}

.price-card .btn { width: 100%; margin-top: auto; }

.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.community-post {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.community-post img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.community-body { padding: 14px 16px 16px; }
.community-author { font-size: 12px; font-weight: 750; color: var(--accent); }
.community-body p { font-size: 13px; margin: 4px 0 6px; color: var(--text); }
.community-body small { font-size: 11px; color: var(--muted-2); }

.community-empty { text-align: center; padding: 42px 24px; }
.community-empty h3 { font-size: 18px; }
.community-empty p { max-width: 46ch; margin: 0 auto 18px; }
.community-empty .hero-cta { justify-content: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  overflow: hidden;
}

.step-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(200, 247, 81, 0.16);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 15px; }
.step p { font-size: 13px; margin: 0; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 62px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(200, 247, 81, 0.2);
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(200, 247, 81, 0.14), transparent 70%),
    radial-gradient(480px 240px at 100% 100%, rgba(110, 231, 255, 0.07), transparent 60%),
    linear-gradient(160deg, #171c24, #0e1217);
}

.cta-band h2 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.03em; margin: 0 0 6px; max-width: 22ch; }
.cta-band p { margin: 0; font-size: 14px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.page-hero { padding: clamp(44px, 6vw, 70px) 0 10px; max-width: 720px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.045em; margin: 0 0 10px; }
.page-hero h1 span { color: var(--accent); }
.page-hero p { font-size: 16px; }

.compare-table td.yes { color: var(--ok); font-weight: 650; }
.compare-table td.no { color: var(--muted-2); }

.faq { display: grid; gap: 10px; max-width: 820px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 18px; font-weight: 700; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 10px 0 0; font-size: 13.5px; }

.login-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
  transition: color 0.18s var(--ease);
}

.login-back:hover { color: var(--accent); }

/* ==========================================================================
   Area do aluno: atalhos, mural e ficha de treino
   ========================================================================== */

.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.quick-link:hover {
  border-color: rgba(200, 247, 81, 0.32);
  background: rgba(200, 247, 81, 0.045);
  transform: translateY(-2px);
}

.quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(200, 247, 81, 0.1);
  border: 1px solid rgba(200, 247, 81, 0.2);
  color: var(--accent);
  flex: 0 0 auto;
}

.quick-icon svg { width: 18px; height: 18px; }
.quick-copy { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.quick-copy strong { font-size: 13px; }
.quick-copy small { font-size: 11.5px; color: var(--muted-2); }
.quick-arrow { margin-left: auto; color: var(--muted-2); font-size: 20px; line-height: 1; }

.feed-layout { display: grid; grid-template-columns: 1.55fr 0.72fr; gap: 18px; align-items: start; }
.feed { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feed-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feed-list { display: flex; flex-direction: column; gap: 16px; }

.composer { padding: 18px; }
.composer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.composer-head strong { display: block; font-size: 13.5px; }
.composer-head span:not(.avatar) { display: block; font-size: 11.5px; color: var(--muted-2); }

.upload-box {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 132px;
  padding: 20px;
  margin-bottom: 12px;
  text-align: center;
  cursor: pointer;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.4);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.upload-box:hover { border-color: rgba(200, 247, 81, 0.4); background: rgba(200, 247, 81, 0.03); }
.upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box > svg { width: 28px; height: 28px; color: var(--accent); }
.upload-box strong { font-size: 13.5px; }
.upload-box span { font-size: 11.5px; color: var(--muted-2); }
.upload-preview { display: none; }

.upload-box.has-preview { padding: 0; min-height: 220px; border-style: solid; border-color: var(--line-strong); overflow: hidden; }
.upload-box.has-preview > svg,
.upload-box.has-preview > strong,
.upload-box.has-preview > span { display: none; }
.upload-box.has-preview .upload-preview {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

textarea::placeholder { color: var(--muted-2); opacity: 0.8; }
textarea:hover { border-color: var(--line-strong); }
textarea:focus {
  outline: none;
  border-color: rgba(200, 247, 81, 0.6);
  background: rgba(8, 10, 13, 0.85);
  box-shadow: 0 0 0 4px rgba(200, 247, 81, 0.1);
}

.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.composer-foot .hint { margin: 0; }

.post { padding: 0; overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.post-author { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.post-author strong { font-size: 13.5px; }
.post-author span { font-size: 11.5px; color: var(--muted-2); }
.post-delete { margin-left: auto; }

.post-media { background: rgba(0, 0, 0, 0.35); }
.post-media img { display: block; width: 100%; max-height: 560px; object-fit: cover; }

.post-caption { padding: 14px 18px 0; font-size: 13.5px; color: var(--text); line-height: 1.6; }
.post-caption strong { color: var(--accent); margin-right: 2px; }

.post-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 12px;
}

.post-actions form { margin: 0; }

.btn-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn-like svg { width: 18px; height: 18px; }
.btn-like:hover { color: var(--accent); }
.btn-like:active { transform: scale(0.94); }
.btn-like.on { color: var(--accent); }

.post-comment-count { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.post-comment-count svg { width: 16px; height: 16px; }

.post-comments {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 18px 16px;
  background: rgba(0, 0, 0, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.comment { font-size: 13px; color: var(--muted); line-height: 1.5; }
.comment strong { color: var(--text); margin-right: 4px; }

.comment-form { display: flex; gap: 8px; margin-top: 4px; }
.comment-form input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 13px; }
.comment-form .btn { flex: 0 0 auto; }

.composer-moderacao h2 { margin-bottom: 6px; }
.composer-moderacao p { margin: 0; font-size: 13px; }

.side-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.avatar-lg { width: 62px; height: 62px; font-size: 20px; }
.side-profile > strong { font-size: 15px; }

.side-links { width: 100%; display: flex; flex-direction: column; margin-top: 10px; }

.side-links a {
  padding: 10px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.16s var(--ease);
}

.side-links a:hover { color: var(--accent); }

.side-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.side-stat:last-child { border-bottom: none; }
.side-stat strong { font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.side-stat span { font-size: 11.5px; color: var(--muted-2); }

.side-note p { font-size: 12.5px; margin-bottom: 12px; }

.workout-hero { margin-bottom: 18px; }
.workout-layout { display: grid; grid-template-columns: 1.6fr 0.7fr; gap: 18px; align-items: start; }
.workout-days { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.workout-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.day-block { padding: 0; overflow: hidden; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.day-head h2 { margin: 0 0 2px; }
.day-block .table-wrap { margin: 0; }
.day-block tbody td:first-child { padding-left: 20px; }
.day-block thead th:first-child { padding-left: 20px; }
.day-block tbody td:last-child,
.day-block thead th:last-child { padding-right: 20px; }

/* ==========================================================================
   Administracao: matricula, turmas e formularios
   ========================================================================== */

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex: 0 0 auto;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.pick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.4);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.pick-row:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }

.pick-row:has(input:checked) {
  border-color: rgba(200, 247, 81, 0.45);
  background: rgba(200, 247, 81, 0.06);
}

.pick-row.is-full { opacity: 0.55; cursor: not-allowed; }

.pick-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pick-main strong { font-size: 13px; }
.pick-main small { font-size: 11.5px; color: var(--muted-2); }

.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.4);
  cursor: pointer;
}

.toggle-row input { margin-top: 2px; }
.toggle-row span { display: flex; flex-direction: column; gap: 2px; }
.toggle-row strong { font-size: 13px; }
.toggle-row small { font-size: 11.5px; color: var(--muted-2); }

/* ==========================================================================
   Cadastro publico: escolha de plano e criacao de acesso
   ========================================================================== */

.enroll-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 48px;
}

.enroll-form { padding: 26px; }

.enroll-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 4px 0 15px;
}

.enroll-step:not(:first-child) { margin-top: 28px; }

.enroll-step span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(200, 247, 81, 0.12);
  border: 1px solid rgba(200, 247, 81, 0.32);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0;
}

.plan-picker { display: grid; grid-template-columns: 1fr; gap: 9px; }

.plan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 10, 13, 0.4);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.plan-option:hover { border-color: var(--line-strong); }

.plan-option:has(input:checked) {
  border-color: rgba(200, 247, 81, 0.5);
  background: rgba(200, 247, 81, 0.06);
  box-shadow: inset 0 0 0 1px rgba(200, 247, 81, 0.14);
}

.plan-option-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

.plan-option-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-option-top strong { font-size: 14px; }

.plan-price { font-size: 16px; font-weight: 800; color: var(--text); white-space: nowrap; }
.plan-price small { font-size: 10.5px; color: var(--muted-2); font-weight: 600; }

.plan-meta { font-size: 12px; color: var(--muted-2); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.enroll-submit { width: 100%; margin-top: 6px; }

.enroll-terms { margin-top: 12px; text-align: center; }

.enroll-side { display: flex; flex-direction: column; gap: 16px; }

.enroll-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 14px 0 0; }

.enroll-perks li { position: relative; padding-left: 22px; font-size: 13px; color: var(--muted); }

.enroll-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200, 247, 81, 0.55);
}

/* ---------- responsivo do site ---------- */
@media (max-width: 1040px) {
  .site-hero { grid-template-columns: 1fr; gap: 34px; }
  .site-hero-art { max-width: 620px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .feed-layout, .workout-layout { grid-template-columns: 1fr; }
  .feed-side { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; }
  .enroll-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site { padding: 0 20px 60px; }
  .public-actions { margin-left: auto; }
  .public-actions .btn-ghost { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .section-split, .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .float-a { left: 8px; bottom: 12px; }
  .float-b { right: 8px; top: 12px; }
  .cta-band { align-items: flex-start; }
  .feed-side { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site { padding: 0 18px 54px; }
  .quick-links { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .composer-foot { flex-direction: column; align-items: stretch; }
  .composer-foot .btn { width: 100%; }
  .float-card { display: none; }
  .art-frame { transform: none; }
  .site-hero p { font-size: 14.5px; }
  .price-card { padding: 22px; }
  .post-caption, .post-head, .post-actions, .post-comments { padding-left: 14px; padding-right: 14px; }
  .comment-form { flex-wrap: wrap; }
  .comment-form .btn { width: 100%; }
}

/* ---------- impressao da ficha ---------- */
@media print {
  .topbar, .foot, .page-actions, .workout-side, .hero-cta, .alert { display: none !important; }
  body { background: #fff !important; color: #111; }
  body::before { display: none !important; }
  .shell { padding: 0; max-width: none; }
  .card, .hero { background: #fff !important; color: #111; border-color: #ccc !important; box-shadow: none !important; }
  .hero h1, .hero p, .card h2, .card h3, .day-head span, .tag { color: #111 !important; }
  .hero-meta div { background: #f5f5f5 !important; border-color: #ccc !important; }
  .hero-meta span { color: #555 !important; }
  .workout-layout { display: block; }
  .day-block { break-inside: avoid; margin-bottom: 14px; }
  thead th { color: #444 !important; }
  tbody td { color: #111 !important; border-color: #ddd !important; }
}

