/* ===========================
   TOKENS & RESET
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #0A0A0A;
  --ink-2:     #1a1a1a;
  --ink-3:     #2d2d2d;
  --mid:       #6b6b6b;
  --soft:      #9b9b9b;
  --border:    #e2e2e2;
  --border-2:  #f0f0f0;
  --surface:   #fafafa;
  --white:     #ffffff;
  --accent:    #0A0A0A;

  --fs-xs:  0.75rem;
  --fs-sm:  0.875rem;
  --fs-base:1rem;
  --fs-md:  1.125rem;
  --fs-lg:  1.375rem;
  --fs-xl:  1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 3.75rem;
  --fs-5xl: 5rem;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);

  --trans: 0.22s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
html.menu-open, html.menu-open body { overflow: hidden; height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 em, h1 em {
  font-style: italic;
  font-weight: 300;
}

/* ===========================
   UTIL
=========================== */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,0.5); }

.w100 { width: 100%; }

/* ===========================
   BUTTONS
=========================== */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: var(--trans);
}
.btn-dark:hover { background: var(--ink-3); }

.btn-ghost-nav {
  display: inline-flex;
  align-items: center;
  color: var(--mid);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: var(--trans);
  padding: 10px 14px;
}
.btn-ghost-nav:hover { color: var(--ink); }

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: var(--trans);
  margin-bottom: 36px;
}
.btn-primary-hero:hover {
  background: var(--ink-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.prc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: var(--trans);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.prc-btn.outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.prc-btn.outline:hover {
  background: var(--ink);
  color: var(--white);
}
.prc-btn.filled {
  background: var(--ink);
  color: var(--white);
}
.prc-btn.filled:hover {
  background: var(--ink-3);
}

/* ===========================
   NAV
=========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
  transition: var(--trans);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-logo img { display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--mid);
  transition: var(--trans);
}
.nav-menu a:hover { color: var(--ink); background: var(--surface); }

/* ---- DRAWER MOBILE ---- */
.nav-menu-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 300;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}
.nav-menu-mobile.open { display: flex; }

.nmm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.nmm-close {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  color: var(--ink); border-radius: 8px;
}
.nmm-close:hover { background: var(--surface); }

.nmm-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  overflow-y: auto;
  min-height: 0;
}
.nmm-links a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-2);
}
.nmm-links a:last-child { border-bottom: none; }
.nmm-links a:active { background: var(--surface); }

.nmm-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nmm-ctas a {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}
.nmm-ctas .nmm-btn-enter {
  border: 1.5px solid var(--border);
  color: var(--ink);
  background: #fff;
}
.nmm-ctas .nmm-btn-demo {
  background: var(--ink);
  color: #fff;
  border: none;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 4px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 400;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
/* Animação X ao abrir */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay escurecido atrás do menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(2px);
  z-index: 290;
  opacity: 0;
  transition: opacity .25s ease;
}
.nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* ===========================
   HERO
=========================== */
.hero {
  padding: 64px 0 80px;
  background: var(--white);
  overflow-x: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
  transition: var(--trans);
  background: var(--white);
}
.hero-pill:hover { border-color: var(--ink); }
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero-headline {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-4xl));
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-body {
  font-size: var(--fs-md);
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--mid);
}
.hero-check svg { flex-shrink: 0; margin-top: 1px; color: var(--ink); }
.hero-check strong { color: var(--ink); }

/* Screen mockups */
.hero-right {
  position: relative;
  padding-right: 32px;
  align-self: center;
}

.hero-screens {
  position: relative;
}

.screen-desktop {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.screen-chrome {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.screen-chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.screen-chrome span:nth-child(1) { background: #FF5F57; }
.screen-chrome span:nth-child(2) { background: #FEBC2E; }
.screen-chrome span:nth-child(3) { background: #28C840; }
.screen-url {
  margin-left: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.68rem;
  color: var(--mid);
  flex: 1;
  text-align: center;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-body {
  display: flex;
  min-height: 260px;
}

/* Sidebar */
.dash-sidebar {
  width: 130px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-2);
  padding: 14px 10px;
  background: var(--surface);
}
.dash-logo { margin-bottom: 20px; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--soft);
  cursor: pointer;
  transition: var(--trans);
}
.dash-link svg { width: 12px; height: 12px; flex-shrink: 0; }
.dash-link.active {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Main */
.dash-main { flex: 1; padding: 16px; }
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-title { font-size: 0.78rem; font-weight: 700; font-family: 'Bricolage Grotesque', sans-serif; }
.dash-month {
  font-size: 0.65rem;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--white);
}

.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kpi-label { font-size: 0.58rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.04em; }
.kpi-val { font-size: 0.78rem; font-weight: 700; }
.kpi-badge {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  width: fit-content;
}
.kpi-badge.up { background: #dcfce7; color: #15803d; }

.dash-chart-wrap { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 12px; }
.dash-chart-label { font-size: 0.6rem; color: var(--mid); margin-bottom: 8px; }
.dash-chart { height: 80px; }
.chart-line-svg { width: 100%; height: 100%; }

/* Mobile: App do Aluno */
.screen-mobile {
  width: 168px;
  background: var(--ink);
  border-radius: 28px;
  border: 4px solid var(--ink-2);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
}
.sm-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px 2px;
  background: var(--ink);
}
.sm-time { font-size: .55rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.sm-icons { display: flex; gap: 4px; align-items: center; color: rgba(255,255,255,0.8); }
.mobile-notch {
  width: 52px; height: 12px;
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  margin: 0 auto 6px;
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.sm-body {
  background: #111318;
  padding: 10px 10px 12px;
}
.sm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sm-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  font-size: .55rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sm-hello { font-size: .6rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.sm-sub   { font-size: .52rem; color: rgba(255,255,255,0.4); }

.sm-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px;
  margin-bottom: 8px;
}
.sm-card-label { font-size: .5rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.sm-card-title { font-size: .6rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 8px; }

.sm-exercises { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.sm-ex {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .55rem;
  color: rgba(255,255,255,0.35);
}
.sm-ex.done  { color: rgba(255,255,255,0.5); }
.sm-ex.active { color: rgba(255,255,255,0.9); font-weight: 600; }
.sm-ex-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.sm-ex-dot.current { background: #22c55e; border-color: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.sm-ex.done .sm-ex-dot { background: rgba(255,255,255,0.25); border-color: transparent; }
.sm-ex-sets { margin-left: auto; font-size: .5rem; color: rgba(255,255,255,0.3); }
.sm-ex.active .sm-ex-sets { color: rgba(255,255,255,0.6); }

.sm-progress-wrap { display: flex; align-items: center; gap: 6px; }
.sm-progress-bar {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.sm-progress-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 2px;
}
.sm-progress-pct { font-size: .5rem; color: #22c55e; font-weight: 700; flex-shrink: 0; }

.sm-next {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 6px 8px;
  font-size: .52rem;
  color: rgba(255,255,255,0.4);
}
.sm-next svg { flex-shrink: 0; stroke: rgba(255,255,255,0.4); }
.sm-next strong { color: rgba(255,255,255,0.8); }

.sm-app-label {
  text-align: center;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 6px 0;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Hero badges */
.hero-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: var(--fs-xs);
  animation: floatY 4s ease-in-out infinite;
  white-space: nowrap;
}
.hero-badge strong { display: block; font-weight: 700; font-size: var(--fs-sm); }
.hero-badge small { color: var(--soft); }
.hero-badge .hb-icon { font-size: 1.4rem; }

/* Badge do desktop: canto superior esquerdo do screen-desktop */
.screen-desktop-wrap {
  position: relative;
  margin-bottom: 16px;
}
.hero-badge.b1 {
  position: absolute;
  top: 48px;
  left: -20px;
  z-index: 10;
  animation-delay: 0s;
}

/* Badge do mobile: abaixo do celular, centralizado */
.screen-mobile-wrap {
  position: absolute;
  bottom: -140px;
  right: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 52px;
}
.hero-badge.b2 {
  animation: floatY 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ===========================
   TRUST STRIP — DIFERENCIAIS
=========================== */
.trust-strip {
  background: var(--surface);
  padding: 32px 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.ts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-divider { display: none; }
.ts-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.ts-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  transform: translateY(-1px);
}
.ts-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink);
}
.ts-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-item strong {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
  white-space: nowrap;
}
.ts-item span {
  font-size: .7rem;
  color: var(--soft);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .trust-strip { padding: 24px 0; }
  .ts-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ts-item { padding: 12px 14px; }
}
@media (max-width: 480px) {
  .ts-inner {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FEATURES SECTION
=========================== */
.features-section {
  padding: 96px 0;
  background: var(--white);
}
.fs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.fs-header-wrap {
  position: relative;
  margin-bottom: 56px;
  min-height: 280px;
  display: flex;
  align-items: center;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.fs-header {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 48px 56px 48px 0;
}
.fs-header h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); }
.fs-header-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
}
.fs-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.fs-header-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--white) 0%,
    rgba(255,255,255,0.6) 35%,
    rgba(255,255,255,0) 70%
  );
}

/* Tabs */
.tabs-wrap { }

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--trans);
  white-space: nowrap;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.tab-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.tab-btn:hover { color: var(--ink); background: var(--surface); }
.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 600;
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tab-content.active { display: grid; }

.tab-text h3 {
  font-size: var(--fs-xl);
  margin-bottom: 14px;
}
.tab-text p {
  font-size: var(--fs-base);
  color: var(--mid);
  margin-bottom: 20px;
  line-height: 1.7;
}
.tab-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-text li {
  font-size: var(--fs-sm);
  color: var(--mid);
  padding-left: 16px;
  position: relative;
}
.tab-text li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* Tab Visual cards */
.tv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* Financial */
.tvc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tvc-title { font-size: var(--fs-sm); font-weight: 600; }
.tvc-chip {
  font-size: var(--fs-xs);
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
}
.tvc-chip.green { background: #dcfce7; color: #15803d; }
.tvc-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.tvc-kpi { display: flex; flex-direction: column; gap: 3px; }
.tvc-kpi span { font-size: var(--fs-xs); color: var(--soft); }
.tvc-kpi strong { font-size: var(--fs-base); font-weight: 700; }
.cl-green { color: #16a34a; }
.cl-red   { color: #dc2626; }
.tvc-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tvc-bar-row { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--soft); }
.tvc-track { flex: 1; height: 6px; background: var(--border-2); border-radius: 3px; overflow: hidden; }
.tvc-fill { height: 100%; border-radius: 3px; transition: width 1.2s ease; }
.tvc-pix {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  color: #16a34a;
  background: #f0fdf4;
  padding: 8px 12px;
  border-radius: var(--r-sm);
}

/* Students */
.student-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stu-av {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 700;
  flex-shrink: 0;
}
.stu-info strong { display: block; font-size: var(--fs-sm); }
.stu-info span { font-size: var(--fs-xs); color: var(--soft); }
.stu-tag {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 600;
  background: #dcfce7;
  color: #15803d;
  padding: 3px 10px;
  border-radius: 100px;
}
.stu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; background: var(--white); border-radius: var(--r-sm); padding: 12px; border: 1px solid var(--border-2); text-align: center; }
.stu-stat strong { display: block; font-size: var(--fs-lg); font-weight: 800; }
.stu-stat span { font-size: var(--fs-xs); color: var(--soft); }
.stu-prog { margin-bottom: 12px; }
.sp-top { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--soft); margin-bottom: 5px; }
.sp-bar { height: 6px; background: var(--border-2); border-radius: 3px; overflow: hidden; }
.sp-fill { height: 100%; background: var(--ink); border-radius: 3px; transition: width 1.2s ease; }
.stu-renew { font-size: var(--fs-xs); color: var(--soft); background: var(--white); border: 1px solid var(--border-2); padding: 8px 10px; border-radius: var(--r-sm); }

/* AI */
.ai-tag { display: inline-block; background: var(--ink); color: var(--white); font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.ai-brief { font-size: var(--fs-xs); color: var(--soft); margin-bottom: 14px; }
.ai-workout { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 14px; margin-bottom: 14px; }
.aw-day { font-size: var(--fs-xs); font-weight: 700; color: var(--mid); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.aw-ex { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--ink); padding: 5px 0; border-bottom: 1px solid var(--border-2); }
.aw-ex:last-child { border-bottom: none; }
.aw-ex span { color: var(--soft); font-size: var(--fs-xs); min-width: 20px; }
.aw-ex.muted { color: var(--soft); font-size: var(--fs-xs); }
.ai-btn { width: 100%; background: var(--ink); color: var(--white); border: none; padding: 11px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: var(--trans); font-family: inherit; }
.ai-btn:hover { background: var(--ink-3); }

/* Agenda */
.agenda-header { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 14px; }
.agenda-slots { display: flex; flex-direction: column; gap: 8px; }
.ag-slot { display: grid; grid-template-columns: 50px 1fr auto 70px; align-items: center; gap: 10px; padding: 10px 12px; background: var(--white); border: 1px solid var(--border-2); border-radius: var(--r-sm); font-size: var(--fs-sm); }
.ag-slot.full { opacity: 0.5; }
.ag-time { font-weight: 700; font-size: var(--fs-xs); }
.ag-cap { font-size: var(--fs-xs); color: var(--soft); text-align: right; }
.ag-status { font-size: var(--fs-xs); font-weight: 600; padding: 3px 8px; border-radius: 100px; text-align: center; }
.ag-status.open { background: #dcfce7; color: #15803d; }
.ag-status.full { background: #fee2e2; color: #dc2626; }

/* CRM */
.crm-header { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 16px; }
.crm-funnel { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cf-stage { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--mid); }
.cf-bar { height: 8px; background: var(--ink); border-radius: 4px; transition: width 1.2s ease; }
.cf-stage span { white-space: nowrap; min-width: 90px; }
.cf-stage strong { color: var(--ink); }
.crm-rate { font-size: var(--fs-sm); color: var(--mid); }
.crm-rate strong { color: var(--ink); }

/* ===========================
   MONITOR MOCKUP (TABS)
=========================== */
.tab-content {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  animation: tabIn 0.3s ease;
}
.tab-content.active { display: grid; }

@keyframes tabIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: var(--trans);
}
.tab-cta:hover { border-color: var(--ink); }

/* Monitor frame */
.monitor-mockup {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mon-chrome {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mon-chrome span:nth-child(1) { width:9px;height:9px;border-radius:50%;background:#FF5F57;flex-shrink:0; }
.mon-chrome span:nth-child(2) { width:9px;height:9px;border-radius:50%;background:#FEBC2E;flex-shrink:0; }
.mon-chrome span:nth-child(3) { width:9px;height:9px;border-radius:50%;background:#28C840;flex-shrink:0; }
.mon-title {
  margin-left: 10px;
  font-size: 0.66rem;
  color: var(--soft);
}

.mon-screen {
  padding: 16px;
  min-height: 340px;
  background: var(--white);
}

.mon-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mon-page-title { font-size: 0.8rem; font-weight: 700; font-family: 'Bricolage Grotesque', sans-serif; }

.mon-badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--mid);
}
.mon-badge.green { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.mon-badge.black { background: var(--ink); color: var(--white); border-color: transparent; }

.mon-btn {
  font-size: 0.62rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--trans);
}
.mon-btn:hover { background: var(--ink-3); }
.mon-btn-full {
  width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 9px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--trans);
}
.mon-btn-full:hover { background: var(--ink-3); }

/* Animations */
.anim-fade-in { animation: fadeIn 0.5s ease both; }
.anim-slide-up { animation: slideUp 0.5s ease both; animation-delay: var(--d, 0s); }

@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes slideUp {
  from { opacity:0; transform: translateY(10px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Financeiro screen */
.mon-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.mon-kpi {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.mon-kpi span { font-size: 0.58rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.04em; }
.mon-kpi strong { font-size: 0.82rem; font-weight: 800; }
.mon-kpi em { font-style: normal; font-size: 0.58rem; font-weight: 600; padding: 2px 5px; border-radius: 4px; width: fit-content; }
.badge-up { background: #dcfce7; color: #15803d; }
.badge-dn { background: #fee2e2; color: #dc2626; }

.mon-chart-area { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 11px; margin-bottom: 10px; }
.mca-label { font-size: 0.58rem; color: var(--soft); margin-bottom: 10px; }
.mca-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.mcb {
  flex: 1;
  height: var(--h);
  background: var(--border-2);
  border-radius: 3px 3px 0 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  animation: barGrow 0.8s ease both;
  animation-delay: calc(var(--d, 0s) + 0.3s);
}
@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
.mcb.active { background: var(--ink); }
.mcb span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: var(--soft);
  white-space: nowrap;
}

.mon-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mon-pix { display: flex; align-items: center; gap: 5px; font-size: 0.62rem; color: #16a34a; background: #f0fdf4; padding: 6px 10px; border-radius: 6px; }
.mon-inadimplentes { font-size: 0.62rem; color: var(--soft); }
.mon-inadimplentes a { color: var(--ink); text-decoration: underline; }

/* Mini tabs dentro do monitor */
.mon-tabs-mini { display: flex; gap: 2px; }
.mtm {
  font-size: .58rem; font-weight: 600; padding: 3px 9px; border-radius: 5px;
  color: var(--soft); cursor: pointer;
}
.mtm.active { background: var(--ink); color: var(--white); }
.mon-btn-sm {
  font-size: .55rem; font-weight: 600; padding: 3px 8px; border-radius: 5px;
  background: var(--surface); border: 1px solid var(--border); color: var(--mid);
}

/* Fontes de receita */
.mon-fin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.mon-receitas { }
.mon-rec-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .6rem; font-weight: 700; color: var(--ink); margin-bottom: 7px;
}
.mon-rec-filtrar { font-size: .55rem; color: var(--soft); cursor: pointer; }
.mon-rec-item {
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
}
.mri-label { font-size: .55rem; color: var(--mid); width: 68px; flex-shrink: 0; }
.mri-bar-wrap { flex: 1; height: 5px; background: var(--border-2); border-radius: 3px; overflow: hidden; }
.mri-bar { height: 100%; background: var(--ink); border-radius: 3px; animation: barGrow .8s ease both; }
.mri-bar.wh { background: #0f766e; }
.mri-bar.tp { background: #7c3aed; }
.mri-bar.av { background: #b45309; }
.mri-bar.pdv { background: #0369a1; }
.mri-val { font-size: .55rem; font-weight: 700; color: var(--ink); width: 48px; text-align: right; flex-shrink: 0; }

/* Gráfico de evolução */
.mon-evo-chart { display: flex; flex-direction: column; }
.mon-evo-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 1;
  padding-bottom: 4px;
}
.mon-evo-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mec-bar-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: flex-end;
}
.mec-bar {
  width: 100%;
  height: var(--bh);
  background: var(--border-2);
  border-radius: 4px 4px 0 0;
  animation: barGrow .7s ease both;
}
.mec-bar.active { background: var(--ink); }
.mec-label { font-size: .55rem; color: var(--soft); }
.mec-val { font-size: .52rem; font-weight: 700; color: var(--mid); }
.mec-trend { margin-top: 6px; font-size: .55rem; }

/* Badge integração Stone */
.tab-integration-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r); padding: 10px 14px; margin: 16px 0;
}
.tib-label { font-size: .72rem; color: var(--soft); flex-shrink: 0; }
.tib-stone {
  display: flex; align-items: center; gap: 8px;
}
.tib-stone span { font-size: .72rem; color: var(--mid); }

/* Alunos screen */
.mon-search {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-bottom: 1px solid var(--border-2);
  border-radius: 0;
  padding: 6px 10px;
  font-size: 0.6rem;
  color: var(--soft);
  background: var(--white);
}
.mon-table { border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.mtr {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 0.8fr;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.65rem;
  border-bottom: 1px solid var(--border-2);
  align-items: center;
}
.mtr:last-child { border-bottom: none; }
.mtr.header { background: var(--surface); font-weight: 600; color: var(--soft); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.03em; }
.mtr strong { color: var(--ink); }
.mtr.highlight { background: #fffbeb; }
.st { font-size: 0.6rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; }
.st.active { background: #dcfce7; color: #15803d; }
.st.late { background: #fef9c3; color: #a16207; }
.mon-footer-row { display: flex; justify-content: space-between; font-size: 0.62rem; color: var(--soft); }

/* Alunos: 2 telas sobrepostas */
.alunos-screens-wrap {
  position: relative;
  padding-bottom: 120px;
  padding-right: 40px;
}
.alunos-screen-main {
  position: relative;
  z-index: 1;
}
.alunos-screen-perfil {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 72%;
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

/* Avatar pequeno na tabela */
.mal-row-avatar > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mal-avatar-sm {
  width: 20px; height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: .45rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.soft { color: var(--soft); }
.map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-2);
}
.map-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: .58rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.map-name-wrap strong { display: block; font-size: .65rem; color: var(--ink); }
.map-name-wrap span { font-size: .55rem; color: var(--soft); }

.map-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.map-field { background: var(--surface); border-radius: 6px; padding: 5px 8px; }
.map-field span { display: block; font-size: .5rem; color: var(--soft); margin-bottom: 2px; }
.map-field strong { font-size: .58rem; color: var(--ink); display: flex; align-items: center; gap: 4px; }

.map-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border-2); padding-bottom: 6px; }
.map-tab { font-size: .55rem; font-weight: 600; padding: 3px 8px; border-radius: 5px; color: var(--soft); cursor: pointer; }
.map-tab.active { background: var(--ink); color: var(--white); }

.map-pagamentos { }
.map-pag-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 4px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: .55rem;
  color: var(--mid);
}
.map-pag-row.header { color: var(--soft); font-weight: 700; font-size: .5rem; text-transform: uppercase; }
.map-pag-row:last-child { border-bottom: none; }

.map-creditos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2px;
}
.map-cred-item {
  border-radius: 7px;
  padding: 6px 8px;
  text-align: center;
}
.map-cred-item span { display: block; font-size: .48rem; color: var(--soft); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.map-cred-item strong { font-size: .62rem; font-weight: 800; }
.map-cred-item.disponivel { background: #f0fdf4; }
.map-cred-item.disponivel strong { color: #16a34a; }
.map-cred-item.utilizado { background: var(--surface); }
.map-cred-item.utilizado strong { color: var(--ink); }
.map-cred-item.expirado { background: #fff7ed; }
.map-cred-item.expirado strong { color: #b45309; }

/* Treinos screen */
.mon-treino-perfil { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 9px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--border-2); }
.mtp-av { width: 30px; height: 30px; background: var(--ink); color: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; flex-shrink: 0; }
.mon-treino-perfil strong { display: block; font-size: 0.72rem; }
.mon-treino-perfil span { font-size: 0.6rem; color: var(--soft); }
.mon-treino-list { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 10px; margin-bottom: 12px; }

/* Treinos: monitor + app sobreposto */
.treino-screens-wrap {
  position: relative;
  padding-bottom: 20px;
  padding-right: 60px;
}
.treino-screen-main { position: relative; z-index: 1; }

/* App mobile execução de treino */
.treino-app-mockup {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 130px;
  max-height: 280px;
  background: #111;
  border-radius: 22px;
  border: 3px solid #222;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  z-index: 2;
}
.tam-body {
  background: var(--white);
  padding: 7px 7px 8px;
  overflow: hidden;
  max-height: calc(280px - 32px);
}
.tam-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}
.tam-title { font-size: .58rem; font-weight: 700; color: var(--ink); }
.tam-sub { font-size: .45rem; color: var(--soft); line-height: 1.3; }
.tam-status { font-size: .44rem; font-weight: 600; color: var(--soft); background: var(--surface); border: 1px solid var(--border-2); padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
.tam-prog-wrap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.tam-prog-label { font-size: .44rem; color: var(--soft); }
.tam-prog-pct { font-size: .44rem; color: var(--soft); }
.tam-prog-bar { height: 3px; background: var(--border-2); border-radius: 2px; margin-bottom: 7px; overflow: hidden; }
.tam-prog-fill { height: 100%; background: var(--ink); border-radius: 2px; }
.tam-ex-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 7px;
  margin-bottom: 6px;
}
.tam-ex-num {
  display: flex; align-items: center; gap: 3px;
  font-size: .44rem; font-weight: 600; color: var(--mid);
  margin-bottom: 4px;
  background: var(--white); border: 1px solid var(--border-2);
  border-radius: 4px; padding: 2px 5px;
}
.tam-timer { margin-left: auto; font-size: .44rem; color: var(--soft); }
.tam-ex-name { font-size: .62rem; font-weight: 800; color: var(--ink); margin-bottom: 5px; line-height: 1.2; }
.tam-video {
  background: #1a1a1a;
  border-radius: 5px;
  height: 42px;
  margin-bottom: 5px;
  display: flex; align-items: center; justify-content: center;
}
.tam-video-inner { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tam-play {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .5rem; color: #fff;
}
.tam-video-label { font-size: .4rem; color: rgba(255,255,255,0.45); }
.tam-tags { display: flex; gap: 3px; margin-bottom: 5px; flex-wrap: wrap; }
.tam-tag {
  font-size: .42rem; font-weight: 600; padding: 2px 5px;
  border-radius: 100px; background: var(--border-2); color: var(--mid);
  border: 1px solid var(--border);
}
.tam-tag.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tam-tag-cat { font-size: .42rem; font-weight: 600; padding: 2px 5px; border-radius: 100px; background: #fef3c7; color: #92400e; }
.tam-series-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 5px;
}
.tam-series-item {
  background: var(--white); border: 1px solid var(--border-2); border-radius: 6px;
  padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.tam-series-item svg { stroke: var(--mid); }
.tam-series-item span { font-size: .4rem; color: var(--soft); }
.tam-series-item strong { font-size: .7rem; font-weight: 800; color: var(--ink); }
.tam-tip {
  font-size: .4rem; color: var(--soft); line-height: 1.35;
  background: var(--white); border: 1px solid var(--border-2); border-radius: 4px; padding: 3px 5px;
}
.tam-actions {
  display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-top: 6px;
}
.tam-btn-concluir {
  background: var(--ink); color: var(--white);
  border: none; border-radius: 6px; padding: 5px;
  font-size: .48rem; font-weight: 700; cursor: pointer;
}
.tam-btn-pular {
  background: var(--surface); color: var(--mid);
  border: 1px solid var(--border); border-radius: 6px; padding: 5px 7px;
  font-size: .48rem; font-weight: 600; cursor: pointer;
}
.mtl-day { font-size: 0.6rem; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; border-bottom: 1px solid var(--border-2); padding-bottom: 6px; }
.mtl-ex { display: grid; grid-template-columns: 20px 1fr 70px 35px; gap: 6px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border-2); font-size: 0.65rem; }
.mtl-ex:last-child { border-bottom: none; }
.mtl-ex.muted { color: var(--soft); font-style: italic; }
.ex-num { font-size: 0.58rem; color: var(--soft); font-weight: 600; }
.ex-name { color: var(--ink); font-weight: 500; }
.ex-series { color: var(--mid); font-size: 0.6rem; }
.ex-rest { color: var(--soft); font-size: 0.58rem; }

/* Agenda screen */
.mon-agenda { display: flex; flex-direction: column; gap: 6px; }
.mag-slot { display: grid; grid-template-columns: 38px 1fr 80px 40px 60px; gap: 8px; align-items: center; padding: 8px 10px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 7px; font-size: 0.65rem; }
.mag-slot.full { opacity: 0.6; }
.mag-time { font-weight: 700; font-size: 0.62rem; }
.mag-bar-wrap { height: 4px; background: var(--border-2); border-radius: 2px; overflow: hidden; }
.mag-bar { height: 100%; background: var(--ink); border-radius: 2px; opacity: 0.4; transition: width 1s ease; }
.mag-bar.full { opacity: 1; }
.mag-cap { font-size: 0.58rem; color: var(--soft); text-align: right; }
.mag-st { font-size: 0.58rem; font-weight: 600; padding: 2px 6px; border-radius: 100px; text-align: center; }
.mag-st.open { background: #dcfce7; color: #15803d; }
.mag-st.full { background: #fee2e2; color: #dc2626; }

/* Agenda — two overlaid screens */
.agenda-screens-wrap {
  position: relative;
  padding-bottom: 130px;
  padding-right: 20px;
}
.agenda-screen-main {
  position: relative;
  z-index: 1;
  width: 82%;
}
.agenda-screen-cal {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

/* Calendar screen */
.mon-screen-cal { padding: 0; overflow: hidden; }
.cal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-2);
  gap: 8px;
  flex-wrap: wrap;
}
.cal-top-left { display: flex; align-items: center; gap: 10px; }
.cal-title { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.cal-views { display: flex; gap: 4px; }
.cal-view { font-size: 0.55rem; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--border-2); color: var(--soft); cursor: pointer; }
.cal-view.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-top-right { display: flex; align-items: center; gap: 8px; }
.cal-period-nav { font-size: 0.6rem; color: var(--ink); font-weight: 600; }
.cal-period-btns { display: flex; gap: 2px; }
.cal-pbtn { font-size: 0.52rem; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border-2); color: var(--soft); cursor: pointer; }
.cal-pbtn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Weekly calendar grid: 8 columns (time + 7 days) */
.cal-grid {
  display: grid;
  grid-template-columns: 34px repeat(7, 1fr);
  font-size: 0.52rem;
  overflow: hidden;
}
.cal-time-col { grid-column: 1; }
.cal-day-header {
  padding: 4px 2px;
  text-align: center;
  font-size: 0.52rem;
  color: var(--soft);
  font-weight: 600;
  border-left: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  line-height: 1.4;
}
.cal-day-header span { font-size: 0.65rem; font-weight: 700; color: var(--ink); display: block; }
.cal-day-header.today { background: #f0fdf4; }
.today-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff !important;
  font-size: 0.6rem;
  margin: 0 auto;
}
.cal-time {
  padding: 4px 3px 4px 0;
  text-align: right;
  font-size: 0.5rem;
  color: var(--soft);
  border-bottom: 1px solid var(--border-2);
  line-height: 1;
}
.cal-cell {
  border-left: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 2px;
  min-height: 22px;
  position: relative;
}
.cal-cell.today-col { background: rgba(0,0,0,0.018); }
.cal-event {
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 0.48rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event.blue   { background: #dbeafe; color: #1d4ed8; }
.cal-event.orange { background: #ffedd5; color: #c2410c; }
.cal-event.purple { background: #ede9fe; color: #6d28d9; }
.cal-event.green  { background: #dcfce7; color: #15803d; }
.cal-event.red    { background: #fee2e2; color: #dc2626; }

/* Produtos e Serviços screen */
.mon-prod-table { display: flex; flex-direction: column; gap: 4px; }
.mpt-header {
  display: grid;
  grid-template-columns: 2fr 1fr 70px 70px 90px;
  gap: 6px;
  padding: 4px 8px;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mpt-row {
  display: grid;
  grid-template-columns: 2fr 1fr 70px 70px 90px;
  gap: 6px;
  align-items: center;
  padding: 7px 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  font-size: 0.62rem;
}
.mpt-name { display: flex; align-items: center; gap: 8px; }
.mpt-thumb {
  width: 24px; height: 24px; border-radius: 5px; flex-shrink: 0;
}
.mpt-thumb.blue   { background: #dbeafe; }
.mpt-thumb.green  { background: #dcfce7; }
.mpt-thumb.orange { background: #ffedd5; }
.mpt-thumb.purple { background: #ede9fe; }
.mpt-thumb.gray   { background: #f1f5f9; }
.mpt-name strong { display: block; font-size: 0.62rem; }
.mpt-name small  { font-size: 0.55rem; color: var(--soft); }
.mpt-cat  { font-size: 0.58rem; color: var(--mid); }
.mpt-stock { font-size: 0.62rem; font-weight: 600; }
.mpt-stock.ok  { color: #15803d; }
.mpt-stock.low { color: #dc2626; }
.mpt-stock.svc { color: var(--soft); }
.mpt-price { font-size: 0.62rem; font-weight: 600; color: var(--ink); }
.mpt-status { font-size: 0.55rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; text-align: center; }
.mpt-status.on   { background: #dcfce7; color: #15803d; }
.mpt-status.warn { background: #fff7ed; color: #c2410c; }

/* PDV screen */
.mon-screen-pdv { padding: 0; overflow: hidden; }
.pdv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.pdv-left {
  border-right: 1px solid var(--border-2);
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}
.pdv-search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-size: 0.58rem;
  color: var(--soft);
}
.pdv-items { display: flex; flex-direction: column; gap: 4px; }
.pdv-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-size: 0.6rem;
  cursor: pointer;
  transition: border-color .15s;
}
.pdv-item:hover { border-color: var(--ink); }
.pdv-item-thumb {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
}
.pdv-item-thumb.blue   { background: #dbeafe; }
.pdv-item-thumb.green  { background: #dcfce7; }
.pdv-item-thumb.orange { background: #ffedd5; }
.pdv-item-thumb.purple { background: #ede9fe; }
.pdv-item-thumb.gray   { background: #f1f5f9; }
.pdv-item span:nth-child(2) { flex: 1; color: var(--ink); font-weight: 500; }
.pdv-item-price { margin-left: auto; font-weight: 700; color: var(--ink); font-size: 0.6rem; }

.pdv-right {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
  background: #fafbfc;
}
.pdv-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
}
.pdv-cart-count {
  font-size: 0.55rem;
  background: var(--ink);
  color: #fff;
  padding: 1px 7px;
  border-radius: 100px;
  font-weight: 600;
}
.pdv-cart-items { display: flex; flex-direction: column; gap: 3px; }
.pdv-cart-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-size: 0.58rem;
}
.pdv-cr-name { flex: 1; color: var(--ink); font-weight: 500; }
.pdv-cr-qty  { color: var(--soft); }
.pdv-cr-val  { font-weight: 700; color: var(--ink); }
.pdv-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-size: 0.65rem;
}
.pdv-total-row strong { font-size: 0.78rem; }
.pdv-pay-label { font-size: 0.55rem; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: 0.04em; }
.pdv-pay-btns { display: flex; gap: 4px; }
.pdv-pay {
  flex: 1;
  padding: 4px 0;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  background: #fff;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
}
.pdv-pay.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pdv-pix-qr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 7px;
}
.pdv-qr-box { flex-shrink: 0; }
.pdv-pix-label { font-size: 0.56rem; color: var(--soft); }
.pdv-btn-finalizar {
  width: 100%;
  padding: 7px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
}

/* Gestão de Tarefas screen */
.trf-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.trf-kpi {
  position: relative;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.trf-kpi-label { font-size: 0.55rem; color: var(--soft); }
.trf-kpi-val   { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.trf-kpi-icon  {
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.trf-kpi-icon.yellow { background: #fef9c3; color: #ca8a04; }
.trf-kpi-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.trf-kpi-icon.green  { background: #dcfce7; color: #15803d; }
.trf-kpi-icon.red    { background: #fee2e2; color: #dc2626; }

.trf-filters {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.trf-filter {
  font-size: 0.56rem;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  color: var(--soft);
  cursor: pointer;
}
.trf-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.trf-view-btns { display: flex; gap: 3px; margin-left: auto; }
.trf-view {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  cursor: pointer;
  color: var(--soft);
}
.trf-view.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.trf-table { display: flex; flex-direction: column; gap: 3px; }
.trf-thead {
  display: grid;
  grid-template-columns: 2.2fr 1fr 0.8fr 1.2fr 1fr 0.8fr;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.trf-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 0.8fr 1.2fr 1fr 0.8fr;
  gap: 4px;
  align-items: center;
  padding: 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  font-size: 0.58rem;
}
.trf-row.late { background: #fff5f5; border-color: #fecaca; }
.trf-title  { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trf-status { font-size: 0.56rem; font-weight: 600; }
.trf-status.pending    { color: var(--soft); }
.trf-status.inprogress { color: #1d4ed8; }
.trf-status.done       { color: #15803d; }
.trf-status.late       { color: #dc2626; }
.trf-prio { font-size: 0.56rem; font-weight: 700; }
.trf-prio.high { color: #dc2626; }
.trf-prio.mid  { color: #d97706; }
.trf-cat { font-size: 0.54rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trf-cat.blue-cat   { color: #1d4ed8; }
.trf-cat.green-cat  { color: #15803d; }
.trf-cat.orange-cat { color: #c2410c; }
.trf-resp { font-size: 0.56rem; color: var(--soft); }
.trf-resp-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: var(--ink); color: #fff;
  border-radius: 50%; font-size: 0.48rem; font-weight: 700;
}
.trf-date { font-size: 0.54rem; color: var(--mid); }
.trf-date-late { color: #dc2626; font-weight: 700; }

.trf-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  font-size: 0.55rem;
}
.trf-pg-btn {
  padding: 2px 8px;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  color: var(--soft);
  cursor: pointer;
}
.trf-pg-btn.disabled { opacity: 0.4; cursor: default; }
.trf-pg-info { color: var(--soft); }

/* CRM screen */
.mon-funnel { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 10px; }
.mfn-col { display: flex; flex-direction: column; gap: 5px; }
.mfn-header { font-size: 0.58rem; color: var(--soft); font-weight: 600; padding-bottom: 5px; border-bottom: 1px solid var(--border-2); margin-bottom: 3px; }
.mfn-header strong { color: var(--ink); display: block; font-size: 0.72rem; }
.mfn-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 8px; display: flex; align-items: center; gap: 6px; }
.mfn-card.active-card { border-color: var(--ink); }
.mfn-card.won { border-color: #16a34a; background: #f0fdf4; }
.mfn-av { width: 22px; height: 22px; background: var(--ink); color: var(--white); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; font-weight: 700; flex-shrink: 0; }
.mfn-card strong { display: block; font-size: 0.62rem; }
.mfn-card small { font-size: 0.56rem; color: var(--soft); }
.mfn-more { font-size: 0.58rem; color: var(--soft); text-align: center; padding: 4px 0; }
.mon-crm-rate { font-size: 0.65rem; color: var(--mid); background: var(--surface); padding: 7px 10px; border-radius: 7px; border: 1px solid var(--border-2); }
.mon-crm-rate strong { color: var(--ink); }

/* Relatórios screen */
.mon-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 12px; }
.mrg-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 10px; text-align: center; }
.mrg-card.highlight { background: var(--ink); border-color: transparent; }
.mrg-icon { font-size: 1rem; margin-bottom: 4px; }
.mrg-name { font-size: 0.62rem; font-weight: 700; margin-bottom: 2px; }
.mrg-sub { font-size: 0.58rem; color: var(--soft); }
.mrg-card.highlight .mrg-name, .mrg-card.highlight .mrg-sub { color: rgba(255,255,255,0.8); }
.mrg-card.highlight .mrg-sub { color: rgba(255,255,255,0.5); }
.mon-rel-chart { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 10px; }
.mrc-label { font-size: 0.6rem; color: var(--soft); margin-bottom: 6px; }
.mrc-months { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 4px; }
.mrc-months span { font-size: 0.56rem; color: var(--soft); text-align: center; }
.mrc-months strong { display: block; font-size: 0.65rem; font-weight: 700; color: var(--ink); }
.rel-line-anim { animation: drawLine 1.5s ease forwards 0.3s; }
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Integrações screen */
.mon-integrations { display: flex; flex-direction: column; gap: 7px; }
.mint-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 8px; }
.mint-item.connected { border-color: var(--border); }
.mint-icon { font-size: 1.1rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--bg); border-radius: 6px; border: 1px solid var(--border-2); }
.mint-icon-stone { background: #f0fdf4; border-color: #bbf7d0; }
.mint-icon-wh { background: #fff7ed; border-color: #fed7aa; }
.mint-icon-tp { background: #eff6ff; border-color: #bfdbfe; }
.mint-icon-nf { background: #f8fafc; border-color: var(--border-2); }
.mint-item strong { display: block; font-size: 0.68rem; }
.mint-item small { font-size: 0.58rem; color: var(--soft); }
.mint-status { margin-left: auto; font-size: 0.6rem; font-weight: 600; white-space: nowrap; }
.mint-status.on { color: #16a34a; }
.mint-status.off { color: var(--soft); }

/* ===========================
   CATRACA SECTION
=========================== */
/* ===========================
   CATRACA & CONTROLE DE ACESSO
=========================== */
.catraca-section {
  padding: 0;
  background: var(--surface);
  overflow: hidden;
}
.cat-hero {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 680px;
}

/* Coluna visual */
.cat-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  height: 100%;
  min-height: 620px;
}
.cat-img-wrap {
  position: relative;
  display: inline-block;
}
.cat-img {
  width: 100%;
  max-width: 420px;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.15));
  animation: floatY 4s ease-in-out infinite;
}

/* Badges flutuantes */
.cat-badge-online {
  position: absolute;
  top: 30px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: fadeIn .6s .4s both;
}
.cat-badge-access {
  position: absolute;
  bottom: 60px;
  left: -30px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--r);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  animation: fadeIn .6s .7s both;
}
.cba-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cba-icon.ok { background: rgba(34,197,94,0.15); color: #22c55e; }
.cba-info { flex: 1; }
.cba-info strong { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); }
.cba-info small  { font-size: .68rem; color: var(--mid); }
.catm-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.catm-dot.green { background: #22c55e; animation: pulseGreen 2s infinite; }
.ce-tag { font-size: .65rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; flex-shrink: 0; white-space: nowrap; }
.ce-tag.green { background: rgba(34,197,94,0.18); color: #22c55e; }
.ce-tag.red   { background: rgba(239,68,68,0.18);  color: #ef4444; }

/* Coluna de conteúdo */
.cat-content {
  padding: 80px 64px 80px 40px;
}
.cat-content h2 {
  font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-3xl));
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}
.cat-content h2 em { color: #16a34a; font-style: normal; }
.cat-content > p {
  font-size: var(--fs-base);
  color: var(--mid);
  margin-bottom: 36px;
  line-height: 1.75;
}

/* Lista de features */
.cat-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.cat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cat-item-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.cat-item-icon svg {
  width: 18px; height: 18px;
  stroke: var(--ink);
}
.cat-item strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.cat-item span {
  font-size: var(--fs-sm);
  color: var(--mid);
  line-height: 1.5;
}

/* Badge parceiro */
.cat-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 28px;
  font-size: var(--fs-xs);
  color: #15803d;
}
.cat-partner-badge svg {
  width: 15px; height: 15px;
  stroke: #16a34a;
  flex-shrink: 0;
}
.cat-partner-badge strong { color: #15803d; }

/* Responsivo */
@media (max-width: 900px) {
  .cat-hero { grid-template-columns: 1fr; }
  .cat-visual {
    min-height: 360px;
    padding: 48px 24px 0;
    order: -1;
  }
  .cat-img { max-width: 260px; }
  .cat-badge-access { left: 0; bottom: 20px; min-width: 200px; }
  .cat-badge-online { right: 0; top: 16px; }
  .cat-content { padding: 40px 24px 56px; }
}

/* ===========================
   APP DO ALUNO
=========================== */
.app-section {
  padding: 96px 0;
  background: var(--white);
}
.app-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Phones */
.app-phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}
.app-phone { position: relative; }
.app-phone.secondary { transform: scale(0.88); margin-bottom: -20px; opacity: 0.85; }

.ap-chrome {
  background: var(--ink);
  border-radius: 28px 28px 0 0;
  padding-top: 10px;
  display: flex;
  justify-content: center;
}
.ap-notch {
  width: 50px; height: 16px;
  background: var(--ink-3);
  border-radius: 0 0 12px 12px;
  margin-bottom: 0;
}
.ap-screen {
  background: var(--ink);
  border-radius: 0 0 28px 28px;
  padding: 12px;
  width: 210px;
  min-height: 380px;
}
.ap-screen.small { min-height: 300px; width: 185px; }

.ap-header { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.ap-hi { display: block; font-size: 0.82rem; font-weight: 700; color: var(--white); }
.ap-sub { font-size: 0.65rem; color: rgba(255,255,255,0.45); }

.ap-workout { display: flex; flex-direction: column; gap: 5px; }
.ap-day-badge {
  font-size: 0.58rem; font-weight: 700;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 5px;
}
.ap-ex {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 9px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,0.04);
}
.ap-ex.done { opacity: 0.55; }
.ap-ex.current { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.ap-ex-num {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700; color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.ap-ex-info { flex: 1; }
.ap-ex-info strong { display: block; font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.ap-ex-info small { font-size: 0.58rem; color: rgba(255,255,255,0.3); }
.ap-ex-check { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.ap-ex-check.done { color: #22c55e; }
.ap-start-btn {
  margin-top: 10px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Secondary phone */
.aps-title { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 9px; }
.aps-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
.aps-slot {
  background: rgba(255,255,255,0.06);
  border-radius: 8px; padding: 8px 4px;
  text-align: center;
  font-size: 0.65rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.aps-slot small { display: block; font-size: 0.52rem; color: rgba(255,255,255,0.25); margin-top: 2px; }
.aps-slot.sel { background: var(--white); color: var(--ink); }
.aps-slot.sel small { color: var(--mid); }
.aps-slot.full { opacity: 0.3; }
.aps-confirm {
  background: var(--white); color: var(--ink);
  text-align: center; padding: 9px;
  border-radius: 9px; font-size: 0.65rem; font-weight: 700;
  margin-bottom: 12px;
}
.aps-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 12px; }
.aps-payment { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.06); border-radius: 9px; padding: 10px; }
.aps-payment strong { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.8); }
.aps-payment small { font-size: 0.58rem; color: rgba(255,255,255,0.3); }
.aps-pay-btn { background: var(--white); color: var(--ink); border: none; padding: 5px 10px; border-radius: 6px; font-size: 0.6rem; font-weight: 700; cursor: pointer; font-family: inherit; }

/* App text */
.app-feats { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 28px; }
.app-feat { display: flex; align-items: flex-start; gap: 12px; }
.af-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.app-feat strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: 1px; }
.app-feat span { font-size: var(--fs-xs); color: var(--mid); }
.app-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 10px 18px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600;
  transition: var(--trans);
}
.store-btn:hover { background: var(--ink-3); }
.app-note { font-size: var(--fs-xs); color: var(--soft); margin-top: 10px; }

/* ===========================
   DIFERENCIAIS (BENTO)
=========================== */
.diferenciais { padding: 96px 0; background: var(--surface); }
.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.diff-header { margin-bottom: 48px; }
.diff-header h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); }

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

.db-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.db-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dbc-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
  margin-bottom: 8px;
}
.db-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 10px;
}
.db-card p {
  font-size: var(--fs-sm);
  color: var(--mid);
  line-height: 1.6;
}

.dbc-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.dbs-step { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--mid); }
.dbs-step span {
  width: 22px; height: 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.dbc-support-channels { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.dbc-support-channels span {
  font-size: var(--fs-xs); font-weight: 600;
  border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px;
  background: var(--surface);
}

/* ===========================
   PRICING
=========================== */
.pricing { padding: 96px 0; background: var(--surface); }
.pri-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pri-header { text-align: center; margin-bottom: 40px; }
.pri-header h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); margin-bottom: 10px; }
.pri-header p { font-size: var(--fs-base); color: var(--mid); }

.pri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}

.pri-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  transition: var(--trans);
}
.pri-card:hover { box-shadow: var(--shadow); }
.pri-card.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.prc-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.prc-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: var(--fs-xl); font-weight: 700; margin-bottom: 4px; }
.prc-desc { font-size: var(--fs-xs); color: var(--soft); margin-bottom: 20px; }

.prc-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 24px;
  line-height: 1;
}
.prc-price sup { font-size: var(--fs-sm); color: var(--mid); margin-right: 2px; }
.prc-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.prc-val small { font-size: var(--fs-base); letter-spacing: 0; font-weight: 600; }
.prc-price em { font-style: normal; font-size: var(--fs-xs); color: var(--soft); margin-left: 3px; }

.prc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.prc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--mid);
}
.prc-list svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--ink); }

.pri-footer-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--soft);
}

/* ===========================
   FAQ
=========================== */
.faq { padding: 96px 0; background: var(--white); }
.faq-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.faq-header { margin-bottom: 40px; }
.faq-header h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl)); }
.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: var(--trans);
}
.faq-q:hover { color: var(--mid); }
.faq-q span {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--mid);
  flex-shrink: 0;
  transition: var(--trans);
}
.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.faq-a.open { max-height: 600px; }
.faq-a p { padding-bottom: 20px; font-size: var(--fs-sm); color: var(--mid); line-height: 1.7; }
.faq-a ul { padding: 0 0 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.faq-a ul li { font-size: var(--fs-sm); color: var(--mid); line-height: 1.6; }
.faq-a ul li strong { color: var(--ink); }

/* ===========================
   CTA FINAL
=========================== */
.cta-final { padding: 96px 0; background: var(--surface); }
.ctaf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ctaf-left h2 {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  color: var(--ink);
  margin-bottom: 16px;
}
.ctaf-left > p {
  font-size: var(--fs-base);
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.7;
}
.ctaf-bullets { display: flex; flex-wrap: wrap; gap: 10px; }
.ctaf-bullets span {
  font-size: var(--fs-xs);
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Form */
.ctaf-form {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}
.ctaf-form h3 { font-size: var(--fs-xl); margin-bottom: 24px; }
.fg { margin-bottom: 14px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--mid); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
.fg input, .fg select {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-family: inherit;
  outline: none;
  transition: var(--trans);
}
.fg input:focus, .fg select:focus {
  border-color: var(--ink);
}
.form-note { font-size: var(--fs-xs); color: var(--soft); text-align: center; margin-top: 10px; }
.form-note a { color: var(--mid); text-decoration: underline; }

/* ===========================
   MODAL DE SUCESSO
=========================== */
.smodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.smodal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.smodal-overlay.open .smodal-box {
  transform: translateY(0);
  opacity: 1;
}
.smodal-overlay.closing {
  animation: smodal-fade-out .25s ease forwards;
}
@keyframes smodal-fade-out {
  to { opacity: 0; }
}

.smodal-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}

.smodal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.smodal-box h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.smodal-box p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 24px;
}

.smodal-box p strong { color: var(--ink); }

.smodal-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.smodal-bullets span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.smodal-bullets svg { color: #16a34a; flex-shrink: 0; }

.smodal-btn {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.smodal-btn:hover { opacity: 0.88; }

/* ===========================
   FOOTER
=========================== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: var(--fs-sm); color: var(--mid); margin: 16px 0 12px; max-width: 240px; line-height: 1.6; }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 20px;
}
.footer-legal span {
  font-size: .7rem;
  color: var(--soft);
  line-height: 1.5;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--soft);
  transition: var(--trans);
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--ink); color: var(--ink); }

.footer-col h4 { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mid); margin-bottom: 16px; }
.footer-col a { display: block; font-size: var(--fs-sm); color: var(--mid); margin-bottom: 10px; transition: var(--trans); }
.footer-col a:hover { color: var(--ink); }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bar span { font-size: var(--fs-xs); color: var(--soft); }
.footer-bar div { display: flex; gap: 20px; }
.footer-bar a { font-size: var(--fs-xs); color: var(--soft); transition: var(--trans); }
.footer-bar a:hover { color: var(--ink); }

/* ===========================
   WHATSAPP
=========================== */
.wpp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99;
  background: #25D366;
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: var(--trans);
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

/* ===========================
   REVEAL ANIMATIONS
=========================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal-delay] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease 0.2s, transform 0.65s ease 0.2s;
}
[data-reveal].visible, [data-reveal-delay].visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   RESPONSIVE
=========================== */

/* --- 1024px: tablets landscape ---------------------------------- */
@media (max-width: 1024px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-left {
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .screen-mobile-wrap { display: none; }
  .screen-desktop-wrap { margin: 0 auto; max-width: 600px; }
  .hero-badge.b2 { display: none; }

  /* Funcionalidades */
  .fs-header-wrap { min-height: 180px; margin-bottom: 40px; }
  .fs-header { padding: 36px 40px 36px 0; max-width: 420px; }
  .tab-content.active { grid-template-columns: 1fr; }
  /* Mockups sobrepostos: desativa overlay, empilha */
  .alunos-screens-wrap,
  .treino-screens-wrap,
  .agenda-screens-wrap { padding-bottom: 0; padding-right: 0; }
  .alunos-screen-perfil,
  .treino-app-mockup,
  .agenda-screen-cal {
    position: static;
    width: 100%;
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
  }

  /* App */
  .app-inner { grid-template-columns: 1fr; }
  .app-phones { display: flex; justify-content: center; }

  /* CTA final */
  .ctaf-inner { grid-template-columns: 1fr; }
  .ctaf-left { text-align: center; }
  .ctaf-bullets { justify-content: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Diferenciais */
  .diff-bento { grid-template-columns: 1fr 1fr; }
}

/* --- 768px: tablets portrait / mobile grande ------------------- */
@media (max-width: 768px) {
  /* Tipografia geral */
  h1, .hero-left h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Nav — oculta desktop, mostra burger */
  .nav-menu-desktop, .nav-ctas { display: none; }
  .burger { display: flex; z-index: 400; position: relative; }

  /* Overlay abaixo do drawer */
  .nav-overlay { z-index: 290; }

  /* Hero */
  .hero { padding: 80px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 40px; }
  .hero-left {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 3.5rem); }
  .hero-body { max-width: 100%; font-size: 1rem; }
  .hero-checks { width: 100%; }
  .hero-check { text-align: left; }
  .btn-primary-hero { width: auto; max-width: 100%; padding: 13px 20px; font-size: 0.9rem; white-space: normal; }
  .hero-pill { max-width: 100%; }
  .hero-right { padding: 0; width: 100%; max-width: 100%; min-width: 0; }
  .screen-desktop-wrap { width: 100%; max-width: 100%; margin: 0; overflow: hidden; }
  .hero-screens { width: 100%; max-width: 100%; }
  .screen-desktop { width: 100%; overflow: hidden; }
  .hero-badge.b1 { display: none; }

  /* Funcionalidades */
  .fs-header-photo { display: none; }
  .fs-header-wrap { min-height: unset; margin-bottom: 32px; border-radius: 0; }
  .fs-header { padding: 0; max-width: 100%; }

  /* Trust strip */
  .ts-inner { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Abas */
  .tabs-nav { flex-wrap: wrap; }
  .tab-btn { flex: 0 1 auto; font-size: 0.72rem; padding: 8px 10px; }

  /* Mockups nas abas: oculta tela secundária */
  .alunos-screen-perfil,
  .treino-app-mockup,
  .agenda-screen-cal { display: none; }
  .alunos-screen-main,
  .treino-screen-main,
  .agenda-screen-main { width: 100%; }

  /* Preços */
  .pri-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Diferenciais */
  .diff-bento { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-bar div { flex-wrap: wrap; justify-content: center; }

  /* Formulário */
  .ctaf-form { padding: 24px 20px; }
  .fg-row { grid-template-columns: 1fr; }

  /* Mockups internos das abas */
  .mon-kpis { grid-template-columns: repeat(3, 1fr); }
  .mon-funnel { grid-template-columns: repeat(2, 1fr); }
  .mon-rel-grid { grid-template-columns: repeat(2, 1fr); }
  .trf-kpis { grid-template-columns: repeat(2, 1fr); }
  .mpt-header,
  .mpt-row { grid-template-columns: 1.5fr 1fr 60px 70px; }
  .mpt-header span:nth-child(3),
  .mpt-row .mpt-cat { display: none; }

  /* Financeiro: 3 KPIs na mesma linha, fonte menor */
  .dash-kpis { gap: 3px; }
  .kpi { padding: 5px 4px; gap: 2px; min-width: 0; }
  .kpi-val { font-size: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kpi-label { font-size: 0.44rem; }
  .kpi-badge { font-size: 0.44rem; padding: 1px 3px; }
  .mon-kpis { gap: 3px; }
  .mon-kpi { padding: 5px 4px; min-width: 0; }
  .mon-kpi strong { font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mon-kpi span { font-size: 0.44rem; }
  .mon-kpi em { font-size: 0.44rem; }

  /* Agenda: esconde a tela de schedule, mostra só o calendário */
  .agenda-screen-main { display: none; }
  .agenda-screen-cal {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* CRM kanban: 2 colunas com fonte menor */
  .mon-funnel { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .mfn-header { font-size: 0.56rem; padding: 4px 6px; }
  .mfn-card { padding: 4px 6px; gap: 4px; }
  .mfn-card strong { font-size: 0.56rem; }
  .mfn-card small { font-size: 0.5rem; }
  .mfn-av { width: 20px; height: 20px; font-size: 0.5rem; flex-shrink: 0; }
  .mfn-more { font-size: 0.5rem; padding: 3px 6px; }

  /* PDV: esconde lista de produtos, mostra só o carrinho/pagamento */
  .pdv-layout { grid-template-columns: 1fr; }
  .pdv-left { display: none; }
  .pdv-right { border-left: none; }
  .app-inner { grid-template-columns: 1fr; }
  .app-phones { gap: 10px; }
  .app-phone.secondary { display: none; }
  .ap-screen { width: 220px; }

  /* PDV */
  .pdv-layout { grid-template-columns: 1fr; }
  .pdv-left { border-right: none; border-bottom: 1px solid var(--border-2); max-height: 200px; overflow-y: auto; }
}

/* --- 480px: mobile pequeno ------------------------------------- */
@media (max-width: 480px) {
  /* Tipografia */
  h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 3.5rem); }

  /* Hero */
  .hero-badge { display: none; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { padding: 0 20px 32px; gap: 24px; }
  .screen-desktop-wrap { overflow: hidden; width: 100%; max-width: 100%; }
  .screen-desktop { font-size: 0.5rem; width: 100%; }
  .dash-sidebar { width: 70px; }
  .dash-logo { width: 60px; }
  .dash-link { font-size: 0; padding: 6px; justify-content: center; }
  .dash-link svg { width: 12px; height: 12px; margin: 0; }
  .hero-pill { font-size: 0.72rem; }
  .btn-primary-hero { width: auto; padding: 12px 20px; font-size: 0.88rem; }

  /* Trust strip — coluna única */
  .ts-inner { grid-template-columns: 1fr; }

  /* Funcionalidades */
  .tab-content.active { grid-template-columns: 1fr; }
  .mca-bars { height: 45px; }
  .trf-kpis { grid-template-columns: 1fr 1fr; }
  .trf-thead,
  .trf-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .trf-thead span:nth-child(4),
  .trf-thead span:nth-child(5),
  .trf-thead span:nth-child(6),
  .trf-row .trf-prio,
  .trf-row .trf-resp,
  .trf-row .trf-date { display: none; }
  .mtr { grid-template-columns: 1fr 1fr; }
  .mtr span:nth-child(3), .mtr span:nth-child(4) { display: none; }
  .mtr.header span:nth-child(3), .mtr.header span:nth-child(4) { display: none; }

  /* Catraca */
  .cat-content h2 { font-size: 1.6rem; }

  /* Preços */
  .prc-val { font-size: 2rem; }

  /* Formulário */
  .ctaf-form h3 { font-size: 1.2rem; }
  .cta-btn { font-size: 0.9rem; padding: 14px 20px; }

  /* FAQ */
  .faq-q { font-size: 0.9rem; padding: 14px 16px; }

  /* Footer */
  .footer-legal { flex-direction: column; gap: 4px; }
  .footer-legal span::before { display: none; }

  /* Modal */
  .smodal-box { padding: 28px 20px 24px; }
}
