/* =========================================================
   BJJ Leads — página inicial
   Visual claro e limpo (Inter, cartões brancos, azul-faixa).
   Animações: GSAP + ScrollTrigger + SplitText + Lenis (js/site.js)
   Breakpoints: >1000px computador · 700–1000px tablet · <700px celular
   ========================================================= */

:root {
  --bg: #FCFCFC;
  --card: #FFFFFF;
  --panel: #F5F5F4;
  --panel-2: #EFEFEE;
  --line: #EEEEEE;
  --line-2: #E2E2E2;
  --ink: #121212;
  --ink-2: #3A3A3A;
  --muted: #6E6E6E;
  --blue: #2563EB;
  --blue-2: #1D4ED8;
  --blue-soft: #EEF4FF;
  --blue-line: #C9DAFF;
  --green: #22C55E;
  --red: #E3262F;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --side: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sh: 0 1px 2px rgba(18, 18, 18, .03), 0 10px 30px -14px rgba(18, 18, 18, .1);
  --sh-lg: 0 2px 6px rgba(18, 18, 18, .04), 0 30px 70px -30px rgba(18, 18, 18, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--side); }
.sec { padding: clamp(110px, 13vw, 190px) 0; }
.progress { position: fixed; left: 0; top: 0; z-index: 120; width: 100%; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- tipografia ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 10px; background: var(--blue-soft); border: 1px solid var(--blue-line); color: var(--blue); font-size: 15px; font-weight: 500; line-height: 1.4; }
.h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.08; letter-spacing: -.05em; font-weight: 500; }
.h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; letter-spacing: -.05em; font-weight: 500; }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.2; }
.sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.6; }
.blue { color: var(--blue); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.head .sub { max-width: 560px; }
.head--left { text-align: left; align-items: flex-start; margin-left: 0; }

/* ---------- botões (texto rola letra a letra no hover) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background .25s, box-shadow .3s, transform .3s var(--ease), border-color .25s; will-change: transform; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 20px -8px rgba(37, 99, 235, .65); }
.btn--blue:hover { background: var(--blue-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 28px -10px rgba(37, 99, 235, .75); }
.btn--white { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh); }
.btn--white:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.roll { display: inline-flex; overflow: hidden; line-height: 1.25; }
.roll > span { position: relative; display: inline-block; white-space: pre; transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.roll > span::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
.btn:hover .roll > span { transform: translateY(-100%); }
.micro { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.micro svg { width: 18px; height: 18px; color: var(--blue); }

/* ---------- menu ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(252, 252, 252, .8); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, transform .45s var(--ease); }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18, 18, 18, .3); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 14px var(--side); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -.04em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand b { font-weight: 600; color: var(--blue); }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { position: relative; padding: 8px 12px; font-size: 15.5px; color: var(--muted); text-decoration: none; border-radius: 8px; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 6px; }
.nav__login { padding: 8px 12px; font-size: 15.5px; color: var(--ink-2); text-decoration: none; }
.nav__login:hover { color: var(--blue); }
.nav__burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger i:first-of-type { top: 16px; }
.nav__burger i:last-of-type { top: 23px; }
.nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.nav__drop { position: absolute; top: calc(100% + 8px); right: var(--side); width: min(320px, calc(100% - 2 * var(--side))); display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); transform-origin: top right; }
.nav__drop[hidden] { display: none; }
.nav__drop a:not(.btn) { padding: 11px 12px; border-radius: 10px; text-decoration: none; }
.nav__drop a:not(.btn):hover { background: var(--panel); }
.nav__drop .btn { margin-top: 8px; }

/* ---------- topo ---------- */
.hero { position: relative; padding: clamp(130px, 17vh, 180px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 40% at 50% 0%, rgba(37, 99, 235, .07), transparent 70%),
  linear-gradient(rgba(18, 18, 18, .035) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(18, 18, 18, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); }
.hero__in { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 var(--side); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 6px; border-radius: 12px; background: var(--blue-soft); border: 1px solid var(--blue-line); color: var(--blue); font-size: 15px; font-weight: 500; }
.hero__belts { display: flex; }
.hero__belts i { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #fff; margin-left: -6px; display: grid; place-items: center; background: var(--c); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.hero__belts i:first-child { margin-left: 0; }
.hero__belts i::after { content: ""; width: 12px; height: 4px; border-radius: 1px; background: #111; box-shadow: 4px 0 0 -1px var(--c); }
.hero__title .word { display: inline-block; }
.hero__sub { max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; max-width: 1400px; margin: 0 auto; }
.tile { position: absolute; left: var(--x); top: var(--y); width: var(--s, 92px); height: var(--s, 92px); padding: 7px; border-radius: 26px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: var(--sh); transform: rotate(var(--r)); }
.tile > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: calc(var(--s, 92px) * .4); line-height: 1; }
.tile svg { width: 52%; height: 52%; }
.tile--wa > span { color: #fff; background: linear-gradient(160deg, #4ADE80, #16A34A); border: 0; }
.tile--blue > span { color: #fff; background: linear-gradient(160deg, #60A5FA, var(--blue)); border: 0; }
.tile--belt > span::before { content: ""; width: 62%; height: 18%; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.tile--belt > span::after { content: ""; position: absolute; width: 14%; height: 18%; background: var(--tip, #111); margin-left: 26%; }
.tile--belt > span { position: relative; }
.tile--far { opacity: .55; filter: blur(.6px); }

/* painel do topo */
.stage { position: relative; z-index: 2; max-width: 1120px; margin: clamp(56px, 7vw, 80px) auto 0; padding: 0 var(--side); perspective: 1600px; }
.frame { position: relative; padding: 10px; border-radius: 28px; background: linear-gradient(180deg, rgba(37, 99, 235, .14), rgba(37, 99, 235, .03)); border: 1px solid var(--blue-line); box-shadow: 0 0 0 6px rgba(37, 99, 235, .04), 0 40px 100px -40px rgba(37, 99, 235, .55); transform-origin: 50% 0; }
.frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 14%; background: linear-gradient(transparent, var(--bg) 92%); border-radius: 0 0 28px 28px; pointer-events: none; }
.dash { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-align: left; min-height: 540px; }
.dash__side { padding: 20px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dash__logo { display: flex; align-items: center; gap: 8px; padding: 0 8px 14px; font-weight: 600; letter-spacing: -.03em; }
.dash__logo img { width: 26px; height: 26px; border-radius: 50%; }
.dash__search { margin: 0 4px 12px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 12.5px; color: #A3A3A3; }
.dash__side > span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; color: var(--ink-2); }
.dash__side > span svg { width: 16px; height: 16px; color: var(--muted); }
.dash__side > span.is-on { background: var(--blue-soft); color: var(--blue); }
.dash__side > span.is-on svg { color: var(--blue); }
.dash__main { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dash__top b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.dash__top small { color: var(--muted); font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.kpi small { display: block; font-size: 12.5px; color: var(--muted); }
.kpi b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi em { display: inline-flex; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); }
.kpi em.red { background: #FDECEC; color: #B91C1C; }
.kpi .ring { width: 54px; height: 54px; float: right; margin-top: -6px; }
.kpi .ring circle { fill: none; stroke-width: 6; }
.kpi .ring .bg { stroke: var(--panel-2); }
.kpi .ring .fg { stroke: var(--blue); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.dash__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.box { padding: 16px; border-radius: 16px; border: 1px solid var(--line); min-width: 0; }
.box__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.box__h small { font-size: 12px; color: var(--muted); font-weight: 400; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: 13px; transition: background .35s; }
.row.is-hot { background: var(--blue-soft); }
.av { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(160deg, var(--c1, #93C5FD), var(--c2, var(--blue))); }
.row div { flex: 1; min-width: 0; }
.row b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--panel); color: var(--ink-2); white-space: nowrap; }
.chip--blue { background: var(--blue); color: #fff; }
.chip--green { background: #DCFCE7; color: #166534; }
.chip--red { background: #FDECEC; color: #B91C1C; }
.chart { position: relative; height: 170px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart__x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.dash__bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini small { display: block; font-size: 12.5px; color: var(--muted); }
.mini b { display: block; font-size: 22px; font-weight: 500; color: var(--blue); letter-spacing: -.03em; }
.mini span { font-size: 12px; color: var(--muted); }

/* faixa (desenho) */
.belt { display: inline-block; position: relative; width: 40px; height: 10px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .12); vertical-align: middle; flex: 0 0 auto; }
.belt i { position: absolute; right: 5px; top: 0; bottom: 0; width: 14px; background: #111; display: flex; gap: 2px; justify-content: center; padding: 0 2px; }
.belt i b { width: 2px; background: #fff; }

/* ---------- faixa de público ---------- */
.trust { padding: clamp(40px, 6vw, 70px) 0 0; text-align: center; }
.trust p { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.03em; font-weight: 500; }
.marquee { margin-top: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 12px; width: max-content; }
.marquee__row span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.marquee__row span::before { content: ""; width: 26px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: inset -7px 0 0 #111, inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* ---------- comparação (antes x depois) ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto; padding: 10px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.versus__col { padding: clamp(24px, 3.4vw, 40px); border-radius: 20px; }
.versus__col h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.04em; display: flex; align-items: center; gap: 10px; }
.versus__col h3 img { width: 34px; height: 34px; border-radius: 50%; }
.versus__col p.small { font-size: 14px; color: var(--muted); margin-top: 4px; }
.versus__col ul { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.versus__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.45; }
.versus__col li svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.versus__col--old li { color: var(--muted); }
.versus__col--old li svg { color: #A3A3A3; }
.versus__col--old li span { position: relative; }
.versus__col--old li span::after { content: ""; position: absolute; left: 0; top: 55%; height: 1.5px; width: 100%; background: rgba(110, 110, 110, .55); transform-origin: left; transform: scaleX(var(--strike, 0)); }
.versus__col--new { border: 2px solid var(--blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, .08), 0 30px 60px -30px rgba(37, 99, 235, .55); background: #fff; }
.versus__col--new li svg { color: var(--blue); }

/* ---------- recursos (cartões com animação) ---------- */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 14px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.vis { position: relative; height: 330px; border-radius: 18px; background: var(--panel); overflow: hidden; isolation: isolate; }
.vis::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(18, 18, 18, .07) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); }
.card__txt { padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.card__txt p { color: var(--muted); max-width: 440px; }
.sheet { position: absolute; left: 50%; top: 34px; width: min(420px, 86%); transform: translateX(-50%); padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.sheet__h { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet__h small { display: block; font-size: 12.5px; color: var(--muted); }
.sheet__h b { display: flex; align-items: center; gap: 8px; font-size: 30px; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; }
.sheet__h b em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: #FDECEC; color: #B91C1C; letter-spacing: 0; }
.sheet .row { padding: 8px 6px; }
.meter { height: 6px; border-radius: 6px; background: var(--panel-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.meter--risk i { background: linear-gradient(90deg, #F59E0B, var(--red)); }
/* automação: lista que sobe + orbe do WhatsApp */
.feed { position: absolute; left: 50%; top: 0; width: min(440px, 88%); transform: translateX(-50%); display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.feed__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.feed__item i { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 14px; background: var(--blue-soft); }
.feed__item small { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.vis--feed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--panel), transparent 22%, transparent 78%, var(--panel)); pointer-events: none; }
.orb { position: absolute; left: 50%; top: 50%; z-index: 2; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 40px -16px rgba(22, 163, 74, .5); }
.orb span { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #4ADE80, #16A34A); }
.orb span svg { width: 36px; height: 36px; }
.orb::before, .orb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(34, 197, 94, .5); animation: orb 2.6s var(--ease) infinite; }
.orb::after { animation-delay: 1.3s; }
@keyframes orb { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
/* graduação */
.grads { position: absolute; left: 50%; top: 30px; width: min(420px, 86%); transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; }
.grad { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: border-color .4s, box-shadow .4s; }
.grad__t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 9px; }
.grad__t b { display: flex; align-items: center; gap: 9px; font-weight: 500; white-space: nowrap; }
.grad__t em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.grad.is-ready { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .1); }
.ready { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 14px 28px -12px rgba(37, 99, 235, .8); }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.confetti i { position: absolute; left: 50%; bottom: 40px; width: 7px; height: 11px; border-radius: 2px; }
/* kanban */
.kb { position: absolute; left: 24px; right: 24px; top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kb__col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); min-height: 270px; }
.kb__h { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 2px 4px; }
.kb__h i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.kb__h small { margin-left: auto; color: var(--muted); }
.kb__card { padding: 10px; border-radius: 11px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-size: 12.5px; }
.kb__card b { display: block; font-weight: 500; }
.kb__card small { color: var(--muted); font-size: 11.5px; }
.kb__card .chip { display: inline-block; margin-top: 6px; }
.kb__card.is-hot { border-color: var(--blue); box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .6); }
.cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; opacity: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }

/* ---------- benefícios ---------- */
.bens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ben { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ben:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.ben__i { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 30px; box-shadow: inset 0 0 0 1px var(--blue-line), 0 6px 14px -8px rgba(37, 99, 235, .5); transition: transform .6s var(--ease); }
.ben:hover .ben__i { transform: rotate(-8deg) scale(1.08); }
.ben__i svg { width: 24px; height: 24px; }
.ben h3 { font-size: 22px; letter-spacing: -.035em; }
.ben p { color: var(--muted); }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step .vis { height: 250px; }
.step__n { display: inline-flex; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--blue); padding: 3px 9px; border-radius: 8px; background: var(--blue-soft); }
.upload { position: absolute; left: 50%; top: 50%; width: 80%; transform: translate(-50%, -50%); padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.upload__f { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.upload__f i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #DCFCE7; color: #166534; font-style: normal; font-size: 11px; font-weight: 700; }
.upload__f small { display: block; color: var(--muted); font-size: 12px; }
.upload .meter { margin-top: 14px; }
.upload__done { margin-top: 10px; font-size: 13px; color: var(--blue); font-weight: 500; font-variant-numeric: tabular-nums; }
.toggles { position: absolute; left: 50%; top: 50%; width: 82%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 8px; }
.tg { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.sw { position: relative; width: 36px; height: 20px; flex: 0 0 36px; border-radius: 20px; background: var(--panel-2); transition: background .35s; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.tg.is-on .sw { background: var(--blue); }
.tg.is-on .sw::after { transform: translateX(16px); }
.notes { position: absolute; left: 50%; top: 50%; width: 84%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 8px; }
.note { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--sh); font-size: 13px; }
.note > i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 14px; background: var(--blue-soft); }
.note div { flex: 1; min-width: 0; }
.note b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note small { display: block; color: var(--muted); font-size: 11.5px; }

/* ---------- app do aluno ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
.check::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--blue-line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pills span { padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.phone-card { padding: 14px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.phone-card .vis { height: 600px; display: grid; place-items: center; }
.phone { position: relative; width: 290px; height: 560px; padding: 10px; border-radius: 48px; background: #121212; box-shadow: inset 0 0 0 1.5px #333, inset 0 0 0 4px #000, 0 40px 80px -30px rgba(18, 18, 18, .5); transform: translateY(40px); }
.phone__screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #F6F6F5; display: flex; flex-direction: column; }
.phone__island { position: absolute; z-index: 4; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.sapp__top { display: flex; align-items: center; gap: 10px; padding: 52px 16px 16px; background: var(--blue); color: #fff; }
.sapp__top img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.sapp__top small { display: block; font-size: 11px; opacity: .8; }
.sapp__top b { font-weight: 500; font-size: 15px; }
.sapp__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.scard { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.scard small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.scard > b { display: block; font-size: 14px; font-weight: 500; margin: 2px 0 8px; }
.sprog-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.sprog-l b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; }
.srow { display: flex; align-items: center; gap: 10px; }
.srow .e { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); font-size: 15px; }
.srow small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.srow b { font-size: 12.5px; font-weight: 500; display: block; }
.sbtn { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; overflow: hidden; transition: background .35s; }
.sbtn.is-done { background: var(--green); }
.sbtn__ring { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.tap { position: absolute; z-index: 8; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(18, 18, 18, .22); border: 2px solid rgba(255, 255, 255, .95); pointer-events: none; opacity: 0; }
.snav { display: flex; justify-content: space-around; padding: 10px 6px 18px; background: #fff; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.snav .on { color: var(--blue); font-weight: 600; }
.float-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); font-size: 13.5px; white-space: nowrap; }
.float-chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; background: var(--blue-soft); }
.float-chip b { display: block; font-weight: 500; }
.float-chip small { display: block; font-size: 11.5px; color: var(--muted); }

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.calc__form { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.field label { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink-2); }
.field output { font-size: 17px; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
input[type="range"] { width: 100%; margin-top: 14px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--panel-2) var(--fill, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .18), inset 0 0 0 5px var(--blue); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); cursor: grab; }
input[type="range"]:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 6px; }
.calc__out { padding: clamp(22px, 3.4vw, 40px); border-radius: 20px; background: var(--panel); display: flex; flex-direction: column; gap: 20px; }
.res small { display: block; font-size: 14px; color: var(--muted); }
.res b { display: block; font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.res--main { padding: 22px; border-radius: 18px; background: var(--blue); color: #fff; box-shadow: 0 24px 40px -22px rgba(37, 99, 235, .9); }
.res--main small { color: rgba(255, 255, 255, .85); }
.res--main b { font-size: clamp(40px, 4.4vw, 58px); }
.res--main em { display: block; font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 4px; }
.calc__out .btn { align-self: flex-start; margin-top: auto; }
.note-s { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- tudo integrado (módulos espalhados) ---------- */
.hub { position: relative; overflow: hidden; height: clamp(520px, 52vw, 600px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; place-items: center; text-align: center; }
.hub__in { position: relative; z-index: 3; max-width: 560px; padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; background: radial-gradient(closest-side, #fff 60%, rgba(255, 255, 255, 0)); }
.mods { position: absolute; inset: 0; z-index: 1; }
.mod { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-size: 14.5px; white-space: nowrap; transform: rotate(var(--r)); }
.mod i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 17px; background: var(--panel); }
.mod--far { opacity: .45; filter: blur(.8px); }

/* ---------- planos ---------- */
.billing { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.billing button { position: relative; z-index: 1; padding: 8px 18px; border-radius: 9px; font-size: 15px; color: var(--muted); transition: color .3s; }
.billing button.is-on { color: #fff; }
.billing em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; margin-left: 4px; background: var(--blue-soft); color: var(--blue); }
.billing__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: var(--blue); transition: transform .45s var(--ease), width .45s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .5s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan--pop { border: 2px solid var(--blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, .08), 0 30px 60px -30px rgba(37, 99, 235, .55); }
.plan__badge { position: absolute; top: 24px; right: 24px; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); }
.plan__name { font-size: 22px; letter-spacing: -.035em; }
.plan__desc { font-size: 15px; color: var(--muted); margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 24px 0 4px; min-height: 58px; overflow: hidden; }
.plan__price span { font-size: 18px; color: var(--muted); }
.plan__price b { font-size: 50px; font-weight: 500; letter-spacing: -.05em; line-height: 1.1; display: inline-block; font-variant-numeric: tabular-nums; }
.plan__price b.txt { font-size: 34px; }
.plan__price small { font-size: 15px; color: var(--muted); }
.plan__annual { font-size: 13.5px; color: var(--muted); min-height: 21px; margin-bottom: 20px; }
.plan__inc { font-size: 14px; font-weight: 500; margin: 24px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan ul { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan .check { font-size: 15px; }
.plans__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.plans__foot span { display: inline-flex; align-items: center; gap: 8px; }
.plans__foot svg { width: 18px; height: 18px; color: var(--blue); }

/* ---------- perguntas ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: border-color .3s; }
.qa.is-open { border-color: var(--blue-line); }
.qa h3 { font: inherit; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-size: 17.5px; font-weight: 500; letter-spacing: -.02em; text-align: left; }
.qa button i { position: relative; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: var(--panel); transition: background .3s, transform .5s var(--ease); }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: background .3s; }
.qa button i::after { transform: rotate(90deg); transition: transform .4s var(--ease), background .3s; }
.qa.is-open button i { background: var(--blue); transform: rotate(180deg); }
.qa.is-open button i::before, .qa.is-open button i::after { background: #fff; }
.qa.is-open button i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 22px 22px; color: var(--muted); }
.faq__more { text-align: center; margin-top: 26px; color: var(--muted); }
.faq__more a { color: var(--blue); font-weight: 500; }

/* ---------- chamada final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) var(--side); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-align: center; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 120%, rgba(37, 99, 235, .22), transparent 70%), radial-gradient(rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 18px 18px; }
.final__in { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final__title .word { display: inline-block; }
.final .tiles .tile { --s: 70px; }

/* ---------- contato e rodapé ---------- */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.channel:hover { transform: translateY(-4px); border-color: var(--blue-line); box-shadow: var(--sh-lg); }
.channel__i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 19px; margin-bottom: 14px; }
.channel__i svg { width: 22px; height: 22px; }
.channel h3 { font-size: 18px; letter-spacing: -.03em; }
.channel p { font-size: 14.5px; color: var(--muted); }
.channel strong { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 500; color: var(--blue); overflow-wrap: anywhere; }
.footer { margin-top: clamp(70px, 9vw, 110px); border-top: 1px solid var(--line); background: #fff; }
.footer__top { max-width: var(--max); margin: 0 auto; padding: 56px var(--side) 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 300px; }
.footer__h { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.footer a:not(.brand), .footer__col span { display: block; padding: 4px 0; font-size: 15px; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer a:not(.brand):hover { color: var(--blue); }
.footer__bottom { max-width: var(--max); margin: 0 auto; padding: 20px var(--side) 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(160deg, #4ADE80, #16A34A); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .7); transition: transform .35s var(--ease); }
.wa-float:hover { transform: translateY(-3px) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .tile { --s: 70px !important; }
  .tile--hide-md { display: none; }
  .dash { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash__side { display: none; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .feats, .split, .calc { grid-template-columns: minmax(0, 1fr); }
  .bens, .steps, .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mod--hide-md { display: none; }
}
@media (max-width: 700px) {
  .hero { padding-top: 110px; }
  .tiles .tile { display: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__grid, .dash__bottom { grid-template-columns: minmax(0, 1fr); }
  .dash__grid .box:last-child, .dash__bottom { display: none; }
  .vis { height: 300px; }
  .feed__item { font-size: 14px; }
  .kb { left: 12px; right: 12px; }
  .kb__col:last-child { display: none; }
  .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-card .vis { height: 560px; }
  .float-chip { display: none; }
  .hub { height: auto; padding: 40px 0; }
  .mods { display: none; }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .qa button { font-size: 16px; padding: 18px; }
  .qa__a p { padding: 0 18px 18px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   v2 — menu em pílula, faixas penduradas, frase com ícones,
   seções numeradas e réplicas das telas do sistema
   ========================================================= */
h1, h2 { font-weight: 600; }
.h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.h2 { font-weight: 600; letter-spacing: -.045em; }

/* menu flutuante em pílula que encolhe ao rolar */
.nav { inset: 14px 0 auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; pointer-events: none; }
.nav.is-scrolled { box-shadow: none; }
.nav__in { pointer-events: auto; width: fit-content; max-width: calc(100% - 2 * var(--side)); padding: 7px; gap: 8px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border: 1px solid var(--line); box-shadow: 0 10px 30px -16px rgba(18, 18, 18, .25); }
.nav .brand { padding-right: 10px; font-size: 18px; }
.nav .brand img { width: 40px; height: 40px; }
.nav__links { margin: 0; overflow: hidden; max-width: 760px; transition: max-width .6s var(--ease), opacity .4s; }
.nav__links a { white-space: nowrap; color: var(--ink-2); border-radius: 999px; }
.nav__links a::after { display: none; }
.nav__links a:hover, .nav__links a.is-on { background: var(--panel); }
.nav__cta .btn { border-radius: 999px; }
.nav__login { white-space: nowrap; }
.nav.is-compact .nav__links { max-width: 0; opacity: 0; }
.nav.is-compact .nav__login { display: none; }
.nav__drop { right: 50%; transform: translateX(50%); }
.btn--pill { border-radius: 999px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(18, 18, 18, .6); }
.btn--ink:hover { background: #2A2A2A; }
.btn--gray { background: #EFEFEF; color: var(--ink); }
.btn--gray:hover { background: #E4E4E4; }

/* topo com faixas penduradas em fios */
.hero { padding-top: clamp(180px, 25vh, 230px); background: linear-gradient(#F1F1F1, var(--bg) 60%); }
.hero::before { display: none; }
.hang { position: absolute; inset: 0; z-index: 1; pointer-events: none; max-width: 1300px; margin: 0 auto; }
.hang__item { position: absolute; left: var(--x); top: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.hang__item::before { content: ""; width: 1.5px; height: var(--len); background: linear-gradient(rgba(18, 18, 18, .04), rgba(18, 18, 18, .3)); }
.hang__tile { width: 74px; height: 74px; margin-top: -2px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--bg-t, var(--ink)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .12), 0 18px 30px -14px rgba(18, 18, 18, .45); }
.hang__tile svg { width: 34px; height: 34px; }
.hang__tile--belt { background: #fff; border: 1px solid var(--line); }
.hang__tile--belt::before { content: ""; width: 48px; height: 13px; border-radius: 2px; background: var(--c); box-shadow: inset -11px 0 0 var(--tip, #111), inset 0 0 0 1px rgba(0, 0, 0, .1); }
.hero__badge2 { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.hero__badge2 b { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 500; }
.hero__badge2 b::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #D9F99D; box-shadow: 0 0 0 3px rgba(217, 249, 157, .35); }
.hero__badge2 span { padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.prods { position: relative; z-index: 2; max-width: 1100px; margin: clamp(48px, 6vw, 70px) auto 0; padding: 0 var(--side); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prod { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.prod__i { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--bg-t); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 26px -14px rgba(18, 18, 18, .5); transition: transform .5s var(--ease); }
.prod:hover .prod__i { transform: translateY(-4px) rotate(-6deg); }
.prod__i svg { width: 28px; height: 28px; }
.prod b { font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.prod > span:not(.prod__i) { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #EFEFEF; color: var(--muted); }

/* frase com ícones no meio */
.say { padding: clamp(110px, 14vw, 190px) var(--side); }
.say__t { max-width: 1060px; margin: 0 auto; text-align: center; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.32; font-weight: 600; letter-spacing: -.045em; }
.say__t .w { display: inline-block; }
.say__i { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin: 0 .08em; vertical-align: -.22em; border-radius: .3em; color: #fff; background: var(--bg-t); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 .25em .5em -.25em rgba(18, 18, 18, .5); }
.say__i svg { width: 55%; height: 55%; }

/* rótulo numerado das seções */
.label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.label b { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; }
.label b::after { content: ""; width: 14px; height: 14px; border-radius: 3px; background: conic-gradient(#D9F99D 0 25%, #fff 0 50%, #D9F99D 0 75%, #fff 0); }
.label span { padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

/* ---------- réplica do sistema (telas reais, dados de exemplo) ---------- */
.shot-fit { position: relative; width: 100%; overflow: hidden; border-radius: 16px; }
.shot { width: 1440px; transform-origin: 0 0; }
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); height: 820px; background: #F3F4F6; color: #1F2937; font-size: 14px; line-height: 1.45; text-align: left; border-radius: 16px; overflow: hidden; }
.app__side { background: #fff; border-right: 1px solid #E5E7EB; padding: 18px 0 18px 12px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.app__brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 14px 6px; font-size: 17px; font-weight: 500; }
.app__logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; background: conic-gradient(from 210deg, #2563EB, #7C3AED, #2563EB); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #E5E7EB; }
.app__select { margin: 0 12px 16px 2px; padding: 11px 14px; border-radius: 10px; background: #F3F4F6; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; }
.app__select::after { content: "⌄"; }
.app__menu { padding: 0 10px 6px; font-size: 12px; color: #9CA3AF; letter-spacing: .04em; }
.app__nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px 0 0 10px; color: #4B5563; font-size: 14.5px; transition: background .3s, color .3s; }
.app__nav svg { width: 18px; height: 18px; color: #6B7280; }
.app__nav.is-on { background: #F3F4F6; color: #111827; font-weight: 600; }
.app__nav.is-on svg { color: #111827; }
.app__main { padding: 26px 30px; overflow: hidden; position: relative; }
.app__head { display: flex; justify-content: space-between; align-items: flex-start; }
.app__head h4 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: #111827; }
.app__head p { color: #6B7280; font-size: 15px; margin-top: 4px; }
.app__me { display: flex; align-items: center; gap: 6px; }
.flag { position: relative; width: 30px; height: 20px; border-radius: 3px; overflow: hidden; }
.flag--br { background: #16A34A; outline: 2px solid #FACC15; outline-offset: 1px; }
.flag--br::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; background: #FACC15; transform: rotate(45deg); }
.flag--es { background: linear-gradient(#DC2626 0 25%, #FACC15 25% 75%, #DC2626 75%); }
.flag--us { background: repeating-linear-gradient(#DC2626 0 2px, #fff 2px 4px); }
.flag--us::before { content: ""; position: absolute; left: 0; top: 0; width: 45%; height: 55%; background: #1D4ED8; }
.app__avatar { width: 40px; height: 40px; border-radius: 50%; margin-left: 8px; background: linear-gradient(140deg, #9CA3AF, #374151); }
.app__sec { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 12px; font-size: 13.5px; font-weight: 600; letter-spacing: .05em; color: #4B5563; text-transform: uppercase; }
.app__sec span { text-transform: none; letter-spacing: 0; font-weight: 500; color: #F59E0B; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.g3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 14px; }
.mc { position: relative; overflow: hidden; padding: 24px 24px 22px; border-radius: 12px; background: #fff; min-height: 150px; }
.mc small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .05em; color: #6B7280; text-transform: uppercase; }
.mc b { display: block; font-size: 22px; font-weight: 700; margin-top: 14px; color: var(--v, #16A34A); font-variant-numeric: tabular-nums; }
.mc p { font-size: 12.5px; color: #6B7280; margin-top: 10px; }
.mc .ic { position: absolute; right: 26px; top: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ib); color: var(--v); }
.mc .ic svg { width: 22px; height: 22px; }
.mc .ghost { position: absolute; right: -18px; bottom: -22px; width: 110px; height: 110px; color: var(--v); opacity: .1; }
.mc--red small { color: #DC2626; }
.sc { display: flex; align-items: center; gap: 16px; padding: 18px 26px; border-radius: 12px; background: #fff; margin-top: 14px; }
.sc .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ib); color: var(--v); }
.sc .ic svg { width: 20px; height: 20px; }
.sc small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--l, #4B5563); }
.sc b { font-size: 22px; font-weight: 700; color: var(--v); font-variant-numeric: tabular-nums; }
.g4 .sc { margin-top: 0; }
.sc--tall { flex-direction: row; min-height: 196px; margin-top: 0; }
.bday { padding: 22px 26px; border-radius: 12px; background: #fff; min-height: 196px; }
.bday > small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .05em; color: #4B5563; text-transform: uppercase; }
.bday ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.bday li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: #F9FAFB; }
.bday li em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #DB2777; font-weight: 600; }
.ava { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 600; background: var(--a, #2563EB); }
.app__tabs { display: flex; gap: 6px; margin-top: 20px; }
.app__tabs span { padding: 10px 15px; border-radius: 10px; background: #fff; color: #4B5563; font-size: 14.5px; }
.app__tabs span.on { background: #6B7280; color: #fff; }
/* kanban do sistema */
.kbar { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.kbar .search { flex: 1; padding: 11px 16px; border-radius: 10px; background: #fff; color: #9CA3AF; }
.kbar .seg { display: flex; padding: 4px; border-radius: 10px; background: #fff; }
.kbar .seg span { padding: 7px 12px; border-radius: 8px; color: #4B5563; }
.kbar .seg span.on { background: #6B7280; color: #fff; }
.kbar .add { padding: 11px 16px; border-radius: 10px; background: #2563EB; color: #fff; font-weight: 500; white-space: nowrap; }
.kcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; align-items: start; }
.kcol__h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .05em; color: #374151; padding: 0 6px 12px; }
.kcol__h i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.kcol__h em { margin-left: auto; font-style: normal; min-width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12.5px; font-weight: 500; }
.kcol__list { display: flex; flex-direction: column; gap: 12px; }
.lead { padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.lead__top { display: flex; align-items: center; gap: 10px; }
.lead__top b { display: block; font-size: 16px; font-weight: 600; color: #111827; }
.lead__top small { color: #6B7280; font-size: 12.5px; }
.lead__top .w { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #16A34A; }
.lead__top .w svg { width: 22px; height: 22px; }
.lead__top .w::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; }
.ltags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ltags span { padding: 4px 10px; border-radius: 999px; background: #F3F4F6; font-size: 12px; color: #374151; }
.ltags .warm { background: #FEF3C7; color: #B45309; }
.ltags .cold { background: #FEE2E2; color: #DC2626; }
.ltags .hot { background: #16A34A; color: #fff; font-weight: 600; }
.exp { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #F9FAFB; }
.exp b { color: #16A34A; font-weight: 600; font-size: 14px; }
.exp small { display: block; color: #6B7280; font-size: 12px; margin-top: 2px; }
.lead__foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: #6B7280; }
.lead__foot em { font-style: normal; color: #DC2626; margin-left: auto; }
.lead.is-moving { position: relative; z-index: 5; box-shadow: 0 20px 40px -14px rgba(37, 99, 235, .45); outline: 2px solid #2563EB; }
/* cronograma */
.week { display: grid; grid-template-columns: 74px repeat(7, minmax(0, 1fr)); gap: 0 8px; margin-top: 18px; background: #fff; border-radius: 12px; padding: 0 8px 8px; }
.week__d { padding: 12px 0; text-align: center; font-weight: 500; font-size: 13.5px; color: #4B5563; background: #E5E7EB; margin: 0 -4px; transition: background .4s, color .4s; }
.week__d.on { background: #6B7280; color: #fff; }
.week__d:first-child { background: #E5E7EB; }
.week__t { display: grid; place-items: center; font-size: 13px; color: #4B5563; }
.klass { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); min-height: 104px; }
.klass b { font-size: 15px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.klass .bd { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 5px; color: #fff; font-size: 11.5px; font-weight: 700; background: var(--c); }
.klass small { display: block; font-size: 12px; color: #6B7280; margin-top: 4px; }
.klass p { display: flex; justify-content: space-between; font-size: 11.5px; color: #4B5563; margin-top: 8px; }
.empty { min-height: 104px; }
/* financeiro: gráfico */
.liq { margin-top: 12px; padding: 22px 26px; border-radius: 12px; background: #fff; }
.liq__l { display: flex; gap: 22px; font-size: 13.5px; color: #374151; }
.liq__l span { display: inline-flex; align-items: center; gap: 7px; }
.liq__l span::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.liq svg { width: 100%; height: 250px; margin-top: 10px; overflow: visible; }
.liq__x { display: flex; justify-content: space-between; padding: 0 10px; font-size: 12.5px; color: #6B7280; }
/* perfil do aluno */
.prof { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; margin-top: 20px; }
.prof__card { border-radius: 12px; background: #fff; overflow: hidden; }
.prof__cover { position: relative; height: 260px; background: linear-gradient(#E5E7EB 40%, #4B5563); display: grid; place-items: center; }
.prof__cover .big { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 600; background: #2563EB; margin-top: -50px; }
.prof__cover .nm { position: absolute; left: 24px; bottom: 20px; color: #fff; }
.prof__cover .nm b { font-size: 20px; font-weight: 700; display: block; }
.prof__cover .nm small { opacity: .8; }
.prof__cover .nm em { display: inline-block; margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: rgba(34, 197, 94, .3); border: 1px solid #22C55E; font-style: normal; font-size: 13px; }
.prof__info { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.prof__info > small { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: #4B5563; }
.pi { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: #F9FAFB; }
.pi i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #EEF2FF; }
.pi small { display: block; font-size: 11px; font-weight: 500; color: #4B5563; }
.pi b { font-size: 14px; font-weight: 500; }
.pi .w { margin-left: auto; color: #16A34A; width: 22px; height: 22px; }
.prof__right { border-radius: 12px; background: #fff; padding: 0 26px 24px; }
.ptabs { display: flex; gap: 40px; border-bottom: 1px solid #E5E7EB; padding: 0 30px; margin: 0 -26px 22px; }
.ptabs span { padding: 18px 0 14px; color: #4B5563; font-size: 15px; }
.ptabs span.on { color: #111827; font-weight: 500; box-shadow: inset 0 -2px 0 #2563EB; }
.prof__right .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.prof__right .g3 + .g3 { margin-top: 14px; }
.pcard { padding: 20px 22px; border-radius: 12px; background: #F9FAFB; position: relative; min-height: 120px; }
.pcard > small { font-size: 12.5px; font-weight: 500; letter-spacing: .05em; color: #4B5563; }
.pcard > b { display: block; font-size: 26px; font-weight: 600; margin-top: 14px; font-variant-numeric: tabular-nums; }
.pcard > b em { font-style: normal; font-size: 15px; font-weight: 500; }
.pcard .ic { position: absolute; right: 20px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ib); color: var(--v); }
.pcard .ic svg { width: 18px; height: 18px; }
.pbar { height: 8px; border-radius: 6px; background: #E5E7EB; margin-top: 10px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 100%; background: #2563EB; border-radius: 6px; transform-origin: left; transform: scaleX(var(--p, 0)); }
.pwarn { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #FEFCE8; color: #B45309; font-weight: 500; }

/* tour: abas + janela */
.tour__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tour__tabs button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.tour__tabs button svg { width: 17px; height: 17px; }
.tour__tabs button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour__tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.tour__win { padding: 10px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.tour__view { display: none; }
.tour__view.is-on { display: block; }

@media (max-width: 1000px) {
  .nav__in { width: calc(100% - 2 * var(--side)); justify-content: space-between; }
  .hang__item:nth-child(n+5) { display: none; }
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 700px) {
  .hang { display: none; }
  .hero { padding-top: 120px; }
  .hero__badge2 { flex-wrap: wrap; justify-content: center; }
  .tour__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--side)) 20px; padding: 0 var(--side) 4px; scrollbar-width: none; }
  .tour__tabs button { flex: 0 0 auto; }
}

.mc .ic, .sc .ic, .pcard .ic { color: var(--icc, var(--v)); }
.nav.is-compact .nav__in:hover .nav__links { max-width: 760px; opacity: 1; }
.nav.is-compact .nav__in:hover .nav__login { display: inline; }

/* dashboard do topo: conteúdo que rola sozinho + tabelas iguais às do sistema */
.app__scroll { will-change: transform; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app__sec .lnk { color: #2563EB; }
.tbl { border-radius: 12px; background: #fff; overflow: hidden; }
.tbl .tr { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #F3F4F6; font-size: 14px; }
.tbl .tr:first-child { border-top: 0; }
.tbl .tr b { font-weight: 500; }
.tbl:not(.tbl--head) .tr:has(.bc) { grid-template-columns: 34px 1fr auto auto; }
.tbl--head .tr { grid-template-columns: 40px 1.4fr 1fr 1fr auto; padding: 12px 22px; color: #374151; }
.tbl .th { background: #E5E7EB; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: #374151; padding: 16px 22px; }
.tbl .th span:last-child { text-align: right; }
.tbl .n { color: #6B7280; }
.tbl .nm { display: flex; align-items: center; gap: 10px; }
.bc { display: flex !important; align-items: center; gap: 8px; color: #4B5563; }
.pill { justify-self: end; font-style: normal; font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.pill--red { background: #FEF2F2; color: #DC2626; }
.pill--amber { background: #FFFBEB; color: #B45309; }
.pill--blue { background: #EFF6FF; color: #2563EB; }
.wa-pill { display: inline-flex; align-items: center; gap: 6px; font-style: normal; padding: 5px 12px; border-radius: 999px; border: 1px solid #86EFAC; background: #F0FDF4; color: #166534; font-size: 13px; }
.wa-pill svg { width: 15px; height: 15px; color: #16A34A; }
.chips2 { display: flex; gap: 6px; }
.chips2 i { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #E5E7EB; color: #4B5563; letter-spacing: 0; text-transform: none; }
.chips2 i.on { background: #2563EB; color: #fff; }
.top10 { position: relative; overflow: hidden; padding: 22px 24px; border-radius: 12px; background: #fff; min-height: 170px; }
.top10 > p { font-weight: 600; font-size: 15px; }
.top10 ol { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; counter-reset: t; }
.top10 li { display: flex; align-items: center; gap: 12px; font-size: 14px; counter-increment: t; }
.top10 li::before { content: counter(t); width: 14px; color: #6B7280; }
.top10 li em { margin-left: auto; font-style: normal; color: #2563EB; font-weight: 500; }
.top10 .ten { position: absolute; right: -6px; bottom: -26px; font-size: 110px; font-weight: 800; color: #EFF6FF; line-height: 1; }
.btn-s { padding: 8px 14px; border-radius: 10px; background: #2563EB; color: #fff !important; font-size: 13px; }
.top10:has(.btn-s) li::before { content: none; }

/* foto do aluno no perfil (as iniciais aparecem se a foto não carregar) */
.prof__cover .big { position: relative; overflow: hidden; box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 16px 30px -12px rgba(0, 0, 0, .45); }
.prof__cover .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sapp__top img { object-fit: cover; }

/* título do topo: a segunda frase sempre começa numa linha nova */
.hero__line { display: block; }

/* fundo do topo: grade suave + brilho azul que segue o mouse */
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; --gx: 50%; --gy: 30%;
  background:
    radial-gradient(520px circle at var(--gx) var(--gy), rgba(37, 99, 235, .13), transparent 70%),
    linear-gradient(rgba(18, 18, 18, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(18, 18, 18, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 28%, #000 30%, transparent 80%); mask-image: radial-gradient(75% 55% at 50% 28%, #000 30%, transparent 80%); }

/* =========================================================
   v3 — Tatamify
   ========================================================= */
.brand__mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .7); }
.nav .brand { font-size: 19px; }
.nav .brand b, .footer .brand b { color: var(--blue); font-weight: 600; }
.hero__title { max-width: 980px; }
.hero__in { max-width: 1000px; }
.h1 { font-size: clamp(38px, 5vw, 70px); }

/* dores */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.pain:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #FECACA; }
.pain__i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #FEF2F2; color: #DC2626; margin-bottom: 18px; box-shadow: inset 0 0 0 1px #FECACA; }
.pain__i svg { width: 22px; height: 22px; }
.pain h3 { font-size: 20px; letter-spacing: -.03em; font-weight: 600; }
.pain p { color: var(--muted); font-size: 15.5px; }
.pain .pain__cost { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); color: #B91C1C; font-weight: 500; font-size: 14.5px; }

/* vitrines dos módulos (texto + visual animado) */
.show .split { align-items: center; }
.show__card { padding: 12px; }
.vis--tall { height: 470px; }
.show .head { margin-bottom: 0; }
.show .checks { margin-top: 6px; }
.kb { grid-template-columns: repeat(4, minmax(0, 1fr)); left: 16px; right: 16px; gap: 8px; }
.kb__col { min-height: 400px; padding: 8px; }
.kb__h { font-size: 12px; }
.kb__col--won { background: rgba(220, 252, 231, .55); }
.sheet--wide { width: min(470px, 90%); top: 50%; transform: translate(-50%, -50%); }
.chips2--vis { margin: 14px 0 8px; }
.chips2--vis i { font-size: 12.5px; padding: 5px 12px; transition: background .3s, color .3s; }
.absrow { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--line); font-size: 13.5px; }
.absrow:first-child { border-top: 0; }
.absrow div { flex: 1; min-width: 0; }
.absrow b { display: block; font-weight: 500; }
.absrow small { color: var(--muted); font-size: 12px; }
.absrow .wa { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #F0FDF4; color: #16A34A; }
.absrow .wa svg { width: 16px; height: 16px; }
.fbars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 16px 0 10px; }
.fbars i { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: #DBEAFE; transform-origin: bottom; }
.fbars i.on { background: linear-gradient(#60A5FA, var(--blue)); }
.pays .row { padding: 8px 4px; }
.chip--amber { background: #FEF3C7; color: #B45309; }
.pcard2 { position: absolute; left: 50%; top: 50%; width: min(400px, 88%); transform: translate(-50%, -50%); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); overflow: hidden; }
.pcard2__cover { position: relative; height: 180px; background: linear-gradient(#9CA3AF, #374151); }
.pcard2__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pcard2__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65)); }
.pcard2__cover > div { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; }
.pcard2__cover b { display: block; font-size: 20px; font-weight: 700; }
.pcard2__cover small { opacity: .9; font-size: 13px; }
.pcard2__cover em { font-style: normal; padding: 1px 9px; border-radius: 999px; background: rgba(34, 197, 94, .35); border: 1px solid #4ADE80; }
.pcard2__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 10px; background: #F9FAFB; text-align: center; }
.pcard2__stats > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pcard2__stats b { font-size: 15px; font-weight: 600; }
.pcard2__stats small { font-size: 11.5px; color: var(--muted); }
.pcard2__list { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pcard2__list p { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 2px 6px -4px rgba(0, 0, 0, .15); }
.pcard2__list i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--panel); }
.pcard2__list b { display: block; font-size: 14px; font-weight: 600; }
.pcard2__list small { font-size: 12px; color: var(--muted); }
.grads { top: 50%; transform: translate(-50%, -60%); }

/* fluxo de automação */
.flow2 { position: absolute; left: 50%; top: 50%; width: min(420px, 88%); transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 22px; }
.flow2__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 10px; height: calc(100% - 60px); overflow: visible; }
.flow2__line path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.fnode { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: border-color .4s, box-shadow .4s; }
.fnode > i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 16px; color: #fff; background: var(--c); }
.fnode > i svg { width: 18px; height: 18px; }
.fnode small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fnode b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.fnode.is-on { border-color: var(--blue-line); box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), var(--sh); }
.fnode--msg { background: #F0FDF4; border-color: #BBF7D0; }
.fnode--msg small { color: #15803D; }

/* app do aluno (réplica do app real, com a cor da academia) */
.appsec { background: linear-gradient(var(--bg), #F2F4F8 30%, #F2F4F8 70%, var(--bg)); }
.themes { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.themes button { width: 30px; height: 30px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.themes button.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--t); transform: scale(1.1); }
.themes span { font-size: 14px; color: var(--muted); margin-left: 4px; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 10px auto 34px; height: 640px; perspective: 1600px; }
.ph { position: relative; width: 290px; height: 610px; padding: 10px; border-radius: 46px; background: #121212; box-shadow: inset 0 0 0 1.5px #333, inset 0 0 0 4px #000, 0 50px 90px -40px rgba(18, 18, 18, .55); flex: 0 0 auto; }
.ph--main { z-index: 2; }
.ph--side { transform: scale(.88); opacity: .96; }
.ph--l { margin-right: -40px; transform: scale(.88) rotate(-6deg) translateY(30px); }
.ph--r { margin-left: -40px; transform: scale(.88) rotate(6deg) translateY(30px); }
.ph__screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #F3F4F6; display: flex; flex-direction: column; font-size: 12px; color: #1F2937; text-align: left; }
.ph__screen::before { content: ""; position: absolute; z-index: 5; top: 10px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; }
.pa-head { display: flex; align-items: center; gap: 10px; padding: 48px 16px 18px; border-radius: 0 0 22px 22px; background: var(--acc); color: #fff; transition: background .6s; }
.pa-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6366F1; }
.pa-head small { display: block; font-size: 11px; opacity: .9; }
.pa-head b { font-size: 17px; font-weight: 700; }
.pa-bar { height: 34px; background: var(--acc); transition: background .6s; }
.pa-body { flex: 1; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pa-t { font-size: 14px; font-weight: 700; margin-top: 2px; }
.pa-cal { padding: 10px; border-radius: 16px; background: #fff; }
.pa-cal__h { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; }
.pa-cal__h i { width: 20px; height: 20px; border-radius: 50%; background: #F3F4F6; display: grid; place-items: center; font-style: normal; }
.pa-cal__w, .pa-cal__d { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.pa-cal__w { margin: 6px 0 4px; font-size: 8.5px; font-weight: 600; color: #6B7280; }
.pa-cal__d span { height: 24px; display: grid; place-items: center; border-radius: 6px; background: #F3F4F6; font-size: 10.5px; font-weight: 600; color: #374151; transition: background .4s, color .4s; }
.pa-cal__d span:empty { background: none; }
.pa-cal__d .ok { background: var(--acc); color: #fff; }
.pa-cal__d .today { box-shadow: inset 0 0 0 1.5px var(--acc); }
.pa-class { position: relative; display: flex; gap: 8px; padding: 8px 8px 8px 11px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .2); }
.pa-class::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #475569; }
.pa-time { width: 46px; flex: 0 0 46px; border-radius: 10px; background: #F3F4F6; display: grid; place-content: center; text-align: center; }
.pa-time b { font-size: 12.5px; }
.pa-time small { font-size: 9px; color: #6B7280; }
.pa-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pa-info b { font-size: 12.5px; display: flex; align-items: center; gap: 3px; }
.pa-info .d { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 8px; color: #fff; background: var(--d); }
.pa-info small { font-size: 9.5px; color: #4B5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-info em { font-style: normal; padding: 0 6px; border-radius: 999px; background: var(--acc); color: #fff; margin-right: 3px; }
.pa-ck { align-self: flex-end; padding: 6px 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 82%, #000); color: #fff; font-size: 9.5px; font-weight: 600; white-space: nowrap; transition: background .4s; }
.pa-ck.is-done { background: #16A34A; }
.pa-body--list .pa-class { padding-top: 10px; padding-bottom: 10px; }
.pa-cover { position: relative; height: 230px; border-radius: 0 0 22px 22px; overflow: hidden; background: linear-gradient(#9CA3AF, #374151); }
.pa-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pa-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .6)); }
.pa-cover > div { position: absolute; z-index: 1; left: 14px; bottom: 14px; color: #fff; }
.pa-cover b { display: block; font-size: 17px; font-weight: 700; }
.pa-cover small { font-size: 11px; opacity: .9; }
.pa-cam { position: absolute; z-index: 2; right: 12px; top: 40px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; }
.pa-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 4px; text-align: center; background: #F9FAFB; }
.pa-stats > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pa-stats b { font-size: 12px; }
.pa-stats small { font-size: 10px; color: #6B7280; }
.pa-ic { font-size: 13px; line-height: 12px; }
.pa-list { padding: 8px 10px; display: flex; flex-direction: column; gap: 7px; }
.pa-list p { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 13px; background: #fff; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .2); color: #6B7280; }
.pa-list i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #F3F4F6; font-size: 12px; }
.pa-list span { flex: 1; min-width: 0; }
.pa-list b { display: block; font-size: 11.5px; color: #111827; }
.pa-list small { font-size: 9.5px; }
.pa-nav { margin-top: auto; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 4px 16px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 14px -8px rgba(0, 0, 0, .2); text-align: center; font-size: 8.5px; font-weight: 600; color: #6B7280; line-height: 1.5; }
.pa-nav .on { color: var(--acc); }
.pa-nav .home { justify-self: center; width: 42px; height: 42px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #6B7280; background: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 14px -6px rgba(0, 0, 0, .35); }
.pa-nav .home.on { background: var(--acc); color: #fff; }
.pills--center { justify-content: center; }

/* indicadores */
.kgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kc { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 190px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.kc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.kc small { font-size: 13.5px; color: var(--muted); }
.kc > b { font-size: 34px; font-weight: 600; letter-spacing: -.05em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kc em { font-style: normal; font-size: 12.5px; font-weight: 500; color: #15803D; }
.kc em.red { color: #DC2626; }
.kc svg { margin-top: auto; width: 100%; height: 44px; overflow: visible; }
.kc svg path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kbars { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.kbars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: #BFDBFE; transform-origin: bottom; }
.kbars i:last-child { background: var(--blue); }
.kbars--red i { background: #FECACA; }
.kbars--red i:last-child { background: #DC2626; }
.kring { position: absolute; right: 18px; bottom: 18px; width: 64px; height: 64px; }
.kring svg { width: 100%; height: 100%; transform: rotate(-90deg); margin: 0; }
.kring circle { fill: none; stroke: #E5E7EB; stroke-width: 4; }
.kring circle[data-kring] { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: calc(94.25 * (1 - var(--p))); }
.kfun { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.kfun i { width: var(--w); padding: 2px 8px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-style: normal; font-size: 11.5px; font-weight: 600; transform-origin: left; }
.kc--cta { background: var(--ink); border-color: var(--ink); justify-content: flex-end; }
.kc--cta small { color: rgba(255, 255, 255, .6); }
.kc--cta b { color: #fff; font-size: 22px; letter-spacing: -.03em; }
.kc--cta em { color: #93C5FD; }

/* ícones do app (estilo Material, como no app real) */
.ph svg { flex: 0 0 auto; }
.pa-nav { align-items: end; }
.pa-nav > span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pa-nav > span svg { width: 19px; height: 19px; color: #6B7280; }
.pa-nav > span.on svg { color: var(--acc); }
.pa-nav .home { gap: 0; }
.pa-nav .home svg { width: 21px; height: 21px; color: #9CA3AF; }
.pa-nav .home.on svg { color: #fff; }
.pa-cam { color: #111; }
.pa-cam svg { width: 16px; height: 16px; }
.pa-ic { width: 17px; height: 17px; color: #4B5563; }
.pa-list i svg { width: 15px; height: 15px; color: color-mix(in srgb, var(--acc) 75%, #000); }
.pa-list i { background: #F3F4F6; }
.pa-chev { width: 13px; height: 13px; color: #374151; }
.pa-cal__h i svg { width: 10px; height: 10px; color: #374151; }
.pa-cal__h i:first-child svg { transform: rotate(180deg); }
.pa-info em { display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px 1px 4px; }
.pa-info em svg { width: 10px; height: 10px; color: #fff; }
.pa-prof { display: flex; align-items: center; gap: 4px; }
.pa-prof svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: #E5E7EB; color: #6B7280; }
.pa-ck { display: inline-flex; align-items: center; gap: 4px; }
.pa-info b { white-space: nowrap; }
.pa-ck svg { width: 11px; height: 11px; color: #fff; }

/* ---------- ajustes do celular ---------- */
@media (max-width: 700px) {
  :root { --side: 16px; }
  .sec { padding: 72px 0; }
  .h1 { font-size: 34px; line-height: 1.08; }
  .h2 { font-size: 29px; line-height: 1.15; }
  .sub { font-size: 15.5px; }
  .head { gap: 14px; margin-bottom: 32px; }
  .hero { padding-top: 104px; }
  .hero__in { gap: 18px; }
  .hero__badge2 { flex-wrap: nowrap; font-size: 12.5px; gap: 6px; }
  .hero__badge2 b, .hero__badge2 span { padding: 5px 9px; white-space: nowrap; }
  .micro { display: block; text-align: center; font-size: 13.5px; }
  .micro svg { display: inline-block; vertical-align: -4px; margin-right: 4px; }
  .btn--lg { min-height: 52px; font-size: 16px; }
  /* produtos do topo: 4 ícones numa linha, compactos */
  .prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 40px; }
  .prod { gap: 6px; }
  .prod__i { width: 50px; height: 50px; border-radius: 16px; }
  .prod__i svg { width: 22px; height: 22px; }
  .prod b { font-size: 12.5px; }
  .prod > span:not(.prod__i) { display: none; }
  /* telas do sistema: legíveis e com arrasto lateral */
  .stage { margin-top: 36px; }
  .frame { padding: 6px; border-radius: 20px; }
  .frame::after { display: none; }
  .shot-fit[data-fit]:not(.kb-fit) { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .shot-fit::-webkit-scrollbar { display: none; }
  .shot-fit:not(.kb-fit) .shot { width: 1000px; }
  .shot-fit:not(.kb-fit) .app { grid-template-columns: minmax(0, 1fr); height: 860px; }
  .shot-fit:not(.kb-fit) .app__side { display: none; }
  .swipe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
  /* dores compactas */
  .pain { padding: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 6px; }
  .pain__i { width: 44px; height: 44px; margin: 0 0 6px; }
  .pain h3 { font-size: 18px; align-self: center; }
  .pain p, .pain .pain__cost { grid-column: 1 / -1; }
  .pain .pain__cost { padding-top: 10px; }
  .say { padding: 72px var(--side); }
  .say__t { font-size: 27px; }
  /* bloco "uma única plataforma": módulos viram etiquetas embaixo */
  .hub { display: flex; flex-direction: column-reverse; height: auto; padding: 10px 0 26px; }
  .hub__in { padding: 26px 18px 18px; background: none; }
  .mods { display: flex !important; position: static; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 14px; }
  .mod, .mod--far, .mod--hide-md { display: flex !important; position: static; transform: none !important; opacity: 1; filter: none; font-size: 13px; padding: 6px 12px 6px 6px; }
  .mod i { width: 28px; height: 28px; font-size: 14px; }
  /* vitrines: visual cresce conforme o conteúdo */
  .show .split { gap: 28px; }
  .show .vis--tall { height: auto; min-height: 0; padding: 18px 12px; }
  .show .vis--tall > .sheet, .show .vis--tall > .pcard2, .show .vis--tall > .flow2 { position: relative; left: auto; top: auto; transform: none; width: 100%; }
  .show .vis--tall > .grads { position: relative; left: auto; top: auto; transform: none; width: 100%; margin-bottom: 64px; }
  .vis--kb { padding: 6px; }
  .kbx { min-height: 560px; }
  .check { font-size: 15.5px; }
  .fbars { height: 90px; }
  .flow2 { gap: 14px; }
  .fnode b { font-size: 13.5px; }
  /* app do aluno */
  .themes span { width: 100%; text-align: center; margin: 4px 0 0; }
  .phones { height: auto; margin: 0 auto 26px; }
  .ph--main { width: 300px; }
  .pills span { font-size: 13px; }
  /* indicadores em 2 colunas */
  #relatorios .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kc { min-height: 150px; padding: 16px; }
  .kc > b { font-size: 26px; }
  .kc small { font-size: 12.5px; }
  .kring { width: 46px; height: 46px; right: 12px; bottom: 12px; }
  .kc--cta b { font-size: 17px; }
  /* demonstração */
  .tour__win { padding: 6px; border-radius: 20px; }
  /* calculadora, planos, perguntas e final */
  .calc { padding: 6px; }
  .calc__form, .calc__out { padding: 20px 16px; }
  .plan { padding: 22px; }
  .final { padding: 56px 18px; border-radius: 22px; }
  .final .tiles { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; padding-top: 44px; gap: 26px 18px; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

/* captação: Kanban no estilo real da tela de Oportunidades */
.vis--kb { height: auto; min-height: 0; padding: 10px; background: #F3F4F6; display: flex; align-items: flex-start; }
.vis--kb::before { display: none; }
.kbx { padding: 10px 6px; }
.kbx .kcols { gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kbx .lead { padding: 12px; }
.kbx .ltags span { font-size: 11.5px; padding: 3px 8px; }
.kbx .kcols { margin-top: 0; }
.kbx .lead { transition: box-shadow .3s, outline-color .3s; }
.exp--won { background: #F0FDF4; }
.tour__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; text-align: center; }
.trust, .marquee { margin-top: 34px; }

@media (max-width: 1000px) {
  .pains, .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show--rev .split > .show__card { order: 2; }
  .phones { transform: scale(.82); transform-origin: top center; height: 560px; }
}
@media (max-width: 700px) {
  .pains, .kgrid { grid-template-columns: minmax(0, 1fr); }
  .vis--tall { height: 440px; }
  .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb__col:nth-child(n+3) { display: none; }
  .ph--side { display: none; }
  .phones { transform: none; height: 630px; }
  .themes { flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   Topo dividido: texto à esquerda, professor à direita.
   Três cards do painel flutuam em volta da foto e, ao rolar,
   voam até o Dashboard e se encaixam no lugar (js: "cards que encaixam")
   ========================================================= */
.hero { padding-top: clamp(120px, 16vh, 160px); }
/* corta só nas laterais: a sombra azul do painel desce suave sobre a seção seguinte, sem linha reta */
@supports (overflow: clip) { .hero { overflow: visible; overflow-x: clip; } }
.hero__split { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--side); display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__split .hero__in { max-width: none; margin: 0; padding: 0; align-items: flex-start; text-align: left; }
.hero__split .hero__title { font-size: clamp(38px, 4vw, 58px); line-height: 1.04; }
.hero__split .hero__sub { max-width: 540px; }
/* texto do topo em 2 parágrafos: problemas (marcados um a um) e a solução */
.hero__sub { display: flex; flex-direction: column; gap: 12px; }
.hl { padding: 1px 4px; margin: 0 -2px; border-radius: 6px; color: var(--ink-2); background-color: transparent; background-image: linear-gradient(#E6E6E6, #E6E6E6); background-repeat: no-repeat; background-size: 100% 100%; }
.hero__split .hero__actions { justify-content: flex-start; }
/* professor recortado direto na página (sem caixa), com halo azul atrás e a base sumindo no fundo */
.hero__photo { position: relative; z-index: 0; justify-self: center; width: 100%; max-width: 480px; }
.hero__halo { position: absolute; z-index: -1; left: 50%; top: 44%; width: 115%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(37, 99, 235, .26) 0%, rgba(37, 99, 235, .10) 42%, transparent 68%); pointer-events: none; }
.hero__pic img { width: 100%; height: auto; display: block; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }
/* lugares onde os cards flutuam: posição + largura visível do card */
.hanchor { position: absolute; height: 0; pointer-events: none; }
.hanchor--a { left: -22%; top: 33%; width: 54%; }
.hanchor--b { right: -14%; top: 6%; width: 50%; }
.hanchor--c { right: -18%; bottom: 7%; width: 76%; }

/* cópias dos cards (ficam no topo e encaixam no painel) */
.hfloat { position: absolute; left: 0; top: 0; z-index: 3; transform-origin: 0 0; pointer-events: none; will-change: transform; --amp: 10px; }
.hfloat__bob { animation: hbob var(--dur, 3.2s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes hbob { from { transform: translateY(0); } to { transform: translateY(calc(var(--amp) * -1)); } }
.hfloat .mc, .hfloat .sc, .hfloat .bday { margin: 0; color: #1F2937; font-size: 14px; line-height: 1.45; text-align: left; box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 30px 60px -24px rgba(15, 23, 42, .35); }
/* o card de verdade some enquanto a cópia está fora do painel */
.is-away { visibility: hidden !important; }

@media (max-width: 1000px) {
  .hero__split { grid-template-columns: minmax(0, 1fr); }
  .hero__split .hero__in { align-items: center; text-align: center; }
  .hero__split .hero__actions { justify-content: center; }
  .hero__photo { max-width: 340px; margin-top: 24px; }
  .hanchor--a { left: -16%; top: 36%; width: 58%; }
  .hanchor--b { right: -12%; top: 5%; width: 54%; }
  .hanchor--c { right: -10%; bottom: 6%; width: 82%; }
}
@media (max-width: 700px) {
  .hero__photo { max-width: 280px; }
}

/* =========================================================
   Captação: painel inteiro (menu + Kanban) ocupando a metade direita
   e encostado na lateral da tela, cortado pela borda
   ========================================================= */
.split--bleed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
/* o painel vai até a borda: corta o que passar (a barra de rolagem entra no 100vw) */
#captacao, section:has(.bleed) { overflow-x: clip; }
/* estica até a borda direita da janela, saindo do .wrap */
.bleed { position: relative; min-width: 0; margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + var(--side))); }
.bleed__frame { position: relative; overflow: hidden; padding: 12px 0 12px 12px; border-radius: 28px 0 0 28px; background: linear-gradient(180deg, rgba(37, 99, 235, .14), rgba(37, 99, 235, .03)); border: 1px solid var(--blue-line); border-right: 0; box-shadow: 0 0 0 6px rgba(37, 99, 235, .04), 0 40px 100px -40px rgba(37, 99, 235, .5); }
/* a tela tem 1440px e é reduzida para esta largura; o que passa da borda fica cortado */
.bleed__fit { width: clamp(860px, 66vw, 1080px); border-radius: 16px 0 0 16px; }
.app--kb { height: 760px; border-radius: 16px 0 0 16px; }
.app--kb .kcols { margin-top: 20px; }
@media (max-width: 1000px) {
  .split--bleed { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  /* no celular some o menu lateral para caberem as colunas do arraste */
  .bleed__fit { width: 760px; }
  .bleed__fit .shot { width: 1000px; }
  .bleed__fit .app--kb { grid-template-columns: minmax(0, 1fr); height: 700px; }
  .bleed__fit .app__side { display: none; }
  .bleed__frame { padding: 8px 0 8px 8px; border-radius: 20px 0 0 20px; }
}

/* ===================== CRONOGRAMA (tela inteira, igual à de Oportunidades) ===================== */
.app--crono { height: 820px; }
.week--crono { gap: 0 8px; }
.week--crono .klass { min-height: 80px; padding: 8px 10px; }
.week--crono .klass b { font-size: 14.5px; flex-wrap: wrap; row-gap: 3px; }
.week--crono .klass p { margin-top: 6px; }
.week--crono .empty { min-height: 80px; }
.week--crono .klass.is-new { box-shadow: 0 0 0 2px var(--blue), 0 8px 20px -8px rgba(37, 99, 235, .55); }
.kbar .add.is-press { transform: scale(.94); }
.kbar .add { transition: transform .2s; }

/* ===================== CHAT WhatsApp + Instagram (tela inteira, igual ao sistema) ===================== */
.chatwin { margin-top: clamp(36px, 5vw, 56px); padding: 12px; border-radius: 28px; background: linear-gradient(180deg, rgba(37, 99, 235, .14), rgba(37, 99, 235, .03)); border: 1px solid var(--blue-line); box-shadow: 0 0 0 6px rgba(37, 99, 235, .04), 0 40px 100px -40px rgba(37, 99, 235, .5); }
.checks--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 18px; }
.app--chat { height: 760px; background: #fff; }
.app__count { margin-left: auto; margin-right: 10px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #B91C1C; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.chatapp { display: grid; grid-template-columns: 230px 340px minmax(0, 1fr); min-width: 0; min-height: 0; }
.chatapp__nav { display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; border-right: 1px solid #E5E7EB; background: #FAFAFA; }
.chatapp__title { font-size: 17px; font-weight: 600; color: #111827; padding: 0 8px 12px; }
.chatapp__cap { font-size: 11.5px; color: #9CA3AF; letter-spacing: .06em; padding: 16px 8px 6px; }
.chatapp__f { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; font-size: 14px; color: #374151; }
.chatapp__f svg { width: 17px; height: 17px; color: #6B7280; }
.chatapp__f svg.is-wa { color: #22C55E; }
.chatapp__f svg.is-ig { color: #EC4899; }
.chatapp__f.is-on { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.chatapp__live { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6B7280; padding: 0 8px; }
.chatapp__live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.chatapp__list { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-right: 1px solid #E5E7EB; background: #fff; }
.chatapp__search { display: block; padding: 11px 14px; margin-bottom: 8px; border-radius: 12px; background: #F3F4F6; font-size: 14px; color: #9CA3AF; }
.chatm__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; transition: background .3s; }
.chatm__item.is-on { background: #EEF2F7; }
.chatm__item div { min-width: 0; flex: 1; }
.chatm__item b { display: block; font-size: 15px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatm__item small { display: block; font-size: 13.5px; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatm__item time { position: absolute; right: 10px; top: 12px; font-size: 11.5px; color: #9CA3AF; }
.chatm__badge { position: absolute; right: 10px; bottom: 12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #22C55E; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.chatm__badge[hidden] { display: none; }
.chatm__ava { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff; background: var(--a, #64748B); }
.chatm__ch { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; color: #fff; }
.chatm__ch svg { width: 11px; height: 11px; }
.chatm__ch--wa { background: #22C55E; }
.chatm__ch--ig { background: linear-gradient(45deg, #F59E0B, #EC4899 55%, #8B5CF6); }
.chatm__conv { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background-color: #EFEAE2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110' fill='none' stroke='%23DAD2C4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 16h18v13H20l-6 5z'/%3E%3Ccircle cx='76' cy='22' r='7'/%3E%3Cpath d='M46 54c4-5 11-5 15 0M48 61h12'/%3E%3Cpath d='M86 68l7 7m0-7l-7 7'/%3E%3Cpath d='M16 80h15M16 87h10'/%3E%3Cpath d='M70 95a6 6 0 1 0 10 0'/%3E%3C/svg%3E"); }
.chatm__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border-bottom: 1px solid #E5E7EB; }
.chatm__head div { min-width: 0; flex: 1; }
.chatm__head b { display: block; font-size: 15.5px; font-weight: 600; color: #111827; }
.chatm__head small { display: block; font-size: 13px; color: #6B7280; }
.chatm__funnel { flex: 0 0 auto; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; border: 1px solid #E5E7EB; background: #fff; color: #374151; transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.chatm__funnel.is-trial { background: #F5F3FF; border-color: #DDD6FE; color: #6D28D9; }
.chatm__funnel.is-pop { transform: scale(1.08); }
.chatm__resolve { flex: 0 0 auto; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; border: 1px solid #E5E7EB; background: #fff; color: #374151; }
.chatm__date { align-self: center; margin-top: 16px; font-size: 12px; padding: 5px 12px; border-radius: 8px; background: #fff; color: #4B5563; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.chatm__msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 24px 10px; }
.chatm__b { max-width: 62%; padding: 8px 12px 5px; border-radius: 12px; font-size: 15px; line-height: 1.4; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.chatm__b--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.chatm__b--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.chatm__b time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.chatm__b--out time::after { content: " \2713\2713"; color: #53BDEB; letter-spacing: -2px; }
.chatm__typing { align-self: flex-start; display: flex; gap: 5px; padding: 13px 15px; border-radius: 12px; border-top-left-radius: 4px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.chatm__typing i { width: 8px; height: 8px; border-radius: 50%; background: #9CA3AF; animation: chatm-dot 1s infinite; }
.chatm__typing i:nth-child(2) { animation-delay: .15s; }
.chatm__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatm-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chatm__toast { position: absolute; left: 50%; top: 84px; transform: translate(-50%, -8px); white-space: nowrap; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: #7C3AED; color: #fff; box-shadow: 0 12px 28px -10px rgba(124, 58, 237, .7); opacity: 0; transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.chatm__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.chatm__comp { display: flex; align-items: center; gap: 12px; margin: 0 16px 16px; padding: 13px 18px; border-radius: 999px; background: #fff; font-size: 15px; color: #9CA3AF; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.chatm__comp span[data-cm-comp] { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatm__comp.is-typing span[data-cm-comp] { color: #111; }
.chatm__emoji { font-size: 18px; color: #6B7280; }
.chatm__comp svg { width: 20px; height: 20px; flex: 0 0 20px; color: #9CA3AF; }

/* ===================== RETENÇÃO: celular solto na página + caixas em volta ===================== */
.rstage { position: relative; display: grid; place-items: center; min-height: 700px; --phone-w: 300px; }
.tphone { position: relative; z-index: 2; width: var(--phone-w); aspect-ratio: 9 / 19.3; padding: 11px; border-radius: calc(var(--phone-w) * .165); background: #111613; box-shadow: inset 0 0 0 1.5px #2A322D, inset 0 0 0 4px #050806, 0 30px 60px -24px rgba(18, 18, 18, .35), 0 60px 120px -50px rgba(37, 99, 235, .45); }
.tphone__island { position: absolute; z-index: 5; top: 21px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; }
.tphone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; border-radius: calc(var(--phone-w) * .135); color: #fff; background: linear-gradient(170deg, #1E3A8A 0%, #2563EB 38%, #7C9CF0 66%, #E9C9A6 100%); }
.tphone__screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 40% at 50% 0%, rgba(255, 255, 255, .18), transparent 70%); }
.tphone__clock { position: relative; text-align: center; padding-top: 58px; }
.tphone__clock small { font-size: 13px; font-weight: 500; opacity: .9; }
.tphone__clock time { display: block; font-size: calc(var(--phone-w) * .25); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 2px; }
.tphone__list { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 22px 9px 0; }
.tnotif { display: flex; gap: 9px; align-items: flex-start; padding: 9px 11px; border-radius: 18px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); text-align: left; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); overflow: hidden; }
.tnotif__app { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: #22C55E; color: #fff; display: grid; place-items: center; }
.tnotif__app svg { width: 18px; height: 18px; }
.tnotif__body { flex: 1; min-width: 0; }
.tnotif__body p { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.tnotif__body b { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tnotif__body time { font-size: 10.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tnotif__body span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; line-height: 1.32; color: var(--ink-2); margin-top: 1px; }
.tnotif__body strong { display: block; font-weight: 700; color: var(--ink); }
.tphone__foot { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; }
.tphone__foot span { width: 36%; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .85); }
/* caixas flutuando em volta do celular, encostando de leve na borda dele */
.rfloat { position: absolute; z-index: 3; width: 270px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(18, 18, 18, .3); }
.rfloat--abs { left: calc(50% - var(--phone-w) / 2 - 210px); top: 7%; transform: rotate(-3deg); }
.rfloat--risk { left: calc(50% + var(--phone-w) / 2 - 60px); bottom: 9%; transform: rotate(3deg); }
.rfloat .sheet__h b { font-size: 26px; }
.rfloat .absrow { padding: 8px 2px; font-size: 12.5px; gap: 8px; }
.rfloat .absrow .chip { font-size: 10px; padding: 3px 7px; }
.rfloat .absrow .av { width: 28px; height: 28px; flex-basis: 28px; font-size: 10px; }
.rfloat .absrow small { font-size: 11px; }
.rfloat .chips2--vis { margin: 10px 0 4px; }
.rfloat .chips2--vis i { font-size: 11px; padding: 4px 9px; }
.rrisk { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 12.5px; }
.rrisk:first-of-type { margin-top: 8px; }
.rrisk .av { width: 28px; height: 28px; flex: 0 0 28px; font-size: 10px; }
.rrisk div { flex: 1; min-width: 0; }
.rrisk b { display: block; font-weight: 500; }
.rrisk i { display: block; height: 6px; margin-top: 5px; border-radius: 99px; background: #F3F4F6; position: relative; overflow: hidden; }
.rrisk i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--c); }
.rrisk em { font-style: normal; font-weight: 700; font-size: 12.5px; color: #B91C1C; }
@media (max-width: 1180px) {
  .rfloat { width: 240px; }
  .rfloat--abs { left: calc(50% - var(--phone-w) / 2 - 190px); }
}
@media (max-width: 1000px) {
  .rstage { min-height: 680px; }
}
@media (max-width: 700px) {
  .rstage { --phone-w: 270px; display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 0; }
  .rfloat { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: min(340px, 100%); transform: none; }
}

/* ajustes: caixas da retenção dentro da coluna, cartões do cronograma sem quebrar linha, chat no celular */
.rfloat--abs { width: 290px; left: max(-16px, calc(50% - var(--phone-w) / 2 - 220px)); }
.rfloat--risk { width: 260px; left: auto; right: max(-16px, calc(50% - var(--phone-w) / 2 - 150px)); }
.rfloat .absrow b { white-space: nowrap; }
.week--crono .klass p { font-size: 11px; gap: 6px; }
.week--crono .klass p span { white-space: nowrap; }
.checks--row .check { text-align: left; }
@media (max-width: 1180px) {
  .rfloat--abs { width: 260px; }
  .rfloat--risk { width: 240px; }
}
@media (max-width: 700px) {
  .rfloat--abs, .rfloat--risk { left: auto; right: auto; width: min(340px, 100%); }
  .checks--row { justify-content: flex-start; }
  /* no celular o chat mostra só a conversa, inteira (sem menu, canais e lista) */
  .chatwin { padding: 8px; border-radius: 22px; }
  .chatwin .shot { width: 640px; }
  .app--chat { grid-template-columns: minmax(0, 1fr); height: 760px; }
  .app--chat .app__side, .app--chat .chatapp__nav, .app--chat .chatapp__list { display: none; }
  .app--chat .chatapp { grid-template-columns: minmax(0, 1fr); }
  .app--chat .chatm__b { max-width: 82%; }
  .app--chat .chatm__resolve { display: none; }
}

/* chat: logos do WhatsApp e do Instagram flutuando em volta (mesmo estilo do site do Lead Integrado) */
.chatsec { position: relative; }
.chatsec > .wrap { position: relative; z-index: 1; }
.chatfl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cfl { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); display: grid; place-items: center; border-radius: 28%; transform: rotate(var(--r)); box-shadow: 0 14px 28px -12px rgba(14, 20, 17, .35), inset 0 1px 0 rgba(255, 255, 255, .35); will-change: transform; }
.cfl svg { width: 58%; height: 58%; color: #fff; }
.cfl--wa { background: linear-gradient(160deg, #5BEA8F, #12A24A); }
.cfl--ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 62%, #285AEB 92%); }
.cfl--far { filter: blur(1.2px); opacity: .7; }
@media (max-width: 700px) {
  .cfl { --s: 36px !important; }
  .cfl--far { display: none; }
  .cfl:nth-child(1) { left: 8%; top: 4%; }
  .cfl:nth-child(3) { left: 92%; top: 5%; }
}

/* =========================================================
   Retenção: as caixas não cobrem mais as notificações do celular
   - "Alunos ausentes" fica do lado de fora, só encostando na moldura
     (usa a margem da página quando precisa)
   - "Risco de abandono" desce para a parte vazia de baixo da tela,
     abaixo da última notificação
   ========================================================= */
@media (min-width: 1001px) {
  #retencao .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
@media (min-width: 701px) {
  .rstage { --gut: calc(max(0px, (100vw - var(--max)) / 2) + var(--side)); min-height: 840px; place-items: start center; padding-top: 28px; }
  .rfloat--abs { width: 290px; top: 60px; right: auto;
    /* borda direita da caixa = 22px dentro do celular (só a moldura); nunca sai da tela */
    left: max(calc(20px - var(--gut)), calc(50% - var(--phone-w) / 2 + 22px - 290px)); }
  .rfloat--risk { width: 250px; right: auto; bottom: auto;
    left: calc(50% + var(--phone-w) / 2 - 120px);
    /* topo = 85px antes do fim do celular (abaixo das notificações) */
    top: calc(28px + var(--phone-w) * 2.1444 - 130px); }
}
@media (min-width: 1001px) and (max-width: 1399px) {
  .rstage { --phone-w: 280px; }
  .rfloat--abs { width: 290px; left: max(calc(20px - var(--gut)), calc(50% - var(--phone-w) / 2 + 22px - 290px)); }
}
/* 1001–1399px: não sobra margem à esquerda da página; a caixa encolhe um pouco
   (a partir do canto de cima à esquerda) para não cobrir as notificações */
@media (min-width: 1001px) and (max-width: 1399px) {
  .rfloat--abs { transform: rotate(-3deg) scale(.84); transform-origin: 0 0; }
}

/* =========================================================
   Gestão de alunos: perfil do aluno dentro de um celular solto na página
   (reaproveita o celular .tphone da retenção)
   ========================================================= */
.ustage { position: relative; display: grid; place-items: center; min-height: 700px; --phone-w: 300px; }
.tphone--app .tphone__screen { background: #fff; color: var(--ink); }
.tphone--app .tphone__screen::before { display: none; }
.tphone--app .tphone__foot span { background: rgba(18, 18, 18, .55); }
.ustage .pcard2 { position: static; transform: none; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; }
.ustage .pcard2__cover { height: 44%; flex: 0 0 auto; }
.ustage .pcard2__cover > div { bottom: 16px; }
.ustage .pcard2__stats { padding: 12px 6px; }
.ustage .pcard2__list { padding: 10px; gap: 7px; }
.ustage .pcard2__list p { padding: 8px 10px; gap: 10px; border-radius: 13px; }
.ustage .pcard2__list i { width: 30px; height: 30px; font-size: 14px; }
.ustage .pcard2__list b { font-size: 13px; }
.ustage .pcard2__list small { font-size: 11px; }
/* selos flutuando em volta do celular */
.ufloat { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -22px rgba(18, 18, 18, .35); }
.ufloat b { display: block; font-size: 13.5px; font-weight: 600; }
.ufloat small { font-size: 12px; color: var(--muted); }
.ufloat__i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: grid; place-items: center; background: #DCFCE7; color: #16A34A; font-weight: 800; font-size: 15px; }
.ufloat__i--pay { background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.ufloat--in { left: calc(50% - var(--phone-w) / 2 - 150px); top: 24%; transform: rotate(-4deg); }
.ufloat--pay { left: calc(50% + var(--phone-w) / 2 - 40px); bottom: 18%; transform: rotate(3deg); }
@media (max-width: 1180px) {
  .ufloat--in { left: max(0px, calc(50% - var(--phone-w) / 2 - 150px)); }
  .ufloat--pay { left: auto; right: max(0px, calc(50% - var(--phone-w) / 2 - 150px)); }
}
@media (max-width: 700px) {
  .ustage { --phone-w: 270px; min-height: 620px; }
  .ufloat { padding: 9px 12px 9px 9px; }
  .ufloat--in { left: 0; top: 18%; }
  .ufloat--pay { right: 0; bottom: 12%; }
}
.ufloat b, .ufloat small { white-space: nowrap; }

/* menus laterais um pouco mais compactos (cabe o item "Automação") */
.app__nav { padding-top: 7.5px; padding-bottom: 7.5px; }

/* =========================================================
   Tour: perfil do aluno com a foto ocupando a capa inteira
   ========================================================= */
.prof__cover--photo { background: #374151; overflow: hidden; }
.prof__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.prof__cover--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(0, 0, 0, .72)); }
.prof__cover--photo .nm { z-index: 1; }

/* =========================================================
   Tour: Automação (editor de fluxo do sistema)
   ========================================================= */
.flowbar { display: flex; align-items: center; gap: 14px; padding: 2px 0 18px; }
.flowbar__back { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #6B7280; font-size: 18px; }
.flowbar__name { padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px solid #E5E7EB; font-size: 16px; font-weight: 600; color: #111827; }
.flowbar__tag { font-size: 13px; color: #6B7280; padding: 6px 4px; }
.flowbar__btn { margin-left: auto; padding: 10px 18px; border-radius: 10px; background: #fff; border: 1px solid #E5E7EB; font-size: 14px; font-weight: 500; color: #111827; }
.flowbar__btn--run { margin-left: 0; background: #111827; color: #fff; border-color: #111827; }
.flowwrap { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 18px; height: 690px; }
.flowpal { display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 14px; background: #fff; overflow: hidden; }
.flowpal__search { padding: 9px 12px; border-radius: 10px; background: #F3F4F6; color: #9CA3AF; font-size: 13px; }
.flowpal small { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: #6B7280; }
.flowpal > span:not(.flowpal__search) { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #F9FAFB; border: 1px solid #F0F0F0; font-size: 13px; font-weight: 500; color: #1F2937; }
.flowpal svg { width: 16px; height: 16px; flex: 0 0 16px; color: #4B5563; }
.flowpal i { width: 16px; font-style: normal; font-size: 11px; color: #4B5563; }
.flowcanvas { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 0; border-radius: 14px; background: #fff radial-gradient(#D1D5DB 1px, transparent 1.2px) 0 0 / 18px 18px; }
.flowcanvas .fnode { display: block; position: relative; z-index: 1; width: 290px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 2.5px solid var(--fc); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .25); }
.flowcanvas .fnode small { text-transform: none; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--fc); }
.flowcanvas .fnode small svg { width: 15px; height: 15px; }
.flowcanvas .fnode b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; color: #111827; }
.flowcanvas .fnode em { display: block; margin-top: 4px; font-style: normal; font-size: 13.5px; color: var(--fc); }
.flowcanvas .fnode p { margin-top: 4px; font-size: 13px; color: #6B7280; }
.flowcanvas .fnode--trig { --fc: #7C3AED; }
.flowcanvas .fnode--wa { --fc: #16A34A; width: 340px; }
.flowcanvas .fnode--end { --fc: #DC2626; width: 150px; padding: 11px 16px; }
.flink { position: relative; width: 2px; height: 54px; background: #9CA3AF; }
.flink--long { height: 104px; }
.flink i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid #D1D5DB; font-style: normal; font-size: 13px; color: #6B7280; }
.flink__dot { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #2563EB; box-shadow: 0 0 0 5px rgba(37, 99, 235, .2); opacity: 0; }
.flowsent { position: absolute; right: 22px; bottom: 22px; padding: 10px 14px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; font-size: 13.5px; font-weight: 600; }
.flowzoom { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid #E5E7EB; }
.flowzoom span { width: 30px; height: 30px; display: grid; place-items: center; font-size: 14px; color: #374151; border-top: 1px solid #E5E7EB; }
.flowzoom span:first-child { border-top: 0; }

/* =========================================================
   Planos por número de alunos (todos com todos os recursos)
   ========================================================= */
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan--tier { padding: 26px 24px; }
.plan--tier .plan__name { font-size: 20px; }
.plan--tier .plan__desc { font-size: 14px; min-height: 45px; }
.plan--tier .plan__price b { font-size: 46px; }
.plan--tier .plan__annual { margin-bottom: 18px; }
.plan--pop .plan__badge { top: -13px; right: 50%; transform: translateX(50%); white-space: nowrap; background: var(--blue); color: #fff; border-color: var(--blue); }
.plans__all { margin-top: 24px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.plans__all-h { font-size: 16px; font-weight: 500; margin-bottom: 18px; }
.plans__all-h b { color: var(--blue); font-weight: 600; }
.plans__all ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.plans__all .check { font-size: 15px; }
.plans__brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.plans__brand b { display: block; font-weight: 600; }
.plans__brand span { font-size: 14px; color: var(--muted); }
.plans__brand .btn { flex: 0 0 auto; }
@media (max-width: 1000px) {
  .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .plans__all ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .plans--4 { grid-template-columns: minmax(0, 1fr); }
  .plans__all { padding: 22px; }
  .plans__all ul { grid-template-columns: minmax(0, 1fr); }
  .plans__brand { flex-direction: column; align-items: stretch; }
}

/* =========================================================
   Retenção em fundo escuro: quebra a sequência de seções brancas
   ========================================================= */
#retencao { position: relative; isolation: isolate; color: #fff; padding-top: clamp(100px, 11vw, 150px) !important; padding-bottom: clamp(140px, 14vw, 200px);
  background:
    radial-gradient(55% 60% at 22% 45%, rgba(37, 99, 235, .32), transparent 70%),
    radial-gradient(40% 50% at 85% 20%, rgba(124, 58, 237, .16), transparent 70%),
    #0B1020; }
/* grade suave por cima do escuro */
#retencao::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 85%); }
#retencao .h2 { color: #fff; }
#retencao .sub { color: rgba(255, 255, 255, .66); }
#retencao .head .check { color: rgba(255, 255, 255, .86); }
#retencao .head .check::before { background-color: rgba(37, 99, 235, .22); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .45); }
#retencao .label span { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
/* celular e caixas ganham um contorno de luz para destacar no escuro */
#retencao .tphone { box-shadow: inset 0 0 0 1.5px #2A322D, inset 0 0 0 4px #050806, 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 120px -20px rgba(37, 99, 235, .55); }
#retencao .rfloat { color: var(--ink); border-color: rgba(255, 255, 255, .6); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6); }

/* chat: a janela começa ampliada e diminui com a rolagem; o que passar das laterais é cortado */
.chatsec { overflow-x: clip; }
.chatwin { will-change: transform; }

/* =========================================================
   Frase "Sua academia não precisa..." em fundo escuro
   (as palavras acendem de cinza-azulado para branco na rolagem)
   ========================================================= */
.say { position: relative; isolation: isolate; color: #fff;
  background:
    radial-gradient(50% 70% at 50% 50%, rgba(37, 99, 235, .28), transparent 70%),
    #0B1020; }
.say::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(65% 65% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(65% 65% at 50% 50%, #000 30%, transparent 85%); }
.say__i { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 .3em .8em -.2em rgba(0, 0, 0, .6); }

/* =========================================================
   Turmas e graduações: fotinhas de praticantes flutuando em volta do cartão
   ========================================================= */
#graduacoes { overflow-x: clip; }
.gphotos { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.gph { position: absolute; width: var(--s); height: var(--s); object-fit: cover; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 20px 40px -18px rgba(18, 18, 18, .45); background: #E5E7EB; rotate: var(--r); }
.gph--1 { --s: 104px; --r: -7deg; left: -66px; top: -18px; }
.gph--2 { --s: 88px; --r: 6deg; right: -44px; top: 12%; }
.gph--3 { --s: 92px; --r: 5deg; left: -58px; bottom: 22%; }
.gph--4 { --s: 104px; --r: -5deg; right: -70px; bottom: 18%; }
.gph--5 { --s: 72px; --r: 9deg; left: 4%; bottom: -30px; }
@media (max-width: 1000px) {
  .gph--1 { left: -10px; } .gph--2 { right: -10px; } .gph--3 { left: -14px; }
}
@media (max-width: 700px) {
  .gph { border-width: 3px; }
  .gph--1 { --s: 76px; top: -24px; } .gph--2 { --s: 64px; } .gph--3 { --s: 66px; } .gph--4 { --s: 76px; right: -10px; } .gph--5 { --s: 56px; bottom: -24px; }
}

/* =========================================================
   Gestão de alunos: tela "Histórico" do app do aluno dentro do celular
   (abre com um toque em "Histórico de graduações")
   ========================================================= */
.hist { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; background: #F7F6F4; transform: translateX(100%); }
.hist.is-open { transform: none; }
.hist__top { position: relative; z-index: 3; display: flex; align-items: center; padding: 46px 14px 12px; background: #F7F6F4; box-shadow: 0 8px 10px -8px rgba(0, 0, 0, .08); }
.hist__back { width: 28px; font-size: 20px; line-height: 1; color: #8B1A1A; }
.hist__top b { flex: 1; margin-right: 28px; text-align: center; font-size: 15px; font-weight: 700; color: #8B1A1A; }
.hist__list { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 4px 12px 0; }
.hist__list::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: -200px; width: 2px; background: #D9CBAE; }
.hitem { position: relative; display: flex; align-items: flex-start; gap: 8px; }
.hitem__dot { position: relative; z-index: 1; width: 24px; height: 24px; flex: 0 0 24px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #6B7280; color: #4B5563; }
.hitem__dot svg { width: 12px; height: 12px; }
.hitem--old .hitem__dot { border-color: #D1D5DB; color: #9CA3AF; }
.hitem__card { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 14px; background: #fff; border-left: 3px solid #9CA3AF; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.hitem__card p { display: flex; justify-content: space-between; align-items: center; }
.hitem__card time { font-size: 11px; color: #6B7280; }
.hitem__card b { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #111827; }
.hbadge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #E5E7EB; color: #4B5563; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; }
.hbadge svg { width: 11px; height: 11px; }
/* troca de faixa: cartão na cor da faixa nova, selo vermelho */
.hitem--belt .hitem__card { background: var(--bc); border-left-color: var(--bc); }
.hitem--belt .hitem__card b { color: #fff; }
.hitem--belt .hitem__card time { color: rgba(255, 255, 255, .8); }
.hbadge--belt { background: #B91C1C; color: #fff; }
.hist__nav { position: relative; z-index: 2; display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 6px 24px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 14px rgba(0, 0, 0, .06); }
.hist__nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 6px; border-radius: 10px; font-size: 9.5px; font-weight: 600; color: #4B5563; }
.hist__nav svg { width: 17px; height: 17px; color: #6B7280; }
.hist__nav .on { background: #F3F0EC; color: #8B1A1A; }
.hist__nav .on svg { color: #8B1A1A; }
.hist__home i { width: 40px; height: 40px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
/* toque simulado */
.utap { position: absolute; z-index: 6; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(37, 99, 235, .22); border: 2px solid rgba(37, 99, 235, .55); opacity: 0; pointer-events: none; }
[data-hist-open] { transition: background .2s, border-color .2s; }
.ucur { position: absolute; z-index: 8; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; pointer-events: none; transform-origin: 4px 3px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
[data-hist-open].is-press { background: #EFF6FF; border-color: #BFDBFE; }
.tphone--app .tphone__foot { z-index: 7; }
/* histórico: fontes menores, cartões mais baixos */
.hist__top { padding: 44px 12px 10px; }
.hist__top b { font-size: 12.5px; }
.hist__back { font-size: 17px; width: 24px; }
.hist__top b { margin-right: 24px; }
.hist__list { gap: 7px; padding: 4px 10px 0; }
.hist__list::before { left: 19px; }
.hitem { gap: 6px; }
.hitem__dot { width: 20px; height: 20px; flex-basis: 20px; }
.hitem__dot svg { width: 10px; height: 10px; }
.hitem__card { padding: 8px 10px; border-radius: 12px; }
.hitem__card time { font-size: 9.5px; }
.hitem__card b { margin-top: 4px; font-size: 11.5px; }
.hbadge { padding: 2px 7px; font-size: 8.5px; }
.hbadge svg { width: 9px; height: 9px; }
.hist__nav { padding: 6px 4px 22px; }
.hist__nav span { font-size: 8px; padding: 4px 5px; }
.hist__nav svg { width: 15px; height: 15px; }
.hist__home i { width: 34px; height: 34px; margin-top: -20px; }

/* =========================================================
   Seções escuras (Retenção e frase): o fundo escurece conforme a seção entra
   e clareia ao sair. --dk vai de 0 (claro) a 1 (escuro), controlado pelo JS;
   sem JS fica 1. Os textos acompanham para continuar legíveis.
   ========================================================= */
#retencao, .say { --dk: 1; --dkt: 1; background: transparent !important;
  --on: color-mix(in srgb, #fff calc(var(--dkt) * 100%), var(--ink)); color: var(--on); }
#retencao::after, .say::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: var(--dk); }
#retencao::after { background: radial-gradient(55% 60% at 22% 45%, rgba(37, 99, 235, .32), transparent 70%), radial-gradient(40% 50% at 85% 20%, rgba(124, 58, 237, .16), transparent 70%), #0B1020; }
.say::after { background: radial-gradient(50% 70% at 50% 50%, rgba(37, 99, 235, .28), transparent 70%), #0B1020; }
#retencao::before, .say::before { opacity: var(--dk); }
#retencao .h2 { color: var(--on); }
#retencao .sub { color: color-mix(in srgb, rgba(255, 255, 255, .66) calc(var(--dkt) * 100%), var(--muted)); }
#retencao .head .check { color: color-mix(in srgb, rgba(255, 255, 255, .86) calc(var(--dkt) * 100%), var(--ink-2)); }
#retencao .head .check::before { background-color: color-mix(in srgb, rgba(37, 99, 235, .22) calc(var(--dkt) * 100%), var(--blue-soft)); }
#retencao .label span { color: var(--on); background: color-mix(in srgb, rgba(255, 255, 255, .08) calc(var(--dkt) * 100%), #fff); border-color: color-mix(in srgb, rgba(255, 255, 255, .16) calc(var(--dkt) * 100%), var(--line)); }
/* frase: cada palavra "acende" (--lit 0→1) entre o tom apagado e o tom cheio do fundo atual */
.say__t .w { color: color-mix(in srgb,
  color-mix(in srgb, #fff calc(var(--dkt) * 100%), #121212) calc(var(--lit, 0) * 100%),
  color-mix(in srgb, #3A4256 calc(var(--dkt) * 100%), #D4D4D4)); }
/* espaço generoso entre a seção escura e a próxima */
#retencao + .sec, .say + .sec { padding-top: clamp(120px, 14vw, 200px) !important; }
/* bordas de cima e de baixo do fundo escuro somem num degradê (sem faixa reta) */
#retencao::after, .say::after { -webkit-mask-image: linear-gradient(transparent, #000 160px, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(transparent, #000 160px, #000 calc(100% - 160px), transparent); }

/* =========================================================
   Tela inteira escurece com a rolagem nas seções escuras (Retenção e frase).
   .pagedark fica fixa atrás de todo o conteúdo; o JS controla --pdk (0 a 1).
   Sem JS continuam valendo as faixas escuras das próprias seções.
   ========================================================= */
body { background: transparent; }
.pagedark { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--pdk, 0);
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(37, 99, 235, .24), transparent 70%),
    radial-gradient(40% 40% at 85% 15%, rgba(124, 58, 237, .12), transparent 70%),
    #0B1020; }
.pd-on #retencao::after, .pd-on .say::after { display: none; }
/* mais respiro dentro das seções escuras, para os vizinhos ficarem longe quando a tela está escura */
.pd-on #retencao { padding-top: clamp(150px, 15vw, 220px) !important; padding-bottom: clamp(170px, 16vw, 240px); }
.pd-on .say { padding-top: clamp(150px, 16vw, 230px); padding-bottom: clamp(150px, 16vw, 230px); }
/* com a tela inteira escura não há faixa, degradê nem grade nas seções: o escuro é uniforme */
.pd-on #retencao::before, .pd-on .say::before { display: none; }

/* avatares com foto (o JS põe a foto como fundo; as iniciais ficam invisíveis) */
.has-photo { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; color: transparent !important; text-shadow: none !important; }

/* =========================================================
   Troca: em vez do escuro, a tela vai ficando cinza bem clarinho com o
   quadriculado do topo (mesma grade de 64px). Textos sempre escuros.
   ========================================================= */
#retencao, .say { --dk: 0 !important; --dkt: 0 !important; }
#retencao::after, .say::after, #retencao::before, .say::before { display: none !important; }
.pagedark { background:
    linear-gradient(rgba(18, 18, 18, .05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(18, 18, 18, .05) 1px, transparent 1px) 0 0 / 64px 64px,
    #F1F2F4; }
/* volta o visual claro do celular e das caixas da retenção */
#retencao .tphone { box-shadow: inset 0 0 0 1.5px #2A322D, inset 0 0 0 4px #050806, 0 30px 60px -24px rgba(18, 18, 18, .35), 0 60px 120px -50px rgba(37, 99, 235, .45); }
#retencao .rfloat { border-color: var(--line); box-shadow: 0 30px 60px -24px rgba(18, 18, 18, .3); }
.say__i { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 .25em .5em -.25em rgba(18, 18, 18, .5); }
/* chat: caixa de entrada cheia de contatos; o que não cabe é cortado como numa tela real */
.chatapp__list { overflow: hidden; }
