/* Conceito: o produto é o herói. Faixas azul Ligaí abrem e fecham a página, telas do SmartOps desenhadas em HTML contam a história, o marca-texto amarelo do Ligaí destaca a ideia de cada seção. */
:root {
  --navy-950: #00122e;
  --navy-900: #011a40;
  --navy: #012357;
  --blue: #0d50d5;
  --blue-bright: #0569ff;
  --cyan: #00beee;
  --cyan-soft: #c3e9ff;
  --yellow: #ffd200;
  --orange: #ff6b00;
  --orange-hover: #ff8424;
  --flame-1: #ffe838;
  --flame-2: #ff9a00;
  --flame-3: #ff1f1f;

  --ink: #12213a;
  --ink-2: #4a5b78;
  --ink-3: #7b8aa3;
  --line: #dde6f2;
  --paper: #f4f7fc;
  --paper-2: #eaf1fb;
  --white: #ffffff;
  --ok: #138a52;
  --ok-soft: #e3f6ec;
  --warn: #b35c00;
  --warn-soft: #fff1dc;
  --bad: #c62828;
  --bad-soft: #fdeaea;
  --note: #fff4c2;

  --app-text: #253b56;
  --app-line: #e3e9f1;
  --app-bg: #f6f8fb;
  --chat-bg: #efeae2;
  --bubble-out: #dcf8c6;

  --font-display: "Reddit Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Reddit Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Reddit Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --radius: 14px;
  --shadow-window: 0 40px 80px -30px rgba(0, 18, 46, .55), 0 12px 30px -12px rgba(0, 18, 46, .35);
  --shadow-card: 0 18px 40px -22px rgba(1, 35, 87, .35);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-900); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.eyebrow {
  font: 600 13px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--flame-1), var(--flame-2) 50%, var(--flame-3)); }
.on-dark .eyebrow { color: var(--cyan); }

.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .02em; height: .32em;
  background: var(--yellow); border-radius: 4px; transform: skewX(-8deg);
}
.on-dark .mark { color: var(--white); }
.on-dark .mark::after { background: var(--yellow); opacity: .92; height: .14em; bottom: -.04em; }

.btn {
  --b: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--font-body); letter-spacing: 0; text-decoration: none; cursor: pointer;
  background: var(--b); color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(255, 107, 0, .8);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-line { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn .play { width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 10px; margin-left: -8px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent; transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.solid .brand .logo-light { display: none; }
.site-header.solid .brand .logo-dark { display: block; }
.brand-product { font: 800 19px/1 var(--font-display); letter-spacing: -0.02em; padding-left: 12px; border-left: 1.5px solid rgba(255, 255, 255, .35); }
.site-header.solid .brand { color: var(--navy); }
.site-header.solid .brand-product { border-color: var(--line); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .1); }
.site-header.solid .nav a { color: var(--ink-2); }
.site-header.solid .nav a:hover, .site-header.solid .nav a[aria-current="page"] { color: var(--navy); background: var(--paper-2); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta .login { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; }
.site-header.solid .header-cta .login { color: var(--navy); }
.light-top .site-header:not(.solid) .brand { color: var(--navy); }

/* Topo */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background:
    radial-gradient(1100px 520px at 82% 8%, rgba(0, 190, 238, .28), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(5, 105, 255, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy) 45%, var(--blue) 100%);
  margin-top: -72px; padding-top: 72px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-copy { padding-block: 64px 40px; display: grid; gap: 26px; justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; max-width: 15ch; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .84); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.channel-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--white); font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip .ico { width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; font-size: 12px; }

/* Demonstração do topo */
.stage { position: relative; padding-bottom: 0; }
.stage-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  max-width: 1080px; margin: 0 auto 18px; list-style: none; padding: 0;
}
.stage-steps li {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .7); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.stage-steps li b { font: 700 12px/22px var(--font-mono); width: 22px; height: 22px; text-align: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); flex-shrink: 0; }
.stage-steps li.is-current { background: rgba(255, 255, 255, .16); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--yellow); }
.stage-steps li.is-current b { background: var(--yellow); color: var(--navy); }

.window {
  position: relative; margin: 0 auto; max-width: 1080px;
  background: var(--white); color: var(--app-text);
  border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: var(--shadow-window);
  font-family: var(--font-body); letter-spacing: 0;
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #eef2f7; border-bottom: 1px solid var(--app-line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5dce6; }
.window-bar .url { margin-left: 14px; font: 500 12px/1 var(--font-mono); color: var(--ink-3); background: var(--white); padding: 6px 12px; border-radius: 6px; }
.window-body { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 470px; }
.rail { background: linear-gradient(180deg, #0a3a8f, #0d50d5 60%, #1b8fe0); display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 14px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.rail img { width: 28px; height: 28px; margin-bottom: 6px; }
.rail .on { color: var(--white); background: rgba(255, 255, 255, .18); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); min-width: 0; }
.pane { min-width: 0; border-right: 1px solid var(--app-line); display: flex; flex-direction: column; }
.pane:last-child { border-right: 0; }
.pane-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--app-line); font-weight: 700; font-size: 14px; color: var(--navy); min-height: 50px; }
.pane-head .fa-solid, .pane-head svg { color: var(--blue); }
.pane-head small { margin-left: auto; font: 500 11px/1 var(--font-mono); color: var(--ink-3); }

.tabs { display: flex; gap: 6px; padding: 10px 12px 6px; }
.tabs span { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--app-line); color: var(--ink-2); white-space: nowrap; }
.tabs span.on { background: #e8f0fe; border-color: #b9cff7; color: var(--blue); }
.tabs em { font-style: normal; background: var(--blue); color: var(--white); border-radius: 999px; padding: 0 6px; margin-left: 3px; font-size: 11px; }
.convo { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; margin: 4px 8px; border-radius: 10px; font-size: 12.5px; line-height: 1.3; transition: background-color .3s ease, box-shadow .3s ease; }
.convo .av { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white); position: relative; font-size: 13px; }
.convo .av img { position: absolute; right: -4px; bottom: -3px; width: 16px; height: 16px; background: var(--white); border-radius: 50%; padding: 1px; }
.convo b { font-size: 13px; color: var(--navy); }
.convo time { font: 500 11px/1 var(--font-mono); color: var(--ink-3); }
.convo p { grid-column: 2 / 4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo.active { background: #eaf2fe; box-shadow: inset 0 0 0 1px #c6dafa; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-ai { background: #ece6ff; color: #5b3cc4; }
.pill-human { background: var(--ok-soft); color: var(--ok); }
.pill-time { background: #eef2f7; color: var(--ink-2); font-family: var(--font-mono); font-weight: 500; }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--bad-soft); color: var(--bad); }
.pill-blue { background: #e8f0fe; color: var(--blue); }

.chat { flex: 1; background: var(--chat-bg); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--app-line); min-height: 50px; }
.chat-head .av { width: 32px; height: 32px; border-radius: 50%; background: #f59e0b; color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.chat-head b { display: block; font-size: 13.5px; color: var(--navy); }
.chat-head span { font-size: 11.5px; color: var(--ink-3); }
.chat-head .pill { margin-left: auto; }
.msg { max-width: 84%; padding: 7px 10px 6px; border-radius: 9px; background: var(--white); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg time { display: block; text-align: right; font: 500 10px/1 var(--font-mono); color: var(--ink-3); margin-top: 3px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); }
.msg .who { display: block; font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.msg.note { align-self: stretch; max-width: none; background: var(--note); border: 1px solid #f1df8a; }
.msg.note .who { color: #8a6d00; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 9px; background: var(--bubble-out); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #6b8f5e; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.board { flex: 1; background: var(--app-bg); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.lane { background: #eef2f8; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 7px; min-height: 300px; }
.lane h5 { margin: 0 0 2px; font: 700 12px/1.2 var(--font-body); color: var(--navy); display: flex; justify-content: space-between; letter-spacing: 0; }
.lane h5 span { font: 500 11px/1 var(--font-mono); color: var(--ink-3); }
.tk { background: var(--white); border-radius: 8px; padding: 8px 9px; box-shadow: 0 1px 2px rgba(18, 33, 58, .1); font-size: 11.5px; line-height: 1.3; border-left: 3px solid var(--blue); }
.tk code { font: 600 10.5px/1 var(--font-mono); color: var(--blue); }
.tk b { display: block; margin: 4px 0; font-size: 12px; color: var(--navy); }
.tk small { color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tk .pill { font-size: 10px; padding: 2px 6px; }
.tk.hot { border-left-color: var(--orange); box-shadow: 0 0 0 2px rgba(255, 107, 0, .35), 0 6px 14px -6px rgba(255, 107, 0, .5); }
.tk.muted { opacity: .75; }
.robot { margin-top: 2px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 6px; padding: 4px 6px; }

.demo [data-at] { transition: opacity .45s ease, transform .45s ease; }
.demo.playing [data-at]:not(.on) { opacity: 0; transform: translateY(8px); }
.demo:not(.playing) [data-until], .demo.playing [data-until].gone { display: none; }

.float-card {
  position: absolute; z-index: 3; background: var(--white); color: var(--app-text); border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 24px 40px -18px rgba(0, 18, 46, .6); font-size: 13px; line-height: 1.35; display: flex; gap: 10px; align-items: center;
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--white); flex-shrink: 0; }
.float-card b { display: block; color: var(--navy); font-size: 13.5px; }
.float-card span { color: var(--ink-3); font-size: 12px; }
.float-a { left: -168px; top: 96px; width: 220px; }
.float-b { right: -168px; top: 340px; width: 220px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Seções */
.section { padding-block: 104px; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; color: var(--navy); }
.section-head p { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.bg-paper { background: var(--paper); }
.bg-navy { background: linear-gradient(170deg, var(--navy-950), var(--navy) 60%, #0a3a8f); color: var(--white); }
.bg-navy .section-head h2 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255, 255, 255, .78); }

/* Dor */
.scatter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.scatter h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--navy); font-weight: 800; }
.scatter-copy { display: grid; gap: 18px; }
.scatter-copy p { color: var(--ink-2); font-size: 18px; }
.scatter-board { position: relative; min-height: 390px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.scrap {
  position: absolute; background: var(--white); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 10px 22px -14px rgba(18, 33, 58, .5); display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.scrap s { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.scrap .fa-solid, .scrap .fa-brands, .scrap svg { color: var(--ink-3); }
.scrap.s1 { left: 4%; top: 6%; transform: rotate(-4deg); }
.scrap.s2 { right: 5%; top: 7%; transform: rotate(3deg); }
.scrap.s3 { left: 5%; bottom: 23%; transform: rotate(2deg); }
.scrap.s4 { left: 28%; bottom: 5%; transform: rotate(-3deg); }
.scrap.s5 { right: 10%; top: 23%; transform: rotate(1deg); }
.scrap.s6 { right: 4%; bottom: 22%; transform: rotate(-1deg); }
.scatter-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(150deg, var(--navy), var(--blue)); color: var(--white); border-radius: 18px; padding: 18px 22px;
  display: grid; gap: 4px; justify-items: center; text-align: center; box-shadow: 0 24px 50px -20px rgba(13, 80, 213, .8);
}
.scatter-core b { font: 800 24px/1 var(--font-display); letter-spacing: -0.02em; }
.scatter-core span { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* Módulos */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; align-content: start; }
.feature-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue); font-size: 15px; }
.feature-tag .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e8f0fe; color: var(--blue); }
.feature h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--navy); }
.feature-copy > p { color: var(--ink-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink); font-size: 16px; line-height: 1.45; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23138a52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.visual {
  position: relative; border-radius: 22px; padding: 28px; min-width: 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(0, 190, 238, .18), transparent 60%),
    linear-gradient(160deg, #e9f1ff, #f6f9ff);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-ui { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-card); color: var(--app-text); font-size: 13.5px; line-height: 1.4; overflow: hidden; letter-spacing: 0; }
.card-ui + .card-ui { margin-top: 14px; }
.card-ui header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--app-line); font-weight: 700; color: var(--navy); }
.card-ui header small { margin-left: auto; font: 500 11px/1 var(--font-mono); color: var(--ink-3); font-weight: 500; }
.card-ui .body { padding: 14px 16px; }

/* Conversas: contato com vários canais */
.thread { display: grid; gap: 0; }
.thread-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 16px; border-top: 1px solid var(--app-line); }
.thread-item:first-child { border-top: 0; }
.thread-item img { width: 28px; height: 28px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--app-line); padding: 3px; }
.thread-item .glyph { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #e8f0fe; color: var(--blue); font-size: 13px; }
.thread-item b { display: block; color: var(--navy); font-size: 13px; }
.thread-item p { color: var(--ink-2); font-size: 13px; }
.thread-item time { font: 500 11px/1.6 var(--font-mono); color: var(--ink-3); white-space: nowrap; }
.contact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--app-line); }
.contact .av { width: 42px; height: 42px; border-radius: 50%; background: #0ea5a4; color: var(--white); display: grid; place-items: center; font-weight: 700; }
.contact b { display: block; color: var(--navy); font-size: 15px; }
.contact span { color: var(--ink-3); font-size: 12.5px; }
.contact .pill { margin-left: auto; }

/* Agente de IA */
.intent { display: grid; grid-template-columns: minmax(0, 1.3fr) 18px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--app-line); font-size: 13px; }
.intent:first-of-type { border-top: 0; }
.intent .say { color: var(--ink); }
.intent .say i { font-style: normal; color: var(--ink-3); display: block; font-size: 11.5px; }
.intent .to { display: grid; gap: 2px; }
.intent .to b { color: var(--navy); font-size: 12.5px; }
.intent .to span { color: var(--ink-3); font-size: 11.5px; }
.intent .arrow { color: var(--ink-3); }
.switch { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--app-line); font-size: 13px; }
.switch i.t { width: 34px; height: 20px; border-radius: 999px; background: var(--blue); position: relative; flex-shrink: 0; }
.switch i.t::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }

/* Board grande */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; background: var(--app-bg); }
.kanban .lane { min-height: 0; }
.stage-path { display: flex; gap: 2px; padding: 12px 16px 0; }
.stage-path span { flex: 1; text-align: center; font-size: 11px; font-weight: 700; padding: 7px 4px; background: #e9eef6; color: var(--ink-3); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-path span.done { background: #cfe0fb; color: var(--blue); }
.stage-path span.now { background: var(--blue); color: var(--white); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; }
.field label { display: block; font-size: 11px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.field div { border: 1px solid var(--app-line); border-radius: 7px; padding: 7px 9px; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outcome { display: flex; align-items: center; gap: 10px; margin: 0 16px 14px; padding: 10px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 13px; }
.outcome span { color: var(--ink-2); font-weight: 500; }

/* Fluxo de robôs */
.flow { display: flex; align-items: center; gap: 0; padding: 22px 16px; overflow-x: auto; }
.node { flex: 0 0 auto; display: grid; justify-items: center; gap: 8px; text-align: center; width: 96px; font-size: 11.5px; color: var(--ink-2); line-height: 1.25; }
.node .disc { width: 54px; height: 54px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 3px #cfe0fb, 0 8px 18px -10px rgba(13, 80, 213, .7); color: var(--blue); font-size: 20px; }
.node .disc img { width: 30px; height: 30px; }
.node b { color: var(--navy); font-size: 12px; }
.node.trigger .disc { box-shadow: 0 0 0 3px #ffe3c7, 0 8px 18px -10px rgba(255, 107, 0, .7); color: var(--orange); }
.wire { flex: 1 0 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 13px); margin-bottom: 40px; min-width: 22px; background-size: 26px 3px; animation: flowwire 1.2s linear infinite; }
@keyframes flowwire { to { background-position: 26px 0; } }
.ligia { display: grid; gap: 10px; padding: 14px 16px; }
.ligia .ask { background: #eef2f8; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 13px; }
.ligia .ask b { color: var(--blue); font-size: 11.5px; display: block; }
.trigger-card { border: 1.5px solid #c6dafa; border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: 12.5px; }
.trigger-card h6 { margin: 0; font: 700 13.5px/1.2 var(--font-body); color: var(--navy); display: flex; align-items: center; gap: 8px; letter-spacing: 0; }
.trigger-card dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 10px; margin: 0; }
.trigger-card dt { color: var(--ink-3); font: 600 10.5px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.trigger-card dd { margin: 0; color: var(--ink); }
.trigger-actions { display: flex; gap: 8px; }
.mini-btn { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 7px; background: var(--blue); color: var(--white); }
.mini-btn.line { background: var(--white); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--app-line); }

/* Agenda */
.week { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); font-size: 11.5px; }
.week .dh { padding: 8px 6px; text-align: center; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--app-line); }
.week .dh b { display: block; font: 700 17px/1.1 var(--font-display); color: var(--navy); }
.week .dh.today b { color: var(--white); background: var(--blue); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; margin: 2px auto 0; font-size: 14px; }
.week .hr { font: 500 10px/1 var(--font-mono); color: var(--ink-3); padding: 4px 6px 0 0; text-align: right; height: 46px; border-right: 1px solid var(--app-line); }
.week .col { position: relative; border-right: 1px solid var(--app-line); background-image: linear-gradient(var(--app-line) 1px, transparent 1px); background-size: 100% 46px; grid-row: 2 / span 6; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 7px; padding: 4px 6px 4px 8px; font-size: 11px; line-height: 1.25; overflow: hidden; border-left: 4px solid; }
.ev b { display: block; font-size: 11px; }
.ev.c1 { background: #e5efff; border-color: #2f6fe4; color: #183f86; }
.ev.c2 { background: #fff0e0; border-color: #f08a1c; color: #7a3d00; }
.ev.c3 { background: #e4f7ee; border-color: #1f9d63; color: #0f5a37; }
.ev.c4 { background: #f1e9ff; border-color: #7c4ddb; color: #44238e; }
.ev.done { opacity: .6; }
.ev.done b::before { content: "✓ "; }
.ev.dragging { box-shadow: 0 10px 20px -8px rgba(18, 33, 58, .45); outline: 2px dashed currentColor; outline-offset: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--app-line); font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* Painel */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; }
.kpi { border: 1px solid var(--app-line); border-radius: 10px; padding: 10px 12px; }
.kpi span { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.kpi b { display: block; font: 800 22px/1.1 var(--font-display); color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-top: 4px; }
.kpi small { color: var(--ok); font-size: 11px; font-weight: 700; white-space: nowrap; }
.chart-wrap { padding: 4px 16px 10px; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.risk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--app-line); font-size: 12.5px; }
.risk code { font: 600 11px/1 var(--font-mono); color: var(--blue); }
.risk span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Vídeo e aulas */
.film { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.film-player {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); max-width: 100%;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); cursor: pointer; border: 0; padding: 0; width: 100%; color: var(--white);
}
.film-player img, .film-player video { width: 100%; height: 100%; object-fit: cover; }
.film-player .big-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center; font-size: 26px; box-shadow: 0 0 0 12px rgba(255, 107, 0, .25); transition: transform .2s ease;
}
.film-player:hover .big-play { transform: translate(-50%, -50%) scale(1.06); }
.film-player .tag { position: absolute; left: 16px; bottom: 16px; font: 600 12px/1 var(--font-mono); background: rgba(0, 18, 46, .7); padding: 8px 10px; border-radius: 8px; letter-spacing: .04em; }
.film-copy { display: grid; gap: 18px; }
.film-copy h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.film-copy p { color: rgba(255, 255, 255, .78); font-size: 18px; }
.lessons-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 88px 0 24px; }
.lessons-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.lessons-head p { color: rgba(255, 255, 255, .72); max-width: 58ch; margin-top: 8px; }
.lessons-head a { color: var(--yellow); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lessons-head a:hover { text-decoration: underline; }
.lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lesson { display: grid; gap: 12px; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.lesson .thumb { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); max-width: 100%; }
.lesson .thumb { display: block; }
.lesson .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lesson:hover .thumb img { transform: scale(1.04); }
.lesson .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 18, 46, .7)); }
.lesson .dur { color: var(--white); position: absolute; right: 10px; bottom: 10px; z-index: 1; font: 600 12px/1 var(--font-mono); background: rgba(0, 18, 46, .8); padding: 6px 8px; border-radius: 6px; }
.lesson .pb { position: absolute; left: 12px; bottom: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 12px; }
.lesson b { font-size: 17px; line-height: 1.3; }
.lesson .desc { color: rgba(255, 255, 255, .66); font-size: 14px; line-height: 1.45; }
.lesson-num { font: 600 12px/1 var(--font-mono); color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }

/* Integrações */
.integr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-wall span { aspect-ratio: 1; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 10px 20px -16px rgba(1, 35, 87, .5); display: grid; place-items: center; padding: 14px; max-width: 100%; }
.logo-wall img { width: 100%; height: 100%; object-fit: contain; }
.logo-wall .more { background: var(--navy); color: var(--white); font: 800 18px/1.1 var(--font-display); text-align: center; padding: 8px; }
.logo-wall .more small { display: block; font: 600 10px/1.2 var(--font-body); color: rgba(255, 255, 255, .75); margin-top: 3px; }
.big-number { font: 800 clamp(64px, 8vw, 104px)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--navy); }
.big-number em { font-style: normal; color: var(--blue); }
.integr-copy { display: grid; gap: 18px; }
.integr-copy > p { color: var(--ink-2); font-size: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.mini-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.mini-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #e8f0fe; color: var(--blue); font-size: 17px; }
.mini-card h4 { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.mini-card p { color: var(--ink-2); font-size: 15.5px; }
.mini-card code { font: 500 12px/1.5 var(--font-mono); color: var(--navy); background: var(--paper-2); border-radius: 8px; padding: 8px 10px; display: block; overflow-x: auto; white-space: nowrap; }

/* Controle */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.trust div { padding: 28px 24px; display: grid; gap: 12px; align-content: start; border-right: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.trust div:last-child { border-right: 0; }
.trust .ic { font-size: 22px; color: var(--yellow); }
.trust h4 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.trust p { color: rgba(255, 255, 255, .74); font-size: 15px; }

/* Soluções */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; min-width: 0; }
.use:hover { box-shadow: 0 0 0 2px var(--blue), 0 16px 30px -20px rgba(13, 80, 213, .7); transform: translateY(-2px); }
.use .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--white); font-size: 17px; }
.use b { display: block; font-size: 17px; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.use span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; display: block; }

/* Perguntas */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--blue); display: grid; place-items: center; font: 700 18px/1 var(--font-body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); font-size: 16px; }

/* Chamada final */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--white);
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(0, 190, 238, .35), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
}
.cta-inner { padding-block: 104px; display: grid; gap: 24px; justify-items: center; }
.cta h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, .82); font-size: 19px; max-width: 54ch; }
.cta .plug { position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 360px; opacity: .14; }

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding-block: 36px; }
.footer-row img { height: 26px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-note { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* Player em diálogo */
.player-dialog { border: 0; padding: 0; background: transparent; width: min(1100px, calc(100vw - 32px)); max-width: none; }
.player-dialog::backdrop { background: rgba(0, 12, 32, .82); backdrop-filter: blur(4px); }
.player-dialog video { width: 100%; border-radius: 14px; background: #000; aspect-ratio: 16 / 9; }
.player-top { display: flex; align-items: center; gap: 16px; color: var(--white); margin-bottom: 12px; }
.player-top b { font-size: 18px; }
.player-top span { color: rgba(255, 255, 255, .7); font-size: 14px; display: block; }
.player-close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 18px; cursor: pointer; flex-shrink: 0; }
.player-close:hover { background: rgba(255, 255, 255, .24); }

/* Página de soluções */
.page-hero { padding-block: 72px 80px; display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; max-width: 17ch; }
.page-hero p { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 62ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.jump a { text-decoration: none; color: var(--white); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.jump a:hover { background: rgba(255, 255, 255, .2); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-block: 72px; border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; }
.case.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.case.flip .case-copy { order: 2; }
.case-copy { display: grid; gap: 16px; }
.case-area { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.case-area .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--white); font-size: 15px; }
.case h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--navy); }
.case-copy > p { color: var(--ink-2); font-size: 18px; }
.steps { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy); }

.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--blue); font: 700 12px/26px var(--font-mono); text-align: center; }
.case .lesson .desc { color: var(--ink-2); }
.case .lesson b { color: var(--navy); }
.case .lesson .thumb { box-shadow: 0 30px 60px -30px rgba(1, 35, 87, .55), 0 0 0 1px var(--line); border-radius: 18px; }
.case .lesson-num { color: var(--blue); }

/* Responsivo */
@media (max-width: 1439px) {
  .float-card { display: none; }
}
@media (max-width: 1080px) {
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .demo .pane-board { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .scatter, .feature, .feature.flip, .integr, .faq, .film, .case, .case.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.flip .feature-copy, .case.flip .case-copy { order: 0; }
  .feature + .feature { margin-top: 88px; }
  .cards-3, .uses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .lessons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .header-cta .login { display: none; }
  .header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .brand-product { display: none; }
  .hero-copy { padding-block: 40px 28px; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo .pane-list { display: none; }
  .window-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rail { display: none; }
  .cards-3, .uses, .lessons { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .trust div:last-child { border-bottom: 0; }
  .kanban { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kanban .lane:nth-child(n+3) { display: none; }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-wall span:nth-child(n+12):not(.more) { display: none; }
  .visual { padding: 14px; }
  .week { grid-template-columns: 36px repeat(3, minmax(0, 1fr)); }
  .week .d4, .week .d5 { display: none; }
  .scatter-board { min-height: 380px; }
  .scrap { font-size: 12.5px; padding: 8px 10px; }
  .scrap.s5, .scrap.s6 { display: none; }
  .footer-note { margin-left: 0; }
  .intent { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .intent .arrow { display: none; }
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 8px; justify-items: center; }
  .flow .wire { display: none; }
}
@media (max-width: 460px) {
  .stage-steps { grid-template-columns: minmax(0, 1fr); }
  .stage-steps li:not(.is-current) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.chart-legend { display: flex; gap: 16px; padding: 2px 16px 0; font-size: 12px; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 16px; height: 0; border-top: 2.5px solid #0d50d5; }
.chart-legend i.dash { border-top: 2.5px dashed #1f9d63; }
.chip .ico.wa, .thread-item .glyph.wa { background: #25d366; color: #fff; }
.thread-item .glyph.wa { font-size: 16px; }
.convo .av .badge { position: absolute; right: -4px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; box-shadow: 0 0 0 2px #fff; }
.convo .av .badge.wa { background: #25d366; color: #fff; }

/* As IAs */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ai-card { background: rgba(255, 255, 255, .06); border-radius: 20px; padding: 24px; display: grid; gap: 16px; align-content: start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); min-width: 0; }
.ai-head { display: flex; align-items: center; gap: 14px; }
.ai-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ai-head span:not(.ai-ic) { display: block; margin-top: 4px; font: 600 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ai); filter: brightness(1.35); }
.ai-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ai); color: var(--white); font-size: 21px; flex-shrink: 0; box-shadow: 0 12px 26px -12px var(--ai); }
.ai-ic img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.ai-card > p { color: rgba(255, 255, 255, .8); font-size: 16px; }
.ai-ui { background: var(--chat-bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; color: var(--app-text); font-size: 13px; line-height: 1.4; letter-spacing: 0; }
.ai-ui .msg { max-width: 90%; }
.ai-result { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 8px; padding: 6px 9px; }
.ai-rule { align-self: stretch; background: var(--white); border-radius: 10px; box-shadow: inset 0 0 0 1.5px #ffd2ad; padding: 10px 12px; display: grid; gap: 6px; justify-items: start; }
.ai-rule b { color: var(--navy); font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.ai-rule b svg, .ai-rule b i { color: var(--orange); }
.ai-rule > span:not(.mini-btn) { color: var(--ink-2); font-size: 12.5px; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ai-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .86); line-height: 1.4; }
.ai-list li::before { content: ""; width: 8px; height: 8px; margin: 6px 0 0 4px; border-radius: 50%; background: var(--yellow); }
@media (max-width: 980px) { .ai-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

.demo-dialog { border: 0; padding: 0; width: min(640px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-window); overflow: auto; }
.demo-dialog::backdrop { background: rgba(0, 12, 32, .72); backdrop-filter: blur(4px); }
.demo-form, .demo-done { padding: 28px; }
.demo-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.demo-head h2, .demo-done h2 { margin: 6px 0 6px; font: 800 26px/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--navy); }
.demo-head p, .demo-done p { margin: 0; color: var(--ink-2); font-size: 16px; }
.demo-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink-2); font-size: 16px; cursor: pointer; flex-shrink: 0; }
.demo-close:hover { background: var(--paper-2); color: var(--navy); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.demo-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.demo-wide { grid-column: 1 / -1; }
.demo-field > span { font-weight: 600; font-size: 14px; color: var(--ink); }
.demo-field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.demo-field input, .demo-field select, .demo-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s; }
.demo-field textarea { resize: vertical; min-height: 90px; }
.demo-field input:focus, .demo-field select:focus, .demo-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13, 80, 213, .15); }
.demo-field [aria-invalid="true"] { border-color: var(--bad); }
.demo-hint { min-height: 18px; font-size: 13px; color: var(--ink-3); }
.demo-hint[data-tipo="erro"] { color: var(--bad); }
.demo-hint[data-tipo="ok"] { color: var(--ok); font-weight: 600; }
.demo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: 14px; }
.demo-error a { color: inherit; font-weight: 600; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.demo-submit.is-loading { opacity: .7; pointer-events: none; }
.demo-alt { color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.demo-alt:hover { text-decoration: underline; }
.demo-legal { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.demo-done { text-align: center; }
.demo-done .demo-actions { justify-content: center; }
.demo-check { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 26px; margin-bottom: 8px; }
@media (max-width: 560px) {
  .demo-form, .demo-done { padding: 20px 16px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-head h2, .demo-done h2 { font-size: 22px; }
  .demo-actions .btn { width: 100%; justify-content: center; }
}
