/* Zapifine · landing page
   Tokens: papel claro levemente esverdeado, tinta verde-escura,
   o gradiente verde→azul do Z como única cor de marca. */

:root {
  --paper: #F5F7F4;
  --paper-2: #ECF0EC;
  --card: #FFFFFF;
  --ink: #0D1411;
  --ink-2: #4A5550;
  --ink-3: #7C8782;
  --line: #DFE5E0;
  --green: #16CC8C;
  --green-ink: #0B8A5E;
  --blue: #1A8FE3;
  --night: #0A0F0D;
  --night-2: #121A17;
  --night-line: #1F2A26;
  --grad: linear-gradient(120deg, #2BE39B 0%, #16C2A0 50%, #1A8FE3 100%);

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(13,20,17,.04), 0 12px 32px -12px rgba(13,20,17,.14);
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: inset 0 -2px 0 rgba(255,255,255,.08), 0 6px 18px -8px rgba(13,20,17,.5); position: relative; }
.btn-primary::after {
  content: ""; position: absolute; inset: auto 18px -1px 18px; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: .9;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(13,20,17,.6); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #C7D0CA; transform: translateY(-1px); }
.btn.full { width: 100%; }
.link-quiet { font-weight: 500; color: var(--ink-2); }
.link-quiet:hover { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--card);
}
.ink-grad {
  background: linear-gradient(110deg, #2BE39B 0%, #16C2A0 25%, #1A8FE3 50%, #16C2A0 75%, #2BE39B 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding-inline: 16px; }
.nav {
  width: min(1180px, 100%); margin: 12px auto 0; height: 64px; padding: 0 10px 0 20px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(223,229,224,.9); border-radius: 999px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--f-display); letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 25px; }
.meta-badge { height: 30px; width: auto; mix-blend-mode: multiply; padding-left: 16px; border-left: 1px solid var(--line); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; margin-left: auto; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-mobile {
  width: min(1180px, 100%); margin: 8px auto 0; padding: 12px; display: grid; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.menu-mobile .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 40px; position: relative; isolation: isolate; }
.aurora { position: absolute; inset: -140px 0 auto; height: 760px; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 520px; height: 360px; left: 8%; top: 120px; background: rgba(43,227,155,.5); animation: drift1 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 560px; height: 380px; right: 4%; top: 60px; background: rgba(26,143,227,.38); animation: drift2 19s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 420px; height: 300px; left: 38%; top: 300px; background: rgba(22,194,160,.32); animation: drift3 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(.9); } }
@keyframes drift3 { to { transform: translate(60px, -90px) scale(1.2); } }
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero-title {
  font-size: clamp(40px, 6.4vw, 80px); font-weight: 600; letter-spacing: -0.04em; line-height: .98;
  max-width: 15ch; text-wrap: balance;
}
.hero-sub { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.trust {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--ink-2); text-align: left;
}
.trust img { height: 34px; width: auto; padding-right: 14px; border-right: 1px solid var(--line); }
.foot-meta { display: inline-block; margin-top: 20px; padding: 8px 12px; border-radius: 12px; background: #fff; }
.foot-meta img { height: 30px; width: auto; }

/* Stage: a demonstração viva */
.stage {
  margin-top: 56px; border-radius: var(--r-lg); background: var(--night); color: #E8EEEA;
  padding: 10px; box-shadow: 0 40px 80px -40px rgba(10,15,13,.55); position: relative; overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 240px at 50% -10%, rgba(43,227,155,.18), transparent 70%);
}
.stage-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px 14px; position: relative; }
.stage-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #26332E; }
.stage-clock { margin-left: auto; color: #7E8E87; }
.stage-grid { display: grid; grid-template-columns: 1.1fr 1.3fr .9fr; gap: 10px; position: relative; }
.pane { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; min-height: 360px; display: flex; flex-direction: column; }
.pane-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pane-title { font-weight: 600; font-size: 14px; }
.chip { font: 500 11px/1 var(--f-mono); padding: 6px 8px; border-radius: 7px; background: #1C2723; color: #A8B8B1; }
.chip-wa { background: rgba(22,204,140,.14); color: #4BE3A9; }
.motor { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(26,143,227,.16); color: #6DB9F2; transition: background .3s, color .3s; }
.motor.human { background: #232E2A; color: #A8B8B1; }

.chat { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; overflow: hidden; min-height: 0; }
.bub {
  max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4;
  animation: pop .35s var(--ease) both;
}
.bub.in { align-self: flex-start; background: #1E2925; border-bottom-left-radius: 4px; }
.bub.out { align-self: flex-end; background: #0F3B2C; color: #DDF7EC; border-bottom-right-radius: 4px; }
.bub .who { display: block; font: 500 10.5px/1.2 var(--f-mono); color: #4BE3A9; margin-bottom: 4px; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 11px 13px; background: #0F3B2C; border-radius: 14px; animation: pop .3s var(--ease) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #4BE3A9; 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; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.col { background: #0E1513; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.col-name { font: 500 11px/1 var(--f-mono); color: #7E8E87; margin-bottom: 2px; }
.kcard { background: #1A2420; border: 1px solid #24302B; border-radius: 10px; padding: 9px 10px; display: grid; gap: 2px; }
.kcard b { font-size: 13px; font-weight: 600; }
.kcard small { font-size: 11px; color: #7E8E87; }
.kcard.ghost { opacity: .55; }
.kcard.live {
  position: absolute; top: 102px; width: calc((100% - 16px) / 3 - 16px);
  left: calc(8px + var(--col) * ((100% - 16px) / 3 + 4px));
  border-color: transparent; background: #1A2420 padding-box;
  box-shadow: 0 0 0 1px rgba(43,227,155,.7), 0 10px 30px -8px rgba(43,227,155,.45);
  transition: left .9s var(--ease), box-shadow .3s;
}
.kcard.live small { color: #4BE3A9; }

.slots { display: grid; gap: 8px; }
.slots li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; }
.slots li > .mono { color: #7E8E87; }
.slot { min-height: 40px; border-radius: 10px; border: 1px dashed #26332E; display: flex; align-items: center; padding: 0 10px; font-size: 13px; transition: background .4s, border-color .4s; }
.slot-empty { color: #4D5C56; font-size: 12px; }
.slot.busy { border-style: solid; border-color: #24302B; background: #1A2420; color: #A8B8B1; }
.slot.booked { border-style: solid; border-color: rgba(43,227,155,.7); background: rgba(22,204,140,.12); color: #DDF7EC; animation: pop .4s var(--ease) both; }
.reminder {
  margin-top: auto; padding: 10px 12px; border-radius: 12px; background: rgba(26,143,227,.12); color: #A9D5F7; font-size: 13px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease);
}
.reminder .mono { display: block; color: #6DB9F2; margin-bottom: 2px; }
.reminder.show { opacity: 1; transform: none; }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section.soft { background: var(--paper-2); }
.sec-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head h2, .agents-copy h2, .modes-copy h2, .faq-wrap h2 { font-size: clamp(32px, 4.4vw, 56px); text-wrap: balance; }
.sec-head p { color: var(--ink-2); font-size: 18px; text-wrap: pretty; }

/* Tabs */
.tabs {
  display: flex; gap: 4px; padding: 5px; margin: 0 auto 20px; width: max-content; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none;
}
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-frame {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.sec-head .pill, .agents-copy .pill { justify-self: start; }
.sec-head.center .pill { justify-self: center; }
.tab-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp-text h3 { font-size: clamp(26px, 2.6vw, 34px); }
.tp-text p { margin-top: 14px; color: var(--ink-2); }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(22,204,140,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B8A5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.mock { border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); min-height: 340px; padding: 14px; position: relative; overflow: hidden; }

.mock-inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; }
.inbox-list { display: grid; gap: 6px; align-content: start; }
.inbox-row > div { min-width: 0; }
.inbox-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px; border-radius: 12px; background: var(--card); border: 1px solid transparent; }
.inbox-row.on { border-color: var(--line); box-shadow: var(--shadow); }
.inbox-row b { font-size: 13.5px; display: block; }
.inbox-row small, .inbox-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row small { font-size: 12px; color: var(--ink-3); display: block; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--f-body); font-style: normal; color: #fff; }
.a1 { background: #2FAE86; } .a2 { background: #C2577E; } .a3 { background: #5B6CD6; } .a4 { background: #D08A2E; }
.tag { font: 500 10.5px/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); }
.tag-ia { background: rgba(26,143,227,.12); color: #146FB2; }
.tag-ig { background: rgba(194,87,126,.12); color: #A2406A; }
.tag-flow { background: rgba(22,204,140,.14); color: var(--green-ink); }
.inbox-chat { background: var(--card); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.inbox-chat .bub { animation: none; font-size: 13.5px; }
.inbox-chat .bub.in { background: var(--paper-2); display: inline-flex; align-items: center; gap: 8px; }
.inbox-chat .bub.out { background: #DDF6EB; color: #0D3A2A; }
.wave { width: 90px; height: 16px; background: repeating-linear-gradient(90deg, #8E9A95 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(transparent 0, #000 30%, #000 70%, transparent); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); }
.transcript { font-size: 13px; color: var(--ink-2); padding: 10px 12px; border-left: 2px solid var(--green); background: rgba(22,204,140,.06); border-radius: 0 10px 10px 0; }
.transcript .mono { display: block; color: var(--green-ink); margin-bottom: 3px; font-size: 10.5px; }

.mock-kanban { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 10px; overflow-x: auto; }
.kcol { display: flex; flex-direction: column; gap: 8px; }
.kcol > span { font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; padding: 4px 4px 6px; }
.kcol em { font-style: normal; font: 500 11px/1.6 var(--f-mono); color: var(--ink-3); }
.kc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.kc small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.kc.hot { box-shadow: inset 3px 0 0 #E9A23B; }
.kc.won { box-shadow: inset 3px 0 0 var(--green); }

.mock-flow { min-height: 320px; background-image: radial-gradient(#D5DCD7 1px, transparent 1px); background-size: 18px 18px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-lines path { fill: none; stroke: #A9B5AF; stroke-width: 1.6; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.node {
  position: absolute; transform: translateX(-10%); min-width: 132px; max-width: 170px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.node .mono { display: block; font-weight: 400; color: var(--ink-3); font-size: 10.5px; margin-bottom: 3px; }
.node .btns { display: flex; gap: 4px; margin-top: 8px; }
.node .btns i { font-style: normal; font-weight: 500; font-size: 11px; padding: 4px 7px; border-radius: 6px; background: var(--paper-2); }
.n-trig { border-color: rgba(22,204,140,.6); }
.n-ia { border-color: rgba(26,143,227,.5); }

.mock-week { display: grid; gap: 8px; align-content: start; }
.wk-head, .wk-body { display: grid; grid-template-columns: 30px repeat(4, 1fr); gap: 6px; }
.wk-head b { font: 500 12px/1 var(--f-mono); color: var(--ink-3); text-align: center; padding: 6px 0; }
.wk-body > .mono { color: var(--ink-3); padding-top: 12px; font-size: 11px; }
.wk-body i { height: 42px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); font-style: normal; }
.wk-body i.ev { display: flex; align-items: center; padding: 0 9px; font-size: 12px; font-weight: 600; background: #E7F1FB; border-color: #CFE2F5; color: #154E7C; }
.wk-body i.ev-b { background: #E9F7F0; border-color: #CDEBDC; color: #0D5A3E; }
.wk-body i.ev-new { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 3px rgba(22,204,140,.35); }
.wk-toast {
  margin-top: 6px; justify-self: end; max-width: 300px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow);
}
.wk-toast .mono { display: block; color: var(--green-ink); font-size: 10.5px; margin-bottom: 3px; }

/* Marquee */
.stack { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.stack-label { color: var(--ink-3); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 36s linear infinite; }
.marquee-track span { font: 600 20px/1 var(--f-display); color: #9BA6A1; letter-spacing: -0.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Seção escura ---------- */
.night { background: var(--night); color: #E8EEEA; border-radius: 40px; margin-inline: 8px; }
.night .pill { background: transparent; border-color: var(--night-line); color: #8E9C96; }
.night .sec-head p { color: #8E9C96; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.b {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; min-height: 280px; overflow: hidden; position: relative;
}
.b h3 { font-size: 24px; letter-spacing: -0.02em; }
.b p { color: #8E9C96; font-size: 15.5px; }
.b-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.b-text { flex: 1; display: grid; gap: 12px; }

.phone {
  width: 250px; flex: none; align-self: flex-end; margin-bottom: -60px; padding: 34px 12px 70px; border-radius: 34px;
  background: #050807; border: 1px solid #26332E; display: flex; flex-direction: column; gap: 8px; position: relative;
}
.phone-notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 80px; height: 20px; border-radius: 12px; background: #151D1A; }
.phone-day { align-self: center; color: #6F7F78; margin-bottom: 4px; }
.phone .bub { animation: none; font-size: 13px; }
.phone .typing { animation: none; }

.seq { display: grid; gap: 8px; margin-top: auto; }
.seq li { padding: 10px 12px; border-radius: 12px; background: #17201D; font-size: 13.5px; color: #C9D4CF; }
.seq li .mono { display: block; font-size: 10.5px; color: #6F7F78; margin-bottom: 2px; }
.seq li.done { background: rgba(22,204,140,.12); color: #8EF0C6; }

.ads { margin-top: auto; display: grid; gap: 8px; }
.ads div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; background: #17201D; font-size: 13px; }
.ads span { color: #C9D4CF; }
.ads b { font: 500 11.5px/1 var(--f-mono); color: #8E9C96; }
.ads em { font: 500 11.5px/1 var(--f-mono); font-style: normal; color: #4BE3A9; }

.alert { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(233,162,59,.1); color: #F2C27E; font-size: 13.5px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #E9A23B; box-shadow: 0 0 0 0 rgba(233,162,59,.6); animation: ring 1.8s infinite; flex: none; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(233,162,59,0); } 100% { box-shadow: 0 0 0 0 rgba(233,162,59,0); } }

.meter { margin-top: auto; display: grid; gap: 8px; }
.meter::before { content: ""; height: 8px; border-radius: 8px; background: #1F2A26; grid-area: 1 / 1; }
.meter span { grid-area: 1 / 1; height: 8px; border-radius: 8px; background: var(--grad); }
.meter small { color: #6F7F78; }

.dash { flex: 1.1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.kpi { background: #17201D; border-radius: 14px; padding: 14px; }
.kpi small { display: block; font-size: 12px; color: #6F7F78; }
.kpi b { font: 600 30px/1.1 var(--f-display); letter-spacing: -0.03em; }
.spark { grid-column: 1 / -1; width: 100%; height: 70px; }
.spark path { fill: none; stroke: url(#zg); stroke: #2BE39B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dash-note { grid-column: 1 / -1; color: #4D5C56; font-size: 10.5px; text-align: right; }

/* ---------- Agentes ---------- */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.agents-copy { display: grid; gap: 18px; justify-items: start; }
.agents-copy > p { color: var(--ink-2); font-size: 18px; }
.agents-copy .ticks { margin: 4px 0 10px; }
.org {
  position: relative; min-height: 420px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-image: radial-gradient(#DCE3DE 1px, transparent 1px); background-size: 20px 20px;
}
.org-lines { position: absolute; inset: 40px 24px 110px; width: calc(100% - 48px); height: calc(100% - 150px); }
.org-lines path { fill: none; stroke: #A9B5AF; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.agent {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.agent b { display: block; font-size: 14px; }
.agent small { display: block; font-size: 12px; color: var(--ink-3); }
.ag-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 14px/1 var(--f-display); font-style: normal; color: #fff; background: var(--grad); }
.ag-av.g2 { background: linear-gradient(135deg, #2BE39B, #16A97A); }
.ag-av.g3 { background: linear-gradient(135deg, #39B5E8, #1A6FE3); }
.ag-av.g4 { background: linear-gradient(135deg, #8B93A6, #545D72); }
.agent.top { top: 26px; left: 50%; translate: -50% 0; box-shadow: 0 0 0 4px rgba(22,204,140,.15), var(--shadow); }
.org-team { position: absolute; top: 46%; left: 20px; right: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.org-team .agent { position: static; padding-right: 10px; }
.org-team .agent small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-team .agent > div { min-width: 0; }
.human {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 12px 14px; border-radius: 14px;
  background: var(--paper); border: 1px dashed #C7D0CA; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center;
}
.human i { font-style: normal; }

/* ---------- Voz ---------- */
.voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}
.vcard h3 { font-size: clamp(24px, 2.4vw, 30px); }
.vcard > p { color: var(--ink-2); }
.vlabel { align-self: flex-start; padding: 5px 9px; border-radius: 7px; background: var(--paper-2); color: var(--ink-2); }
.vcard-dark { background: var(--night); border-color: var(--night); color: #E8EEEA; }
.vcard-dark > p { color: #8E9C96; }
.vcard-dark .vlabel { background: #17201D; color: #4BE3A9; }

.analysis { margin-top: auto; padding-top: 12px; display: grid; gap: 10px; }
.an-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.an-head .mono { color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.an-call { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ph {
  width: 26px; height: 26px; border-radius: 8px; flex: none; background: rgba(22,204,140,.14)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z' fill='%230B8A5E'/%3E%3C/svg%3E") center/14px no-repeat;
}
.an-play { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.an-play .mono { color: var(--ink-3); }
.an-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); position: relative; }
.an-btn::after { content: ""; position: absolute; left: 12px; top: 10px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.an-wave { height: 22px; background: repeating-linear-gradient(90deg, #A9B5AF 0 2px, transparent 2px 5px); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 9h3v2H0zM5 6h3v8H5zM10 3h3v14h-3zM15 7h3v6h-3zM20 2h3v16h-3zM25 8h3v4h-3zM30 5h3v10h-3zM35 1h3v18h-3zM40 6h3v8h-3zM45 4h3v12h-3zM50 8h3v4h-3zM55 3h3v14h-3zM60 6h3v8h-3zM65 2h3v16h-3zM70 7h3v6h-3zM75 4h3v12h-3zM80 8h3v4h-3zM85 5h3v10h-3zM90 7h3v6h-3zM95 9h3v2h-3z'/%3E%3C/svg%3E") center/100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 9h3v2H0zM5 6h3v8H5zM10 3h3v14h-3zM15 7h3v6h-3zM20 2h3v16h-3zM25 8h3v4h-3zM30 5h3v10h-3zM35 1h3v18h-3zM40 6h3v8h-3zM45 4h3v12h-3zM50 8h3v4h-3zM55 3h3v14h-3zM60 6h3v8h-3zM65 2h3v16h-3zM70 7h3v6h-3zM75 4h3v12h-3zM80 8h3v4h-3zM85 5h3v10h-3zM90 7h3v6h-3zM95 9h3v2h-3z'/%3E%3C/svg%3E") center/100% 100%; background: #8E9A95; }
.an-grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.an-grid > div { padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.an-grid .an-full { grid-column: 1 / -1; }
.an-grid dt { color: var(--ink-3); font-size: 10.5px; margin-bottom: 3px; }
.an-grid dd { margin: 0; font-size: 14px; }
.sent { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(22,204,140,.14); color: var(--green-ink); font-weight: 600; font-size: 13px; }

.call { margin-top: 6px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); padding: 14px; display: grid; gap: 12px; }
.call-head { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; }
.call-head b { display: block; font-size: 14px; }
.call-head small { display: block; font-size: 12px; color: #6F7F78; }
.call-time { color: #4BE3A9; padding: 4px 8px; border-radius: 6px; background: rgba(22,204,140,.12); }
.call-bars { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 2px; }
.call-bars i { flex: 1; height: 20%; border-radius: 3px; background: linear-gradient(#4BE3A9, #1A8FE3); opacity: .85; transition: height .18s ease; }
.call-log { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 178px; overflow: hidden; font-size: 13.5px; line-height: 1.4; }
.call-log p { animation: pop .35s var(--ease) both; color: #C9D4CF; }
.call-log p b { font: 500 10.5px/1 var(--f-mono); color: #6DB9F2; margin-right: 6px; text-transform: lowercase; }
.call-log p.lead b { color: #A8B8B1; }
.call-log .tool { align-self: flex-start; font: 500 11.5px/1 var(--f-mono); padding: 6px 9px; border-radius: 7px; background: rgba(22,204,140,.14); color: #4BE3A9; animation: pop .35s var(--ease) both; }
.vticks { display: grid; gap: 8px; margin-top: 6px; }
.vticks li { position: relative; padding-left: 22px; font-size: 14.5px; color: #C9D4CF; }
.vticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Modos ---------- */
.modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px);
}
.modes-copy { display: grid; gap: 18px; }
.modes-copy > p { color: var(--ink-2); }
.seg, .bill { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper-2); width: max-content; }
.seg button, .bill button { padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.seg button[aria-checked="true"], .bill button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.bill em { font-style: normal; font: 500 11px/1 var(--f-mono); color: var(--green-ink); margin-left: 4px; }
.mode-desc { min-height: 3.2em; color: var(--ink-2); font-size: 15.5px; }
.mode-desc b { color: var(--ink); }
.mode-viz { display: grid; gap: 10px; }
.mv-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.mv-row i { height: 34px; border-radius: 10px; transition: background .5s var(--ease); background: #E5EAE6; position: relative; }
.mv-legend { display: flex; gap: 16px; margin-top: 8px; padding-left: 154px; }
.lg { font: 500 12px/1 var(--f-mono); color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.lg-ia::before { background: var(--blue); }
.lg-flow::before { background: var(--green); }
.lg-hum::before { background: var(--ink); }
.c-ia { background: linear-gradient(90deg, #1A8FE3, #4BAEF0) !important; }
.c-flow { background: linear-gradient(90deg, #16CC8C, #4BE3A9) !important; }
.c-hum { background: linear-gradient(90deg, #0D1411, #34403B) !important; }

/* ---------- MCP ---------- */
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dev { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.tagline { justify-self: start; padding: 5px 9px; border-radius: 7px; background: var(--night); color: #4BE3A9; font-size: 11.5px; }
.dev h3 { font-size: 22px; margin-top: 6px; }
.dev p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Planos ---------- */
.bill { margin-top: 8px; background: var(--card); border: 1px solid var(--line); }
.bill button[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.bill button[aria-checked="true"] em { color: #4BE3A9; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: grid; gap: 10px; position: relative; }
.plan h3 { font-size: 26px; }
.plan-for { color: var(--ink-2); font-size: 15px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.price .cur { font-weight: 600; color: var(--ink-2); }
.price b { font: 600 52px/1 var(--f-display); letter-spacing: -0.04em; }
.price .per { color: var(--ink-3); }
.billed { color: var(--ink-3); font-size: 13px; margin-bottom: 10px; }
.plan .ticks { margin-top: 14px; }
.plan .ticks li { font-size: 15px; }
.plan.featured { background: var(--night); color: #E8EEEA; border-color: var(--night); box-shadow: 0 30px 60px -30px rgba(10,15,13,.6); }
.plan.featured .plan-for, .plan.featured .price .cur, .plan.featured .price .per, .plan.featured .billed { color: #8E9C96; }
.plan.featured .btn-primary { background: #fff; color: var(--ink); }
.plan.featured .ticks li::before { background-color: rgba(43,227,155,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%234BE3A9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badge { position: absolute; top: -12px; left: 28px; padding: 5px 9px; border-radius: 7px; background: var(--grad); color: var(--night); font-weight: 500; }
.plans-note { margin-top: 24px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.final {
  position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 18px;
  padding: clamp(48px, 8vw, 96px) 24px; border-radius: 36px; background: var(--card); border: 1px solid var(--line);
  background-image: radial-gradient(#DCE3DE 1px, transparent 1px); background-size: 20px 20px;
}
.final-mark { width: 72px; height: 61px; }
.final h2 { font-size: clamp(32px, 4.6vw, 60px); max-width: 18ch; text-wrap: balance; }
.final p { color: var(--ink-2); font-size: 18px; }
.final .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #C9D4CF; border-radius: 40px 40px 0 0; margin-top: 24px; padding: 64px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot p { margin-top: 14px; color: #6F7F78; max-width: 32ch; font-size: 15px; }
.brand-light { color: #fff; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot h4 { font-family: var(--f-mono); font-weight: 500; color: #6F7F78; letter-spacing: 0; margin-bottom: 4px; }
.foot nav a { font-size: 15px; }
.foot nav a:hover { color: #fff; }
.foot-base { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--night-line); color: #6F7F78; }

/* ---------- Camada de animação ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.js-anim .nav, .js-anim .hero-copy > *, .js-anim .stage { visibility: hidden; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad); pointer-events: none;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(43,227,155,.14), rgba(26,143,227,.06) 40%, transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity .4s;
}
@media (pointer: fine) { .cursor-glow.on { opacity: 1; } }
main, .footer { position: relative; z-index: 1; }

/* palavras divididas pela animação */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

/* nav: some descendo, volta subindo */
.nav-wrap { transition: transform .45s var(--ease); }
.nav-wrap.nav-hidden { transform: translateY(-130%); }
.nav-links a { position: relative; transition: color .2s, background .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.brand-mark { transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.12); }

/* botões: brilho que atravessa */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .7s var(--ease); pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn-ghost::before { background: linear-gradient(90deg, transparent, rgba(22,204,140,.18), transparent); }
.btn-primary::after { transition: inset .4s var(--ease), opacity .3s; }
.btn-primary:hover::after { inset: auto 0 -1px 0; }

/* palco do hero em 3D */
.stage-wrap { perspective: 1600px; }
.stage { transform-origin: 50% 0; will-change: transform; }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(43,227,155,.13), transparent 60%);
}
.stage:hover::after { opacity: 1; }

/* luz que segue o cursor nos cards */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(43,227,155,.85), rgba(26,143,227,.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43,227,155,.07), transparent 65%);
}
.spot:hover::after, .spot:hover::before { opacity: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* micro-hovers */
.inbox-row, .kc, .node, .wk-body i.ev, .agent, .ads div, .seq li, .kpi, .an-grid > div, .faq summary { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.inbox-row:hover, .kc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.node:hover, .agent:hover { transform: translateY(-3px) scale(1.03); }
.agent.top:hover { transform: translate(0, -3px) scale(1.03); }
.wk-body i.ev:hover { transform: scale(1.06); }
.ads div:hover, .seq li:hover, .kpi:hover { transform: translateX(4px); background: #1C2723; }
.kpi:hover { transform: translateY(-3px); }
.an-grid > div:hover { transform: translateY(-2px); }
.marquee-track span { transition: color .3s; }
.marquee-track span:hover { color: var(--ink); }
.faq summary:hover { transform: translateX(4px); }
.foot nav a { transition: color .2s, transform .3s var(--ease); display: inline-block; }
.foot nav a:hover { transform: translateX(4px); }
.agent.top { animation: halo 2.6s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 0 10px rgba(22,204,140,.08), var(--shadow); } }

/* abas com indicador deslizante */
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; transition: color .3s; }
.tabs button[aria-selected="true"] { background: transparent; }
.tab-ind {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); overflow: hidden;
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.tab-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.tab-prog.run { width: 100%; transition: width linear var(--dur, 7s); }
.no-ind .tabs button[aria-selected="true"] { background: var(--ink); }

/* plano em destaque: borda girando */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan.featured::before {
  content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: 28px; pointer-events: none;
  background: conic-gradient(from var(--ang), #2BE39B, #1A8FE3, transparent 40%, transparent 60%, #2BE39B);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.plan { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.plan:hover { box-shadow: 0 30px 60px -30px rgba(13,20,17,.35); }

/* CTA final */
.final { isolation: isolate; }
.final-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.final-glow i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .35; }
.final-glow i:first-child { left: -120px; top: -160px; background: #2BE39B; animation: drift1 14s ease-in-out infinite alternate; }
.final-glow i:last-child { right: -140px; bottom: -200px; background: #1A8FE3; animation: drift2 17s ease-in-out infinite alternate; }
.final-mark { will-change: transform; filter: drop-shadow(0 18px 30px rgba(22,194,160,.35)); }

/* rodapé: marca gigante */
.footer { overflow: hidden; }
.foot-giant {
  font: 700 clamp(80px, 21vw, 300px)/.8 var(--f-display); letter-spacing: -0.06em; text-align: center; margin-top: 40px;
  background: linear-gradient(180deg, rgba(43,227,155,.5), rgba(26,143,227,.15) 70%, transparent);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; will-change: transform;
}

/* ---------- Camada premium ---------- */
.serif {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; font-size: 1.08em; line-height: .9;
}
.hero-title .serif, .w .serif { padding-right: .06em; }

/* abertura */
.loader { display: none; }
html.loading .loader {
  display: grid; place-items: center; align-content: center; gap: 28px;
  position: fixed; inset: 0; z-index: 100; background: var(--night);
}
.loader-mark { width: 96px; height: 81px; filter: drop-shadow(0 0 30px rgba(43,227,155,.45)); }
.loader-bar { width: 140px; height: 2px; border-radius: 2px; background: #1F2A26; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* grão de filme */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* anel do cursor */
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 95; border-radius: 50%;
  border: 1.5px solid rgba(13,20,17,.35); pointer-events: none; opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
@media (pointer: fine) { .cursor-ring.on { opacity: 1; } }
.cursor-ring.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(43,227,155,.12); border-color: rgba(22,204,140,.6); }
.cursor-ring.dark { border-color: rgba(255,255,255,.4); }

/* hero: brilho sob o palco e notificações de vidro */
.stage-wrap { position: relative; }
.stage-glow {
  position: absolute; left: 10%; right: 10%; bottom: -60px; height: 220px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43,227,155,.45), rgba(26,143,227,.25) 55%, transparent);
  filter: blur(40px);
}
.float-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fchip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 40px -16px rgba(13,20,17,.35);
  white-space: nowrap; will-change: transform;
}
.fchip b { display: block; font-size: 13.5px; }
.fchip small { display: block; font-size: 12px; color: var(--ink-3); }
.fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 700 12px/1 var(--f-body); font-style: normal; color: #fff; }
.fi-g { background: linear-gradient(135deg, #2BE39B, #16A97A); }
.fi-b { background: linear-gradient(135deg, #39B5E8, #1A6FE3); }
.fc-1 { left: 4%; top: -30px; }
.fc-2 { right: 6%; top: -26px; }
.fc-3 { right: 14%; bottom: -34px; }
.fc-4 { left: 12%; bottom: -30px; }
@media (min-width: 1360px) { .fc-1 { left: -70px; top: 90px; } .fc-2 { right: -60px; top: 40px; } .fc-3 { right: -80px; bottom: 70px; } .fc-4 { left: -80px; bottom: 40px; } }
@media (max-width: 1024px) { .float-chips { display: none; } }

/* frase que se pinta com a rolagem */
.statement { padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); }
.statement-text {
  font: 600 clamp(28px, 4.2vw, 58px)/1.12 var(--f-display); letter-spacing: -0.03em; max-width: 22ch; margin-inline: auto; text-align: center;
  text-wrap: balance;
}
.statement-text .sw { color: #C9D2CC; transition: color .2s; }
.statement-text .sw.lit { color: var(--ink); }
.statement-text .sw.acc.lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* produto preso na tela */
.pin-wrap { position: relative; }
.pinned .tab-frame { box-shadow: 0 40px 80px -40px rgba(13,20,17,.35); }
.pin-steps { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.pin-steps i { width: 26px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.pin-steps i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* botões com seta */
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); flex: none; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: linear-gradient(180deg, #1B2521, var(--ink)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(13,20,17,.3), 0 10px 24px -10px rgba(13,20,17,.6); }

/* acabamento de profundidade nos cards */
.tab-frame, .vcard:not(.vcard-dark), .dev, .plan:not(.featured), .modes, .org, .final, .mock, .agent, .kc, .inbox-row.on {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(13,20,17,.04), 0 18px 40px -22px rgba(13,20,17,.22);
}
.b, .vcard-dark, .plan.featured, .pane { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.5); }
.b { background: linear-gradient(180deg, #141D1A, var(--night-2)); }
.pill { box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); margin-right: 8px; }

/* quando o GSAP assume, o reveal por classe sai de cena */
.gsap-on .reveal { opacity: 1; transform: none; transition: none; }
.gsap-on .marquee-track { animation: none; }

/* ---------- Páginas internas (legais e erro) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); position: relative; isolation: isolate; }
.page-hero .aurora { height: 520px; }
.crumbs { display: flex; gap: 8px; align-items: center; font: 500 12px/1 var(--f-mono); color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.page-lead { margin-top: 18px; max-width: 60ch; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); }
.page-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-meta span { font: 500 12px/1 var(--f-mono); padding: 7px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
.toc { position: sticky; top: 108px; display: grid; gap: 2px; }
.toc h2 { font: 500 12px/1 var(--f-mono); letter-spacing: 0; color: var(--ink-3); margin-bottom: 10px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); border-left: 2px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.toc a:hover { background: var(--card); color: var(--ink); }
.toc a.on { color: var(--ink); background: var(--card); border-left-color: var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }

.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px -22px rgba(13,20,17,.22); }
.prose section { scroll-margin-top: 110px; }
.prose section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .n { font: 500 13px/1 var(--f-mono); color: var(--green-ink); }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose h2 + p { margin-top: 12px; }
.prose ol.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 16px; }
.prose ol.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px; background: var(--paper); }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 600 13px/1 var(--f-mono); color: #fff; background: var(--grad); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--green-ink); text-decoration: underline; text-decoration-color: rgba(11,138,94,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #FFF7E8; border: 1px solid #F1DDB4; margin-bottom: 32px; }
.notice b { display: block; color: #7A5410; margin-bottom: 4px; }
.notice p { color: #6B5A3A; font-size: 15px; line-height: 1.6; }
.notice i { font-style: normal; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #F4C46B; color: #4D3608; display: grid; place-items: center; font-weight: 700; }
.doc-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }

/* erro */
.err { min-height: calc(100dvh - 90px); display: grid; place-items: center; text-align: center; padding: 40px 0 80px; position: relative; isolation: isolate; }
.err-code {
  font: 700 clamp(140px, 30vw, 360px)/.8 var(--f-display); letter-spacing: -0.07em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 30px 60px rgba(22,194,160,.25));
}
.err h1 { margin-top: 18px; font-size: clamp(30px, 4vw, 48px); }
.err p { margin: 14px auto 0; max-width: 46ch; color: var(--ink-2); font-size: 18px; }
.err .hero-actions { margin-top: 28px; }
.err-links { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.err-links a { font: 500 13px/1 var(--f-mono); padding: 9px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); transition: transform .3s var(--ease), color .2s; }
.err-links a:hover { transform: translateY(-2px); color: var(--ink); }

@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .toc h2 { display: none; }
  .toc a { white-space: nowrap; border-left: 0; background: var(--card); border: 1px solid var(--line); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .stage-grid { grid-template-columns: 1fr 1fr; }
  .pane-cal { grid-column: span 2; min-height: 0; }
  .pane-cal .slots { grid-template-columns: repeat(4, 1fr); }
  .pane-cal .slots li { grid-template-columns: 1fr; }
  .reminder { margin-top: 12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
  .dev-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .tab-panel, .agents, .modes, .faq-wrap, .voice { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-for { min-height: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 58px; padding-left: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .meta-badge { height: 24px; padding-left: 12px; }
  .nav { gap: 12px; }
  .trust { flex-direction: column; gap: 8px; border-radius: 18px; padding: 14px 18px; text-align: center; }
  .trust img { padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stage { margin-top: 40px; padding: 6px; border-radius: 22px; }
  .stage-grid { grid-template-columns: 1fr; }
  .pane-cal { display: none; }
  .pane { min-height: 340px; }
  .pane-funnel { min-height: 236px; }
  .pane-funnel .col { padding: 8px 6px; }
  .kcard { padding: 8px; }
  .kcard.live { width: calc((100% - 16px) / 3 - 12px); left: calc(6px + var(--col) * ((100% - 16px) / 3 + 4px)); top: 94px; }
  .bento, .dev-grid { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .phone { align-self: center; }
  .dash { grid-template-columns: 1fr 1fr; }
  .night { margin-inline: 0; border-radius: 28px; }
  .mock-inbox { grid-template-columns: 1fr; }
  .inbox-list .inbox-row:nth-child(n+3) { display: none; }
  .mock-flow { min-height: 380px; }
  .mock-flow .node { position: relative; left: auto !important; top: auto !important; transform: none; margin: 0 0 14px; max-width: none; }
  .mock-flow .node:nth-of-type(2) { margin-left: 12%; }
  .mock-flow .node:nth-of-type(3), .mock-flow .node:nth-of-type(4) { margin-left: 24%; }
  .flow-lines { display: none; }
  .mv-row { grid-template-columns: 112px 1fr; font-size: 13px; }
  .mv-legend { padding-left: 0; }
  .stack { grid-template-columns: 1fr; gap: 12px; }
  .org { min-height: 480px; }
  .org-team { top: 118px; grid-template-columns: 1fr; padding-left: 28px; }
  .org-lines { display: none; }
  .faq summary { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
