/* Estilos do site (todas as páginas de public/landing). */
/* ============================================================
   TOKENS — espelham app-react/src/styles/tokens.css. O admin pode
   trocar --primary/--primary-h/--primary-glow (cor principal) via
   landing_content; o resto é fixo.
============================================================ */
:root {
  --bg:           #0b0b0f;
  --bg-2:         #101015;
  --surface:      #16161a;
  --surface-2:    #1c1c21;
  --surface-3:    #27272a;
  --border:       #26262b;
  --border-2:     #3f3f46;
  --text:         #ececef;
  --text-muted:   #a1a1aa;
  --text-dim:     #8b8b95;   /* >= 4.5:1 sobre --bg e --surface */
  --primary:      #f97316;
  --primary-h:    #fb923c;
  --primary-glow: rgba(249, 115, 22, .18);
  --primary-ink:  #fb923c;   /* laranja pra TEXTO (contraste) */
  --on-primary:   #0e0e12;
  --success:      #4ade80;
  --water:        #38bdf8;
  --error:        #f87171;
  --nav-bg:       rgba(11, 11, 15, .78);
  --phone-frame:  #1f1f24;
  --shadow-lg:    0 40px 80px -30px rgba(0, 0, 0, .75);
  --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
}
/* Tema claro: segue o sistema, a menos que o visitante tenha escolhido no botão
   do menu (data-theme no <html>, chave "theme" do localStorage, a mesma do
   app). Os dois blocos abaixo têm que ficar iguais. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:           #fafafa;
    --bg-2:         #f4f4f5;
    --surface:      #ffffff;
    --surface-2:    #f4f4f5;
    --surface-3:    #e4e4e7;
    --border:       #e4e4e7;
    --border-2:     #d4d4d8;
    --text:         #18181b;
    --text-muted:   #52525b;
    --text-dim:     #71717a;
    --primary-glow: rgba(249, 115, 22, .14);
    --primary-ink:  #c2410c;
    --success:      #16a34a;
    --water:        #0284c7;
    --error:        #dc2626;
    --nav-bg:       rgba(250, 250, 250, .82);
    --phone-frame:  #18181b;
    --shadow-lg:    0 40px 80px -30px rgba(24, 24, 27, .35);
  }
}
:root[data-theme="light"] {
  --bg:           #fafafa;
  --bg-2:         #f4f4f5;
  --surface:      #ffffff;
  --surface-2:    #f4f4f5;
  --surface-3:    #e4e4e7;
  --border:       #e4e4e7;
  --border-2:     #d4d4d8;
  --text:         #18181b;
  --text-muted:   #52525b;
  --text-dim:     #71717a;
  --primary-glow: rgba(249, 115, 22, .14);
  --primary-ink:  #c2410c;
  --success:      #16a34a;
  --water:        #0284c7;
  --error:        #dc2626;
  --nav-bg:       rgba(250, 250, 250, .82);
  --phone-frame:  #18181b;
  --shadow-lg:    0 40px 80px -30px rgba(24, 24, 27, .35);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--primary); color: var(--on-primary); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 30px -8px var(--primary); }
.btn-primary:hover { background: var(--primary-h); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-2); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-btn { min-height: 40px; min-width: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-2); background: transparent; color: var(--text-muted); font: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.lang-btn:hover { color: var(--text); background: var(--surface-2); }
.lang-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn svg { flex-shrink: 0; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
header.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-inner > nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.theme-btn { display: grid; place-items: center; padding: 8px; }
.theme-btn svg { width: 18px; height: 18px; }
/* Mostra o ícone do tema pra onde o clique leva. */
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-btn .sun { display: block; }
  :root:not([data-theme]) .theme-btn .moon { display: none; }
}
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 8px; color: var(--text-muted); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-inner > .btn { margin-left: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, var(--primary-glow), transparent 70%),
    radial-gradient(30% 40% at 12% 10%, rgba(56, 189, 248, .10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 70% 30%, #000 0%, transparent 75%);
}
.hero .wrap { z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > *, .show-row > * { min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13.5px; font-weight: 600;
  padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); }
h1 {
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 22px;
  letter-spacing: -.035em; font-weight: 850;
}
.grad {
  background: linear-gradient(120deg, var(--primary) 10%, var(--primary-h) 60%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-muted); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { color: var(--success); }

/* ---------- celular com telas do app (HTML, não screenshot) ---------- */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone {
  position: relative; width: 300px; max-width: 78vw; aspect-ratio: 300 / 620;
  border-radius: 46px; padding: 11px; background: var(--phone-frame);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 0 1px rgba(0, 0, 0, .3);
}
.phone::before { /* ilha */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 14px; background: #000; z-index: 5;
}
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 36px; background: var(--bg);
  font-size: 11px; line-height: 1.35;
  container-type: inline-size;
}
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px) scale(.985);
  transition: opacity .45s ease, transform .45s ease; pointer-events: none;
}
.scr.is-active { opacity: 1; transform: none; }

.screen-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 22px; max-width: 360px; background: var(--surface); border: 1px solid var(--border); }
.screen-tab {
  border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; position: relative; overflow: hidden;
  transition: background .2s ease, color .2s ease;
}
.screen-tab[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.screen-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--primary); }
.screen-tab[aria-selected="true"] .prog.run { animation: tabprog var(--dur, 5s) linear forwards; }
@keyframes tabprog { to { width: 100%; } }

.float-chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.25;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 13.5px; }
.float-chip small { color: var(--text-muted); font-size: 12px; }
.float-chip .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; }
.float-chip--pr { top: 2%; left: -14%; }
.float-chip--pr .ico { background: var(--primary-glow); }
.float-chip--water { bottom: 31%; right: -12%; animation-delay: -3s; }
.float-chip--water .ico { background: rgba(56, 189, 248, .15); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----- peças das telas (prefixo m-) ----- */
.m-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; height: 40px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.m-status i { display: inline-block; width: 18px; height: 9px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .8; }
.m-status i::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: currentColor; border-radius: 1px; }
.m-topbar { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; flex-shrink: 0; }
.m-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #fbbf24); display: grid; place-items: center; color: #0e0e12; font-weight: 800; font-size: 10px; }
.m-topbar b { font-size: 12.5px; }
.m-topbar .online { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.m-topbar .sp { flex: 1; }
.m-icon-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 10px; }
.m-body { flex: 1; overflow: hidden; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.m-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.m-label { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.m-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px 16px; border-top: 1px solid var(--border); background: var(--surface); flex-shrink: 0; }
.m-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8px; font-weight: 600; color: var(--text-dim); }
.m-tabbar span.on { color: var(--primary); }
.m-tabbar svg { width: 17px; height: 17px; }

/* tela: ao vivo */
.m-live { padding: 0 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.m-live__top { display: flex; align-items: center; gap: 8px; }
.m-live__head { flex: 1; display: flex; flex-direction: column; }
.m-live__head b { font-size: 12.5px; }
.m-live__head small { color: var(--text-muted); font-size: 9.5px; }
.m-clock { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.m-bar { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 38%; background: var(--primary); border-radius: 4px; }
.m-steps { display: flex; gap: 4px; }
.m-steps i { flex: 1; height: 4px; border-radius: 3px; background: var(--surface-3); }
.m-steps i.done { background: var(--success); }
.m-steps i.cur { background: var(--primary); }
.m-kicker { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-ink); margin-top: 2px; }
.m-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.m-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.m-chips span { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.m-tip { font-size: 10px; color: var(--text-muted); padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px dashed var(--border-2); }
.m-sets { display: flex; flex-direction: column; gap: 5px; }
.m-set { display: grid; grid-template-columns: 22px 1fr 1fr 26px; gap: 6px; align-items: center; }
.m-set--head { font-size: 8.5px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.m-set .n { font-weight: 800; color: var(--text-muted); text-align: center; }
.m-set .f { height: 28px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 700; font-size: 11.5px; }
.m-set .ck { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--border-2); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.m-set.done .f { color: var(--text-muted); }
.m-set.done .ck { background: var(--success); border-color: var(--success); color: #0e0e12; }
.m-set.cur .f { border-color: var(--primary); }
.m-set.cur .f.empty { color: var(--text-dim); }
.m-last { font-size: 9.5px; color: var(--text-muted); text-align: center; }
.m-last b { color: var(--text); }
.m-rest { position: relative; overflow: hidden; display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 9px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--primary); }
.m-rest__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--primary-glow); transform-origin: left; }
.m-rest > div { position: relative; flex: 1; display: flex; flex-direction: column; }
.m-rest small { font-size: 8.5px; font-weight: 800; color: var(--primary-ink); text-transform: uppercase; letter-spacing: .08em; }
.m-rest b { font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.m-pill { position: relative; font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface); }
.m-foot { display: flex; gap: 6px; }
.m-foot span { height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; }
.m-foot .prev { width: 40px; border: 1px solid var(--border); background: var(--surface); }
.m-foot .next { flex: 1; background: var(--primary); color: #0e0e12; }

/* tela: água */
.m-water { display: flex; align-items: center; gap: 12px; }
.m-ring {
  --pct: 62; width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: conic-gradient(var(--water) calc(var(--pct) * 1%), var(--surface-3) 0);
}
.m-ring > div { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.m-ring b { font-size: 19px; line-height: 1; }
.m-ring b small { font-size: 10px; }
.m-ring span { font-size: 9px; color: var(--text-muted); }
.m-water__info { display: flex; flex-direction: column; gap: 2px; }
.m-water__info strong { font-size: 14px; }
.m-water__info span { font-size: 9.5px; color: var(--text-muted); }
.m-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.m-quick span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 9.5px; font-weight: 800; }
.m-quick em { font-style: normal; font-size: 14px; }
.m-quick small { font-size: 8px; color: var(--text-muted); font-weight: 600; }
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.m-stats div { padding: 7px 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.m-stats b { font-size: 14px; }
.m-stats span { font-size: 8px; color: var(--text-muted); line-height: 1.2; }
.m-wbars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 70px; margin-top: 6px; }
.m-wbars i { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(56, 189, 248, .35); }
.m-wbars i.hit { background: var(--water); }
.m-wbars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 52px; border-top: 1px dashed var(--text-dim); opacity: .6; }

/* tela: evolução */
.m-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.m-kpis div { padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.m-kpis b { font-size: 17px; display: block; line-height: 1.1; }
.m-kpis span { font-size: 8.5px; color: var(--text-muted); }
.m-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; gap: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.m-seg span { text-align: center; padding: 4px 0; border-radius: 7px; font-size: 9.5px; font-weight: 700; color: var(--text-muted); }
.m-seg span.on { background: var(--primary); color: #0e0e12; }
.m-heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 6px; }
.m-heat i { aspect-ratio: 1; border-radius: 3px; background: var(--surface-3); }
.m-heat i.l1 { background: rgba(249, 115, 22, .35); }
.m-heat i.l2 { background: rgba(249, 115, 22, .65); }
.m-heat i.l3 { background: var(--primary); }
.m-chart { width: 100%; height: 70px; margin-top: 4px; overflow: visible; }

/* tela: histórico */
.m-month { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 12px; }
.m-month span { color: var(--text-dim); font-size: 13px; }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; margin-top: 6px; }
.m-cal .wd { font-size: 8px; font-weight: 800; color: var(--text-dim); padding-bottom: 2px; }
.m-cal i { font-style: normal; font-size: 9.5px; font-weight: 600; padding: 4px 0; border-radius: 7px; color: var(--text-muted); position: relative; }
.m-cal i.d { background: var(--primary); color: #0e0e12; font-weight: 800; }
.m-cal i.p { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--text); }
.m-cal i.t { box-shadow: inset 0 0 0 1.5px var(--text); color: var(--text); font-weight: 800; }
.m-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
.m-sum b { display: block; font-size: 13px; }
.m-sum span { font-size: 7.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.m-session { display: flex; gap: 8px; align-items: center; }
.m-session .dt { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-glow); color: var(--primary-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; line-height: 1; }
.m-session .dt small { font-size: 7px; text-transform: uppercase; }
.m-session div:last-child { display: flex; flex-direction: column; }
.m-session b { font-size: 11px; }
.m-session span { font-size: 9px; color: var(--text-muted); }
.m-up { color: var(--success); font-weight: 700; }

/* ---------- faixa de destaques ---------- */
.highlights {
  display: flex; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.highlight {
  flex: 1 1 200px; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px; color: var(--text-muted); font-size: 15px; font-weight: 700;
}
.highlight + .highlight { border-left: 1px solid var(--border); }
.highlight svg { color: var(--primary); flex-shrink: 0; }

/* ---------- seções ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 60px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.03em; }
.section-head p { color: var(--text-muted); margin: 0; font-size: clamp(15.5px, 1.4vw, 17.5px); }

/* ---------- comparação ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.compare-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 32px); }
.compare-col.good { border-color: rgba(249, 115, 22, .45); background: linear-gradient(170deg, var(--primary-glow), var(--surface) 55%); }
.compare-tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.compare-tag.bad { background: rgba(239, 68, 68, .12); color: var(--error); }
.compare-tag.good { background: var(--primary); color: var(--on-primary); }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-col li { position: relative; padding-left: 30px; color: var(--text-muted); }
.compare-col li::before {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.compare-col:not(.good) li::before { content: "✕"; color: var(--error); background: rgba(239, 68, 68, .12); }
.compare-col.good li::before { content: "✓"; color: var(--on-primary); background: var(--primary); }
.compare-col.good li { color: var(--text); }

/* ---------- vitrine (linhas alternadas) ---------- */
.showcase { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.show-list { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.show-row:nth-child(even) .show-copy { order: 2; }
.show-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--primary-ink); margin-bottom: 12px; }
.show-tag i { width: 26px; height: 26px; border-radius: 8px; background: var(--primary-glow); display: grid; place-items: center; font-style: normal; }
.show-copy h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; }
.show-copy > p { color: var(--text-muted); margin: 0 0 22px; font-size: 16.5px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.show-visual {
  position: relative; min-height: 340px; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px);
  background: radial-gradient(80% 80% at 50% 0%, var(--primary-glow), transparent 70%), var(--surface);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.panel { width: 100%; max-width: 380px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); }
.panel + .panel { margin-top: 12px; }
.panel-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* visual: descanso */
.rest-big { display: flex; align-items: center; gap: 20px; }
.rest-ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.rest-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rest-ring circle { fill: none; stroke-width: 9; }
.rest-ring .bg { stroke: var(--surface-3); }
.rest-ring .fg { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.rest-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rest-ring b { font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1; }
.rest-ring span { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.rest-side { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.rest-side .row { display: flex; gap: 8px; }
.chip-btn { flex: 1; text-align: center; font-weight: 800; font-size: 14px; padding: 9px 0; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); }
.rest-next { font-size: 13px; color: var(--text-muted); }
.rest-next b { color: var(--text); display: block; font-size: 14.5px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }

/* visual: vídeo de demonstração */
.demo-video { position: relative; border-radius: 12px; overflow: hidden; background: #0e0e12; aspect-ratio: 16 / 10; }
.demo-video video { width: 100%; height: 100%; object-fit: cover; }
.demo-video .speed { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; }
.demo-controls { display: flex; gap: 8px; margin-top: 12px; }
.demo-controls button {
  flex: 1; min-height: 40px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
}
.demo-controls button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.credit { font-size: 11.5px; color: var(--text-dim); margin: 10px 0 0; }
.credit a { color: var(--text-muted); }

/* visual: evolução */
.load-chart { width: 100%; height: auto; overflow: visible; }
.load-chart .grid line { stroke: var(--border); }
.load-chart text { fill: var(--text-dim); font-size: 10px; font-family: inherit; }
.load-chart .line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease; }
.js .reveal:not(.visible) .load-chart .line { stroke-dashoffset: 600; }
.load-chart .pt { fill: var(--bg); stroke: var(--primary); stroke-width: 2; }
.load-chart .pr { fill: var(--primary); }
.load-chart .pr-label { fill: var(--primary-ink); font-weight: 800; font-size: 11px; }
.pr-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pr-list div { padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.pr-list b { display: block; font-size: 17px; }
.pr-list span { font-size: 11.5px; color: var(--text-muted); line-height: 1.3; display: block; }

/* visual: plano */
.opt-group { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); }
.opt.on { border-color: var(--primary); background: var(--primary-glow); color: var(--text); }
.week { display: flex; flex-direction: column; gap: 6px; }
.week div { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; }
.week b { color: var(--primary-ink); font-size: 12.5px; }
.week span { color: var(--text-dim); font-size: 12px; }
.week div.rest { opacity: .55; }
.week div.today { border-color: var(--primary); }

/* ---------- grid de funcionalidades ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(249, 115, 22, .45); }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-glow); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step .num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--primary); color: var(--on-primary); font-weight: 900; font-size: 17px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- telas reais ---------- */
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 44px); }
.shot { margin: 0; width: min(100%, 270px); text-align: center; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 30px; border: 6px solid var(--phone-frame);
  box-shadow: var(--shadow-lg); background: var(--surface);
}
.shot figcaption { margin-top: 16px; color: var(--text-muted); font-size: 14.5px; }
.shot figcaption strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }

/* ---------- para quem é ---------- */
.audience .features { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .audience .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience .features { grid-template-columns: 1fr; } }

/* ---------- faixa de números ---------- */
.stats-band { padding: 0 0 clamp(40px, 6vw, 72px); }
.stats-band[hidden] { display: none; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stat { flex: 1 1 180px; max-width: 260px; text-align: center; padding: 22px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.03em; color: var(--primary-ink); }
.stat span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 14px; }

/* ---------- instalar + CTA fixo ---------- */
.install-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.install-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.install-card h3 { margin: 0 0 12px; font-size: 18px; }
.install-card ol { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 15px; }
.install-card li + li { margin-top: 6px; }
.install-card ol a { color: var(--primary); font-weight: 600; }
.install-card .btn { margin-top: 18px; }
.install-card .btn[hidden] { display: none; }
.install-note { max-width: 820px; margin: 18px auto 0; text-align: center; color: var(--text-dim); font-size: 13.5px; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .install-grid { grid-template-columns: 1fr; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  footer { padding-bottom: 84px; }
}

/* ---------- depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.quote .stars { color: var(--primary); letter-spacing: 3px; font-size: 16px; }
.quote blockquote { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-glow); color: var(--primary-ink); font-weight: 800;
}
.quote .who { display: flex; flex-direction: column; line-height: 1.3; }
.quote .who strong { font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--text-dim); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--border); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .2s ease; }
.faq-list details[open] { border-color: var(--border-2); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--primary-ink); font-size: 18px; font-weight: 700; transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--text-muted); }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: clamp(48px, 8vw, 88px) clamp(20px, 6vw, 48px);
  background: radial-gradient(70% 90% at 50% 0%, var(--primary-glow), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 auto 14px; max-width: 640px; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.cta-band p { color: var(--text-muted); margin: 0 0 30px; font-size: 17px; }
.cta-band .hint { margin: 22px 0 0; font-size: 13.5px; color: var(--text-dim); }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--border); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start; justify-content: space-between; }
.footer-brand p { margin: 8px 0 0; color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-credits { flex-basis: 100%; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); }
.footer-credits a { color: var(--text-muted); }
.footer-credits.footer-privacy { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-credits.footer-privacy + .footer-credits { margin-top: 0; padding-top: 12px; border-top: 0; }

/* ---------- revelar ao rolar (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .show-row { grid-template-columns: 1fr; }
  .show-row:nth-child(even) .show-copy { order: 0; }
  .show-copy { max-width: 600px; }
  /* Visual em coluna única ocupa a largura toda: os selos flutuantes
     passam a se ancorar no celular centralizado, não na borda da tela. */
  .float-chip--pr { left: max(0px, calc(50% - 260px)); top: 2%; }
  .float-chip--water { right: max(0px, calc(50% - 260px)); }
}
@media (max-width: 760px) {
  .compare, .steps { grid-template-columns: 1fr; }
  .highlight { flex-basis: 50%; font-size: 14px; padding: 18px 8px; }
  .highlight + .highlight { border-left: 0; }
  .highlight:nth-child(even) { border-left: 1px solid var(--border); }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--border); }
  .show-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .float-chip { display: none; }
  .rest-big { flex-direction: column; text-align: center; }
  .rest-side { width: 100%; }
  .pr-list { grid-template-columns: 1fr 1fr; }
  .pr-list div:last-child { display: none; }
  .screen-tab { padding: 7px 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* visual: desafios, rotina, retrospectiva */
.board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.board li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.board li.me { border-color: var(--primary); background: var(--primary-glow); }
.board b { color: var(--primary-ink); }
.pause-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.35; border-color: #fbbf24; background: rgba(251, 191, 36, .1); }
.pause-note .chip-btn { flex: 0 0 auto; padding: 8px 14px; background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.checkin-demo { display: flex; flex-direction: column; gap: 8px; }
.checkin-demo > div { display: flex; align-items: center; gap: 4px; }
.checkin-demo span { flex: 1; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.checkin-demo i { font-style: normal; font-size: 20px; line-height: 1; padding: 6px; border-radius: 10px; border: 1px solid transparent; opacity: .5; }
.checkin-demo i.on { opacity: 1; border-color: var(--primary); background: var(--primary-glow); }
.recap-demo b { font-size: 20px; }
.measure-demo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.measure-demo li { display: flex; justify-content: space-between; gap: 8px; color: var(--text-muted); }
.measure-demo b { color: var(--success); }
.measure-demo b.up { color: var(--primary-ink); }

/* telas novas do celular: check-in, troca, retrospectiva, desafios */
.m-ck { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.m-ck > div { display: flex; align-items: center; gap: 2px; }
.m-ck span { flex: 1; font-size: 10px; color: var(--text-muted); font-weight: 600; }
.m-ck i { font-style: normal; font-size: 14px; line-height: 1; padding: 4px; border-radius: 8px; border: 1px solid transparent; opacity: .5; }
.m-ck i.on { opacity: 1; border-color: var(--primary); background: var(--primary-glow); }
.m-ex { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.m-ex > div { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.m-ex b { font-size: 10.5px; }
.m-ex span { font-size: 9px; color: var(--text-muted); }
.m-ex em { font-style: normal; font-size: 11px; }
.m-sum--3 { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.m-delta { font-size: 10px; margin-top: 6px; color: var(--text-muted); font-weight: 600; }
.m-chal { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.m-chal b { font-size: 12px; }
.m-chal small { font-size: 9px; color: var(--text-muted); }
.m-board { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.m-board > div { display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 10px; font-weight: 600; }
.m-board > div.me { border-color: var(--primary); background: var(--primary-glow); }
.m-pill--wide { display: block; text-align: center; margin-top: 8px; }

/* ---------- bônus: personal trainer ---------- */
.personal { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.personal-row { margin-bottom: clamp(36px, 6vw, 64px); }
.personal-row .show-copy { order: 0 !important; }
.personal-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.personal-cards .icon-badge { font-size: 22px; }
.personal-cards .card h3 { font-size: 16px; }
.personal-cards .card p { font-size: 14px; }
.personal-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(28px, 5vw, 48px); padding: 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.personal-cta p { margin: 0; color: var(--text-muted); max-width: 640px; }
.personal-cta strong { color: var(--text); }
@media (max-width: 900px) { .personal-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .personal-cards { grid-template-columns: 1fr; } .personal-cta { flex-direction: column; align-items: stretch; text-align: center; } }

/* telas do modo Personal no celular */
.p-visual { max-width: 380px; margin: 0 auto; }
.m-ptag { color: var(--primary); font-weight: 700; }
.m-tabbar--4 { grid-template-columns: repeat(4, 1fr); }
.m-tcode { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-tcode b { display: block; font-size: 16px; letter-spacing: .12em; }
.m-tsum { display: flex; gap: 12px; font-size: 9.5px; color: var(--text-muted); }
.m-tsum b { color: var(--text); font-size: 11px; }
.m-tsum .warn b { color: #fbbf24; }
.m-crow { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; }
.m-crow > div { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.m-crow b { font-size: 11.5px; }
.m-crow small { font-size: 8.5px; color: var(--text-muted); }
.m-tb { font-size: 8px; font-weight: 800; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }
.m-tb--ok { color: var(--success); border-color: var(--success); }
.m-tb--atencao { color: #fbbf24; border-color: #fbbf24; }
.m-tb--risco { color: var(--error); border-color: var(--error); }
.m-sum--4 { grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
.m-field { margin-top: 4px; padding: 7px 9px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); font-size: 10px; }
.m-field--area { min-height: 44px; margin: 6px 0; line-height: 1.35; }
.m-dchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.m-dchips span { font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); background: var(--surface-2); }
.m-dchips span.on { border-color: var(--primary); background: var(--primary-glow); color: var(--text); }
.m-sent { padding: 6px 0; border-top: 1px solid var(--border); }
.m-sent:first-of-type { border-top: 0; }
.m-sent > div { display: flex; justify-content: space-between; font-size: 10px; }
.m-sent small { color: var(--text-muted); font-size: 8.5px; }
.m-sent p { margin: 2px 0; font-size: 9.5px; }

/* ============================================================
   SITE (várias páginas) — menu, cabeçalho de página, rodapé em
   colunas, ajuda/sobre e biblioteca de exercícios. O que está
   acima veio da landing de página única.
============================================================ */

/* ---------- menu ---------- */
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-toggle {
  display: none; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px;
  border: 1px solid var(--border-2); background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x, header.nav.is-open .nav-toggle .bars { display: none; }
header.nav.is-open .nav-toggle .x { display: block; }
/* Os links + idioma + tema + botão só cabem acima de ~1100px; abaixo disso
   viram um painel que abre pelo botão de menu. */
@media (max-width: 1100px) {
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-inner > nav {
    display: none; position: absolute; top: 60px; margin: 0; padding: 8px;
    left: clamp(16px, 4vw, 28px); right: clamp(16px, 4vw, 28px);
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  header.nav.is-open .nav-inner > nav { display: block; }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-tools { margin-top: 6px; padding: 10px 6px 4px; border-top: 1px solid var(--border); }
}
@media (max-width: 380px) {
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { padding: 8px 12px; }
}

/* ---------- cabeçalho das páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 700px; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 20%, var(--primary-glow), transparent 70%);
}
.page-hero .wrap { z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.page-hero .lead { max-width: 640px; margin: 0 auto 28px; }
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }
.page-hero + section { padding-top: clamp(40px, 6vw, 72px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

.section-more { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 40px); }

.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.chip:hover { border-color: var(--border-2); color: var(--text); }
.chip small { color: var(--text-dim); font-weight: 600; }

/* ---------- ajuda e sobre ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.prose p, .prose li { color: var(--text-muted); font-size: 16.5px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0; padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--primary-ink); font-weight: 600; }
.band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
.contact-grid .card { display: flex; flex-direction: column; gap: 6px; }
.contact-grid .card a { margin-top: auto; padding-top: 12px; color: var(--primary-ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-grid .card a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- linha do tempo (como funciona e novidades) ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: flex; flex-direction: column; }
.timeline > li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-bottom: 36px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--border); }
.timeline > li:last-child::before { display: none; }
.timeline .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--on-primary); font-weight: 900; font-size: 17px; }
.timeline h3, .timeline h2 { margin: 6px 0 6px; font-size: 20px; letter-spacing: -.01em; }
.timeline p { margin: 0; color: var(--text-muted); font-size: 16px; }
.timeline--log .num { width: 14px; height: 14px; margin: 12px 13px 0; border-radius: 50%; }
.timeline--log > li::before { top: 34px; }
.timeline--log .checks { margin-top: 12px; }
.timeline--log .checks li { font-weight: 500; color: var(--text-muted); }

/* ---------- formulário de contato ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; max-width: 960px; margin: 0 auto; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form:hover { transform: none; border-color: var(--border); }
.contact-form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; font-weight: 400;
}
textarea.input { resize: vertical; min-height: 120px; }
.input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 13px; color: var(--text-dim); }
.form-note a { color: var(--text-muted); }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; border: 1px solid var(--border-2); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: var(--success); color: var(--success); }
.form-status.err { border-color: var(--error); color: var(--error); }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-side .card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.contact-side .card a { padding-top: 6px; color: var(--primary-ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-side .card a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- rodapé em colunas ---------- */
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px clamp(32px, 6vw, 72px); }
.footer-col h2 { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-col a:hover { color: var(--text); }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; width: 100%; } }

/* ---------- biblioteca de exercícios em números (página gerada por scripts/build-site.mjs) ---------- */
.page-hero .stats-grid { margin-top: 8px; }
.page-hero .stat { flex-basis: 150px; }
.lib-section { padding: clamp(40px, 6vw, 72px) 0; }
.bar { display: block; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.group-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); scroll-margin-top: 88px; }
.group-card:target { border-color: var(--primary); }
.group-card__name { font-size: 14.5px; font-weight: 700; color: var(--text-muted); }
.group-card > b { font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.group-card__mix { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-dim); }
.group-card__mix b { color: var(--text-muted); }
.bar-panel { max-width: 720px; margin: 0 auto; }
.bar-panel h2 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; }
.bar-panel > p { margin: 0 0 18px; color: var(--text-muted); font-size: 15px; }
.bar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bar-list li { display: grid; grid-template-columns: 150px 1fr 36px; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.bar-list li > b { text-align: right; font-variant-numeric: tabular-nums; }
.bar-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.bar-cols .bar-panel { max-width: none; margin: 0; }
@media (max-width: 760px) { .bar-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .group-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .group-card { padding: 16px; }
  .bar-list li { grid-template-columns: 112px 1fr 30px; font-size: 14px; }
}
