/* ============ TrakWin — Cinematic LP ============ */
:root{
  --blue:#1D4ED8;
  --blue-soft:#3b6ae8;
  --amber:#F59E0B;
  --amber-soft:#fbbf4d;
  --ink:#0f1729;
  --ink-2:#1e293b;
  --paper:#ffffff;
  --mist:#f6f8fc;
  --line:#e6e9f0;
  --muted:#6b7280;
  --muted-2:#94a1b8;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --sans:"Inter","Inter Tight",system-ui,-apple-system,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
  --ease-soft:cubic-bezier(.22,.61,.36,1);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:auto}
body{
  font-family:var(--sans);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ---------- scroll scene engine ---------- */
.stage{
  height:100dvh;
  overflow-y:scroll;
  scroll-snap-type:none;
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.stage::-webkit-scrollbar{display:none}
.scene{
  position:relative;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:96px 6vw 80px;
  overflow:hidden;
}

/* hero morph: tall scroll region with a pinned stage that scrubs the transition */
.scene--hero-morph{min-height:0;height:9600vh;display:block;padding:0;overflow:visible}
/* celebration confetti — bursts when the sale is won, fades as the camera pulls out of the CRM */
.confetti{position:absolute;inset:0;width:100%;height:100%;z-index:45;pointer-events:none;opacity:0}
.hero-sticky{position:sticky;top:0;height:100dvh;overflow:hidden;display:flex;align-items:center;justify-content:center;
  padding:84px clamp(20px,3vw,72px) 60px;background:var(--paper)}
/* dark theme layer revealed when zooming into the CRM (phase 4) */
.hero-dark{position:absolute;inset:0;z-index:8;opacity:0;pointer-events:none;background:#131a2e;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:64px 64px}
/* green "sale closed" backdrop — replaces the navy grid when the camera emerges from the venda node */
.hero-green{position:absolute;inset:0;z-index:8;opacity:0;pointer-events:none;background:#06301e;
  background-image:linear-gradient(rgba(120,230,170,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(120,230,170,.08) 1px,transparent 1px);
  background-size:64px 64px}
/* pure-white wash for the final card-explosion (sits below the timeline cards so they fly on top) */
.hero-white{position:absolute;inset:0;z-index:6;opacity:0;pointer-events:none;background:#fff}
.logo-wrap{position:relative;display:inline-flex;height:26px}
.logo-wrap .logo{height:26px;width:auto;display:block}
.logo-light{position:absolute;left:0;top:0;opacity:0}
.nav.on-dark .nav-login{color:#eef2fb}
.nav.on-dark .nav-login:hover{background:rgba(255,255,255,.1)}

/* CRM app — appears on the dark screen once the zoom completes */
.crm-app{position:absolute;inset:0;z-index:9;opacity:0;pointer-events:none}
.crm-side{position:absolute;left:clamp(24px,5vw,84px);top:50%;transform:translateY(-50%);width:236px;
  background:#fff;border:1px solid #e6e9f0;border-radius:18px;padding:14px 12px;
  box-shadow:0 40px 90px -34px rgba(0,0,0,.6);font-family:var(--sans)}
.crm-brand{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #e6e9f0;background:#fff;border-radius:11px;
  padding:9px 11px;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;margin-bottom:14px}
.crm-brand-ic{width:26px;height:26px;border-radius:7px;background:#f3f5f9;display:flex;align-items:center;justify-content:center}
.crm-brand-ic svg{width:16px;height:16px}
.crm-sec{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#9aa3b2;padding:0 6px;margin:8px 0 6px}
.crm-nav{display:flex;flex-direction:column;gap:2px;position:relative}
.crm-item{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;font-size:14.5px;font-weight:500;
  color:#3b4453;cursor:pointer;position:relative;z-index:1}
.crm-item svg{width:18px;height:18px;stroke:#6b7280;flex:none}
.crm-item:hover{background:#f6f8fc}
.crm-item.is-active{color:#1d4ed8;font-weight:600}
.crm-item.is-active svg{stroke:#1d4ed8}
.crm-app.is-live .crm-item{pointer-events:auto;cursor:pointer}
.crm-pill{position:absolute;left:12px;right:12px;top:0;height:34px;background:#eef2ff;border-radius:9px;z-index:0;pointer-events:none}
@media(max-width:920px){.crm-app{display:none}}

/* CRM pipeline board — pulled in from the corner, leaving space on the left */
.crm-board{position:absolute;left:clamp(300px,34vw,560px);top:17%;width:min(1180px,72vw);height:78vh;
  background:#fff;border:1px solid #e6e9f0;border-radius:18px;box-shadow:0 50px 110px -40px rgba(0,0,0,.65);
  padding:22px 24px;overflow:hidden;font-family:var(--sans)}
.pb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;border-bottom:1px solid #eef0f4;margin-bottom:18px}
.pb-title{font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.pb-sub{font-size:13.5px;color:#9aa3b2;margin-top:3px}
.pb-actions{display:flex;gap:10px;flex:none}
.pb-btn{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;padding:9px 15px;border-radius:11px;cursor:pointer;white-space:nowrap}
.pb-btn svg{width:17px;height:17px}
.pb-btn-primary{background:#1d4ed8;color:#fff;border:none}
.pb-btn-ghost{background:#fff;color:#3b4453;border:1px solid #e6e9f0}
.pb-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;height:calc(100% - 78px)}
.pb-colhead{display:flex;align-items:center;gap:9px;font-size:14.5px;font-weight:700;color:#3b4453;
  background:#f6f8fc;border:1px solid #eef0f4;border-radius:12px;padding:11px 13px;margin-bottom:12px}
.pb-ci{width:20px;height:20px;flex:none;display:flex;align-items:center;justify-content:center}
.pb-ci svg{width:18px;height:18px}
.pb-count{margin-left:auto;font-size:12px;font-weight:700;color:#64748b;background:#eef0f4;border-radius:7px;padding:2px 9px}
.pb-colhead.st-new{color:#3b6ae8}.st-new .pb-ci{color:#4f6ef7}.st-new .pb-count{color:#4f6ef7;background:#e8edff}
.pb-colhead.st-prop{color:#d97706}.st-prop .pb-ci{color:#f59e0b}.st-prop .pb-count{color:#d97706;background:#fdefd4}
.pb-colhead.st-won{color:#0d9488}.st-won .pb-ci{color:#10b981}.st-won .pb-count{color:#0d9488;background:#d3f3ee}
.pb-colhead.st-lost{color:#e11d48}.st-lost .pb-ci{color:#f43f5e}.st-lost .pb-count{color:#e11d48;background:#fde2e4}
.pb-body{background:#f7f9fd;border:1px solid #eef0f4;border-radius:14px;min-height:240px;height:100%;padding:14px;position:relative}
.pb-empty{position:absolute;top:54%;left:50%;transform:translate(-50%,-50%);color:#c2c9d6;font-size:14px}
.pb-card{background:#fff;border:1px solid #e6e9f0;border-radius:14px;padding:15px;box-shadow:0 10px 26px -16px rgba(15,23,41,.3)}
.pb-card-title{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:12px}
.pb-deal{display:flex;align-items:center;gap:10px;background:#fff7ed;border:1px solid #fde4c8;border-radius:10px;padding:10px 12px;margin-bottom:0;transform-origin:center top}
.pb-venda-wrap{overflow:hidden;height:0}
.pb-deal-ic{width:24px;height:24px;flex:none;display:flex;align-items:center;justify-content:center}
.pb-deal-ic svg{width:18px;height:18px}
.pb-deal-name{font-size:13.5px;font-weight:700;color:#b45309}
.pb-deal-val{font-size:13.5px;font-weight:700;color:#d97706}
.pb-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}
.pb-tag{font-size:12px;font-weight:600;padding:4px 9px;border-radius:7px}
.pb-tag.green{color:#067647;background:#d6f5e3}
.pb-tag.gray{color:#64748b;background:#eef0f4}
.pb-card-foot{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:#9aa3b2}
.pb-chat{width:18px;height:18px}

/* CRM tasks board — slides in as the pipeline exits; anchored to the bottom-right corner,
   scaled up ~20%, leaving open space at the top for the incoming headline */
.tk-board{z-index:11;opacity:0;transform-origin:100% 100%;transform:translate(70px,0) scale(1.15);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(760px,48vw);height:auto;max-height:none;padding:22px 26px}
.tk-board .pb-head{padding-bottom:11px;margin-bottom:11px}
.tk-board .pb-sub{white-space:nowrap}
.tk-list{display:flex;flex-direction:column;gap:10px;height:auto;overflow:visible}
.tk-group{display:flex;flex-direction:column;gap:7px}
.tk-group{display:flex;flex-direction:column;gap:9px}
.tk-ghead{display:flex;align-items:center;gap:11px}
.tk-ghead--sub{margin-top:-2px}
.tk-glabel{font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#3b4453;white-space:nowrap}
.tk-glabel.red{color:#e11d48}
.tk-gcount{font-size:12px;font-weight:700;color:#64748b;background:#eef0f4;border-radius:999px;min-width:22px;height:22px;
  display:inline-flex;align-items:center;justify-content:center;padding:0 7px;flex:none}
.tk-gcount.red{color:#e11d48;background:#fde2e4}
.tk-gline{flex:1;height:1px;background:#eef0f4}
.tk-subdate{font-size:13.5px;font-weight:500;color:#9aa3b2;margin:2px 0 0}
.tk-card{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e6e9f0;border-radius:15px;
  padding:9px 20px;box-shadow:0 12px 28px -20px rgba(15,23,41,.3)}
.tk-card--late{background:#fff5f5;border-color:#fadadd}
.tk-type{flex:none;width:70px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12.5px;font-weight:600;text-align:center}
.tk-type svg{width:22px;height:22px}
.tk-type.green{color:#16a34a}.tk-type.green svg{stroke:#16a34a}
.tk-type.blue{color:#1d4ed8}.tk-type.blue svg{stroke:#1d4ed8}
.tk-mid{flex:1;min-width:0}
.tk-lead{display:flex;align-items:center;gap:5px;font-size:15.5px;font-weight:700;color:var(--ink)}
.tk-lead svg{width:14px;height:14px;stroke:#9aa3b2}
.tk-desc{font-size:13.5px;color:#9aa3b2;margin-top:2px}
.tk-date{font-size:15px;font-weight:600;color:#475063;margin-right:8px;white-space:nowrap}
.tk-date.red{color:#e11d48}
.tk-check{width:24px;height:24px;border-radius:50%;border:2px solid #d4dae4;flex:none}

/* CRM clientes table — same bottom-right anchor pattern as the tasks board */
.cl-board{z-index:12;opacity:0;transform-origin:100% 100%;transform:translate(80px,0) scale(1.05);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(960px,66vw);height:auto;max-height:none;padding:20px 22px}
.cl-board .pb-head{padding-bottom:13px;margin-bottom:13px}
.cl-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.cl-toolbar .pb-btn{padding:8px 14px;font-size:13px}
.cl-search{flex:1;display:flex;align-items:center;gap:9px;background:#f6f8fc;border:1px solid #eef0f4;
  border-radius:11px;padding:9px 14px;color:#9aa3b2;font-size:13.5px}
.cl-search svg{width:16px;height:16px;flex:none}
.cl-table{width:100%;border-collapse:collapse;font-size:12.5px;font-family:var(--sans);table-layout:auto}
.cl-table th{text-align:left;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#9aa3b2;padding:0 8px 10px;border-bottom:1px solid #eef0f4;white-space:nowrap}
.cl-table td{padding:10px 8px;border-bottom:1px solid #f1f3f8;color:#475063;white-space:nowrap;vertical-align:middle}
.cl-table tr:last-child td{border-bottom:none}
.cl-name{font-weight:700;color:var(--ink)}
.cl-muted{color:#aab2c0}
.cl-rev{color:#d97706;font-weight:600}
.cl-act{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#3b6ae8;
  background:#eef2ff;border-radius:8px;padding:5px 10px;white-space:nowrap}
.cl-act--re{color:#0d9488;background:#d3f3ee}
.cl-act svg{width:13px;height:13px}
.cl-status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:#3b6ae8;white-space:nowrap}
.cl-status .cl-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.cl-status.lost{color:#e11d48}

/* CRM vendas table — reuses the clientes table styles, slightly narrower */
.sl-board{width:min(880px,56vw)}
.sl-sub{display:flex;align-items:center;gap:5px;font-size:11px;color:#9aa3b2;margin-top:3px}
.sl-sub svg{width:12px;height:12px;flex:none}
.sl-ph{font-size:12px;color:#9aa3b2;margin-top:2px}
.sl-vw{font-weight:700;color:#16a34a}
.sl-vl{font-weight:700;color:#e11d48}
.sl-won{color:#16a34a;font-weight:600}
.cl-status.open{color:#d97706}
.cl-status.won{color:#16a34a}

/* CRM usuários — invite links + active users, same top-anchored board pattern */
.us-board{z-index:13;opacity:0;transform-origin:100% 0;transform:translate(80px,0) scale(0.97);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(940px,60vw);height:auto;max-height:none;padding:20px 22px}
.us-sec{margin-top:18px}
.us-label{font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#9aa3b2;margin:0 0 10px}
.us-links{background:#f7f9fd;border:1px solid #eef0f4;border-radius:14px;padding:6px 4px}
.us-link{display:flex;align-items:center;gap:15px;padding:13px 16px}
.us-link + .us-link{border-top:1px solid #eef0f4}
.us-lic{width:30px;height:30px;border-radius:8px;background:#eaf0ff;display:flex;align-items:center;justify-content:center;flex:none}
.us-lic svg{width:17px;height:17px}
.us-lmid{flex:1;min-width:0}
.us-lname{font-size:15px;font-weight:700;color:var(--ink)}
.us-lurl{font-size:12.5px;color:#9aa3b2;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin-top:2px}
.us-copy{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#3b6ae8;background:none;border:none;cursor:pointer;flex:none}
.us-copy svg{width:15px;height:15px}
.us-row{display:flex;align-items:center;gap:15px;background:#f7f9fd;border:1px solid #eef0f4;border-radius:14px;padding:15px 18px}
.us-av{width:38px;height:38px;border-radius:50%;background:#e8edff;color:#3b6ae8;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.us-rmid{flex:1;min-width:0}
.us-rname{font-size:15.5px;font-weight:700;color:var(--ink)}
.us-remail{font-size:13px;color:#9aa3b2;margin-top:2px}
.us-tag{font-size:12px;font-weight:700;color:#d97706;background:#fdefd4;border-radius:999px;padding:5px 12px;flex:none}
.us-del{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#b6bdc9;background:none;border:none;cursor:pointer;flex:none}
.us-del:hover{color:#e11d48;background:#fde2e4}
.us-empty{background:#f7f9fd;border:1px solid #eef0f4;border-radius:14px;padding:26px;text-align:center;font-size:14px;color:#9aa3b2}

/* CRM personalização — two columns (identity + colors) with a live preview */
.pe-board{z-index:14;opacity:0;transform-origin:100% 0;transform:translate(80px,0) scale(0.97);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(1180px,76vw);height:auto;max-height:none;padding:18px 22px}
.pe-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:6px}
.pe-card{background:#f7f9fd;border:1px solid #eef0f4;border-radius:14px;padding:16px 18px;margin-top:10px}
.pe-flabel{font-size:13px;font-weight:700;color:var(--ink);display:block;margin-bottom:7px}
.pe-mt{margin-top:20px}.pe-mt2{margin-top:12px}.pe-tight{margin-top:2px;margin-bottom:0}
.pe-input{background:#fff;border:1px solid #e6e9f0;border-radius:9px;padding:11px 14px;font-size:14px;font-weight:500;color:var(--ink)}
.pe-help{font-size:12px;color:#9aa3b2;margin:7px 0 0}
.pe-logos{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.pe-logo{position:relative;background:#fff;border:1px dashed #d4dae4;border-radius:11px;padding:18px 14px 14px;display:flex;flex-direction:column;align-items:center;gap:11px}
.pe-theme{position:absolute;top:-8px;left:12px;background:#f7f9fd;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#9aa3b2;padding:0 6px}
.pe-logo-ph{font-size:13px;color:#aab2c0}
.pe-logo-img{font-size:22px;font-weight:800;color:#1DB954}
.pe-mini{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#3b4453;background:#fff;border:1px solid #e6e9f0;border-radius:8px;padding:7px 13px;cursor:pointer}
.pe-mini svg{width:14px;height:14px}
.pe-themes{display:inline-flex;background:#eef0f4;border-radius:9px;padding:3px;gap:2px;margin-bottom:16px}
.pe-tg{font-size:12.5px;font-weight:600;color:#64748b;padding:6px 14px;border-radius:7px}
.pe-tg.is-on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.pe-colors{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pe-cl{font-size:12.5px;font-weight:600;color:#475063;display:block;margin-bottom:6px}
.pe-swatch{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e6e9f0;border-radius:9px;padding:9px 11px;font-size:13px;font-family:ui-monospace,Menlo,monospace;color:var(--ink)}
.pe-chip{width:20px;height:20px;border-radius:6px;flex:none}
.pe-cd{display:block;font-size:11px;color:#9aa3b2;margin-top:5px}
.pe-preview{margin-top:16px;background:#fff;border:1px solid #e6e9f0;border-radius:12px;padding:13px}
.pe-pv-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.pe-pv-head span{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9aa3b2}
.pe-pvbtn,.pe-restore{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#3b4453;background:#fff;border:1px solid #e6e9f0;border-radius:8px;padding:6px 11px;cursor:pointer}
.pe-pvbtn svg,.pe-restore svg{width:13px;height:13px}
.pe-restore{margin-top:12px}
/* live preview: one cohesive dark panel — sidebar + 3 kanban columns, primary + accent applied */
.pe-pv-body{display:grid;grid-template-columns:58px 1fr 1fr 1fr;gap:9px;background:#0a0a0a;border-radius:10px;padding:9px;height:150px}
.pe-pv-side{background:#111111;border-radius:8px;padding:9px 7px;display:flex;flex-direction:column;gap:7px}
.pe-pv-brand{height:10px;border-radius:3px;background:rgba(255,255,255,.22)}
.pe-pv-nav{height:6px;border-radius:3px;background:rgba(255,255,255,.12)}
.pe-pv-nav.on{background:rgba(29,78,216,.55)}
.pe-pv-kcol{background:#121212;border:1px solid rgba(255,255,255,.06);border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:7px}
.pe-pv-khead{height:7px;width:60%;border-radius:3px;background:rgba(255,255,255,.18)}
.pe-pv-khead.blue{background:#1D4ED8;width:100%}
.pe-pv-kcard{background:#0a0a0a;border:1px solid rgba(255,255,255,.07);border-radius:6px;padding:7px;display:flex;flex-direction:column;gap:5px;position:relative}
.pe-pv-kline{height:5px;border-radius:3px;background:rgba(255,255,255,.14)}
.pe-pv-kdot{position:absolute;left:7px;bottom:7px;width:6px;height:6px;border-radius:50%;background:#F59E0B}
.pe-foot{display:flex;justify-content:flex-end;margin-top:18px}
.pe-save{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#fff;
  background:linear-gradient(180deg,#3b6ae8,#1d4ed8);border:none;border-radius:11px;padding:11px 20px;cursor:pointer;
  box-shadow:0 12px 26px -12px rgba(29,78,216,.7)}
.pe-save svg{width:16px;height:16px}
.w40{width:40%}.w50{width:50%}.w60{width:60%}.w70{width:70%}.w80{width:80%}

/* CRM calendário — month grid, same bottom-right anchor pattern */
.cal-board{z-index:12;opacity:0;transform-origin:100% 100%;transform:translate(80px,0) scale(1.05);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(1000px,68vw);height:auto;max-height:none;padding:20px 22px}
.cal-board .pb-head{padding-bottom:12px;margin-bottom:12px}
.cal-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:13px}
.cal-nav{display:flex;align-items:center;gap:6px;flex:none}
.cal-arrow{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#fff;
  border:1px solid #e6e9f0;border-radius:9px;cursor:pointer}
.cal-arrow svg{width:15px;height:15px}
.cal-today{padding:7px 14px;font-size:13px;font-weight:600;color:#3b4453;background:#fff;border:1px solid #e6e9f0;border-radius:9px;cursor:pointer}
.cal-legend{display:flex;flex-wrap:wrap;gap:11px;flex:1;justify-content:center}
.cal-leg{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:#64748b;font-weight:500;white-space:nowrap}
.cal-leg i{width:8px;height:8px;border-radius:50%;flex:none}
.cal-view{display:flex;border:1px solid #e6e9f0;border-radius:10px;overflow:hidden;flex:none}
.cal-view button{padding:7px 14px;font-size:12.5px;font-weight:600;color:#64748b;background:#fff;border:none;cursor:pointer}
.cal-view button.on{background:#1d4ed8;color:#fff}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #eef0f4;border-radius:12px;overflow:hidden;background:#fff}
.cal-dow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#9aa3b2;
  padding:9px 10px;background:#f6f8fc;border-bottom:1px solid #eef0f4;border-right:1px solid #f1f3f8}
.cal-dow:nth-child(7){border-right:none}
.cal-cell{min-height:62px;border-right:1px solid #f1f3f8;border-bottom:1px solid #f1f3f8;padding:6px 7px}
.cal-cell:nth-child(7n){border-right:none}
.cal-grid > .cal-cell:nth-last-child(-n+7){border-bottom:none}
.cal-d{font-size:11px;font-weight:500;color:#64748b;display:block;text-align:right;line-height:1}
.cal-cell.muted{background:#fbfcfe}
.cal-cell.muted .cal-d{color:#c7cdd8}
.cal-ev{display:block;margin-top:6px;font-size:10.5px;font-weight:600;border-radius:6px;padding:3px 7px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-ev.g{color:#16a34a;background:#e7f7ee}
.cal-ev.b{color:#3b6ae8;background:#eaf0ff}
.cal-ev.a{color:#d97706;background:#fde6cf}
.cal-ev.am{color:#c2410c;background:#fde7da}

/* CRM dashboard — KPI cards + charts, same bottom-right anchor pattern */
.db-board{z-index:12;opacity:0;transform-origin:100% 100%;transform:translate(80px,0) scale(0.97);
  left:auto;right:clamp(26px,3vw,60px);top:auto;bottom:clamp(26px,3.5vh,56px);
  width:min(1120px,74vw);height:auto;max-height:none;padding:18px 20px}
.db-board .pb-head{padding-bottom:11px;margin-bottom:12px}
.db-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.db-kpi{background:#f7f9fd;border:1px solid #eef0f4;border-radius:12px;padding:12px 14px}
.db-kt{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11.5px;font-weight:600;color:#64748b;margin-bottom:9px}
.db-ki{width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex:none}
.db-ki svg{width:14px;height:14px}
.db-ki.g{background:#e7f7ee}.db-ki.b{background:#eaf0ff}.db-ki.r{background:#fde2e4}.db-ki.am{background:#fdefd4}
.db-kv{font-size:23px;font-weight:800;letter-spacing:-.02em;color:var(--ink);line-height:1}
.db-kvs{font-size:14px;font-weight:700;color:#94a3b8}
.db-kd{font-size:11px;color:#94a3b8;margin-top:7px}
.db-kd.up{color:#16a34a}.db-kd.down{color:#e11d48}
.db-charts{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px}
.db-charts2{grid-template-columns:1fr 1fr;margin-bottom:0}
.db-panel{background:#f7f9fd;border:1px solid #eef0f4;border-radius:12px;padding:14px 16px}
.db-pt{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin:0 0 12px}
.db-area{display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;gap:5px 9px;height:150px}
.db-yax{display:flex;flex-direction:column;justify-content:space-between;font-size:9.5px;color:#aab2c0;text-align:right}
.db-svg{width:100%;height:100%;grid-column:2;min-width:0}
.db-gl{stroke:#e9edf4;stroke-width:1;stroke-dasharray:3 4}
.db-xax{grid-column:2;display:flex;justify-content:space-between;font-size:9.5px;color:#aab2c0}
.db-donut-wrap{display:flex;align-items:center;gap:18px;justify-content:center;height:150px}
.db-donut{width:128px;height:128px;flex:none}
.db-dnum{text-anchor:middle;font-size:22px;font-weight:800;fill:var(--ink);font-family:var(--sans)}
.db-dlbl{text-anchor:middle;font-size:8px;fill:#94a3b8;font-family:var(--sans);letter-spacing:.05em;text-transform:uppercase}
.db-leg{display:flex;flex-direction:column;gap:11px;min-width:96px}
.db-lr{display:flex;align-items:center;gap:8px;font-size:13px;color:#475063;font-weight:500}
.db-lr b{margin-left:auto;color:var(--ink);font-weight:700}
.db-ld{width:9px;height:9px;border-radius:50%;flex:none}.db-ld.g{background:#16a34a}.db-ld.r{background:#e11d48}
.db-funnel{display:flex;flex-direction:column;gap:11px}
.db-fr{display:flex;align-items:center;gap:10px;font-size:12.5px}
.db-fl{width:108px;flex:none;color:#64748b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-fbar{flex:1;height:14px;background:#eef0f4;border-radius:7px;overflow:hidden}
.db-fbar i{display:block;height:100%;border-radius:7px}
.db-fbar i.b{background:#4f6ef7}.db-fbar i.g{background:#16a34a}.db-fbar i.am{background:#f59e0b}.db-fbar i.r{background:#f43f5e}
.db-fn{width:36px;text-align:right;font-weight:700;color:var(--ink);flex:none}

/* Tarefas headline — fades/rises in above the board as the scroll continues */
/* Tarefas headline — JS positions it in the gap above the board; rises/fades in on scroll */
.tk-lede{position:absolute;z-index:10;text-align:left;opacity:0;pointer-events:none;
  font-family:var(--sans);transform:translateY(24px)}
.tk-lede-eyebrow{font-family:var(--mono);font-size:13px;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;color:#fbbf4d;margin:0 0 13px}
.tk-lede-h{font-size:clamp(30px,2.7vw,46px);line-height:1.05;font-weight:800;letter-spacing:-.025em;
  color:#f4f7ff;margin:0 0 16px}
.tk-lede-accent{background:linear-gradient(96deg,#4f8cff 0%,#5b9bff 38%,#f6a623 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.tk-lede-p{font-size:clamp(15px,1.05vw,18px);line-height:1.5;color:#aab6d4;margin:0;max-width:none}

/* explanatory comment bubbles (revealed on scroll, phase 5) */
.pb-note,.crm-note{display:block;background:#fff;border:1px solid #e6e9f0;border-radius:13px;padding:13px 14px;
  font-size:13px;line-height:1.45;color:#475063;box-shadow:0 22px 50px -22px rgba(0,0,0,.5);
  opacity:0;translate:0 14px;transition:opacity .6s var(--ease),translate .6s var(--ease)}
.pb-note.show,.crm-note.show{opacity:1;translate:0 0}
.np-k{display:block;font-size:14px;font-weight:800;letter-spacing:-.01em;margin-bottom:4px}
.pb-note{position:absolute;left:50%;width:min(90%,300px);transform:translateX(-50%);z-index:5}
.np-center{top:18px;transform:translateX(-50%)}
.np-bottom{bottom:14px;transform:translateX(-50%)}
.pb-note::after{content:"";position:absolute;left:50%;margin-left:-6px;top:-7px;width:13px;height:13px;background:#fff;
  border-left:1px solid #e6e9f0;border-top:1px solid #e6e9f0;transform:rotate(45deg)}
/* pipeline note hangs to the right of the sidebar item */
.np-pipe{position:absolute;left:calc(100% + 16px);top:50%;transform:translateY(-50%);width:212px;z-index:20}
.np-pipe::after{content:"";position:absolute;left:-7px;top:50%;margin-top:-6px;width:13px;height:13px;background:#fff;
  border-left:1px solid #e6e9f0;border-bottom:1px solid #e6e9f0;transform:rotate(45deg)}
/* note floating above a column header, in front of the board */
.np-top{position:absolute;width:236px;z-index:30;transform:translate(-50%,-100%)}
.np-top::after{content:"";position:absolute;left:50%;margin-left:-6px;bottom:-7px;width:13px;height:13px;background:#fff;
  border-right:1px solid #e6e9f0;border-bottom:1px solid #e6e9f0;transform:rotate(45deg)}
/* note floating above a column, shifted left, diagonal arrow toward header */
.np-topl{position:absolute;width:236px;z-index:30;transform:translate(-82%,-100%)}
.np-topl::after{content:"";position:absolute;right:26px;bottom:-7px;width:13px;height:13px;background:#fff;
  border-right:1px solid #e6e9f0;border-bottom:1px solid #e6e9f0;transform:rotate(45deg)}
@media(max-width:920px){
  .scene--hero-morph{height:auto;min-height:100dvh}
  .hero-sticky{position:static;height:auto;min-height:100dvh;overflow:visible}
}
/* morph final-state text (revealed as the pair settles) */
.morph-top{position:absolute;left:50%;top:13%;transform:translateX(-50%);z-index:6;opacity:0;
  font-family:var(--mono);font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--blue);
  background:rgba(29,78,216,.08);border:1px solid rgba(29,78,216,.2);border-radius:999px;padding:9px 20px;white-space:nowrap}
.morph-lbl{position:absolute;z-index:6;opacity:0;transform:translateX(-50%);
  font-size:14px;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
.morph-lbl--l{color:#b42318}
.morph-lbl--r{color:#067647}
.morph-cap{position:absolute;left:50%;top:50%;z-index:6;opacity:0;transform:translateX(-50%);
  width:min(720px,88vw);text-align:center;font-size:clamp(18px,1.8vw,24px);line-height:1.55;color:var(--ink-2);
  font-weight:500;text-wrap:balance;letter-spacing:-.01em}
.cap-ink{font-weight:800;color:var(--ink)}
.cap-good{font-weight:800;color:#067647}
.cap-bad{font-weight:800;color:#b42318}
.brand-mark{font-weight:800;letter-spacing:-.02em}
.bm-trak{color:#1b2b3c}
.bm-win{color:#e59c30}
.morph-divider{position:absolute;z-index:5;opacity:0;width:2px;transform:translateX(-50%);border-radius:2px;transform-origin:center center;
  background:linear-gradient(180deg,transparent,rgba(29,78,216,.28) 16%,rgba(245,158,11,.28) 84%,transparent)}

.morph-divider.is-axis{background:linear-gradient(180deg,#1D4ED8,#3b6ae8,#F59E0B);box-shadow:0 0 18px rgba(29,78,216,.25)}

/* timeline (phase 3) — the divider becomes a horizontal axis with stepping dots */
.timeline{position:absolute;inset:0;z-index:7;opacity:0;pointer-events:none}
.tl-axis{position:absolute;height:3px;border-radius:3px;transform:translateY(-50%);opacity:0;
  background:linear-gradient(90deg,#F59E0B,#6b8fe0,#1D4ED8);box-shadow:0 0 16px rgba(29,78,216,.22)}
.tl-dot{position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--line);
  transform:translate(-50%,-50%);box-shadow:0 2px 8px rgba(15,23,41,.12)}
.tl-dot.on{border-color:var(--blue);background:var(--blue)}
.tl-dot.cur{box-shadow:0 0 0 6px rgba(29,78,216,.18)}
.tl-dot.gn{border-color:#16a34a;background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.2)}
/* green "sale data → algorithm" flow that slides along the axis before the algo dive */
.tl-green{position:absolute;z-index:3;background:#16a34a;border-radius:3px;opacity:0;box-shadow:0 0 12px rgba(22,163,74,.6)}
.tl-green-v{transform-origin:center bottom}
.tl-green-h{transform-origin:left center}
.tl-green-a{transform-origin:center bottom}

/* ===== Connections feature — light panels on the dark blue screen ===== */
.conn-app{position:absolute;inset:0;z-index:12;opacity:0;pointer-events:none;font-family:var(--sans)}
/* centered intro headline shown first on the dark blue screen */
.conn-intro{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,86vw);text-align:center;z-index:2}
.conn-eyebrow{display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);font-size:12.5px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#9fb4e8;
  background:rgba(122,162,247,.1);border:1px solid rgba(122,162,247,.26);border-radius:999px;padding:8px 18px;margin-bottom:26px}
.conn-eyebrow svg{width:15px;height:15px}
.conn-intro h2{font-size:clamp(34px,4.6vw,60px);line-height:1.02;font-weight:800;letter-spacing:-.03em;color:#fff;margin-bottom:22px}
.conn-intro p{font-size:clamp(16px,1.5vw,21px);line-height:1.55;color:#aebbd6;max-width:60ch;margin:0 auto;font-weight:430;text-wrap:balance}
.conn-intro p strong{color:#fff;font-weight:700}
.ci-mark{font-weight:800;letter-spacing:-.01em}.ci-trak{color:#7aa2f7}.ci-win{color:#f5b34d}

/* Análise — split layout: title on the LEFT, canonical sidebar on the RIGHT (light background) */
.ana-stage{position:absolute;inset:0;z-index:16;display:flex;opacity:0;pointer-events:none}
.ana-left{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:0 clamp(36px,4vw,72px) 0 clamp(48px,8vw,150px)}
.ana-right{flex:1;display:flex;align-items:center;justify-content:center;padding:0 clamp(40px,6vw,130px);border-left:1px solid rgba(20,40,90,.07)}
.ana-eyebrow{display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);font-size:12.5px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#1d4ed8;
  background:#eef2ff;border:1px solid #dde6ff;border-radius:999px;padding:8px 18px;margin-bottom:26px}
.ana-eyebrow svg{width:15px;height:15px}
.ana-left h2{font-size:clamp(32px,3.9vw,54px);line-height:1.04;font-weight:800;letter-spacing:-.03em;color:#16203a;margin-bottom:20px;text-wrap:balance}
.ana-left p{font-size:clamp(16px,1.45vw,20px);line-height:1.55;color:#5a6573;max-width:46ch;font-weight:430;text-wrap:pretty}
.ana-left p strong{color:#16203a;font-weight:700}
/* sidebar uses the canonical cs2 style */
.ana-side{width:260px;background:#fff;border:1px solid #e6e9f0;border-radius:18px;padding:16px 14px;box-shadow:0 40px 90px -34px rgba(20,30,60,.4);font-family:var(--sans)}
.cs2-item img{width:19px;height:19px;flex:none;display:block}
@media(max-width:920px){.ana-stage{display:none}}

/* Relatórios — centered closing pitch on the light background */
.rel-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(820px,88vw);text-align:center;z-index:16;opacity:0;pointer-events:none}
.rel-stage h2{font-size:clamp(34px,4.4vw,58px);line-height:1.03;font-weight:800;letter-spacing:-.03em;color:#16203a;margin-bottom:22px;text-wrap:balance}
.rel-stage p{font-size:clamp(16px,1.5vw,21px);line-height:1.55;color:#5a6573;max-width:62ch;margin:0 auto;font-weight:430;text-wrap:pretty}
.rel-stage p strong{color:#16203a;font-weight:700}
.rel-sources{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:32px}
.rel-chip{font-size:13.5px;font-weight:600;color:#3b4453;background:#fff;border:1px solid #e6e9f0;border-radius:999px;padding:9px 17px;box-shadow:0 8px 20px -12px rgba(20,30,60,.3)}
@media(max-width:920px){.rel-stage{display:none}}

/* Relatórios — floating fictional result cards (visual flavour behind the pitch) */
.rel-cards{position:absolute;inset:0;z-index:15;opacity:0;pointer-events:none}
.rc-card{position:absolute;background:#fff;border:1px solid #e9ecf2;border-radius:14px;padding:13px 16px;min-width:158px;
  box-shadow:0 24px 50px -26px rgba(20,30,60,.45)}
.rc-label{font-size:11.5px;font-weight:600;color:#8a93a3;letter-spacing:.01em}
.rc-val{font-size:21px;font-weight:800;color:#16203a;letter-spacing:-.02em;margin-top:5px;white-space:nowrap}
.rc-delta{font-size:12.5px;font-weight:700;margin-left:8px}
.rc-up{color:#16a34a}
.rc-sub{font-size:12px;color:#5a6573;margin-top:4px}
.rc-bars{display:flex;align-items:flex-end;gap:4px;height:26px;margin-top:9px}
.rc-bars i{width:8px;background:#dbe4ff;border-radius:2px}
.rc-bars i.hi{background:#2563eb}
@media(prefers-reduced-motion:no-preference){.rc-card{animation:rcFloat var(--d,7s) ease-in-out infinite}}
@keyframes rcFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(max-width:920px){.rel-cards{display:none}}

/* Convite + modelos de cobrança (light) */
.join-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(980px,90vw);text-align:center;z-index:16;opacity:0;pointer-events:none}
.join-eyebrow{display:inline-block;font-family:var(--mono);font-size:12.5px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#b4690e;
  background:#fdf2e2;border:1px solid #f6dcb6;border-radius:999px;padding:8px 18px;margin-bottom:24px}
.join-stage>h2{font-size:clamp(32px,4.2vw,56px);line-height:1.03;font-weight:800;letter-spacing:-.03em;color:#16203a;margin-bottom:18px}
.join-stage>p{font-size:clamp(16px,1.5vw,20px);line-height:1.55;color:#5a6573;max-width:60ch;margin:0 auto;font-weight:430;text-wrap:balance}
.join-stage>p strong{color:#16203a;font-weight:700}
.join-cards{display:flex;gap:20px;margin-top:38px;text-align:left}
.join-card{flex:1;background:#fff;border:1px solid #e9ecf2;border-radius:18px;padding:24px 24px 26px;box-shadow:0 28px 60px -32px rgba(20,30,60,.4)}
.jc-ic{width:42px;height:42px;border-radius:12px;background:#f3f6fc;border:1px solid #e6ecf6;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.jc-ic svg{width:22px;height:22px}
.jc-tag{display:block;font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#8a93a3;margin-bottom:9px}
.join-card h3{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#16203a;margin-bottom:9px}
.join-card p{font-size:14.5px;line-height:1.55;color:#5a6573;font-weight:430}
.join-card p strong{color:#16203a;font-weight:700}
@media(max-width:920px){.join-stage{display:none}}

/* Planos — final screen (light) */
.plan-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1320px,95vw);z-index:16;opacity:0;pointer-events:none}
.plan-head{text-align:center;margin-bottom:30px}
.plan-eyebrow{display:inline-block;font-family:var(--mono);font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#1d4ed8;background:#eef2ff;border:1px solid #dde6ff;border-radius:999px;padding:7px 16px;margin-bottom:16px}
.plan-head h2{font-size:clamp(28px,3.4vw,44px);font-weight:800;letter-spacing:-.03em;color:#16203a;margin-bottom:10px}
.plan-head p{font-size:15px;color:#5a6573}
.plan-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:stretch}
.plan-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e6e9f0;border-radius:18px;padding:22px 20px;box-shadow:0 20px 46px -28px rgba(20,30,60,.34)}
.plan-card.pop{border:1.5px solid #2563eb;box-shadow:0 30px 64px -26px rgba(37,99,235,.5);position:relative}
.pc-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#2563eb;color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.02em;padding:5px 14px;border-radius:999px;white-space:nowrap;box-shadow:0 8px 18px -8px rgba(37,99,235,.7)}
.pc-name{font-family:var(--mono);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#1d4ed8}
.pc-tag{font-size:12.5px;line-height:1.4;color:#8a93a3;margin-top:7px;min-height:34px}
.pc-price{font-size:38px;font-weight:800;letter-spacing:-.03em;color:#16203a;margin-top:16px;display:flex;align-items:baseline;gap:1px}
.pc-cur{font-size:19px;font-weight:700;margin-right:3px}
.pc-per{font-size:14px;font-weight:600;color:#8a93a3;margin-left:3px}
.pc-price-sm{font-size:26px}
.pc-conn{font-size:13.5px;color:#3b4453;margin-top:14px;padding-top:14px;border-top:1px solid #eef0f4}
.pc-conn b{color:#16203a;font-weight:800}
.pc-feats{list-style:none;display:flex;flex-direction:column;gap:10px;margin:16px 0 20px;flex:1}
.pc-feats li{position:relative;padding-left:25px;font-size:13.5px;color:#3b4453}
.pc-feats li::before{content:"";position:absolute;left:0;top:1px;width:17px;height:17px;border-radius:50%;background:#e7f3ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}
.pc-cta{margin-top:auto;border:none;border-radius:11px;padding:12px;font-family:var(--sans);font-size:14px;font-weight:700;cursor:pointer;background:#eef2ff;color:#1d4ed8;transition:background .2s}
.pc-cta-pop{background:#2563eb;color:#fff;box-shadow:0 12px 26px -12px rgba(37,99,235,.7)}
.pc-cta-ghost{background:#fff;border:1px solid #d6dbe6;color:#3b4453}
@media(max-width:920px){.plan-stage{display:none}}

/* fixed legal links — small, semi-transparent, always bottom-right */
.legal-fixed{position:fixed;right:clamp(16px,2vw,34px);bottom:clamp(12px,1.6vh,22px);z-index:90;display:flex;align-items:center;gap:10px;
  font-family:var(--sans);font-size:12px;opacity:.42;transition:opacity .25s;pointer-events:auto}
.legal-fixed:hover{opacity:.9}
.legal-fixed a{color:#5a6573;text-decoration:none;font-weight:500}
.legal-fixed a:hover{color:#1d4ed8;text-decoration:underline}
.legal-sep{color:#aab2c0}
@media(max-width:920px){.legal-fixed{font-size:11px;right:14px;bottom:10px}}

/* cookie consent banner — bottom-left, honest (essentials always on, analytics on opt-in) */
.cookie-bar{position:fixed;left:clamp(16px,2vw,28px);bottom:clamp(16px,2vh,26px);z-index:95;width:min(380px,calc(100vw - 40px));
  background:#fff;border:1px solid #e6e9f0;border-radius:16px;padding:16px 18px;box-shadow:0 24px 60px -24px rgba(20,30,60,.5);
  font-family:var(--sans);opacity:0;transform:translateY(16px);transition:opacity .3s ease,transform .3s ease}
.cookie-bar.show{opacity:1;transform:none}
.cookie-txt{font-size:13px;line-height:1.5;color:#5a6573}
.cookie-txt a{color:#1d4ed8;text-decoration:none;font-weight:600}
.cookie-txt a:hover{text-decoration:underline}
.cookie-btns{display:flex;gap:10px;margin-top:14px}
.cookie-btn{flex:1;border-radius:10px;padding:10px;font-family:var(--sans);font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s}
.cookie-reject{background:#fff;border:1px solid #d6dbe6;color:#3b4453}
.cookie-reject:hover{border-color:#aab2c0}
.cookie-accept{background:#2563eb;border:1px solid #2563eb;color:#fff}
.cookie-accept:hover{background:#1d4ed8}
@media(max-width:920px){.cookie-bar{left:14px;right:14px;bottom:10px;width:auto}}

/* sidebar — mirrors the product's "Fazer Conexões" nav */
/* sidebar — same visual style as the CRM sidebar, with the connections data only */
.conn-side{position:absolute;left:clamp(24px,5vw,84px);top:50%;transform:translateY(-50%);width:236px;opacity:0;
  background:#fff;border:1px solid #e6e9f0;border-radius:18px;padding:14px 12px;box-shadow:0 40px 90px -34px rgba(0,0,0,.6)}
.conn-brand{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #e6e9f0;background:#fff;border-radius:11px;
  padding:9px 11px;font-size:15px;font-weight:700;color:var(--ink);margin-bottom:14px}
.conn-brand-ic{width:26px;height:26px;border-radius:7px;background:#f3f5f9;display:flex;align-items:center;justify-content:center;flex:none}
.conn-brand-ic svg{width:16px;height:16px}
.conn-sec{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#9aa3b2;padding:0 6px;margin:8px 0 6px}
.conn-nav{display:flex;flex-direction:column;gap:2px}
.conn-group{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;font-size:14.5px;font-weight:600;color:#3b4453;cursor:pointer;margin-top:4px}
.conn-group:first-child{margin-top:0}
.conn-glogo{width:18px;height:18px;display:flex;align-items:center;justify-content:center;flex:none;color:#6b7484}
.conn-glogo svg{width:18px;height:18px}
.conn-group.is-active{background:#eef2ff;color:#1d4ed8}
.conn-group.is-active .conn-glogo{color:#1d4ed8}
.conn-leaf{display:flex;align-items:center;gap:12px;padding:7px 10px 7px 12px;border-radius:9px;font-size:14px;font-weight:500;color:#7a8492;cursor:pointer;margin-left:11px}
.conn-leaf.is-active{color:#1d4ed8;font-weight:600}
.conn-dot{width:6px;height:6px;border-radius:50%;background:#c2c9d6;flex:none;margin:0 6px}
.conn-leaf.is-active .conn-dot{background:#1d4ed8}
/* re-enable clicks on the connections sidebar items when the panel is live (conn-app is pointer-events:none) */
.conn-app.is-live .conn-leaf,
.conn-app.is-live .conn-group{pointer-events:auto;cursor:pointer}

/* board — no container; each connection is its own card floating on the dark blue grid */
.conn-board{position:absolute;left:clamp(300px,31vw,540px);top:50%;transform:translateY(-50%);width:min(1120px,67vw);opacity:0}
.conn-cols{display:grid;grid-template-columns:1fr 1fr;gap:40px 48px}
.conn-platcol{display:flex;flex-direction:column;gap:20px}
.conn-plat{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#aeb8c9;margin-bottom:1px}
.conn-platlogo{width:18px;height:18px;display:flex;align-items:center;justify-content:center}
.conn-platlogo svg{width:16px;height:16px}
.conn-card{display:flex;gap:14px;background:#fff;border:1px solid #e9edf5;border-radius:15px;padding:16px 18px;box-shadow:0 24px 50px -26px rgba(0,0,0,.72)}
.conn-logo{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex:none}
.conn-logo svg{width:22px;height:22px}
.conn-logo.wa{background:#25D366}.conn-logo.meta{background:#0866FF}.conn-logo.pixel{background:#0866FF}
.conn-logo.google{background:#fff;border:1px solid #e6e9f0}.conn-logo.gtag{background:#4285F4}
.conn-cmid{flex:1;min-width:0}
.conn-cname{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15.5px;font-weight:700;color:var(--ink)}
.conn-badge{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:#067647;background:#e7f7ee;border-radius:999px;padding:3px 9px}
.conn-bdot{width:6px;height:6px;border-radius:50%;background:#16a34a;flex:none}
.conn-cdesc{font-size:13px;line-height:1.45;color:#64748b;margin-top:5px}
.conn-foot{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:600;color:#475063;background:#fff;border:1px solid #e9edf5;border-radius:12px;padding:12px 14px;margin-top:1px;box-shadow:0 20px 44px -26px rgba(0,0,0,.7)}
.conn-foot svg{width:18px;height:18px;flex:none}
@media(max-width:920px){.conn-app{display:none}}

/* Conversões scene — scaled app window driven by scroll */
.conv-wrap{position:absolute;inset:0;z-index:14;opacity:0;pointer-events:none;display:flex;align-items:center;justify-content:center;will-change:transform,opacity}
.conv-frame{width:1360px;height:850px;border:none;border-radius:16px;background:transparent;flex:none;transform-origin:center center}
@media(max-width:920px){.conv-wrap{display:none}}

/* native-scale Conversões sidebar (revealed when the content panel exits) */
.conv-side2{position:absolute;left:clamp(40px,7vw,120px);top:50%;transform:translateY(-50%);width:248px;opacity:0;pointer-events:none;z-index:15;
  background:#fff;border:1px solid #e6e9f0;border-radius:18px;padding:16px 14px;box-shadow:0 40px 90px -34px rgba(0,0,0,.6);font-family:var(--sans)}
.cs2-brand{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #e6e9f0;background:#fff;border-radius:11px;padding:10px 12px;font-size:15.5px;font-weight:700;color:var(--ink);margin-bottom:14px}
.cs2-bic{width:28px;height:28px;border-radius:7px;background:#f3f5f9;display:flex;align-items:center;justify-content:center;flex:none}
.cs2-bic svg{width:17px;height:17px}
.cs2-nav{display:flex;flex-direction:column;gap:4px}
.cs2-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;font-size:15px;font-weight:500;color:#6b7484;cursor:pointer}
.cs2-item svg{width:19px;height:19px;stroke:#9aa3b2;flex:none}
.cs2-item.on{background:#eef2ff;color:#1d4ed8;font-weight:600}
.cs2-item.on svg{stroke:#1d4ed8}
@media(max-width:920px){.conv-side2{display:none}}

/* conversions narration caption (top banner over the dark grid) */
.conv-cap{position:absolute;left:50%;top:clamp(68px,8.5vh,100px);transform:translateX(-50%);z-index:16;
  width:min(660px,86vw);text-align:center;opacity:0;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:9px}
.cc-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7fa7ff;
  background:rgba(127,167,255,.12);border:1px solid rgba(127,167,255,.28);border-radius:999px;padding:5px 14px}
.cc-text{font-size:clamp(16px,1.55vw,20px);line-height:1.5;color:#e7edff;font-weight:500;text-wrap:balance;letter-spacing:-.01em}
.cc-text b{color:#fff;font-weight:700}
@media(max-width:920px){.conv-cap{display:none}}
.tl-steps{position:absolute;inset:0}
.tl-node{position:absolute;width:170px;opacity:0;text-align:center;
  background:rgba(255,255,255,.92);backdrop-filter:blur(4px);border:1px solid var(--line);border-radius:16px;padding:15px 14px;
  box-shadow:0 18px 40px -22px rgba(15,23,41,.34)}
.tl-node::after{content:"";position:absolute;left:50%;width:2px;background:linear-gradient(var(--blue),rgba(29,78,216,.15));transform:translateX(-50%)}
.tl-node.tl-up::after{top:100%;height:50px}
.tl-node.tl-down::after{bottom:100%;height:50px;background:linear-gradient(rgba(29,78,216,.15),var(--blue))}
.tl-ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 11px;
  background:rgba(29,78,216,.09)}
.tl-ic svg{width:22px;height:22px;stroke:#1b2b3c}
.tl-node h4{font-size:14.5px;font-weight:800;letter-spacing:-.01em;margin-bottom:5px;color:var(--ink)}
.tl-node p{font-size:12px;line-height:1.4;color:var(--muted)}
.scene-inner{width:100%;max-width:1180px;margin:0 auto;position:relative;z-index:2}

/* alternating surfaces */
.scene--paper{background:var(--paper)}
.scene--mist{background:var(--mist)}
.scene--ink{background:var(--ink);color:#eef2fb}
.scene--ink .muted{color:#8c9bba}

/* ---------- entrance choreography ----------
   Driven by CSS animations (not transitions): animations fire reliably on
   class-add and hold their end state via fill-mode `both`, so content is
   never stranded at opacity:0. */
@keyframes revUp{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
@keyframes revL{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:none}}
@keyframes revR{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
@keyframes revS{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes revWord{0%{opacity:0;transform:scale(.35)}55%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}

.reveal{opacity:0}
.reveal.is-in{animation:revUp .9s var(--ease) both}
.reveal-l{opacity:0}
.reveal-l.is-in{animation:revL .9s var(--ease) both}
.reveal-r{opacity:0}
.reveal-r.is-in{animation:revR .9s var(--ease) both}
.reveal-s{opacity:0}
.reveal-s.is-in{animation:revS 1.05s var(--ease) both}
.d1{animation-delay:.08s}.d2{animation-delay:.16s}.d3{animation-delay:.24s}
.d4{animation-delay:.32s}.d5{animation-delay:.4s}.d6{animation-delay:.48s}
.d7{animation-delay:.56s}.d8{animation-delay:.64s}

/* word-by-word headline reveal */
.kinetic .w{display:inline-block;opacity:0}
.kinetic.is-in .w{animation:revWord .7s var(--ease) both}

/* safety net: if the animation clock never runs (e.g. throttled/hidden tab),
   a JS timer adds .force-show so content is NEVER stranded at opacity:0.
   Cards & the centered phrase keep their static 3D transform (no transform reset). */
.force-show{opacity:1!important;animation:none!important}
.force-show:not(.hcard):not(.hero-center){transform:none!important}
.force-show .w{opacity:1!important;transform:none!important;animation:none!important}

/* ---------- typography ---------- */
.eyebrow{
  font-family:var(--mono);font-size:12px;letter-spacing:.22em;text-transform:uppercase;
  color:var(--blue);font-weight:600;
}
.scene--ink .eyebrow{color:var(--amber-soft)}
h1.display{
  font-size:clamp(38px,6.4vw,82px);line-height:.98;font-weight:800;letter-spacing:-.03em;
  text-wrap:balance;
}
h2.title{
  font-size:clamp(30px,4.4vw,56px);line-height:1.03;font-weight:800;letter-spacing:-.025em;
  text-wrap:balance;
}
.lead{font-size:clamp(16px,1.4vw,20px);line-height:1.55;color:var(--muted);max-width:54ch;font-weight:420}
.grad{
  background:linear-gradient(100deg,var(--blue),var(--amber));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
}
.amber{color:var(--amber)}.blue{color:var(--blue)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.5em;font-weight:600;font-size:16px;
  padding:15px 26px;border-radius:14px;transition:transform .35s var(--ease),box-shadow .35s var(--ease),background .25s;
  cursor:pointer;border:1px solid transparent;will-change:transform}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--blue);color:#fff;box-shadow:0 10px 30px -10px rgba(29,78,216,.6)}
.btn--primary:hover{box-shadow:0 18px 44px -12px rgba(29,78,216,.7)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:rgba(29,78,216,.4)}
.scene--ink .btn--ghost{color:#eef2fb;border-color:rgba(255,255,255,.18)}
.btn .arr{transition:transform .35s var(--ease)}
.btn:hover .arr{transform:translateX(4px)}

.micro{font-family:var(--mono);font-size:12px;color:var(--muted-2);letter-spacing:.02em}

/* ---------- nav (anchored at top of hero — scrolls away with it) ---------- */
.nav{position:absolute;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:space-between;
  padding:18px 6vw}
.nav .logo{height:26px;width:auto;transition:filter .4s}
.nav.on-ink .logo{filter:brightness(0) invert(1)}
.nav-auth{display:flex;gap:12px;align-items:center}
.nav-login{font-size:14px;font-weight:600;color:var(--ink);padding:9px 16px;border-radius:11px;
  border:1px solid transparent;transition:color .25s,background .25s}
.nav-login:hover{background:rgba(15,23,41,.05)}
.nav.on-ink .nav-login{color:#eef2fb}
.nav.on-ink .nav-login:hover{background:rgba(255,255,255,.1)}
.nav-cta{font-size:14px;font-weight:600;padding:9px 18px;border-radius:11px;background:var(--blue);color:#fff;transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 10px 26px -10px rgba(29,78,216,.6)}
/* "Planos" shortcut — appears from the 4th screen onward, jumps to the pricing screen */
.nav-plans{font-size:14px;font-weight:500;padding:9px 14px;border-radius:10px;color:var(--ink-2);opacity:0;pointer-events:none;transition:opacity .35s var(--ease),background .2s}
.nav-plans.show{opacity:1;pointer-events:auto}
.nav-plans:hover{background:rgba(20,40,90,.06)}
.nav.on-dark .nav-plans,.nav.on-ink .nav-plans{color:#eef2fb}
.nav.on-dark .nav-plans:hover,.nav.on-ink .nav-plans:hover{background:rgba(255,255,255,.1)}

/* ---------- chapter rail (removed — kept hidden) ---------- */
.rail{display:none !important}
.rail button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;justify-content:flex-end}
.rail .dot{width:9px;height:9px;border-radius:50%;background:var(--line);transition:all .4s var(--ease);box-shadow:0 0 0 0 rgba(245,158,11,0)}
.rail button[aria-current="true"] .dot{background:var(--amber);transform:scale(1.5);box-shadow:0 0 0 5px rgba(245,158,11,.18)}
.rail .lbl{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--muted-2);
  opacity:0;transform:translateX(8px);transition:all .4s var(--ease);white-space:nowrap;text-transform:uppercase}
.rail button:hover .lbl,.rail button[aria-current="true"] .lbl{opacity:1;transform:none}
.rail.on-ink .lbl{color:#8c9bba}
.rail.on-ink .dot{background:rgba(255,255,255,.2)}
.rail.on-ink button[aria-current="true"] .dot{background:var(--amber)}
@media(max-width:860px){.rail{display:none}}

/* progress bar */
.progress{position:fixed;left:0;top:0;height:3px;background:linear-gradient(90deg,var(--blue),var(--amber));z-index:61;width:0;transition:width .15s linear}

/* scroll hint */
.hint{position:absolute;bottom:30px;left:0;right:0;margin-inline:auto;width:max-content;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:5}
.hint .txt{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-2)}
.hint .mouse{width:22px;height:34px;border:2px solid var(--muted-2);border-radius:12px;position:relative}
.hint .mouse::after{content:"";position:absolute;top:6px;left:50%;width:3px;height:6px;background:var(--muted-2);border-radius:2px;transform:translateX(-50%);animation:wheel 1.6s var(--ease) infinite}
@keyframes wheel{0%{opacity:0;top:6px}40%{opacity:1}100%{opacity:0;top:16px}}

/* the signal dot (continuity element) */
#signal{position:fixed;width:16px;height:16px;border-radius:50%;background:var(--amber);z-index:40;pointer-events:none;
  box-shadow:0 0 0 6px rgba(245,158,11,.18),0 0 26px 4px rgba(245,158,11,.6);
  transition:transform 1.1s var(--ease-soft),opacity .6s,width .8s,height .8s;left:0;top:0}
#signal.hidden{opacity:0}

/* decorative grid background */
.grid-bg{position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:64px 64px;mask-image:radial-gradient(ellipse 70% 70% at 50% 45%,#000 30%,transparent 78%);
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 45%,#000 30%,transparent 78%);opacity:.6}
.scene--ink .grid-bg{background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px)}
.glow{position:absolute;border-radius:50%;filter:blur(80px);z-index:0;pointer-events:none;opacity:.5}
