/* ==========================================================================
   GymTrack — design system
   Dark grafite + laranja energia. Mobile-first, fiel ao layout do app;
   no desktop vira painel com sidebar e grids de duas colunas.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --card: #18181b;
  --card-2: #1f1f23;
  --line: #2a2a2f;
  --line-2: #34343a;
  --text: #f5f5f6;
  --text-2: #c9c9cf;
  --muted: #9a9aa3;
  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --orange-deep: #e5500a;
  --orange-ink: #1a0b03;
  --orange-soft: rgb(255 107 26 / .14);
  --good: #4ade80;
  --bad: #ff6b6b;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --pad: 20px;
  --tab-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --shadow: 0 10px 30px -12px rgb(0 0 0 / .7), 0 2px 6px -2px rgb(0 0 0 / .5);
  --glow: 0 8px 24px -6px rgb(255 107 26 / .55), 0 2px 8px -2px rgb(255 107 26 / .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) transparent; scrollbar-width: thin; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
::selection { background: var(--orange); color: var(--orange-ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; caret-color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; display: flex; justify-content: center; }
.accent { color: var(--orange); }
.num, .bignum, .stat__val, .timer, .sets input, .hist__v { font-variant-numeric: tabular-nums; }

.h1 { font: 700 26px/1.2 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.h2 { font: 700 20px/1.25 var(--font); letter-spacing: -.02em; }
.h3 { font: 600 15px/1.3 var(--font); margin-top: 6px; }

/* ---------- ambiente: brilhos de fundo ---------- */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient__a, .ambient__b { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.ambient__a { width: 520px; height: 520px; left: -180px; top: -220px; background: radial-gradient(circle, rgb(255 107 26 / .35), transparent 65%); }
.ambient__b { width: 640px; height: 640px; right: -260px; bottom: -300px; background: radial-gradient(circle, rgb(255 107 26 / .18), transparent 65%); }
.grain { position: absolute; inset: -50%; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- ícones ---------- */
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- botões ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--block { width: 100%; }
.btn--wide { min-width: min(100%, 320px); }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--primary { background: linear-gradient(180deg, var(--orange-2), var(--orange) 45%, var(--orange-deep)); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgb(255 255 255 / .28); }
.btn--primary:hover { box-shadow: 0 12px 32px -6px rgb(255 107 26 / .7), 0 2px 10px -2px rgb(255 107 26 / .55), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn--ghost { background: rgb(255 255 255 / .02); border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: #4a4a52; background: rgb(255 255 255 / .05); }
.btn--outline { border: 1.5px solid var(--orange); color: var(--orange); background: rgb(255 107 26 / .03); }
.btn--outline:hover { background: var(--orange-soft); box-shadow: 0 6px 20px -8px rgb(255 107 26 / .6); }
.btn--danger { border: 1px solid rgb(255 107 107 / .35); color: var(--bad); }
.btn--danger:hover { background: rgb(255 107 107 / .08); }
.btn.is-static { pointer-events: none; opacity: .7; }
.btn[disabled] { opacity: .45; pointer-events: none; }
/* faixa de brilho que atravessa o botão */
.btn--shine::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .45), transparent);
  transform: skewX(-18deg); animation: shine 4.5s var(--ease) infinite 1.2s;
}
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

.iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; position: relative; flex: none;
  color: var(--text); transition: background-color .2s, transform .15s var(--ease), color .2s;
}
.iconbtn:hover { background: rgb(255 255 255 / .06); }
.iconbtn:active { transform: scale(.92); }
.iconbtn .ic { width: 22px; height: 22px; }
.iconbtn--ghost { color: var(--text-2); }
.iconbtn--solid { background: var(--card-2); border: 1px solid var(--line-2); border-radius: 50%; }
.iconbtn--xs { width: 30px; height: 30px; border-radius: 9px; color: var(--muted); }
.iconbtn--xs .ic { width: 16px; height: 16px; }
.iconbtn--bell .ping { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--bg), 0 0 12px var(--orange); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0%, 70%, 100% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 2px rgb(255 107 26 / .6); } 35% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 8px rgb(255 107 26 / 0); } }
.fav[aria-pressed="true"] { color: var(--orange); }
.fav[aria-pressed="true"] .ic { fill: var(--orange); filter: drop-shadow(0 0 8px rgb(255 107 26 / .7)); }

.link { color: var(--orange); font-size: 14px; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--card-2); border: 1px solid var(--line-2); color: var(--text-2); }
.pill .ic { width: 15px; height: 15px; }
.pill--pro { background: linear-gradient(180deg, rgb(255 138 61 / .22), rgb(255 107 26 / .12)); border-color: rgb(255 107 26 / .45); color: var(--orange-2); }
.tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--orange-soft); color: var(--orange-2); margin-left: auto; }

/* ---------- cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, var(--card), #151518); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px; isolation: isolate;
}
/* holofote laranja que segue o cursor */
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 107 26 / .10), transparent 45%);
  transition: opacity .35s;
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(255 107 26 / .65), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s;
}
@media (hover: hover) { .card:hover::before, .card:hover::after { opacity: 1; } }
a.card, button.card { display: block; width: 100%; text-align: left; transition: transform .25s var(--ease), border-color .25s; }
a.card:active, button.card:active { transform: scale(.985); }
.card__title { font-size: 16px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 14px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card__head .card__title { margin: 0; }
.sec-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 12px; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; color: var(--muted); }
.empty > .ic { width: 34px; height: 34px; color: var(--orange); margin-bottom: 6px; filter: drop-shadow(0 0 12px rgb(255 107 26 / .5)); }
.empty b { color: var(--text); font-size: 16px; }
.empty .btn { margin-top: 12px; }
.empty--big { padding: 56px 24px; }

/* ---------- shell: sidebar (desktop) + tabbar (mobile) ---------- */
.shell { position: relative; z-index: 1; }
.main { padding: calc(14px + env(safe-area-inset-top)) var(--pad) calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }
.side { display: none; }

.tabbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding: 8px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgb(14 14 16 / .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.tabbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.tabbar__ic { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 10px; transition: background-color .3s var(--ease); }
.tabbar__item .ic { width: 23px; height: 23px; }
.tabbar__item.is-active { color: var(--orange); font-weight: 600; }
.tabbar__item.is-active .ic { filter: drop-shadow(0 0 8px rgb(255 107 26 / .65)); }
.tabbar__item.is-active::before { content: ""; position: absolute; top: -9px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--orange); box-shadow: 0 0 14px 2px rgb(255 107 26 / .7); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--orange); background: radial-gradient(circle at 50% 30%, rgb(255 107 26 / .22), rgb(255 107 26 / .04)); border: 1px solid rgb(255 107 26 / .3); box-shadow: 0 0 24px -6px rgb(255 107 26 / .6); }
.brand__mark .ic { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgb(255 107 26 / .6)); }
.brand__mark--lg { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 6px; }
.brand__mark--lg .ic { width: 38px; height: 38px; }
.brand__name { font: 800 21px/1 var(--display); letter-spacing: -.03em; }
.brand__name b { color: var(--orange); font-weight: 800; }

/* ---------- cabeçalhos ---------- */
.ph { display: flex; align-items: center; gap: 8px; margin: 6px 0 18px; min-height: 44px; }
.ph__back { margin-left: -10px; }
.ph__txt { flex: 1; min-width: 0; }
.ph__title { font: 700 26px/1.15 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.ph__sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ph__act { margin-right: -8px; }
.hello { display: flex; justify-content: space-between; align-items: flex-start; margin: 8px 0 18px; }
.hello__title { font: 700 24px/1.2 var(--font); letter-spacing: -.03em; }
.hello__sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.wave { display: inline-block; transform-origin: 70% 75%; animation: wave 2.6s ease-in-out 1s 2; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(10deg); } }

/* ---------- segmentado (abas) ---------- */
.seg { position: relative; display: grid; gap: 4px; padding: 4px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; isolation: isolate; }
.seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg__btn { position: relative; z-index: 1; display: grid; place-items: center; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: color .25s; white-space: nowrap; }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { color: #fff; font-weight: 600; }
.seg__ink { position: absolute; z-index: 0; top: 4px; left: 4px; height: 38px; border-radius: 10px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); box-shadow: 0 6px 18px -6px rgb(255 107 26 / .8); transition: transform .45s var(--ease), width .45s var(--ease); }
.seg--soft { background: transparent; border: 0; padding: 0; }
.seg--soft .seg__ink { top: 0; left: 0; background: var(--orange-soft); box-shadow: inset 0 0 0 1px rgb(255 107 26 / .5); }
.seg--soft .seg__btn.is-active { color: var(--orange-2); }

/* ---------- splash ---------- */
.is-splash { overflow: hidden; }
.splash { position: relative; z-index: 1; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; }
.splash__stage { position: absolute; inset: 0; }
.splash__canvas { width: 100%; height: 100%; }
.splash__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 10 11 / 0) 25%, rgb(10 10 11 / .75) 55%, var(--bg) 78%); pointer-events: none; }
.splash__copy { grid-row: 2; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px calc(28px + env(safe-area-inset-bottom)); max-width: 440px; width: 100%; margin: 0 auto; }
.splash__logo { color: var(--orange); }
.splash__logo .ic { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgb(255 107 26 / .8)); }
.splash__title { font: 800 46px/1 var(--display); letter-spacing: -.045em; margin: 6px 0 12px; }
.splash__title span { color: var(--orange); text-shadow: 0 0 28px rgb(255 107 26 / .55); }
.splash__lead { font-size: 17px; color: var(--text-2); line-height: 1.45; }
.splash__slides { position: relative; height: 44px; width: 100%; margin-top: 14px; }
.splash__slide { position: absolute; inset: 0; color: var(--muted); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.splash__slide.is-on { opacity: 1; transform: none; }
.dots { display: flex; gap: 8px; margin: 10px 0 22px; justify-content: center; }
.dot { width: 7px; height: 7px; border-radius: 99px; background: #4a4a52; transition: width .35s var(--ease), background-color .3s; }
.dot.is-on { width: 22px; background: var(--orange); box-shadow: 0 0 10px rgb(255 107 26 / .7); }
.dots--c { margin: 14px 0 18px; }
.splash__cta { display: grid; gap: 12px; width: 100%; }

/* ---------- auth / onboarding ---------- */
.auth { position: relative; z-index: 1; min-height: 100dvh; display: grid; place-items: center; padding: 64px 20px 32px; }
.auth__back, .onb__back { position: absolute; top: 18px; left: 14px; }
.auth__card { width: 100%; max-width: 400px; display: grid; gap: 14px; }
.auth__card .h1 { margin-top: 4px; }
.auth__alt { text-align: center; color: var(--muted); font-size: 14px; }
.auth__alt a { color: var(--orange); font-weight: 600; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgb(255 107 107 / .08); border: 1px solid rgb(255 107 107 / .3); color: #ffc9c9; font-size: 14px; }
.alert .ic { width: 18px; height: 18px; color: var(--bad); margin-top: 1px; }
.install-log { list-style: none; padding: 0; display: grid; gap: 8px; }
.onb { position: relative; width: 100%; max-width: 440px; min-height: calc(100dvh - 96px); display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.onb .h1 { margin-top: 30px; }
.choices { display: grid; gap: 12px; margin: 22px 0 28px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .3s; }
.choice:hover { border-color: var(--line-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__ic { color: var(--text); }
.choice__ic .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.choice__txt { flex: 1; display: grid; }
.choice__txt b { font-weight: 600; font-size: 15px; }
.choice__txt small { color: var(--muted); font-size: 14px; }
.choice__check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.choice__check .ic { width: 15px; height: 15px; stroke-width: 3; }
.choice:has(input:checked) { border-color: var(--orange); background: linear-gradient(180deg, rgb(255 107 26 / .1), rgb(255 107 26 / .03)); box-shadow: 0 0 0 4px rgb(255 107 26 / .08), 0 10px 30px -14px rgb(255 107 26 / .7); }
.choice:has(input:checked) .choice__ic { color: var(--orange); }
.choice:has(input:checked) .choice__check { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.onb__cta { margin-top: auto; }

/* ---------- formulários ---------- */
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span:first-child, .field legend { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 0; }
.field legend { margin-bottom: 7px; }
.field small { color: var(--muted); font-weight: 400; }
.field__box { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .25s; }
.field__box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 26 / .14); }
.field__box > .ic { width: 18px; height: 18px; color: var(--muted); }
.field__box input, .field__box select { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; appearance: none; }
.field__box select { cursor: pointer; padding-right: 24px; }
.field__box select option, .field__box select optgroup { background: var(--card); color: var(--text); }
.field__caret { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
.field__box input::placeholder { color: #6b6b74; }
.field__box input[type="date"]::-webkit-calendar-picker-indicator, .field__box input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(.7) sepia(1) hue-rotate(-20deg) saturate(4); cursor: pointer; }
.field__at { color: var(--muted); font-weight: 600; }
.field__eye { color: var(--muted); display: grid; place-items: center; width: 32px; height: 32px; margin-right: -6px; border-radius: 8px; }
.field__eye:hover { color: var(--text); }
.hint { font-size: 13px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid2 > *, .grid3 > * { min-width: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check input:checked + span { background: var(--orange); border-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }
.check input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.daypick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.daypick--3 { grid-template-columns: repeat(3, 1fr); }
.daypick label { position: relative; }
.daypick input { position: absolute; opacity: 0; }
.daypick span { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 13px; font-weight: 500; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; }
.daypick input:checked + span { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-2); font-weight: 600; }
.daypick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* switch */
.switchrow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch { appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .4); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.switch:checked { background: var(--orange); box-shadow: 0 0 16px -2px rgb(255 107 26 / .7); }
.switch:checked::after { transform: translateX(18px); }

/* ---------- bottom sheet (dialog) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 100; margin: auto; width: calc(100% - 24px); max-width: 520px; height: fit-content; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: #141417; color: var(--text);
  box-shadow: 0 30px 80px -10px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 107 26 / .06); overflow: auto; overscroll-behavior: contain;
}
.sheet:not([open]) { display: none; }
html:has(dialog[open]) { overflow: hidden; }
.sheet::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet__body { display: grid; gap: 14px; padding: 22px 18px 20px; }
.sheet__body--center { text-align: center; justify-items: center; }
.sheet__grip { display: none; }
.sheet__actions { display: flex; gap: 10px; margin-top: 6px; width: 100%; }
.sheet__actions .btn { flex: 1; }
.burst { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, var(--orange-2), var(--orange-deep)); box-shadow: 0 0 0 10px rgb(255 107 26 / .12), 0 0 50px rgb(255 107 26 / .6); margin: 8px 0 4px; }
.burst .ic { width: 36px; height: 36px; stroke-width: 2.6; }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--text-2); font-size: 14px; margin-top: 8px; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px; background: rgb(28 28 32 / .92); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; }
.toast .ic { width: 20px; height: 20px; }
.toast--ok .ic { color: var(--good); }
.toast--err { border-color: rgb(255 107 107 / .4); }
.toast--err .ic { color: var(--bad); }

/* ---------- início ---------- */
.dash { display: grid; gap: 16px; }
.today { padding: 16px 14px 14px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.week__day { display: grid; justify-items: center; gap: 4px; padding: 7px 0 8px; border-radius: 11px; font-size: 12px; color: var(--muted); position: relative; transition: background-color .25s, color .25s; }
.week__day b { font-size: 15px; font-weight: 600; color: var(--text); }
.week__day:hover { background: rgb(255 255 255 / .04); }
.week__day.is-active { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: rgb(255 255 255 / .85); box-shadow: 0 8px 20px -8px rgb(255 107 26 / .9); }
.week__day.is-active b { color: #fff; }
.week__day.is-done::after { content: ""; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--good); }
.week__day.is-active.is-done::after { background: #fff; }
.week__day.is-rest:not(.is-active) b { color: var(--muted); }
.wcard { display: grid; grid-template-columns: 42% 1fr; border-radius: 12px; overflow: hidden; background: #121215; border: 1px solid var(--line); min-height: 140px; }
.wcard__media { position: relative; background: radial-gradient(120% 90% at 30% 40%, #2a2a2e, #0e0e10); }
.wcard__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #121215); pointer-events: none; }
.wcard__body { padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.wcard__body > div { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.wcard__title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.wcard__focus { color: var(--text-2); font-size: 13.5px; }
.wcard__meta { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 13.5px; margin-top: 4px; }
.wcard__meta .ic { width: 16px; height: 16px; }
.wcard .btn { margin-top: auto; align-self: stretch; }
.stats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { display: grid !important; gap: 4px; padding: 14px; }
.stat__lbl { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; }
.stat__lbl .ic { width: 17px; height: 17px; }
.stat__val { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.stat__d { font-size: 13px; color: var(--muted); }
.stat__d--good { color: var(--good); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 6px; }
.kpi { display: grid; justify-items: center; text-align: center; gap: 2px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi__ic { color: var(--orange); }
.kpi__ic .ic { width: 20px; height: 20px; filter: drop-shadow(0 0 6px rgb(255 107 26 / .6)); }
.kpi b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 12px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.list__row + .list__row { border-top: 1px solid var(--line); }
.list__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); color: var(--orange); flex: none; }
.list__txt, .list__end { display: grid; }
.list__txt { flex: 1; min-width: 0; }
.list__txt b, .list__end b { font-size: 14px; font-weight: 600; }
.list__txt small, .list__end small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__end { text-align: right; }

/* ---------- treinos ---------- */
.tiles { display: grid; gap: 12px; }
.tile { display: flex !important; align-items: center; gap: 14px; padding: 16px; min-height: 86px; }
.tile__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--text); }
.tile__ic .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.tile__txt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.tile__txt b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.tile__txt span { color: var(--text-2); font-size: 13.5px; }
.tile__txt small { color: var(--muted); font-size: 12.5px; }
.tile__chev { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.tile:hover .tile__chev { transform: translateX(3px); color: var(--orange); }
.tile--add { border-style: dashed; background: transparent; }
.tile--add .tile__ic { color: var(--orange); border-radius: 12px; background: var(--orange-soft); }
.tile--add .tile__ic .ic { width: 22px; height: 22px; stroke-width: 2; }
.tile--sm { min-height: 70px; padding: 12px 14px; }
.tile--sm .tile__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); color: var(--orange); }
.tile--sm .tile__ic .ic { width: 22px; height: 22px; }
.tile--sm .tile__txt b { font-size: 15px; }
.lib { display: grid; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 26 / .12); }
.search .ic { color: var(--muted); width: 18px; height: 18px; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; height: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); transition: all .2s; }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; box-shadow: 0 4px 14px -4px rgb(255 107 26 / .8); }

.split { display: grid; gap: 16px; }
.stack { display: grid; gap: 14px; align-content: start; }
.hero-w { display: grid; gap: 14px; }
.hero-w__media { position: relative; height: 170px; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #2a2a2e, #0e0e10); }
.hero-w__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-w__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.hero-w__facts li { display: grid; justify-items: center; gap: 2px; }
.hero-w__facts li + li { border-left: 1px solid var(--line); }
.hero-w__facts .ic { color: var(--orange); width: 18px; height: 18px; }
.hero-w__facts b { font-size: 16px; }
.hero-w__facts small { color: var(--muted); font-size: 12px; }
.hero-w__days { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.hero-w__days .ic { width: 16px; height: 16px; }
.exlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.exrow { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; }
.exrow__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; flex: none; }
.exrow__txt { flex: 1; display: grid; min-width: 0; }
.exrow__txt b { font-size: 15px; font-weight: 600; }
.exrow__txt small { color: var(--muted); font-size: 13px; }
.exrow__txt:hover b { color: var(--orange-2); }

/* ---------- exercício ---------- */
.stage__view { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 100% at 50% 20%, #2c2c31, #0d0d0f 70%); border: 1px solid var(--line); }
.stage__view canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage__view canvas:active { cursor: grabbing; }
.stage__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgb(10 10 11 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1.5px solid rgb(255 255 255 / .5); transition: transform .3s var(--ease), opacity .3s, background-color .25s; }
.stage__play:hover { transform: scale(1.08); background: rgb(255 107 26 / .85); border-color: transparent; box-shadow: 0 0 40px rgb(255 107 26 / .6); }
.stage__play .ic { width: 26px; height: 26px; margin-left: 3px; }
.stage__view.is-playing .stage__play { opacity: 0; pointer-events: none; transform: scale(.8); }
.stage__hint { position: absolute; bottom: 10px; right: 12px; font-size: 11.5px; color: rgb(255 255 255 / .55); }
.tabpane { display: none; }
.tabpane.is-on { display: block; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--card-2); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; }
.steps p { font-size: 14.5px; color: var(--text-2); padding-top: 2px; }
.tips { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.tips li { display: flex; gap: 12px; }
.tips .ic { color: var(--orange); width: 18px; height: 18px; margin-top: 2px; }
.tips p { color: var(--text-2); font-size: 14.5px; }
.pr { display: flex !important; align-items: center; gap: 12px; }
.pr__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); }
.pr b { display: block; }
.pr small { color: var(--muted); font-size: 13px; }
.mtags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mtags li { display: grid; padding: 8px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.mtags li small { color: var(--muted); font-weight: 400; font-size: 12px; }
.mtags li.is-primary { border-color: rgb(255 107 26 / .5); background: var(--orange-soft); }
.musc { padding-bottom: 10px; }
.anatomy { width: 100%; max-width: 360px; margin: 0 auto; }
.an-head, .an-base { fill: #2a2a2f; }
.an-m path { fill: #34343a; stroke: #1b1b1f; stroke-width: .6; transition: fill .4s; }
.an-m.is-on path { fill: var(--orange); filter: url(#anGlow); }
.an-lbl { fill: var(--muted); font-size: 8px; font-family: var(--font); }

/* ---------- sessão de treino ---------- */
.is-focus .main { padding-bottom: 40px; }
.sess__head { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 16px; }
.sess__head > .iconbtn { margin-left: -10px; }
.sess__ttl { flex: 1; min-width: 0; }
.sess__timer { display: grid; justify-items: end; gap: 4px; }
.timer { font: 700 28px/1 var(--display); color: var(--orange); letter-spacing: -.02em; text-shadow: 0 0 22px rgb(255 107 26 / .5); }
.sess__timer .iconbtn { order: -1; display: none; }
.sess__grid { display: grid; gap: 14px; }
.sess__map { display: none; }
.sess__card { padding: 16px 14px; }
.sess__exhead { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sess__count { font-size: 13px; color: var(--muted); }
.sess__ex { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.sets { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-bottom: 8px; }
.sets th { font-size: 13px; font-weight: 500; color: var(--muted); text-align: center; padding: 4px 0; }
.sets th:first-child { width: 40px; }
.sets th:nth-child(2) { width: 54px; }
.sets td { text-align: center; padding: 0 4px; }
.sets .tick { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #4a4a52; display: grid; place-items: center; margin: 0 auto; color: transparent; transition: background-color .25s, border-color .25s, color .2s, box-shadow .3s; }
.sets .tick .ic { width: 16px; height: 16px; stroke-width: 3; }
.sets tr.is-done .tick { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 14px rgb(255 107 26 / .7); }
.sets .setno { font-weight: 600; color: var(--text-2); }
.sets tr.is-done .setno, .sets tr.is-current .setno { color: var(--orange); }
.sets input { width: 100%; height: 42px; text-align: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 16px; font-weight: 600; outline: 0; transition: border-color .2s, box-shadow .2s; }
.sets input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 107 26 / .18); }
.sets tr.is-current input { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.sets tr.is-done input { color: var(--text-2); }
.sess__nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 12px; }
.ring { position: relative; width: 74px; height: 74px; margin: 2px auto 12px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line-2); stroke-width: 3.5; }
.ring .ring__v { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .6s var(--ease); filter: drop-shadow(0 0 4px rgb(255 107 26 / .8)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.sess__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sess__list button { width: 100%; display: grid; grid-template-columns: 26px 1fr; text-align: left; gap: 0 10px; padding: 9px 10px; border-radius: 10px; transition: background-color .2s; }
.sess__list button:hover { background: rgb(255 255 255 / .04); }
.sess__list span { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; }
.sess__list b { font-size: 13.5px; font-weight: 600; }
.sess__list small { color: var(--muted); font-size: 12px; }
.sess__list .is-current { background: var(--orange-soft); }
.sess__list .is-current span { border-color: var(--orange); color: var(--orange); }
.sess__list .is-complete span { background: var(--orange); border-color: var(--orange); color: #fff; }
.rest { position: fixed; z-index: 40; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 16px; background: rgb(24 24 27 / .94); backdrop-filter: blur(16px); border: 1px solid rgb(255 107 26 / .45); box-shadow: 0 10px 40px -8px rgb(255 107 26 / .5); }
.rest span { font-size: 13px; color: var(--muted); }
.rest b { font: 700 22px var(--display); color: var(--orange); font-variant-numeric: tabular-nums; min-width: 64px; }

/* ---------- evolução / gráficos ---------- */
.chartcard { padding: 16px 14px 10px; }
.chartcard__head, .chartcard__top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chartcard__top { justify-content: space-between; align-items: flex-start; }
.chartcard__top > div { display: grid; }
.bignum { font-size: 27px; font-weight: 700; letter-spacing: -.03em; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: #2b2b31; stroke-width: 1; stroke-dasharray: 2 4; }
.chart .ax { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart .line-glow { fill: none; stroke: var(--orange); stroke-width: 6; opacity: .55; }
.chart .dot { fill: var(--orange); stroke: var(--card); stroke-width: 1.5; }
.chart .dot--last { fill: #fff; stroke: var(--orange); stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--orange)); }
.chart-empty { display: grid; justify-items: center; gap: 8px; padding: 30px 10px; color: var(--muted); font-size: 14px; text-align: center; }
.chart-empty .ic { width: 28px; height: 28px; color: var(--orange); }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.delta .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.delta--good { color: var(--good); }
.delta--bad { color: var(--bad); }
.delta--flat { color: var(--muted); font-weight: 500; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat3 { display: grid !important; justify-items: center; text-align: center; gap: 3px; padding: 14px 6px; }
.stat3__ic .ic { width: 24px; height: 24px; color: var(--text); stroke-width: 1.6; }
.stat3 small { color: var(--text-2); font-size: 12px; }
.stat3 b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.stat3 .delta { font-size: 11.5px; }
.bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; height: 150px; padding-top: 10px; }
.bars__col { flex: 1; max-width: 54px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.bars__b { width: 100%; height: var(--h); min-height: 6px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--orange-2), rgb(255 107 26 / .25)); box-shadow: 0 0 18px -4px rgb(255 107 26 / .6); transform-origin: bottom; }
.bars__v { font-size: 13px; font-weight: 600; }
.bars__col small { color: var(--muted); font-size: 12px; }
.mini { list-style: none; margin: 0; padding: 0; display: grid; }
.mini li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 9px 0; font-size: 14px; }
.mini li + li { border-top: 1px solid var(--line); }
.mini span { color: var(--text-2); }
.hist { list-style: none; margin: 0; padding: 4px 14px; }
.hist__row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px; padding: 11px 0; font-size: 14px; }
.hist__row + .hist__row { border-top: 1px solid var(--line); }
.hist__d { color: var(--text-2); }
.hist__v { font-weight: 600; }
.hist__row .delta { min-width: 78px; justify-content: flex-end; }
.hist__del { display: flex; }

.bodymap { display: grid; grid-template-columns: 40% 1fr; gap: 8px; align-items: center; padding: 14px 14px 14px 6px; }
.bodymap__fig { width: 100%; max-height: 330px; }
.bodymap__shape { fill: url(#bodyG); fill: #19191c; stroke: #8a8a93; stroke-width: .7; }
.bodymap__pt line { stroke: var(--orange); stroke-width: .6; stroke-dasharray: 1.5 1.5; opacity: 0; transition: opacity .3s; }
.bodymap__pt circle { fill: #55555c; transition: fill .3s; }
.bodymap__pt.is-on line { opacity: 1; }
.bodymap__pt.is-on circle { fill: var(--orange); filter: drop-shadow(0 0 3px var(--orange)); }
.bodymap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bodymap__list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; background: #121215; border: 1px solid transparent; font-size: 13.5px; transition: border-color .2s, background-color .2s; }
.bodymap__list a span { color: var(--text-2); }
.bodymap__list a b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bodymap__list a:hover, .bodymap__list a.is-hover { border-color: var(--line-2); }
.bodymap__list a.is-on { border-color: rgb(255 107 26 / .55); background: var(--orange-soft); }

.ptabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs__t { flex: 1 0 auto; min-width: 74px; display: grid; justify-items: center; padding: 6px 10px; border-radius: 10px; transition: background-color .25s; }
.ptabs__t b { font-size: 13.5px; font-weight: 600; }
.ptabs__t small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.ptabs__t.is-active { background: linear-gradient(180deg, var(--orange-2), var(--orange)); box-shadow: 0 6px 16px -6px rgb(255 107 26 / .9); }
.ptabs__t.is-active small { color: rgb(255 255 255 / .85); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare:has(> :only-child) { grid-template-columns: minmax(0, 260px); justify-content: center; }
.compare__f { margin: 0; display: grid; gap: 8px; }
.compare__img { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__del { position: absolute; top: 8px; right: 8px; opacity: 0; transition: opacity .2s; }
.compare__img:hover .compare__del, .compare__img:focus-within .compare__del { opacity: 1; }
.compare__f figcaption { display: grid; justify-items: center; font-size: 13px; color: var(--text-2); }
.compare__f figcaption b { color: var(--text); font-size: 15px; }
.compare__sum { text-align: center; margin-top: 10px; color: var(--muted); font-size: 14px; }
.drop { position: relative; display: grid; place-items: center; min-height: 170px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--bg-2); cursor: pointer; overflow: hidden; transition: border-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--orange); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__ph { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 13px; pointer-events: none; }
.drop__ph .ic { width: 30px; height: 30px; color: var(--orange); }
.drop__ph b { color: var(--text); font-size: 15px; }
.drop__prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* ---------- planejamento ---------- */
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.prow { display: flex !important; align-items: center; gap: 14px; padding: 16px; min-height: 76px; }
.prow__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: var(--orange); }
.prow__ic .ic { width: 28px; height: 28px; stroke-width: 1.6; filter: drop-shadow(0 0 6px rgb(255 107 26 / .45)); }
.prow__txt { flex: 1; display: grid; min-width: 0; }
.prow__txt b { font-size: 15px; font-weight: 600; }
.prow__txt small { color: var(--muted); font-size: 13px; }
.prow__chev { color: var(--muted); transition: transform .25s var(--ease); }
.prow:hover .prow__chev { transform: translateX(3px); color: var(--orange); }
.prow--inline { min-height: 64px; padding: 12px 14px; }
.goal-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; }
.goal { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.goal + .goal { border-top: 1px solid var(--line); }
.goal__check { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #4a4a52; display: grid; place-items: center; color: transparent; flex: none; transition: all .25s; }
.goal__check .ic { width: 15px; height: 15px; stroke-width: 3; }
.goal.is-done .goal__check { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 12px rgb(255 107 26 / .6); }
.goal__txt { flex: 1; display: grid; }
.goal__txt b { font-size: 14.5px; font-weight: 600; }
.goal__txt small { color: var(--muted); font-size: 12.5px; }
.goal.is-done .goal__txt b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange); }
.meter { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.meter__top { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.meter__top b { color: var(--orange); }
.meter__bar { height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.meter__bar span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--orange-deep), var(--orange-2)); box-shadow: 0 0 14px rgb(255 107 26 / .8); }

/* ---------- perfil ---------- */
.me { display: flex; align-items: center; gap: 16px; padding: 4px 0 6px; }
.me__avatar label { position: relative; display: block; cursor: pointer; }
.me__cam { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; border: 3px solid var(--bg); }
.me__cam .ic { width: 14px; height: 14px; }
.me__txt { display: grid; }
.me__txt b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.me__txt span { color: var(--text-2); font-size: 14px; }
.me__txt small { color: var(--muted); font-size: 13px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--lg { width: 76px; height: 76px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgb(255 107 26 / .55), 0 0 30px -4px rgb(255 107 26 / .6); }
.avatar--sm { width: 36px; height: 36px; }
.avatar--ini { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #3a3a40, #1d1d21); color: var(--orange-2); font: 700 24px var(--display); }
.avatar--sm.avatar--ini { font-size: 14px; }
.mestats { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 8px; padding: 12px 14px; }
.mestats div { display: grid; }
.mestats b { font-size: 18px; font-weight: 700; }
.mestats small { color: var(--muted); font-size: 12px; }
.menu { list-style: none; margin: 0; padding: 4px 6px; }
.menu li + li { border-top: 1px solid var(--line); }
.menu a, .menu button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 8px; font-size: 15px; text-align: left; border-radius: 10px; transition: background-color .2s; }
.menu a:hover, .menu button:hover { background: rgb(255 255 255 / .03); }
.menu .ic { width: 21px; height: 21px; color: var(--text-2); }
.menu span { flex: 1; }
.menu__chev { color: var(--muted) !important; }
.menu__out { display: flex !important; align-items: center; gap: 14px; padding: 15px 14px; color: var(--orange); font-weight: 600; }
.menu__out .ic { width: 21px; height: 21px; }

/* ---------- planos ---------- */
.plans { display: grid; gap: 14px; margin-bottom: 16px; }
.plan { display: grid; gap: 16px; padding: 20px; }
.plan header { display: flex; justify-content: space-between; align-items: center; }
.plan__price { font: 800 26px var(--display); letter-spacing: -.03em; }
.plan__price small { font: 500 14px var(--font); color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.plan li .ic { width: 18px; height: 18px; color: var(--orange); }
.plan--pro { border-color: rgb(255 107 26 / .5); background: linear-gradient(180deg, rgb(255 107 26 / .09), var(--card) 45%); box-shadow: 0 20px 50px -24px rgb(255 107 26 / .6); }

/* ---------- entrada (estado inicial antes do GSAP) ---------- */
.js .reveal, .js [data-hero] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-hero] { opacity: 1; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Tablet / desktop
   ========================================================================== */
@media (min-width: 720px) {
  .main { max-width: 720px; }
  .stats3 { gap: 14px; }
  .sheet__body { padding: 26px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .splash__copy { padding-bottom: 56px; }
}

@media (min-width: 1024px) {
  :root { --pad: 40px; }
  .tabbar { display: none; }
  .shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100dvh; }
  .side {
    display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: 100dvh; padding: 26px 18px 20px;
    border-right: 1px solid var(--line); background: linear-gradient(180deg, rgb(20 20 23 / .85), rgb(12 12 14 / .85)); backdrop-filter: blur(12px);
  }
  .side .brand { padding: 0 8px; }
  .side__nav { display: grid; gap: 4px; }
  .side__link { position: relative; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 12px; color: var(--text-2); font-weight: 500; transition: background-color .2s, color .2s; }
  .side__link .ic { width: 21px; height: 21px; }
  .side__link:hover { background: rgb(255 255 255 / .04); color: var(--text); }
  .side__link.is-active { color: #fff; background: linear-gradient(90deg, rgb(255 107 26 / .2), rgb(255 107 26 / .04)); box-shadow: inset 0 0 0 1px rgb(255 107 26 / .3); }
  .side__link.is-active .ic { color: var(--orange); filter: drop-shadow(0 0 6px rgb(255 107 26 / .7)); }
  .side__plan { margin-top: auto; display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
  .side__plan .pill { justify-self: start; }
  .side__plan p { font-size: 13px; color: var(--muted); }
  .side__me { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
  .side__me:hover { background: rgb(255 255 255 / .04); }
  .side__me span { display: grid; min-width: 0; }
  .side__me b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side__me small { color: var(--muted); font-size: 12.5px; }

  .main { max-width: 1180px; width: 100%; padding: 34px var(--pad) 56px; margin: 0; }
  .ph { margin: 0 0 24px; }
  .ph__title, .hello__title { font-size: 32px; }
  .seg { max-width: 560px; }
  .dash { grid-template-columns: 1.25fr 1fr; align-items: start; gap: 20px; }
  .dash__wide { grid-column: span 1; }
  .dash > .today { grid-row: span 2; }
  .wcard { min-height: 220px; }
  .wcard__title { font-size: 22px; }
  .split { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .split--plan { grid-template-columns: 1fr 1.1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tiles--lib { grid-template-columns: repeat(3, 1fr); }
  .chips { margin: 0; padding: 0; flex-wrap: wrap; }
  .hero-w__media { height: 240px; }
  .stage { position: sticky; top: 24px; }
  .sess__grid { grid-template-columns: 280px 1fr; align-items: start; }
  .sess__map { display: block; position: sticky; top: 24px; }
  .sess__card { padding: 22px 22px; }
  .sess__timer { grid-auto-flow: column; align-items: center; gap: 12px; }
  .sess__timer .iconbtn { display: grid; }
  .timer { font-size: 34px; }
  .compare { max-width: 760px; margin: 0 auto; gap: 18px; }
  .ptabs { max-width: 760px; margin-inline: auto; }
  .plans { max-width: 840px; }
  .toast { top: 22px; left: calc(50% + 130px); }
}
@media (max-width: 1023px) {
  .sess__head { flex-wrap: wrap; }
  .sess__timer { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; padding-left: 34px; margin-top: 6px; }
  .sess__timer .iconbtn { display: grid; order: 0; }
}
@media (max-width: 380px) {
  .stats3 .stat3 b { font-size: 15px; }
  .week__day { font-size: 11px; }
  .bodymap { grid-template-columns: 36% 1fr; }
}

/* ---------- onboarding (assistente de primeiro acesso) ---------- */
.wz { position: relative; width: 100%; max-width: 460px; min-height: calc(100dvh - 96px); display: flex; flex-direction: column; }
.auth:has(.wz) { padding-top: 18px; align-items: start; }
.wz__top { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; margin-bottom: 26px; }
.wz__bar { position: relative; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wz__bar i { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-2)); box-shadow: 0 0 14px rgb(255 107 26 / .8); transition: width .55s var(--ease); }
.wz__count { font: 600 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.wz__eyebrow { color: var(--orange-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.wz__step { display: flex; flex-direction: column; gap: 6px; }
.js .wz__step:not(.is-on) { display: none; }
.wz__step .choices { margin: 20px 0 8px; }
.wz__fields { display: grid; gap: 18px; margin-top: 22px; }
.wz__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
.js .wz [data-wz-submit], .js .wz.is-last [data-wz-next] { display: none; }
.js .wz.is-last [data-wz-submit] { display: inline-flex; }
.wz__out { justify-self: center; color: var(--muted); font-size: 14px; padding: 6px 10px; }
.wz__out:hover { color: var(--text); }
.wz__err { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid rgb(255 107 107 / .35); background: rgb(255 107 107 / .08); font-size: 14px; }
.wz__err .ic { color: var(--bad); width: 18px; height: 18px; flex: none; }
.wz__note { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--orange-soft); color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.wz__note .ic { color: var(--orange-2); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.choices--tight, .wz__step .choices--tight { margin: 0; gap: 10px; }
.choices--tight .choice { padding: 13px 14px; }
.choices--tight .choice__ic .ic { width: 24px; height: 24px; }
.choice__lvl { display: flex; align-items: flex-end; gap: 3px; width: 30px; height: 26px; }
.choice__lvl i { flex: 1; border-radius: 3px; background: var(--line-2); transition: background-color .25s; }
.choice__lvl i:nth-child(1) { height: 40%; } .choice__lvl i:nth-child(2) { height: 70%; } .choice__lvl i:nth-child(3) { height: 100%; }
.choice__lvl[data-lvl="1"] i:nth-child(-n+1), .choice__lvl[data-lvl="2"] i:nth-child(-n+2), .choice__lvl[data-lvl="3"] i { background: var(--text-2); }
.choice:has(input:checked) .choice__lvl[data-lvl="1"] i:nth-child(-n+1), .choice:has(input:checked) .choice__lvl[data-lvl="2"] i:nth-child(-n+2), .choice:has(input:checked) .choice__lvl[data-lvl="3"] i { background: var(--orange); }
.opts { display: grid; gap: 8px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt { position: relative; }
.opt input, .chip--check input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: grid; place-items: center; align-content: center; min-height: 48px; padding: 6px 4px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg-2); font-size: 13px; font-weight: 500; color: var(--text-2); text-align: center; line-height: 1.15; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, box-shadow .25s; }
.opt--num span { font: 700 18px/1 var(--display); color: var(--text); }
.opt--num small { font: 500 11px/1.2 var(--font); color: var(--muted); }
.opt span:hover { border-color: var(--muted); }
.opt input:checked + span { border-color: var(--orange); background: linear-gradient(180deg, rgb(255 107 26 / .16), rgb(255 107 26 / .05)); color: #fff; box-shadow: 0 8px 22px -12px rgb(255 107 26 / .9); }
.opt input:checked + span small { color: var(--orange-2); }
.opt input:focus-visible + span, .chip--check input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chips--wrap { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.chip--check { position: relative; height: auto; padding: 0; border: 0; }
.chip--check span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); cursor: pointer; transition: all .2s; }
.chip--check input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; box-shadow: 0 4px 14px -4px rgb(255 107 26 / .8); }
.field__unit { font-style: normal; color: var(--muted); font-size: 14px; }
.field__area { width: 100%; min-height: 92px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 15px; resize: vertical; outline: 0; transition: border-color .2s, box-shadow .25s; }
.field__area:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 26 / .14); }
.field.is-bad .field__box, .field.is-bad .opt span { border-color: var(--bad); }
.wz-load { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; background: rgb(10 10 11 / .94); backdrop-filter: blur(10px); text-align: center; }
.wz-load[hidden] { display: none; }
.wz-load__orb { position: relative; width: 92px; height: 92px; }
.wz-load__orb span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--orange); animation: wzspin 1.1s linear infinite; filter: drop-shadow(0 0 8px rgb(255 107 26 / .9)); }
.wz-load__orb span:nth-child(2) { inset: 14px; border-top-color: var(--orange-2); animation-duration: 1.6s; animation-direction: reverse; }
.wz-load__orb span:nth-child(3) { inset: 32px; border: 0; background: radial-gradient(circle, var(--orange-2), var(--orange) 60%, transparent 70%); animation: wzpulse 1.2s ease-in-out infinite; }
.wz-load__steps { display: grid; gap: 10px; list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.wz-load__steps li { transition: color .3s; }
.wz-load__steps li.is-on { color: var(--text); }
.wz-load__steps li.is-done { color: var(--orange-2); }
@keyframes wzspin { to { transform: rotate(360deg); } }
@keyframes wzpulse { 50% { transform: scale(.7); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .wz-load__orb span { animation: none; } }
.plan-ai { display: grid; gap: 10px; margin-bottom: 16px; padding: 16px; }
.plan-ai__head { display: flex; align-items: center; gap: 10px; }
.plan-ai__head .ic { color: var(--orange-2); width: 20px; height: 20px; }
.plan-ai__head b { font-size: 15px; }
.plan-ai p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.plan-ai .btn { justify-self: start; }
.exrow__note, .sess__note { color: var(--orange-2) !important; font-size: 12.5px !important; line-height: 1.4; }
.sess__note { margin-top: 4px; }

.field__hint { color: var(--bad) !important; font-size: 12.5px; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.btn--google { background: #fff; color: #1f1f1f; border: 1px solid #fff; font-weight: 600; gap: 10px; }
.btn--google:hover { background: #f1f1f1; }
.btn--google svg { width: 18px; height: 18px; }

/* ---------- coach ---------- */
.coach { display: grid; gap: 10px; }
.coach__msg { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 14px 14px; overflow: hidden; }
.coach__msg::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--orange); box-shadow: 0 0 14px rgb(255 107 26 / .9); }
.coach__msg--milestone { background: linear-gradient(135deg, rgb(255 107 26 / .16), rgb(255 107 26 / .03) 60%), var(--card); border-color: rgb(255 107 26 / .35); }
.coach__msg--alert::before { background: #ffb020; box-shadow: 0 0 14px rgb(255 176 32 / .8); }
.coach__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-2); }
.coach__ic .ic { width: 20px; height: 20px; }
.coach__msg--alert .coach__ic, .coach__ic--alert { background: rgb(255 176 32 / .14); color: #ffb020; }
.coach__txt { display: grid; gap: 2px; min-width: 0; }
.coach__txt small { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.coach__txt b { font-size: 15px; font-weight: 700; }
.coach__txt p { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.coach__x { position: absolute; top: 10px; right: 10px; }
.coach__row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.coach__row:first-of-type { border-top: 0; }
.coach__row.is-new .coach__txt b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--orange); vertical-align: middle; box-shadow: 0 0 8px var(--orange); }
@media (min-width: 1024px) { .coach { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }

/* ---------- marca Evolua ---------- */
.brand__logo { display: block; width: 148px; height: auto; filter: drop-shadow(0 0 14px rgb(255 107 26 / .25)); }
.brand__mark img { width: 34px; height: auto; filter: drop-shadow(0 0 6px rgb(255 107 26 / .55)); }
.brand__mark--lg img { width: 44px; }
.splash__title { margin: 0 0 14px; line-height: 0; }
.splash__logo-img { width: min(300px, 78vw); height: auto; filter: drop-shadow(0 0 22px rgb(255 107 26 / .35)); }
.about__logo { width: 200px; height: auto; margin: 6px auto 4px; }

/* ---------- PWA ---------- */
.install { text-align: left; }
.install__icon { width: 76px; height: 76px; border-radius: 18px; justify-self: center; box-shadow: 0 12px 40px -12px rgb(255 107 26 / .7); }
.install > .muted { text-align: center; }
.install__steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 4px 0 0; }
.install__steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.install__steps b { color: var(--text); }
.install__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-2); font-weight: 700; font-size: 13px; }
.install__glyph { width: 18px; height: 18px; vertical-align: -3px; color: #3a8bff; }
.install__note { font-size: 12.5px; color: var(--muted); }
.install-banner { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 40px 12px 12px; border-color: rgb(255 107 26 / .35); background: linear-gradient(135deg, rgb(255 107 26 / .12), transparent 70%), var(--card); }
.install-banner[hidden] { display: none; }
.install-banner img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.install-banner__txt { flex: 1; display: grid; min-width: 0; }
.install-banner__txt b { font-size: 14px; }
.install-banner__txt small { color: var(--muted); font-size: 12.5px; }
.install-banner__x { position: absolute; top: 6px; right: 6px; }
@media (display-mode: standalone) {
  .auth { padding-top: calc(64px + env(safe-area-inset-top)); }
  .auth__back, .onb__back { top: calc(18px + env(safe-area-inset-top)); }
  .auth:has(.wz) { padding-top: calc(18px + env(safe-area-inset-top)); }
  .splash__copy { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  body { overscroll-behavior-y: none; -webkit-user-select: none; user-select: none; }
  input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
}

/* troca de exercício com IA */
.ai-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--orange-2); background: linear-gradient(180deg, rgb(255 138 61 / .2), rgb(255 107 26 / .08)); border: 1px solid rgb(255 107 26 / .4); }
.ai-badge .ic { width: 14px; height: 14px; }
.hero-w > .ai-badge { margin-bottom: 4px; }
.ai-hint { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 4px; padding: 12px 14px; border-radius: 14px; background: rgb(255 107 26 / .07); border: 1px dashed rgb(255 107 26 / .35); color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.ai-hint .ic { flex: none; width: 18px; height: 18px; color: var(--orange-2); margin-top: 1px; }
.ai-hint b { color: var(--orange-2); }
.ai-foot { font-size: 12.5px; line-height: 1.5; margin-top: 6px; }
.swapbtn { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 99px; border: 1px solid rgb(255 107 26 / .4); color: var(--orange-2); font-size: 12.5px; font-weight: 600; background: rgb(255 107 26 / .08); transition: background .2s, transform .15s; }
.swapbtn .ic { width: 14px; height: 14px; }
.swapbtn:hover { background: rgb(255 107 26 / .18); }
.swapbtn:active { transform: scale(.94); }
@media (max-width: 380px) { .swapbtn span { display: none; } .swapbtn { padding: 0 9px; } }
.swap__head { display: grid; gap: 8px; }
.swap__ask { display: grid; gap: 14px; }
.chips--wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.swap__load { display: grid; justify-items: center; gap: 10px; padding: 26px 0 18px; text-align: center; }
.swap__res { display: grid; gap: 12px; }
.swap__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.swap__opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.swap__txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.swap__txt b { font-size: 15px; }
.swap__txt small { color: var(--muted); font-size: 12.5px; }
.swap__txt p { margin: 4px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.swap__see { justify-self: start; margin-top: 4px; font-size: 12.5px; color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.swap__opt form { flex: none; align-self: center; }
.ai-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--orange-2); background: rgb(255 107 26 / .12); border: 1px solid rgb(255 107 26 / .35); vertical-align: 2px; }
.ai-tag .ic { width: 11px; height: 11px; }
.plan-ai p.plan-ai__note { font-size: 13px; color: var(--muted); }

/* saúde no questionário */
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.health { display: grid; gap: 8px; margin-top: 18px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgb(255 107 26 / .16), rgb(255 107 26 / .06)); border: 1.5px solid rgb(255 107 26 / .55); box-shadow: 0 10px 30px -18px rgb(255 107 26 / .9); }
.health__head { display: flex; align-items: center; gap: 10px; }
.health__head .ic { width: 22px; height: 22px; color: var(--orange-2); flex: none; }
.health__head b { font-size: 15.5px; color: var(--text); }
.health p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.health p b { color: var(--orange-2); }
.health__q legend { font-weight: 600; color: var(--text); }
.health__hint { display: block; margin: -2px 0 8px; font-size: 12.5px; }
.health__alert { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px; border-radius: 12px; background: rgb(255 196 0 / .1); border: 1px solid rgb(255 196 0 / .45); color: #ffd9a0; font-size: 13.5px; line-height: 1.45; }
.health__alert[hidden] { display: none; }
.health__alert .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #ffc400; }
.plan-ai__health { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgb(255 196 0 / .1); border: 1px solid rgb(255 196 0 / .4); color: #ffd9a0; font-size: 13px; line-height: 1.45; }
.plan-ai__health .ic { width: 17px; height: 17px; flex: none; color: #ffc400; margin-top: 1px; }
.field[hidden] { display: none; }

/* recuperação de senha */
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth__forgot { color: var(--orange); font-size: 14px; font-weight: 600; }
.auth__forgot:hover { text-decoration: underline; }
.auth__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgb(255 107 26 / .12); border: 1px solid rgb(255 107 26 / .3); color: var(--orange); }
.auth__icon .ic { width: 26px; height: 26px; }
.auth__email { color: var(--text); word-break: break-all; }

/* convite */
.invite__input { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.invite__input::placeholder { text-transform: none; letter-spacing: .04em; font-weight: 500; }
.invite__ok { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #b9f6ca; background: rgb(52 211 153 / .1); border: 1px solid rgb(52 211 153 / .3); }
.invite__ok .ic { width: 16px; height: 16px; color: #34d399; }
.invite__ok strong { letter-spacing: .05em; }
