/* Summum · summum.tec.br
   Gerado por build_site.py a partir da versão B (Operação). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Versão B · "Operação" (referência: lev.com)
   Layout: abertura de tela cheia em azul-marinho com interfaces reais, título em dois tempos,
   grade de rotinas com verbo forte, assistente que responde perguntas, abas por área. */
:root {
  --bg: #0A111D;
  --bg-2: #0D1626;
  --surface: #121D30;
  --surface-2: #17253D;
  --ink: #F2F5FA;
  --muted: #9AA7BD;
  --faint: #76839B;
  --line: #1E2B42;
  --line-strong: #2A3A57;
  --accent: #0868FE;
  --accent-hover: #2F80FF;
  --on-accent: #FFFFFF;
  --link: #8DB8FF;
  --focus: #8DB8FF;
  --navy: #062758;
  --ok: #5FD094;
  --ok-bg: rgba(95, 208, 148, .14);
  --chart: #3D88FF;
  --chart-hover: #A9CBFF;
  --chat-bg: #0B1526;
  --bubble-in: #17253D;
  --bubble-out: #1B4434;
  --chat-bar: #062758;
  --cell-hl: #4A3D10;
  --pill-text: #A9CBFF;
  --done: #3D88FF;
  --shadow-window: 0 28px 60px -32px rgba(0, 0, 0, .8);
  --radius-ui: 12px;

  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ui-font: var(--font-text);

  --wrap: 1280px;
  --section: clamp(104px, 12vw, 192px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6; -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: 30; background: var(--bg); }
::selection { background: var(--accent); color: #FFFFFF; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
a, button, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(8, 104, 254, .2); }
html { scrollbar-color: var(--line-strong) var(--bg); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--accent); color: #FFFFFF; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; max-width: 24em; }
.h2 span { color: var(--muted); }
.h2-center { text-align: center; margin-inline: auto; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--muted); max-width: 36em; }
.text-link { color: var(--link); font-weight: 600; text-underline-offset: 4px; }

/* Botões em pílula, como na referência */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: .9375rem; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.pill-primary { background: var(--accent); color: #FFFFFF; }
.pill-primary:hover { background: var(--accent-hover); }
.pill-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--line-strong); }
.pill-ghost:hover { border-color: var(--ink); }
.pill-lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10, 17, 29, .92); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; color: #FFFFFF; }
.logo-svg { height: 32px; width: auto; display: block; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .9375rem; font-weight: 500; opacity: .85; }
.site-nav a:hover { opacity: 1; }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .header-inner { gap: 10px; height: 60px; }
  .logo-svg { height: 28px; }
  .header-actions { margin-left: auto; }
  .header-secondary { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; } .menu-icon::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 60px; left: 0; right: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); opacity: 1; }
}

/* Abertura */
.hero { position: relative; min-height: clamp(640px, 92vh, 920px); display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; isolation: isolate; padding-block: 120px clamp(56px, 8vh, 96px); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, rgba(6, 39, 88, 0) 0%, rgba(6, 39, 88, .85) 70%); z-index: -1; pointer-events: none; }
.hero-symbol { position: absolute; z-index: -3; width: min(1100px, 90vw); right: -14vw; top: -18%; color: #0B347A; opacity: .55; }
.hero-symbol .symbol-svg { width: 100%; height: auto; display: block; }
.hero-symbol path[fill="#0868FE"] { fill: #0A49B5; }
.hero-copy { width: 100%; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); line-height: 1.04; letter-spacing: -0.045em; color: #FFFFFF; }
.hero h1 .l { display: block; }
.hero-sub { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: #D4DEF0; max-width: 31em; }
.hero-note { font-size: .875rem; color: #A9BCE0; }
.hero-collage { position: absolute; z-index: -2; right: max(28px, 4vw); top: 112px; width: min(560px, 42vw); height: 520px; }
.ui { background: #0D1830; border: 1px solid #22355A; border-radius: 12px; color: var(--ink); font-size: .875rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ui-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #1E2E4D; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.ui-time { margin-left: auto; color: var(--faint); font-family: var(--font-data); font-size: .75rem; }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; background: #5FD094; }
.hero-collage .ui { position: absolute; }
.ui-chat { left: 0; top: 0; width: 340px; padding-bottom: 12px; }
.ui-kpi { right: 0; top: 120px; width: 260px; padding-bottom: 14px; }
.ui-nf { left: 60px; top: 300px; width: 400px; }
.b { margin: 10px 14px 0; padding: 8px 12px; border-radius: 10px; max-width: 86%; line-height: 1.4; }
.b-out { margin-left: auto; background: #1B4434; width: fit-content; }
.b-in { background: var(--surface-2); width: fit-content; }
.b-file { font-family: var(--font-data); font-size: .8125rem; }
.kpi-big { padding: 12px 14px 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-delta { padding: 0 14px; color: #5FD094; font-size: .8125rem; font-weight: 500; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 12px 14px 0; }
.mini-bars span { flex: 1; height: var(--h); background: #3D88FF; border-radius: 3px 3px 0 0; }
.ui-nf ul li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #1E2E4D; }
.ui-nf ul li:first-child { border-top: 0; }
.ui-nf b, .nf-list b { font-weight: 500; color: #5FD094; font-size: .8125rem; }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-block: 64px 56px; }
  .hero-collage { position: relative; inset: auto; width: 100%; height: auto; display: grid; gap: 12px; margin-top: 36px; z-index: 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero-collage .ui { position: static; width: 100%; }
  .ui-kpi, .ui-nf { display: none; }
  .hero-symbol { width: 160vw; right: -70vw; top: -10%; }
  .hero::after { height: 100%; background: rgba(6, 39, 88, .4); }
  .hero { display: flex; flex-direction: column-reverse; }
}

/* Rotina: grade com verbo forte */
.routine { padding-block: var(--section) 0; }
.cells { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); display: grid; gap: 40px; align-content: space-between; min-height: 440px; }
.cell-wide { grid-column: 1 / -1; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.cell h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--muted); max-width: 16em; }
.cell h3 strong { color: var(--ink); font-weight: 500; }
.cell-ui { width: 100%; max-width: 440px; justify-self: center; padding-bottom: 12px; }
.nf-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 14px; border-top: 1px solid #1E2E4D; font-variant-numeric: tabular-nums; }
.nf-list li:first-child { border-top: 0; }
.nf-list .wait { color: #F2C14E; }
.mini-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .8125rem; }
.mini-table th, .mini-table td { padding: 8px 14px; text-align: left; border-bottom: 1px solid #1E2E4D; }
.mini-table th { color: var(--faint); font-weight: 500; }
.mini-table tr:last-child td { border-bottom: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.kpi-row span { display: block; font-size: .75rem; color: var(--faint); }
.kpi-row b { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-bars-wide { height: 90px; }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 14px 6px; font-size: .8125rem; color: var(--faint); text-align: center; }
.mini-steps li { position: relative; padding-top: 24px; }
.mini-steps li::before { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--line-strong); background: #0D1830; z-index: 1; }
.mini-steps li::after { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); }
.mini-steps li:first-child::after { display: none; }
.mini-steps .done, .mini-steps .current { color: var(--ink); }
.mini-steps .done::before { background: #3D88FF; border-color: #3D88FF; }
.mini-steps .done::after, .mini-steps .current::after { background: #3D88FF; }
.mini-steps .current::before { border-color: #3D88FF; border-width: 4px; }
.mini-log { padding: 10px 14px 4px; color: var(--muted); font-size: .8125rem; }
.mini-log time { font-family: var(--font-data); color: var(--ink); margin-right: 8px; }
.mini-funnel { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; font-size: .8125rem; }
.mini-funnel li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 2em; gap: 12px; align-items: center; }
.mini-funnel span { color: var(--muted); }
.mini-funnel i { display: block; height: 10px; width: var(--w); background: var(--accent); border-radius: 3px; }
.mini-funnel b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cells-note { margin-top: 16px; font-size: .8125rem; color: var(--faint); }
@media (max-width: 860px) {
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 0; }
  .cell-wide { grid-template-columns: 1fr; }
}

/* Assistente */
.ask { padding-block: var(--section) 0; }
.ask-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.ask-copy { display: grid; gap: 22px; }
.ask-try { font-size: .9375rem; color: var(--ink); font-weight: 500; margin-top: 8px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: .9375rem; cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease; text-align: left; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.assistant { font-size: .9375rem; display: flex; flex-direction: column; min-height: 460px; }
.as-body { padding: 20px 20px 8px; display: grid; gap: 14px; align-content: start; flex: 1; }
.as-q { justify-self: end; background: var(--surface-2); padding: 10px 14px; border-radius: 12px; max-width: 80%; }
.as-src { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--faint); }
.as-src::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #3D88FF; flex: none; }
.as-answer { display: grid; gap: 14px; transition: opacity .3s ease; }
.as-answer.is-loading { opacity: .25; }
.as-table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; border: 1px solid #1E2E4D; border-radius: 10px; overflow: hidden; }
.as-table th, .as-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #1E2E4D; }
.as-table th { color: var(--faint); font-weight: 500; background: #0B1529; }
.as-table tr:last-child td { border-bottom: 0; }
.as-next { display: flex; flex-wrap: wrap; gap: 8px; }
.as-next span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .8125rem; }
.as-input { display: flex; justify-content: space-between; align-items: center; margin: 12px 16px 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid #22355A; color: var(--faint); }
.as-send { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); position: relative; }
.as-send::after { content: ""; position: absolute; left: 10px; top: 9px; width: 8px; height: 8px; border-top: 2px solid #FFFFFF; border-right: 2px solid #FFFFFF; transform: rotate(-45deg); }
@media (max-width: 960px) { .ask-grid { grid-template-columns: 1fr; } .as-table { font-size: .8125rem; } .as-table th:nth-child(4), .as-table td:nth-child(4) { display: none; } }

/* Áreas */
.areas { padding-block: var(--section) 0; }
.area-tabs { margin: 40px auto 0; display: flex; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.area-tabs::-webkit-scrollbar { display: none; }
.area-tab { flex: none; background: none; border: 0; padding: 14px 20px 16px; margin-bottom: -1px; color: var(--muted); font-size: 1rem; font-weight: 500; border-bottom: 2px solid transparent; cursor: pointer; }
.area-tab:hover { color: var(--ink); }
.area-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.area-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; padding-top: 56px; align-items: center; }
.area-copy { display: grid; gap: 18px; justify-items: start; }
.area-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.area-copy p { color: var(--muted); max-width: 32em; }
@media (max-width: 960px) { .area-panel { grid-template-columns: 1fr; } .area-tabs { justify-content: flex-start; flex-wrap: wrap; overflow: visible; } .area-tab { padding: 12px 12px 14px; } }

/* Resultados */
.results { padding-block: var(--section) 0; }
.results-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; }
.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.stats > div { display: grid; gap: 6px; }
.stat-l { font-size: .9375rem; color: var(--muted); }
.stat-n { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats > div:last-child .stat-n { color: #8DB8FF; }
.cases { display: grid; gap: 16px; align-content: end; }
.case { background: var(--surface); border-radius: 14px; padding: 28px; display: grid; gap: 10px; }
.case h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.case p { color: var(--muted); }
.results-grid { align-items: start; }
.results-lead { margin-top: 24px; }
.case-feature { padding: clamp(24px, 3vw, 40px); }
.case-rows { margin: 12px 0 0; display: grid; }
.case-rows > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.case-rows > div:last-child { padding-bottom: 0; }
.case-rows dt { color: var(--faint); font-size: .875rem; font-family: var(--font-data); padding-top: 2px; }
.case-rows dd { margin: 0; color: var(--muted); }
.case-rows > div:last-child dd { color: var(--ink); }
@media (max-width: 560px) { .case-rows > div { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 960px) { .results-grid { grid-template-columns: 1fr; } }

/* Segurança */
.trust { padding-block: var(--section) 0; }
.trust-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust-grid > div { border-top: 1px solid var(--line-strong); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.trust-grid h3 { font-size: 1.25rem; }
.trust-grid p { color: var(--muted); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }

/* Processo */
.process { padding-block: var(--section) 0; }
.process-grid { display: grid; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border-radius: 14px; padding: 24px; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #FFFFFF; font-weight: 600; font-size: .875rem; margin-bottom: 12px; }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Sobre */
.about { padding-block: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; }
.about-body { display: grid; gap: 18px; max-width: 40em; color: var(--muted); }
.about-lead { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.5; color: var(--ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Perguntas */
.faq { padding-block: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 1.125rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--muted); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Contato */
.contact { margin-top: var(--section); background: var(--navy); padding-block: clamp(72px, 9vw, 128px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact .h2 span, .contact .lead { color: #B4C6E6; }
.contact-alt { font-size: .9375rem; color: #B4C6E6; }
.contact-alt a { color: #FFFFFF; font-weight: 600; text-underline-offset: 4px; }
.select-all { user-select: all; color: #FFFFFF; }
.contact-box { background: var(--bg); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.contact-form, .form-success { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .9375rem; padding: 0; }
.optional { color: var(--faint); font-weight: 400; }
.field input[type="text"], .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #FF8A73; }
.field-error { font-size: .875rem; color: #FF8A73; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .875rem; color: var(--muted); background: var(--surface); transition: border-color .12s ease, color .12s ease, background-color .12s ease; }
.chips label:hover span { border-color: var(--ink); color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-note { font-size: .8125rem; color: var(--faint); text-align: center; margin-top: -8px; }
.form-success h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); }
.form-success:focus { outline: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer { padding-block: 56px 64px; color: var(--muted); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-logo { color: #FFFFFF; }
.footer-logo .logo-svg { height: 64px; }
.footer-col h3 { font-size: .9375rem; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-logo { grid-column: 1 / -1; } }

[data-reveal].is-pending { opacity: 0; transform: translateY(20px); }
[data-reveal] { transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }

/* ---------- Demonstrações dos serviços (compartilhado entre as versões) ----------
   Cada versão define os tokens: --surface --surface-2 --ink --muted --faint --line --line-strong
   --accent --ok --ok-bg --chart --chart-hover --chat-bg --bubble-in --bubble-out --chat-bar
   --cell-hl --pill-text --shadow-window --radius-ui --focus --on-accent --ui-font */

.demo { min-width: 0; font-family: var(--ui-font, inherit); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 14px; }
.demo-note { font-size: .8125rem; color: var(--faint); }
.demo-hint { font-size: .875rem; color: var(--muted); }
.btn-link {
  background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit;
  color: var(--link, var(--accent)); font-weight: 600; font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.btn-link:hover { text-decoration-thickness: 2.5px; }

.window {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-ui, 10px);
  box-shadow: var(--shadow-window); overflow: hidden; color: var(--ink);
}
.window-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .875rem;
}
.window-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-meta { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* IA */
.ia-body { padding: 20px; display: grid; gap: 18px; min-height: 330px; align-content: start; }
.ia-doc { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--surface-2); }
.ia-from { font-size: .8125rem; color: var(--muted); margin: 0; }
.ia-subject { margin: 2px 0 0; font-weight: 600; }
.ia-attach { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.file-icon { width: 14px; height: 18px; border: 1.5px solid var(--muted); border-radius: 2px; position: relative; flex: none; }
.file-icon::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: var(--muted); box-shadow: 0 4px 0 var(--muted); }
.ia-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.ia-field { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.ia-field:last-child { grid-column: 1 / -1; }
.ia-field span { font-size: .8125rem; color: var(--muted); }
.ia-field strong { font-weight: 600; min-height: 1.6em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ia-field strong.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); }
.ia-status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--muted); justify-self: start; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface-2); }
.ia-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: d-pulse 1s ease-in-out infinite; }
.ia-status.is-done { color: var(--ok); background: var(--ok-bg); }
.ia-status.is-done .dot { animation: none; width: 14px; height: 14px; background: none; position: relative; }
.ia-status.is-done .dot::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes d-pulse { 50% { opacity: .3; } }
@media (max-width: 520px) { .ia-fields { grid-template-columns: 1fr; } }

/* Chatbot */
.phone {
  max-width: 400px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-window); background: var(--chat-bg); color: var(--ink);
}
.phone-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--chat-bar); color: #EEF3FC; }
.phone-bar strong { display: block; font-size: .9375rem; line-height: 1.2; }
.phone-bar small { display: block; font-size: .75rem; color: #B4C3DE; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0868FE; color: #FFFFFF; font-weight: 700; font-size: .75rem; flex: none; }
.chat { list-style: none; margin: 0; padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 8px; height: 400px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 84%; padding: 8px 12px 6px; border-radius: 10px; font-size: .9375rem; line-height: 1.45; box-shadow: 0 1px 0 rgba(6, 39, 88, .08); animation: d-msg .22s ease-out both; }
.msg time { display: block; text-align: right; font-size: .75rem; color: var(--faint); margin-top: 2px; }
.msg-in { align-self: flex-start; background: var(--bubble-in); border-top-left-radius: 3px; }
.msg-out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 3px; }
.msg-handoff { align-self: center; background: transparent; box-shadow: none; font-size: .8125rem; color: var(--muted); text-align: center; padding: 4px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; }
.typing { align-self: flex-start; background: var(--bubble-in); border-radius: 10px; padding: 12px 14px; display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: d-blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes d-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes d-msg { from { opacity: 0; transform: translateY(6px); } }

/* Tabelas */
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.data-table, .sheet { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .875rem; }
.data-table th:first-child, .data-table td:first-child { padding-left: 16px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 16px; }
.data-table th { font-size: .8125rem; font-weight: 600; color: var(--muted); background: var(--surface); }
.data-table .num { text-align: right; }
.data-table tbody tr { animation: d-row .3s ease-out both; }
.data-table .diff { font-weight: 600; }
.data-table .diff-up::before { content: "▲ "; font-size: .7em; vertical-align: 1px; }
.data-table .diff-down::before { content: "▼ "; font-size: .7em; vertical-align: 1px; }
@keyframes d-row { from { opacity: 0; transform: translateX(-6px); } }
.coleta-foot { padding: 12px 16px; font-size: .875rem; color: var(--muted); min-height: 46px; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.coleta-foot strong { color: var(--ink); font-weight: 600; }
[data-demo="coleta"] .window { min-height: 330px; display: flex; flex-direction: column; }
[data-demo="coleta"] .table-scroll { flex: 1; }

.sheet { font-size: .875rem; }
.sheet th, .sheet td { border: 1px solid var(--line-strong); padding: 7px 10px; text-align: left; white-space: nowrap; }
.sheet th { background: var(--surface-2); font-weight: 600; color: var(--muted); }
.sheet td.hl { background: var(--cell-hl); font-weight: 700; }

/* Controle segmentado */
.segmented { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; padding: 7px 14px; border-radius: 6px; font: inherit; font-size: .875rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.segmented button[aria-checked="true"] { background: var(--surface); color: var(--ink); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.segmented-wide { margin-bottom: 14px; }

/* Dashboard */
.dash-body { padding: 18px 20px 20px; display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.kpi span { font-size: .8125rem; color: var(--muted); }
.kpi strong { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpi small { font-size: .8125rem; color: var(--ok); font-weight: 600; }
.chart figcaption { font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.chart { margin: 0; }
.chart-area { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--faint); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .bar { fill: var(--chart); transition: fill .12s ease; }
.chart .bar-hit { fill: transparent; cursor: pointer; }
.chart .bar-group { outline: none; }
.chart .bar-group.is-active .bar, .chart .bar-group:focus-visible .bar { fill: var(--chart-hover); }
.chart .bar-group:focus-visible .bar { stroke: var(--focus); stroke-width: 2; }
.tooltip {
  position: absolute; pointer-events: none; transform: translate(-50%, -100%);
  background: var(--ink); color: var(--surface); padding: 6px 10px; border-radius: 6px;
  font-size: .8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; z-index: 2;
}
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi:first-child { grid-column: 1 / -1; } }

/* Sistematização */
.os { padding: 20px; display: grid; gap: 20px; min-height: 270px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stepper li { position: relative; padding-top: 30px; font-size: .8125rem; font-weight: 600; color: var(--faint); text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 0; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); z-index: 1; box-sizing: border-box; }
.stepper li::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); }
.stepper li:first-child::after { display: none; }
.stepper li.done, .stepper li.current { color: var(--ink); }
.stepper li.done::before { background: var(--done, var(--accent)); border-color: var(--done, var(--accent)); }
.stepper li.done::after, .stepper li.current::after { background: var(--done, var(--accent)); }
.stepper li.current::before { border-color: var(--accent); border-width: 5px; }
.os-fields { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.os-fields > div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.os-fields dt { font-size: .75rem; color: var(--muted); }
.os-fields dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.history { list-style: none; margin: 0; display: grid; gap: 8px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding: 14px 0 0; }
.history time { display: inline-block; min-width: 92px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .os-fields { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .demo *, .demo *::before, .demo *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Busca de leads */
.leads-query { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 4px; }
.lq { display: grid; gap: 1px; padding: 8px 12px; border-radius: 8px; background: var(--surface-2); min-width: 0; }
.lq small { font-size: .75rem; color: var(--muted); }
.lq b { font-weight: 600; font-size: .875rem; }
[data-demo="leads"] .window { min-height: 330px; display: flex; flex-direction: column; }
[data-demo="leads"] .table-scroll { flex: 1; }

/* Analytics */
.funnel { margin: 0; }
.funnel figcaption { font-size: .8125rem; color: var(--muted); margin-bottom: 10px; }
.funnel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.funnel li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 4.5em; gap: 12px; align-items: center; font-size: .875rem; }
.f-label { color: var(--muted); }
.f-bar { height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.f-bar i { display: block; height: 100%; width: var(--w); min-width: 3px; background: var(--chart); border-radius: 4px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.funnel b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .funnel li { grid-template-columns: 1fr 4em; } .f-bar { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 560px) {
  [data-demo="leads"] th:nth-child(2), [data-demo="leads"] td:nth-child(2),
  [data-demo="leads"] th:nth-child(5), [data-demo="leads"] td:nth-child(5) { display: none; }
  [data-demo="leads"] td:first-child { white-space: normal; }
  [data-demo="leads"] .data-table { font-size: .8125rem; }
}

/* ---------- Rodapé: links legais ---------- */
.footer-legal p { margin: 0; }
.footer-legal ul { margin-top: 12px; display: grid; gap: 8px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-button:hover { color: var(--ink); }

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0 auto; max-width: 560px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .8); padding: 18px 20px;
  display: grid; gap: 14px; font-size: .9375rem; line-height: 1.5;
}
.consent p { color: var(--muted); }
.consent a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .pill { min-width: 110px; }

/* ---------- Páginas de texto ---------- */
.site-header:not([data-header]) .header-actions { margin-left: auto; }
.page-main { padding-block: clamp(56px, 9vw, 120px); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.prose h2 { margin-top: 48px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.prose p, .prose li { margin-top: 14px; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose .updated { margin-top: 16px; font-size: .9375rem; color: var(--faint); }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 20px; }
.notfound h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.notfound p { color: var(--muted); max-width: 32em; }
